Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NqDAM-0004Uv-1R for openembedded-devel@lists.openembedded.org; Fri, 12 Mar 2010 23:17:14 +0100 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 1174ECD44 for ; Fri, 12 Mar 2010 23:14:07 +0100 (CET) X-SMTPAUTH-B2: X-SENDER-IP: 83.227.59.242 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuY3AO9LmktT4zvyPGdsb2JhbACaaQwBAQEBNy2uNY1XhHsE X-IronPort-AV: E=Sophos;i="4.49,628,1262559600"; d="scan'208";a="49449878" Received: from c-f23be353.011-39-73746f12.cust.bredbandsbolaget.se (HELO localhost.localdomain) ([83.227.59.242]) by ipb2.telenor.se with ESMTP; 12 Mar 2010 23:14:07 +0100 From: Ulf Samuelsson To: openembedded-devel@lists.openembedded.org Date: Fri, 12 Mar 2010 23:14:05 +0100 Message-Id: <1268432046-4052-1-git-send-email-ulf.samuelsson@atmel.com> X-Mailer: git-send-email 1.6.0.2 X-SA-Exim-Connect-IP: 195.54.99.197 X-SA-Exim-Mail-From: ulf.samuelsson@atmel.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Cc: Ulf Samuelsson Subject: [PATCH] fbv-1.0: Build fbv with support for jpeg and bmp X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2010 22:17:14 -0000 fbv today only supports png files. This patch will ensure fbv also support jpeg and bmp formats Signed-off-by: Ulf Samuelsson --- recipes/fbv/fbv-1.0b/fbv-1.0b.patch | 12 ++++++++++++ recipes/fbv/fbv_1.0b.bb | 23 +++++++++++++++-------- 2 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 recipes/fbv/fbv-1.0b/fbv-1.0b.patch diff --git a/recipes/fbv/fbv-1.0b/fbv-1.0b.patch b/recipes/fbv/fbv-1.0b/fbv-1.0b.patch new file mode 100644 index 0000000..2ca9d52 --- /dev/null +++ b/recipes/fbv/fbv-1.0b/fbv-1.0b.patch @@ -0,0 +1,12 @@ +diff -urN fbv-1.0b-0rig/Makefile fbv-1.0b/Makefile +--- fbv-1.0b-0rig/Makefile 2009-08-20 00:33:58.000000000 +0200 ++++ fbv-1.0b/Makefile 2009-08-20 00:34:16.000000000 +0200 +@@ -12,7 +12,7 @@ + OBJECTS = ${SOURCES:.c=.o} + + OUT = fbv +-#LIBS = -lungif -L/usr/X11R6/lib -ljpeg -lpng ++LIBS = -L/usr/lib -ljpeg -lpng #-lungif + + all: $(OUT) + @echo Build DONE. diff --git a/recipes/fbv/fbv_1.0b.bb b/recipes/fbv/fbv_1.0b.bb index 04c7066..4a5bd6b 100644 --- a/recipes/fbv/fbv_1.0b.bb +++ b/recipes/fbv/fbv_1.0b.bb @@ -1,25 +1,32 @@ DESCRIPTION = "Frame Buffer Viewer" LICENSE = "GPL" -DEPENDS = "libpng" +DEPENDS = "libpng jpeg" PR = "r1" SRC_URI = "http://s-tech.elsat.net.pl/fbv/fbv-1.0b.tar.gz \ - file://cross_compile.patch;patch=1" + file://cross_compile.patch;patch=1 \ + file://fbv-1.0b.patch;patch=1 \ + " + +#inherit autotools do_configure() { - CC="${CC}" ./configure --without-libungif --without-bmp \ - --without-libjpeg + CC="${CC}" ./configure --without-libungif } do_compile() { oe_runmake CFLAGS="-O2 -Wall -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES" \ CC="${CC}" } + do_install() { install -d ${D}${bindir} - install -m 0755 fbv ${D}${bindir} + install -m 0755 fbv ${D}${bindir} - # man - install -d ${D}${mandir}/man1/ - install -m 0644 fbv.1 ${D}${mandir}/man1/fbv.1 +# man +# install -d ${D}${mandir}/man1/ +# install -m 0644 fbv.1 ${D}${mandir}/man1/fbv.1 } + +PACKAGES = "fbv" + -- 1.6.0.2