summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2012-12-13 10:17:43 +0800
committerSaul Wold <sgw@linux.intel.com>2012-12-14 15:17:20 -0800
commitc00778dd0d9c3b62657057e92c868ad2257d72d3 (patch)
tree99ddac06732415e120f83ed97626fbc279aa3244 /meta/recipes-extended/ghostscript/ghostscript_9.05.bb
parentbb1611d4830bb7aff2371afdb2a77a4ca7298c7d (diff)
downloadopenembedded-core-c00778dd0d9c3b62657057e92c868ad2257d72d3.tar.gz
openembedded-core-c00778dd0d9c3b62657057e92c868ad2257d72d3.tar.bz2
openembedded-core-c00778dd0d9c3b62657057e92c868ad2257d72d3.zip
ghostscript-native:fix host underlinking issues
The ghostscript-native will check libtiff automatically at configure time and libtiff needs libjpeg. If libtiff and libjpeg is just populated to staging native directories and the host doesn't install them, the libjpeg could not be linked, fail with: |libjpeg.so.8, needed by libtiff.so, not found |libtiff.so: undefined reference to `jpeg_set_defaults@LIBJPEG_8.0' |collect2: error: ld returned 1 exit status Disable libtiff support to fix this issue and modify configure to let disable system libtiff could work. We also explicity disable fontconfig, freetype, cups for ghostscript-native to avoid the similar issues. [YOCTO #3562] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript_9.05.bb')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_9.05.bb15
1 files changed, 12 insertions, 3 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
index 2789897917..93c503fb74 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.05.bb
@@ -15,7 +15,7 @@ SECTION = "console/utils"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c5326026692dbed183f0558f926580f8"
-PR = "r4"
+PR = "r5"
DEPENDS = "ghostscript-native tiff jpeg fontconfig cups"
DEPENDS_class-native = ""
@@ -31,8 +31,9 @@ SRC_URI = "${SRC_URI_BASE} \
"
SRC_URI_class-native = "${SRC_URI_BASE} \
- file://0001-make-ghostscript-work-with-long-building-directory.patch \
- "
+ file://0001-make-ghostscript-work-with-long-building-directory.patch \
+ file://ghostscript-native-fix-disable-system-libtiff.patch \
+ "
SRC_URI[md5sum] = "f7c6f0431ca8d44ee132a55d583212c1"
SRC_URI[sha256sum] = "593f77f7584704bdf9de41598a084a4208c3ad3b940a1de1faaf8f59a15cc207"
@@ -40,6 +41,14 @@ SRC_URI[sha256sum] = "593f77f7584704bdf9de41598a084a4208c3ad3b940a1de1faaf8f59a1
EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec --without-jasper \
--with-fontpath=${datadir}/fonts --with-install-cups --without-libidn"
+# Explicity disable libtiff, fontconfig,
+# freetype, cups for ghostscript-native
+EXTRA_OECONF_class-native = "--without-x --with-system-libtiff=no \
+ --without-jbig2dec --without-jasper \
+ --with-fontpath=${datadir}/fonts \
+ --without-libidn --disable-fontconfig \
+ --disable-freetype --disable-cups"
+
# This has been fixed upstream but for now we need to subvert the check for time.h
# http://bugs.ghostscript.com/show_bug.cgi?id=692443
# http://bugs.ghostscript.com/show_bug.cgi?id=692426