[Pkg-gs-devel] r102 - ghostscript/trunk/debian

Masayuki Hatta mhatta at alioth.debian.org
Sun Jan 4 00:08:59 UTC 2009


Author: mhatta
Date: Sun Jan  4 00:08:52 2009
New Revision: 102

Log:
Updated for the 8.63.dfsg.1-1 release.


Removed:
   ghostscript/trunk/debian/libgs8.shlibs
Modified:
   ghostscript/trunk/debian/changelog
   ghostscript/trunk/debian/control
   ghostscript/trunk/debian/ghostscript.preinst
   ghostscript/trunk/debian/gs-afpl.preinst
   ghostscript/trunk/debian/gs-aladdin.preinst
   ghostscript/trunk/debian/gs-common.preinst
   ghostscript/trunk/debian/gs-esp.preinst
   ghostscript/trunk/debian/gs-gpl.preinst
   ghostscript/trunk/debian/gs.preinst
   ghostscript/trunk/debian/rules

Modified: ghostscript/trunk/debian/changelog
==============================================================================
--- ghostscript/trunk/debian/changelog	(original)
+++ ghostscript/trunk/debian/changelog	Sun Jan  4 00:08:52 2009
@@ -1,6 +1,79 @@
-ghostscript (8.63.dfsg.1-1) UNRELEASED; urgency=low
+ghostscript (8.63.dfsg.1-1) unstable; urgency=low
 
