[meego-commits] 23902: Changes to MeeGo:1.1:Core:Update/ghostscript
jieyang
no_reply at build.meego.com
Fri Sep 16 02:40:30 UTC 2011
Hi,
I have made the following changes to ghostscript in project MeeGo:1.1:Core:Update. Please review and accept ASAP.
Thank You,
jieyang
[This message was auto-generated]
---
Request #23902:
submit: MeeGo:1.1:Core:Update:Testing/ghostscript(r2)(update) -> MeeGo:1.1:Core:Update/ghostscript
Message:
forward
State: new 2011-09-15T19:30:28 jieyang
Comment: None
changes files:
--------------
--- ghostscript.changes
+++ ghostscript.changes
@@ -0,0 +1,3 @@
+* Thu Mar 03 2011 Gang Ye <gang.ye at intel.com> - 9.00
+- Upgrade to 9.00 to fix BMC#3994
+
old:
----
ghostscript-8.71.tar.xz
ghostscript-CVE-2009-4270.patch
ghostscript-CVE-2010-1628.patch
ghostscript-cups-realloc-color-depth.patch
ghostscript-gs-executable.patch
ghostscript-ldflags.patch
ghostscript-scripts.patch
ghostscript-tif-fail-close.patch
ghostscript-tiff-default-strip-size.patch
ghostscript-tiff-fixes.patch
new:
----
ghostscript-9.00.tar.xz
ghostscript-CVE-2009-4270-fix.patch
ghostscript-cups-realloc-color-depth-fix.patch
ghostscript-gs-new.patch
ghostscript-ldflags-fix.patch
ghostscript-scripts-lib.patch
spec files:
-----------
--- ghostscript.spec
+++ ghostscript.spec
@@ -8,7 +8,7 @@
Name: ghostscript
Summary: A PostScript interpreter and renderer
-Version: 8.71
+Version: 9.00
Release: 1
Group: Applications/Publishing
License: GPLv3+ and Redistributable, no modification permitted
@@ -18,25 +18,19 @@
Source2: cidfmap
Source100: ghostscript.yaml
Patch0: ghostscript-multilib.patch
-Patch1: ghostscript-scripts.patch
+Patch1: ghostscript-scripts-lib.patch
Patch2: ghostscript-noopt.patch
Patch3: ghostscript-fPIC.patch
Patch4: ghostscript-runlibfileifexists.patch
Patch5: ghostscript-system-jasper.patch
Patch6: ghostscript-pksmraw.patch
Patch7: ghostscript-jbig2dec-nullderef.patch
-Patch8: ghostscript-gs-executable.patch
+Patch8: ghostscript-gs-new.patch
Patch9: ghostscript-cups-filters.patch
-Patch10: ghostscript-CVE-2009-4270.patch
+Patch10: ghostscript-CVE-2009-4270-fix.patch
Patch11: ghostscript-vsnprintf.patch
-Patch12: ghostscript-pdftoraster-exit.patch
-Patch13: ghostscript-ldflags.patch
-Patch14: ghostscript-pdf2dsc.patch
-Patch15: ghostscript-cups-realloc-color-depth.patch
-Patch16: ghostscript-tif-fail-close.patch
-Patch17: ghostscript-tiff-default-strip-size.patch
-Patch18: ghostscript-tiff-fixes.patch
-Patch19: ghostscript-CVE-2010-1628.patch
+Patch13: ghostscript-ldflags-fix.patch
+Patch15: ghostscript-cups-realloc-color-depth-fix.patch
Requires: urw-fonts >= 1.1
Requires: ghostscript-fonts
Requires(post): /sbin/ldconfig
@@ -117,7 +111,7 @@
# ghostscript-multilib.patch
%patch0 -p1
-# ghostscript-scripts.patch
+# ghostscript-scripts-lib.patch
%patch1 -p1
# ghostscript-noopt.patch
%patch2 -p1
@@ -131,30 +125,18 @@
%patch6 -p1
# ghostscript-jbig2dec-nullderef.patch
%patch7 -p1
-# ghostscript-gs-executable.patch
+# ghostscript-gs-new.patch
%patch8 -p1
# ghostscript-cups-filters.patch
%patch9 -p1
-# ghostscript-CVE-2009-4270.patch
+# ghostscript-CVE-2009-4270-fix.patch
%patch10 -p1
# ghostscript-vsnprintf.patch
%patch11 -p1
-# ghostscript-pdftoraster-exit.patch
-%patch12 -p1
-# ghostscript-ldflags.patch
+# ghostscript-ldflags-fix.patch
%patch13 -p1
-# ghostscript-pdf2dsc.patch
-%patch14 -p1
# ghostscript-cups-realloc-color-depth.patch
%patch15 -p1
-# ghostscript-tif-fail-close.patch
-%patch16 -p1
-# ghostscript-tiff-default-strip-size.patch
-%patch17 -p1
-# ghostscript-tiff-fixes.patch
-%patch18 -p1
-# ghostscript-CVE-2010-1628.patch
-%patch19 -p1
# >> setup
# Convert manual pages to UTF-8
from8859_1() {
@@ -318,6 +300,7 @@
%config %{_datadir}/ghostscript/%{version}/Resource/Init/gs_init.ps
%config %{_datadir}/ghostscript/%{version}/Resource/Init/Fontmap*
%{_datadir}/ghostscript/%{version}/lib
+%{_datadir}/ghostscript/%{version}/iccprofiles/*.icc
%{_mandir}/man*/*
%lang(de) %{_mandir}/de/man*/*
%{_libdir}/libgs.so.*
other changes:
--------------
++++++ ghostscript-9.00.tar.xz (new)
++++++ ghostscript-CVE-2009-4270-fix.patch (new)
--- ghostscript-CVE-2009-4270-fix.patch
+++ ghostscript-CVE-2009-4270-fix.patch
+diff -uNr old/cups/gdevcups.c new/cups/gdevcups.c
+--- old/cups/gdevcups.c 2010-10-13 17:22:43.000000000 +0800
++++ new/cups/gdevcups.c 2010-10-13 17:42:27.000000000 +0800
+@@ -2934,6 +2934,8 @@
+ strncpy(cups->header.name, (const char *)(stringval.data), \
+ stringval.size); \
+ cups->header.name[stringval.size] = '\0'; \
++ dprintf2("DEBUG: Setting %s to \"%s\"...\n", sname, \
++ cups->header.name); \
+ }
+
+ #define intoption(name, sname, type) \
+
++++++ ghostscript-cups-realloc-color-depth-fix.patch (new)
--- ghostscript-cups-realloc-color-depth-fix.patch
+++ ghostscript-cups-realloc-color-depth-fix.patch
+diff -uNr old/cups/gdevcups.c new/cups/gdevcups.c
+--- old/cups/gdevcups.c 2010-10-13 17:04:30.000000000 +0800
++++ new/cups/gdevcups.c 2010-10-13 17:22:43.000000000 +0800
+@@ -2900,8 +2900,12 @@
+ gdev_prn_space_params sp; /* Space parameter data */
+ int width, /* New width of page */
+ height, /* New height of page */
+- width_old = 0, /* Previous width of page */
+- height_old = 0; /* Previous height of page */
++ colorspace, /* New color space */
++ bitspercolor; /* New bits per color */
++ static int width_old = 0, /* Previous width */
++ height_old = 0, /* Previous height */
++ colorspace_old = 0,/* Previous color space */
++ bitspercolor_old = 0;/* Previous bits per color */
+ ppd_attr_t *backside = NULL,
+ *backsiderequiresflippedmargins = NULL;
+ float swap;
+@@ -3438,22 +3442,33 @@
+ #endif /* CUPS_RASTER_SYNCv1 */
+ pdev->width = width;
+ pdev->height = height;
++ colorspace = cups->header.cupsColorSpace;
++ bitspercolor = cups->header.cupsBitsPerColor;
+
+ /*
+ * Don't reallocate memory unless the device has been opened...
+ * Also reallocate only if the size has actually changed...
+ */
+
+- if (pdev->is_open)
+- {
+
+- /*
++ if (pdev->is_open &&
++ (width != width_old || height != height_old ||
++ colorspace != colorspace_old || bitspercolor != bitspercolor_old))
++ {
++
++ width_old = width;
++ height_old = height;
++ colorspace_old = colorspace;
++ bitspercolor_old = bitspercolor;
++
++ /*
+ * Device is open and size has changed, so reallocate...
+ */
+
+ #ifdef DEBUG
+- dprintf4("DEBUG2: Reallocating memory, [%.0f %.0f] = %dx%d pixels...\n",
+- pdev->MediaSize[0], pdev->MediaSize[1], width, height);
++ dprintf6("DEBUG2: Reallocating memory, [%.0f %.0f] = %dx%d pixels, color space: %d, bits per color: %d...\n",
++ pdev->MediaSize[0], pdev->MediaSize[1], width, height,
++ colorspace, bitspercolor);
+ #endif /* DEBUG */
+
+ sp = ((gx_device_printer *)pdev)->space_params;
+
++++++ ghostscript-fPIC.patch
--- ghostscript-fPIC.patch
+++ ghostscript-fPIC.patch
@@ -1,15 +1,3 @@
-diff -up ghostscript-8.64/base/devs.mak.fPIC ghostscript-8.64/base/devs.mak
---- ghostscript-8.64/base/devs.mak.fPIC 2008-11-07 18:49:34.000000000 +0000
-+++ ghostscript-8.64/base/devs.mak 2009-02-04 11:34:21.000000000 +0000
-@@ -456,7 +456,7 @@ $(GLOBJ)gdevx.$(OBJ) : $(GLSRC)gdevx.c $
- $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevx.$(OBJ) $(C_) $(GLSRC)gdevx.c
-
- $(GLOBJ)gdevxcmp.$(OBJ) : $(GLSRC)gdevxcmp.c $(GDEVX) $(math__h)
-- $(GLCC) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
-+ $(GLCCSHARED) $(XINCLUDE) $(GLO_)gdevxcmp.$(OBJ) $(C_) $(GLSRC)gdevxcmp.c
-
- $(GLOBJ)gdevxini.$(OBJ) : $(GLSRC)gdevxini.c $(GDEVX) $(memory__h)\
- $(gserrors_h) $(gsparamx_h) $(gxdevmem_h) $(gdevbbox_h)
diff -up ghostscript-8.64/base/lib.mak.fPIC ghostscript-8.64/base/lib.mak
--- ghostscript-8.64/base/lib.mak.fPIC 2009-01-08 09:17:18.000000000 +0000
+++ ghostscript-8.64/base/lib.mak 2009-02-04 11:34:21.000000000 +0000
++++++ ghostscript-gs-new.patch (new)
--- ghostscript-gs-new.patch
+++ ghostscript-gs-new.patch
+diff -ur old/lib/bdftops new/lib/bdftops
+--- old/lib/bdftops 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/bdftops 2010-10-13 17:48:58.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -P- -dSAFER -dBATCH -dNODISPLAY -- bdftops.ps "$@"
++exec "$gs" -q -P- -dSAFER -dBATCH -dNODISPLAY -- bdftops.ps "$@"
+diff -ur old/lib/dumphint new/lib/dumphint
+--- old/lib/dumphint 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/dumphint 2010-10-13 17:50:47.000000000 +0800
+@@ -26,4 +26,4 @@
+ exit 1
+ fi
+
+-exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- "`dirname \"$0\"`/dumphint.ps" "$1"
++exec "$gs" -q -dNODISPLAY $OPTIONS -- "`dirname \"$0\"`/dumphint.ps" "$1"
+diff -ur old/lib/eps2eps new/lib/eps2eps
+--- old/lib/eps2eps 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/eps2eps 2010-10-13 17:51:24.000000000 +0800
+@@ -25,4 +25,4 @@
+ exit 1
+ fi
+
+-exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -P- -dSAFER $OPTIONS "$1"
++exec "$gs" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -P- -dSAFER $OPTIONS "$1"
+diff -ur old/lib/font2c new/lib/font2c
+--- old/lib/font2c 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/font2c 2010-10-13 17:52:04.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
++exec "$gs" -q -P- -dSAFER -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
+diff -ur old/lib/gsbj new/lib/gsbj
+--- old/lib/gsbj 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/gsbj 2010-10-13 17:52:36.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -sDEVICE=bj10e -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
++exec "$gs" -q -sDEVICE=bj10e -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+diff -ur old/lib/gsdj new/lib/gsdj
+--- old/lib/gsdj 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/gsdj 2010-10-13 17:53:49.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -sDEVICE=deskjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
++exec "$gs" -q -sDEVICE=deskjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+diff -ur old/lib/gsdj500 new/lib/gsdj500
+--- old/lib/gsdj500 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/gsdj500 2010-10-13 17:53:25.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -sDEVICE=djet500 -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
++exec "$gs" -q -sDEVICE=djet500 -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+diff -ur old/lib/gslj new/lib/gslj
+--- old/lib/gslj 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/gslj 2010-10-13 17:54:20.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -sDEVICE=laserjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
++exec "$gs" -q -sDEVICE=laserjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+diff -ur old/lib/gslp new/lib/gslp
+--- old/lib/gslp 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/gslp 2010-10-13 17:54:44.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -sDEVICE=epson -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
++exec "$gs" -q -sDEVICE=epson -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+diff -ur old/lib/gsnd new/lib/gsnd
+--- old/lib/gsnd 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/gsnd 2010-10-13 17:55:28.000000000 +0800
+@@ -6,8 +6,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -P- -dSAFER -dNODISPLAY "$@"
++exec "$gs" -P- -dSAFER -dNODISPLAY "$@"
+diff -ur old/lib/pdf2dsc new/lib/pdf2dsc
+--- old/lib/pdf2dsc 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/pdf2dsc 2010-10-13 17:56:30.000000000 +0800
+@@ -30,5 +30,5 @@
+ dscfile=$2
+ : ${dscfile:=`echo $pdffile | sed 's,\.[^/.]*,,'`.dsc}
+
+-exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER\
++exec "$gs" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER\
+ -sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit
+diff -ur old/lib/pdf2ps new/lib/pdf2ps
+--- old/lib/pdf2ps 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/pdf2ps 2010-10-13 17:57:09.000000000 +0800
+@@ -34,4 +34,4 @@
+ # Doing an initial 'save' helps keep fonts from being flushed between pages.
+ # We have to include the options twice because -I only takes effect if it
+ # appears before other options.
+-exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -P- -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
++exec "$gs" $OPTIONS -q -dNOPAUSE -dBATCH -P- -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
+diff -ur old/lib/pf2afm new/lib/pf2afm
+--- old/lib/pf2afm 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/pf2afm 2010-10-13 17:58:07.000000000 +0800
+@@ -10,8 +10,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
++exec "$gs" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
+diff -ur old/lib/pfbtopfa new/lib/pfbtopfa
+--- old/lib/pfbtopfa 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/pfbtopfa 2010-10-13 17:58:39.000000000 +0800
+@@ -21,4 +21,4 @@
+ exit 1
+ fi
+
+-exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
++exec "$gs" -q -P- -dSAFER -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
+diff -ur old/lib/pphs new/lib/pphs
+--- old/lib/pphs 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/pphs 2010-10-13 17:59:12.000000000 +0800
+@@ -9,8 +9,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
+-exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- pphs.ps "$@"
++exec "$gs" -q -P- -dSAFER -dNODISPLAY -- pphs.ps "$@"
+diff -ur old/lib/printafm new/lib/printafm
+--- old/lib/printafm 2010-10-13 17:31:37.000000000 +0800
++++ new/lib/printafm 2010-10-13 17:59:37.000000000 +0800
+@@ -9,8 +9,7 @@
+ GS_EXECUTABLE=gs
+ gs="`dirname \"$0\"`/$GS_EXECUTABLE"
+ if test ! -x "$gs"; then
+- gs="$GS_EXECUTABLE"
++ gs="$gs"
+ fi
+-GS_EXECUTABLE="$gs"
+
(46 more lines skipped)
++++++ ghostscript-ldflags-fix.patch (new)
--- ghostscript-ldflags-fix.patch
+++ ghostscript-ldflags-fix.patch
+diff -uNr old/base/unix-dll.mak new/base/unix-dll.mak
+--- old/base/unix-dll.mak 2010-10-13 16:40:50.000000000 +0800
++++ new/base/unix-dll.mak 2010-10-13 16:44:26.000000000 +0800
+@@ -89,6 +89,7 @@
+
+ SODEFS=\
+ GS_XE=$(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR)\
++ GS_XE_LDFLAGS='$(LDFLAGS_SO)'\
+ STDIO_IMPLEMENTATION=c\
+ DISPLAY_DEV=$(DD)$(SOOBJRELDIR)/display.dev\
+ BINDIR=$(BINDIR)/$(SOBINRELDIR)\
+diff -uNr old/base/unixlink.mak new/base/unixlink.mak
+--- old/base/unixlink.mak 2010-10-13 16:40:50.000000000 +0800
++++ new/base/unixlink.mak 2010-10-13 16:46:21.000000000 +0800
+@@ -50,7 +50,7 @@
+ # which has limited environment space.
+ ldt_tr=$(PSOBJ)ldt.tr
+ $(GS_XE): $(ld_tr) $(ECHOGS_XE) $(XE_ALL) $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ)
+- $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(LDFLAGS) -o $(GS_XE)
++ $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(GS_XE_LDFLAGS) $(LDFLAGS) -o $(GS_XE)
+ $(ECHOGS_XE) -a $(ldt_tr) -n -s $(PSOBJ)gsromfs$(COMPILE_INITS).$(OBJ) $(PSOBJ)gs.$(OBJ) -s
+ cat $(ld_tr) >>$(ldt_tr)
+ $(ECHOGS_XE) -a $(ldt_tr) -s - $(EXTRALIBS) $(STDLIBS)
+
++++++ ghostscript-scripts-lib.patch (new)
--- ghostscript-scripts-lib.patch
+++ ghostscript-scripts-lib.patch
+diff -uNr old/lib/dvipdf new/lib/dvipdf
+--- old/lib/dvipdf 2010-10-13 17:31:22.000000000 +0800
++++ new/lib/dvipdf 2010-10-13 17:32:33.000000000 +0800
+@@ -44,4 +44,4 @@
+
+ # We have to include the options twice because -I only takes effect if it
+ # appears before other options.
+-exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
++exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
+diff -uNr old/lib/pv.sh new/lib/pv.sh
+--- old/lib/pv.sh 2010-10-13 17:31:22.000000000 +0800
++++ new/lib/pv.sh 2010-10-13 17:33:22.000000000 +0800
+@@ -44,7 +44,7 @@
+ tmpfile="$TEMPDIR/$FILE.$$.pv"
+ fi
+ trap "rm -rf $tmpfile" 0 1 2 15
+-#dvips -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
+-dvips -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
++#dvips -R -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
++dvips -R -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
+ $GS_EXECUTABLE -P- -dSAFER $tmpfile
+ exit 0
++++++ ghostscript.yaml
--- ghostscript.yaml
+++ ghostscript.yaml
@@ -1,6 +1,6 @@
Name: ghostscript
Summary: A PostScript interpreter and renderer
-Version: 8.71
+Version: 9.00
Release: 1
Group: Applications/Publishing
License: GPLv3+ and Redistributable, no modification permitted
@@ -12,25 +12,19 @@
- cidfmap
Patches:
- ghostscript-multilib.patch
- - ghostscript-scripts.patch
+ - ghostscript-scripts-lib.patch
- ghostscript-noopt.patch
- ghostscript-fPIC.patch
- ghostscript-runlibfileifexists.patch
- ghostscript-system-jasper.patch
- ghostscript-pksmraw.patch
- ghostscript-jbig2dec-nullderef.patch
- - ghostscript-gs-executable.patch
+ - ghostscript-gs-new.patch
- ghostscript-cups-filters.patch
- - ghostscript-CVE-2009-4270.patch
+ - ghostscript-CVE-2009-4270-fix.patch
- ghostscript-vsnprintf.patch
- - ghostscript-pdftoraster-exit.patch
- - ghostscript-ldflags.patch
- - ghostscript-pdf2dsc.patch
- - ghostscript-cups-realloc-color-depth.patch
- - ghostscript-tif-fail-close.patch
- - ghostscript-tiff-default-strip-size.patch
- - ghostscript-tiff-fixes.patch
- - ghostscript-CVE-2010-1628.patch
+ - ghostscript-ldflags-fix.patch
+ - ghostscript-cups-realloc-color-depth-fix.patch
Description: |
Ghostscript is a set of software that provides a PostScript
interpreter, a set of C procedures (the Ghostscript library, which
++++++ deleted files:
--- ghostscript-8.71.tar.xz
--- ghostscript-CVE-2009-4270.patch
--- ghostscript-CVE-2010-1628.patch
--- ghostscript-cups-realloc-color-depth.patch
--- ghostscript-gs-executable.patch
--- ghostscript-ldflags.patch
--- ghostscript-scripts.patch
--- ghostscript-tif-fail-close.patch
--- ghostscript-tiff-default-strip-size.patch
--- ghostscript-tiff-fixes.patch
More information about the MeeGo-commits
mailing list