debian/0000755000000000000000000000000012250462004007161 5ustar debian/watch0000644000000000000000000000015111627442071010220 0ustar version=3 opts=dversionmangle=s/\+repack\d+$// \ http://sf.net/hp-pxl-jetready/pxljr-([\d?\.]+)\.tar\.gz debian/compat0000644000000000000000000000000212123604437010366 0ustar 9 debian/source.lintian-overrides0000644000000000000000000000013112123604437014043 0ustar # This is needed for "auto-buildflags" package-needs-versioned-debhelper-build-depends 9 debian/copyright0000644000000000000000000001311112123604437011120 0ustar 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 License: GPL-2+ Files: i_main.c Copyright: 2001-2002 artofcode LLC Copyright: 2005 Hin-Tak Leung License: GPL-2+ Files: jccolor.c Copyright: 1991-1996, Thomas G. Lane. Copyright: 2005 Hin-Tak Leung 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 License: GPL-2+ Files: debian/* Copyright: 2007-2011 Till Kamppeter Copyright: 2011 Didier Raboud License: GPL-2+ Files: debian/local/apport-hook.py Copyright: 2009 Canonical Ltd. Author: Brian Murray 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." debian/docs0000644000000000000000000000003111627442071010037 0ustar FAQ FAQ.html gs-gamma.ps debian/README.Debian0000644000000000000000000000060511627442071011234 0ustar 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 , Sat, 13 Jan 2007 23:47:46 +0000 debian/printer-driver-pxljr.install0000644000000000000000000000014312123604437014667 0ustar ijs_pxljr /usr/bin/ *.ppd /usr/share/ppd/pxljr debian/*.ppd-updater /usr/share/cups/ppd-updaters/ debian/printer-driver-pxljr.ppd-updater0000644000000000000000000000005412123604437015447 0ustar DRIVER_REGEXP='^pxljr:' GENNICKNAME_REGEXP= debian/control0000644000000000000000000000222012250443526010570 0ustar Source: pxljr Section: text Priority: optional Maintainer: Debian Printing Team Uploaders: Didier Raboud , Till Kamppeter Vcs-Git: git://anonscm.debian.org/collab-maint/pxljr.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/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. debian/source/0000755000000000000000000000000011627442071010472 5ustar debian/source/format0000644000000000000000000000001411627442071011700 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011627442071010621 5ustar debian/patches/series0000644000000000000000000000003511627442071012034 0ustar add_simple_buildsystem.patch debian/patches/add_simple_buildsystem.patch0000644000000000000000000000201711627442071016367 0ustar 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 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 debian/rules0000755000000000000000000000240512123604437010251 0ustar #!/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(?!\"):$${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 debian/local/0000755000000000000000000000000011627442071010264 5ustar debian/local/apport-hook.py0000644000000000000000000000032511627442071013101 0ustar '''apport package hook for pxljr (c) 2009 Canonical Ltd. Author: Brian Murray ''' from apport.hookutils import * def add_info(report): attach_hardware(report) attach_printing(report) debian/changelog0000644000000000000000000001552112250444104011040 0ustar 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Wed, 13 Aug 2008 16:20:50 +0200 pxljr (1.1-0ubuntu1) feisty; urgency=low * Initial Release. -- Till Kamppeter Sat, 13 Jan 2007 23:00:00 +0000