-  * (NOT RELEASED YET) New upstream release
+  [Masayuki Hatta]
+  	
+  * Maintainer upload, New upstream release.
+  * Acknowledged NMUs, thanks tv - closes: #472645, #495703. #503712
+  * Sync'd with the Ubuntu 8.63.dfsg.1-0ubuntu13.
+	
+  [Till Kamppeter]
+  	
+  * debian/libgs8.shlibs: Removed. All libgs8 versions should have the same
+    API and ABI. The artificial restriction set by this file required all
+    reverse dependencies to be rebuilt for every stable release of Ghostscript.
+  * debian/patches/35_disable_libcairo.dpatch: Added possibility to
+    compile Ghostscript without the "cairo" output device. The device
+    is still in experimental state and with its dependency on libcairo
+    it pulls in a dependency on X.
+  * debian/control, debian/rules: Build Ghostscript without the "cairo"
+    output device.
+  * debian/patches/38_pxl-duplex.dpatch: The Duplex option of the "pxlmono"
+    and "pxlcolor" drivers did not work.
+  * debian/patches/39_pxl-resolution.dpatch: The resolution must be also set
+    as PJL command for the "pxlmono" and "pxlcolor" drivers.
+  * debian/patches/42_gs-init-ps-delaybind-fix.dpatch: Make "ps2ascii" working
+    again (Upstream bug #690124) - closes: #81430, #229748, #131528
+  * debian/patches/45_bjc600-bjc800-pdf-input.dpatch: Fix setting of the
+    "DitheringType" option. With PDF input Ghostscript crashes, with
+    PostScript input the "DitheringType" option was probably ignored
+    (Upstream bug #690032).
+  * debian/patches/48_cups-output-device-pdf-duplex-uninitialized-memory.patch.d
+patch:
+    Fixed several bugs in the "cups" (CUPS Raster) output device:
+     - Ghostscript crashed with PDF input data
+     - The "Duplex" and "MediaWeight" options were ignored
+     - There was uninitialized memory and wrong usage of pointers, potential
+       cause for segmentation faults or even vulnerabilities
+     - There were mismatches in data types, leading to possible breakage
+       of the "AdvanceDistance", "MediaWeight", and "cupsStringXX" options.
+    (Upstream bug #690101).
+  * debian/local/pdftoraster/pdftoraster.c,
+    debian/local/pdftoraster/pdftoraster.convs, debian/rules: Added pdftoraster
+    filter from the Ghostscript SVN repository - closes: #505282
+  * debian/control: Added conflict with cups < 1.3.9-4 because the pdftoraster
+    filter was there before.
+  * debian/patches/50_lips4-floating-point-exception: Fixed floating-point
+    exception in "lips4" and other drivers (Upstream bug #690122).
+  * debian/patches/52_cups-device-logging.dpatch: Made logging of the "cups"
+    output device much less verbose. The log of one jub in debug mode did not
+    fit into the maximum log file size of CUPS.
+  * debian/patches/55_pcl-input-slot-fix.dpatch: Made the paper tray selection
+    via "-dMediaPosition=..." in the PCL 4/5/5e drivers work (Upstream bug
+    #690182).
+  * debian/patches/57_pxl-input-slot-fix.dpatch: Made the paper tray selection
+    via "-dMediaPosition=..." in the PCL 6/XL drivers work.
+  * debian/patches/60_pxl-cups-driver-pdf.dpatch: Made the PCL-XL CUPS filter
+    and PPDs work with PDF input.
+  * debian/patches/62_onebitcmyk-pdf.dpatch: Check the whole Decode array to
+    detect special cases of identity and inverse decoding in PDF files 
+    (Upstream bug #690178).
+  * debian/ghostscript.postinst: Added automatic update of the PPD files
+    of already existing print queues.
+  * debian/ghostscript.postinst: Do not try to update the PPDs of existing
+    print queues if CUPS is not installed or not running.
+  * debian/patches/60_pxl-cups-driver-pdf.dpatch: The pstopxl filter did not
+    remove its temporary file after finishing.
+  * debian/patches/65_too-big-temp-files-1.dpatch: Ghostscript produced much 
+    too big temporary files (> 10 GB) when printing photos from GNOME apps in 
+    1200 dpi. Part 1 of the fix which reduces the temp file size to less than 
+    2 GB (Upstream bug #690133).
+  * debian/patches/67_too-big-temp-files-2.dpatch: Complete fix for the too big
+    temporary files. Now the bug is completely fixed. Temp files are not much
+    bigger than the jobs themselves now (Upstream bug #690133).
+  * debian/patches/70_take-into-account-data-in-stream-buffer-before-refill.dpat
+ch:
+    Certain files lead to a Ghostscript error due to wrong handling of the
+    stream buffer (Upstream bug #690090).
 
  -- Masayuki Hatta (mhatta) <mhatta at debian.org>  Sun, 04 Jan 2009 03:08:51 +0900
 

Modified: ghostscript/trunk/debian/control
==============================================================================
--- ghostscript/trunk/debian/control	(original)
+++ ghostscript/trunk/debian/control	Sun Jan  4 00:08:52 2009
@@ -8,12 +8,12 @@
 
 Package: ghostscript
 Architecture: any
-Conflicts: gs (<< 8.62), gs-esp (<< 8.62), gs-gpl (<< 8.62), gs-afpl (<< 8.62), gs-aladdin (<< 8.62), gs-cjk-resource (<< 1.20010910-1), gs-pdfencrypt (<< 7.00), gs-common (<< 8.62)
-Replaces: gs (<< 8.62), gs-esp (<< 8.62), gs-gpl (<< 8.62), gs-afpl (<< 8.62), gs-aladdin (<< 8.62), gs-pdfencrypt (<< 7.00), gs-common (<< 8.62)
-Provides: gs-pdfencrypt, postscript-viewer
+Conflicts: gs (<< 8.63), gs-esp (<< 8.63), gs-gpl (<< 8.63), gs-afpl (<< 8.63), gs-aladdin (<< 8.63), gs-cjk-resource (<< 1.20010910-1), gs-pdfencrypt (<< 7.00), gs-common (<< 8.63), cups (<< 1.3.9-4)
+Replaces: gs (<< 8.63), gs-esp (<< 8.63), gs-gpl (<< 8.63), gs-afpl (<< 8.63), gs-aladdin (<< 8.63), gs-pdfencrypt (<< 7.00), gs-common (<< 8.63)
+Provides: gs-pdfencrypt, postscript-viewer, gs-common
 Recommends: psfontmgr
 Suggests: ghostscript-x, hpijs
-Depends: ${shlibs:Depends}, gs-common (>= 8.62.dfsg.1-3.2), gsfonts (>= 6.0-1), defoma, debconf | debconf-2.0, debianutils (>= 1.6), libgs8 (= ${binary:Version})
+Depends: ${shlibs:Depends}, gs-common (>= 8.63.dfsg.1-1), gsfonts (>= 6.0-1), defoma, debconf | debconf-2.0, debianutils (>= 1.6), libgs8 (= ${binary:Version})
 Description: The GPL Ghostscript PostScript/PDF interpreter
  Ghostscript is used for PostScript/PDF preview and printing.  Usually as
  a back-end to a program such as ghostview, it can display PostScript and PDF
@@ -65,7 +65,7 @@
 
 Package: gs-common
 Architecture: all
-Priority: optional
+Priority: extra
 Depends:  ghostscript
 Description: Dummy package depending on ghostscript
  This dummy package is provided for a smooth transition from the
@@ -73,8 +73,8 @@
 
 Package: ghostscript-x
 Architecture: any
-Depends: ${shlibs:Depends}, ghostscript (>= 8.62)
-Conflicts: ghostscript (<< 8.62)
+Depends: ${shlibs:Depends}, ghostscript (>= 8.63)
+Conflicts: ghostscript (<< 8.63)
 Provides: gs, gs-esp, gs-gpl, gs-afpl, gs-aladdin
 Description: The GPL Ghostscript PostScript/PDF interpreter - X Display support
  Ghostscript is used for PostScript/PDF preview and printing.  Usually as
@@ -90,8 +90,8 @@
 Package: ghostscript-doc
 Section: doc
 Architecture: all
-Depends: ${shlibs:Depends}, ghostscript (>= 8.62)
-Conflicts: ghostscript (<< 8.62)
+Depends: ${shlibs:Depends}, ghostscript (>= 8.63)
+Conflicts: ghostscript (<< 8.63)
 Description: The GPL Ghostscript PostScript/PDF interpreter - Documentation
  Ghostscript is used for PostScript/PDF preview and printing.  Usually as
  a back-end to a program such as ghostview, it can display PostScript and PDF
@@ -122,8 +122,8 @@
 Section: libdevel
 Architecture: any
 Depends: ${shlibs:Depends}, libgs8
-Conflicts: libgs-esp-dev (<< 8.62)
-Replaces: libgs-esp-dev (<< 8.62)
+Conflicts: libgs-esp-dev (<< 8.63)
+Replaces: libgs-esp-dev (<< 8.63)
 Provides: libgs-esp-dev
 Description: The Ghostscript PostScript Library - Development Files
  Ghostscript is used for PostScript/PDF preview and printing.  Usually as

Modified: ghostscript/trunk/debian/ghostscript.preinst
==============================================================================
--- ghostscript/trunk/debian/ghostscript.preinst	(original)
+++ ghostscript/trunk/debian/ghostscript.preinst	Sun Jan  4 00:08:52 2009
@@ -19,7 +19,7 @@
     install|upgrade)
 	# Do away with update-alternative for /usr/bin/gs, we have one
 	# grand unified Ghostscript now!
-        if dpkg --compare-versions "$2" lt-nl "8.62.dfsg.1-3"; then
+        if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then
             update-alternatives --remove-all gs || true
             update-alternatives --remove-all gs.1 || true
         fi

Modified: ghostscript/trunk/debian/gs-afpl.preinst
==============================================================================
--- ghostscript/trunk/debian/gs-afpl.preinst	(original)
+++ ghostscript/trunk/debian/gs-afpl.preinst	Sun Jan  4 00:08:52 2009
@@ -19,7 +19,7 @@
     install|upgrade)
 	# Do away with update-alternative for /usr/bin/gs, we have one
 	# grand unified Ghostscript now!
-        if dpkg --compare-versions "$2" lt-nl "8.62.dfsg.1-3"; then
+        if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then
             update-alternatives --remove-all gs || true
             update-alternatives --remove-all gs.1 || true
         fi

Modified: ghostscript/trunk/debian/gs-aladdin.preinst
==============================================================================
--- ghostscript/trunk/debian/gs-aladdin.preinst	(original)
+++ ghostscript/trunk/debian/gs-aladdin.preinst	Sun Jan  4 00:08:52 2009
@@ -19,7 +19,7 @@
     install|upgrade)
 	# Do away with update-alternative for /usr/bin/gs, we have one
 	# grand unified Ghostscript now!
-        if dpkg --compare-versions "$2" lt-nl "8.62.dfsg.1-3"; then
+        if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then
             update-alternatives --remove-all gs || true
             update-alternatives --remove-all gs.1 || true
         fi

Modified: ghostscript/trunk/debian/gs-common.preinst
==============================================================================
--- ghostscript/trunk/debian/gs-common.preinst	(original)
+++ ghostscript/trunk/debian/gs-common.preinst	Sun Jan  4 00:08:52 2009
@@ -19,7 +19,7 @@
     install|upgrade)
 	# Do away with update-alternative for /usr/bin/gs, we have one
 	# grand unified Ghostscript now!
-        if dpkg --compare-versions "$2" lt-nl "8.62.dfsg.1-3"; then
+        if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then
             update-alternatives --remove-all gs || true
             update-alternatives --remove-all gs.1 || true
         fi

Modified: ghostscript/trunk/debian/gs-esp.preinst
==============================================================================
--- ghostscript/trunk/debian/gs-esp.preinst	(original)
+++ ghostscript/trunk/debian/gs-esp.preinst	Sun Jan  4 00:08:52 2009
@@ -19,7 +19,7 @@
     install|upgrade)
 	# Do away with update-alternative for /usr/bin/gs, we have one
 	# grand unified Ghostscript now!
-        if dpkg --compare-versions "$2" lt-nl "8.62.dfsg.1-3"; then
+        if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then
             update-alternatives --remove-all gs || true
             update-alternatives --remove-all gs.1 || true
         fi

Modified: ghostscript/trunk/debian/gs-gpl.preinst
==============================================================================
--- ghostscript/trunk/debian/gs-gpl.preinst	(original)
+++ ghostscript/trunk/debian/gs-gpl.preinst	Sun Jan  4 00:08:52 2009
@@ -19,7 +19,7 @@
     install|upgrade)
 	# Do away with update-alternative for /usr/bin/gs, we have one
 	# grand unified Ghostscript now!
-        if dpkg --compare-versions "$2" lt-nl "8.62.dfsg.1-3"; then
+        if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then
             update-alternatives --remove-all gs || true
             update-alternatives --remove-all gs.1 || true
         fi

Modified: ghostscript/trunk/debian/gs.preinst
==============================================================================
--- ghostscript/trunk/debian/gs.preinst	(original)
+++ ghostscript/trunk/debian/gs.preinst	Sun Jan  4 00:08:52 2009
@@ -19,7 +19,7 @@
     install|upgrade)
 	# Do away with update-alternative for /usr/bin/gs, we have one
 	# grand unified Ghostscript now!
-        if dpkg --compare-versions "$2" lt-nl "8.62.dfsg.1-2"; then
+        if dpkg --compare-versions "$2" lt-nl "8.63.dfsg.1-1"; then
             update-alternatives --remove-all gs || true
             update-alternatives --remove-all gs.1 || true
         fi

Modified: ghostscript/trunk/debian/rules
==============================================================================
--- ghostscript/trunk/debian/rules	(original)
+++ ghostscript/trunk/debian/rules	Sun Jan  4 00:08:52 2009
@@ -26,8 +26,8 @@
 DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
 	--with-ijs --with-jbig2dec --with-jasper --with-x --disable-gtk \
 	--enable-dynamic --with-omni --enable-cups --disable-compile-inits \
-	--with-drivers=ALL \
-	--with-fontpath=/var/lib/defoma/gs.d/dirs/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts:/usr/share/fonts/type1/gsfonts
+	--disable-cairo --with-drivers=ALL \
+	--with-fontpath=/var/lib/defoma/gs.d/dirs/fonts:/usr/share/cups/fonts:/usr/share/ghostscript/fonts:/usr/local/lib/ghostscript/fonts:/usr/share/fonts
 DEB_MAKE_BUILD_TARGET := STDDIRS $(FT_OPTS)
 DEB_MAKE_INSTALL_TARGET := soinstall install-shared install-cups install-contrib-extras \
 		DESTDIR=$(CURDIR)/debian/ghostscript \
@@ -48,22 +48,16 @@
 		echo '       Please strip Resource/CMap from source!'; \
 		exit 1)
 
-fail-if-jasper-pdfs-exist:
-	@test ! -f jasper/doc/*.pdf || ( \
-		echo; \
-		echo 'ERROR: Source contains JasPer PDFs that are declared non-free.'; \
-		echo '       Please remove PDFs from source!'; \
-		exit 1)
-
 clean::
 	-cd jasper && $(MAKE) distclean
 	[ ! -f Makefile ] || $(MAKE) soclean
 	[ ! -f Makefile ] || $(MAKE) distclean
         # These are somehow left...
-	-rm -rf sobin soobj cups/pstopxl cups/pstoraster
+	-rm -rf sobin soobj cups/pstopxl cups/pstoraster debian/local/pdftoraster/pdftoraster
 
 build/ghostscript::
 	#/usr/bin/docbook-to-man debian/ghostscript.sgml > ghostscript.1
+	gcc $(CFLAGS) $(LDFLAGS) `cups-config --image --libs` -DBINDIR='"/usr/bin"' -DGS='"gs"' -o debian/local/pdftoraster/pdftoraster debian/local/pdftoraster/pdftoraster.c
 
 build/ghostscript-x::
 	$(MAKE) obj/X11.so
@@ -81,6 +75,10 @@
 	   $(CURDIR)/debian/ghostscript/usr/share/cups/mime/ 2> /dev/null || :
 	rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/ghostscript/etc/cups
 	rmdir --ignore-fail-on-non-empty $(CURDIR)/debian/ghostscript/etc
+	install -m 755 debian/local/pdftoraster/pdftoraster \
+	   $(CURDIR)/debian/ghostscript/usr/lib/cups/filter/
+	install -m 644 debian/local/pdftoraster/pdftoraster.convs \
+	   $(CURDIR)/debian/ghostscript/usr/share/cups/mime/
 
 	# Install DeFoMa script
 	install -m 644 $(CURDIR)/debian/gs.defoma $(CURDIR)/debian/ghostscript/usr/share/defoma/scripts
@@ -91,7 +89,7 @@
 	# Do not include the Ghostscript loader executable with GTK support
 	rm -f $(CURDIR)/debian/ghostscript/usr/bin/gsx
 
-	# Rename /usr/bin/gsc, to not conflict with gambc (bug LP #118785).
+	# Rename /usr/bin/gsc, to not conflict with gambc
 	mv $(CURDIR)/debian/ghostscript/usr/bin/gsc $(CURDIR)/debian/ghostscript/usr/bin/gs
 
 	# Some convenience links
@@ -111,19 +109,23 @@
 	# Move documentation into the ghostscript-doc package
 	mkdir -p $(CURDIR)/debian/ghostscript-doc/usr/share/
 	mv $(CURDIR)/debian/ghostscript/usr/share/doc $(CURDIR)/debian/ghostscript-doc/usr/share/
-	# Install cjk examples too
-	install -d  $(CURDIR)/debian/ghostscript-doc/usr/share/doc/ghostscript/examples/cjk
-	install -m 644 $(CURDIR)/examples/cjk/* $(CURDIR)/debian/ghostscript-doc/usr/share/doc/ghostscript/examples/cjk
 
 binary-post-install/ghostscript::
 	# for non-arch-all builds, we need to remove the
-	# documentation manually, since install/ghostscript-doc is not called
+	# documentation and the fonts manually, since
+	# install/ghostscript-doc is not called
 	# for them
 	rm -f $(CURDIR)/debian/ghostscript/usr/share/doc/ghostscript/*.htm
 	rm -f $(CURDIR)/debian/ghostscript/usr/share/doc/ghostscript/*.html
 	rm -f $(CURDIR)/debian/ghostscript/usr/share/doc/ghostscript/*.css
 	rm -f $(CURDIR)/debian/ghostscript/usr/share/doc/ghostscript/README
 	rm -rf $(CURDIR)/debian/ghostscript/usr/share/doc/ghostscript/examples
+	GSVERSION=`ls -1 $(CURDIR)/debian/ghostscript/usr/share/ghostscript/ | head -1`; \
+	for font in $(CURDIR)/debian/ghostscript/usr/share/ghostscript/$$GSVERSION/Resource/Font/*; do \
+		file="$$(basename $$font)"; \
+		[ "$$file" = "Dingbats" ] || [ "$$file" = "StandardSymL" ] \
+		|| rm $$font; \
+	done
 
 install/libgs8::
 	# Move libgs into the libgs8 package



More information about the Pkg-gs-devel mailing list