fbgrab: bump to version 1.1
PATCH 1/1 fbgrab: bump to version 1.1
Signed-off-by Gilles Talis <[email protected]>
--- ...bgrab-proper-Makefile-for-cross-compiling.patch | 39 ++++++++++++++++++++ package/fbgrab/fbgrab-proper_makefile.patch | 23 ------------ package/fbgrab/fbgrab.mk | 4 +- 3 files changed, 41 insertions(+), 25 deletions(-) create mode 100644 package/fbgrab/fbgrab-proper-Makefile-for-cross-compiling.patch delete mode 100644 package/fbgrab/fbgrab-proper_makefile.patch
package/fbgrab/fbgrab-proper-Makefile-for-cross-compiling.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 2283817b9aed0b6228d0255d5aba7968379c9854 Mon Sep 17 00:00:00 2001 +From: Gilles Talis <[email protected]> +Date: Wed, 3 Jul 2013 11:40:36 -0700 +Subject: [PATCH] fbgrab: A proper Makefile for cross compiling +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Respect to the CC, CFLAGS and LDFLAGS is required for cross compiling in +Buildroot. And there's no need to run the source through splint. + +Reworked original patch from: Daniel Nystr?m <[email protected]> + +Signed-off-by: Daniel Nystr?m <[email protected]> +Signed-off-by: Gilles Talis <[email protected]> +--- + Makefile | 6 ++++-- + 1 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index aae16e6..2d6b6fc 100644 +--- a/Makefile ++++ b/Makefile +@@ -3,8 +3,10 @@ + ### modular. So this is a simple gnu Makefile... + ### + +-fbgrab: fbgrab.c +- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab ++LDFLAGS += -lpng -lz ++ ++fbgrab: fbgrab.o ++ $(CC) $(LDFLAGS) fbgrab.o -o $@ + + install: + install fbgrab /usr/bin/fbgrab +-- +1.7.4.1 +
package/fbgrab/fbgrab-proper_makefile.patch deleted +0 -23
@@ -1,23 +0,0 @@ -[PATCH] fbgrab: A proper Makefile for cross compiling - -Respect to the CC, CFLAGS and LDFLAGS is required for cross compiling in -Buildroot. And there's no need to run the source through splint. - -Signed-off-by: Daniel Nystr?m <[email protected]> - ---- fbgrab-1.0.orig/Makefile 2010-12-07 22:57:24.000000000 +0100 -+++ fbgrab-1.0/Makefile 2010-12-07 22:58:36.000000000 +0100 -@@ -3,9 +3,10 @@ - ### modular. So this is a simple gnu Makefile... - ### - --fbgrab: fbgrab.c -- splint +posixlib fbgrab.c -- gcc -g -Wall fbgrab.c -lpng -lz -o fbgrab -+LDFLAGS += -lpng -lz -+ -+fbgrab: fbgrab.o -+ $(CC) $(LDFLAGS) fbgrab.o -o $@ - - install: - strip fbgrab
package/fbgrab/fbgrab.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -FBGRAB_VERSION = 1.0 +FBGRAB_VERSION = 1.1 FBGRAB_SOURCE = fbgrab-$(FBGRAB_VERSION).tar.gz -FBGRAB_SITE = http://hem.bredband.net/gmogmo/fbgrab +FBGRAB_SITE = http://fbgrab.monells.se FBGRAB_DEPENDENCIES = libpng FBGRAB_LICENSE = GPLv2 FBGRAB_LICENSE_FILES = COPYING
Signature · 1 line
1.7.4.1
PATCH 1/1 fbgrab: bump to version 1.1
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gilles" == Gilles Talis <[email protected]> writes:
Gilles> Signed-off-by: Gilles Talis <[email protected]> Gilles> ---
Gilles> ...bgrab-proper-Makefile-for-cross-compiling.patch | 39 ++++++++++++++++++++ Gilles> package/fbgrab/fbgrab-proper_makefile.patch | 23 ------------ Gilles> package/fbgrab/fbgrab.mk | 4 +- Gilles> 3 files changed, 41 insertions(+), 25 deletions(-) Gilles> create mode 100644 package/fbgrab/fbgrab-proper-Makefile-for-cross-compiling.patch Gilles> delete mode 100644 package/fbgrab/fbgrab-proper_makefile.patch
Gilles> +++ b/package/fbgrab/fbgrab.mk
Gilles> @@ -4,9 +4,9 @@
Gilles> #
Gilles> ################################################################################
Gilles> -FBGRAB_VERSION = 1.0
Gilles> +FBGRAB_VERSION = 1.1
Gilles> FBGRAB_SOURCE = fbgrab-$(FBGRAB_VERSION).tar.gz Gilles> -FBGRAB_SITE = http://hem.bredband.net/gmogmo/fbgrab
Gilles> +FBGRAB_SITE = http://fbgrab.monells.se
The homepage URL in Config.in should also be updated.
Committed with that fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard