summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2014-03-06 16:31:11 +0100
committerDidier Raboud <odyx@debian.org>2014-03-06 16:31:11 +0100
commitdba678bc50c2fba2c6bb2fc53467d94f33a15fba (patch)
tree1855e480d2e2929108049bfdc4b3576375119726
Import pxljr_1.4+repack0-4.debian.tar.xz
[dgit import tarball pxljr 1.4+repack0-4 pxljr_1.4+repack0-4.debian.tar.xz]
-rw-r--r--README.Debian12
-rw-r--r--changelog188
-rw-r--r--compat1
-rw-r--r--control24
-rw-r--r--copyright129
-rw-r--r--docs3
-rw-r--r--local/apport-hook.py11
-rw-r--r--patches/add_simple_buildsystem.patch44
-rw-r--r--patches/series1
-rw-r--r--printer-driver-pxljr.install3
-rw-r--r--printer-driver-pxljr.ppd-updater2
-rwxr-xr-xrules28
-rw-r--r--source.lintian-overrides2
-rw-r--r--source/format1
-rw-r--r--watch3
15 files changed, 452 insertions, 0 deletions
diff --git a/README.Debian b/README.Debian
new file mode 100644
index 0000000..cc94e44
--- /dev/null
+++ b/README.Debian
@@ -0,0 +1,12 @@
+
+pxljr for Ubuntu Linux
+----------------------
+
+This is the pxljr printer driver for HP's JetReady color laser printers
+(HP Color LaserJet 55xx/36xx).
+
+The PPD file coming with this package is hand-edited and based on the
+Foomatic-generated PPD for the HP Color LaserJet 55xx/36xx used with
+the HPIJS driver.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com>, Sat, 13 Jan 2007 23:47:46 +0000
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..7497c98
--- /dev/null
+++ b/changelog
@@ -0,0 +1,188 @@
+pxljr (1.4+repack0-4) unstable; urgency=medium
+
+ * Move the repository from collab-maint to printing; update the VCS-* fields
+ accordingly
+
+ -- Didier Raboud <odyx@debian.org> Thu, 06 Mar 2014 16:31:11 +0100
+
+pxljr (1.4+repack0-3) unstable; urgency=low
+
+ * Add cups-filters >= 1.0.42 as first alternative dependency to
+ foomatic-filters
+ * Specify automake versioned (>= 1.11) build dependency
+ * Drop pxljr transitional package which reached stable
+ * Bump Standards-Version to 3.9.5 without changes needed
+
+ -- Didier Raboud <odyx@debian.org> Fri, 06 Dec 2013 22:55:38 +0100
+
+pxljr (1.4+repack0-2) unstable; urgency=low
+
+ [ Pascal De Vuyst ]
+ * Fix typo in package long description (Closes: #712375)
+
+ [ Didier Raboud ]
+ * Rebuild against pyppd >= 1.0.1
+
+ -- Didier Raboud <odyx@debian.org> Thu, 12 Sep 2013 22:15:09 +0200
+
+pxljr (1.4+repack0-1) unstable; urgency=low
+
+ * New 1.4 upstream release
+ - The libjpeg convenience copy has been dropped.
+
+ [ Didier Raboud ]
+ * Repack the original 1.4 tarball to remove the libijs convenience
+ copy.
+ * Bump Standards-Version to 3.9.4 without changes needed
+ * Bump debhelper depends to 9 to align with compat
+
+ [ Pascal De Vuyst ]
+ * Fix typo in package description (Closes: #703758)
+
+ -- Didier Raboud <odyx@debian.org> Fri, 14 Jun 2013 17:41:03 +0200
+
+pxljr (1.3+repack0-2) unstable; urgency=low
+
+ * Refactoring, action 1:
+ - rename pxljr to printer-driver-pxljr, add transitional package.
+
+ * Bump debhelper compat to 9 for auto- buildflags.
+ * Slightly rewrite descriptions.
+ * Fix typo in debian/copyright.
+
+ -- Didier Raboud <odyx@debian.org> Mon, 24 Oct 2011 22:12:47 +0200
+
+pxljr (1.3+repack0-1) unstable; urgency=low
+
+ * Initial Debian release (Closes: #639898).
+
+ * Start from the Ubuntu packaging, thanks!
+
+ * Repack the original 1.3+wjpeg tarball to:
+ - Remove the libjpeg convenience copy.
+ - Remove the libijs convenience copy.
+ * Add lib{ijs,jpeg}-dev Build-Depends
+ * Create add_simple_buildsystem.patch to compile ijs_pxljr with libijs and
+ libjpeg system libraries.
+ * Put under the Debian Printing Team umbrella, add myself as Uploader.
+ * Convert to tiny dh style.
+ * Use dh_pyppd trough the --with stanza.
+ * Add VCS-* fields.
+ * Use a proper Homepage: field.
+ * Convert to 3.0 (quilt) source format.
+ * Rewrite debian/copyright:
+ - DEP-5-style.
+ - Mention the repacking in the header section.
+ - List LibJPEG-covered files.
+ * Install the apport hook conditionally.
+ * Lower-case short description.
+ * Add debian/watch.
+ * Bump Standards-Version to 3.9.2 witout changes needed.
+
+ -- Didier Raboud <odyx@debian.org> Wed, 31 Aug 2011 16:14:39 +0200
+
+pxljr (1.3-0ubuntu2) oneiric; urgency=low
+
+ * debian/control, debian/rules, debian/pxljr.postinst,
+ debian/pxljr-ppd-updater: Replace the PPD-updater postinst by CUPS' trigger,
+ replacing the postinst script bya ppd-updater file with the needed
+ parameters and removing the dependency on the CUPS packages.
+ * debian/control, debian/rules: Compress the PPD files using the dh_pyppd
+ debhelper.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Sun, 21 Aug 2011 23:14:58 +0200
+
+pxljr (1.3-0ubuntu1) oneiric; urgency=low
+
+ * New upstream release
+ o Duplex printing works now
+ o Fixed the bug of Some solid colors being printed in white in "Normal"
+ and "Draft" quality modes (LP: #228635)
+ o Included all needed files of libjpeg 6b to be independent of the system's
+ libjpeg for the "Normal" and "Draft" quality modes to work correctly.
+ * debian/patches/blank-color-squares.patch, debian/patches/duplex.patch,
+ debian/local/jpeg-6b/: Removed, incorporated upstream.
+ * debian/rules: Removed build instructions for included libjpeg.
+ * debian/control: Removed unneeded build-dependencies.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Mon, 08 Aug 2011 12:09:58 +0200
+
+pxljr (1.1-0ubuntu9) oneiric; urgency=low
+
+ * debian/rules, debian/control, debian/local/jpeg-6b: Include the full
+ source code (only test images removed to have no binary files in debian/)
+ of the last nonturbo libjpeg 6b and link it statically to make the low and
+ normal quality modes work. This code does not work with newer libjpeg
+ versions as they get linked dynamically. This is a temporary measure until
+ pxljr gets fixed upstream. Thanks to upstream author Hin-Tak Leung for
+ investigating this (LP: #777670).
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Thu, 28 Jul 2011 19:49:23 +0200
+
+pxljr (1.1-0ubuntu8) oneiric; urgency=low
+
+ * debian/rules: Added "-dNOINTERPOLATE" to the Ghostscript command lines in
+ the PPD files to make the page rendering by Ghostscript faster.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Sun, 24 Jul 2011 19:25:23 +0200
+
+pxljr (1.1-0ubuntu7) karmic; urgency=low
+
+ * debian/pxljr.postinst: Fixed "lpstat -r" check for the
+ auto update of PPDs of existing queues. "lpstat -r" exits always with
+ status 0, we must check the actual output. Call lpstat, lpadmin, and
+ cupsctl with "-h /var/run/cups/cups.sock" to avoid querying remote
+ servers set up in /etc/cups/client.conf, and asking for passwords.
+ Thanks to Martin-Éric Racine for tracking this down and the solution!
+ See Debian bug #543468. Use signal names instead of numbers for trap.
+ Quiesces a lintian bashism warning.
+
+ * debian/control: Added dependency on cups and cups-client, to assure
+ that automatic update of the PPDs of existing print queues.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Fri, 18 Sep 2009 16:21:23 +0200
+
+pxljr (1.1-0ubuntu6) jaunty; urgency=low
+
+ * debian/pxljr.postinst: Silenced non-fatal error messages when
+ post-install script updates PPDs and there are PPDs not belonging to
+ a CUPS queue in /etc/cups/ppd/ (LP: #345866).
+
+ * debian/local/apport-hook.py, debian/rules: Added apport hook (LP: #338442).
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Thu, 26 Mar 2009 16:37:50 +0100
+
+pxljr (1.1-0ubuntu5) jaunty; urgency=low
+
+ * debian/pxljr.postinst: Added automatic updating of the PPD files of the
+ already existing CUPS queues which use this driver.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 18 Feb 2009 10:57:50 +0100
+
+pxljr (1.1-0ubuntu4) jaunty; urgency=low
+
+ * debian/patches/blank-color-squares.patch: Some solid colors got printed in
+ white in "Normal" and "Draft" quality modes (Easily visible on Ubuntu test
+ page, LP: #228635).
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Tue, 11 Nov 2008 19:31:50 +0100
+
+pxljr (1.1-0ubuntu3) intrepid; urgency=low
+
+ * debian/rules, debian/control: Add necessary stuff to support patches.
+ * debian/patches/duplex.patch: Make double-sided printing working.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Tue, 23 Sep 2008 22:37:50 +0200
+
+pxljr (1.1-0ubuntu2) intrepid; urgency=low
+
+ * debian/rules: Add "*cupsFilter" line to accept PDF input data to the PPDs
+ * debian/control: Require foomatic-filters 4.x.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Wed, 13 Aug 2008 16:20:50 +0200
+
+pxljr (1.1-0ubuntu1) feisty; urgency=low
+
+ * Initial Release.
+
+ -- Till Kamppeter <till.kamppeter@gmail.com> Sat, 13 Jan 2007 23:00:00 +0000
diff --git a/compat b/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644
index 0000000..1bddd8f
--- /dev/null
+++ b/control
@@ -0,0 +1,24 @@
+Source: pxljr
+Section: text
+Priority: optional
+Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
+Uploaders: Didier Raboud <odyx@debian.org>, Till Kamppeter <till.kamppeter@gmail.com>
+Vcs-Git: https://alioth.debian.org/anonscm/git/printing/pxljr.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=printing/pxljr.git
+Build-Depends: debhelper (>= 9), groff, dh-autoreconf, automake (>= 1:1.11), libijs-dev, libjpeg-dev, pyppd (>= 1.0.1)
+Homepage: http://sourceforge.net/projects/hp-pxl-jetready/
+Standards-Version: 3.9.5
+
+Package: printer-driver-pxljr
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ cups-filters (>= 1.0.42) | foomatic-filters (>= 4.0.0~bzr156)
+Replaces: pxljr (<< 1.3+repack0-2~)
+Breaks: pxljr (<< 1.3+repack0-2~)
+Description: printer driver for HP Color LaserJet 35xx/36xx
+ HP's Color LaserJets 35xx and 36xx are supported by HP's HPIJS driver
+ (part of HPLIP), but HPIJS supports only the lowest quality level of
+ the three which are available under Windows. This driver which is not
+ developed at HP but by an independent developer, supports all modes and
+ so provides the highest printout quality for these printers.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..951f828
--- /dev/null
+++ b/copyright
@@ -0,0 +1,129 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name: pxljr
+Source: http://hp-pxl-jetready.sourceforge.net/
+ The original tarball (as imported from Ubuntu) was in fact the
+ pxljr-1.3_wlibjpeg.tar.gz, that embeds libjpeg6b.
+ .
+ This tarball has been repacked to remove the libjpeg6b and the libijs source
+ files that were included. While the code from both libraries is free software
+ and could be shipped in this source tarball, it was found more convenient to
+ make sure the actual files don't appear in the tarball and thus cannot be
+ used in the building process.
+
+Files: *
+Copyright: 2005 Hin-Tak Leung <hintak_leung@yahoo.co.uk>
+License: GPL-2+
+
+Files: i_main.c
+Copyright: 2001-2002 artofcode LLC
+Copyright: 2005 Hin-Tak Leung <hintak_leung@yahoo.co.uk>
+License: GPL-2+
+
+Files: jccolor.c
+Copyright: 1991-1996, Thomas G. Lane.
+Copyright: 2005 Hin-Tak Leung <hintak_leung@yahoo.co.uk>
+License: LibJPEG
+
+Files: jinclude.h jpegint.h
+Copyright: 1991-1997, Thomas G. Lane.
+License: LibJPEG
+
+Files: jdatadbf.c
+Copyright: 2001 Dorian Goldstein, Thomas G. Lane.
+Copyright: 2005 Hin-Tak Leung <hintak_leung@yahoo.co.uk>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2007-2011 Till Kamppeter <till.kamppeter@gmail.com>
+Copyright: 2011 Didier Raboud <odyx@debian.org>
+License: GPL-2+
+
+Files: debian/local/apport-hook.py
+Copyright: 2009 Canonical Ltd.
+Author: Brian Murray <brian@ubuntu.com>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE. See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
+License: LibJPEG
+ The authors make NO WARRANTY or representation, either express or implied,
+ with respect to this software, its quality, accuracy, merchantability, or
+ fitness for a particular purpose. This software is provided "AS IS", and you,
+ its user, assume the entire risk as to its quality and accuracy.
+ .
+ This software is copyright (C) 1991-2010, Thomas G. Lane, Guido Vollbeding.
+ All Rights Reserved except as specified below.
+ .
+ Permission is hereby granted to use, copy, modify, and distribute this
+ software (or portions thereof) for any purpose, without fee, subject to these
+ conditions:
+ (1) If any part of the source code for this software is distributed, then this
+ README file must be included, with this copyright and no-warranty notice
+ unaltered; and any additions, deletions, or changes to the original files
+ must be clearly indicated in accompanying documentation.
+ (2) If only executable code is distributed, then the accompanying
+ documentation must state that "this software is based in part on the work of
+ the Independent JPEG Group".
+ (3) Permission for use of this software is granted only if the user accepts
+ full responsibility for any undesirable consequences; the authors accept
+ NO LIABILITY for damages of any kind.
+ .
+ These conditions apply to any software derived from or based on the IJG code,
+ not just to the unmodified library. If you use our work, you ought to
+ acknowledge us.
+ .
+ Permission is NOT granted for the use of any IJG author's name or company name
+ in advertising or publicity relating to this software or products derived from
+ it. This software may be referred to only as "the Independent JPEG Group's
+ software".
+ .
+ We specifically permit and encourage the use of this software as the basis of
+ commercial products, provided that all warranty or liability claims are
+ assumed by the product vendor.
+ .
+ ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
+ sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
+ ansi2knr.c is NOT covered by the above copyright and conditions, but instead
+ by the usual distribution terms of the Free Software Foundation; principally,
+ that you must include source code if you redistribute it. (See the file
+ ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
+ of any program generated from the IJG code, this does not limit you more than
+ the foregoing paragraphs do.
+ .
+ The Unix configuration script "configure" was produced with GNU Autoconf.
+ It is copyright by the Free Software Foundation but is freely distributable.
+ The same holds for its supporting scripts (config.guess, config.sub,
+ ltmain.sh). Another support script, install-sh, is copyright by X Consortium
+ but is also freely distributable.
+ .
+ The IJG distribution formerly included code to read and write GIF files.
+ To avoid entanglement with the Unisys LZW patent, GIF reading support has
+ been removed altogether, and the GIF writer has been simplified to produce
+ "uncompressed GIFs". This technique does not use the LZW algorithm; the
+ resulting GIF files are larger than usual, but are readable by all standard
+ GIF decoders.
+ .
+ We are required to state that
+ "The Graphics Interchange Format(c) is the Copyright property of
+ CompuServe Incorporated. GIF(sm) is a Service Mark property of
+ CompuServe Incorporated."
diff --git a/docs b/docs
new file mode 100644
index 0000000..bcdceff
--- /dev/null
+++ b/docs
@@ -0,0 +1,3 @@
+FAQ
+FAQ.html
+gs-gamma.ps
diff --git a/local/apport-hook.py b/local/apport-hook.py
new file mode 100644
index 0000000..91e5c00
--- /dev/null
+++ b/local/apport-hook.py
@@ -0,0 +1,11 @@
+'''apport package hook for pxljr
+
+(c) 2009 Canonical Ltd.
+Author: Brian Murray <brian@ubuntu.com>
+'''
+
+from apport.hookutils import *
+
+def add_info(report):
+ attach_hardware(report)
+ attach_printing(report)
diff --git a/patches/add_simple_buildsystem.patch b/patches/add_simple_buildsystem.patch
new file mode 100644
index 0000000..82bd31c
--- /dev/null
+++ b/patches/add_simple_buildsystem.patch
@@ -0,0 +1,44 @@
+Description: Given the Debian-specific repack that throws the libijs and
+ libjpeg embedded copies out, this patch creates a simple buildsystem to
+ compile ijs_pxljr against the system versions of both.
+Author: Didier Raboud <odyx@debian.org>
+Last-Update: 2011-08-30
+
+--- /dev/null
++++ b/Makefile.am
+@@ -0,0 +1,24 @@
++AUTOMAKE_OPTIONS = 1.11 foreign
++
++bin_PROGRAMS = ijs_pxljr
++
++ijs_pxljr_SOURCES = i_job_footer.c \
++ i_job_header.c \
++ i_page_footer.c \
++ i_page_header.c \
++ i_status.c \
++ i_stripe.c \
++ i_write.c \
++ i_main.c \
++ i_init.c \
++ i_exit.c \
++ i_compress.c \
++ pxl_jpeg.c \
++ jdatadbf.c \
++ jccolor.c \
++ mode12gray.c \
++ mode12color.c \
++ pxl_mediasize.c
++
++ijs_pxljr_CPPFLAGS = -I/usr/include/ijs
++ijs_pxljr_LDADD = -lijs -ljpeg
+--- /dev/null
++++ b/configure.ac
+@@ -0,0 +1,8 @@
++AC_INIT([pxljr], [1.3], [pxljr@packages.debian.org], [pxljr], [http://hp-pxl-jetready.sourceforge.net/])
++AC_PREREQ([2.59])
++AM_INIT_AUTOMAKE([1.11 foreign])
++AC_PROG_CC
++
++AC_CONFIG_FILES([Makefile])
++AC_CONFIG_SRCDIR(i_main.c)
++AC_OUTPUT
diff --git a/patches/series b/patches/series
new file mode 100644
index 0000000..b3e2e8b
--- /dev/null
+++ b/patches/series
@@ -0,0 +1 @@
+add_simple_buildsystem.patch
diff --git a/printer-driver-pxljr.install b/printer-driver-pxljr.install
new file mode 100644
index 0000000..8876955
--- /dev/null
+++ b/printer-driver-pxljr.install
@@ -0,0 +1,3 @@
+ijs_pxljr /usr/bin/
+*.ppd /usr/share/ppd/pxljr
+debian/*.ppd-updater /usr/share/cups/ppd-updaters/
diff --git a/printer-driver-pxljr.ppd-updater b/printer-driver-pxljr.ppd-updater
new file mode 100644
index 0000000..4516adb
--- /dev/null
+++ b/printer-driver-pxljr.ppd-updater
@@ -0,0 +1,2 @@
+DRIVER_REGEXP='^pxljr:'
+GENNICKNAME_REGEXP=
diff --git a/rules b/rules
new file mode 100755
index 0000000..79498b1
--- /dev/null
+++ b/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no")
+
+%:
+ dh $@ --with autoreconf --with pyppd
+
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/tmp
+
+override_dh_install:
+ dh_install
+
+ # Generate PPD files for the HP LaserJet 3500 and 3600
+ for n in 3500 3600; do \
+ perl -p -e "s:3550(?!\&quot):$${n}:g" $(CURDIR)/debian/printer-driver-pxljr/usr/share/ppd/pxljr/HP-Color_LaserJet_3550-pxljr.ppd > $(CURDIR)/debian/printer-driver-pxljr/usr/share/ppd/pxljr/HP-Color_LaserJet_$${n}-pxljr.ppd ; \
+ done
+
+ # Allow also PDF as input data format
+ perl -p -i -e 's,^\*cupsFilter:\s*\"application/vnd.cups-postscript\s+0\s+foomatic-rip\",*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"\n*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip",' $(CURDIR)/debian/printer-driver-pxljr/usr/share/ppd/pxljr/*.ppd
+
+ # Make the page rendering by Ghostscript faster
+ perl -p -i -e 's,(\-sDEVICE=ijs),-dNOINTERPOLATE \1,' $(CURDIR)/debian/printer-driver-pxljr/usr/share/ppd/pxljr/*.ppd
+
+ifeq ($(derives_from_ubuntu),yes)
+ # Install Apport hook on Ubuntu and derivatives
+ install -D -m 644 debian/local/apport-hook.py $(CURDIR)/debian/printer-driver-pxljr/usr/share/apport/package-hooks/source_pxljr.py
+endif
diff --git a/source.lintian-overrides b/source.lintian-overrides
new file mode 100644
index 0000000..27e97b8
--- /dev/null
+++ b/source.lintian-overrides
@@ -0,0 +1,2 @@
+# This is needed for "auto-buildflags"
+package-needs-versioned-debhelper-build-depends 9
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644
index 0000000..816514b
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+repack\d+$// \
+http://sf.net/hp-pxl-jetready/pxljr-([\d?\.]+)\.tar\.gz