--- gutenprint-5.2.3.orig/debian/gimp-gutenprint.install +++ gutenprint-5.2.3/debian/gimp-gutenprint.install @@ -0,0 +1,2 @@ +debian/install/usr/lib/gimp/2.0/plug-ins/gutenprint usr/lib/gimp/2.0/plug-ins +samples/*.png usr/share/doc/gutenprint/samples --- gutenprint-5.2.3.orig/debian/cups-driver-gutenprint.postrm +++ gutenprint-5.2.3/debian/cups-driver-gutenprint.postrm @@ -0,0 +1,41 @@ +#! /bin/sh +# postrm script for cups-driver-gutenprint +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/doc/packaging-manual/ + +if [ "$1" = remove ]; then + # Remove generated PPDs + # (note: user-generated now we no longer generate them automatically) + rm -rf /usr/share/cups/model/gutenprint/5.2 + rmdir /usr/share/cups/model/gutenprint 2>/dev/null || true + rm -rf /usr/share/ppd/gutenprint/5.2 + rmdir /usr/share/ppd/gutenprint 2>/dev/null || true + [ -x /etc/init.d/cups ] && invoke-rc.d cups force-reload || true +fi + +if [ "$1" = purge ]; then + # Remove directories if empty + rmdir /etc/cups 2>/dev/null || true + rmdir /usr/share/cups/model/gutenprint 2>/dev/null || true + rmdir /usr/share/ppd/gutenprint 2>/dev/null || true +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + --- gutenprint-5.2.3.orig/debian/cups-driver-gutenprint.NEWS +++ gutenprint-5.2.3/debian/cups-driver-gutenprint.NEWS @@ -0,0 +1,34 @@ +gutenprint (5.2.1-2) experimental; urgency=low + + * The CUPS "canon" and "epson" backends are obsolete in Gutenprint 5.2, + and have been removed by the upstream developers. Users of these + backends need to migrate their print queues to use the standard + backends such as "usb", "parallel" and "socket", which now contain the + functionality of the old backends. The package postinst script will + attempt to automatically upgrade your print queues to use the + appropriate backend, but the queues should be checked to make sure + that the correct backend has been selected. + + In particular, USB printers will require the print queue to be + modified to use the correct IEEE-1284 device ID. The device IDs + for the USB printers currently connected to the system may be viewed + by running + + /usr/lib/cups/backend/usb + + or for all printers with + + lpinfo -v + + and set with + + lpadmin -p PRINTER -v 'usb://DEVICE-ID' + + Alternatively, this may be done using the CUPS web interface by browsing to + + https://localhost:631/printers + + and then choosing "Modify Printer" for each printer in question. + The available printers will be shown in a list. + + -- Roger Leigh Sat, 01 Nov 2008 16:40:05 +0000 --- gutenprint-5.2.3.orig/debian/copyright +++ gutenprint-5.2.3/debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Roger Leigh on +Fri, 26 Jan 2001 17:42:06 +0000. + +It was downloaded from CVS: + gimp-print.cvs.sourceforge.net:/cvsroot/gimp-print (module print) +See http://sourceforge.net/cvs/?group_id=1537 for full instructions. + +The official release tarballs are available from: + http://sourceforge.net/project/showfiles.php?group_id=1537 + +See also http://gimp-print.sourceforge.net/. + + +Upstream Authors: Michael Sweet (mike@easysw.com) + Robert Krawitz (rlk@alum.mit.edu) + and the rest of the Gutenprint development team. + + +Copyright: + +This software is Copyright © 1997-2008 Michael Sweet and Robert Krawitz + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. + +The user manual, in the gutenprint-doc package, is licensed under the +terms of the GNU Free Documentation License. +On Debian systems, the complete text of the GNU Free Documentation +License can be found in /usr/share/common-licenses/GFDL-1.2 + + + -- Roger Leigh Fri, 04 Jan 2008 23:14:01 +0000 --- gutenprint-5.2.3.orig/debian/libgutenprint-doc.install +++ gutenprint-5.2.3/debian/libgutenprint-doc.install @@ -0,0 +1,2 @@ +doc/developer/reference-html/* usr/share/doc/libgutenprint-doc/developer/html +doc/gutenprint/* usr/share/doc/libgutenprint-doc/reference --- gutenprint-5.2.3.orig/debian/README.Debian +++ gutenprint-5.2.3/debian/README.Debian @@ -0,0 +1,19 @@ +Gutenprint for Debian +--------------------- + +This is Gutenprint version 5.2. Gutenprint is the print facility for +the GIMP, and in addition a suite of drivers that may be used with +common UNIX spooling systems using Ghostscript or CUPS. These drivers +provide printing quality for UNIX/Linux on a par with proprietary +vendor-supplied drivers in many cases, and can be used for many of the +most demanding printing tasks. + +A complete list of supported printers may be found in the NEWS file. +On Debian GNU/Linux, the NEWS file is called `changelog.gz'. + +Documentation can be found in the gutenprint-doc package, which covers +the use of libgutenprint-based programs, and the libgutenprint-doc +package, which covers developing programs using libgutenprint. + + + -- Roger Leigh , Fri, 09 May 2008 17:02:10 +0100 --- gutenprint-5.2.3.orig/debian/foomatic-db-gutenprint.install +++ gutenprint-5.2.3/debian/foomatic-db-gutenprint.install @@ -0,0 +1,2 @@ +debian/install/usr/share/foomatic/db/source/driver/gutenprint*.xml usr/share/foomatic/db/source/driver +debian/install/usr/share/foomatic/db/source/opt/gutenprint-ijs* usr/share/foomatic/db/source/opt --- gutenprint-5.2.3.orig/debian/cups-driver-gutenprint.docs +++ gutenprint-5.2.3/debian/cups-driver-gutenprint.docs @@ -0,0 +1,2 @@ +README +doc/FAQ.html --- gutenprint-5.2.3.orig/debian/cups-driver-gutenprint.install +++ gutenprint-5.2.3/debian/cups-driver-gutenprint.install @@ -0,0 +1,8 @@ +debian/install/etc/cups/command.types usr/share/cups/mime +debian/install/usr/bin/cups-calibrate usr/bin +debian/install/usr/sbin/cups-genppdupdate usr/sbin +debian/install/usr/lib/cups usr/lib +debian/install/usr/share/cups/calibrate.ppm usr/share/cups +debian/install/usr/share/man/man8/cups-calibrate.8 usr/share/man/man8 +debian/install/usr/share/man/man8/cups-genppdupdate.8 usr/share/man/man8 +samples/profile.jpg usr/share/doc/cups-driver-gutenprint/samples --- gutenprint-5.2.3.orig/debian/libgutenprintui2-1.install +++ gutenprint-5.2.3/debian/libgutenprintui2-1.install @@ -0,0 +1 @@ +debian/install/usr/lib/libgutenprintui2.so.* usr/lib --- gutenprint-5.2.3.orig/debian/gimp-gutenprint.docs +++ gutenprint-5.2.3/debian/gimp-gutenprint.docs @@ -0,0 +1,3 @@ +README +doc/*.html +doc/*.png --- gutenprint-5.2.3.orig/debian/libgutenprint-dev.docs +++ gutenprint-5.2.3/debian/libgutenprint-dev.docs @@ -0,0 +1,2 @@ +README +doc/FAQ.html --- gutenprint-5.2.3.orig/debian/gutenprint-locales.install +++ gutenprint-5.2.3/debian/gutenprint-locales.install @@ -0,0 +1 @@ +debian/install/usr/share/locale usr/share --- gutenprint-5.2.3.orig/debian/changelog +++ gutenprint-5.2.3/debian/changelog @@ -0,0 +1,1040 @@ +gutenprint (5.2.3-3) unstable; urgency=low + + * debian/control: cups-driver-gutenprint: Depend on cups-client since + lpadmin and lpstat are used during postinst (Closes: #532880). + + -- Roger Leigh Sat, 13 Jun 2009 10:43:09 +0100 + +gutenprint (5.2.3-2) unstable; urgency=low + + * debian/rules: Update build and build-stamp dependencies (it doesn't + matter if debian/control is changed when build is called). This + is already taken care of through the autoconfigure-stamp dependency. + + -- Roger Leigh Sat, 21 Feb 2009 12:49:23 +0000 + +gutenprint (5.2.3-1) experimental; urgency=low + + [ Roger Leigh ] + * New upstream stable release. + * debian/control: + - Use ${source:Version} in place of ${binary:Version} for all + dependencies except for shared library dependencies in library + -dev packages. This relaxes the dependencies so that a specific + debian revision of a package is not strictly required. Thanks to + Amaya Rodrigo Sastre. + - ijsgutenprint no longer depends on obsolete ghostscript packages + (Closes: #447533). + - Build-Depend on debhelper v7. + * debian/cups-driver-gutenprint.postinst: Don't use full path + when running cups-genppdupdate (fix Lintian warning). + * debian/rules: + - update-patch-series: Use xargs -r to cope with null input. + - Use dh_prep in place of dh_clean -k. + - Split install into install-arch and install-indep with common + install-common rule. + - For binary-arch, use -s in place of -a. + + -- Roger Leigh Sun, 04 Jan 2009 18:19:28 +0000 + +gutenprint (5.2.2-1) experimental; urgency=low + + [ Roger Leigh ] + * New upstream stable release. + + -- Roger Leigh Sun, 04 Jan 2009 13:05:13 +0000 + +gutenprint (5.2.1-2) experimental; urgency=low + + [ Roger Leigh ] + * debian/compat: Update to debhelper v7 compatibility. + * debian/control: + - Add W. van den Akker to Uploaders. + - ijsgutenprint: Recommend foomatic-db-gutenprint. + - Update description of GIMP Print plugin. + - Build-Depend upon quilt instead of dpatch. + * debian/rules: + - autoconfigure-stamp: Update configure options to create globalised + CUPS PPDs, and remove obsolete options. + - realclean: + + Remove redundant removal of -stamp files. + + Save and restore config.sub and config.guess. Thanks to + Till Kamppeter. + + Move copying of new config.sub and config.guess to + autoconfigure-stamp, or else saving and restoring has no effect. + - install: Replace use of pwd with $(CURDIR). + - Use quilt in place of dpatch, and add rule to generate quilt patch + series from patches branch in git. + - Create -stamp files in the debian/ directory, so no new files are + created outside the debian directory. + * debian/cups-driver-gutenprint.*: Replace use of cupsys with cups. + * debian/cups-driver-gutenprint.postinst: + - Automatically upgrade print queues using the obsolete canon and epson + backends. Attempt to determine the most appropriate alternative + backend from the device name. + - Document USB backend device ID upgrade problems. + * debian/cups-driver-gutenprint.NEWS: New file. + - Document automatic upgrade of print queue backends. + - Document USB backend device ID upgrade problems. + * debian/patches/10_cups_modeldir.dpatch: Remove. + * debian/patches/20_fix_gimpprint_menu_entry.dpatch: Remove. Not needed, + and no longer compiled with GIMP >= 2.4. + * debian/patches/21_gutenprintui_plist_localefix.dpatch: Remove. Since + PPD files are no longer generated, we don't need to patch the source + to use /usr/share/ppd. + + -- Roger Leigh Sat, 01 Nov 2008 18:47:26 +0000 + +gutenprint (5.2.1-1) experimental; urgency=low + + [ W. van den Akker ] + * Upgraded to Standards version 3.8.0. + * debian/*: Update version from 5.1 to 5.2. + + [ Roger Leigh ] + * New upstream stable release. + * debian/control.in: Add Vcs-Browser and Vcs-Git fields. + * debian/control.in: Remove, leaving debian/control. + * debian/control: Remove unnecessary version information in package + descriptions. + * debian/control: Rename cupsys-driver-gutenprint to + cups-driver-gutenprint (already done in 5.0 branch). + * debian/control: Remove dependencies prior to Lenny, including + unneeded versioning and old transitional dependencies. + * debian/rules: Remove library soname substitution in package names. + * debian/README.building: Remove old outdated instructions. + * debian/patches/20_fix_gimpprint_menu_entry.dpatch: Make executable. + + -- Roger Leigh Thu, 30 Oct 2008 00:27:41 +0000 + +gutenprint (5.1.98.2-2) experimental; urgency=low + + * debian/cupsys-driver-gutenprint.postinst: Remove version suffix from + cups-genppdupdate. + * debian/rules, debian/cupsys-driver-gutenprint.install: Remove + cups-genppd; this is no longer needed with CUPS 1.2.x + (Closes: #474994). + * debian/control: Remove debian revision in Build-Depends package + versions. + + -- Roger Leigh Sat, 10 May 2008 12:32:39 +0100 + +gutenprint (5.1.98.2-1) unstable; urgency=low + + * New upstream stable beta release (Closes: #439961, #480113). + * debian/rules: + - Remove debian/libgutenprint2.install from GENERATED_FILES, and + remove the rule to generate it. + - Rename versioned binaries to 5.1. + - Remove commands for programs and manpages removed in this release. + * debian/control.in: + - Bump version from 5.0 to 5.1. + - cupsys-driver-gutenprint dependency on older ghostscript versions has + been restored, to allow migration to testing. + * debian/cupsys-driver-gutenprint.install: + - Rename versioned binaries to 5.1. + - Remove cups-genppdconfig. + * debian/cupsys-driver-gutenprint.postinst, + debian/cupsys-driver-gutenprint.postrm, + debian/cupsys-driver-gutenprint.preinst: Rename versioned binaries to + 5.1. + * debian/gutenprint-doc.doc-base: Update version, section is now Graphics. + * debian/ijsgutenprint.install: Rename versioned binaries to 5.1. + * debian/libgutenprint2.install.in: Rename to + debian/libgutenprint2.install and hard-code version. + * debian/libgutenprint-doc.doc-base.developer, + debian/libgutenprint-doc.doc-base.reference: Section is now + Programming/C. + * debian/README.Debian: Bump version from 5.0 to 5.2. + * + + -- Roger Leigh Fri, 09 May 2008 17:04:37 +0100 + +gutenprint (5.0.2-2) unstable; urgency=low + + * debian/control: + - ijsgutenprint only needs to Depend upon ghostscript. The older + gs-* variants are no longer needed (Closes: #447533). + * debian/cupsys-driver-gutenprint.preinst: + - Remove /etc/cups/command.types if the version is <- 5.0.2-2 + (Closes: #455016). Thanks to Kumar Appaiah for finding this. + * debian/patches/21_gutenprintui_plist_localefix.dpatch: Set locale + to C before executing lpr to get non-localised output. Patches + src/gutenprintui/plist.c and src/gutenprintui2/plist.c to fix + querying of available printers in a non-C locale (Closes: #456281). + + -- Roger Leigh Sun, 06 Jan 2008 00:25:17 +0000 + +gutenprint (5.0.2-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Update to Standards-Version 3.7.3. + - libgutenprintui2-dev is in Section libdevel. + * debian/compat: Update to version 6. + * debian/changelog: + - Provide link to full GFDL licence text, rather than the + entire licence verbatim. + - Update copyright dates. + + -- Roger Leigh Fri, 04 Jan 2008 23:14:24 +0000 + +gutenprint (5.0.1-4) unstable; urgency=low + + * debian/control: Rename gimp-print to gimp-gutenprint. + * Rename debian/gimp-print.* to debian/gimp-gutenprint.*. + * debian/gimp-gutenprint.preinst, debian/gimp-gutenprint.postrm: Remove, + since diversions are no longer used. + * debian/gimp-gutenprint.install: Install gutenprint plug-in + (Closes: #439500). + + -- Roger Leigh Thu, 27 Sep 2007 20:03:33 +0100 + +gutenprint (5.0.1-3) unstable; urgency=low + + * debian/control: Remove libgutenprintui1-1 and libgutenprintui-dev, + * debian/rules: Disable libgutenprintui when running configure. Remove + libgutenprintui1-1 from search path for dh_shlibdeps. + as well as libgtk1.2-dev build dependency. + * debian/libgutenprintui1-1.install: Remove. + * debian/libgutenprintui1-dev.install: Remove. + + -- Roger Leigh Sun, 22 Jul 2007 18:46:29 +0100 + +gutenprint (5.0.1-2) unstable; urgency=low + + * debian/control.in: Use ${binary:Version} and ${source:Version} in + place of deprecated ${Source-Version} substvar (Closes: #431391). + Thanks to Vincent Fourmond. + * debian/rules: + - Don't ignore clean target errors. + - Remove duplicate distclean command in the clean target. + + -- Roger Leigh Tue, 03 Jul 2007 23:21:40 +0100 + +gutenprint (5.0.1-1) unstable; urgency=low + + * New upstream stable release. + * debian/control.in: + - Remove cupsys-driver-gimpprint (cupsys-driver-gutenprint now + Conflicts and Replaces this transitional package from Etch). + - Remove foomatic-db-gimp-print (foomatic-db-gutenprint now + Conflicts and Replaces this transitional package from Etch). + - Remove ijsgimpprint (ijsgutenprint now Conflicts and Replaces this + transitional package from Etch). + - Replace linuxprinting.org with OpenPrinting in package descriptions + (merge from Ubuntu). + * debian/cupsys-driver-gutenprint.install: Move /etc/cups/command.types + to /usr/share/cups/mime. + * debian/cupsys-driver-gutenprint.preinst: + - If upgrading from a version less than or equal to 5.0.0-2, remove + /usr/share/cups/model/gutenprint/5.0. + - If upgrading from a version less than or equal to 5.0.1-1, remove + /usr/share/ppd/gutenprint/5.0. + * debian/cupsys-driver-gutenprint.postinst: + - Don't call cups-genppdconfig.5.0 now that PPD files are generated on + the fly. + - cups-genppdupdate.5.0 no longer needs any arguments. + * debian/cupsys-driver-gutenprint.postrm: + - No longer remove PPD files on purge, since PPD files are no longer provided. + * debian/patches/10_cups_modeldir.dpatch: Patch from Ubuntu. Fix up PPD + directory location. (Not actually used yet--the patch needs some + work.) + * debian/patches/20_fix_gimpprint_menu_entry.dpatch: Patch from Ubuntu. + Place the Print option in a better position in the GIMP File menu. + + -- Roger Leigh Sun, 24 Jun 2007 23:22:03 +0100 + +gutenprint (5.0.0-3) unstable; urgency=low + + * cupsys-driver-gutenprint: Move PPD files from + /usr/share/cups/model/gutenprint/5.0 to /usr/share/ppd/gutenprint/5.0, to + comply with the Debian PPD File Structure Specification + (http://wiki.debian.org/PpdFileStructureSpecification). The postinst and + postrm scripts have been updated to remove the old PPDs, generate new PPDs + in the new location, and to upgrade PPDs using the new location. + Closes: #396642. + * debian/control: cupsys-driver-gutenprint Depends upon cupsys or cups >= + 1.2.5, so CUPS is guaranteed to find the PPDs in the new location. + + -- Roger Leigh Thu, 2 Nov 2006 22:42:04 +0000 + +gutenprint (5.0.0-2) unstable; urgency=low + + * debian/control.in: cupsys-driver-gutenprint does not recommend + gnome-gv | postscript-viewer (Closes: #384232). It is doubtful this + was of any useful value. Thanks to Christian Hammers. + + -- Roger Leigh Tue, 22 Aug 2006 23:00:04 +0100 + +gutenprint (5.0.0-1) unstable; urgency=low + + * New upstream stable release. + * debian/compat: Switch to debhelper compatibility level 5. + * debian/control.in: + - Replace "beta" with "stable" in package descriptions. + - Add gutenprint-doc package now that GFDL licensed material with no + invariant sections is allowed in main. + - Build-Depend on debhelper >= 5.0.0. + * debian/copyright: Include full GFDL text. + * debian/rules: + - Update upstream version; compute from changelog revision number. + - Don't compress .pdf and .odt files. + * debian/gutenprint-doc.doc-base.in: Use new PDF manual rather than old + (removed) HTML user's guide. + * debian/gutenprint-doc.install: Install new PDF manual (and ODT source) + instead of old (removed) HTML user's guide. + * debian/patches: Drop patches applied upstream: + - 05_genppdconfig_remove_perlmenu.dpatch + - 06_genppdupdate_egrep_stdin_freeze.dpatch + - 07_print_ps_imageable_area_rounding.dpatch + - 08_escputil_raw_device_open.dpatch + * configure.ac: Teach PACKAGE_DATA_DIR about $datarootdir. + * doc/Makefile.am: install-data-local: Install files from $(srcdir), to + fix VPATH build. + + -- Roger Leigh Sat, 12 Aug 2006 18:31:14 +0100 + +gutenprint (4.3.99+cvs20060521-4) unstable; urgency=low + + * src/escputil/escputil.c: When a raw device cannot be opened, display + a more informative error message. Patch installed as + debian/patches/08_escputil_raw_device_open.dpatch (Closes: #352106). + + -- Roger Leigh Tue, 6 Jun 2006 21:06:56 +0100 + +gutenprint (4.3.99+cvs20060521-3) unstable; urgency=low + + * src/main/print-ps.c: Round ImageableArea dimensions towards the centre + of the page, and preserve locales recursively. Patch installed as + debian/07_print_ps_imageable_area_rounding.dpatch (Closes: #329027). + + -- Roger Leigh Mon, 5 Jun 2006 10:43:30 +0100 + +gutenprint (4.3.99+cvs20060521-2) unstable; urgency=low + + * debian/rules: Unconditionally set DIALOG when running configure. + * src/cups/cups-genppdupdate.in: Don't freeze waiting on stdin when + running egrep. Patch installed as + debian/patches/06_genppdupdate_egrep_stdin_freeze.dpatch; thanks to + Felix C. Stegerman for identifying the fault and providing the patch + (Closes: #368446). + + -- Roger Leigh Mon, 22 May 2006 19:21:50 +0100 + +gutenprint (4.3.99+cvs20060521-1) unstable; urgency=low + + * New upstream release candidate. + * doc/Makefile.am, doc/Makefile.in: Drop patches from the .diff.gz which + have been dropped upstream. + * debian/cupsys-driver-gutenprint.docs, debian/gimp-print.docs, + debian/ijsgutenprint.docs: Drop doc/gutenprint-options, which is no + longer present. + * debian/libgutenprint-doc.doc-base.developer: Use book1.html, rather + than index.html, which is no longer present in the upstream release + (Closes: #367412). + * debian/control: + - Update to Standards-Version 3.7.2. + - escputil: Recommend cupsys-bsd|lprng|lpr to advise that an lpr + command is available (Closes: #352102). + * debian/copyright: Update with current CVS repository location + (Closes: #361120). + + -- Roger Leigh Sun, 21 May 2006 12:40:54 +0100 + +gutenprint (4.3.99+cvs20060121.dfsg.1-1) unstable; urgency=low + + * New upstream release candidate (5.0.0-rc2). + * The many options provided by Gutenprint are now documented, and this + documentation (gutenprint-options) is now provided for the + cupsys-driver-gutenprint, ijsgimpprint and gimp-print packages in their + documentation directories (Closes: #323172). + * Revert accidental conversion to a debian-native source package in the last + release. + * debian/cupsys-driver-gimpprint.postinst, + debian/cupsys-driver-gimpprint.postrm: Use invoke-rc.d when reloading + cupsys, and don't fail if cupsys fails to reload. Patches pulled from + the Ubuntu patch repository for gimp-print. + + -- Roger Leigh Sun, 22 Jan 2006 14:21:19 +0000 + +gutenprint (4.3.99+cvs20051122.dfsg.1-2) unstable; urgency=low + + * debian/control.in: Remove xlibs-dev from Build-Depends, in + anticipation of its removal from unstable. + + -- Roger Leigh Fri, 16 Dec 2005 10:53:04 +0000 + +gutenprint (4.3.99+cvs20051122.dfsg.1-1) unstable; urgency=low + + * New upstream CVS snapshot (Closes: #340155). + * The GFDL licensed user's guide has been removed from the + upstream tarball to create a DFSG-free .orig.tar.gz. + * Several Epson Stylus Photo printers have been retuned since the + last version (Closes: #335789). + * The Epson Stylus C88 is now supported (Closes: #338961). + * debian/control.in: + - Improve the ijsgutenprint package description (Closes: #337845). + - Remove 'Suggests: gutenprint-doc (>= ${Source-Version})' from + gimp-print and cupsys-driver-gutenprint. + - Remove the gutenprint-doc package, which was GFDL licensed. + The control data is kept in debian/control.gfdl. + * debian/rules: Update UPSTREAM_VERSION to 5.0.0-rc2. + * debian/copyright: Remove the GFDL manual paragraph, and document + its removal due to DFSG incompatibility. + + -- Roger Leigh Tue, 22 Nov 2005 15:44:02 +0000 + +gutenprint (4.3.99+cvs20050901-1) unstable; urgency=low + + * New upstream release candidate. + * Drop patches which have been incorporated upstream: + - 01_cups_genppdupdate_filename_metacharacters.dpatch + - 02_escp2_r800_papers.dpatch + - 03_escp2_colour_adjust_segfault.dpatch + - 04_print_settings_corruption.dpatch + * debian/control: + - cupsys-driver-gutenprint: Drop libperlmenu-perl dependency. + - gimp-print: Add an "Enhances: gimp" to reinforce the fact this is a + useful part of gimp (Closes: #322066). This does not entirely fix the + upgrade issues, but without a strict dependency in gimp (which the + author does not want), this is the best that can be done. + * src/cups/cups-genppdconfig.in: Remove support for perlmenu in favour + of dialog(1). This prevents a number of warnings on startup, and also + removes a lot of dead code (Closes: #323450). Applied as + 05_genppdconfig_remove_perlmenu.dpatch. + + -- Roger Leigh Sat, 3 Sep 2005 20:46:06 +0100 + +gutenprint (4.3.99+cvs20050813-2) unstable; urgency=low + + * src/main/print-canon.c: Change "Plain PIXMA" paper name to + "PlainPIXMA" in order to avoid illegal whitespace in + generated PPD files (Closes: #322397). + + -- Roger Leigh Wed, 31 Aug 2005 21:16:10 +0100 + +gutenprint (4.3.99+cvs20050813-1) unstable; urgency=low + + * New upstream release candidate. + * src/cups/cups-genppdconfig.in: drop Locale::gettext patch, + which is now incorporated upstream. + * debian/control.in, debian/rules: Use dpatch. + * Added cups-genppdupdate patch as + 01_cups_genppdupdate_filename_metacharacters.dpatch + * Don't segfault when using certain paper types with an Epson R800. + Applied patch from Dan Torop as 02_escp2_r800_papers.dpatch + and 03_escp2_colour_adjust_segfault.dpatch (Closes: #321603). + * Don't corrupt print settings under certain conditions, due to + using uninitialised global variables. Applied patch from upstream + based on a patch contributed by Dan Torop as + 04_print_settings_corruption.dpatch (Closes: #321599). + * debian/debian/cupsys-driver-gutenprint.postinst: Remove bashisms. + + -- Roger Leigh Sun, 14 Aug 2005 22:20:52 +0100 + +gutenprint (4.3.99+cvs20050801-1) unstable; urgency=low + + * New upstream release candidate. + * src/cups/cups-genppdconfig.in: Remove "use Locale::gettext" to + drop missing dependency on liblocale-gettext-perl + (Closes: #320745). + + -- Roger Leigh Tue, 2 Aug 2005 21:06:08 +0100 + +gutenprint (4.3.99+cvs20050715-4) unstable; urgency=low + + * debian/rules: Correct the names of the ijsgutenprint + symlinks. + + -- Roger Leigh Thu, 28 Jul 2005 23:19:35 +0100 + +gutenprint (4.3.99+cvs20050715-3) unstable; urgency=low + + * src/cups/cups-genppdupdate.in: Apply patch to handle shell + metacharacters in PPD filenames, to fix a regression from + cupsys-driver-gimpprint (Closes: #319109). + * debian/control.in: Add foomatic-db-gimp-print as a + transitional package to ease upgrades. + * debian/rules: ijsgutenprint symlinks should not be relative + to the build directory (Closes: #319416). + + -- Roger Leigh Thu, 28 Jul 2005 21:14:31 +0100 + +gutenprint (4.3.99+cvs20050715-2) unstable; urgency=low + + * debian/control.in: + - ijsgimpprint depends on ijsgutenprint, not + cupsys-driver-gutenprint (Closes: #318911). + - ijsgimpprint is in section text, not graphics + (correction of override disparity). + + -- Roger Leigh Mon, 18 Jul 2005 18:39:47 +0100 + +gutenprint (4.3.99+cvs20050715-1) unstable; urgency=low + + * New upstream release candidate. + * debian/control.in: Change Maintainer to Debian Printing Group + . + * debian/rules: Don't build translated PPDs. They may be generated + after installation by the user. + + -- Roger Leigh Sat, 16 Jul 2005 22:45:28 +0100 + +gutenprint (4.3.99+cvs20050702-1) experimental; urgency=low + + * New upstream release candidate (Closes: #293890). + * Renamed package to gutenprint. The following packages were + renamed in consequence: + - cupsys-driver-gimpprint renamed to cupsys-driver-gutenprint + - foomatic-db-gimp-print renamed to foomatic-db-gutenprint + - gimpprint-doc renamed to gutenprint-doc + - gimpprint-locales renamed to gutenprint-locales + - ijsgimpprint renamed to ijsgutenprint + - libgimpprint renamed to libgutenprint + - libgimpprint-dev renamed to libgutenprint-dev + - libgimpprint-doc renamed to libgutenprint-doc + * New packages: + - libgimpprintui1-1 (GTK+ 1.2 UI library) + - libgimpprintui1-dev (GTK+ 1.2 UI library headers) + - libgimpprintui2-1 (GTK+ 2.0 UI library) + - libgimpprintui2-dev (GTK+ 2.0 UI library headers) + * Upgrade to Standards-Version 3.6.2 + * Build-Depends: + - replace libreadline4-dev with libreadline5-dev + - add libcupsimage2-dev + - remove libtool + * debian/rules: add LIBRARYUI_VERSION, required to support + separate sonames for libgutenprint and libgutenprintui*. + * cupsys-driver-gutenprint: + - add cups-genppdupdate + - generates the PPDs in postinst, and removes them in prerm + - use new versioned CUPS executables + * libgutenprint: add modules and XML data. + * libgutenprint-doc: + - fix documentation installation for new API reference and + developer's reference. + - distribute gutenprint.pdf; gutenprint.ps is no longer created. + * Remove old and outdated manual pages. + * Provide versioned ijsgutenprint manual page, and unversioned + symlinks for the binary and manpage. + * Create a dummy cupsys-driver-gimpprint package to enable + upgrades from stable. + * Create a dummy ijsgimpprint package to enable upgrades from stable. + * Remove symlinks in debian directory. + * Don't autogenerate files in debian directory for anything but the + libgutenprintui package. + + -- Roger Leigh Sat, 2 Jul 2005 10:12:46 +0100 + +gimp-print (4.2.7-10) unstable; urgency=high + + * cupsys-driver-gimpprint: Depend on a perl >= 5.8.0, otherwise + upgrades from woody may fail due to /usr/bin/cups-genppdupdate + using features only available in perl 5.8 (Closes: #307286). + * Build-Depend on libreadline5-dev, rather than the old + libreadline4-dev. + + -- Roger Leigh Mon, 2 May 2005 14:58:39 +0100 + +gimp-print (4.2.7-9) unstable; urgency=low + + * debian/cups-genppdupdate: Fix grepping of PPDs to work with PPD + file names with shell metacharacters in them. Patch from Martin + Pitt (Closes: #302434). + + -- Roger Leigh Thu, 31 Mar 2005 22:10:41 +0100 + +gimp-print (4.2.7-8) unstable; urgency=low + + * cupsys-driver-gimpprint: Depend on cupsys >= 1.1.23 to ensure + that /etc/init.d/cupsys supports the force-reload option. + Some older versions of cupsys did not, and this causes + package configuration to fail when restarting cupsys. + (Closes: #300966) + + -- Roger Leigh Wed, 23 Mar 2005 18:06:35 +0000 + +gimp-print (4.2.7-7) unstable; urgency=low + + * debian/control.in: + - Prefer gs-esp as gs interpreter. Patch from Colin Watson. + - Recommend gnome-gv as default postscript-viewer. Patch + from Sebastien Bacher. + + -- Roger Leigh Tue, 22 Mar 2005 00:20:09 +0000 + +gimp-print (4.2.7-6) unstable; urgency=low + + * Allow A4 printing on HP DesignJet printers. Patch from + Klaus Singvogel. + + -- Roger Leigh Sat, 19 Mar 2005 09:58:18 +0000 + +gimp-print (4.2.7-5) unstable; urgency=low + + * Patch src/cups/Makefile.in so that genppd will use the "C" + locale when generating PPDs, not the locale of the build + system. This will prevent wrongly UTF-8 encoded "ISOLatin1" + PPDs being generated (Closes: #293178). + * ijsgimpprint: Conditionally depend upon gs-afpl instead of + gs-aladdin, which it replaces (Closes: #293384). + + -- Roger Leigh Wed, 2 Feb 2005 21:45:16 +0000 + +gimp-print (4.2.7-4) unstable; urgency=low + + * cupsys-driver-gimpprint: Use "force-reload" rather than + "reload" in postinst and postrm (Closes: #274820). Reported + by Martin Pitt. + * Applied GNU/k*BSD patch from Robert Millan (Closes: #263763). + + -- Roger Leigh Tue, 5 Oct 2004 19:46:08 +0100 + +gimp-print (4.2.7-3) unstable; urgency=low + + * foomatic-db-gimp-print: ensure all files are UTF-8 encoded + by building the package in a UTF-8 locale (en_GB.UTF-8). + Thanks to Chris Lawrence for finding this problem. + + -- Roger Leigh Tue, 21 Sep 2004 21:37:38 +0100 + +gimp-print (4.2.7-2) unstable; urgency=medium + + * Medium urgency to facilitate the libtiff transition. + * cupsys-driver-gimpprint: + - Link explicitly with -lcupsimage, rather than + `cups-config --image --libs`. This prevents unnecessary + libpng, libjpeg and libtiff dependencies. The cups-config + logic in configure is overridden. Thanks to Steve Langasek + for this patch (Closes: #262852). + - Backport some PPD generation logic from current Gimp-Print + CVS, and use the new PPD keywords in cups-genppdupdate. + The PPD PCFileName keyword was made compliant with the PPD + standard with version 4.2.6 (read: crippled to an 8.3 DOS + filename) which broke the upgrade script since the full PPD + name could no longer be encoded. The new Gimp-Print specific + keywords *StpDriverName, *StpPPDLocation and *StpLocale have + been added to the PPDs, and this information is now used to + correctly upgrade PPDs (Closes: #260072). + * debian/rules: Don't enable maintainer-mode when running + configure. + + -- Roger Leigh Tue, 3 Aug 2004 19:23:19 +0100 + +gimp-print (4.2.7-1) unstable; urgency=low + + * New upstream stable release. + * Dropped patches for: + - missing strdup prototype in AM_PATH_GIMPPRINT (#233971). + - fixing garbage output when files generated with psnup are + printed (#175970). + - correct margin definitions for Epson Stylus C63, C64, C83 + and C84. + All of these patches have been incorporated into the new + release. + * Update to Standards-Version 3.6.1. + * cupsys-driver-gimpprint: update Recommends to depend upon the + current gs package names, and put the virtual package + postscript-viewer as the last alternative, rather than the + first. + * cupsys-driver-gimpprint: patched src/cups/Makefile.am to + disable linking rastertoprinter with a static libgimpprint. + + -- Roger Leigh Sat, 17 Jul 2004 17:38:35 +0100 + +gimp-print (4.2.6-7) unstable; urgency=high + + * Reupload with high urgency to shorten libcupsys2-gnutls10 + transition waiting time. + + -- Roger Leigh Fri, 9 Jul 2004 11:56:34 +0100 + +gimp-print (4.2.6-6) unstable; urgency=low + + * cupsys-driver-gimpprint-data depends on cupsys-driver-gimpprint. + + -- Roger Leigh Wed, 7 Jul 2004 13:26:51 +0100 + +gimp-print (4.2.6-5) unstable; urgency=medium + + * NMU. + * Rebuild against libcupsys2-gnutls10. + + -- Kenshi Muto Thu, 27 May 2004 16:39:55 +0000 + +gimp-print (4.2.6-4) unstable; urgency=low + + * Split architecture-independent data in cupsys-driver-gimpprint + into a separate arch-all cupsys-driver-gimpprint-data package + which cupsys-driver-gimpprint depends upon (Closes: #233338). + * Add missing strdup prototype in AM_PATH_GIMPPRINT in + gimpprint.m4. This prevents configure scripts using this macro + from segfaulting on ia64 (Closes: #233971). + * Correct margin definitions for Epson Stylus C63, C64, C83 and + C84. This is a temporary fix until the margins have been + correctly computed. + * Build-Depend upon libijs-dev (>= 0.35-1) to ensure that + ijsgimpprint is built against the current libijs + (Closes: #237561). + + -- Roger Leigh Fri, 12 Mar 2004 20:32:51 +0000 + +gimp-print (4.2.6-3) unstable; urgency=low + + * Rebuild against new Foomatic packages. This should hopefully + fix autobuilding problems with older Foomatic releases (which + wouldn't autoconfigure on the buildd). + + -- Roger Leigh Mon, 1 Mar 2004 13:07:07 +0000 + +gimp-print (4.2.6-2) unstable; urgency=low + + * Fix garbage output when files generated with psnup are printed. + The output quality will be degraded, and warnings will be + logged, since the job options have been broken. This is + because psnup generates non-ADSC compliant PostScript which + makes pstops output incorrect job options. Patch from + Martin Kögler (Closes: #175970). + + -- Roger Leigh Tue, 10 Feb 2004 19:39:17 +0000 + +gimp-print (4.2.6-1) unstable; urgency=low + + * New upstream stable release. + * cupsys-driver-gimpprint: cups-genppdupdate should escape + metacharacters in queue names. quotemeta fix from David + Beaumont (Closes: #223081). + * A locale issue which resulted in buggy PostScript output + with some locales has been fixed (Closes: #221662). + * CUPS PPD files moved from /usr/share/cups/model/gimp-print + to /usr/share/cups/model/gimp-print/4.2. This is the + 5.0 naming scheme, and will allow 4.2 and 5.0 to + coexist. cups-genppdupdate uses the new scheme. + + -- Roger Leigh Tue, 13 Jan 2004 23:42:02 +0000 + +gimp-print (4.2.5-6) unstable; urgency=low + + * Change Recommends on gimpprint-locales to Suggests (Closes: #212302). + * cupsys-driver-gimpprint postrm should not reload cupsys if it + has already been removed (Closes: #217295). + + -- Roger Leigh Sun, 26 Oct 2003 23:10:31 +0000 + +gimp-print (4.2.5-5) unstable; urgency=low + + * Clean up package descriptions in debian/control.in. + * Don't depend on essential package gzip. + + -- Roger Leigh Sun, 7 Sep 2003 23:04:56 +0100 + +gimp-print (4.2.5-4) unstable; urgency=low + + * Fix the use of an unintialised value in cups-genppdupdate + (Closes: #193501). + * cups-genppdupdate no longer prints an error when there are no PPD files + available (use Perl glob() instead of shell globbing). + * Update cups-genppdupdate using the latest upstream CVS version. + * Replace cupsys-driver-gimpprint dependency on libcompress-zlib-perl, with + a gzip dependency (gunzip replaces Compress::Zlib in cups-genppdupdate). + * Update for Foomatic 3.0: + - Update foomatic-db-gimp-print description (sync with foomatic-db). + - Build-Depend on foomatic-db-engine (foomatic-bin is deprecated). + - Update foomatic-db-gimp-print dependencies (correctly depend on the + new foomatic packages and conflict with the old packages). + - Run configure with --with-foomatic3 + * Include escputil fix from 4.2.6 prerelease to fix intermittent hanging + reads from printer (Closes: #156228). + * Audit all manual pages to ensure correct use of hyphens and minus signs, + required for copy and paste in a unicode locale (Closes: #203930). + * gimp1.2-print has been removed now the gimp package provides an up-to-date + version of the Print plugin. + * Updated debian/copyright to include the GFDL-licensed User's Guide. + + -- Roger Leigh Mon, 25 Aug 2003 19:12:24 +0100 + +gimp-print (4.2.5-3) unstable; urgency=low + + * Build-Depend on libcupsimage2-dev (Closes: #189093). + * Remove automake, autoconf, libtool, and bison from + Build-Depends, since they are not strictly required. + * Remove docbook-utils, texi2html and imagemagick from Build-Depends, + since the documentation is pre-generated in the upstream tarball. + * Change my maintainer email address to . + * Move libgimpprint1-dev to section libdevel. + + -- Roger Leigh Wed, 23 Apr 2003 12:57:58 +0100 + +gimp-print (4.2.5-2) unstable; urgency=low + + * cupsys-driver-gimpprint: cups-genppdupdate will not die if grep exits with + a nonzero status (for example, there are no Gimp-Print PPDs in use). + (Closes: #179137) + * cupsys-driver-gimpprint: Depend on libcompress-zlib-perl, since dh_perl + doesn't compute module dependencies. + (Closes: #179120, #179170, #179171, #179203) + + -- Roger Leigh Fri, 31 Jan 2003 23:26:51 +0000 + +gimp-print (4.2.5-1) unstable; urgency=low + + * New stable release + * Update for Standards-Version 3.5.7 + * Use debian/build and debian/install instead of debian/gimp-print-build + and debian/gimp-print-install, respectively. + * Use dh_install rather than dh_movefiles. This makes debian/rules + slightly cleaner, and debian/install is unchanged after install. + * Create symlinks for HTML manuals, since different versions + of texi2html and db2html create different names. + * Make the dependencies sane (remove incorrect dependencies, and correct + dubious ones). foomatic-db-gimp-print now depends only upon foomatic-db + and ijsgimpprint. + * escputil has been changed to section "utils", and the override changed + (Closes: #145094). + * Gimp-Print PPDs are automatically upgraded using a new tool, + cups-genppdupdate, which will prevent the in-use PPDs mismatching with + the libgimpprint version in use (Closes: #172116). + * The Epson stc640 will now print in greyscale and black and white at + resolutions >= 720 DPI (Closes: #170473). + * The CUPS epson backend uses non-blocking I/O, and so will not hang with + some models when no status readback data is sent. + + -- Roger Leigh Wed, 29 Jan 2003 11:37:49 +0000 + +gimp-print (4.2.4-1) unstable; urgency=low + + * New stable release. + * foomatic-db-gimp-print: removed "stp" data, to start the transition + to using ijsgimpprint only. + * The escputil manual page documents the needed kernel configuration + options (Closes: #139000). + * The gimpprint-doc package includes the following manual pages: + gimpprint-color.7, gimpprint-dithers.7, gimpprint-imagetypes.7 + gimpprint-inktypes.7, gimpprint-mediasizes.7 + gimpprint-mediasources.7, gimpprint-mediatypes.7 + gimpprint-models.7, gimpprint-resolutions.7 + This documents all the features of gimp-print, in particular all of the + details from src/ghost/README (Closes: #113075). + * Magenta and cyan are no longer swapped on some Lexmark printers + (Closes: #166815). + + -- Roger Leigh Tue, 26 Nov 2002 20:54:30 +0000 + +gimp-print (4.2.3-2) unstable; urgency=low + + * Use libtool 1.4.3 instead of the release version, to correctly support + shared libraries on some architectures. Closes #168901 + * escputil is now in section "utils". Closes #145094 + + -- Roger Leigh Tue, 19 Nov 2002 20:55:01 +0000 + +gimp-print (4.2.3-1) unstable; urgency=low + + * New stable release. + * Fixed doc-base problems in libgimpprint-doc. The doc-base file is + generated with sed to insert the version number, Closes #149847 + * libgimpprint$(VERSION)-doc provides and conflicts with a virtual + package libgimpprint-doc to prevent clashes with gimpprint.info + docs. + * New package ijsgimpprint. This provides an IJS server for use + with ghostscript. + * Remove the autotools, texi2html, imagemagick and docbook-utils from the + Build-Depends. + * Put config.sub and config.guess into scripts/ and clean + libgimpprint-doc.doc-base + * I am the new maintainer of gimp-print for Debian. + + -- Roger Leigh Sun, 20 Oct 2002 22:10:17 +0100 + +gimp-print (4.2.2-pre2-1) unstable; urgency=low + + * New stable release, Closes: #148737 + * Upgrade to debhelper version 4 (RL) + * Automate library versioning to work for stable and unstable series. + LIBRARY_VERSION is the library major version or -UPSTREAM_VERSION (RL) + * Update configure regeneration to work with configure.ac (RL) + * libgimpprint$(VERSION)-dev provides and conflicts with a virtual + package `libgimpprint-dev' (RL) + * Remove libgimpprint.postinst as ldconfig is called by debhelper (RL) + * Update package descriptions (RL) + + -- Eric Sharkey Thu, 6 Jun 2002 15:35:28 -0400 + +gimp-print (4.2.2-pre1-1) unstable; urgency=low + + * New upstream release, Closes: #147404, #139218 + * Move escputil to section utils (RL) + * Add postscript-viewer virtual package as an alternative to gs Recommends + for cupsys-driver-gimpprint (RL) + * Reinitialise cupsys after installation or removal of + cupsys-driver-gimpprint (RL) + * Correctly version libgimpprint1 shlibs with -V dh_makeshlibs option + * Fix libgimpprint.postinst to use 'if' instead of 'case', removing a + lintian warning. (RL) + * Split out the message catalogues from the libgimpprint package into + a new gimpprint-locales package to avoid filename conflicts when + multiple libgimpprint versions are installed concurrently. (RL) + * Add libgimpprint-doc.doc-base (existed for six months, but was never + added to CVS!) (RL) + * New package foomatic-db-gimpprint. Contains foomatic data (RL) + + -- Eric Sharkey Sat, 25 May 2002 14:20:17 -0400 + +gimp-print (4.2.0-4) unstable; urgency=low + + * Apply Roger's user's guide Makefile.am patch, Closes: #128421 + * Work around bug #130756 by building docs with EPS1 figures. + + -- Eric Sharkey Sat, 16 Feb 2002 22:46:29 -0500 + +gimp-print (4.2.0-3) unstable; urgency=low + + * Fix locales package description, Closes: #123796 + * Change conflicts to replaces, Closes: #123811 + + -- Eric Sharkey Mon, 31 Dec 2001 12:02:42 -0500 + +gimp-print (4.2.0-2) unstable; urgency=low + + * Fix build dependencies, Closes: #121597 + * Fix broken gimpprint-doc.doc-base pointing to old index filename + * Fix libgimpprint.postinst to use 'if' instead of 'case', removing a + lintian warning. (Roger Leigh) + * Split out the message catalogues from the libgimpprint package into + a new gimpprint-locales package to avoid filename conflicts when + multiple libgimpprint versions are installed concurrently. (RL) + * Add libgimpprint-doc.doc-base (existed for six months, but was never + added to CVS!) (RL) + + -- Eric Sharkey Sun, 9 Dec 2001 09:47:05 -0500 + +gimp-print (4.2.0-1) unstable; urgency=low + + * New upstream release + * cupsys-driver-gimpprint only includes the basic `C' POSIX locale + ppd files due to the size of the ppd files (Roger Leigh) + * New package gimpprint-doc contains the new user guide. (RL) + * Enable i18n (RL) + * Add Build-Depends for gettext (>= 0.10.36-1), because + 'make install' fails with earlier versions due to absent + DESTDIR support. (RL) + * libgimpprint-doc uses ps instead of dvi manual, due to inclusion + of graphics (RL) + * gimp1.2-print no longer registers documentation with doc-base, as + the manual is provided in libgimpprint-doc (RL) + * Disable building of translated PPD files (RL) + + -- Eric Sharkey Sun, 25 Nov 2001 22:20:33 -0500 + +gimp-print (4.1.99-b1-1) unstable; urgency=low + + * New upstream release, Closes: #110066 + * Remove README.dither from libgimpprint-dev.docs (Roger Leigh) + * Add image samples to gimp1.2-print and cupsys-driver-gimpprint (RL) + * Change rules and control to use ABI library versioning (RL) + * Changed library version names to reflect upstream library + versioning change to ABI versioning. (RL) + + -- Eric Sharkey Mon, 23 Jul 2001 10:49:04 -0400 + +gimp-print (4.1.99-a2-1) unstable; urgency=low + + * New upstream release + + -- Eric Sharkey Mon, 23 Jul 2001 10:49:04 -0400 + +gimp-print (4.1.99-a1-1) unstable; urgency=low + + * New upstream release (first 4.2 pre-release) + + -- Eric Sharkey Tue, 10 Jul 2001 16:19:03 -0400 + +gimp-print (4.1.10-1) unstable; urgency=low + + * New upstream release (4.1.8 and 4.1.9 were buggy) + + -- Eric Sharkey Fri, 29 Jun 2001 23:08:27 -0400 + +gimp-print (4.1.7-1) unstable; urgency=low + + * New package libgimpprint-doc for Info and dvi docs. (Roger Leigh) + * Change debian/rules to use separate binary-arch and binary-indep + targets (Roger Leigh) + * New upstream release + + -- Eric Sharkey Wed, 9 May 2001 12:19:43 -0400 + +gimp-print (4.1.6-2) unstable; urgency=low + + * Fix build dependencies to include flex, Closes: #96401 + + -- Eric Sharkey Tue, 8 May 2001 20:09:30 -0400 + +gimp-print (4.1.6-1) unstable; urgency=low + + * New upstream release + + -- Eric Sharkey Mon, 30 Apr 2001 13:45:56 -0400 + +gimp-print (4.1.5-2.01) unstable; urgency=low + + * Recompile 4.1.5-2 with updated debhelper to fix dependencies + * Closes #90741 + + -- Eric Sharkey Fri, 6 Apr 2001 21:11:15 -0400 + +gimp-print (4.1.5-2) unstable; urgency=low + + * Clean up build process so that things work even if some scripts + don't have execute permissions, complicate things a bit by using + funky building script, Closes #89283, I hope... + + -- Eric Sharkey Thu, 15 Mar 2001 21:54:52 -0500 + +gimp-print (4.1.5-1) unstable; urgency=low + + * New upstream release + * First Official version uploaded to Debian + * Close ITP bug for wnpp, Closes #85563 + + -- Eric Sharkey Fri, 2 Mar 2001 19:59:11 -0500 + +gimp-print (4.1.4-2) unstable; urgency=low + + * Repackage gimp-print after forking the Debian branch from 4.1.4 + * Add version numbers to the libgimpprint package name + * Move documentation files from libgimpprint to libgimpprint-dev + + -- Eric Sharkey Tue, 27 Feb 2001 11:22:18 -0500 + +gimp-print (4.1.4-1) unstable; urgency=low + + * New upstream release + * Debian package rewritten from scratch. + * Added diversion of the print plugin that is part of the GIMP + package to /usr/lib/gimp/1.2/print + * Fixed shared library dependencies for programs linked with + libgimpprint + * Added /etc/cups/command.types as a conffile for package cupsys- + driver-gimpprint + * Added gimp1.2-print html and sgml docs to doc-base + * Remove /etc/cups in postrm for cupsys-driver-gimprint (but + won't if not empty) + * Added versioned debhelper Build-Depends + + -- Roger Leigh Fri, 16 Feb 2001 00:16:10 +0000 + +gimp-print (4.0.2-1) unstable; urgency=low + + * Debian packages of the latest GP + + -- Eric Sharkey Sun, 12 Nov 2000 04:46:54 +0900 + +gimp-print (3.1.4-1) unstable; urgency=low + + * Debianised gimp-print built from gimp-print CVS at sourceforge. + + -- Charles Briscoe-Smith Wed, 24 May 2000 00:39:54 +0100 + + --- gutenprint-5.2.3.orig/debian/compat +++ gutenprint-5.2.3/debian/compat @@ -0,0 +1 @@ +7 --- gutenprint-5.2.3.orig/debian/ijsgutenprint.install +++ gutenprint-5.2.3/debian/ijsgutenprint.install @@ -0,0 +1,2 @@ +debian/install/usr/bin/ijsgutenprint.5.2 usr/bin +debian/install/usr/share/man/man1/ijsgutenprint.1 usr/share/man/man1 --- gutenprint-5.2.3.orig/debian/escputil.install +++ gutenprint-5.2.3/debian/escputil.install @@ -0,0 +1,2 @@ +debian/install/usr/bin/escputil usr/bin +debian/install/usr/share/man/man1/escputil.1 usr/share/man/man1 --- gutenprint-5.2.3.orig/debian/README.building +++ gutenprint-5.2.3/debian/README.building @@ -0,0 +1,17 @@ +Building the gutenprint Debian packages -*- mode: text -*- +======================================= + +Making changes +-------------- + +If any source changes are required, please use dpatch, and place +the patch under debian/patches. Once you have created a diff, +create a dpatch as follows: + +dpatch patch-template -p '0n_patch_name' "Patch description" \ +< mypatch.diff > debian/patches/0n_patch_name.dpatch + +and add "0n_patch_name.dpatch" to debian/patches/00list + + + -- Roger Leigh , Wed, 29 Oct 2008 23:41:09 +0000 --- gutenprint-5.2.3.orig/debian/cups-driver-gutenprint.postinst +++ gutenprint-5.2.3/debian/cups-driver-gutenprint.postinst @@ -0,0 +1,76 @@ +#! /bin/sh +# postinst script for cups-driver-gutenprint +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +#s/^if\s+\[\s+"\$1"\s+=\s+"configure"\s+\];\s+then\s+ldconfig\b//m; + +if [ "$1" = "configure" ]; then + + # Upgrade in-use PPD files + cups-genppdupdate + # Restart CUPS (to register new and updated PPDs) + [ -x /etc/init.d/cups ] && invoke-rc.d cups force-reload || true + + # Upgrade from obsolete epson and canon backends + + # Note that the current CUPS usb backend, unlike the epson and canon + # backends, does not allow direct use of device names, so these devices will + # require manual modification of the device URI; we can't get the correct + # IEEE-1284 device ID for a given device node without digging into the CUPS + # internals. + LC_ALL=C lpstat -v | + while read devinfo; do + printer=$(echo $devinfo | sed -e 's;device for \(..*\): \(..*\):/\(.*\);\1;') + backend=$(echo $devinfo | sed -e 's;device for \(..*\): \(..*\):/\(.*\);\2;') + device=$(echo $devinfo | sed -e 's;device for \(..*\): \(..*\):/\(.*\);/\3;') + + if [ "$backend" = "epson" ] || [ "$backend" = "canon" ]; then + echo "Backend $backend used by printer $printer is obsolete." + newbackend='parallel' + if ! echo "$device" | grep -q '^/dev'; then + newbackend='socket' + elif echo "$device" | grep -q 'usb'; then + newbackend='usb' + fi + echo "Updating $printer to use $newbackend backend: $newbackend:$device" + lpadmin -p "$printer" -v "$newbackend:$device" + lpstat -v "$printer" + else + echo "Backend $backend used by printer $printer is current." + fi + done + +elif [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remove" ] || [ "$1" = "abort-deconfigure" ]; then + : +else + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 +fi + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + --- gutenprint-5.2.3.orig/debian/libgutenprint2.install +++ gutenprint-5.2.3/debian/libgutenprint2.install @@ -0,0 +1,3 @@ +debian/install/usr/lib/libgutenprint.so.* usr/lib +debian/install/usr/lib/gutenprint usr/lib +debian/install/usr/share/gutenprint/5.2 usr/share/gutenprint --- gutenprint-5.2.3.orig/debian/gutenprint-doc.install +++ gutenprint-5.2.3/debian/gutenprint-doc.install @@ -0,0 +1,2 @@ +debian/install/usr/share/gutenprint/doc/gutenprint-users-manual.pdf usr/share/doc/gutenprint-doc +debian/install/usr/share/gutenprint/doc/gutenprint-users-manual.odt usr/share/doc/gutenprint-doc --- gutenprint-5.2.3.orig/debian/libgutenprint-dev.install +++ gutenprint-5.2.3/debian/libgutenprint-dev.install @@ -0,0 +1,3 @@ +debian/install/usr/lib/libgutenprint.so usr/lib +debian/install/usr/lib/pkgconfig/gutenprint.pc usr/lib/pkgconfig +debian/install/usr/include/gutenprint usr/include --- gutenprint-5.2.3.orig/debian/control +++ gutenprint-5.2.3/debian/control @@ -0,0 +1,241 @@ +Source: gutenprint +Section: graphics +Priority: optional +Maintainer: Debian Printing Group +Uploaders: Roger Leigh , W. van den Akker +Standards-Version: 3.8.0 +Build-Depends: libcups2-dev, libcupsimage2-dev, libgimp2.0-dev, libreadline5-dev, libijs-dev, debhelper (>= 7.0.0), zlib1g-dev, flex, gettext, foomatic-db-engine, chrpath, quilt +Vcs-Browser: http://git.debian.org/?p=collab-maint/gutenprint.git +Vcs-Git: git://git.debian.org/git/collab-maint/gutenprint + +Package: gimp-gutenprint +Architecture: any +Depends: ${shlibs:Depends}, gimp (>= 2.4.0~rc1-1) +Suggests: gutenprint-doc (>= ${source:Version}), gutenprint-locales (>= ${source:Version}) +Enhances: gimp +Description: print plugin for the GIMP + This package includes the Gutenprint Print plugin for the GIMP. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: cups-driver-gutenprint +Architecture: any +Section: graphics +Depends: ${shlibs:Depends}, perl (>= 5.8.0), cups (>= 1.3.0), cups-client (>= 1.3.0) +Suggests: gutenprint-doc (>= ${source:Version}), gutenprint-locales (>= ${source:Version}) +Conflicts: cupsys-driver-gutenprint +Replaces: cupsys-driver-gutenprint +Description: printer drivers for CUPS + This package includes a CUPS driver based on Gutenprint. + . + The CUPS drivers contain all of the files needed to support + photo-quality printing on any printer supported by Gutenprint. You + can find out more about the Common UNIX Printing System ("CUPS"), an + IPP-based printing system for UNIX/Linux, at: + . + http://www.cups.org + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: libgutenprint-dev +Architecture: any +Section: libdevel +Depends: libgutenprint2 (= ${binary:Version}), pkg-config +Suggests: libgutenprint-doc (= ${source:Version}) +Description: development files for the Gutenprint printer driver library + This package contains the header files for the Gutenprint library, + along with a static version of libgutenprint. + . + Install this package if you wish to develop programs that use + libgutenprint. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: libgutenprint-doc +Architecture: all +Section: doc +Suggests: libgutenprint-dev (= ${source:Version}) +Description: documentation for the Gutenprint printer driver library + This package contains lots of info-files, DVI docs and other + documentation about the Gutenprint library for photo-quality + printing. + . + Install this package if you want to have lots of info about the + Gutenprint library when you're programming. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: libgutenprint2 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Suggests: gutenprint-locales (>= ${source:Version}) +Description: runtime for the Gutenprint printer driver library + This package includes the Gutenprint shared library, needed to + run programs using Gutenprint drivers. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: libgutenprintui2-dev +Architecture: any +Section: libdevel +Depends: libgutenprintui2-1 (= ${binary:Version}), pkg-config +Suggests: libgutenprint-doc (= ${source:Version}) +Description: development files for the Gutenprint printer driver user interface library + This package contains the header files for the libgutenprintui + library, along with a static version of libgutenprintui. + libgutenprintui contains GTK+ widgets which may be used for print + dialogs etc. for use with libgutenprint. + . + Install this package if you wish to develop packages that use + libgutenprintui. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: libgutenprintui2-1 +Architecture: any +Section: libs +Depends: ${shlibs:Depends} +Recommends: gutenprint-locales (>= ${source:Version}) +Description: runtime for the Gutenprint printer driver user interface library + This package includes the libgutenprintui library, necessary to run + gimp-gutenprint. libgutenprintui contains GTK+ widgets which may be + used for print dialogs etc. for use with libgutenprint. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: gutenprint-locales +Architecture: all +Section: libs +Description: locale data files for Gutenprint + This package contains the i18n files of Gutenprint, used by + libgutenprint2, cups-driver-gutenprint and escputil. It is also + used by the Print plugin for the GIMP, gimp-gutenprint. + . + They are needed when you want the programs in Gutenprint to print + their messages in other languages than US English. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: escputil +Architecture: any +Section: utils +Depends: ${shlibs:Depends} +Suggests: gutenprint-locales (>= ${source:Version}) +Description: maintenance utility for Epson Stylus printers + escputil is a utility to clean and align the heads of Epson Stylus + printers. It can also check the current ink levels in the printer. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: ijsgutenprint +Architecture: any +Section: text +Depends: ${shlibs:Depends}, ghostscript (>= 8.61) +Recommends: foomatic-db-gutenprint +Description: inkjet server - Ghostscript driver for Gutenprint + This package contains the ijsgutenprint binary which provides + Ghostscript with a Gutenprint driver, including all printers + supported by Gutenprint. ijsgutenprint is an IJS server (driver), + which communicates with Ghostscript (an IJS client) using the IJS + (InkJet Server) communications protocol. IJS is a method for + separating ghostscript drivers from ghostscript, to allow + ghostscript to be more extensible. + . + If you wish to print using Ghostscript and the Gutenprint drivers, + install this package. This is typical for LPRng setups. If you + are using CUPS, cups-driver-gutenprint is a better choice, but + this package will still work with the appropriate foomatic setup + if you wish to make use of foomatic. + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: foomatic-db-gutenprint +Architecture: all +Section: text +Depends: foomatic-db, ijsgutenprint (>= ${source:Version}) +Description: OpenPrinting printer support - database for Gutenprint printer drivers + Foomatic is a printing system designed to make it easier to set up + common printers for use with Debian (and other operating systems). + It provides the "glue" between a print spooler (like CUPS or lpr) and + your actual printer, by telling your computer how to process files + sent to the printer. + . + This package includes support for printers using the Gutenprint + printer driver suite. + . + Home Page: http://www.openprinting.org/ + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. + +Package: gutenprint-doc +Architecture: all +Section: doc +Suggests: cups-driver-gutenprint (>= ${source:Version}), foomatic-db-gutenprint (>= ${source:Version}), gimp-gutenprint (>= ${source:Version}), ijsgutenprint (>= ${source:Version}) +Description: users' guide for Gutenprint and CUPS + This package contains a user guide for programs using the + Gutenprint library for photographic quality printing. Currently + this covers using the Print plugin for the GIMP and the Common Unix + Printing System (CUPS). + . + Gutenprint is the print facility for the GIMP, and in addition a + suite of drivers that may be used with common UNIX spooling systems + using GhostScript or CUPS. These drivers provide printing quality + for UNIX/Linux on a par with proprietary vendor-supplied drivers in + many cases, and can be used for many of the most demanding printing + tasks. Gutenprint was formerly known as Gimp-Print. --- gutenprint-5.2.3.orig/debian/libgutenprintui2-dev.install +++ gutenprint-5.2.3/debian/libgutenprintui2-dev.install @@ -0,0 +1,3 @@ +debian/install/usr/lib/libgutenprintui2.so usr/lib +debian/install/usr/lib/pkgconfig/gutenprintui2.pc usr/lib/pkgconfig +debian/install/usr/include/gutenprintui2 usr/include --- gutenprint-5.2.3.orig/debian/escputil.docs +++ gutenprint-5.2.3/debian/escputil.docs @@ -0,0 +1 @@ +README --- gutenprint-5.2.3.orig/debian/.gitignore +++ gutenprint-5.2.3/debian/.gitignore @@ -0,0 +1,19 @@ +build +install +*.log +*.substvars +*.debhelper +cups-driver-gutenprint +escputil +files +foomatic-db-gutenprint +gimp-gutenprint +gutenprint-doc +gutenprint-locales +ijsgutenprint +libgutenprint-dev +libgutenprint-doc +libgutenprint2 +libgutenprintui2-1 +libgutenprintui2-dev +patches --- gutenprint-5.2.3.orig/debian/gutenprint-doc.doc-base +++ gutenprint-5.2.3/debian/gutenprint-doc.doc-base @@ -0,0 +1,11 @@ +Document: gutenprint-doc +Title: Gutenprint 5.2 User's Manual +Author: Robert Krawitz +Abstract: Gutenprint is a set of printer drivers written to take + advantage of the full capabilities of a wide range of printers. This + document explaina how to configure and use the Gutenprint software to + achieve high quality printouts. +Section: Graphics + +Format: PDF +Files: /usr/share/doc/gutenprint-doc/gutenprint-users-manual.pdf --- gutenprint-5.2.3.orig/debian/cups-driver-gutenprint.preinst +++ gutenprint-5.2.3/debian/cups-driver-gutenprint.preinst @@ -0,0 +1,38 @@ +#! /bin/sh +# preinst script for cups-driver-gutenprint +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' + +case "$1" in +install|upgrade) + # Remove generated PPDs + # (note: user-generated now we no longer generate them automatically) + # This is to ensure stale PPDs from previous versions are removed. + # When Gutenprint no longer allows the user to generate PPDs, make + # this into a versioned check. + rm -rf /usr/share/cups/model/gutenprint/5.2 + rmdir /usr/share/cups/model/gutenprint 2>/dev/null || true + rm -rf /usr/share/ppd/gutenprint/5.2 + rmdir /usr/share/ppd/gutenprint 2>/dev/null || true + + # Remove /etc/command.types (moved to + # /usr/share/cups/mime/command.types). + if dpkg --compare-versions "$2" le "5.0.2-2"; then + rm -f /etc/cups/command.types + fi +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- gutenprint-5.2.3.orig/debian/libgutenprint-doc.doc-base.reference +++ gutenprint-5.2.3/debian/libgutenprint-doc.doc-base.reference @@ -0,0 +1,14 @@ +Document: libgutenprint-doc-reference +Title: The libgutenprint API Reference Manual +Author: The Gutenprint Project +Abstract: The gutenprint library routines give programmers an interface to + print high quality bitmap images on most modern printers. It includes drivers + which provide printing quality for UNIX/Linux on a par with proprietary + vendor-supplied drivers in many cases, and can be used for many of the most + demanding printing tasks. This manual is a reference to the libgutenprint + library. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libgutenprint-doc/reference/html/index.html +Files: /usr/share/doc/libgutenprint-doc/reference/html/*.html --- gutenprint-5.2.3.orig/debian/libgutenprint-doc.doc-base.developer +++ gutenprint-5.2.3/debian/libgutenprint-doc.doc-base.developer @@ -0,0 +1,15 @@ +Document: libgutenprint-doc-developer +Title: The libgutenprint Reference Manual +Author: The Gutenprint Project +Abstract: The gutenprint library routines give programmers an interface to + print high quality bitmap images on most modern printers. It includes drivers + which provide printing quality for UNIX/Linux on a par with proprietary + vendor-supplied drivers in many cases, and can be used for many of the most + demanding printing tasks. This manual covers developing programs that use + libgutenprint for printing, as well as the concepts and internals of the + library. +Section: Programming/C + +Format: HTML +Index: /usr/share/doc/libgutenprint-doc/developer/html/book1.html +Files: /usr/share/doc/libgutenprint-doc/developer/html/*.html --- gutenprint-5.2.3.orig/debian/rules +++ gutenprint-5.2.3/debian/rules @@ -0,0 +1,151 @@ +#!/usr/bin/make -f +# rules to package gutenprint +# +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +# Use dpatch. +include /usr/share/quilt/quilt.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +update-patch-series: + mkdir -p $(CURDIR)/debian/patches + rm -f $(CURDIR)/debian/patches/*.patch + git format-patch -o $(CURDIR)/debian/patches patches ^upstream | \ + xargs -n 1 -r basename > $(CURDIR)/debian/patches/series + for patch in $$(ls $(CURDIR)/debian/patches/*.patch); do \ + lines=$$(cat $$patch | wc -l); \ + head -n $$(($$lines - 3)) $$patch > $${patch}.chomped; \ + mv $${patch}.chomped $$patch; \ + done + +autoconfigure: debian/autoconfigure-stamp +debian/autoconfigure-stamp: debian/control + [ -r scripts/config.sub.orig ] || \ + cp -f scripts/config.sub scripts/config.sub.orig + [ -r scripts/config.guess.orig ] || \ + cp -f scripts/config.guess scripts/config.guess.orig + + [ ! -r /usr/share/misc/config.sub ] || \ + cp -f /usr/share/misc/config.sub scripts/config.sub + [ ! -r /usr/share/misc/config.guess ] || \ + cp -f /usr/share/misc/config.guess scripts/config.guess + + dh_testdir + mkdir debian/build; \ + cd debian/build; \ + ../../configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man \ + --disable-static --enable-shared --disable-rpath --disable-static-genppd \ + --with-modules=dlopen \ + --enable-libgutenprintui2 --with-gimp2 \ + --with-cups --enable-cups-level3-ppds --enable-globalized-cups-ppds \ + --with-ijs --with-foomatic --with-foomatic3 \ + --disable-test + + touch $@ + + +build: debian/build-stamp +debian/build-stamp: patch debian/autoconfigure-stamp + dh_testdir + + cd debian/build; \ + $(MAKE) + + touch $@ + +clean: realclean unpatch +realclean: debian/control + dh_testdir + + rm -rf debian/install-stamp debian/install + rm -rf debian/build-stamp debian/build + rm -rf debian/autoconfigure-stamp + + [ ! -r scripts/config.guess.orig ] || \ + mv -f scripts/config.guess.orig scripts/config.guess || : + [ ! -r scripts/config.sub.orig ] || \ + mv -f scripts/config.sub.orig scripts/config.sub || : + + dh_clean + +install: install-indep install-arch + +install-indep: + $(MAKE) -f debian/rules DH_OPTIONS=-i install-common + +install-arch: + $(MAKE) -f debian/rules DH_OPTIONS=-s install-common + +install-common: debian/install-stamp + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_install + +debian/install-stamp: build debian/control + cd debian/build; \ + $(MAKE) DESTDIR=$(CURDIR)/debian/install install + + touch $@ + +# Build architecture-independent files here. +binary-indep: install-indep + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installexamples -i + dh_installchangelogs -i NEWS + dh_link -i + dh_compress -i -X.pdf -X.odt + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: install-arch + dh_testdir -s + dh_testroot -s + dh_installdocs -s + cp src/cups/README debian/cups-driver-gutenprint/usr/share/doc/cups-driver-gutenprint/README.cups + mv debian/ijsgutenprint/usr/share/man/man1/ijsgutenprint.1 debian/ijsgutenprint/usr/share/man/man1/ijsgutenprint.5.2.1 + ln -s ijsgutenprint.5.2.1.gz debian/ijsgutenprint/usr/share/man/man1/ijsgutenprint.1.gz + ln -s ijsgutenprint.5.2 debian/ijsgutenprint/usr/bin/ijsgutenprint + dh_installexamples -s + dh_installchangelogs -s NEWS + dh_strip -s + dh_link -s + dh_compress -s -X.pdf -X.odt + dh_fixperms -s +# Strip DT_RPATH from CUPS binaries. + find debian/cups-driver-gutenprint/usr/lib -type f -perm +0111 -print0 | xargs -0 chrpath --delete + dh_makeshlibs -s -V -X usr/lib/gutenprint + dh_installdeb -s + dh_shlibdeps -s -X usr/lib/gutenprint -l$(CURDIR)/debian/libgutenprint2/usr/lib:$(CURDIR)/debian/libgutenprintui2-1/usr/lib + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install install-arch install-indep install-common autoconfigure patch unpatch update-patch-series