ghostscript-native:fix host underlinking issues
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 13 Dec 2012 02:17:43 +0000 (10:17 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Dec 2012 17:24:54 +0000 (17:24 +0000)
commit8ab83ddd59f6b36d49661d0257b4725b39ae7261
tree6b18d936d61c441440652b16d048257bf8ef1c7c
parentcaab0e1b02819bd10a0d934c2dbe34c6b5940c17
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]

(From OE-Core rev: c00778dd0d9c3b62657057e92c868ad2257d72d3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch [new file with mode: 0644]
meta/recipes-extended/ghostscript/ghostscript_9.05.bb