summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2014-06-17 19:03:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-17 17:56:21 +0100
commit24ca3ae7c68c76d8f1a132bb7442d47ff725227c (patch)
tree19ff860587a8b0b9700f43931bb3e7e52ae93514 /meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch
parent1709ec7db747332777093bbb12901315d44b1798 (diff)
downloadpoky-24ca3ae7c68c76d8f1a132bb7442d47ff725227c.tar.gz
ghostscript: upgrade to 9.14
- The LICENSE added AGPL for the font files (in Resource/Font); - Rebase ghostscript-9.02-parallel-make.patch to 9.14 - Rebase ghostscript-native-fix-disable-system-libtiff.patch since base/configure.ac has been moved to configure.ac. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f1488c5aff54f37ee67759827d4298592af5dbc8 - Obsolete ghostscript-9.05-NOT-check-endian.patch, and add option '--enable-little-endian'/'--enable-big-endian' conditionally to intead. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=e76dc46756e89a14a3348bce12a633d32e4fa831 - Add base-genht.c-add-a-preprocessor-define-to-allow-fope.patch for native, since the upstream replace all fopen calls with gp_fopen and add a preprocessor define so that any unintential calls directly to fopen will cause an error. This patch add a preprocessor define to allow fopen calling in base/genht.c as exceptions. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=773c69e46e70bdd5482676437dafd2ca83397643 - Remove package ghostscript-cups, since CUPS filters gstoraster and gstopxl has been moved to cups-filters which is a free software package hosted by OpenPrinting. http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=9304a21699a6c17579fae32f44f5c92a37c13e2d http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters (From OE-Core rev: 44ad25519b8e290f9a98b88eeec52ba199e76431) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch')
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch45
1 files changed, 16 insertions, 29 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch
index 40afd372d1..9158117d01 100644
--- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch
+++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-native-fix-disable-system-libtiff.patch
@@ -7,44 +7,31 @@ disabled.
7Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 7Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
8Upstream-Status: Pending 8Upstream-Status: Pending
9--- 9---
10diff --git a/base/configure.ac b/base/configure.ac 10 configure.ac | 5 +++++
11index bb05105..4b817ac 100644 11 1 file changed, 5 insertions(+)
12--- a/base/configure.ac 12
13+++ b/base/configure.ac 13diff --git a/configure.ac b/configure.ac
14@@ -951,17 +951,22 @@ 14--- a/configure.ac
15+++ b/configure.ac
16@@ -1055,6 +1055,7 @@ Disabling tiff output devices.])
15 esac 17 esac
16 18
17 if test $SHARE_LIBTIFF -eq 0; then 19 if test $SHARE_LIBTIFF -eq 0; then
18- echo
19- echo "Running libtiff configure script..."
20- olddir=`pwd`
21- cd "$LIBTIFFDIR" && ./configure --disable-jbig --disable-lzma $SUBCONFIG_OPTS
22- status=$?
23- if test "$status" -ne 0 ; then
24- AC_MSG_ERROR([libtiff configure script failed], $status)
25- fi
26- cd "$olddir"
27- echo
28- echo "Continuing with Ghostscript configuration..."
29+ if test -e $LIBTIFFDIR/configure; then 20+ if test -e $LIBTIFFDIR/configure; then
30+ echo 21 echo
31+ echo "Running libtiff configure script..." 22 echo "Running libtiff configure script..."
32+ olddir=`pwd` 23 olddir=`pwd`
33+ cd "$LIBTIFFDIR" && ./configure --disable-jbig --disable-lzma $SUBCONFIG_OPTS 24@@ -1069,6 +1070,10 @@ if test $SHARE_LIBTIFF -eq 0; then
34+ status=$? 25 cd "$olddir"
35+ if test "$status" -ne 0 ; then 26 echo
36+ AC_MSG_ERROR([libtiff configure script failed], $status) 27 echo "Continuing with Ghostscript configuration..."
37+ fi
38+ cd "$olddir"
39+ echo
40+ echo "Continuing with Ghostscript configuration..."
41+ else 28+ else
42+ AC_MSG_NOTICE([Could not find local copy of libtiff. 29+ AC_MSG_NOTICE([Could not find local copy of libtiff.
43+Disabling tiff output devices.]) 30+Disabling tiff output devices.])
44+ fi 31+ fi
45 fi 32 fi
46 33
47 AC_SUBST(SHARE_LIBTIFF) 34 AC_SUBST(SHARE_LIBTIFF)
48-- 35--
491.7.10.4 361.8.1.2
50 37