summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/fim/files/cross_cc.patch29
-rw-r--r--meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb6
2 files changed, 33 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/fim/files/cross_cc.patch b/meta-oe/recipes-graphics/fim/files/cross_cc.patch
new file mode 100644
index 0000000000..85ab1ef4a0
--- /dev/null
+++ b/meta-oe/recipes-graphics/fim/files/cross_cc.patch
@@ -0,0 +1,29 @@
1From 9b0b322d86c7b2d2cddaa62f7dab4aa669739a48 Mon Sep 17 00:00:00 2001
2From: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
3Date: Wed, 19 Mar 2014 13:18:21 +0100
4Subject: [PATCH] Upstream-Status: Pending
5
6b2ba should be built by BUILD_CC in cross environment
7This is only used when configured with --enable-hardcoded-font
8
9Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
10---
11 src/Makefile.am | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/src/Makefile.am b/src/Makefile.am
15index a1d4330..a8150b9 100644
16--- a/src/Makefile.am
17+++ b/src/Makefile.am
18@@ -63,7 +63,7 @@ help-acm.cpp: fim.h
19 $(ECHO) '//#endif' >> $@
20
21 b2ba:
22- $(CC) -o b2ba b2ba.c
23+ $(BUILD_CC) -o b2ba b2ba.c
24
25 if FIM_WANT_CUSTOM_HARDCODED_CONSOLEFONT
26 default_font_byte_array.h: $(FIM_CUSTOM_HARDCODED_CONSOLEFONT) b2ba
27--
281.8.5.4
29
diff --git a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
index 01aa87c855..6e5000b92e 100644
--- a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
+++ b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
@@ -11,7 +11,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fa01bff138cc98a62b8840a157951c88"
11# flex with provide /usr/include/FlexLexer.h 11# flex with provide /usr/include/FlexLexer.h
12DEPENDS = "flex-native bison-native flex" 12DEPENDS = "flex-native bison-native flex"
13 13
14SRC_URI = "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV}.tar.gz" 14SRC_URI = "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV}.tar.gz \
15 file://cross_cc.patch"
15SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046" 16SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046"
16SRC_URI[sha256sum] = "3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686" 17SRC_URI[sha256sum] = "3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686"
17 18
@@ -37,7 +38,7 @@ EXTRA_OECONF = "fim_cv_regex=no fim_cv_regex_broken=no \
37" 38"
38 39
39# Note: imlib2 is located in meta-efl layer. 40# Note: imlib2 is located in meta-efl layer.
40PACKAGECONFIG ??= "jpeg rl" 41PACKAGECONFIG ?= "jpeg rl hf"
41PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng" 42PACKAGECONFIG[png] = "--enable-png,--disable-png,libpng"
42PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg" 43PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg"
43PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" 44PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff"
@@ -46,3 +47,4 @@ PACKAGECONFIG[pdf] = "--enable-poppler,--disable-poppler,poppler"
46PACKAGECONFIG[magick] = "--enable-graphicsmagick,--disable-graphicsmagick,imagemagick" 47PACKAGECONFIG[magick] = "--enable-graphicsmagick,--disable-graphicsmagick,imagemagick"
47PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2" 48PACKAGECONFIG[imlib2] = "--enable-imlib2,--disable-imlib2,imlib2"
48PACKAGECONFIG[rl] = "--enable-readline,--disable-readline,readline" 49PACKAGECONFIG[rl] = "--enable-readline,--disable-readline,readline"
50PACKAGECONFIG[hf] = "--enable-hardcoded-font,--disable-hardcoded-font"