--- hplip-3.10.9.orig/debian/hplip.postinst +++ hplip-3.10.9/debian/hplip.postinst @@ -0,0 +1,119 @@ +#! /bin/sh +# postinst script for hplip +# $Id: hplip.postinst,v 1.1 2005/10/15 21:39:04 hmh Exp $ +# +# 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 http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# 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'. + +case "$1" in + configure) + # add hplip system user (requires adduser >= 3.34) + # don't muck around with this unless you KNOW what you're doing + echo "Creating/updating hplip user account..." + adduser --system --ingroup lp --home /var/run/hplip \ + --gecos "HPLIP system user" --shell /bin/false \ + --quiet --disabled-password hplip || { + # adduser failed. Why? + if getent passwd hplip >/dev/null ; then + echo "Non-system user hplip found. I will not overwrite a non-system" >&2 + echo "user. Remove the user and reinstall hplip." >&2 + exit 1 + fi + # unknown adduser error, simply exit + exit 1 + } + + for i in /var/run/hplip + do + if ! dpkg-statoverride --list $i > /dev/null + then + dpkg-statoverride --update --add hplip root 755 $i + fi + done + + + # Remove shutdown and reboot links; this init script does not need them. + if dpkg --compare-versions "$2" lt "1.7.3-0ubuntu4"; then + update-rc.d -f hplip remove + fi + + # Fix PPD file paths in /etc/hp/hplip.conf to make sure that hp-setup + # finds the fax PPDs + perl -p -i -e 's:^(\s*ppd=).*$:\1/usr/share/ppd/hplip/HP:' /etc/hp/hplip.conf + perl -p -i -e 's:^(\s*ppdbase=).*$:\1/usr/share/ppd/hplip:' /etc/hp/hplip.conf + + # Do the following only if CUPS is running and the needed CUPS tools + # are available + if which lpstat > /dev/null 2>&1 && \ + which lpinfo > /dev/null 2>&1 && \ + which lpadmin > /dev/null 2>&1 && \ + LC_ALL=C lpstat -h /var/run/cups/cups.sock -r | grep -v not > /dev/null 2>&1; then + # Update the PPD files of all already installed print queues + driverregexp='^hplip:' + gennicknameregexp='s/\s*(v\d+\.\d+|(Ver|-\s*RC)\s*[\d\.]+)//' + [ ! -z "$gennicknameregexp" ] && \ + gennicknameregexp="; $gennicknameregexp" + gennicknameregexp='s/\s*\(recommended\)//'"$gennicknameregexp" + tempfiles= + trap 'rm -f $tempfiles; exit 0' 0 HUP INT QUIT ILL ABRT PIPE TERM + tmpfile1=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile1" + lpinfo -h /var/run/cups/cups.sock -m | grep -E $driverregexp > $tmpfile1 + cd /etc/cups/ppd + for ppd in *.ppd; do + [ -r "$ppd" ] || continue + queue=${ppd%.ppd} + lpstat -h /var/run/cups/cups.sock -p "$queue" >/dev/null 2>&1 || continue + nickname=`grep '\*NickName:' "$ppd" | cut -d '"' -f 2 | perl -p -e 's/\n$//' | perl -p -e "$gennicknameregexp" | perl -p -e 's/(\W)/\\\\$1/g'` + lang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + ppdfound="0" + englishppduri="" + tmpfile2=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile2" + cat $tmpfile1 | perl -p -e "$gennicknameregexp; s/\s*$/\n/" | grep -E '\b'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2 + while read newppduri; do + [ "$ppdfound" = "0" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $newppduri 2>/dev/null || continue + newlang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + [ "$newlang" = "$lang" ] && ppdfound="1" + [ "$newlang" = "english" ] && englishppduri="$newppduri" + done < $tmpfile2 + [ "$ppdfound" = "0" ] && [ ! -z "$englishppduri" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $englishppduri 2>/dev/null && ppdfound="1" + [ "$ppdfound" = "1" ] && echo PPD for printer $queue updated >&2 + done + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hplip-3.10.9.orig/debian/hplip-cups.NEWS +++ hplip-3.10.9/debian/hplip-cups.NEWS @@ -0,0 +1,15 @@ +hplip-cups (3.10.2-1) unstable; urgency=low + + * Please note that you need to be a member of the group lpadmin + perform any admistrative function on printers (See Bug #566692) + - /usr/share/doc/cups/README.txt.gz + + -- Mark Purcell Tue, 06 Apr 2010 18:18:20 +1000 + +hplip-cups (3.9.2-2) unstable; urgency=low + + Access to the full functionality of hplip; ink check, toolbox, + printing and scanning is now provided for members of the 'lp' + group. The use of the scanner group is depreciated. + + -- Mark Purcell Sun, 15 Mar 2009 22:09:23 +1100 --- hplip-3.10.9.orig/debian/libhpmud0.lintian +++ hplip-3.10.9/debian/libhpmud0.lintian @@ -0,0 +1,3 @@ +# dependency on libcrypto.so.0.9.8 could be avoided if were not uselessly linked against it (they use none of its symbols) +# pulled in via libsnmp-dev :-( +possible-gpl-code-linked-with-openssl --- hplip-3.10.9.orig/debian/copyright +++ hplip-3.10.9/debian/copyright @@ -0,0 +1,101 @@ +This package was debianized by Torsten Landschoff +and Henrique de Moraes Holschuh + +It was downloaded from: + http://prdownloads.sourceforge.net/hplip/ + +Upstream website: + http://hplipopensource.com/ + +The Debian packaging of hplip and hpijs is: + Copyright (c) 2003-2004 by Torsten Landschoff + Copyright (c) 2004-2006 by Henrique de Moraes Holschuh + and distributed in the same license as the upstream source it applies to. + +Upstream Authors: + David Suffield and others + + The -rss series was primarily provided by Matthias Bunte + and was adapted to hpijs 1.2.x by Richard Spencer-Smith. + + From version 3.10.5 on HP moved the HPLIP development to India, replacing + the whole developer team. Main contact now is + Ahmed, Zulfiqar Ali (Zulfi) + +Copyright: + Copyright (c) 2001-2006 Hewlett-Packard Company + Copyright (c) 2001-2006 Hewlett-Packard Development Company, L.P. + All rights reserved. + + In general all applications are covered by the GNU General Public + License (GPL) version 2, and the backends, gs KRGB patch, and + PostScript printer PPD files are covered by a MIT license. The + printer drivers HPIJS and hpcups and the ready-made PPDs for them + use a BSD license (DFSG-compatible). + + GPL: + The GPL version 2 (or any later version) applies to all files in the + directories: base, copier, data, fax, installer, ip, pcard, plugins, + pcard/pcardext, prnt, prnt/cupsext, scan, ui, ui4, and the main + directory. + + 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. + + The GPL may be found in /usr/share/common-licenses/GPL on a Debian system. + + MIT: + The MIT license applies to all files in the directories: backend, + backend/hp, io, io/hpiod, scan/sane, and prnt/ps/. It also applies + to the KRGB patches to be applied to Ghostscript. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + + BSD: + The BSD license applies to all files in the directory prnt/hpijs, + prnt/hpcups/, and ppd, except for the KRGB patches to be applied to + Ghostscript. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the Hewlett-Packard nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PATENT INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + + -- Till Kamppeter Wed, 30 Jun 2010 12:16:18 +0200 --- hplip-3.10.9.orig/debian/hplip-cups.install +++ hplip-3.10.9/debian/hplip-cups.install @@ -0,0 +1,2 @@ +usr/lib/cups/filter/hpcups* +usr/share/cups/drv/hpcups.drv --- hplip-3.10.9.orig/debian/hpijs.README.Debian +++ hplip-3.10.9/debian/hpijs.README.Debian @@ -0,0 +1,33 @@ +Notes about the Debian hpijs package +------------------------------------ + +This package includes the rss patch from + + http://www.openprinting.org/download/printing/hpijs/ + +This patch tries to make sure that black is printed with just +the black pen, if the printer supports it. Almost all new +HP printers (those using the DJGenericVIP model) do colormap +conversion in firmware, and will completely ignore the rss +patch. Also, nobody has maintained that patch for a long time, +so it is unlikely that rss support will be ever added to newer +printer drivers even if they could support it. + +Should Ghostscript have the latest version of the IJS server +code, hpijs will be able to use the KRGB protocol to talk to +Ghostscript, which often will produce better printings wherever +black is used. + +It is a very good idea to install the hplip package if you +use CUPS as your printing spooler. For spoolers other than +CUPS, you should use hpoj instead. + +A lot of enhanced functionality is only available in bi-dir +mode, which is supported only by HPLIP. + +If you are going to use PPDs, it is recommended that the ones +from the hpijs-ppds PPD package be used, as they are guaranteed +to work well with this version of hpijs. + + -- Torsten Landschoff + -- Henrique de Moraes Holschuh --- hplip-3.10.9.orig/debian/libhpmud-dev.install +++ hplip-3.10.9/debian/libhpmud-dev.install @@ -0,0 +1,3 @@ +usr/lib/lib*.so +usr/lib/*.la +../../io/hpmud/hpmud.h usr/include --- hplip-3.10.9.orig/debian/hp-sendfax.desktop +++ hplip-3.10.9/debian/hp-sendfax.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=HPLIP Fax Utility +GenericName=Fax Utility +Comment=HPLIP Fax Utility +Exec=sh -c 'STARTED_FROM_MENU=yes /usr/bin/hp-sendfax' +Icon=/usr/share/pixmaps/HPmenu.xpm +Categories=Application;Office; +Terminal=false +Type=Application +StartupNotify=false +NoDisplay=false --- hplip-3.10.9.orig/debian/libhpmud0.install +++ hplip-3.10.9/debian/libhpmud0.install @@ -0,0 +1,2 @@ +etc/udev/rules.d/40-hplip.rules lib/udev/rules.d +usr/lib/lib*.so.* --- hplip-3.10.9.orig/debian/hplip.NEWS +++ hplip-3.10.9/debian/hplip.NEWS @@ -0,0 +1,15 @@ +hplip (3.10.2-1) unstable; urgency=low + + * Please note that you need to be a member of the group lpadmin + perform any admistrative function on printers (See Bug #566692) + - /usr/share/doc/cups/README.txt.gz + + -- Mark Purcell Tue, 06 Apr 2010 18:18:20 +1000 + +hplip (3.9.2-2) unstable; urgency=low + + Access to the full functionality of hplip; ink check, toolbox, + printing and scanning is now provided for members of the 'lp' + group. The use of the scanner group is depreciated. + + -- Mark Purcell Sun, 15 Mar 2009 22:09:23 +1100 --- hplip-3.10.9.orig/debian/hpijs.lintian +++ hplip-3.10.9/debian/hpijs.lintian @@ -0,0 +1,3 @@ +# dependency on libcrypto.so.0.9.8 could be avoided if were not uselessly linked against it (they use none of its symbols) +# pulled in via libsnmp-dev :-( +possible-gpl-code-linked-with-openssl --- hplip-3.10.9.orig/debian/non-shipped-files.txt +++ hplip-3.10.9/debian/non-shipped-files.txt @@ -0,0 +1,12 @@ +usr/share/hplip/check +usr/share/hplip/install.py +usr/share/doc/hplip/README_LIBJPG +usr/share/doc/hplip/hpijs_readme.html +usr/share/doc/hplip/gs_hpijs.png +usr/share/doc/hplip/hplip_readme.html +usr/share/doc/hplip/hplip_overview.png +usr/share/doc/hplip/COPYING +usr/share/hplip/hplip.conf +usr/lib/sane/libsane-hpaio.so +usr/lib/sane/libsane-hpaio.la +usr/share/ppd/hplip/HP/hp-color_inkjet_cp1700-hpijs.ppd.gz --- hplip-3.10.9.orig/debian/autogen.sh +++ hplip-3.10.9/debian/autogen.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# autogen.sh glue for hplip +# +# Requires: automake 1.9, autoconf 2.57+, libtool 1.5.6+ +# Conflicts: autoconf 2.13 +set -e + +# Refresh GNU autotools toolchain. +echo Cleaning autotools files... +find -type d -name autom4te.cache -print0 | xargs -0 rm -rf \; +find -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \ + -o -name depcomp -o -name ltmain.sh -o -name configure \ + -o -name config.sub -o -name config.guess -o -name config.cache \ + -o -name config.log -o -name Makefile.in \) -print0 | xargs -0 rm -f + +echo Running autoreconf... +autoreconf --force --install + +# For the Debian package build +test -d debian && { + # link these in Debian builds + rm -f config.sub config.guess + ln -s /usr/share/misc/config.sub . + ln -s /usr/share/misc/config.guess . +} +exit 0 --- hplip-3.10.9.orig/debian/libsane-hpaio.docs +++ hplip-3.10.9/debian/libsane-hpaio.docs @@ -0,0 +1 @@ +scan/sane/hpaio.desc --- hplip-3.10.9.orig/debian/DEBIAN_UBUNTU_DIFFERENCES +++ hplip-3.10.9/debian/DEBIAN_UBUNTU_DIFFERENCES @@ -0,0 +1,5 @@ +* Fixed hplip.desktop and added hplip-kubuntu.desktop. + Kubuntu doesn't have any application categorised in "Settings" + so that results a crappy Kmenu. The hplip.desktop file will show + in gnome and xfce, and the kubuntu one, only shows in KDE, in + "System" section --- hplip-3.10.9.orig/debian/hplip-data.install +++ hplip-3.10.9/debian/hplip-data.install @@ -0,0 +1,3 @@ +/usr/share/hplip +/usr/share/apport/package-hooks/source_hplip.py +/usr/share/ppd/hplip/*/*ps.ppd* --- hplip-3.10.9.orig/debian/watch +++ hplip-3.10.9/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/hplip/hplip-(.+)\.tar\.gz debian svn-upgrade --- hplip-3.10.9.orig/debian/hplip.lintian +++ hplip-3.10.9/debian/hplip.lintian @@ -0,0 +1,5 @@ +hplip: package-name-doesnt-match-sonames libhpip0 libhpmud0 +hplip: no-symbols-control-file +# dependency on libcrypto.so.0.9.8 could be avoided if were not uselessly linked against it (they use none of its symbols) +# pulled in via libsnmp-dev :-( +hplip: possible-gpl-code-linked-with-openssl --- hplip-3.10.9.orig/debian/hplip.desktop +++ hplip-3.10.9/debian/hplip.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=HPLIP Toolbox +GenericName=Printer Toolbox +Comment=HP Printing System Control Center +Exec=sh -c 'STARTED_FROM_MENU=yes /usr/bin/hp-toolbox' +Icon=/usr/share/pixmaps/HPmenu.xpm +Categories=Application;Settings; +Terminal=false +Type=Application +StartupNotify=false +NotShowIn=KDE; +NoDisplay=false --- hplip-3.10.9.orig/debian/hpijs-ppds.postinst +++ hplip-3.10.9/debian/hpijs-ppds.postinst @@ -0,0 +1,78 @@ +#! /bin/sh +# postinst script for hpijs-ppds +# $Id: $ +# +# 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 http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + configure) + # Do the following only if CUPS is running and the needed CUPS tools + # are available + if which lpstat > /dev/null 2>&1 && \ + which lpinfo > /dev/null 2>&1 && \ + which lpadmin > /dev/null 2>&1 && \ + LC_ALL=C lpstat -h /var/run/cups/cups.sock -r | grep -v not > /dev/null 2>&1; then + # Update the PPD files of all already installed print queues + driverregexp='lsb/usr/hplip/HP/.*-hpijs' + gennicknameregexp='s/,?(\s*hpijs,?|,)\s*[\d\.]+[a-zA-Z]*[\d\.]*\s*$//; s/\s*(Foomatic\/|)hpijs(\s*\S+|)$//i; s/\s*Series$//i; s/(HP\s+)PhotoSmart(\s+)/\1PS\2/i; s/(HP\s+)DeskJet(\s+)/\1DJ\2/i; s/(HP\s+)Color\s*(LaserJet|LJ)(\s+)/\1CLJ\3/i; s/(HP\s+)LaserJet(\s+)/\1LJ\2/i; s/(HP\s+)OfficeJet(\s+)/\1OJ\2/i; s/(HP\s+)Business\s*InkJet(\s+)/\1BIJ\2/i; s/(HP\s+)DesignJet(\s+)/\1DESIGNJ\2/i; s/(HP\s+)Printer\s*Scanner\s*Copier(\s+)/\1PSC\2/i; s/(HP\s+)Color\s*InkJet\s*Printer\s+/\1/i; s/\s+(zjs|zxs|pcl3)//i' + [ ! -z "$gennicknameregexp" ] && \ + gennicknameregexp="; $gennicknameregexp" + gennicknameregexp='s/\s*\(recommended\)//'"$gennicknameregexp" + tempfiles= + trap 'rm -f $tempfiles; exit 0' 0 HUP INT QUIT ILL ABRT PIPE TERM + tmpfile1=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile1" + lpinfo -h /var/run/cups/cups.sock -m | grep -E $driverregexp > $tmpfile1 + cd /etc/cups/ppd + for ppd in *.ppd; do + [ -r "$ppd" ] || continue + queue=${ppd%.ppd} + lpstat -h /var/run/cups/cups.sock -p "$queue" >/dev/null 2>&1 || continue + nickname=`grep '\*NickName:' "$ppd" | cut -d '"' -f 2 | perl -p -e 's/\n$//' | perl -p -e "$gennicknameregexp" | perl -p -e 's/(\W)/\\\\$1/g'` + lang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + ppdfound="0" + englishppduri="" + tmpfile2=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile2" + cat $tmpfile1 | perl -p -e "$gennicknameregexp; s/\s*$/\n/" | grep -E '\b'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2 + while read newppduri; do + [ "$ppdfound" = "0" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $newppduri 2>/dev/null || continue + newlang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + [ "$newlang" = "$lang" ] && ppdfound="1" + [ "$newlang" = "english" ] && englishppduri="$newppduri" + done < $tmpfile2 + [ "$ppdfound" = "0" ] && [ ! -z "$englishppduri" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $englishppduri 2>/dev/null && ppdfound="1" + [ "$ppdfound" = "1" ] && echo PPD for printer $queue updated >&2 + done + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hplip-3.10.9.orig/debian/README.Source +++ hplip-3.10.9/debian/README.Source @@ -0,0 +1,17 @@ +$Id: README.Source,v 1.6 2006/03/18 19:09:22 hmh Exp $ + +To make the HPLIP package more easily maintainable there are no +directly applied patches any more. Everything is done as dpatches. +Therefore we run the autotools during the build process now. + +The file debian/hpijs.version must contain the version number of +HPIJS. It is automatically generated from configure.in +through autoconf --trace, by the debian/autogen.sh script. + +The file debian/non-shipped-files.txt is used to remove clutter +from the installed tree. It is maintainend manually. + +The original source code ships firmware files for the HP LaserJet 1018 +and 1020 (in data/firmware/) but has no license for them. The +developers at HP asked for removing them which is done in the .dfsg.1 +modification of the source tarball. --- hplip-3.10.9.orig/debian/control +++ hplip-3.10.9/debian/control @@ -0,0 +1,227 @@ +Source: hplip +Section: utils +Priority: optional +Maintainer: Debian HPIJS and HPLIP maintainers +Uploaders: Henrique de Moraes Holschuh , Torsten Landschoff , Mark Purcell , Till Kamppeter +Build-Depends: libcups2-dev, libcupsimage2-dev, libsane-dev, libsnmp-dev, libjpeg62-dev, libusb-dev (>= 0.1.8), + debhelper (>= 5.0.37.2), autotools-dev, dpatch (>= 2), autoconf, automake, libtool, cups (>= 1.4.0) | cupsddk, + patch (>= 2.5.9-3bpo1), findutils (>= 4.2.28), + python-dev, python-all-dev, python-qt4, pyqt4-dev-tools, python-support (>= 0.3), + python-dbus (>= 0.80), python-qt4-dbus, libdbus-1-dev, libudev-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386], policykit-1, + fdupes, lsb-release, xz-utils +XS-Python-Version: >= 2.5 +Standards-Version: 3.8.4 +Homepage: http://hplip.sourceforge.net/ +Vcs-Svn: svn://svn.debian.org/pkg-hpijs/hplip/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-hpijs/hplip/?op=log + +Package: hplip +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libsane-hpaio (= ${hplip:source:Version}), + libhpmud0 (= ${hplip:binary:Version}), hplip-data (= ${hplip:source:Version}), + hplip-cups (= ${hplip:binary:Version}), + ${python:Depends}, python-dbus (>= 0.80), python-imaging, python-pexpect, + coreutils (>= 5.1.0), lsb-base (>= 3), adduser (>= 3.34), cups (>= 1.1.20), cups-client (>= 1.1.20), + policykit-1 +Recommends: sane-utils, avahi-daemon +Suggests: kdeprint | gtklp | xpp, hplip-gui, hplip-doc, python-notify +Conflicts: hpijs (<< 2.1), hplip-dbg (<< 3.10.5-1ubuntu1), hplip-base, hplip-gui (<< 2.8.10), hpoj +Replaces: hplip-data (<< 0.9.3), hplip-base, hplip-gui (<< 2.8.10) +XB-Python-Version: ${python:Versions} +Description: HP Linux Printing and Imaging System (HPLIP) + The HP Linux Printing and Imaging System provides full support for + printing on most HP SFP (single function peripheral) inkjets and many + LaserJets, and for scanning, sending faxes and for photo-card access on + most HP MFP (multi-function peripheral) printers. + . + HPLIP is composed of: + * System services to handle communications with the printers + * HP CUPS backend driver (hp:) with bi-directional communication with + HP printers (provides printer status feedback to CUPS and enhanced + HPIJS functionality such as 4-side full-bleed printing support) + * HP CUPS backend driver for sending faxes (hpfax:) + * hpcups CUPS Raster driver to turn rasterized input from the CUPS + filter chain into the printer's native format (PCL, LIDIL, ...). + (hpcups is shipped in a separate package) + * HPIJS Ghostscript IJS driver to rasterize output from PostScript(tm) + files or from any other input format supported by Ghostscript, and + also for PostScript(tm) to fax conversion support + (HPIJS is shipped in a separate package) + * Command line utilities to perform printer maintenance, such as + ink-level monitoring or pen cleaning and calibration + * GUI and command line utility to download data from the photo card + interfaces in MFP devices + * GUI and command line utilities to interface with the fax functions + * A GUI toolbox to access all these functions in a friendly way + * HPAIO SANE backend (hpaio) for flatbed and Automatic Document Feeder + (ADF) scanning using MFP devices + . + USB, JetDirect (network) and parallel-port devices are supported. + +Package: hplip-data +Architecture: all +Suggests: hplip +Depends: ${python:Depends}, ${misc:Depends}, xz-utils +Description: HP Linux Printing and Imaging - data files + This package contains data files for the HP Linux Printing and + Imaging System. + +Package: hplip-gui +Architecture: all +Depends: ${misc:Depends}, hplip (= ${hplip:binary:Version}), dbus-x11, + ${python:Depends}, python-qt4, python-qt4-dbus, python-reportlab, + gksu | kdebase-bin (<< 4:4.4.0-1) | kdebase-runtime | kdesudo | ktsuss +Recommends: xsane | simple-scan | skanlite, python-notify +Replaces: hplip (<= 3.10.5-1ubuntu1) +Description: HP Linux Printing and Imaging - GUI utilities (Qt-based) + This package contains utilities with graphical user interface (GUI) for + HPLIP: HP Toolbox, HP Fax, ... + . + Note that all GUI utilities are based on the Qt (KDE) GUI environment. There + are currently no equivalent utilities based on GTK (GNOME). + +Package: hplip-dbg +Architecture: any +Priority: extra +Section: debug +Depends: ${misc:Depends}, hplip (= ${hplip:binary:Version}) | hplip-cups (= ${hplip:binary:Version}) | hpijs (= ${hpijs:binary:Version}) +Conflicts: hplip (<< 3.10.2-2ubuntu2) +Description: HP Linux Printing and Imaging - debugging information + This package contains debugging symbolic information for all the + binaries and libraries in the hplip and hpijs packages. + . + It is useful for generating backtraces using debuggers like + gdb and to get better information from tools like ltrace. + +Package: hplip-doc +Architecture: all +Section: doc +Suggests: hplip +Depends: ${misc:Depends} +Description: HP Linux Printing and Imaging - documentation + This package contains the full documentation for the HP Linux + Printing and Imaging System for off-line reading. It includes + the documentation for the HPIJS IJS driver as well. + +Package: hpijs-ppds +Architecture: all +Section: utils +Provides: hplip-ppds +Replaces: hplip-ppds +Conflicts: hplip-ppds, foomatic-filters-ppds (>> 20000101) +Depends: ${misc:Depends}, hpijs (= ${hpijs:binary:Version}), foomatic-filters (>= 3.0.2), cups-client, cups +Description: HP Linux Printing and Imaging - HPIJS PPD files + This package contains PPD (printer definition) files for the + printers supported through the HP Linux Printing and Imaging + System HPIJS driver. + . + These PPDs should work well with the matching versions of HPLIP + and HPIJS, but may not be the most up-to-date PPDs available for + a given printer. See http://www.openprinting.org/ for the latest + version of the PPDs (which are not guaranteed to work well). + +Package: hpijs +Architecture: any +Section: text +Depends: ${shlibs:Depends}, ${misc:Depends}, libhpmud0 (= ${hplip:binary:Version}) +Recommends: ghostscript, cups (>= 1.4.0) | cupsddk, foomatic-filters, cups, cups-client +Suggests: hplip, hpijs-ppds, hplip-doc +Replaces: hpijs-ppds (<< 2.6.10+1.6.10-1), hplip-ppds (<< 1.6.10-1) +Description: HP Linux Printing and Imaging - gs IJS driver (hpijs) + This package contains an IJS printer driver for Ghostscript, which + adds support for most inkjet printers and some LaserJet printers + manufactured by HP. It is also required for HPLIP fax support. + . + The Debian package of hpijs includes the so-called rss patch, to use + pure black ink instead of composite black in printers that don't do + color map conversion in firmware. + . + HPIJS can take advantage of Ghostscript IJS KRGB support when + available, to enhance black printing on printers that do color + map conversion in firmware and are thus not affected by the old + rss patch. + . + Users of the CUPS printing system are advised to also install the + hplip package, and use the hp CUPS backend to send data to the printer. + HPLIP supports USB, networked and parallel-port devices, and enables + extended HPIJS functionality such as border-less printing. + Selecting any hpijs ppd in CUPS will use hpijs automatically. + . + HPIJS is meant to be used through the foomatic system (see the + foomatic-filters package). + +Package: hplip-cups +Architecture: any +Section: text +Depends: ${shlibs:Depends}, ${misc:Depends}, + ghostscript-cups, cups (>= 1.4.0) | cupsddk, cups, cups-client +Suggests: hplip-doc, hplip (= ${hplip:binary:Version}) +Description: HP Linux Printing and Imaging - CUPS Raster driver (hpcups) + This package contains a CUPS-Raster-based printer driver which adds support + for most inkjet printers and some LaserJet printers manufactured by HP. It + does not provide PPDs for the fax functionality of HP's multi-function + devices. + . + Users of the CUPS printing system are advised to also install the + hplip package, and use the hp CUPS backend to send data to the printer. + HPLIP supports USB, networked and parallel-port devices, and enables + extended hpcups functionality such as border-less printing. + Selecting any hpcups ppd in CUPS will use hpcups automatically. + . + No physical PPDs are shipped with this driver. PPDs are dynamically + generated via a CUPS DDK .drv file. + . + This package can be installed to provide a minimal headless printer + solution using CUPS. + +Package: libhpmud0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: hplip (<= 3.10.6-0ubuntu1) +Conflicts: hplip (<= 3.10.6-0ubuntu1) +Description: HP Multi-Point Transport Driver (hpmud) run-time libraries + Shared library that provides direct I/O for each process. Prior to + hpmud, all I/O was serialized through hpiod, a monolithic I/O processor. + The new hpmud direct I/O is faster. Hpmud supports parallel, USB and + JetDirect connectivity. + . + With hpmud, HPLIP no longer has Linux specific libusb extensions. This + means any UNIX/Linux derivative that supports libusb may work with + HPLIP. A public HPLIP "C" API is exposed through hpmud. See hpmud.h + for documentation. A Python wrapper for hpmud, called hpmudext, is also + available. + +Package: libhpmud-dev +Architecture: any +Section: libdevel +Depends: ${shlibs:Depends}, ${misc:Depends}, libhpmud0 (= ${binary:Version}) +Replaces: hplip (<= 3.9.12-1) +Conflicts: hplip (<= 3.9.12-1) +Description: HP Multi-Point Transport Driver (hpmud) development libraries + Shared library that provides direct I/O for each process. Prior to + hpmud, all I/O was serialized through hpiod, a monolithic I/O processor. + The new hpmud direct I/O is faster. Hpmud supports parallel, USB and + JetDirect connectivity. + . + With hpmud, HPLIP no longer has Linux specific libusb extensions. This + means any UNIX/Linux derivative that supports libusb may work with + HPLIP. A public HPLIP "C" API is exposed through hpmud. See hpmud.h + for documentation. A Python wrapper for hpmud, called hpmudext, is also + available. + +Package: libsane-hpaio +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: hplip (<= 3.10.6-1ubuntu6), hplip-data (<= 3.10.5-4) +Conflicts: hplip (<= 3.10.6-1ubuntu6), hplip-data (<= 3.10.5-4) +Recommends: sane-utils, hplip (= ${hplip:binary:Version}) +Description: HP SANE backend for multi-function peripherals + This package contains the sane backend libraries for use with HP + Multi-function peripherals. + . + Users of hplip are advised to install the hplip{-gui} packages for + command line and GUI tools associated with HPLIP. + . + This package is useful for a minimal footprint headless scanning solution. --- hplip-3.10.9.orig/debian/hplip.sane +++ hplip-3.10.9/debian/hplip.sane @@ -0,0 +1,4 @@ +# dll.conf snippet for hplip +# + +hpaio --- hplip-3.10.9.orig/debian/shlibs.libhpmud0 +++ hplip-3.10.9/debian/shlibs.libhpmud0 @@ -0,0 +1,2 @@ +libhpip 0 libhpmud0 (>= 3.9.12-2) +libhpmud 0 libhpmud0 (>= 3.9.12-2) --- hplip-3.10.9.orig/debian/hpijs.docs +++ hplip-3.10.9/debian/hpijs.docs @@ -0,0 +1,3 @@ +prnt/hpijs/*patch +debian/gdevijs*patch +debian/users-guide.txt --- hplip-3.10.9.orig/debian/rules +++ hplip-3.10.9/debian/rules @@ -0,0 +1,431 @@ +#!/usr/bin/make -f +# debian/rules for hplip +# GNU copyright 1997 to 1999 by Joey Hess. +# Copyright (c) 2003 Torsten Landschoff +# Copyright (c) 2004-2006 Henrique de Moraes Holschuh + +PACKAGE=hplip +BASEPKG=hplip + +# DPatch +DEB_SOURCE_PACKAGE:=$(PACKAGE) +include /usr/share/dpatch/dpatch.make + +# DebHelper control +export DH_ALWAYS_EXCLUDE=CVS:.cvsignore +#export DH_VERBOSE=1 + +-include /usr/share/python/python.mk + ifeq (,$(py_sitename)) + py_sitename = site-packages + py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages + py_sitename_sh = $(py_sitename) + py_libdir_sh = $(py_libdir) +endif +PYTHON_DEFAULT_VERSION:=$(shell pyversions -dv) +PYTHON_SITENAME:=$(call py_sitename, $(PYTHON_DEFAULT_VERSION)) + + +DBGPKG:=$(BASEPKG)-dbg +PKGTMP:=$(CURDIR)/debian/tmp +PPDDIR:=$(PKGTMP)/usr/share/ppd + +SF_MIRRORS:= optusnet ovh puzzle superb-east +-include /usr/share/gnome-pkg-tools/1/rules/sf-get-source.mk + +# Version information +# We cannot get the hpijs version like this because we could be generating +# it at runtime when we run autogen.sh +HPLIP_BINARY_VERSION?=$(shell dpkg-parsechangelog | grep -E "^Version:" | \ + tr -d ' \t' | cut -d ':' -f 2-) +ifeq (,$(HPLIP_BINARY_VERSION)) + $(error Could not get debian package version from debian/changelog) +endif + +HPLIP_VERSION:=$(shell echo "$(HPLIP_BINARY_VERSION)" | \ + sed -e 's/+b[0-9]\+$$//') +HPLIP_UPSTREAM_VERSION:=$(shell echo "$(HPLIP_VERSION)" | \ + sed -e 's/-[^-]\+$$//') + +# Autoconf +export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +CONFFLAGS = +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + CONFFLAGS += --build $(DEB_HOST_GNU_TYPE) +else + CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +ifeq ($(DEB_HOST_ARCH_OS), linux) + CONFFLAGS += --enable-pp-build +else + CONFFLAGS += --disable-pp-build +endif + +DEBUGFLAGS=-g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + DEBUGFLAGS += -O0 +else + DEBUGFLAGS += -O2 +endif + +CFLAGS:=-Wall -pipe $(DEBUGFLAGS) +CXXFLAGS:=$(CFLAGS) + +## +## Build-tree preparation +## + +configure: Makefile.am configure.in + dh_testdir + touch NEWS README AUTHORS ChangeLog + chmod +x debian/autogen.sh + debian/autogen.sh + +# Clean everything up, including everything auto-generated +# at build time that needs not to be kept around in the Debian diff +clean: clean-patched unpatch +clean-patched: configure + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -f install-stamp install-arch-stamp install-indep-stamp + rm -f *.1 + + [ ! -f Makefile ] || $(MAKE) clean + [ ! -f Makefile ] || $(MAKE) distclean + find -type d -name autom4te.cache -print0 | xargs -0 -r rm -rf \; + -rm -f prnt/hpijs/platform.h prnt/hpijs/auto-include.h + find -type d -name build -print0 | xargs -0 -r rm -rf \; + find \( -name config.sub -o -name config.guess \ + -o -name config.cache -o -name config.log \) -print0 \ + | xargs -0 -r rm -f \; + + # We prefer to regenerate these using pyuic + (cd ui && for i in *.ui ; do rm -f $${i%.ui}.py ; done) + + rm -f NEWS README AUTHORS ChangeLog + + dh_clean + + rm -f debian/local/pyppd/*/*.pyc + rm -f debian/local/pyppd/pyppd-ppdfile + +## +## Package build +## + +configure-stamp: patch-stamp configure + dh_testdir + + ln -sf /usr/share/misc/config.sub . + ln -sf /usr/share/misc/config.guess . + rm -f config.cache + + ./configure CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + HPLIP_PPD_PATH=/usr/share/ppd \ + $(CONFFLAGS) \ + --config-cache \ + --disable-dependency-tracking \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --docdir=\$${prefix}/share/doc/hplip \ + --with-docdir=\$${prefix}/share/doc/hplip \ + --enable-foomatic-drv-install \ + --disable-foomatic-rip-hplip-install \ + --with-drvdir=\$${prefix}/share/cups/drv \ + --with-hpppddir=\$${prefix}/share/ppd/hplip/HP \ + --datadir=\$${prefix}/share \ + --libexecdir=\$${prefix}/lib \ + --localstatedir=/var \ + --sysconfdir=/etc \ + --without-icondir \ + --disable-foomatic-ppd-install \ + --enable-hpcups-install \ + --enable-cups-drv-install \ + --enable-hpijs-install \ + --enable-foomatic-drv-install \ + --enable-foomatic-ppd-install \ + --enable-network-build \ + --enable-scan-build \ + --enable-gui-build \ + --enable-fax-build \ + --disable-qt3 \ + --enable-qt4 \ + --enable-policykit \ + --enable-udev-acl-rules + + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + $(MAKE) docdir=\$${prefix}/share/doc/hplip dist_firm_DATA= am__dist_firm_DATA_DIST= + + touch build-stamp + +## +## Debian packaging +## + +# common part of the install: Upstream makefiles, general stuff +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean + dh_installdirs + + $(MAKE) install "DESTDIR=$(PKGTMP)" docdir=/usr/share/doc/hplip dist_firm_DATA= am__dist_firm_DATA_DIST= + + # Modify PPD generator of hpcups (hpcups.drv) so that standard paper + # sizes support duplex printing. The former standard paper sizes with + # narrower borders get optional choices now (Ubuntu/upstream bug + # 487695) + sh debian/local/make-duplex-page-sizes-default.sh $(PKGTMP)/usr/share/cups/drv/hpcups.drv + + # Install wrapper script for hp-plugin, to be called by update-notifier + # on udev signal (Ubuntu only) + if [ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ]; then \ + install -d $(CURDIR)/debian/hplip/usr/bin/; \ + install -m 755 debian/local/scripts/hp-plugin-ubuntu $(CURDIR)/debian/hplip/usr/bin/; \ + fi + + # Install Apport hook + install -D -m 644 debian/local/apport-hook.py $(PKGTMP)/usr/share/apport/package-hooks/source_hplip.py + + # Remove files we are not to ship from the install tree + @echo Removing non-shipped files, see debian/non-shipped-files.txt + @cat debian/non-shipped-files.txt | \ + ( cd "$(PKGTMP)" && xargs -d '\n' -t -r rm -fv ) + + # Uncompress PPDs, this makes the package smaller for distribution + -find $(PPDDIR) -name '*.ppd.gz' | xargs gunzip -f + + # Remove identical PPD files shipped under different names + ( cd "$(PKGTMP)" && fdupes -r1q usr/share/ppd | while read s; do \ + set -- $$(echo $$s | tr ' ' '\n' | sort); \ + f=$$1; shift; \ + for d; do \ + echo "Removing duplicate PPD file $$d, original is $$f"; \ + rm $$d; \ + done; \ + done ) + + # Edit the generated hplip.conf + ( cd "$(PKGTMP)/etc/hp" && \ + cat hplip.conf | \ + sed -e 's#^doc=.*#doc=/usr/share/doc/hplip-doc/HTML#' | \ + sed -e 's#^ui-toolkit=.*#ui-toolkit=qt4#' \ + > hplip.conf.1 && \ + mv -f hplip.conf.1 hplip.conf ) + + # Lintian and linda overrides + cd debian ; \ + for i in *.linda ; do \ + [ -r "$$i" ] && { \ + mkdir -p "$${i%%.linda}/usr/share/linda/overrides" ;\ + install -m 644 "$$i" "$${i%%.linda}/usr/share/linda/overrides/$${i%%.linda}" ;\ + } ;\ + done ;\ + for i in *.lintian ; do \ + [ -r "$$i" ] && { \ + mkdir -p "$${i%%.lintian}/usr/share/lintian/overrides" ;\ + install -m 644 "$$i" "$${i%%.lintian}/usr/share/lintian/overrides/$${i%%.lintian}" ;\ + } ;\ + done + + # Link all executables to /usr/bin and generate the corresponding + # man pages + export HPLIP_BUILD=1; \ + ( cd ./debian/tmp/usr/share/hplip/; \ + for file in *.py; do \ + if [ -x $$file ] && [ $$file != install.py ] && \ + [ $$file != hpssd.py ] && [ $$file != dat2drv.py ] && \ + [ $$file != __init__.py ]; then \ + dest=hp-$${file%.py}; \ + ln -s /usr/share/hplip/$$file \ + ../../bin/$$dest 2>/dev/null || :; \ + PYTHONPATH=../../lib/python$(PYTHON_DEFAULT_VERSION)/$(PYTHON_SITENAME)/ \ + LD_LIBRARY_PATH=../../lib/ ../../bin/$$dest --help-man > $(CURDIR)/$$dest.1 ; \ + fi; \ + done \ + ) + install -d ./debian/tmp/usr/sbin/ + ln -s /usr/share/hplip/hpssd.py ./debian/tmp/usr/sbin/hpssd + + # Remove all *.pyc files, they do not need to be shipped with the + # package + find ./debian/tmp/ -name '*.pyc' -print0 | xargs -0 rm -f + + touch install-stamp + +# install arch-dependent packages specific files +install-arch: install-arch-stamp +install-arch-stamp: install-stamp + # Remove stray #! lines on python libraries, and fix permissions + find "$(PKGTMP)/usr/share/hplip" -maxdepth 1 -mindepth 1 -type d -print0 | \ + xargs -0 -r -i@ find @ -type f -name '*.py' | \ + while read -r i ; do \ + chmod a-x "$$i" && \ + sed < "$$i" > "$$i.tmp" -e '/^#!/ {1 d}' && \ + mv -f "$$i.tmp" "$$i" ; \ + done + # executable-not-elf-or-script + chmod -x $(PKGTMP)/usr/share/hplip/installer/distros.dat + + mkdir -p "$(PKGTMP)/usr/share/pixmaps" + install -m 644 debian/*.xpm "$(PKGTMP)/usr/share/pixmaps" + mkdir -p "$(PKGTMP)/usr/share/applications" + install -m 644 debian/*.desktop "$(PKGTMP)/usr/share/applications" + + mkdir -p "$(PKGTMP)/etc/sane.d/dll.d" + install -m 644 debian/$(BASEPKG).sane "$(PKGTMP)/etc/sane.d/dll.d/$(PACKAGE)" + + mkdir -p "$(PKGTMP)/usr/lib/cups/filter/" + install -m 755 hplipjs "$(PKGTMP)/usr/lib/cups/filter/" + + # Fax PPDs, install to destdir directly + mkdir -p "$(CURDIR)/debian/hpijs/usr/share/ppd/hplip/HP" + mkdir -p "$(CURDIR)/debian/hplip-cups/usr/share/ppd/hplip/HP" + cp fax/ppd/HP-Fax*-hpijs.ppd.gz \ + "$(CURDIR)/debian/hpijs/usr/share/ppd/hplip/HP/" + cp fax/ppd/HP-Fax*-hpcups.ppd.gz \ + "$(CURDIR)/debian/hplip-cups/usr/share/ppd/hplip/HP/" + + # Uncompress PPDs, this makes the package smaller for distribution + -find $(PPDDIR) -name '*.ppd.gz' | xargs gunzip -f + + # Generate .fdi file for HAL setting "scanner" capability to all + # HPLIP-supported devices (also without scanner), so that permissions + # get automatically set so that always the user logged in on the + # system's desktop has full access to the device. + install -d -m 755 $(PKGTMP)/usr/share/hal/fdi/preprobe/10osvendor/ + sh debian/local/scripts/create_hal_global_fdi_from_hpmud_rules.sh \ + > $(PKGTMP)/usr/share/hal/fdi/preprobe/10osvendor/20-hplip-devices.fdi + + dh_install -a "--sourcedir=$(PKGTMP)" --list-missing >install-arch-stamp 2>&1 || \ + ( echo "Last five lines of error log:" ; tail -n 5 install-arch-stamp ; exit 1 ) + +# install arch-independent packages specific files +install-indep: install-indep-stamp +install-indep-stamp: install-stamp install-arch-stamp + # Remove the Fax PPDs, we have handled them in the arch-dependent part + -find $(PPDDIR) -name '*Fax*.ppd*' | xargs rm + + dh_install -i "--sourcedir=$(PKGTMP)" --list-missing >install-indep-stamp 2>&1 || \ + ( echo "Last five lines of error log:" ; tail -n 5 install-indep-stamp ; exit 1 ) + + # Patch the PPDs for the hpijs-ppds package to use foomatic-rip + # as CUPS filter and not foomatic-rip-hplip + (cd $(CURDIR)/debian/hpijs-ppds/usr/share/ppd/hplip/HP/ && \ + for ppd in *.ppd; do \ + perl -p -i -e 's/foomatic-rip-hplip/foomatic-rip/g' $$ppd; \ + done \ + ) + + # Compress the PPD files with Vitor Baptista's pyppd PPD + # archiving tool. This makes the space needed for PPDs at least + # 10 times smaller. + (cd $(CURDIR)/debian/local/pyppd/ && \ + chmod 755 bin/pyppd && \ + touch pyppd/__init__.py && \ + PYTHONPATH=. bin/pyppd $(CURDIR)/debian/hplip-data/usr/share/ppd/hplip && \ + install -D -m 755 pyppd-ppdfile $(CURDIR)/debian/hplip-data/usr/lib/cups/driver/hplip && \ + rm -rf $(CURDIR)/debian/hplip-data/usr/share/ppd && \ + rm -f */*.pyc pyppd-ppdfile \ + ) + + # Remove models.dat from hplip-data - we ship with libsane-hpaio + rm $(CURDIR)/debian/hplip-data/usr/share/hplip/data/models/models.dat + +# Build architecture-independent packages +binary-indep: install-indep + dh_testdir -i + dh_testroot +# dh_installdebconf -i + dh_installdocs -i + dh_installexamples -i + dh_installmenu -i +# dh_installlogrotate -i +# dh_installemacsen -i +# dh_installpam -i +# dh_installmime -i +# dh_installinit -i +# dh_installcron -i + dh_installman -i +# dh_installinfo -i + dh_installchangelogs -i $(CHANGELOG) + dh_link -i + dh_strip -i --dbg-package=$(DBGPKG) + dh_compress -i + dh_fixperms -i +# dh_perl -i + dh_pysupport -i +# dh_makeshlibs -i + dh_installdeb -i + dh_shlibdeps -i --dpkg-shlibdeps-params=--ignore-missing-info + dh_gencontrol -i -- \ + -V"hplip:source:Version=$(HPLIP_VERSION)" \ + -V"hpijs:source:Version=$(HPLIP_VERSION)" \ + -V"hplip:Upstream-Version=$(HPLIP_UPSTREAM_VERSION)" \ + -V"hpijs:Upstream-Version=$(HPLIP_UPSTREAM_VERSION)" \ + -V"hplip:binary:Version=$(HPLIP_BINARY_VERSION)" \ + -V"hpijs:binary:Version=$(HPLIP_BINARY_VERSION)" + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent packages +binary-arch: install-arch + dh_testdir -a + dh_testroot + + mkdir -p debian/hplip/usr/share/bug/hplip + cp debian/bug/* debian/hplip/usr/share/bug/hplip + mkdir -p debian/hplip/usr/share/bug/hplip-cups + cp debian/bug/presubj debian/hplip/usr/share/bug/hplip-cups + mkdir -p debian/hplip/usr/share/bug/hplip-gui + cp debian/bug/presubj debian/hplip/usr/share/bug/hplip-gui + mkdir -p debian/hplip/usr/share/bug/hpijs + cp debian/bug/presubj debian/hplip/usr/share/bug/hpijs + +# dh_installdebconf -a + dh_installdocs -a + dh_installexamples -a + dh_installmenu -a +# dh_installlogrotate -a +# dh_installemacsen -a +# dh_installpam -a +# dh_installmime -a +# dh_installcron -a + dh_installman -a +# dh_installinfo -a + dh_installchangelogs -a $(CHANGELOG) + # must come after dh_pysupport and dh_python, or the postinst + # ordering will be screwed up and break. + #dh_installinit -phplip --init-script=hplip -- multiuser 19 + dh_installudev + dh_link -a + dh_strip -a --dbg-package=$(DBGPKG) + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_pysupport -a + dh_installdeb -a + dh_shlibdeps -a --dpkg-shlibdeps-params=--ignore-missing-info + dh_gencontrol -a -- \ + -V"hplip:source:Version=$(HPLIP_VERSION)" \ + -V"hpijs:source:Version=$(HPLIP_VERSION)" \ + -V"hplip:Upstream-Version=$(HPLIP_UPSTREAM_VERSION)" \ + -V"hpijs:Upstream-Version=$(HPLIP_UPSTREAM_VERSION)" \ + -V"hplip:binary:Version=$(HPLIP_BINARY_VERSION)" \ + -V"hpijs:binary:Version=$(HPLIP_BINARY_VERSION)" + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean clean-patched binary-indep binary-arch binary install install-arch install-indep --- hplip-3.10.9.orig/debian/hplip.preinst +++ hplip-3.10.9/debian/hplip.preinst @@ -0,0 +1,72 @@ +#! /bin/sh +# preinst script for hplip +# +# see: dh_installdeb(1) + +set -e + +rm_udevrule() { + PKG="$1" + CONFFILE="$2" + + if [ -e "$CONFFILE" ]; then + md5sum="$(md5sum "$CONFFILE" | awk '{print $1}')" + old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKG | sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi + fi +} + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +case "$1" in + upgrade|install|abort-upgrade) + # Remove symlink, dpkg doesn't like it at all + if [ -h /usr/share/doc/hplip ]; then + rm -f /usr/share/doc/hplip + fi + + # Stop and remove any daemon from old HPLIP installations + if [ -x /etc/init.d/hplip ]; then + pkill hpiod || true + if pgrep hpiod >/dev/null; then sleep 3; pkill -9 hpiod || true; fi + if pgrep hpiod >/dev/null; then + echo 'Old HPLIP daemon (hpiod) should have been stopped, but did not. Please kill manually before hplip can proceed' + exit 1 + fi + rm -fR /etc/init.d/hplip + update-rc.d -f hplip remove + fi + + # Remove obsolete config file for HPLIP startup script + rm -f /etc/default/hplip + + # Remove obsolete udev rules + rm_udevrule hplip /etc/udev/rules.d/55-hpmud.rules + rm_udevrule hplip /etc/udev/rules.d/45-hplip.rules + rm_udevrule hplip /etc/udev/rules.d/024_hpmud.rules + rm_udevrule hplip /etc/udev/rules.d/56-hpmud_support.rules + rm_udevrule hplip /etc/udev/rules.d/z60_hplip.rules + + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hplip-3.10.9.orig/debian/users-guide.txt +++ hplip-3.10.9/debian/users-guide.txt @@ -0,0 +1,8 @@ +The HPLIP and HPIJS user's guide is available online at: +http://hplip.sourceforge.net/ + +It is also available for offline reading as a Debian package, +one just needs to install the "hplip-doc" package. The +documentation will then be found at /usr/share/doc/hplip-doc/, +and it will also be registered with the Debian doc-base system +so that packages like "doc-central" can find it. --- hplip-3.10.9.orig/debian/hpijs-ppds.install +++ hplip-3.10.9/debian/hpijs-ppds.install @@ -0,0 +1 @@ +usr/share/ppd/hplip/*/*hpijs*.ppd* --- hplip-3.10.9.orig/debian/HPmenu.xpm +++ hplip-3.10.9/debian/HPmenu.xpm @@ -0,0 +1,128 @@ +/* XPM */ +static char *HPmenu[] = { +/* columns rows colors chars-per-pixel */ +"32 32 90 1", +" c black", +". c #000050", +"X c #000058", +"o c #000067", +"O c #00006B", +"+ c #000076", +"@ c #00007C", +"# c #000082", +"$ c #06068A", +"% c #0C0C89", +"& c #001E83", +"* c #14148C", +"= c #19198F", +"- c #1C1C91", +"; c #022285", +": c #082687", +"> c #0D2A89", +", c #112E8C", +"< c #16318E", +"1 c #19348F", +"2 c #1B3690", +"3 c #1E3992", +"4 c #232394", +"5 c #292997", +"6 c #2E2E99", +"7 c #243D94", +"8 c #32329B", +"9 c #38389E", +"0 c #3E3EA1", +"q c #294197", +"w c #2E4599", +"e c #344A9C", +"r c #394E9E", +"t c #3E52A1", +"y c #4343A3", +"u c #4949A6", +"i c #4D4DA8", +"p c #4356A3", +"a c #4658A5", +"s c #495CA6", +"d c #4D5FA8", +"f c #5454AB", +"g c #5A5AAE", +"h c #5F5FB0", +"j c #4F62A9", +"k c #5464AB", +"l c #5866AD", +"z c #5B6AAE", +"x c #5E6CB0", +"c c #6262B2", +"v c #606DB1", +"b c #6A6AB6", +"n c #6F6FB8", +"m c #6372B3", +"M c #6A76B5", +"N c #6D79B7", +"B c #6F7AB8", +"V c #7373BA", +"C c #727DB9", +"Z c #7A7BBD", +"A c #7681BC", +"S c #7B84BE", +"D c #7C88BF", +"F c #8484C2", +"G c #848AC2", +"H c #8C8DC5", +"J c #8A91C5", +"K c #8F96C8", +"L c #9494C9", +"P c #969ACA", +"I c #9C9CCD", +"U c #9DA2CE", +"Y c #A0A0CF", +"T c #A4A5D1", +"R c #A5A9D2", +"E c #A8A7D3", +"W c #ACACD5", +"Q c #B0B0D7", +"! c #B3B4D9", +"~ c #B6B8DA", +"^ c #BBBBDC", +"/ c #C0C0DF", +"( c #C4C4E1", +") c #CECEE6", +"_ c #D0D0E7", +"` c #D5D5E9", +"' c #E4E4F1", +"] c #ECECF5", +"[ c #F6F6FA", +"{ c None", +/* pixels */ +"{{{{{{{{{{{o@####@#+O{{{{{{{{{{{", +"{{{{{{{{{@#$=6uffu6=###{{{{{{{{{", +"{{{{{{{#@%8nW_'[[')WV8%##{{{{{{{", +"{{{{{{@$5n/][[[[[[[[](n5$#{{{{{{", +"{{{{{#%yH_''''''''''''_Lu%#{{{{{", +"{{{{#*gF!)_``````````_)!Gf*#{{{{", +"{{{#%gLL!////)/)((((((^!LHg%#{{{", +"{{@$iLIIW^/^~~~^^^^^^!!ELLHi$#{{", +"{{#8HIPITWWWWWWWRQRQQRRULLLH6@{{", +"{@*nYHZarrrrrvNzDsterrretVHLn*@{", +"{#0LTZl<@&&:tSwkUDA3+>,>,dCLL9#{", +"{%cIYa,&:&:zRDqJRRRUj>@>;,aILh%{", +"@-FIIr&&;;tRRk7MKKAAAq@,;@eILF-@", +"#9HIIr&&;:ARUee>kjw@rA>@;&rIIH9#", +"#fPIIr&&@,P!Dqm;@rIIIf#", +"#gYIYr&&:<;>KRqm3mawseRD,>:OrUURx+", +"@jUURj+@;;mJrMeG237A~A@,>,rRUUl@", +"@yUR~r@,;@eRQ!QA7DR~U3O>++sRYPr@", +"@4URRs,@:::m^/^at~(~A>,>,,jRTK4@", +"{%VWWDj,;;@+, insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +hpijs \- HP IJS server for the GhostScript IJS client driver +.SH DESCRIPTION +hpijs should never be called directly. GhostScript will run it +if the IjsServer parameter is set to IjsServer=hpijs when invoking the +IJS driver. +.br +.SH OPTIONS +.TP +.B -h +Show version +.SH SEE ALSO +For more information, please refer to /usr/share/doc/hpijs, and +to http://www.openprinting.org/. +.TP +http://hplip.sourceforge.net/ +.TP +http://www.openprinting.org/ (search for hpijs driver) +.SH AUTHOR +This manual page was written by Henrique de Moraes Holschuh , +for the Debian project (but may be used by others). --- hplip-3.10.9.orig/debian/libsane-hpaio.lintian +++ hplip-3.10.9/debian/libsane-hpaio.lintian @@ -0,0 +1,3 @@ +# dependency on libcrypto.so.0.9.8 could be avoided if were not uselessly linked against it (they use none of its symbols) +# pulled in via libsnmp-dev :-( +possible-gpl-code-linked-with-openssl --- hplip-3.10.9.orig/debian/hplip.install +++ hplip-3.10.9/debian/hplip.install @@ -0,0 +1,32 @@ +etc/dbus-1 +etc/udev/rules.d/56-hpmud_support.rules lib/udev/rules.d +usr/bin/hp-align +usr/bin/hp-check +usr/bin/hp-clean +usr/bin/hp-colorcal +usr/bin/hp-firmware +usr/bin/hp-hpdio +usr/bin/hp-info +usr/bin/hp-levels +usr/bin/hp-makeuri +usr/bin/hp-mkuri +usr/bin/hp-pkservice +usr/bin/hp-plugin +usr/bin/hp-probe +usr/bin/hp-query +usr/bin/hp-scan +usr/bin/hp-setup +usr/bin/hp-testpage +usr/bin/hp-timedate +usr/bin/hp-unload +usr/sbin/hpssd +usr/lib/cups/backend +usr/lib/cups/filter/pstotiff +usr/lib/cups/filter/hplipjs +usr/lib/cups/filter/hpcac +usr/lib/python* +usr/share/cups/mime/*.types +usr/share/cups/mime/*.convs +usr/share/dbus-1 +usr/share/polkit-1 +var/lib --- hplip-3.10.9.orig/debian/hp-fab.desktop +++ hplip-3.10.9/debian/hp-fab.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Fax address book +GenericName=Fax address book +Comment=HPLIP Fax address book +Exec=/bin/sh -c 'STARTED_FROM_MENU=yes /usr/bin/hp-fab' +Icon=/usr/share/pixmaps/HPmenu.xpm +Categories=Application;Office; +Terminal=false +Type=Application +StartupNotify=false +NoDisplay=false --- hplip-3.10.9.orig/debian/hp-logo.xpm +++ hplip-3.10.9/debian/hp-logo.xpm @@ -0,0 +1,64 @@ +/* XPM */ +static char *hp-logo[] = { +/* columns rows colors chars-per-pixel */ +"32 32 26 1", +" c #000100", +". c #080A06", +"X c #141513", +"o c #1F201E", +"O c #272826", +"+ c #2F312E", +"@ c #3A3B39", +"# c #3F403E", +"$ c #500000", +"% c #454744", +"& c #535552", +"* c #5E605D", +"= c #6D6F6C", +"- c #787A77", +"; c #818380", +": c #8E908D", +"> c #989A97", +", c #A2A4A1", +"< c #B1B3B0", +"1 c #BEC0BD", +"2 c #D0D2CF", +"3 c #D8DAD7", +"4 c #E2E4E0", +"5 c #EEF0ED", +"6 c #FDFFFC", +"7 c None", +/* pixels */ +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +";. &: o4 .;", +". #2@ -4>-@ .", +" X<63 366662# ", +" X366- +6666666= ", +" 1666O :66666666* ", +" *6661 1566444465X ", +" 2666= >6X X4: ", +" o6666X >@ -< .1 34 ", +" &666< .4. 1& *: +66X ", +" *666& *: O5. <+ :66@ ", +" &665. <@ -> X2 .466+ ", +" +66> X3 3# =- %666. ", +" 46# =- @4 =o ,661 ", +" ;6**2;*<; .oo@666* ", +" X4666666+ ;666662. ", +" @566662 366664o ", +" @5666- @66663O ", +" X:56o >663=. ", +"o O1 .4%X o", +"7&##########>:#-2#############&7", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777", +"77777777777777777777777777777777" +}; --- hplip-3.10.9.orig/debian/hplip-cups.lintian +++ hplip-3.10.9/debian/hplip-cups.lintian @@ -0,0 +1,3 @@ +# dependency on libcrypto.so.0.9.8 could be avoided if were not uselessly linked against it (they use none of its symbols) +# pulled in via libsnmp-dev :-( +possible-gpl-code-linked-with-openssl --- hplip-3.10.9.orig/debian/hplip-doc.install +++ hplip-3.10.9/debian/hplip-doc.install @@ -0,0 +1 @@ +usr/share/doc/hplip/HTML usr/share/doc/hplip-doc/ --- hplip-3.10.9.orig/debian/libsane-hpaio.install +++ hplip-3.10.9/debian/libsane-hpaio.install @@ -0,0 +1,4 @@ +etc/sane.d/dll.d +usr/lib/sane/libsane*.so.* +usr/share/hplip/data/models/models.dat +etc/hp --- hplip-3.10.9.orig/debian/hplip-gui.manpages +++ hplip-3.10.9/debian/hplip-gui.manpages @@ -0,0 +1,12 @@ +hp-devicesettings.1 +hp-fab.1 +hp-faxsetup.1 +hp-toolbox.1 +hp-linefeedcal.1 +hp-makecopies.1 +hp-pqdiag.1 +hp-print.1 +hp-printsettings.1 +hp-sendfax.1 +hp-systray.1 +hp-wificonfig.1 --- hplip-3.10.9.orig/debian/hpijs.install +++ hplip-3.10.9/debian/hpijs.install @@ -0,0 +1,2 @@ +usr/bin/hpijs usr/bin/ +usr/share/cups/drv/hpijs.drv usr/share/cups/drv/ --- hplip-3.10.9.orig/debian/hpijs.postinst +++ hplip-3.10.9/debian/hpijs.postinst @@ -0,0 +1,84 @@ +#! /bin/sh +# postinst script for hpijs +# $Id: $ +# +# 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 http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# 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'. + +case "$1" in + configure) + # Do the following only if CUPS is running and the needed CUPS tools + # are available + if which lpstat > /dev/null 2>&1 && \ + which lpinfo > /dev/null 2>&1 && \ + which lpadmin > /dev/null 2>&1 && \ + LC_ALL=C lpstat -h /var/run/cups/cups.sock -r | grep -v not > /dev/null 2>&1; then + # Update the PPD files of all already installed print queues + driverregexp='drv:///hpijs.drv/|lsb/usr/hplip/HP/HP-Fax.*-hpijs' + gennicknameregexp='s/,?(\s*hpijs,?|,)\s*[\d\.]+[a-zA-Z]*[\d\.]*\s*$//; s/\s*(Foomatic\/|)(hpijs)(\s*\S+|)$//i; s/\s*Series$//i; s/(HP\s+)PhotoSmart(\s+)/\1PS\2/i; s/(HP\s+)DeskJet(\s+)/\1DJ\2/i; s/(HP\s+)Color\s*(LaserJet|LJ)(\s+)/\1CLJ\3/i; s/(HP\s+)LaserJet(\s+)/\1LJ\2/i; s/(HP\s+)OfficeJet(\s+)/\1OJ\2/i; s/(HP\s+)Business\s*InkJet(\s+)/\1BIJ\2/i; s/(HP\s+)DesignJet(\s+)/\1DESIGNJ\2/i; s/(HP\s+)Printer\s*Scanner\s*Copier(\s+)/\1PSC\2/i; s/(HP\s+)Color\s*InkJet\s*Printer\s+/\1/i; s/\s+(zjs|zxs|pcl3)//i' + [ ! -z "$gennicknameregexp" ] && \ + gennicknameregexp="; $gennicknameregexp" + gennicknameregexp='s/\s*\(recommended[^\)]*\)//'"$gennicknameregexp" + tempfiles= + trap 'rm -f $tempfiles; exit 0' 0 HUP INT QUIT ILL ABRT PIPE TERM + tmpfile1=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile1" + lpinfo -h /var/run/cups/cups.sock -m | grep -E $driverregexp > $tmpfile1 + cd /etc/cups/ppd + for ppd in *.ppd; do + [ -r "$ppd" ] || continue + queue=${ppd%.ppd} + lpstat -h /var/run/cups/cups.sock -p "$queue" >/dev/null 2>&1 || continue + nickname=`grep '\*NickName:' "$ppd" | cut -d '"' -f 2 | perl -p -e 's/\n$//' | perl -p -e "$gennicknameregexp" | perl -p -e 's/(\W)/\\\\$1/g'` + lang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + ppdfound="0" + englishppduri="" + tmpfile2=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile2" + cat $tmpfile1 | perl -p -e "$gennicknameregexp; s/\s*$/\n/" | grep -i '\b'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2 + while read newppduri; do + [ "$ppdfound" = "0" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $newppduri 2>/dev/null || continue + newlang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + [ "$newlang" = "$lang" ] && ppdfound="1" + [ "$newlang" = "english" ] && englishppduri="$newppduri" + done < $tmpfile2 + [ "$ppdfound" = "0" ] && [ ! -z "$englishppduri" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $englishppduri 2>/dev/null && ppdfound="1" + [ "$ppdfound" = "1" ] && echo PPD for printer $queue updated >&2 + done + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hplip-3.10.9.orig/debian/hplip-data.dirs +++ hplip-3.10.9/debian/hplip-data.dirs @@ -0,0 +1 @@ +usr/share/hplip --- hplip-3.10.9.orig/debian/hpijs.manpages +++ hplip-3.10.9/debian/hpijs.manpages @@ -0,0 +1 @@ +debian/hpijs.1 --- hplip-3.10.9.orig/debian/hplip-gui.install +++ hplip-3.10.9/debian/hplip-gui.install @@ -0,0 +1,15 @@ +etc/xdg/autostart/hplip-systray.desktop +usr/bin/hp-devicesettings +usr/bin/hp-faxsetup +usr/bin/hp-fab +usr/bin/hp-linefeedcal +usr/bin/hp-makecopies +usr/bin/hp-pqdiag +usr/bin/hp-print +usr/bin/hp-printsettings +usr/bin/hp-sendfax +usr/bin/hp-systray +usr/bin/hp-toolbox +usr/bin/hp-wificonfig +usr/share/applications +usr/share/pixmaps --- hplip-3.10.9.orig/debian/hplip-kubuntu.desktop +++ hplip-3.10.9/debian/hplip-kubuntu.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=HPLIP Toolbox +GenericName=Printer Toolbox +Comment=HP Printing System Control Center +Exec=/usr/bin/hp-toolbox +Icon=/usr/share/pixmaps/hp-logo.xpm +Categories=Application;System; +Terminal=false +Type=Application +StartupNotify=false +OnlyShowIn=KDE; --- hplip-3.10.9.orig/debian/hplip.manpages +++ hplip-3.10.9/debian/hplip.manpages @@ -0,0 +1,17 @@ +hp-align.1 +hp-check.1 +hp-clean.1 +hp-colorcal.1 +hp-firmware.1 +hp-info.1 +hp-levels.1 +hp-makeuri.1 +hp-pkservice.1 +hp-plugin.1 +hp-probe.1 +hp-query.1 +hp-scan.1 +hp-setup.1 +hp-testpage.1 +hp-timedate.1 +hp-unload.1 --- hplip-3.10.9.orig/debian/pycompat +++ hplip-3.10.9/debian/pycompat @@ -0,0 +1 @@ +2 --- hplip-3.10.9.orig/debian/changelog +++ hplip-3.10.9/debian/changelog @@ -0,0 +1,4643 @@ +hplip (3.10.9-0ubuntu7) natty; urgency=low + + * debian/patches/scan-on-dj-1050-2050.dpatch: Corrected model properties + to make scanning on DeskJet 1050 and 2050 actually working (LP: #652963) + + -- Till Kamppeter Sat, 11 Dec 2010 14:10:18 +0100 + +hplip (3.10.9-0ubuntu6) natty; urgency=low + + * debian/rules: Do not ship *.pyc files with the package. + + -- Till Kamppeter Fri, 10 Dec 2010 11:10:18 +0100 + +hplip (3.10.9-0ubuntu5) natty; urgency=low + + * debian/control: Remove hard-coded python-version dependencies (LP: #688002) + + -- Stefano Rivera Fri, 10 Dec 2010 10:27:59 +0200 + +hplip (3.10.9-0ubuntu4) natty; urgency=low + + * debian/control: Modify Depends: and XS-Python-Versions: to build with, + and depend on python 2.7 (LP: #688002). + + -- Bilal Akhtar Fri, 10 Dec 2010 11:06:14 +0300 + +hplip (3.10.9-0ubuntu3) natty; urgency=low + + * Rebuild for python2.7 as the default python version. + + -- Matthias Klose Thu, 09 Dec 2010 16:41:27 +0100 + +hplip (3.10.9-0ubuntu2) natty; urgency=low + + * debian/patches/add_missing_newline_for_error_log.dpatch: Added a missing + newline at the end of the "PAGE:" message for the CUPS error_log. + + -- Till Kamppeter Tue, 7 Dec 2010 10:59:18 +0100 + +hplip (3.10.9-0ubuntu1) natty; urgency=low + + * New upstream release + o New protocol LEDM support for scanning (Low End Data Model). + o Added support for: HP Designjet 4500ps, 4500mfp, T1100ps 24/44in, + T1120ps 24/44in, T770ps 24in, Deskjet 1000 J110, 2000 J210, 3000 + J310, 3050 J610, Envy 100 D410, Officejet 6500 E710n-z, 7500 E910, + pro 8500 A910, Photosmart eStn C510, Plus B210, Prem C310, Prem + C410. + * debian/patches/85_rebuild_python_ui.dpatch: Regenerated. + + -- Till Kamppeter Tue, 7 Dec 2010 09:55:18 +0100 + +hplip (3.10.6-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Try libhpmud.so.0 when libhpmud.so is not found. + Closes: #600670 + + -- Evgeni Golov Wed, 20 Oct 2010 17:57:23 +0200 + +hplip (3.10.6-1ubuntu11) natty; urgency=low + + * debian/local/make-duplex-page-sizes-default.sh, debian/rules: Renamed + paper sizes so that the duplex paper sizes (the ones with the tightest + unprintable margins) get the standard ones and the former standard sizes + get optional "Small Margins" sizes. This makes it possible to print + duplex from current desktop applications like OpenOffice.org or GNOME + applications (LP: #487695). + + -- Till Kamppeter Wed, 10 Nov 2010 10:50:03 +0100 + +hplip (3.10.6-1ubuntu10) maverick; urgency=low + + * debian/local/pyppd/pyppd/: Updated to pyppd 0.4.9, to suppress runtime + error tracebacks by putting a "try: ... except ...: pass" construct around + the main function call. This avoids Apport pop-ups when the execution of the + self-extracting compressed PPD file archives gets stopped by the calling + process (LP: #618017). + + -- Till Kamppeter Wed, 22 Sep 2010 13:23:03 +0200 + +hplip (3.10.6-1ubuntu9) maverick; urgency=low + + * debian/local/pyppd/pyppd/ppd.py, debian/local/pyppd/pyppd/pyppd-ppdfile.in: + Let the compressed PPD archives not contain duplicate PPD URIs, even if the + lines reference the same PPD. Most printer setup tools cannot cope with + duplicate PPD URIs. + + -- Till Kamppeter Wed, 16 Sep 2010 00:28:03 +0200 + +hplip (3.10.6-1ubuntu8) maverick; urgency=low + + * debian/patches/add-lidil-two-cartridge-modes.dpatch: For the Lidil printers + enable two-cartridge modes (black and color cartridge) in the hpcups driver + and assign the choices of the "Printout Mode" option to two-cartridge + moddes in the hpijs driver (LP: #235399). + + -- Till Kamppeter Tue, 14 Sep 2010 16:15:00 +0200 + +hplip (3.10.6-1ubuntu7) maverick; urgency=low + + * debian/control: libsane-hpaio actually works without hplip, it only needs + a few selected files from hplip. What was still missing was + /etc/hp/hplip.conf. So moved over /etc/hp/hplip.conf to libsane-hpaio, + made libsane-hpaio only recommending hplip and hplip depending on + libsane-hpaio again, as hplip also does not work without /etc/hp/hplip.conf. + This configuration allows minumum setups for HP MF device support without + hplip, only using one of hpijs and hpcups for the printer and libsane-hpaio + for the scanner (Closes: #596467). + + -- Till Kamppeter Mon, 13 Sep 2010 09:09:00 +0200 + +hplip (3.10.6-1ubuntu6) maverick; urgency=low + + * debian/control: Made libsane-hpaio depend on hplip and not vice versa + (Closes: #596467). Let hplip recommend libsane-hpaio to not break Ubuntu + standard installation. + + -- Till Kamppeter Sun, 12 Sep 2010 12:00:00 +0200 + +hplip (3.10.6-1ubuntu5) maverick; urgency=low + + * debian/rules: Let PPD files of hpijs-ppds use "foomatic-rip" as CUPS + filter and not "foomatic-rip-hplip". This avoids an ugly link and + problems when uninstalling hpijs-ppds. + * debian/hpijs-ppds.links: Remove the ugly "foomatic-rip-hplip" link from + hpijs-ppds. + + -- Till Kamppeter Sun, 15 Aug 2010 00:56:03 +0200 + +hplip (3.10.6-1ubuntu4) maverick; urgency=low + + * debian/control: Make user aware of that the tools in hplip-gui are Qt-based + (LP: #570842). + + -- Till Kamppeter Sat, 14 Aug 2010 10:57:03 +0200 + +hplip (3.10.6-1ubuntu3) maverick; urgency=low + + * debian/rules: Running PPD compressor inplace did not work on the build + servers due to the .diff.gz not able to convey the empty file + pyppd/__init__.py. Re-added the file via "touch pyppd/__init__.py". + + -- Till Kamppeter Wed, 11 Aug 2010 17:37:03 +0200 + +hplip (3.10.6-1ubuntu2) maverick; urgency=low + + * debian/control: Added build and runtime dependencies for the PPD archiving + and extracting. + * debian/rules: Let build process error out if PPD archiving errors out. + + -- Till Kamppeter Wed, 11 Aug 2010 11:31:03 +0200 + +hplip (3.10.6-1ubuntu1) maverick; urgency=low + + * debian/local/pyppd/, debian/rules: Compressed all the physical PPD files + for the PostScript printers of the hplip-data package into an archiv file + reducing the disk space occupation by a factor of 10, freeing several tens + of megabytes on the Ubuntu Desktop CDs (or on any live CD based on Debian + or a derivative distribution). The archives are self-extracting and located + in /usr/lib/cups/driver/, so that CUPS automatically extracts the PPD + files. Thank you very much to Vitor Baptista who developed this great PPD + compressor in the Google Summer of Code 2010 (LP: #493282). + * debian/hplip.postinst: Updated auto updater for the PPDs of the already + existing print queues to work with the new PPD archive. + * debian/control: Changed versioned conflict of hpijs-ppds with + foomatic-filters-ppds. Now it conflicts for versions bigger than + 20000101 (real foomatic-filters-ppds packages) and not with + foomatic-filters-ppds with a small version number (transitional packages). + + -- Till Kamppeter Tue, 10 Aug 2010 23:16:18 +0200 + +hplip (3.10.6-1) unstable; urgency=low + + * New Upstream Release + * NEW package libsane-hplip - headless scanner libs + * udev/rules.d/40-hplip.rules -> libhpmud0 - headless printing + * fixup debian/shlibs -> shlibs.libhpmud0 + + -- Mark Purcell Sat, 24 Jul 2010 13:50:37 +1000 + +hplip (3.10.6-0ubuntu1) maverick; urgency=low + + * New upstream release + o New protocol LEDM support for device status over Network and USB. + o Do not use cups-config in hp-check (real fix for LP: #530327). + o Added support for: HP Photosmart All-in-one Printer - b010, + Photosmart Wireless All-in-one Printer - b110, Deskjet 1050 j410 + All-in-one Printer, LaserJet Professional m1136 Multifunction + Printer, Deskjet 2050 j510 All-in-one Printer, Officejet 4500 + All-in-one Printer - k710, Officejet 4500 g510n-z All-in-one Printer + * debian/patches/hpcheck-cupsconfig-warn.dpatch: Removed, fixed upstream. + + -- Till Kamppeter Fri, 23 Jul 2010 16:15:18 +0200 + +hplip (3.10.5-4ubuntu1) maverick; urgency=low + + [ Till Kamppeter ] + * debian/patches/black-stripes-on-pcl5c-printouts.dpatch: The PCL 5c + driver (Color LaserJet) printed blank raster lines in black (LP: #561264). + + [ Mark Purcell ] + * Split libsane-hplip - headless scanner libs + + -- Till Kamppeter Sun, 18 Jul 2010 12:15:18 +0200 + +hplip (3.10.5-4) unstable; urgency=high + + * Force Depends: python (>> 2.6), python (<< 2.7) (Closes: #587737) + - Urgency high for RC bug + * Ack python transition NMUs - Thanks Bernd + + -- Mark Purcell Sat, 03 Jul 2010 13:09:53 +1000 + +hplip (3.10.5-3ubuntu3) maverick; urgency=low + + * debian/control: Added alternative scanning frontends to the Recommends: + of hplip-gui, to avoid installing a scanning frontend if there is already + one and also to avoid installing GTK in KDE/Qt-only systems. + * debian/control: Added python-notify to the Recommends: of hplip-gui. + + -- Till Kamppeter Thu, 1 Jul 2010 09:47:18 +0200 + +hplip (3.10.5-3ubuntu2) maverick; urgency=low + + * debian/control: Drop python-notify to suggests, it's pulling half of + the desktop into server images. + + -- Martin Pitt Thu, 01 Jul 2010 08:38:35 +0200 + +hplip (3.10.5-3ubuntu1) maverick; urgency=low + + * debian/copyright: Updated. + * debian/control: Removed hpijs from Recommends: of hplip, as we already + require hplip-cups via Depends:, hpijs is not needed any more for using + HPLIP with all supported HP printers. + + -- Till Kamppeter Wed, 30 Jun 2010 13:31:18 +0200 + +hplip (3.10.5-3.2) unstable; urgency=low + + * Non-maintainer upload. + * Remove unnecessary module path option for dh_pysupport. + * Call dh_installdeb after dh_pysupport. This really + closes: #585627 + + -- Bernd Zeimetz Tue, 22 Jun 2010 21:37:37 +0200 + +hplip (3.10.5-3.1) unstable; urgency=high + + * Non-maintainer upload. + * Remove the need of Python as pre-dependency of hplip. + * Call dh_pysupport for arch:any packages (Closes: #585627) + * Use /usr/share/python/python.mk: + Instead of hard-coding PYTHONPATH, use the proper path depending on the + default Python version. + + -- Bernd Zeimetz Sun, 20 Jun 2010 22:10:09 +0200 + +hplip (3.10.5-3) unstable; urgency=high + + * Switch Depends: hplip:source:Version (Closes: #586385) fixes binNMU + - Urgency high for RC bug + + -- Mark Purcell Sat, 19 Jun 2010 11:30:26 +1000 + +hplip (3.10.5-2) unstable; urgency=low + + * Add Depends: python-notify + * hplip-gui Add ${python:Depends} + * Add +XS-Python-Version: >= 2.5 (Closes: #585627) + * Add debhelper-but-no-misc-depends + * Update Standards-Version: 3.8.4 - no changes necessary + * *.lintian possible-gpl-code-linked-with-openssl + - it uses none of its symbols + * Drop obsolete hpijs[-ppds].NEWS - debian-news-entry-has-unknown-version + * hplip.manpages: drop hp-hpdio.1 - empty-manual-page + * Move more GUI components to hplip-gui + - Replaces: hplip (<= 3.10.5-1ubuntu1) + - hp-fab: -> hplip-gui.install -> hplip-gui.manpages + - hp-toolbox.1 -> hplip-gui.manpages + - usr/share/pixmaps -> hplip-gui.install + - mv hplip.menu -> hplip-gui.menu - menu-command-not-in-package + - Fixes "Icons in notifications missing" (Closes: #581785) + * CUPS/gs segfaults addressed (Closes: #503468) + * hplip Depends: Switch to hpcups as default driver (Closes: #579170) + + -- Mark Purcell Mon, 14 Jun 2010 19:32:20 +1000 + +hplip (3.10.5-1ubuntu1) maverick; urgency=low + + * Uploaded new upstream version also to Ubuntu. + * debian/hplip-cups.postinst, debian/hpijs.postinst: Switch to hpcups as + default driver (migrate HPIJS queues to hpcups). The problem of Ghostscript + segfaulting when generating CUPS raster data is solved and the hpcups + driver needs also more testing. + * debian/control: Added conflict definition to the hplip package for smooth + updating after moving /usr/bin/hp-chjeck back to hplip. + + -- Till Kamppeter Thu, 3 Jun 2010 15:36:18 +0200 + +hplip (3.10.5-1) unstable; urgency=low + + * New upstream release + * Move hp-check back to hplip package - missing cups-config -> warning + * Added +hpcheck-cupsconfig-warn.dpatch + * Refresh udev-rules-use-attrs-not-sysfs-and-hp-mkuri-call-fix.dpatch + * Remove hp-systray-segfault-on-quit.dpatch - included upstream + + -- Mark Purcell Fri, 21 May 2010 18:51:43 +1000 + +hplip (3.10.2-3) unstable; urgency=low + + * Fix "[hpijs-ppds] missing A3 media size for HP Color Inkjet cp1700" + Till reworked c1700 dpatch (Closes: #503621) + + -- Mark Purcell Tue, 13 Apr 2010 06:45:34 +1000 + +hplip (3.10.2-2ubuntu2) lucid; urgency=low + + * debian/hplip-dbg.install, debian/hplip.install, debian/control: Moved + hp-check into hplip-dbg, as it is a debugging tool. Added dependency + on libcups2-dev to hplip-dbg, as hp-check needs cups-config + (LP: #530327). + * debian/hplip-cups.postinst, debian/hpijs.postinst, + debian/hpijs-ppds.postinst: Updated also PPDs with version numbers like + 3.10.2rc1.9. + + -- Till Kamppeter Mon, 12 Apr 2010 10:55:18 +0200 + +hplip (3.10.2-2ubuntu1) lucid; urgency=low + + * debian/control: As we use HPIJS as default printer driver flavor again, + let the "hplip" package recommend the "hpijs" package and not the + "hplip-cups" package. + * debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch, + debian/non-shipped-files.txt: Removed duplicate entry for the HP Color + Inkjet Printer 1700, the wrong entry missed also the large (A3, + SuperB, ...) paper sizes (LP: #290559). + + -- Till Kamppeter Sun, 11 Apr 2010 09:55:18 +0200 + +hplip (3.10.2-2) unstable; urgency=low + + * Fix "can't add printer (Printer queue setup failed)" added debian/hplip.NEWS + - CUPS requires user to be a member of lpadmin group. (Closes: #566692) + * Patch hp-check to check for group membership of lp & lpadmin + - Fixes "start/stop button should fail with permission error dialog if + not member of lpadmin" (Closes: #572247) + * Add Recommends: avahi-daemon "HP Color Laserjet CM1312nfi" (Closes: #564520) + * Fix "[hplip-cups] Page background is printed black" switch back to HPIJS as + default driver (migrate hpcups queues to HPIJS) (Closes: #568377) + * Fix "hpijs_readme.html mentioned in man page does not exist" + - Removed reference (Closes: #561125) + + -- Mark Purcell Sun, 11 Apr 2010 14:26:01 +1000 + +hplip (3.10.2-1ubuntu5) lucid; urgency=low + + [ Till Kamppeter ] + * debian/patches/make-commafy-correctly-work-with-python-2.dpatch: + Installation of the proprietary plug-in did not work with some locales + (LP: #525901). + * debian/hplip-cups.postinst, debian/hpijs.postinst: Switch back to HPIJS as + default driver (migrate hpcups queues to HPIJS) as there are new problems + with hpcups (LP: #553573, LP: #539708, LP: #538031, LP: #405116). + + [ Mark Purcell ] + * Fix "can't add printer (Printer queue setup failed)" added debian/hplip.NEWS + - CUPS requires user to be a member of lpadmin group. (Closes: #566692) + * Add Recommends: avahi-daemon "HP Color Laserjet CM1312nfi" (Closes: #564520) + * Add bug/presubj to hplip-cups, hplip-gui & hpijs + * Add hplip-cups.NEWS + * bug/script provide status message before hp-check + * Patch hp-check to check for group membership of lp & lpadmin + + -- Till Kamppeter Fri, 9 Apr 2010 21:26:18 +0200 + +hplip (3.10.2-1ubuntu4) lucid; urgency=low + + * debian/patches/hp-systray-segfault-on-quit.dpatch: Fixed a hp-systray to + not segfaulting when quitting the program (LP: #546816). + + -- Till Kamppeter Thu, 25 Mar 2010 13:51:18 +0100 + +hplip (3.10.2-1ubuntu3) lucid; urgency=low + + * debian/patches/simple-scan-as-default.dpatch: Make simple-scan the default + scanning frontend (LP: #539015). + + -- Till Kamppeter Wed, 24 Mar 2010 09:13:18 +0100 + +hplip (3.10.2-1ubuntu2) lucid; urgency=low + + * debian/control: Added lsb-release to the build dependencies, as we use + lsb_release to determine whether we build on Ubuntu, to do Ubuntu-specific + steps. + * debian/rules, debian/hplip.install: Install hp-plugin-ubuntu directly + into debian/hplip/, as we cannot use debian/hplip.install for this Ubuntu- + specific file. + + -- Till Kamppeter Tue, 23 Mar 2010 13:11:18 +0100 + +hplip (3.10.2-1ubuntu1) lucid; urgency=low + + * debian/hplip.install: let /usr/bin/hp-plugin-ubuntu get installed. + * debian/patches/hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch: + The hp-mkuri utility did not take into account whether the proprietary + plugin is already installed when returning its exit value. + * debian/patches/ubuntu-hp-mkuri-send-dbus-signal-to-update-notifier.dpatch, + debian/patches/ubuntu-hp-mkuri-notification-text.dpatch: Replaced the + Ubuntu-specific patch for hp-mkuri, as we do not need to send a D-Bus + message any more. + + -- Till Kamppeter Tue, 16 Mar 2010 18:33:18 +0100 + +hplip (3.10.2-1) unstable; urgency=low + + * New Upstream Release + * debian/patches/udev-rules-use-attrs-not-sysfs.dpatch + - Fixes "/lib/udev/rules.d/56-hpmud_support.rules: udev warnings: + SYSFS{}= will be removed in a future udev version..." (Closes: #559289) + + -- Mark Purcell Tue, 02 Mar 2010 13:32:59 +1100 + +hplip (3.10.2-0ubuntu1) lucid; urgency=low + + * New upstream release + o Final 3.10.2 release + o Removed device IDs from the PostScript PPDs again + o Support for *.types and *.convs files in /usr/share/cups/mime/ + * debian/hplip.install: "make install" puts *.types and *.convs files into + /usr/share/cups/mime/ now. + * debian/hpijs.postinst: Corrected regexps for the PPD NickName so that this + package does not migrate existing hpcups-based fax queues to HPIJS. + + -- Till Kamppeter Fri, 26 Feb 2010 14:33:18 +0100 + +hplip (3.10.2~rc1-0ubuntu3) lucid; urgency=low + + * debian/hplip.preinst: when removing old udev rules, handle files that + are marked as obsolete when checking md5sums. + + -- Kees Cook Tue, 16 Feb 2010 16:14:50 -0800 + +hplip (3.10.2~rc1-0ubuntu2) lucid; urgency=low + + * debian/rules: Copy all fax PPDs, there are "Fax3" PPDs now and there will + come more in the future. + * debian/hplip.install: Install also the new pstotiff filter (for fax) and + the corresponding *.types and *.convs files. + + -- Till Kamppeter Fri, 12 Feb 2010 19:35:18 +0100 + +hplip (3.10.2~rc1-0ubuntu1) lucid; urgency=low + + * New upstream pre-release + o The hpcups driver information file (hpcups.drv) is updated for the + devices listed below to align with the product specifications. + Capabilities like print modes, paper sizes, trays, mechanical offsets, + margins, overspray and UIConstraints are consistent with the product + specifications. Affected printers: HP Photosmart Premium Fax All-in-One + C309a, C309c, Photosmart Premium All-in-One C309g, C309h, Photosmart + C53xx, C63xx, D7560, B85xx, Officejet 6000 Printer E609n, E609a, + Officejet 6500 All-in-One Printer E709a, E709c, E709n, E709q. + o Added support for: HP Officejet 4500 All-in-one Printer g510a, g510b, + g510g, g510h + o Added fax support for HP LaserJet m1319f + o Added 1284DeviceID for duplicate PostScript PPD's + * debian/patches/85_rebuild_python_ui.dpatch: Regenerated for new upstream + version. + + -- Till Kamppeter Fri, 12 Feb 2010 17:33:18 +0100 + +hplip (3.9.12-2ubuntu4) lucid; urgency=low + + * debian/patches/udev-rules-use-attrs-not-sysfs.dpatch, + debian/patches/udev-rules-use-attrs-not-sysfs-and-hp-mkuri-call-fix.dpatch: + 56-hpmud_support.rules id not call "hp-mkuri" any more with curent udev. + Added fix to the existing patch for 56-hpmud_support.rules and renamed + the patch. + * debian/local/scripts/hp-plugin-ubuntu, debian/rules: Added script for + downloading and installing HP's proprietary plugin on Ubuntu systems, + taking into account that many systems do not have python-qt installed + and some do not have X. This script is supposed to get called by + update-notifier when triggered by udev on a connection of a printer + which needs the plugin. This script will only be installed when the package + gets built on Ubuntu. + * debian/patches/ubuntu-hp-mkuri-send-dbus-signal-to-update-notifier.dpatch: + Let hp-mkuri not simply generate a notification message when HP's + proprietary plugin is needed for the newly connected printer but also + send a D-Bus message to update-notifier to execute the installation + of the plugin. + + -- Till Kamppeter Thu, 11 Feb 2009 00:06:18 +0100 + +hplip (3.9.12-2ubuntu3) lucid; urgency=low + + * debian/patches/udev-rules-use-attrs-not-sysfs.dpatch: Convert + remaining $sysfs string, too + + -- Daniel T Chen Mon, 04 Jan 2010 21:05:46 -0500 + +hplip (3.9.12-2ubuntu2) lucid; urgency=low + + * debian/patches/udev-rules-use-attrs-not-sysfs.dpatch: Don't use + deprecated syntax (LP: #491346) + + -- Daniel T Chen Fri, 01 Jan 2010 16:23:37 -0500 + +hplip (3.9.12-2ubuntu1) lucid; urgency=low + + * Merged changes from Debian. + * debian/control: hpcups (package hplip-cups) works without the hplip package + as well (even 4-edge borderless on arbitrary paper sizes on HP inkjets), + moved the dependency on hplip to Suggests. + + -- Till Kamppeter Tue, 29 Dec 2009 10:21:18 +0100 + +hplip (3.9.12-2) unstable; urgency=low + + * NEW package libhpmud0 - splits hard dependency between hpijs & hplip + - Fix "hpijs linked against libhpmud.so.0 in hplip package - brings + large (14Mb) depends" (Closes: #454117) + - Fix "automatically got a systray app which I don't need" (Closes: #484801) + - Fix "depends (via hplip) on cups, to no purpose" (Closes: #561134) + * Soften bug/presubj. Fixes "requiring authentication" (Closes: #494420) + * dh_desktop-is-deprecated - removed + * dh_python obsolete as dh_pysupport exists + * Add debian/README.source - fixes patch-system-but-no-source-readme + - Upgrade to Standards-Version: 3.8.3 + + -- Mark Purcell Mon, 28 Dec 2009 16:36:32 +1100 + +hplip (3.9.12-1) unstable; urgency=low + + * New upstream release + * remove unrecognized options: --enable-debug, --disable-foomatic-xml-install + * prnt/hpijs/dj9xxvip.cpp fixed upstream for DVD/CD + - obsoletes debian/patches/set-media-type.dpatch + + -- Mark Purcell Sun, 27 Dec 2009 22:22:16 +1100 + +hplip (3.9.10-4) unstable; urgency=low + + * KBSD patch from KiBi (Closes: #560796) + + -- Mark Purcell Mon, 14 Dec 2009 20:08:44 +1100 + +hplip (3.9.10-3ubuntu4) lucid; urgency=low + + * debian/control: Add "fdupes" to the build dependencies. The utility is + needed for the previous upload to work. + + -- Till Kamppeter Wed, 10 Dec 2009 09:55:18 +0100 + +hplip (3.9.10-3ubuntu3) lucid; urgency=low + + * debian/rules: Remove identical PPD files, they only waste space and + cause duplicate entries in printer setup tools (LP: #493282). + + -- Till Kamppeter Wed, 09 Dec 2009 16:45:18 +0100 + +hplip (3.9.10-3ubuntu2) lucid; urgency=low + + * Update PYTHONPATH for both Debian & Ubuntu configs + + -- Mark Purcell Tue, 08 Dec 2009 07:57:13 +1100 + +hplip (3.9.10-3ubuntu1) lucid; urgency=low + + * Merged man page build fix into Ubuntu. + + -- Till Kamppeter Sun, 06 Dec 2009 15:18:18 +0100 + +hplip (3.9.10-3) unstable; urgency=low + + * Set local PYTHONPATH & LD_LIBRARY_PATH during man page build + - "hplip_3.9.10-2: FTBFS: missing man page" (Closes: #558489) + + -- Mark Purcell Sun, 06 Dec 2009 19:28:34 +1100 + +hplip (3.9.10-2ubuntu1) lucid; urgency=low + + * debian/patches/hplip-systray-longer-timeout-for-system-tray-start.dpatch: + Let hp-systray wait for the system tray appearing on the user's desktop + panel up to three minutes before giving up. This should finally stop + hp-systray to give up even on the slowest systems (Closes: #517365, + LP: 335662). + + -- Till Kamppeter Sun, 29 Nov 2009 21:44:18 +0100 + +hplip (3.9.10-2) unstable; urgency=low + + * "New upstream version 3.9.10 available" (Closes: #554714) + * Fix "hp-toolbox crash with "ImportError: No module named qt"" + - relevant utils to hplip-gui (Closes: #525556,#525786,#520789,#484043) + * hpli-gui - Depends: hplip (= ${hplip:binary:Version}) + - Replaces: hplip (<= 3.9.8-1) (Closes: #557524) + * Versioned Suggests: Recommends: have no effect - removed + * Match depends to exact binary version (= ${hplip:binary:Version}) + * Update hplip.preinst to remove obsolete udev rules (Closes: #556431,#552376) + * hplip now recommends hplip-cups (Closes: #494421) + * Depends: python-pexpect (Does not fix bug 555361) + - TODO remove embedded code + * hplip.NEWS truncated to only include relevant messages (Closes: #432454) + * Added "[hplip-gui] dependency on ktsuss" (Closes: #523315) + * hplip-data: s/Recommends:/Suggests:/ hplip (Closes: #387093) + * Move hplip-gui manages to package {Replaces: hplip (<= 3.9.10-1)} + + -- Mark Purcell Sun, 29 Nov 2009 17:44:27 +1100 + +hplip (3.9.10-1) unstable; urgency=low + + * New Upstream Release + - sync with ubuntu + + -- Mark Purcell Sun, 22 Nov 2009 11:05:35 +1100 + +hplip (3.9.10-0ubuntu2) lucid; urgency=low + + * debian/control: Let the "hplip" package recommend "hplip-cups¨ again + instead of "hpijs". + + -- Till Kamppeter Tue, 10 Nov 2009 14:14:18 +0100 + +hplip (3.9.10-0ubuntu1) lucid; urgency=low + + * New upstream release + o hpcups driver rewritten: Simpler code, no bi-directional access needed + any more, especially not for 4-edge borderless printing, therefore + faster, print modes, paper sizes, mechanical offsets, and margins are + controlled by the PPD now, so easier debugging in cooperation with the + user. + o Added support for: HP Photosmart All-in-one Printer b109 Series, + including Wireless, HP Photosmart Premium All-in-one Printer c309 + Series, including Fax, HP Photosmart a640 Printer Series, HP Deskjet + f24xx All-in-one Printer Series, HP Deskjet f4500 All-in-one Printer + Series + * debian/patches/hp_photosmart_pro_b9100_support.dpatch, + debian/patches/85_rebuild_python_ui.dpatch: Regenerated for new upstream + version, especially let 85_rebuild_python_ui.dpatch make "pyuic4" being + used. + * debian/patches/hplip-polkit-1-migration.dpatch, + debian/patches/hpcups-drv-page-sizes-order.dpatch: Removed, fixed upstream. + * debian/control: Replaced old Qt3-based build dependency on "pyqt-tools" + by the new Qt4-based "pyqt4-dev-tools". + * debian/control: Made "hplip-gui" requiring "hplip-cups" as hp-setup can + only create fax queues with the hpcups driver (LP: #459275). + * debian/hplip-cups.postinst, debian/hpijs.postinst: Let queues using + the HPIJS driver be automatically migrated to using the hpcups driver as + the regressions of hpcups should be fixed now. + + -- Till Kamppeter Tue, 10 Nov 2009 10:29:18 +0100 + +hplip (3.9.8-1ubuntu2) karmic; urgency=low + + * debian/patches/set-media-type.dpatch: Fix media type selection for CD/DVD + printing with the HPIJS driver, as we still use HPIJS by default. Fixes + LP: #380858 for the HPIJS driver. + + -- Till Kamppeter Fri, 9 Oct 2009 18:39:38 +0200 + +hplip (3.9.8-1ubuntu1) karmic; urgency=low + + [ Till Kamppeter ] + * merged in Debian fixes. + + [ Mark Purcell ] + * hplip.NEWS truncated to only include relevant messages (Closes: #432454) + * Modify hplip-dbg Section: debug + + -- Till Kamppeter Sun, 4 Oct 2009 14:00:38 +0200 + +hplip (3.9.8-1) unstable; urgency=low + + * New Upstream Release + - sync with ubuntu + * Fix "Please port to PolicyKit 1" (Closes: #549499) + - ubuntu patch to support policykit1 + * Fix "Missing /usr/lib/libhpmud.so symlink" (Closes: #548379) + - libsane-hpaio.so.1 now links correctly at build time + + -- Mark Purcell Sun, 04 Oct 2009 09:29:02 +1100 + +hplip (3.9.8-0ubuntu7) karmic; urgency=low + + * debian/hplip-cups.postinst, debian/hpijs.postinst: Let the hpijs package + migrate queues for the hpcups driver (hplip-cups package) to the HPIJS + driver when updating PPDs of existing queues. The hplip-cups package + does not migrate HPIJS queues any more now. We prefer HPIJS for now as + hpcups has still problems, especially shifted prints on the back side + of the sheet (LP: #426826), page size confusion with duplex printing + (LP: #428588) and borderless printing. + * debian/patches/kde4-kdesudo-support.dpatch: Try also + /usr/lib/kde4/libexec/kdesu as sudo GUI (LP: #281880). + * debian/hplip.install, debian/hplip-gui.install: Moved all hp-* utilities + which do not work in text mode from hplip to hplip-gui (LP: #430539). + * debian/control: Let hplip recommend hpijs instead of hplip-cups, as this + is our preferred driver for now. Add to hplip-gui's dependencies + kdebase-runtime as one of the alternatives to provide a sudo GUI utility + (LP: #281880). Added versioned depends and conflicts on hplip to hp-gui, + due to the moving of the GUI-only utilities to hplip-gui. + * debian/patches/hp-setup-prompt-for-custom-PPD.dpatch: hp-setup did not + prompt for a custom PPD if the description field of the default PPD is + empty (LP: #432808). + + -- Till Kamppeter Thu, 3 Sep 2009 19:22:38 +0200 + +hplip (3.9.8-0ubuntu6) karmic; urgency=low + + * debian/hpijs-ppds.postinst, debian/hplip-cups.postinst, + debian/hplip.postinst, debian/hpijs.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. + + -- Till Kamppeter Thu, 3 Sep 2009 19:22:38 +0200 + +hplip (3.9.8-0ubuntu5) karmic; urgency=low + + * debian/control: Let HPLIP build-depend and depend on policykit-1. + + -- Till Kamppeter Thu, 3 Sep 2009 19:22:38 +0200 + +hplip (3.9.8-0ubuntu4) karmic; urgency=low + + * debian/patches/hplip-polkit-1-migration.dpatch: Upstream patch to make + HPLIP supporting Policy Kit 1.0 (LP: #419834). + + -- Till Kamppeter Wed, 2 Sep 2009 17:13:38 +0200 + +hplip (3.9.8-0ubuntu3) karmic; urgency=low + + * debian/control: Added to all "cupsddk" dependencies an alternative + depenmndency on CUPS 1.4.0 or newer, as CUPS DDK is now part of CUPS. + + -- Till Kamppeter Wed, 26 Aug 2009 11:38:38 +0200 + +hplip (3.9.8-0ubuntu2) karmic; urgency=low + + * debian/patches/hpcups-drv-page-sizes-order.dpatch: Upstream patch to improve + the order of the page sizes in the user interface menus. Now the margin + variants of the same size (for duplex and full bleed) stand together. + + -- Till Kamppeter Wed, 12 Aug 2009 12:47:38 +0200 + +hplip (3.9.8-0ubuntu1) karmic; urgency=low + + * New upstream release + o mDNS/Bonjour support + o Support for udev variable ID_HPLIP (ACL setting via udev rule + 70-acl.rules) + o Added support for: HP Deskjet d1620, d1630, d1650, d1658, d1660, d1663, + d5545, d5560, d5563, d5568, Ink Advantage k109a, k209a, PhotoSmart + c4740, c4750, c4780, c4783, c4785, c4788, c4793, c4795, c4798, c4799, + Photosmart Plus All-in-one b209a, b209b, b209c, Officejet 7000 Wide + Format Printer e809a, HP LaserJet p3011, p3015 + * debian/rules: Added "--enable-udev-acl-rules" to "./configure" command line + * debian/hplip.install: Let 40-hplip.rules get installed in /lib/udev/rules.d, + removed HAL .fdi file. + * debian/hplip.udev: Removed, adopted upstream. + * debian/patches/plugin-execution-fix.dpatch, + debian/patches/hplip-device-id-report-fix.dpatch, + debian/patches/hpinfo-query-without-cups-queue.dpatch: Removed, fixed + upstream. + * debian/rules: Removed the corrections on the Fax PPDs, they are fixed + upstream now. + * debian/hplip-cups.postinst, debian/hpijs.postinst, + debian/hpijs-ppds.postinst: Let updates of the PPDs of existing queues + also work with HPLIP versions where there is more than one letter appended + to the version number. + * debian/hplip-cups.postinst: Made automatic migration of Fax queues to + hpcups working. + + -- Till Kamppeter Thu, 6 Aug 2009 18:55:38 +0200 + +hplip (3.9.6b-1ubuntu4) karmic; urgency=low + + * debian/patches/plugin-execution-fix.dpatch: Added "--nox11" options to the + command lines for running the installer for the proprietary plugin as + otherwise hp-plugin does not succeed to run the installer when it is run + out of another program. + + -- Till Kamppeter Sun, 26 Jul 2009 01:24:49 +0200 + +hplip (3.9.6b-1ubuntu3) karmic; urgency=low + + * debian/patches/hplip-device-id-report-fix.dpatch: Fixed unreliable + libusb-based device ID poll by using HPLIP's own device ID poll. + + -- Till Kamppeter Thu, 23 Jul 2009 20:56:49 +0200 + +hplip (3.9.6b-1ubuntu2) karmic; urgency=low + + * debian/patches/hplip-device-id-report-fix.dpatch: Fixed segfault when + usblp kernel module was not loaded. + + -- Till Kamppeter Thu, 23 Jul 2009 16:00:49 +0200 + +hplip (3.9.6b-1ubuntu1) karmic; urgency=low + + * debian/patches/hplip-device-id-report-fix.dpatch: Patch from Tim Waugh + to let the "hp" CUPS backend report the real device IDs of USB printers. + This is a preparation for the udev-based Plug'n'Print in + system-config-printer. + * debian/control: Added build dependency on libudev-dev, needed for the + device ID patch. + + -- Till Kamppeter Thu, 23 Jul 2009 02:15:49 +0200 + +hplip (3.9.6b-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Wed, 15 Jul 2009 21:43:30 +1000 + +hplip (3.9.6b-0ubuntu1) karmic; urgency=low + + * New upstream bug fix release + o CD/DVD Tray use (LP: #380858) is fixed upstream now. + o Fixes on unprintable margins and option constraints. + o Minor fixes. + * debian/patches/set-media-type-and-input-tray-for-cd-dvd.dpatch: Removed, + fixed upstream. + + -- Till Kamppeter Mon, 13 Jul 2009 17:15:49 +0200 + +hplip (3.9.6-0ubuntu3) karmic; urgency=low + + * debian/patches/set-media-type-and-input-tray-for-cd-dvd.dpatch: Let + the media type CD/DVD and the CD tray automatically get selected if the + user chooses a CD/DVD size as paper size (LP: #380858). + + -- Till Kamppeter Mon, 22 Jun 2009 18:32:49 +0200 + +hplip (3.9.6-0ubuntu2) karmic; urgency=low + + * debian/hplip.udev: Added 'ENV{ID_HPLIP}="1"' to all device rules, so that + the /lib/udev//rules.d/70-acl.rules can react to the HPLIP-supported devices + to open them up for accessing the non-printing functions by normal users. + + * debian/hplip.install: Do not install an UDEV rules file in /etc, as we + can put package-supplied rules into /lib. + + * debian/local/scripts/create_hal_global_fdi_from_hpmud_rules.sh: Updated + HAL rules to use "usb_device" instead of "usb". + + -- Till Kamppeter Fri, 19 Jun 2009 14:56:49 +0200 + +hplip (3.9.6-0ubuntu1) karmic; urgency=low + + * New upstream release + o The new native CUPS driver (HPCUPS) is now the default printer driver. + We now have PPDs with exact printable regions for normal, borderless + and duplex paper sizes. + o A new utility 'hp-wificonfig' allows to configure select wifi-capable + printers on a wireless network. + o Added support for: HP Deskjet d2660, d2645, d2663, d2666, d2668, d2680, + f4440, f4435, f4450, f4470, f4472, f4473, f4480, f4483, f4488, f4492, + LaserJet p3011, p3015, m4349 MFP, m9059 MFP, Photosmart c4640, c4650, + c4680, c4610, c4635, c4670, c4673, c4680, c4683, c4688, Color LaserJet + cp5225, cp5225n, cp5225dn, cm6049 MFP, Officejet 6000, 6000 Wireless. + * debian/rules: Updated ./configure options + * debian/rules: Create empty files NEWS, README, AUTHORS, and ChangeLog + before building and remove them on cleaning. They are needed by autoreconf. + * debian/rules: Updated installation of Fax PPDs, for both the CUPS + Raster driver and HPIJS. + * debian/rules: Removed PPD manipulation code which did not work any more + for longer time. Removed also some code which was commented out. + * debian/rules, debian/hpijs-ppds.install, debian/hplip.install: Moved + PPDs into /usr/share/ppd/hplip, moved PostScript PPDs into the hplip + package. + * debian/hplip-cups.install: Updated to the files which are actually present + in this version. + * debian/control: Updated to make hplip-cups instead of hpijs being the + preferred printer driver. + * debian/control: Added cups-client dependency to hplip package, to assure + that the auto-update of the PPDs of existing print queues works. + * debian/hplip.postinst, debian/hplip-cups.postinst, debian/hpijs.postinst, + debian/hpijs-ppds.postinst: Updated auto-update facility for the PPD + files of existing print queues. + * debian/hplip-cups.postinst: Modified regexps for PPD auto-update so that + HPIJS queues get migrated to hpcups queues. + * debian/hpijs-ppds.links: Static PPDs use foomatic-rip-hplip as filter name, + added link to make them work anyway. + + -- Till Kamppeter Thu, 18 Jun 2009 20:59:49 +0200 + +hplip (3.9.4b-1ubuntu4) karmic; urgency=low + + * debian/control: Added ghostscript-cups dependency. (LP: #385606) + + -- Till Kamppeter Thu, 11 Jun 2009 22:03:49 +0200 + +hplip (3.9.4b-1ubuntu3) karmic; urgency=low + + * debian/control: Moved dependencies of hpijs, hpijs-ppds, and hplip-cups + on cups, cups-client back to Depends:, for post-install this is + sufficient. + + -- Till Kamppeter Tue, 2 Jun 2009 09:16:49 +0200 + +hplip (3.9.4b-1ubuntu2) karmic; urgency=low + + * debian/control: Moved dependencies of hpijs, hpijs-ppds, and hplip-cups + on cups, cups-client, and perl-base to Pre-Depends:, as only this way it + is assured that these packages are configured (especially CUPS daemon + running) before this package gets configured (update of the PPDs of + existing queues). + + * debian/hpijs.postinst: Made update of the PPD files of already existing + CUPS queues also working with the crippled NickNames of the PPDs of HPLIP + 3.9.2. + + -- Till Kamppeter Mon, 1 Jun 2009 21:29:49 +0200 + +hplip (3.9.4b-1ubuntu1) karmic; urgency=low + + * debian/patches/kde4-kdesudo-support.dpatch: Fixed typo (LP: #380311). + + -- Till Kamppeter Tue, 26 May 2009 01:14:49 +0200 + +hplip (3.9.4b-1) unstable; urgency=low + + * New Upstream Release + + -- Mark Purcell Wed, 20 May 2009 21:13:15 +1000 + +hplip (3.9.4b-0ubuntu1) karmic; urgency=low + + * New upstream release + o Added PolicyKit support - command line tools like hp-setup, hp-plugin, + etc. are now run as a regular user, not root/superuser + o Added GPG digital signature support to the the HPLIP plug-in. This + feature validates that the plug-in is not corrupted and is authentic + prior to installation. + o Added CUPS Raster Driver (for testing only). + o Added support for HP LaserJet p1009, Designjet 4020ps, 4520ps, + 4520mfp (except fax), HP Officejet 6500. + o Bug fixes. + * debian/rules: "./configure" options for new CUPS Raster driver. + * debian/rules, debian/control, debian/hplip-cups.install, + debian/hplip-cups.postinst, debian/hplip.install: Add binary package + "hplip-cups" for the new CUPS Raster driver. + * debian/rules, debian/control: Activate PolicyKit support. + * debian/control: Added "cups" to Depends: of all binary packages + containing or generating PPD files, as a running CUPS daemon is needed + for the automatic update of existing print queues. + * hplip.install: Added new files. + * debian/patches/nicknames-device-ids.dpatch, + debian/patches/hpdio_settings_dialog.dpatch: Removed, applied upstream. + * debian/patches/delayed-hp-systray-start.dpatch, + debian/patches/kde4-kdesudo-support.dpatch: Regenerated. + + -- Till Kamppeter Fri, 15 May 2009 22:12:49 +0200 + +hplip (3.9.2-3ubuntu4) jaunty; urgency=low + + * debian/patches/nicknames-device-ids.dpatch: Added patch from upstream + for not shortening the *NickName: entries in the PPDs and not to replace + " " by "_" in the device IDs in the PPDs (Upstream bugs: LP: #349539, + LP: #349547). + + -- Till Kamppeter Mon, 30 Mar 2009 00:56:49 -0700 + +hplip (3.9.2-3ubuntu3) jaunty; urgency=low + + * Rebuild of unchanged source package. The Python installed on the Ubuntu + build server for i386 was broken and produced a broken cupsext.so file + (LP: #349781, LP: #349467). + + -- Till Kamppeter Mon, 30 Mar 2009 11:24:49 +0200 + +hplip (3.9.2-3ubuntu2) jaunty; urgency=low + + * debian/hpijs.postinst, debian/hpijs-ppds.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). + + -- Till Kamppeter Thu, 26 Mar 2009 15:28:49 +0100 + +hplip (3.9.2-3ubuntu1) jaunty; urgency=low + + * debian/local/apport-hook.py, debian/rules, debian/hplip-data.install: + Added apport hook (LP: #338442). + + -- Till Kamppeter Thu, 19 Mar 2009 16:44:49 +0100 + +hplip (3.9.2-3) unstable; urgency=low + + * Do not remove .pyc/.pyo on upgrades + + -- Mark Purcell Tue, 17 Mar 2009 20:24:47 +1100 + +hplip (3.9.2-2) unstable; urgency=low + + * Use Christopher Martin's debian/hplip.udev - group lp + - hplip.NEWS advises users to use group lp + - group scanner is depreciated to match upstream + - (Closes: #517297) "hplip udev rules never match" + * hpdio_settings_dialog.dpatch also fixes: + - (Closes: #503723) hplip: python /usr/bin/hp-systray at 100% CPU + - Fixes "[hplip] hp-systray at 100% CPU" (Closes: #519696) + + -- Mark Purcell Sun, 15 Mar 2009 10:52:32 +1100 + +hplip (3.9.2-1ubuntu3) jaunty; urgency=low + + * Also add missing ${python:Depends} to hplip-data. + + -- Steve Langasek Mon, 16 Mar 2009 13:30:57 +0000 + +hplip (3.9.2-1ubuntu2) jaunty; urgency=low + + * The python scripts are in hplip-data - call dh_pysupport -i, not + dh_pysupport -a, so we don't end up shipping .pyc files in the + package! + + -- Steve Langasek Mon, 16 Mar 2009 12:50:52 +0000 + +hplip (3.9.2-1ubuntu1)) jaunty; urgency=low + + [ Till Kamppeter ] + * debian/patches/hpdio_settings_dialog.dpatch: Bug fix patch from upstream, + fixes busy loop when switching to another user and crash of settings + dialog (see LP: #335116). + + [ Mark Purcell ] + * debian/control: Standards version 3.8.0. + + -- Mark Purcell Sun, 15 Mar 2009 08:26:16 +1100 + +hplip (3.9.2-1) unstable; urgency=low + + [ Till Kamppeter ] + * New upstream release + o Fully Qt4-based + o Added printing support for HP Color LasetJets 1600, 2600, and CP1215 + o Added support for HP OfficeJet Pro 8xxx series + o Tons of bug fixes + * debian/control, debian/rules: Qt3 is not needed any more + * debian/control: hp-toolbox (package hplip-gui) needs python-qt4-dbus now. + * debian/patches/pdf_printing_support.dpatch: Removed, applied upstream. + * debian/patches/systray-applet-with-qt4.dpatch: Removed, not needed any + more in Qt4-only environment. + * debian/patches/delayed-hp-systray-start.dpatch: Delay start of HPLIP + system tray applet, as it sometimes got started before the system tray was + available. + * debian/patches/kde4-kdesudo-support.dpatch, + debian/patches/hp_photosmart_pro_b9100_support.dpatch, + debian/patches/hpinfo-query-without-cups-queue.dpatch, + debian/patches/85_rebuild_python_ui.dpatch: Regenerated. + + -- Mark Purcell Mon, 09 Mar 2009 12:52:14 +1100 + +hplip (2.8.12-3ubuntu2) jaunty; urgency=low + + * Rebuild with python (>= 2.6). + + -- Matthias Klose Tue, 24 Feb 2009 23:35:05 +0100 + +hplip (2.8.12-3ubuntu1) jaunty; urgency=low + + [ Till Kamppeter ] + * debian/patches/hpinfo-query-without-cups-queue.dpatch: Allow hp-info to + query URIs for which there is no CUPS queue (LP: #329220). + + [ Mark Purcell ] + * debian/patches/hp-check_debian.dpatch: Fixed hp-check for the SANE driver + + -- Till Kamppeter Wed, 18 Feb 2009 11:35:45 +0100 + +hplip (2.8.12-3) unstable; urgency=low + + * Fix "Breaks: udev (<< 136-1) which is only in Ubuntu; uninstallable + on Debian" removed from debian/control (Closes: #515750) + + -- Mark Purcell Wed, 18 Feb 2009 07:34:36 +1100 + +hplip (2.8.12-2) unstable; urgency=low + + * Add Recommends for sane-utils/ xsane + * Conflicts: hpoj (Closes: #508008) + * debian/rules add get-orig-source target + - Available if gnome-pkg-tools is installed + * Fix hp-check to work recognise Debian install + - Fix "hp-check complains about missing SIP even when sip4 installed" + (Closes: #483843) + - Fix "suggests installation of already installed sane" (Closes: #494419) + - Fix "hp-check complains for lacking hpaio support in sane but + package configures it ok" (Closes: #494430) + - Fix "Debian/ Ubuntu place hpaio in /etc/sane.d/dll.d/hplip, so lets + check there too" (Closes: #512596) + * Fix "dplip: please change default icon to + /usr/share/pixmaps/HPmenu.xpm" patch from Fabian (Closes: #415048) + + -- Mark Purcell Mon, 16 Feb 2009 23:47:44 +1100 + +hplip (2.8.12-1ubuntu5) jaunty; urgency=low + + * debian/rules: Returned UDEV rules priority to 40. + * debian/hplip.udev, debian/rules: Ship our own UDEV rules again, the + upstream ones have many problems (LP: #319660, LP: #319661, LP: #319662, + LP: #319665). + + -- Till Kamppeter Wed, 21 Jan 2009 15:20:45 +0100 + +hplip (2.8.12-1ubuntu4) jaunty; urgency=low + + * debian/hplip.udev, debian/rules: Do not ship our own UDEV rules but use + the upstream ones. Use also the upsttream priority (55) for these rules. + * debian/hpdio.py, debian/rules: Removed, the file is provided upstream + now. + * debian/patches/hp-levels-without-tty.dpatch: Removed, problem fixed + upstream (Upstream bug LP: #299479). + + -- Till Kamppeter Wed, 21 Jan 2009 15:20:45 +0100 + +hplip (2.8.12-1ubuntu3) jaunty; urgency=low + + * Restore udev rules that assign the lp group to /dev/bus/usb devices + for certain printers. LP: #318262. + + -- Scott James Remnant Wed, 21 Jan 2009 12:59:43 +0000 + +hplip (2.8.12-1ubuntu2) jaunty; urgency=low + + * debian/rules, debian/hplip.install, debian/hplip.links: Automatization + of file selection for generating symlinks to the executables and + generating the man pages. This avoids that new tools and man pages get + forgotten. + + -- Till Kamppeter Sat, 10 Jan 2009 17:00:45 +0100 + +hplip (2.8.12-1ubuntu1) jaunty; urgency=low + + * Merge from Debian + + -- Till Kamppeter Fri, 9 Jan 2009 14:14:45 +0100 + +hplip (2.8.12-1) experimental; urgency=low + + * New upstream release + * Distribution experimental while we await lenny + * del debian/patches included upstream; + - manpage-whatis.dpatch, hpssd-correct-hp-sendfax-call.dpatch, + 61_noqt_message.dpatch, qt4-systray-with-qt3-utilities.dpatch + + -- Mark Purcell Sat, 03 Jan 2009 13:43:19 +1100 + +hplip (2.8.10-2) experimental; urgency=low + + * Sync with Ubuntu + + -- Mark Purcell Sun, 07 Dec 2008 14:12:31 +1100 + +hplip (2.8.10-1ubuntu3) jaunty; urgency=low + + * Add Breaks to ensure the right version of udev gets used. + + -- Scott James Remnant Fri, 09 Jan 2009 11:51:57 +0000 + +hplip (2.8.10-1ubuntu2) jaunty; urgency=low + + * debian/rules: Don't install udev rules anymore; all these do is try and + put things in the scanner group which has been removed upstream (for + precisely this reason - printers aren't scanners!) + * debian/hplip.preinst: Remove udev rules on upgrade + + -- Scott James Remnant Wed, 07 Jan 2009 14:27:59 +0000 + +hplip (2.8.10-1ubuntu1) jaunty; urgency=low + + * debian/hpijs.postinst, debian/hpijs-ppds.postinst: Do not try to update + the PPDs of existing print queues if CUPS is not installed or not running + (LP: #302532). + + -- Till Kamppeter Wed, 26 Nov 2008 22:26:45 +0100 + +hplip (2.8.10-1) experimental; urgency=low + + * Fix "New upstream version 2.8.9" sync with Ubuntu + (Closes: #501275) + * Distribution experimental while we await lenny + + -- Mark Purcell Sun, 23 Nov 2008 11:08:26 +1100 + +hplip (2.8.10-0ubuntu4) jaunty; urgency=low + + * debian/control: Really fix the updating conflict of hplip and hplip-gui + due to the move of /usr/share/pixmaps/HPmenu.xpm in HPLIP 2.8.6.b-2 + (Closes: #502055, LP: #299542). + + -- Till Kamppeter Thu, 20 Nov 2008 12:30:02 +0100 + +hplip (2.8.10-0ubuntu3) jaunty; urgency=low + + * debian/hpijs.postinst, debian/hpijs-ppds.postinst: Make maintainer scripts + silent if there are no PPDs of existing print queues (LP: #299889). + + -- Till Kamppeter Wed, 19 Nov 2008 15:51:02 +0100 + +hplip (2.8.10-0ubuntu2) jaunty; urgency=low + + * debian/rules: Set Python module path for calls of HPLIP components + during package build. + * debian/patches/hp-levels-without-tty.dpatch: Make hp-levels working + also without access to a TTY, for example to generate the man page with + "--help-man" during package build. + + -- Till Kamppeter Tue, 18 Nov 2008 12:09:02 +0100 + +hplip (2.8.10-0ubuntu1) jaunty; urgency=low + + * New upstream release + - Closes: #501275, LP: #296399 + * debian/hpijs.postinst, debian/hpijs-ppds.postinst: Let the PPD files of the + existing print queues get automatically updated after each installation of + this package. + * Refresh 85_rebuild_python_ui.dpatch, + hp_photosmart_pro_b9100_support.dpatch, systray-applet-with-qt4.dpatch + * bugs-in-generated-ppds.dpatch: Removed, applied upstream. + * text-only-without-systray-applet-traceback.dpatch: Removed, problem solved + upstream. + * Add manpages at build using --help-man option + * Add hp_photosmart_pro_b9100_support.dpatch description + * Add manpage-whatis.dpatch + * debian/rules: The fax PPDs are gzipped in the source tree now, unzip + them before patching + * debian/hpdio.py, debian/rules: Added file which was missing in the source + tarball, closes LP: #299011 + * qt4-systray-with-qt3-utilities.dpatch: Suppress warning that Qt4 support + is not completed and let systray applet not force the hp-toolbox into Qt4 + mode (LP: #299011). + * debian/rules: Let package build with both Qt3 and Qt4 support, let Qt3 + be used by default ("ui-toolkit=qt3" in /etc/hp/hplip.conf), closes + LP: #299011 + * hpssd-correct-hp-sendfax-call.dpatch: Correct call of hp-sendfax, + specifying the print queue needs "--printer" now and not "--fax". + + -- Till Kamppeter Mon, 17 Nov 2008 11:25:02 +0100 + +hplip (2.8.7-1) experimental; urgency=low + + * Distribution experimental while lenny is unreleased + - hplip/2.8.6.b is target for lenny + * Merge my branches/lenny changes r184:212 into trunk + * Update dpatch descriptions DP: + * unused-override debian/{hpijs,hplip-data}.lintian + + -- Mark Purcell Thu, 16 Oct 2008 00:18:25 +1100 + +hplip (2.8.6.b-4) unstable; urgency=low + + * Fix "hp-scan: Aborts with a traceback when trying to scan." + - Apply missing patches from -3 upload (Closes: #490640) + + -- Mark Purcell Thu, 15 Jan 2009 23:56:59 +1100 + +hplip (2.8.6.b-3) unstable; urgency=low + + * hplip Replaces hplip-gui (<< 2.8.6.b-2) + - File conflict with hplip-gui (Closes: #502055) + * Apply patch (faulty scanext.so) from dwelsh + - hp-scan: Aborts with a traceback when trying to scan. + hplip-2.8.6-hp_scan_link.dpatch (Closes: #490640) + * Sync Ubuntu patches & changes: + debian/patches/pdf_printing_support.dpatch + debian/patches/pjl-duplex-binding.dpatch + debian/patches/kde4-kdesudo-support.dpatch + debian/patches/bugs-in-generated-ppds.dpatch + - Exclude /usr/share/hplip/install.py + - hplip-gui requires one of "gksu", "kdesu", and "kdesudo" + - debian/rules: Add *cupsFilter lines for PDF input + * unused-override debian/{hpijs,hplip-data}.lintian + + -- Mark Purcell Wed, 15 Oct 2008 23:44:41 +1100 + +hplip (2.8.6.b-2) unstable; urgency=low + + * Lintian cleanup: + * hpijs-ppds Depends: hpijs - lintian:stronger-dependency-implies-weaker + * Update 14_charsign_fixes.dpatch + - lintian:dpatch-missing-description + * hplip.NEWS & hpijs-ppds.NEWS - lintian:syntax-error-in-debian-news-file + * hplip-data Depends: python - perhaps should be called hplip-common? + - lintian:python-script-but-no-python-dep + * -x colorcal4form_base.ui distros.dat executable-not-elf-or-script + * Ship small .xpm with hplip not -gui package + - lintian:menu-icon-missing + * hplip.lintian libhpip0 & libhpmud0 - not shared libs internal only + - lintian:package-name-doesnt-match-sonames + * Update debian/hplip-doc.doc-base + - lintian:doc-base-abstract-might-contain-extra-leading-whitespaces + * hplip-doc.doc-base Section: System/Administration + - lintian:doc-base-unknown-section + * Cleanup hplip.lintian - linitan:unused-override + * Cleanup *.desktop - lintian:desktop-entry-contains-encoding-key + * Fixup hplip/presubj lintian:executable-not-elf-or-script + * Add URL to hp-makeuri-uri-only-output.dpatch Description ##DP + + * Other issues: + * Enable GNU/kFreeBSD builds - thanks Petr Salinger + - FTBFS on GNU/kFreeBSD (fixup of debian/rules needed) (Closes: + #497625) + * Fixup hpojs-ppds.postinst s/cupsys/cups/ - thanks Michael Wagner + - postinst invokes cupsys instead of cups (Closes: #498156) + * Really apply hp-makeuri-uri-only-output.dpatch - thanks Avi Rozen + - hp-makeuri -c does not print cups uri (Closes: #500183) + + -- Mark Purcell Sun, 12 Oct 2008 22:45:42 +1100 + +hplip (2.8.7-0ubuntu6) intrepid; urgency=low + + * debian/patches/kde4-kdesudo-support.dpatch: KDE 4 does not use "kdesu" + any more for running applications as root. It uses "kdesudo" now. Added + support for this change (LP: #281880). + + * debian/control: hplip-gui requires now one of the three packages which + provide the tools "gksu", "kdesu", and "kdesudo" (LP: #281880). Unneeded + suggest for these packages in the hplip package removed. + + -- Till Kamppeter Mon, 13 Oct 2008 11:48:02 +0200 + +hplip (2.8.7-0ubuntu5) intrepid; urgency=low + + * debian/patches/text-only-without-systray-applet-traceback.dpatch: Suppressed + another error message which appears when working without python-qt[34] + packages installed. + * debian/non-shipped-files.txt: Exclude /usr/share/hplip/install.py from + installation. In a from-package-installed HPLIP it does not make sense, + + -- Till Kamppeter Thu, 9 Oct 2008 9:37:02 +0200 + +hplip (2.8.7-0ubuntu4) intrepid; urgency=low + + * debian/patches/text-only-without-systray-applet-traceback.dpatch: Let + hp-systray fail silently, without traceback if we are on a standard desktop + installation without python-qt3 and hplip-gui (LP: #277005). + * debian/patches/systray-applet-with-qt4.dpatch: Start hp-systray (system + tray applet) with the "--qt4" option. Without the option it does not + integrate in the tray but floats around on the desktop. + + -- Till Kamppeter Wed, 8 Oct 2008 23:37:02 +0200 + +hplip (2.8.7-0ubuntu3) intrepid; urgency=low + + * debian/patches/bugs-in-generated-ppds.dpatch: Fixed several bugs in the + CUPS-DDK-generated PPD files: No A3 paper size for many inkjets (LP: + #258881), incorrect PPD entries for custom page size (LP: #264727), no + resolution hints for applications in the PPD file (LP: #267669). + * debian/patches/pjl-duplex-binding.dpatch: Fixed short-edge duplex for + non-PostScript laser printers (LP: #244295), + + -- Till Kamppeter Tue, 23 Sep 2008 13:20:02 +0200 + +hplip (2.8.7-0ubuntu2) intrepid; urgency=low + + * debian/patches/pdf_printing_support.dpatch: Let an additional + "*cupsFilter" line for PDF as input format be added to the PPD files, + to enable PDF-based printing. + * debian/rules: Add *cupsFilter lines for PDF input to all the ready-made + PPD files. + + -- Till Kamppeter Wed, 13 Aug 2008 12:40:02 +0200 + +hplip (2.8.7-0ubuntu1) intrepid; urgency=low + + * New upstream release + o HPLIP 2.8.7: Support for new printers and bug fixes. + o New models supported: HP DeskJet f735 AIO, d730, PhotoSmart + a532, a536, a538, c5500 AIO. + * debian/patches/hp-makeuri-uri-only-output.dpatch: Removed, applied + upstream. + * debian/patches/hp_photosmart_pro_b9100_support.dpatch: Regenerated. + + -- Till Kamppeter Sun, 10 Aug 2008 14:00:02 +0200 + +hplip (2.8.6.b-1) unstable; urgency=low + + [ Till Kamppeter ] + * New upstream release + o HPLIP 2.8.6b, used 2.8.6.b as upstream version number so that this + is considered newer than 2.8.6 and older than 2.8.7 for all binary + packages. + o Removal of prematurely introduced code (exact problems + caused by that were not specified by HPLIP developers at HP). + * debian/patches/hp-makeuri-uri-only-output.dpatch: Fix URI-only output + of hp-makeuri. This is required for system-config-printer to assign + HPLIP CUPS backends to print queues (Fixes LP: #245199). + * debian/rules, debian/hpijs.version, debian/autogen.sh: Drop extra version + number from HPIJS, now HPIJS and HPLIP have always the same version + number. + + [ Mark Purcell ] + * Upstream version 2.8.6 not to be distributed (use 2.8.6b or 2.8.7 + instead) (Closes: #494659) + - Discussed on debian-release + * spurious version numbering for hpijs packages (Closes: #452574) + + -- Mark Purcell Mon, 01 Sep 2008 19:59:40 +1000 + +hplip (2.8.6.b-0ubuntu1) intrepid; urgency=low + + * New upstream release + o HPLIP 2.8.6b, used 2.8.6.b as upstream version number so that this + is considered newer than 2.8.6 and older than 2.8.7 for all binary + packages. + o Removal of prematurely introduced code (exact problems + caused by that were not specifiedb HPLIP developers at HP). + * debian/control: Put hplip-gui into Suggests: (Ubuntu requirement + for GNOME/GTK-based desktop live CDs). + * debian/patches/hp-makeuri-uri-only-output.dpatch: Fix URI-only output + of hp-makeuri. This is required for system-config-printer to assign + HPLIP CUPS backends to print queues (Fixes LP: #245199). + * debian/rules, debian/hpijs.version, debian/autogen.sh: Drop extra version + number from HPIJS, now HPIJS and HPLIP have always the same version + number. + + -- Till Kamppeter Thu, 24 Jul 2008 11:00:02 +0200 + +hplip (2.8.6-2) unstable; urgency=low + + * Suggests: kdebase-bin (<< 4:4.4.0-1) + - unversioned dependency on kdebase-bin (Closes: #460482) + * hplip-gui Depends: dbus-x11 + - hp-toolbox: Unable to connect to dbus session bus (Closes: #489677) + * Replace [Build-Depends:,Depends:] s/cupsys/cups/ + - hplip depends on defunct cupsys (Closes: #487726) + * Do not set MODE in 55-hpmud.rules + * Re-promote hplip-gui to Recommends: See LP:248656 + * Demote openprinting-ppds to Suggests: + * udev 024-hpmud.rules to set before 025-libgphoto2.rules + - workaround hpmud clashes with wildcards See LP:248093 + * Install udev-dummy.rules to smooth upgrade from obsolete conffiles: + 45-hplip.rules & 55-hpmud.rules + * Update hplip.NEWS to document the need to be a member of group 'scanner' + on Debian (Closes: #479118) + + -- Mark Purcell Tue, 15 Jul 2008 20:44:25 +1000 + +hplip (2.8.6-1ubuntu3) intrepid; urgency=low + + * Drop hplip -> hpijs-ppds Recommends altogether. Till says: "hpijs-ppds + is not needed. It is a bunch of ready-made PPDs which are for us + generated by the hpijs.drv file coming with the HPIJS package and CUPS + DDK." + + -- Colin Watson Fri, 04 Jul 2008 17:20:56 +0100 + +hplip (2.8.6-1ubuntu2) intrepid; urgency=low + + * Drop hplip-gui to Suggests. It uses Qt so isn't appropriate in the + Ubuntu desktop, and we have system-config-printer anyway. + + -- Colin Watson Fri, 04 Jul 2008 17:09:34 +0100 + +hplip (2.8.6-1ubuntu1) intrepid; urgency=low + + * Merge with Debian unstable. No remaining Ubuntu changes. + + -- Till Kamppeter Mon, 23 Jun 2008 16:37:02 +0200 + +hplip (2.8.6-1) unstable; urgency=low + + * New upstream release + * /usr/share/bug: run hp-check & refer inital reports to upstream LP + * Refresh: debian/patches/87_move_documentation.dpatch + - hp_photosmart_pro_b9100_support.dpatch + * Fixed upstream: systray_applet_really_in_tray.dpatch + * Remove obsolete Depends: for gs and friends + + -- Mark Purcell Sun, 22 Jun 2008 18:50:45 +1000 + +hplip (2.8.5-2ubuntu1) intrepid; urgency=low + + [ Till Kamppeter ] + * Sync new upstream release from Debian. + WARNING: There were major changes applied to the hp-toolbox which + introduced new bugs. Please test the toolbox and report any problem + as soon as possible to the upstream bug tracker + http://launchpad.net/hplip/ to get the problems fixed in the next + upstream release (there will be one or two before Intrepid Feature + Freeze). + * debian/rules, debian/hplip.install: Install the hplipjs CUPS filter + for PostScript printers. + + [ Mark Purcell ] + * Stop hplip.post{rm,inst} playing with scanner group - libsane does + and do not delete hplip user on purge: + - postrm attempts to remove group scanner unconditionally (Closes: + #476126) + - unconditional use of deluser in postrm (Closes: #454084) + * Build-Depends: python-qt3, python-qt4 + - HPLIP is still essentially a Qt3 application (Closes: #482095) + * lintian fixes: + - debian-rules-ignores-make-clean-error + - stronger-dependency-implies-weaker hplip recommends -> suggests + - dpatch-missing-description 61_noqt_message.dpatch + - dpatch-missing-description 85_rebuild_python_ui.dpatch + - dpatch-missing-description 87_move_documentation.dpatch + - dpatch-missing-description systray_applet_really_in_tray.dpatch + - dpatch-missing-description hp_photosmart_pro_b9100_support.dpatch + - dpatch-missing-description systray_applet_really_in_tray.dpatch + - syntax-error-in-debian-news-file + - NEWS not displayed (Closes: #479118) + + -- Till Kamppeter Mon, 9 Jun 2008 10:37:02 +0200 + +hplip (2.8.5-1) unstable; urgency=low + + * New upstream release + * Various lintian cleanups + * Fixup debian/patches/87_move_documentation.dpatch + * Remove: hp-sendfax_crash_on_cancel.dpatch - included upstream + * Add Depends: python-qt3, python-qt4 - shouldn't be necessary ;-( + - broken systray icon (Closes: #482095) + * Remove obsolete hplip.README.Debian + - README.Debian.gz is not accurate (Closes: #454086) + - Scanners don't work because hplip service is no more available. + (Closes: #482690) + + -- Mark Purcell Fri, 30 May 2008 19:01:07 +1000 + +hplip (2.8.4-1) unstable; urgency=low + + * Sync Debian with Ubuntu + - new upstream version 2.8.4 (Closes: #462163) + + -- Mark Purcell Tue, 13 May 2008 20:30:37 +1000 + +hplip (2.8.4-0ubuntu1) intrepid; urgency=low + + * New upstream release + o Closes: #462163 + o dbus communication support. All interprocess communication now occurs + using the dbus message bus. python-dbus version 0.80 or greater is + required. + o Elimination of all persistent startup daemons. hpssd has been + replaced with hp-systray that loads as a user startup item in the + system tray in each user's desktop environment. When no HPLIP + tools are running (e.g., hp-toolbox), and the user closes or + disables hp-systray, there will be no HPLIP processes running + whatsoever. Consequently, there is no longer an /etc/init.d/hplip + startup script, and no processes need be run at system startup + time. + o PC send fax requires dbus support and a running hp-systray to + operate. Only Linux distributions that have python-dbus 0.80 or + greater support PC send fax as of this release. + o Added support for the following new printers: HP LaserJet M1120 MFP, + M1120n MFP, OfficeJet J6400, Photosmart C4340, Photosmart Pro B8800. + * debian/hplip.links: Added /usr/bin/hp-systray link. + * debian/hplip-gui.install: Added /etc/xdg/autostart/hplip-systray.desktop. + * debian/patches/systray_applet_really_in_tray.dpatch: The systray applet + needs to be started in QT4 mode so that it really gets into the tray. + * debian/patches/hp_photosmart_pro_b9100_support.dpatch: Corrections + on the models.dat entry for the HP PhotoSmart Pro B9100, especially + for the correct color calibration mode. + * debian/patches/hp-sendfax_crash_on_cancel.dpatch: hp-sendfax crashed + when a fax job fails or gets canceled via the cancel button on the + printer. + * debian/patches/90_pseudo_id_fax_2.dpatch, + debian/patches/91_dj895_powerup.dpatch, + debian/patches/hp_clj_3600_best_color_mode.dpatch, + debian/patches/hp_oj_h470_alignment.dpatch, + debian/patches/hp-setup_crash.dpatch: Removed, merged upstream. + * debian/patches/85_rebuild_python_ui.dpatch: Regenerated. + * debian/control: Added dependency on python-dbus 0.80 or newer and on + libdbus-1-dev. + * debian/control: Switched dependencies from python-qt3 to + python-qt4. + + -- Till Kamppeter Fri, 2 May 2008 10:37:02 +0200 + +hplip (2.8.2-1) unstable; urgency=low + + * Sync Debian release with Ubuntu + - Non-root users need to be in group scanner! (Closes: #454339) + - Uses update-rc.d remove while init script exists; upgrade fails + (Closes: #456378) + - should use plugdev rather than scanner group (Closes: #452454) + - sane-utils: Scanner only accessible under root (Closes: #462563) + - cupsys: HPLIP drivers listed twice (Closes: #463786) + - hpijs-ppds' symlink in /usr/share/cups/model causes dups (Closes: + #452455) + - hp-setup fails to find PPD file (Closes: #457771) + + -- Mark Purcell Mon, 21 Apr 2008 19:58:16 +1000 + +hplip (2.8.2-0ubuntu8) hardy; urgency=low + + * debian/local/scripts/create_hal_global_fdi_from_hpmud_rules.sh: Corrected + fdi script so that it actually works (LP: #195782). + + -- Till Kamppeter Tue, 15 Apr 2008 13:28:52 +0200 + +hplip (2.8.2-0ubuntu7) hardy; urgency=low + + * debian/control: Let hplip-gui depend on python-reportlab instead + of hplip recommending it. python-reportlab is used by the GUI of + hp-sendfax to add cover pages. In command line mode of hp-sendfax + cover pages are not supported (LP: #211249). + + -- Till Kamppeter Fri, 4 Apr 2008 13:28:52 +0200 + +hplip (2.8.2-0ubuntu6) hardy; urgency=low + + * debian/control: Let hpijs depend on foomatic-filters (LP: #187403). + * debian/control, debian/hplip.links: Added missing links to utilities + hp-check and hp-scan. Added dependency on python-imaging for hp-scan. + * debian/rules: Corrected filter name from "foomatic-rip-hplip" to + "foomatic-rip" (LP: #211382). + * debian/hplip.preinst: Remove obsolete /etc/default/hplip file before + installation of the hplip binary package (LP: #211377). + + -- Till Kamppeter Thu, 3 Apr 2008 22:28:52 +0200 + +hplip (2.8.2-0ubuntu5) hardy; urgency=low + + * debian/local/scripts/create_hal_global_fdi_from_hpmud_rules.sh, + debian/rules, debian/hplip.install: Generate fdi script to make + HP devices accessible for the desktop user currently logged in + (LP: #195782). + * debian/patches/hp_oj_h470_alignment.dpatch: Fixed head alignment for + HP OfficeJet H470 (LP: #204157). + + -- Till Kamppeter Tue, 1 Apr 2008 15:28:52 +0200 + +hplip (2.8.2-0ubuntu4) hardy; urgency=low + + * debian/hpijs-ppds.links: Removed. The link into /usr/share/cups/model + leads to duplicate listing of the PPDs by CUPS 1.3.x. + + -- Till Kamppeter Sun, 23 Mar 2008 23:08:52 +0100 + +hplip (2.8.2-0ubuntu3) hardy; urgency=low + + * debian/patches/hp-setup_crash.dpatch: Fix crash of hp-setup (LP: #181242) + * debian/patches/hp_clj_3600_best_color_mode.dpatch: Fix "Best" color mode of + the HP LaserJet 35xx/36xx (LP: #200147). + * debian/patches/91_dj895_powerup.dpatch: Fix problem that HP DeskJet 895C + (and similar printers) did not get woken up from power saving mode when a + job was sent (LP: #155965). + + -- Till Kamppeter Thu, 13 Mar 2008 12:08:52 +0100 + +hplip (2.8.2-0ubuntu2) hardy; urgency=low + + [ Till Kamppeter ] + * debian/rules: Install the new fax PPD file for color fax devices + (currently only HP LaserJet M2727 series, Ubuntu LP: #59409). + * debian/hplip.postinst: Fix PPD paths in /etc/hp/hplip.conf, so that + hp-setup finds the fax PPDs (Ubuntu LP: #59409). + * debian/hplip.postinst: Removed code to correct permissions of .hplip + personal config in user's home directories (Ubuntu LP: #191299). + + [ Mark Purcell ] + * Added NEWS/ README entry about the need to use 'scanner' group + - Non-root users need to be in group scanner! (Closes: #454339) + - should use plugdev rather than scanner group (Closes: #452454) + - sane-utils: Scanner only accessible under root (Closes: #462563) + * Force (-f) removal of init.d scripts + - Uses update-rc.d remove while init script exists; upgrade fails + (Closes: #456378) + + -- Till Kamppeter Tue, 26 Feb 2008 10:08:52 +0100 + +hplip (2.8.2-0ubuntu1) hardy; urgency=low + + * New upstream release + o PPDs generated on-the-fly by the CUPS DDK + o Corrected IPP printer state messages + o Fixed segmentation faults in HPIJS (Upstream bug LP: #182658) + o Many bug fixes + o Battery monitoring for OfficeJet H470, fax for LaserJet M2727 + o New models supported: HP LaserJet P1005, P1006, P1505, P1505n, + Officejet H470, LaserJet P2014 + * debian/control: Added build dependency on CUPS DDK, standards version + 3.7.3, let also HPIJS depend on CUPS DDK. + * debian/hpijs.install: Added PPD generator data file + /usr/share/cups/drv/hpijs.drv + * debian/patches/89_hplip-alloc.dpatch: Removed, fixed upstream + * debian/rules: Removed Foomatic-XML-related stuff, use configure options + to let PPDs get generated on-the-fly by the CUPS DDK, do not modify the + fax PPD. + + -- Till Kamppeter Tue, 12 Feb 2008 11:02:42 +0100 + +hplip (2.7.12-0ubuntu2) hardy; urgency=low + + * debian/patches/89_hplip-alloc.dpatch: The hpijs compression + module did not allocate enough memory (Upstream bug LP: #182658). + + -- Till Kamppeter Mon, 28 Jan 2008 11:34:49 +0000 + +hplip (2.7.12-0ubuntu1) hardy; urgency=low + + * Now upstream release + o PJL support for HP LaserJets for in-band status check + o New print modes for LJJetReady device class (HP Color LaserJet + 3600/3500/3550). + o Improvement of plug-in download by hp-setup. + o Bug fixes, especially for fax. + o New models supported: HP LaserJet M2727 MFP (printing only, no + scanning or fax), HP LaserJet M1005 MFP (printing only, no scanning), + HP LaserJet 1000/1005, HP Color LaserJet 3600/3500/3550, HP LaserJet + 9040. + * debian/rules, debian/45-hplip.rules, debian/check_mfp_printer: Removed + /etc/udev/rules.d/45-hplip.rules and check_mfp_printer, HP provides a + solution from upstream now. + * debian/55-hpmud.rules: Updated for compatibility with kernel 2.6.24 and + newer (Ubuntu bug LP: #181242). + * debian/patches/87_move_documentation.dpatch: Updated patch for new HPLIP + version. + + -- Till Kamppeter Sat, 12 Jan 2008 14:34:49 +0000 + +hplip (2.7.10-5ubuntu1) hardy; urgency=low + + * Merge with Debian unstable. No remaining Ubuntu changes. + * debian/rules: Added "--with-hpppddir=\$${prefix}/share/ppd/hpijs/HP" to + "./configure" call so that "hp-setup" will find the fax PPD (Ubuntu bug + LP: #59409). + * debian/rules: Removed "--dpkg-shlibdeps-params=--ignore-missing-info" + from dh_shlibdeps. Does not build under Ubuntu. + + -- Till Kamppeter Thu, 6 Dec 2007 16:34:49 +0000 + +hplip (2.7.10-5) unstable; urgency=low + + * Check for old init scripts [ -x /etc/init.d/hplip ] and manually + remove them before we call update-rc.d + - preinst fails: update-rc.d: /etc/init.d/hplip exists (Closes: #453902) + + -- Mark Purcell Sun, 02 Dec 2007 23:07:48 +0100 + +hplip (2.7.10-4) unstable; urgency=low + + * Extremadura release ;-) + + * Provide debian/shlibs lintian: shlib-missing-in-control-file + - FTBFS on amd64/sid (Closes: #453361) + * Rewrite hplip.preinst to not call killall + - predepend on psmisc (?) (Closes: #452408) + * Switch hplip.{pre,post}inst to use update-rc.d & invoke-rc.d + - maintainer-script-calls-init-script-directly (Closes: #452244) + * Cleanup hplip.menu + - please change default icon to /usr/share/pixmaps/HPmenu.xpm + (Closes: #415048) + * Remove Depends: sysv-rc + + -- Mark Purcell Sat, 01 Dec 2007 01:36:25 +0100 + +hplip (2.7.10-3) unstable; urgency=low + + * Update debian/watch - thks Chris Lamb + - debian/watch file incorrect (Closes: #415926) + - debian/watch fails to report upstream's version (Closes: + #449610) + * debian/rules dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info + + -- Mark Purcell Thu, 22 Nov 2007 08:00:37 +0000 + +hplip (2.7.10-2) unstable; urgency=low + + * Unstable upload + * debian/control + - Homepage: http://hplip.sourceforge.net/ + - Vcs-Svn: svn://svn.debian.org/pkg-hpijs/hplip/trunk/ + - Vcs-Browser: http://svn.debian.org/wsvn/pkg-hpijs/hplip/?op=log + + -- Mark Purcell Wed, 21 Nov 2007 06:19:34 +0000 + +hplip (2.7.10-1) experimental; urgency=low + + * Shadow ubuntu release into debian experimental + - new upstream release (Closes: #413225) + * TODO inport into CVS/ SVN + + -- Mark Purcell Mon, 29 Oct 2007 22:14:02 +0000 + +hplip (2.7.10-0ubuntu1) hardy; urgency=low + + * New upstream release + o hp-setup capable of loading non-free driver extensions from the + internet (usually from OpenPrinting) + o hp-sendfax problem of not being able add files fixed upstream + (LP: #153152) + o New models supported: HP Officejet Pro K8600, Photosmart C4380 Series, + LaserJet 1018, 1020, 1022, 1022n, 1022nw, Deskjet 550C + * No modification of the upstream source tarball needed any more. + * debian/patches/70_no_fail_on_bad_locales.dpatch: Removed, does not apply + to current upstream source code any more. + * debian/patches/90_subprocess_replacement.dpatch: Removed, fixed upstream. + * debian/control: Let hpijs depend on hplip (LP: #149511). + + -- Till Kamppeter Sat, 27 Oct 2007 14:34:49 +0100 + +hplip (2.7.7.dfsg.1-0ubuntu5) gutsy; urgency=low + + * SECURITY UPDATE: arbitrary command execution via network + * Add debian/patches/90_subprocess_replacement: use subprocess instead. + * References + https://launchpad.net/bugs/149121 + CVE-2007-5208 + + -- Kees Cook Thu, 11 Oct 2007 10:25:17 -0700 + +hplip (2.7.7.dfsg.1-0ubuntu4) gutsy; urgency=low + + * debian/55-hpmud.rules: Changed UDEV rules to set owner "lp", + group "scanner", and permissions 0660 for the /dev/... files, so + that non-privileged users (not in "lp" group, but in "scanner" + group) can also access the HP printers. Simply using 0666 + permissions is a security problem (LP: #147369). + + -- Till Kamppeter Thu, 4 Oct 2007 21:05:57 +0100 + +hplip (2.7.7.dfsg.1-0ubuntu3) gutsy; urgency=low + + * debian/rules, debian/55-hpmud.rules: + Updated UDEV rules for HPLIP to the ones of HPLIP 2.7.9. The current + rules do not work any more (LP: #147369) + + -- Till Kamppeter Wed, 3 Oct 2007 16:05:57 +0100 + +hplip (2.7.7.dfsg.1-0ubuntu2) gutsy; urgency=low + + * debian/control, debian/hplip.install, debian/hplip-gui.install, + debian/rules: + Moved menu entries for the GUI utilities into the new hplip-gui package. + This package requires python-qt3 and so the menu entries can never appear + if python-qt3 is not installed. Let the main package (hplip) recommend + hplip-gui instead of python-qt3 now. Fixes: LP: #67892, LP: #86893, + LP: #134480, LP: #137168 + + -- Till Kamppeter Wed, 5 Sep 2007 10:05:57 +0100 + +hplip (2.7.7.dfsg.1-0ubuntu1) gutsy; urgency=low + + * Modified upstream source tarball: Firmware files for HP LaserJet 1018 + and 1020 removed on HP's request + * debian/control, debian/rules, debian/hplip-data.install, + debian/hplip-firmware.install: Removed hplip-firmware binary package. + * debian/README.Source: Updated packaging documentation + * debian/hpijs.README.Debian, debian/hpijs.NEWS, debian/hpijs-ppds.NEWS, + debian/hpijs.1, debian/control: linuxprinting.org -> openprinting.org + + -- Till Kamppeter Wed, 22 Aug 2007 20:41:57 +0100 + +hplip (2.7.7-0ubuntu4) gutsy; urgency=low + + * debian/hplip.install: Added missing line "usr/lib/lib*.so.*" (LP: #132670, + LP: #132781) + * debian/hplip.preinst: Remove init scripts of former 1.x HPLIP versions + * debian/hplip.default: Removed, as we do not have permanently running + daemons any more. + * debian/hplip.rtupdate, debian/rules, debian/hplip.install: Removed update + helper, as we do not have permanently running daemons any more. + + -- Till Kamppeter Fri, 17 Aug 2007 15:40:55 +0100 + +hplip (2.7.7-0ubuntu3) gutsy; urgency=low + + * debian/control: Added "automake" and "libtool" to "Build-Depends" + + -- Till Kamppeter Mon, 13 Aug 2007 15:40:55 +0100 + +hplip (2.7.7-0ubuntu2) gutsy; urgency=low + + * debian/control: Added "autoconf" to "Build-Depends" + + -- Till Kamppeter Mon, 13 Aug 2007 09:40:55 +0100 + +hplip (2.7.7-0ubuntu1) gutsy; urgency=low + + * New upstream release + * Closes: LP: #103871, LP: #109871 + * HPLIP 2.7.7 + + Fixed issues with ppd_install and ppd_dir in the installer + + Device-id and device-status queries can now be made on more than + just the 7/1/2 interface. + + Added pre_install_cmd to installer to fix cups issue in PCLinuxOS + and Mandriva + + Added darwin build support to makefile. + + Removed the localOnly conditional in the sane hpaio backend. This + was needed for saned usage. + + Fixed defect (Print Settings for fax device is incorrect after + switching to other tabs.) + + Fixed defect (The default unload directory path is invalid if user + is root.) + + Fixed defect (Wrong release dates for Fedora distros are displayed + in terminal.) + + Added Mandriva 2007.1 to distros.dat + + Added Ubuntu 7.10 to distros.dat + + Fixed defect (Entering hp-setup -bnet command in terminal, some + error information occurs when network is unreachable.) + + Fixed defect (hp-testpage produces traceback) + + Added some additional error checking to type 3 status (LaserJets) + + Re-designed hp-fab database backend (no longer uses KirbyBase, + instead uses pickle) + + Converted hp-fab and hp-sendfax to handle non-ascii characters (Unicode) + + Added a distros.dat flag to handle usermod command with/without -a + + Added a temporary printer destination codepath for hp-scan + + Enhanced hp-setup launch code for the text installer + + Lots of code cleanup in the logging facility + + Fixed the constraints system in hp-scan (can use list based and + tuple based constraints) + + Removed '-a' from usermod command in installer + + Converted code to use unicode when dealing with UI strings and + user originated strings + + Explicitly convert to utf-8 for file logging output + + Added compile flag conditional compilation in hpmudext.c for parallel + and network support + + Fixed the run command in core_install so that exceptions wouldn't + pass silently + + Enhanced get_distro() in core_install so that it handles lsb_release + output better + + Fixed disable-pp-build and disable-net-build in hpmud. + + Added localization files to tarball. + + Various small bug fixes (esp. in the installer) + * HPIJS 2.7.7 + + Added support for the following new printer(s). + * HP PhotoSmart A620 Series (PSP470) + * HP PhotoSmart A820 Series (PSP470) + * HP PhotoSmart A520 Series (DJGenericVIP) + * HPLIP 2.7.6 + + Major version number change denotes new functionality. + * No more Start-up daemons + * New Direct Device I/O (hpmud) + * Controllable Permissions + * Single 'Make' File + * Support for Dynamic PPD file generation + * New hp-scan command + + Replaced hpiod with the new HP Multi-Point Transport Driver (hpmud). + Hpmud is a shared library instead of a daemon. + + Hpssd is started automatically when needed by HPLIP. + + Removed HPIJS makefile. There is now only one makefile for HPLIP. + + Added the following new HPLIP configure options. + --enable-doc-build enable documentation build (default=yes) + --enable-hpijs-only-build enable hpijs only build (default=no) + --enable-foomatic-ppd-install enable foomatic ppd install, uses + hpppddir default=no + --enable-foomatic-xml-install enable foomatic xml install, uses + foomaticdir default=yes + --with-cupsbackenddir=DIR set cups backend install directory, + default=/usr/lib/cups/backend + --with-icondir=DIR set icon install directory, + default=/usr/share/applications + --with-hpppddir=DIR set hp ppd install directory, + default=datadir/ppd/HP + --with-docdir=DIR set hplip documentation directory, + default=datadir/doc + --with-foomaticdir=DIR set foomatic db install directory, + default=datadir/foomatic + + Old HPIJS configure options --foomatic-install and --cups-install + have been removed. + + Changed the libsane-hpaio install directory from $(libdir) to + $(libdir)/sane. + + Fixed installer utilities (permission, trigger, etc) so they can be + run manully from tarball root directory + + Fixed defect (Some error occurs in terminal and the outputting file + is empty when perform a scan job with the option "-mgray".) + + Added large file size warning to hp-scan + + Added -x/--compression to hp-scan + + Added 1200, 2400, and 4800 dpi support to hp-scan + + Fixed defect (Traceback - SUSE 10.1 - Changing Tabs To Print Settings) + + Fixed defect (Using hp-clean on cmd line fails to clean) + + Changed fax check so that low paper or low supplies don't prevent + faxing [user reported] + + Toolbox will display local docs if doc-build=yes or sf.net docs if + doc-build=no + + Added hp-unload file removal option + + Changed hp-unload progress to a sep. dialog + + Fixed an issue with hp-check with 'lp' group test + + Added libtool and libgphoto2-devel packages for the libtool + dependency for SUSE 10.2 + + Fixed defect (The files can not be rendered when perform a fax job in + terminal on Mepis6.0 OS.) + + Added new functionality into the web installer from the text + installer a) New data functions b) pre- and post- build actions ('lp' + group, udev trigger, etc) c) Some defensive code enhancements + + Fixed defect (The scan job is failed if --printer is specified when + use "hp-scan" command in non-interactive mode.) + + Fixed defect (Mepis and Debian unsubscriptable object on Toolbox launch) + + Fixed an issue with stopping the hpssd process in the installer + + Added PIL as an optional dependency to the installer + + Fixed a couple of text installer issues that were casuing a traceback + + Fixed libtool detection + + Fixed defect ( Toolbox Looses Communication with Printers after + Functions->Unload Photo Card) + + Fixed defect (Fax Address Book - fab.db - unable to open or read file) + + Added --size= parameter to hp-scan + + Added ppd_dir data to debian, mepis, suse in distros.py + + Fixed 2.7.x jetdirect scanimage issue reported by Suse. + + Fixed defect (The installation is failed if packages are missing when + install with command "./hplip-install" on Mandriva2007 32bit OS.) + + Fixed defect (The Installer process can not setup printer after + finishing installation on Ubuntu 7.04 OS.) + + Added the symlink fix Dapper to the text installer + + Fixed an issue with the hppsd process shutdown + + Added libtool dependency to installer + + Made all configure time python checks conditional on hpijs-only-build + as requested by Suse. + + Added USB devnode permission checks to hp-check + + Enhanced USB I/O checks in hp-check + + Added udev .rules file modification module, installer/permissions.py + (called by the installer) + + Fixed defect (The Installer process can not setup printer after + finishing installation on Ubuntu 7.04 OS.) + + Added 'ppd_dir' to text installer + + Added "add user to lp group" to text installer + + Added hpssd shutdown to text installer + + Fixed a problem with the configure flags in the installer + + Added a root user check to the text installer + + Cleaned up the text formatting in the installer + + Added some distro data convenience functions in the installer + + Added a check for adept-updater on Ubuntu + + Fixed the HPLIP detection function + + Changed the launching of hp-setup so that the entered su/sudo + password is used + + Changed the CUPS restart so that it only occurs with CUPS 1.1.x + + Added the logoff required step in the installer + + Added configure option --with-docdir as requested by Suse. + + Added CUPS version check to hp-check (requires cups-config) + + Added '-p' param to hp-check (pre-check, use before install. Run + hp-check w/o -p after install.) + + Added USB I/O checks to hp-check + + Fixed defect (The Unload Photo Card function is invalid) [fixed + error in hpmudext read channel API] + + Fixed defect (An error occurs in terminal when manually find a network + printer with a numerical type hostname.) + + Fixed defect (some error message displays in terminal when enter + "hp-print" command if no device is installed.) + + Fixed defect (Print command is failed when perform a print job if + printers have characters "&", "*", "(", ")", "|", "<", ">", "," + or "." in their names.) + + Fixed defect which was an issue with displaying non-readable + characters in the progress screens. + + Fixed defect (An error occurs when execute "hp-align -bnet" command + in terminal.) + + Added CUPS 1.1 detection and setting of configure flags and paths + + Fixed the enable_ppd flag and made it dependent on CUPS 1.1 detection + + Fixed a problem in the text installer that caused it to exit if no + dependencies were installed + + Added a trigger utility so that USB devices will be detected after + the .rules files updates occur without replugging (added only to text + installer for now) + + Fixed defect which was an issue in canceling the installation process + in the progress screens. + + Fixed defect (Bad usability is brought if the Auto Refresh function is + enabled.) + + Fixed defect (The auto refresh can be enabled by click the OK button + on Settings window.) + + Fixed defect which was an issue in the script that runs the install + options of the GUI installer. + + Changed location of all user files to ~/.hplip/ directory (fax files, + hplip.conf, and fab data file) + + Added sane-devel to installer dependencies + + Made the ppd_install flag be per distro and version rather than just + for distro due to Fedora 5/6 + + Removed LSB dependency info from each distro dataset + + Fixed defect (The send fax job can not performed successfully over + network) + + Added printer list to toolbox status bar [partially fixes user request] + (defect) + + Fixed defect (Some error messages displayed in terminal when executing + hp-sendfax command in terminal.) + + Fixed defect (The hp-setup is invalid if disable GUI option during + install the build.) + + Added bootstrap --ppd to build.py and dist.py + + Fixed defect (The check job can not be finished completely before + install the build.) + + Added udev 55-hpmud.rules to "make install". Users will have to be a + member of the "lp" group in order to have access USB/Parallel devices. + + Fixed hp-makeuri and underlying API + + Fixed defect (Toolbox cannot be launched if the build + hplip-2.7.5.6-shadow is installed with PC Send Fax option disabled + via GUI Installer.) + + Added libsane check at configure time. + + Fixed models.dat and models dat editor tool for hpmud support + + Added HPLIP_BUILD to dat editor tool + + Fixed defect (adding unsupported file type to fax causes traceback) + + Improved build time support for missing Python extensions + + Added MakeURI APIs to hpmudext + + Removed hpiod and hplip start/stop script. + + Fixed defect (An error occurs in terminal when perform a copy job with + Best Copy Quality in GUI mode.) + + Fixed defect ([Photosmart 7550] no photo cart, clicking color cal + causes traceback) + + Fixed defect (hpssd.py crashed with IOError in __init__() [Launchpad + bug #103871]) + + Fixed defect (toolbox crashed with AttributeError in + printButton_clicked() [Luanchpad bug #109871]) + + Preliminary version of hp-scan checked in (ver. 0.1 -lots of missing + features) + + Changed to hpssd auto start functionality to use port detection rather + than .pid/.port files. Hpssd no longer supports dynamic port + assignments. Its is recommended that only the IANA port as specified + in hplip.conf be used (port 2207). Hpssd does not create any .pid or + .port files in /var/run or /tmp. + + Added a missing file 'warnings.tmpl' to the Makefile.am. + + Fixed defect (toolbox crashed with IndexError in UpdatePrinterCombos() + [launchpad]) + + Flated the postscript ppd directory foomatic-db/db/source/PPD/HP/. + + Fixed defect (Some error messages displayed in terminal when executing + hp-sendfax command in terminal.) + + Changed build and dist scripts so that they work with new unified + makefile and ppd/xml changes + + Changed text (CLI) installer to work with new unified makefile and + ppd/xml changes + + Fixed defect (No prompt pops up if execute hp-unload in terminal when + add the device Deskjet d1460 to PC which does not support Photo Unload + function.) + + Fixed defect (The prompt dialog does not pop up when adding a + unsupported file type to the printer from toolbox.) + + Fixed defect (A spelling mistake is found in Functions tab of Configure + window.) + + Fixed defect (Some controls are not fully displayed on Print Control + table of toolbox.) + + Added HP specific foomatic database to tar ball. This will allow + foomatic db installs or PPD installs. + + Removed code for screen that shows the optional path installation + (defect). + + Merged new hpssd autostart code + * HPIJS 2.7.6 + + Removed ESC*p command from DJGenericVIP class for each raster send to + fix PhotoSmart C4200 assert + + Added support for the following new printer(s). + * HP Photosmart C4200 series (DJGenericVIP) + * HP Photosmart A320 series (DJGenericVIP) + * HP Photosmart A440 series (DJGenericVIP) + * HP Color LaserJet CM4730 MFP (LJColor) + * HP Color LaserJet CP3505 (LJColor) + * LaserJet P2010 (LJMono) + * HP Photosmart C5200 series (DJGenericVIP) + * HP 910 (DJ3320) + * HP 915 (DJ3600) + * HPLIP 1.7.4 + + Fixed defect (The tip of menu "Contents..." is incorrect.) [added F1 + accelerator] + + Fixed defect (The corresponding operation could not work while + executing hp-sendfax with "--non-interactive", "--faxnum", + "--recipient", "--group", "--logging" parameters in terminal.) + + Fixed an issue with adding recipients in fax UI + + Fixed defect (The array of the Comments/Notes can not be consistent + with that in fax coverpage.) [check "Preformatted" in coverpage dialog + to preserve formatting] + + Fixed defect (hp-makecopies --quality parameter is invalid.) + + Fixed defect (The printer information still displays on Toolbox when + refresh the device status after delete the Device.) + + Fixed a problem reading USB IEEE 1284 device-id on the Photosmart A420 + based products in hpiod. + + Toolbox internal/built-in makecopies utility + + Reworked the user settings code in the toolbox + + Added PYTHONINCLUDEDIR configure option. + + Removed hplip install code from "make install". Hplip install code is + part of the tarball only. + + Fixed defect (Fax Address with blank nickname and blank fax number can + be added to the Fax Address Book.) + + Fixed defect (Some improper messages display in terminal when add a + device via Network to a PC that is disconnecting with Network.) + + Fixed defect (The word "from" is missing in "Unload Photo Card" + section on Functions tab on Toolbox.) + + Added icons to action buttons in the toolbox + + Fixed defect (The rendering files process hangs up when perform a fax + job) + + Fixed defect (Some unexpected message displayed in terminal when + sending a fax job to a group) + + Removed setup.py calls from Makefile.am. Automake now installs python + extensions. + + Toolbox internal/built-in unload photo card utility + + Fixed an issue with align type 10 (and 11) that caused the wrong + alignment values to be sent from the GUI alignment tool (hp-align was + OK) [reported by user] + + Fixed the issue with .hplip.conf owner of root when hp-setup is run + 1st [patch to Till] + + Added some extra exception handling around device opens in + scrolltoolview + + Fixed defect (No any hint information to show the printer is stopped + when enter hp-print command in terminal to launch a print job.) + + Fixed defect (Toolbox can not display the print queue if switch to + other tab and then go back to the print tab.) + + Fixed defect (Another print job can not be sent to print queue + successfully during printing.) + + Fixed defect (Some unexpected information displays in terminal when + perform a color carlibration job on Photosmart 2575 in GUI mode.) + + Added order column and move up/down to hp-print + + Toolbox internal/built-in send PC fax utility + * HPIJS 2.7.4 + + Fixed a custom paper size bug that caused unintended scaling in + certain cases in services.cpp + + Added supply level low warning message in hpijs.cpp as suggested by + Tim Waugh + + Added support for the following new printer(s): + * DeskJet D1400 Series (DJ3320) + * DeskJet D2400 Series (DJ3600) + * DeskJet D4200 Series (DJ4100) + * DeskJet F2100 Series (DJ3320) + * DeskJet F4100 Series (DJ3600) + * CM8050MFP with Edgeline (PS) + * CM8060MFP with Edgeline (PS) + * Simplified the packaging making every change done by dpatches and not + directly in the source code. + o Dropped source code cosmetics in configure.in and Makefile.am + o Dropped moving .py files into /usr/lib. These files and also the + .pyc files generated from them are distribution-independent. + o 85_rebuild_python_ui.dpatch: Moved changes for compiling .ui files + to .py files into a dpatch + o 87_move_documentation.dpatch: Moved changes for moving the + documentation into a dpatch + o debian/rules: Set documentation directory by the "./configure" + command line. + * Removed patches 80_laserjet1100_fix.dpatch, + 82_scrolltool_py_deskjet_d4100_claen_device_not_found.dpatch, + 84_align10form_py_deskjet_5440_head_align.dpatch, merged upstream. + * 70_no_fail_on_bad_locales.dpatch: Rediff. + * debian/rules: Updated command line options for ./configure, make + debian/autogen.sh being called when Makefile.am and/or configure.in + were patched. + * debian/rules, debian/hplip-data.links: Do not put .py and .pyc files + into /usr/lib/hplip any more. There are REALLY plattform-independent. + * debian/control, debian/rules, debian/hplip-data.install, + debian/hplip-firmware.install: Created new package for the firmware files + for the HP LaserJet 1018 and 1020. + * debian/hplip.preinst: Shut down the daemons of the old 1.x.x generation + HPLIP and kill hpiod if the shut down did not work. + * debian/*.desktop: Show the icons in the menus of Ubuntu/Xubuntu/Edubuntu, + as we get a decent error dialog if PyQt is not installed. + + -- Till Kamppeter Thu, 9 Aug 2007 18:30:55 +0100 + +hplip (1.7.3-0ubuntu4) gutsy; urgency=low + + * Restore Scott's change from 0.9.11-2ubuntu3 in Edgy, apparently lost + along the way: + - Remove stop links from rc0 and rc6. + + -- Colin Watson Wed, 25 Jul 2007 09:03:13 +0100 + +hplip (1.7.3-0ubuntu3) gutsy; urgency=low + + * debian/control: Remove version numbers from libsnmp-dev build + dependency, so that package builds with arbitrary versions of + libsnmp. + + -- Till Kamppeter Thu, 31 May 2007 15:30:55 +0100 + +hplip (1.7.3-0ubuntu2) gutsy; urgency=low + + * debian/control: Make the dependencies of the "hpijs" package also be + satisfied by "ghostscript" instead of only "gs-...", due to "gs-gpl" + having been renamed to "ghostscript" after the ESP/GPL Ghostscript + merger. + + -- Till Kamppeter Thu, 24 May 2007 11:30:55 +0100 + +hplip (1.7.3-0ubuntu1) feisty; urgency=low + + * New upstream release (closes: LP#82546, LP#83936, LP#85805, LP#87695, + LP#92237, LP#94013, LP#94015, LP#94823, LP#95489) + * HPLIP 1.7.3 + + Added the tag to hpijs-generator.in. This will remove + the extra foomatic PJL options from most HP LaserJet PPD + files. The extra foomatic PJL options caused some HPIJS PCL data + issues. This fixes a "PCL XL error" on LJ1010/1012 that can + occur on different PCs (closes: LP#92237). + + Fixed defect (An error occurs when send a fax coverpage with "&" + or "<" character in Regarding or Optional Message field.) + + Removed banner pages from fax print settings + + Altered hpfax: device discovery output to match hp: scheme (CUPS + 1.2 only) + + Removed the wait cursor during the password entry screen + [reported by Johannes] + + Added error messages and suppressed content in toolbox when + device is not found or unsupported + + A new configure option was added --enable-cups11-build, this + option controls the hp/hpfax device discovery message when no + devices are found. If needed, this option provides backward + compatibility with CUPS 1.1.x applications. + With --enable-cups11-build set the "no_device_found" message is + displayed during device discovery by the "hp" backend. + With --disable-cups11-build (default) set the backend prints a + scheme based on the following conditions. + Condition 1 - no daemons + output nothing stdout return exit 1 + Condition 2 - daemons running, no HP devices, output scheme + direct hp "Unknown" "HP Printer (HPLIP)" return exit 0 + Condition 3 - daemons running, HP printer found, output URI + direct hp:/... "hp model" "HP model HPLIP" "deviceid" + return exit 0 + (closes: LP#87695) + + Changed the way that hp-setup was being launched from the + toolbox, it was hanging on Edgy + + Added Tools > Printer Information + + Added a check for 'lpr' for Debian installation (to force + install of cupsys-bsd) + + Moved the password prompt in the text/CLI installer past the + distro confirm/select prompts to handle a problem with Mepis + + Made a change to determine if networking is working during + installation. + + Added a private copy of sanei_init_debug to libsane-hpaio. This + will remove the libsane.so dependency which was a problem for + WINE. + + Fixed defect (PPD file "foomatic:HP-PSC_2400-hpijs.ppd" can not + be found when set up PSC 2400 in interactive mode, closes + LP#95489) + + Fixed a page update defect in the toolbox (when switching + devices, update page correctly) + + Re-wrote hpaioAdvanceDocument function in libsane-hpaio. This + change only effects SCL scanners with an ADF (ie: inkjet + all-in-ones). This fixes a double-feed ADF issue which occurred + when scanning a single page. + + Fixed defect (An unexpected error occurs when perform color + calibration job in GUI mode on photosmart c7180.) + + Some toolbox UI improvements + + Converted hp-print to new UI + + Fixed some defects in scrollprintview and devmgr + + Added network detection to text/CLI installer + + Toolbox internal/built-in print utility + + Added password entry and validation to text/CLI installer + + Fixed an issue when the ~/.hplip.conf file is not present on 1st + run, the hp-setup run as root owns the file and doesn't allow the + regular user to write to it. + + Fixed defect (hp-setup -i can not setup a printer Photosmart + c3100 which has multiple possible PPD files.) + + Some visual updates to the toolbox + + Fixed defect (DJ 4x0 power/battery settings not staying set) + + Added a confirmation dialog to device remove in the toolbox + + Linked quality and printoutmode in print settings + + Switched [x] Enable style controls to (*) On ( ) Off style in + print settings + + Supply icons auto generate (removed supply PNG icons from + data/images) + + Fixed an issue with r_values in supplies processing + + Added type 12 head support for PS33xx, PSC61xx, etc. + + Fixed defect (The Print Settings of Fax device are invalid) + + Fixed issue where L7xxx color cal wasn't showing the load paper UI + + Fixed defect (The command "hp-setup -i" can not work normally) + + Fixed defect (The setup process will hang up when modify the fax + name to a name which contains more than 104 characters on setup + UI.) + + Changed magic.py to better handle text/plain vs. data detection + + Added last used working directory support to hp-sendfax, + hp-print, and hp-unload + * HPLIP 1.7.2 (Not published as Ubuntu or Debian package) + + Fixed defect (The fax file is printed out by the sender when use + printer name with "-p" parameter to perform a fax job.) + + Added CUPS fax queues to Print Settings and Print Control tabs + + Added PQ Diag type 2, align type 12, color cal type 6, and LF + cal type 2 for Officejet Pro L7xxx + + Added agent types 20 and 21 for Officejet Pro L7xxx + + Fixed defect (There is no response when click "About" in the + "Help" menu in the toolbox window.) + + Fixed defect (Function Commands configuration was disabled) + + Fixed an issue where the ending banner page combo box would not + show the proper setting if it were not 'none' + + Fixed defect (An error occurs when select other ppd files from + toolbox to setup) + + Fixed defect (The command "hp-setup -i" can not work normally) + + Fixed defect (The output of "-t" parameter is not the same as + "--prettyprint" parameter when send a fax job using pretty + printing for text files.) + + Fixed defect (An error occurs when enter "#" in Fax Name field + on "Enter Printer Information" window during setting up a + printer.) + + Fixed defect (Print outcomes are not full when set the "Page + Orientation" as "Landscape" on "Print Settings" table.) [added + "Fit to page" option in image printing section of Print Settings + tab.] + + Moved installer/images/xxx files from SCRIPT to DATA install in + Makefile.am. + + Fixed non-functioning printer control in hp-toolbox + + Fixed an issue with the settings dialog not working [reported by + Johannes] + + Additional fixes to get PPD file handling working on Edgy and + Feisty for CUPS 1.2. + + Fixes for CUPS 1.2 and auto-generated PPD files for Feisty Fawn + [reported by Till] (closes: LP#95489) + + Fixed potential subscript array overflow in pcard/fat.c + (reported by Suse). + + Fixed an issue reported by Till with the device string returned + by hpfax: + + Fixed an issue in in the NoDeviceForm (missing __tr() method) + + Fixed defect (Ubuntu Fiesty Herd 3 - ppd file w/hp-setup + problem) [implemented change to PPD file enumeration for CUPS 1.2 + as suggested by Till] (closes: LP#95489) + + Added banner pages to print settings (job-sheets) + + Fixed problem with watermark angle text in print settings (utf-8 + decoding) + + Added libusb-devel check to configure.in. + + Added image printing settings to toolbox print settings + + Added print adjustment settings to toolbox print settings + + Enhanced the default button behavior in toolbox print settings + + Removed sticky print settings from hp-print + + hp_laserjet_p2015_series: Changed embedded-server-type from '0' + to '1' + + hp_laserjet_p2015_series: Changed panel-check-type from '0' to '1' + + Fixed a traceback in hpfax: if HPLIP is not running during + device detection (closes: LP#83936) + + Added print job icons to indicate print job status + + Updated some status icons + + Fixed defect (An unexpected error occurs when enter hp-makecopies + -d -m1 -n in terminal) + + Fixed defect ("See Also:hp-colorcal" should not occur in the + explanation for the hp-colorcal command on hplip website.) + + Fixed defect (Refresh All button can not work on build + hplip-1.7.1 public release.) + + Fixed an issue in hpssd that caused history items in the ring + buffer to slotted incorrectly + + Added duplexer detection to the "sides" setting in the toolbox + Print Settings (no "sides" selection if duplexer == 0) + + Added new, more useful icons to the status list in the toolbox + + Major toolbox (Device Manager) upgrade/redesign + + Added printer settings tab (sets printer options in + ~/.cups/lpoptions) + + Removed panel tab (merged panel with status tab) + + Redo of functions tab (new layout) + + Redo of status tab (new icons, layout, inclusion of front panel + display) + + Front panel display will show device panel if available, + otherwise most recent status text + + Redo of supplies tab (new layout) + + Redo of print jobs tab (now called printer control) (print + control widget, new layout, etc) + + hpssd will not store multiple history items with the same error + code (last one gets replaced) + + About box upgraded + + cupsext extended in functionality (ppd, options, etc) + + Removed trailing white space in IEEE 1284 model name. This will + fix URIs that have a trailing "_" character in the model + name. This issue crept back into the hpiod code after the libusb + update (closes: LP#85805). + + Fixed an issue in hp-check that caused a traceback if + '/etc/sane.d/dll.conf' is missing + + Added some more bug messages to hpaio. + + Fixed a traceback in hp-levels reported on the mailing list (defect) + + Set the device list column width in the toolbox splitter to be + more narrow by default + + Added the toolbox software version to the Device Manager about dialog + * HPIJS 2.7.2 + + Fixed media type for maxdpi printmode for vip printers and its + derivatives + + Fixed the cause of carriage stall error in C41xx printers + + Added support for the following new printer(s). + * Officejet Pro L7300 series (OJProKx50) + * Officejet Pro L7500 series (OJProKx50) + * Officejet Pro L7600 series (OJProKx50) + * Officejet Pro L7700 series (OJProKx50) + * HP Officejet Pro K5300 series (OJProKx50) + * HP Officejet Pro K5400 series (OJProKx50) + * HP Officejet J5700 series (DJGenericVIP) + OJProKx50 is derived from DJGenericVIP. + * 80_laserjet1100_fix.dpatch: Fixed problem of accessing an HP LaserJet 1100 + on the parallel port (reported in LP#98520). + * 82_scrolltool_py_deskjet_d4100_claen_device_not_found.dpatch: Fixed problem + of Python traceback when DeskJet 4100 not accessible (e. g. turned off), + reported in LP#98520 by Aaron Albright. + * 84_align10form_py_deskjet_5440_head_align.dpatch: Fixed problem of head + alignment GUI not working for DeskJet 5440 (closes: LP#98920). + * Removed patches 00_01_hplevels_fix.dpatch, + 80_hpijs_deskjet_d41xx_hangs.dpatch, + 85_hpfax_crash_when_hpssd_not_running.dpatch, + 90_hpfax_bad_lpinfo_-v_output.dpatch, merged upstream. + * Remade patch 14_charsign_fixes.dpatch, most of it was merged upstream. + * 61_noqt_message.dpatch: Improved error message which appears when + HPLIP utilities are called from the menu but PyQt is not installed + (closes: LP#86893).. + * Modified the debian/*.desktop files so that the environment variable + "STARTED_FROM_MENU=1" is set to make the utilities showing the + GTK-based error message window when called from the menu and PyQt is + not installed (closes: LP#86893). + * Added "NoDisplay=true" to the debian/*.desktop files so that the menu + entries for the HPLIP tools are hidden by default (closes: LP#67892). + * Fixed the pelling of the icon file names in the debian/*.desktop files + (closes: LP#88290). + * Removed debian/hp-toolbox.desktop, it was a duplicate menu entry for the + HP Toolbox. + * debian/hplip.postinst: Added clean-up for the ownerships of the user's + .hplip.conf files. hp-setup of HPLIP 1.7.1 (and perhaps some older + versions) created it with root ownerships and this made hp-toolbox not + starting (closes: LP#99326). + + -- Till Kamppeter Tue, 3 Apr 2007 16:40:55 +0100 + +hplip (1.7.1-1ubuntu2) feisty; urgency=low + + * 80_hpijs_deskjet_d41xx_hangs.dpatch: Applied offical patch from HP + (1.7.1-1), fixes DeskJet D41xx hanging on second job. + * 85_hpfax_crash_when_hpssd_not_running.dpatch: Fixes hpfax CUPS backend + crash when HPLIP daemons are not running (closes: LP#83936). + * 90_hpfax_bad_lpinfo_-v_output.dpatch: Fixes hpfax CUPS backend returning + an "hp:/..." URI instead of an "hpfax:/..." URI to CUPS. + + -- Till Kamppeter Wed, 14 Feb 2007 12:58:47 +0000 + +hplip (1.7.1-1ubuntu1) feisty; urgency=low + + * Merge from debian CVS (closes: LP#60242, LP#66830, + LP#74809, LP#77307), remaining changes: + - Add hplip to scanner group. + - Additional patches 70_no_fail_on_bad_locales, 80_no-compiler.h. + - Shuffling of hplip's recommendations/suggestions. + - Remove hplip's shutdown and reboot links. + - Splitting of desktop files, menu entries hidden by default. + - udev rules for MFP devices. + - Don't compress single files to make the package smaller. + * debian/hplip.postrm: Suppress error on uninstalling HPLIP when "scanner" + is not empty. + * 61_noqt_message.dpatch: Removed, functionality implemented upstream. + * 70_no_fail_on_bad_locales.dpatch: Rediff. + * debian/control: Added missing "libsane-dev" to Build-Depends. + * debian/hplip.install: Removed usr/lib/libsane*.so.*, not needed any more. + + -- Till Kamppeter Mon, 29 Jan 2007 12:58:47 +0000 + +hplip (1.7.1-1) unstable; urgency=low + + * New Upstream source + * HPLIP 1.7.1: + + Fixed uninitilized pointer in hplip_api library. + + Got some newer inkjet all-in-ones working with hp-makecopies: + + photosmart_c5100_series: Changed copy-type from '0' to '3' + + photosmart_c6100_series: Changed copy-type from '0' to '3' + + photosmart_c7100_series: Changed copy-type from '0' to '3' + + photosmart_3100_series: Changed copy-type from '0' to '3' + + photosmart_3200_series: Changed copy-type from '0' to '3' + + photosmart_3300_series: Changed copy-type from '0' to '3' + + Added a "last used device URI" feature to all utilities/UIs + + Added a device refresh after the job cancel function in the toolbox + + Fixed defect (hp-setup -u no devices ,

, etc. characters in + error log) + + Fixed sane_start: "Document feeder out of documents" problem with + LJ3300 MFP which have no ADF. + + Fixed defect (Test email text update) + + Improved progress dialog behaviour and messaging in hp-sendfax + + Fixed defect (The counter of selected picture in status bar does + not work if selecting picture by drag action.) + + Fixed defect (The "Show Thumbnail" item still appears after + executing "Show Thumbnails" operation if the picture does not support + "show thumbnail" function.) + + Implemented enhancement (Have front panel tab appear when supported + by printer) + + Fixed defect (The fax job can not be done while executing + 'hp-sendfax -n' in terminal on Fedora Core 6 32bit OS.) + + photosmart_c7100_series: Changed pcard-type from '2' to '1' + + Added feature (Fax Address Book also should be added on the Tools & + Settings tab in toolbox for usability.) + + Fixed defect (The printer still appears in the device list while + deleting the printer from CUPS.) + + Added feature: Toolbox device list auto refreshes after device is + added using hp-setup from toolbox + + Fixed an issue with ChoosePrinterDlg2 + + Re-wired "Configure Print Settings" in the toolbox to go directly + to the correct settings page for the printer + + Fixed an issue with toolbox auto refresh settings save in + ~/.hplip.conf + + Fixed defect (New Fax Address can not be listed in Individual(s) + and Group(s) fields of Recipients tab on Debian 3.1 32bit OS.) + + Fixed defect (The address can not be added to a group through edit + function in Fax Address Book.) + + Fixed defect (Help button is ineffective after clicking Align + Cartridges in Toolbox on Debian3.1 32bit OS.) + + Added some error checking to struct.unpack() in SLP packet decoding + + Fixed defect (An error occurs when enter "%" in "Print Name" of + "Enter Printer Information" window during setting up a device.) + + Fixed defect (The unloaded file still be showed in "Unload Files + from Photo Card" dialog box after unload it with "Remove selected + files" option in GUI mode.) + + Fixed defect ('.bmp' type file can not be directly added to a fax + job though this file type is listed in the Direct Allowable Types + list. ) + + Fixed problem with adding XPM files to hp-sendfax + + Removed extraneous MIME types from hp-sendfax allowable types + + Changed auto refresh update range to 5-60 sec. + + Merged PyQt polling fix (should fix faxing on systems with PyQt + 3.16 or 3.17) + + Added page range validation to hp-print (disallows ranges like "-2" + and "2-") + + Fixed defect 1291 (The plain-text type file which begins with + character "/*" can not be added rendered by the fax driver.) [Pretty + printing checkbox added to hp-print and hp-sendfax. Off by default.] + * HPIJS 2.7.1: + + Moved PSC 21XX from DJ9xxVIP to DJGenericVIP - these printers can + do fullbleed printing on 4x6 media + + Added a new printmode, photonormal for DJ9xxVIP to enable printers + without media sensors to print to photo media + * dpatch 00_01_upstream-fix-libusb-bigendian: removed, it is in 1.6.12 + * dpatch 00_02_upstream-fix-pragma-pack: removed, it is in 1.6.12 + * dpatch 10_shebang_fixes.dpatch: rediff + * dpatch 14_charsign_fixes: rediff + * dpatch 00_01_hplevels_fix (new): fixes showstopper bug in hp-levels + * debian/hplip.links: add link for hp-firmware + * debian/rules: use dh_clean without -k on install-stamp target, without + it we corrupt the changes file for the next build unless the clean + target was being invoked (as clean already had a dh_clean call) + * debian/control: suggest kdebase-bin (for kdesu) or gksu, as hp-toolbox + can use them + + -- Henrique de Moraes Holschuh Sun, 28 Jan 2007 15:59:50 -0200 + +hplip (1.6.12-1) UNRELEASED; urgency=low + + * New Upstream source + * HPLIP 1.6.12: + + Incorporated the following upstream change requests + from Red Hat: + 1. Removed IANA comment from hplip.conf. + 2. Added libm library check to configure.in. + 3. Added some IPP "STATE:" messages for CUPS 1.2 in the "hp" + backend. + + Applied 'hplip-loop' patch from Tim Waugh [changes hpssd.py async + loop timeout from 0.5 to 5.0 sec]. + + Fixed defect (The fax setup failed when executing hp-setup with + serial number USB ID parameter in terminal in Fedora Core6 32bit + OS.) + + Fixed defect ([hp-setup] device i/o error no way to cancel or go + back.) + + Fixed defect (The edit function can not be executed when changing + fax number only in Fax Address Book.) + + Fixed defect (The fax number and fax name was exchanged on the + "Finished Adding printer" page.) + + Fixed defect (Parameter "-bcups" of hp-probe command is disabled.) + + Fixed a potential batch scanning memory leak in libsane-hpaio with + scanimage version 1.0.18 or higher. + + Fixed defect (A blank screen is displayed while executing + "hp-check -lerror" in the terminal.) + + Fixed defect (The queue message of processing page is displayed + twice when executing a fax job with multi-pages in terminal in + Fedora core6.) + + Fixed a traceback in hp-check caused when non-HPLIP backends are + encountered in CUPS. [reported by user on mailing list] + + Fixed defect (The duplicate Nickname can be added to the Fax + Addresses by editing function.) + + photosmart_c6100_series: Changed copy-type from '3' to '0' [Note: + Make copies is temp. disabled for all inkjet AiOs] + + Replaced "pragma pack(1)" with "__attribute__ ((packed))" in all + C/C++ structures. This was needed for the ARM gcc compiler. + + Removed the libusb little-endian conversion in hpiod. This + conversion was not needed for big-endian systems because the usbfs + takes care of the big-endian to little-endian conversion. + + Added SANE_DEBUG_HPAIO support to libsane-hpaio + + Finished enhancement (Add mDNS/Bonjour/Rendezvous support to + hp-probe). + + Marked SANE_I18N text strings for localization in libsane-hpaio. + + Added checks to make sure conf files exist and have no errors. + + Reorganized include files in libsane-hpaio. + + Enhancement: HPSSD performance/code cleanup modifications (several + functions moved from hpssd to client code). + + Fax files are stored in temp files by hpssd rather than in memory. + + Fixed a problem with lineart scanning using MMR compression on + Laserjets. + + Workaround added for (Launch of hp-setup from hp-toolbox leads to + error [reported by Johannes]) [Added error dialog if gksu or kdesu + not found] + + Added the ability to quit in additional places for the color + alignment command-line tool and cleaned up some wording with-in the + command-line tool. + + Fixed defect (Allow [SERIAL NO.|USB bus:device|IP| DEVNODE] to be + used with -u) + + Fixed defect (The "remove of all files" - radio button is always + grayed-out in the hp-unload interface, so have removed it for now). + This was fixed by removing the radio button since we will not + support this functionality at this time. + + Applied the Ubuntu provided 61_noqt_message.dpatch with changes + [supplied by Matthias Klose with Ubuntu] + + Added missing time import in setupform.py. + + Fixed a problem with event forwarding in hpssd. + + Fixed a problem with device status refresh in hp-sendfax (hpssd + bug) + + Moved hplip_api code to separate "api" directory. + + Added hplip_api support for reading the new models.dat files. The + new models.dat file replaces the .xml files. For third-party + applications, the preferred way to read the models.dat file is to + use the hplip_api. The hplip_api can be used to get model attributes + without running the HPLIP daemons. See hplip_api.h for reference. + + Fixed defect (These Examples in usage of hp-setup that would work + in non-interactive mode should specify -i parameter.) + + Fixed defect (hp-print UI not usable on 800x600 screen w/GNOME) + * HPIJS 2.6.12: + + Made hplip_api calls in hpijs conditional at compile time. The + hpijs configure flag "hplip-build" will determine if hplip_api calls + are used. + + Added support for the following new printer(s). + + Color LaserJet CP4005 (LJColor/PS) + + LaserJet M5025 MFP (LJMono/PS) + + LaserJet M3027 MFP (LJMono/PS) + * This upstream version was never built or released by Debian + + -- Henrique de Moraes Holschuh Thu, 25 Jan 2007 23:53:53 -0200 + +hplip (1.6.10-3ubuntu3) feisty; urgency=low + + * Fixed hplip.desktop and added hplip-kubuntu.desktop. + Kubuntu doesn't have any application categorised in "Settings" + so that results a crappy Kmenu. The hplip.desktop file will not + show in KDE, and the kubuntu one, only shows in KDE, in + "System" section. + + -- Anthony Mercatante Sat, 20 Jan 2007 03:28:47 +0100 + +hplip (1.6.10-3ubuntu2) feisty; urgency=low + + * Rebuild for python2.5 as the default python version. + + -- Matthias Klose Fri, 12 Jan 2007 13:17:54 +0000 + +hplip (1.6.10-3ubuntu1) feisty; urgency=low + + * Merge from debian unstable, remaining changes: + - Add hplip to scanner group. + - Additional patches 70_no_fail_on_bad_locales, 80_no-compiler.h. + - Shuffling of hplip's recommendations/suggestions. + - Remove hplip's shutdown and reboot links. + - Splitting of desktop files, menu entries hidden by default. + - udev rules for MFP devices. + - Don't compress single files to make the package smaller. + - "NoQt message" patch. + - Added lines + usr/lib/libsane*.so.* + usr/lib/sane/libsane*.so.* + to debian/hplip.install to assure that scanning works. + + -- Till Kamppeter Tue, 19 Dec 2006 20:28:47 +0100 + +hplip (1.6.10-3) unstable; urgency=high + + * dpatch 00_01_upstream-fix-libusb-bigendian (new): Do not hto* libusb + stuff, it does so by itself (at least on the non-ancient versions), + backport from upstream 1.6.12-rc3 (closes: #401530) + * dpatch 00_02_upstream-fix-pragma-pack (new): Do not use pragma pack, use + attribute packed instead, backport from upstream 1.6.12-rc3 + + -- Henrique de Moraes Holschuh Mon, 18 Dec 2006 10:27:31 -0200 + +hplip (1.6.10-2ubuntu2) feisty; urgency=low + + * Added again missing libsane-hpaio.so.1.0.0 library. It seems that + Debian is not taking care of the missing scanner driver. Fixes + LP#65908 again. + + -- Till Kamppeter Mon, 11 Dec 2006 10:28:47 +0100 + +hplip (1.6.10-2ubuntu1) feisty; urgency=low + + * Synchronize with Debian CVS; remaining changes: + - Add hplip to scanner group. + - Additional patches 70_no_fail_on_bad_locales, 80_no-compiler.h. + - Shuffling of hplip's recommendations/suggestions. + - Remove hplip's shutdown and reboot links. + - Splitting of desktop files, menu entries hidden by default. + - udev rules for MFP devices. + - Don't compress single files to make the package smaller. + - "NoQt message" patch. + * Remove obsolete patches: debian/patches/80_no-compiler.h.dpatch. + + -- Matthias Klose Mon, 4 Dec 2006 16:24:01 +0100 + +hplip (1.6.10-2) unstable; urgency=low + + * debian/control: hpijs: Add versioned replaces on hpijs-ppds, hplip-ppds + for Fax PPD file move into hpijs package, that happened on 1.6.10-1 + (closes: #395862, #395847) + * debian/control: build-depend on patch >= 2.5.9-3bpo1 due to our use + of the Debian-specific -U flag for dpatch, introduced by + 2.5.9-4/2.5.9-3pbo1; build-depend on findutils >= 4.2.25 due to our use + of xargs -d. Thanks to Sylvain Beucler for noticing and + reporting these problems + + -- Henrique de Moraes Holschuh Sat, 28 Oct 2006 09:14:09 -0300 + +hplip (1.6.10-1) unstable; urgency=medium + + * New upstream source (closes: #393940, #395165) + * HPLIP 1.6.10: + + Fixed defect: hp-print and hp-sendfax: an error occurs while + executing hp-print with invalid device URI or the printer name + in CLI + + Removed batch scanning sane_cancel dependency. This fixes a + problem with scanimage version 1.0.18 or higher + (closes: #382648, #382652) + + Fixed defect: GUI Install - hp-setup - Does Not Finish + + Added icons to toolbox function page buttons + + Added make copies support for some inkjet AiO devices + + Added hp-timedate utility + + Simplified some text in hp-setup -u + + Fixed defect: the Timeout value for searching printer shouldn't + be able to set as value larger than 45 secs in HP Device Manager + + Made GUI mode the default for hp-setup + + Fixed defect: error occurs while manually finding the network + printers in HP Device Manager + + Made the "Find" button on the Manual Find dialog the default + button + + Added "Setup New Device..." in Toolbox + + Added "Remove Device..." in Toolbox + + Reworked "No Devices Found" dialog + + Fixed defect: Multi PPD files were found while installing the + Photosmart D5160 through hp-setup + + Fixed defect: hp-setup -u default window size needs to be a tad + larger + + Fixed defect: hp-setup -u par device detection problem + + Fixed defect: the "Location" and "Description" for Fax Information + also should be available while setup the device over hp-setup in + GUI mode + + Added additional fax name and printer name checking + + Fixed defect: hp-setup -u manually find usb device not manually + working + + Fixed defect: hp-setup -u Location/Desscription text field limits + + Fixed defect: hp-setup -u help button does not function + * HPIJS 2.6.10: + + Added support for the following new printer(s) + + LaserJet P2015 series (LJMono/PS) + + LaserJet M3035 MFP (LJMono/PS) + + LaserJet M5035 MFP (LJMono/PS) + + LaserJet M4345 mfp (LJMono/PS) + + LaserJet P3005 (LJMono/PS) + + LaserJet P3004 (LJMono/PS) + + Color LaserJet 2700 (PS) + + Color LaserJet CM1015 (PS) (no scanning yet) + + Color LaserJet CM1017 (PS) (no scanning yet) + * dpatches 50_ui-supportform-cleanups, 55_ui-supportform-debian (remove): + these patches were already disabled, and we are not going to enable them + back anytime soon anyway + * hplip.links: ship link for hp-timedate + * Makefile.am: fix borked install-exec-hook that broke libsane-hpaio + install (borkage added by upstream on 1.6.9), thanks to Matthias Klose + for forwading the bug report from Ubuntu + * debian/rules: correct paths to platform.h and auto-include.h, thanks + to Matthias Klose from Ubuntu + * debian/rules, debian/control: do the proper thing for binNMU safety, + and also simplify the various package relationships as much as we can: + hpijs-ppds: now depend on hpijs (versioned >=). hpijs: remove conflicts + with non-compatible ppd packages, and version suggests on hpijs-ppds + strictly. hplip-dbg: depend strictly on the version of hplip and hpijs + the debug symbols came from. hplip: suggest hpijs and hpijs-ppds with + >= version. This does allow the user to do stupid things if he really + wants, but given the ammount of arch any/all mixes in this set of + packages, attempting to get it perfect only causes headaches while + upgrading (and it is also nearly impossible) + * hplip.init: tell user to reinstall hplip if the statoverrides are + missing (closes: #393271) + + -- Henrique de Moraes Holschuh Thu, 26 Oct 2006 13:22:56 -0300 + +hplip (1.6.9-1) UNRELEASED; urgency=low + + * New upstream source + * HPLIP 1.6.9: + + Fixed defect: Printer supplies listed in "random" order + + Fixed defect: Don't report hpfax:/no_devices_found in CUPS 1.2 + + Fixed network printer detection (SLP) + + Added hp-probe back + + Fixed defect: The HP Fax URI could not be showed if executing + hp-makeuri with parameter "--fax" in the terminal + + Fixed defect: The "Add to List" button for Coverpage would be + grayed out after sent a fax job including Coverpage + + Fixed defect: An unexpected error occurred when add a FAB entry + using the space as the fist character of the entry name + + Made some misc. input validation improvements to hp-fab -i + + Changed print code so that it can use lpr or lp depending on + what is installed (lpr=default) + + Fixed defect: hp-unload only works with ASCII char's + + Fixed defect: hp-unload gives incorrect permissions bits. + hp-unload will save files with permissions of 0600. + + Fixed a laserjet scanning problem in hpiod + + Changed the 1284.4/MLC setup command for CLJ2840/LJ3050/LJ3055 + + Cleaned up PML errors occuring on DJ 4xx when doing dynamic + counters + + Fixed status-dynamic-counters value for DJ 460 + + Fixed defect: Toolbox cannot be launched successfully after setup + + Added code to cleanup spinner from text UIs + + Fixed defect: The fax job could not be sent while sending fax in + non-interactive mode + + Fixed defect: The value of Notes for an FAB entry cannot be + displayed correctly while the entry was added completely in + interactive mode + + Fixed defect: An error occurs while executing hp-sendfax in + non-interactive mode with the device disconnected + + Fixed defect: The .g3 file could not be added to the Items List + and could not be sent + + Fixed defect: The fax job could not be sent in non-interactive mode + + Added scan-style and fit-to-page fix to hp-makecopies + + Added scaling=100 to hp-sendfax. + + Moved Qt import in hp-toolbox and hp-print to after command line + processing + * HPIJS 2.6.9: + + Added support CD/DVD label printing (ie: PS D5100) + + Added support for the following new printer(s) + + PhotoSmart A310 series (DJGenericVIP) + + PhotoSmart C5100 series (DJGenericVIP) + + PhotoSmart C6100 series (DJGenericVIP) + + PhotoSmart C7100 series (DJGenericVIP) + + PhotoSmart D5100 series (DJGenericVIP) + + PhotoSmart D5060 series (DJGenericVIP) + + PhotoSmart Pro B8300 series (DJGenericVIP) + * debian/control: change -dbg package to priority extra, and place + hplip-ppds on section utils (to match ftp-master override file) + * Disable new libhpprop dynamic loading in hpijs ljjetready driver, + until we know for sure what it is and the code is fixed not to break + strict aliasing rules (and to use libtool) + * Fix some real and some cosmetic issues with the new Makefile.am and + configure.in files from upstream + * hplip.links: add hp-probe + * control: recommend both hpijs and linuxprinting.org PPD packages, + not just one or the other for package hplip + * hpijs: ship fax PPD in the hpijs binary package, and not in the + catch-all hpijs-ppds package. The reason for this is that many printers + need hpijs only for the fax functionality + * hplip.README.Debian: mention faxing, hpijs and python-reportlab for + covers + + -- Henrique de Moraes Holschuh Mon, 2 Oct 2006 16:25:00 -0300 + +hplip (1.6.9-0ubuntu2) edgy; urgency=low + + * Add missing libsane-hpaio.so.1.0.0 library. Ubuntu #65908. + + -- Matthias Klose Fri, 13 Oct 2006 15:28:47 +0000 + +hplip (1.6.9-0ubuntu1) edgy; urgency=low + + * Synchronize with Debian CVS; remaining changes: + - Add hplip to scanner group. + - Additional patches 70_no_fail_on_bad_locales, 80_no-compiler.h. + - Shuffling of hplip's recommendations/suggestions. + - Remove hplip's shutdown and reboot links. + - Splitting of desktop files, menu entries hidden by default. + - udev rules for MFP devices. + - Don't compress single files to make the package smaller. + * Restore and update the "NoQt message" patch, introduced in + 0.9.7-4ubuntu1, dropped later. + + -- Matthias Klose Wed, 11 Oct 2006 14:00:11 +0200 + +hplip (1.6.9-1) unreleased; urgency=low + + * New upstream source + * HPLIP 1.6.9: + + Fixed defect: Printer supplies listed in "random" order + + Fixed defect: Don't report hpfax:/no_devices_found in CUPS 1.2 + + Fixed network printer detection (SLP) + + Added hp-probe back + + Fixed defect: The HP Fax URI could not be showed if executing + hp-makeuri with parameter "--fax" in the terminal + + Fixed defect: The "Add to List" button for Coverpage would be + grayed out after sent a fax job including Coverpage + + Fixed defect: An unexpected error occurred when add a FAB entry + using the space as the fist character of the entry name + + Made some misc. input validation improvements to hp-fab -i + + Changed print code so that it can use lpr or lp depending on + what is installed (lpr=default) + + Fixed defect: hp-unload only works with ASCII char's + + Fixed defect: hp-unload gives incorrect permissions bits. + hp-unload will save files with permissions of 0600. + + Fixed a laserjet scanning problem in hpiod + + Changed the 1284.4/MLC setup command for CLJ2840/LJ3050/LJ3055 + + Cleaned up PML errors occuring on DJ 4xx when doing dynamic + counters + + Fixed status-dynamic-counters value for DJ 460 + + Fixed defect: Toolbox cannot be launched successfully after setup + + Added code to cleanup spinner from text UIs + + Fixed defect: The fax job could not be sent while sending fax in + non-interactive mode + + Fixed defect: The value of Notes for an FAB entry cannot be + displayed correctly while the entry was added completely in + interactive mode + + Fixed defect: An error occurs while executing hp-sendfax in + non-interactive mode with the device disconnected + + Fixed defect: The .g3 file could not be added to the Items List + and could not be sent + + Fixed defect: The fax job could not be sent in non-interactive mode + + Added scan-style and fit-to-page fix to hp-makecopies + + Added scaling=100 to hp-sendfax. + + Moved Qt import in hp-toolbox and hp-print to after command line + processing + * HPIJS 2.6.9: + + Added support CD/DVD label printing (ie: PS D5100) + + Added support for the following new printer(s) + + PhotoSmart A310 series (DJGenericVIP) + + PhotoSmart C5100 series (DJGenericVIP) + + PhotoSmart C6100 series (DJGenericVIP) + + PhotoSmart C7100 series (DJGenericVIP) + + PhotoSmart D5100 series (DJGenericVIP) + + PhotoSmart D5060 series (DJGenericVIP) + + PhotoSmart Pro B8300 series (DJGenericVIP) + * debian/control: change -dbg package to priority extra, and place + hplip-ppds on section utils (to match ftp-master override file) + * Disable new libhpprop dynamic loading in hpijs ljjetready driver, + until we know for sure what it is and the code is fixed not to break + strict aliasing rules (and to use libtool) + * Fix some real and some cosmetic issues with the new Makefile.am and + configure.in files from upstream + * hplip.links: add hp-probe + * control: recommend both hpijs and linuxprinting.org PPD packages, + not just one or the other for package hplip + * hpijs: ship fax PPD in the hpijs binary package, and not in the + catch-all hpijs-ppds package. The reason for this is that many printers + need hpijs only for the fax functionality + * hplip.README.Debian: mention faxing, hpijs and python-reportlab for + covers + + -- Henrique de Moraes Holschuh Mon, 2 Oct 2006 16:25:00 -0300 + +hplip (1.6.7-2ubuntu2) edgy; urgency=low + + * revert the Breaks usage and turn it into a Conflict to avoid + having to backport apt/dpkg/python-apt for the upgrade + (see bug: #54234 for the rational) + + -- Michael Vogt Tue, 26 Sep 2006 20:19:21 +0200 + +hplip (1.6.7-2ubuntu1) edgy; urgency=low + + * Merge from debian unstable. + * Removed patches 50_ui-supportform-cleanups.dpatch and + 55_ui-supportform-debian.dpatch, there is no support window in the HP + toolbox any more. + * HPLIP (file io/hpiod/usbext.h) includes linux/compiler.h which is not + part of Ubuntu Linux and not needed. Removed the include with patch + 80_no-compiler.h.dpatch. + * debian/control: Let the "Conflicts:" of hpijs-ppds be only a "Breaks:" + to facilitate an update from the previous version when both hpijs and + hpijs-ppds are installed. + + -- Till Kamppeter Fri, 15 Sep 2006 18:00:07 +0200 + +hplip (1.6.7-2) unstable; urgency=low + + * Transition to python 2.4, just rebuild (closes: #380845) + * Add python post-rtupdate handler to restart hplip, just in case + + -- Henrique de Moraes Holschuh Tue, 15 Aug 2006 00:35:27 -0300 + +hplip (1.6.7-1) unstable; urgency=low + + * The "I could easily start hating python because of them" release + * New upstream source (closes: #378401, #377265) + * HPLIP 1.6.7: + + Changed from dynamic IP ports to static IANA IP ports for hpiod + (2208) and hpssd (2207) + + Fixed defect: the valid letter and number for gray plot could not be + entered while executing hp-colorcal in terminal + + Fixed defect: the fax job could not be sent in non-interactive mode + + Move test page to last function with hp-setup + + Fixed defect: hp-setup would not select correct ppd file for some + models + + Removed Uni-di check code from device.Device.__openChannel() + + Fixed a problem that caused the fax wrong configuration error to + appear in error + + Fixed defect: the interactive and GUI mode for hp-fab can be entered + while executing hp-fab with parameter -i and -u + + Fixed defect with DeskJet 5540: traceback during align click from + toolbox + + Added non-interactive mode (-n) to hp-sendfax + + Added interactive mode (-i) to hp-fab. + + Fixed defect: the reduction was set to 25% automatically while + setting the Reduction/enlargement override 25-400%.) + + Added hp-makecopies + + Fixed defect: CUPS 1.2 does not auto-associate the PPD file to the + fax URI + * HPIJS 1.6.7: + + Added support for the following new printers: + + Photosmart D6100 series (DJGenericVIP) + + Photosmart D7100 series (DJGenericVIP) + * dpatch 00_01_upstream-1.6.6-1.dpatch (remove): applied upstream + * dpatch 20_fix_warnings (remove): accepted upstream + * dpatch 60_lp_instead_of_lpr (remove): accepted upstream + * Python policy changes (closes: #380845): + + Build-depend on debhelper (>= 5.0.37.2), python-support (>= 0.3) + + Add debian/pycompat with a content of "2" + + Call dh_pysupport in debian/rules, and move dh_installinit after + it for postinst scriptlet sanity + * hplip.init: Make sure to set permission of hpssd files in case the user + changed the suid/sgid information (closes: #372537) + * debian/control: remove redundant python build-dependency, as we have + python-dev already + * hplip.links: remove link for hp-photo, as that utility does not exist + anymore; add new hp-makecopies utility + * Makefile.am: ship copier/ stuff in libexecdir + * debian/rules: make sure we point to the hplip-doc package in hplip.conf + + -- Henrique de Moraes Holschuh Wed, 9 Aug 2006 14:26:00 -0300 + +hplip (1.6.6-1) UNRELEASED; urgency=low + + * The "it is just a number, after all... or is it?" non-release + * New upstream source + + HPLIP has reached maturity, with an 1.x release + + Switch versioning scheme for hplip and hpijs + + CUPS 1.2 compatibility + * HPLIP 1.6.6 (patchlevel 1): + + Fixed broken links in HTML documentation + + Added DOT4Init retry in hpiod. This fixed a intermittent scanning + problem with the HP PSC 3100 + + Changed libsane-hpaio to display any received scan data after I/O + timeout instead of aborting + + Fixed the File Types that can be directly added to the fax job could + not be displayed accurately on Send Fax dialog + + Added 30sec retry and timeout to hpfax + + Added CUPS 1.2 compatible output to hpfax + + Removed DeviceOpen from hp backend. This fixes two problems 1) usblp + will no longer be removed for device discovery 2) device discovery + will no longer cause Inkjets to power-up (closes: #369286) + + Changed hp backend device discovery verbage in order to work better + with CUPS 1.2 + + Fixed status-types for 2006-09 devices (5 --> 2) + + Fixed panel display for older OfficeJets that have VSTATUS + + Fixed "no printers installed, run toolbox, install printer, toolbox + produces error" bug + + Updated hpfax to "No devices found" text and behavior + + Removed extraneous syslog message during parallel port ProbeDevice + + Rewrite of toolbox refresh code. Should fix long running issue + + Fixed HP-Toolbox no activity after an hour causes toolbox to + disconnect from all printers + + Fixed the Job ID for fax job should be displayed in Status tab of + toolbox while starting fax send + + Modified XML schema (and all XML files to comply with it) - + status-type broken out into status-type, status-battery-check, and + status-dynamic-counters + + Made hplip_GetID more bullet proof in hplip_api.c + + Fixed invalid memory free in libsane-hpaio. Only occurred in the + sane_hpaio_open abort path + + Changed 1284.4/MLC credit reply timeout from 2 to 4 seconds in + hpiod. This fixed a problem with 1200dpi uncompressed scanning (ie: + PhotoSmart 2575) + + Removed support dialog (should have been removed in 0.9.11, was + missed) + + Changed Tools and Support pane to include "View Documentation" + rather than "View Support" - opens online docs in browser like + Help | Contents... + + Added sane hpaio.desc file to documentation + * HPIJS 2.6.6: + + Fixed an auto duplex problem in HPIJS + + Fixed gcc 4.1 compiler issues with HPIJS glue code + + Added support for the following new printers: + + Deskjet D4100 series (DJ4100) + + Deskjet D2300 series (DJ3600) + + Deskjet D1360 series (DJ3320) + + Photosmart A430 series (DJGenericVIP) + + Photosmart A510 series (DJGenericVIP) + + Photosmart A710 series (PSP470) + + Photosmart A610 series (PSP470) + + Photosmart C4100 series (DJGenericVIP) + + Photosmart C3100 series (DJGenericVIP) + + Photosmart D7300 series (DJGenericVIP) + + Updated the Ghostscript KRGB patch: Revisited the KRGB buffer + overflow issue with out-of-band data in fill_rectangle and + copy_mono. Changed the fill_rectangle and copy_mono to an inner + loop buffer check instead of a outer loop x/y extent check. + As requested by Ralph Giles, added K 1-bit (KRGB) and 8-bit (KxRGB) + support for KRGB, but only 1-bit is implemented for now + * hpijs-ppds: depend on foomatic-filters as the PPDs require foomatic-rip + to work. Version dependency to a new enough foomatic-rip (available in + stable as well, so this is not strictly needed, but still...) + (closes: #369833) + * hpijs: drop suggestion on foomatic-filters, hpijs doesn't use it for + anything anyway, and the PPDs (who do) now depend on it + * hplip: recommend one of hpijs-ppds or linuxprinting.org-ppds instead of + suggesting both. HPLIP really needs a PPD to do anything useful + * Improve description of the hplip-dbg package a little + * debian/watch: remove outdated URIs, update to version 3 + * dpatch 00_01_upstream-0.9.11-2 (remove): applied upstream + * dpatch 00_01_upstream-1.6.6-1 (new): upstream HPLIP 1.6.6-1 + * dpatch 40_quiet-hpiod (remove): accepted upstream + * dpatch 60_lp_instead_of_lpr: rediff + * dpatches 50_ui-supportform-cleanups, 55_ui-supportform-debian (disable): + upstream removed the supportform, but we may want to add those panes + somewhere else so just disable the patches for now + * dpatch 20_fix_warnings (new): fix broken code in hpijs that caused + warnings + * Remove old KRGB 1.2 patches + + -- Henrique de Moraes Holschuh Fri, 16 Jun 2006 18:44:55 -0300 + +hplip (0.9.11-2ubuntu7) edgy; urgency=low + + * 70_no_fail_on_bad_locales: + - don't fail if the locales can't be set (this breaks upgrades) + * Pre-Depend on python (>= 2.4.3-5). We need a working pyversions + otherwise invoke-rc.d will fail to start hpssd in the postinst + + -- Michael Vogt Mon, 4 Sep 2006 06:37:25 +0200 + +hplip (0.9.11-2ubuntu6) edgy; urgency=low + + * debian/rules: + - applied another debian patch to fix upgrade problem (dapper->edgy) + + -- Michael Vogt Fri, 1 Sep 2006 21:41:33 +0200 + +hplip (0.9.11-2ubuntu5) edgy; urgency=low + + * debian/rules: + - fix the ordering of the rules, this unbreaks the upgrade from + dapper to edgy (lp: #46595) + + -- Michael Vogt Wed, 30 Aug 2006 12:23:21 +0200 + +hplip (0.9.11-2ubuntu4) edgy; urgency=low + + * Add forgotten versioned-dependency on sysv-rc to get new update-rc.d + behaviour. Go me. + + -- Scott James Remnant Fri, 21 Jul 2006 01:29:01 +0100 + +hplip (0.9.11-2ubuntu3) edgy; urgency=low + + * Remove stop links from rc0 and rc6 + * Fix bogus build-depend line that doko introduced. + + -- Scott James Remnant Fri, 21 Jul 2006 00:35:52 +0100 + +hplip (0.9.11-2ubuntu2) edgy; urgency=low + + * Convert to updated Python policy. + * Run hpiod as root. + + -- Matthias Klose Thu, 6 Jul 2006 13:39:45 +0000 + +hplip (0.9.11-2ubuntu1) edgy; urgency=low + + * Resynchronize with Debian unstable. + + -- Matthias Klose Thu, 6 Jul 2006 15:20:00 +0200 + +hplip (0.9.11-2) unstable; urgency=low + + * dpatch 00_01_upstream-0.9.11-2 (new): HPLIP 0.9.11-2 + + Fixed an intermittent auto duplex problem with HPIJS + (closes: #360017) + + Add some missing PSC 950 model entries in models.xml + + Fixed some NDEBUG compiler issues (Debian) + + Fixed some gcc 4.1 compiler issues (Debian) + * dpatch 20_fix-asserts (remove): accepted upstream + * dpatch 30_gcc4.1-fixes (remove): accepted upstream + * dpatch 50_doc-location (remove): superseeded by dpatch + 50_ui-supportform-cleanups + * dpatch 50_ui-supportform-cleanups (new): Remove useless README pane + in hp-toolbox support form, fix the URIs to have ending slashes, and + some other cosmetic fixes + * dpatch 55_ui-supportform-debian (new): Add Debian pane to hp-toolbox + support form + + -- Henrique de Moraes Holschuh Fri, 12 May 2006 23:40:38 -0300 + +hplip (0.9.11-1) unstable; urgency=low + + * The "Eating hedgehogs ain't smart" release + * New upstream version: + * HPLIP 0.9.11: + + Changed hp-sendfax behavior: Now hp-sendfax must be run before + print jobs can be printed to a fax queue + + Completely revamped the email alert system (now uses sendmail + rather than a SMTP server) + + Changed hpssd so that it will not send an email if the same device + has the same error code multiple times in a row + + Changes auto device refresh interval units from seconds to minutes + in the hp-toolbox + + Added a device auto refresh type (all or 1) to settings dialog in + the hp-toolbox + + Replaced hplip_readme.html with web documents available at + hplip.sf.net + + Moved the DeviceClose in the hp-toolbox testpage routine to before + the lpr to fix an issue with contention with the "hp" backend + + Fixed a defect in hp-fab that didn't allow previously added + entries to be modified + + Added better error checking to hp-sendfax to detect HPLIP daemons + not running + + Fixed LJ2840 network port for faxing in hpiod + + Turned status off for all Business Inkjets 2200-2600 + + Moved fax address book file from ~/.hplip.fab to ~/hpfax/fab.db + + Changed hp-fab so that duplicate entries cannot be created + + Fixed endianness issue that hosed the HP Color LaserJet 3500 on + PPC (closes: #317683) + * HPIJS 2.1.10: + + Moved PSC 21xx from DJGenericVIP to DJ9xxVIP device class + (this requires all PSC 21xx users to update their PPDs) + + Forced hpijs and hppgsz to always build with -DNDEBUG + + Merged hpijs_readme.html into hplip documentation + + Added support for the following new printers: + + LaserJet 5200 (LJMono/PS) + + LaserJet 5200L (LJMono/PS) + + Color LaserJet 2605 (PS) + + Officejet 6300 series (DJGenericVIP) + + Officejet 4300 series (DJ3320) + * dpatch 00_01_upstream-0.9.10-2 (remove): applied upstream + * dpatch 00_01_upstream-0.9.11-1 (new): preliminary upstream patch: + + Fix regression where the PSC 950xi stops being detected + (reported by Till Kamppeter) + * dpatch 14_charsign_fixes: remove hunk applied upstream, rediff + * dpatch 60_lp_instead_of_lpr: update for new upstream code + * dpatch 20_fix-asserts (new): fix bugs that show up on NDEBUG builds + * dpatch 30_gcc4.1-fixes (new): fix strict aliasing bugs for gcc 4.1 + * Ship the new HPLIP/HPIJS documentation in a new arch-all package, + hplip-doc. The hplip and hpijs packages now have just Debian + documentation, and point to the hplip-doc package (or to the + online URI for that documentation) for the full user manual + * Add a users-guide.txt file to hplip and hpijs documentantion, + to point users to the hplip-doc package and to the online manual + * Bump standards version to 3.7.2 (no changes required) + * Drop support for initscript systems without invoke-rc.d, as + invoke-rc.d is now required per policy. This also shuts lintian + up, which is always a nice bonus + * hpijs.NEWS, hplip.NEWS: update for the new release + * hpijs.README.Debian: minor cleanup, and point users to hpijs-ppds + * hplip.README.Debian: minor updates and cleanup + * debian/control: Make hplip automatically recommend the newest + hpijs upstream version, instead of a manually set one I am not + always really sure about + * debian/rules: Provide hpijs:Source-Version as well for the control + file + * Add new hplip-dbg package with full symbolic debugging information for + all binaries and libraries generated by this source package + (closes: #366766) + * debian/control: place hpijs and hpijs-ppds on section text (as per the + override file for hpijs, and other -ppds packages) + * Ship doc/release_notes.html as the upstream changelog, as the old + text changelog is not being updated anymore by upstream + + -- Henrique de Moraes Holschuh Thu, 11 May 2006 12:56:38 -0300 + +hplip (0.9.10-1) unstable; urgency=low + + * New upstream version + * HPLIP 0.9.10 (patchlevel 2): + + Made the "hp" backend more product specific, now HP USB keyboards + won't be misdetected as printers.... + + Fixed jetdirect write timeout in hpiod + + Added deviceID to output of "hp" backend for CUPS 1.2 + + Fixed a problem where no fax send dialog pops up when sending + a fax job from OpenOffice Writer and the fax job can not be sent + correctly + + Fixed a hp-setup crash which can occur during fax setup testpage + printing + + Modified the hp-toolbox and hp-print so that they will work with + unsupported printer models without crashing + + Hp-setup now allows the user to manually enter a PPD file path + + The "NickName" from each located PPD file is displayed to the user + so that the "(recommended)" text will be shown. + + Fixed an error which occurs while executing hp-sendfax with + b parameter. + + Fixed a hp-toolbox problem displaying cartridge information for + Photosmart 8700 when device is connected via network + * dpatch 00_01_upstream-0.9.10-2 (new): upstream patchlevel 2 + + Drop useless (and broken) model test comparison (closes: #360385) + + Fix local DoS when usb communications get stuck + * dpatch 14_charsign_fixes: add new hunks to fix more sign problems + * Replace all instances of the old upstream hopepage (hpinkjet.sf.net) + with the new one (hplip.sf.net) + * Point users to the new upstream mailinglists + * Add watch entries for the renamed sourceforge project + + -- Henrique de Moraes Holschuh Mon, 24 Apr 2006 12:57:59 -0300 + +hplip (0.9.9-2) unstable; urgency=low + + * configure.in, Makefile.am, debian/rules, prnt/hpijs/configure.in: + fix /etc/hp/hplip.conf ppd dir setting, thus unbreaking hp-setup + and remove useless cruft re. PPD dir setup while at it (closes: #358719) + + -- Henrique de Moraes Holschuh Fri, 24 Mar 2006 21:22:17 -0300 + +hplip (0.9.9-1) unstable; urgency=low + + * New upstream version + * HPIJS 2.1.9: + + Fixed an array index underflow in ljfastraster.cpp + + Save paper width and height in UXServices object after a call to + SetPaperSize + + When fullbleed printing is requested, if printer supports it, + return actual paper dimensions for PrintableArea + + Added support for the following new printer(s): + + HP DeskJet F300 Series All-in-one (DJ3600) + * HPLIP 0.9.9: + + HPLIP now uses libusb for all USB I/O. Libusb replaces kernel + modules printer and usblp, and opens an entirely new can of worms + + Removed support for USB URIs based on device files. This means all + printers now use USB URIs based on "hp:/hp_model?serial=xxxxxxxx" + instead of "hp:/hp_model?device=/dev/usb/lpx". Old CUPS queues must + be updated to the new device location + + Added full USB 1284.4 support for the Color LaserJet 2840, and for + LaserJets 3050, 3060, 1010, 1012, 1015 and 2500 + + Updated HP-Fax-hplip.ppd to be in conformance with CUPS 1.2 + + Updated most LaserJet PPDs for CUPS 1.2 + + Changed the GetSnmp timeout from 5 to 2 seconds in hpiod + + Fixed incorrect supplies information for Color Laserjet 2840 + displayed in hp-toolbox + + Fixed problem where title input was of no use while adding a file to + item list in send fax dialog + + Add models.xml parallel port flag for Deskjet 5550 + + Moved hp-sendfax temp .g3 files to ~/hpfax/hpfax-*.g3. Before, + they would clutter the user's home directory + + Files added to hp-sendfax interface are now rendered into g3 format + as they are added to the batch + + Removed temporary file creation from hpfax: (temp files now created + only by hp-sendfax using mkstemp) + + Added total page counting feature to hp-sendfax + + Added a BSD license to magic.py + * debian/control: build-depend on libusb >= 0.1.8 + * dpatch 00_01_upstream-0.9.8-4: remove (applied upstream) + * dpatch 60_lp_instead_of_lpr: rediff to remove skips + * dpatch 40_quiet-hpiod: rediff to remove skips + * dpatch 01_rss: rediff to reorder file hunks + * dpatch 30_no-ping: remove, upstream removed icmp functionality + * dpatch 70_sane_ppd_directory_handling: remove (applied upstream) + * dpatch 45_quiet_hpijs-fax: remove (applied upstream) + * dpatch 35_no-fax-setuid: remove, upstream now does seteuid()/setegid() + only if sendfax is being run as root + * dpatch 10_shebang_fixes (new): new dump place for #! fixing + * hplip.menu: s/hp-fax/hp-sendfax/ + * debian/control, debian/compat: switch to debhelper mode V5 + * debian/control, debian/rules: provide and use hpijs:Upstream-Version, + rename Upstream-Version to hplip:Upstream-Version + * Rename hplip-ppds package to hpijs-ppds, update all documentation to + point to hpijs-ppds and linuxprinting.org-ppds and add a hpijs.NEWS + entry about the package rename as well + * debian/control: conflict hpijs with hplip-ppds versioned to source + version, as a dirty trick to not clash with hpijs-ppds providing + hplip-ppds + * debian/rules, debian/hpijs-ppds.install, debian/hpijs-ppds.links, + debian/hpijs-ppds.NEWS: + Don't ship non-hpijs PPDs anymore, linuxprinting.org-ppds takes care + of the pure postscript PPDs now + * debian/rules: version hpijs-ppds the same way we version hpijs + * debian/control: suggest hpijs-ppds and linuxprinting.org-ppds for hplip + instead of recommending the old hplip-ppds package. Recommend hpijs + with fax support for hplip. Remove conflict on foomatic-db-hpijs and + foomatic-filters-ppds from hplip. Conflict hpijs-ppds with + foomatic-filters-ppds before 20060113-1 when the PPD duplication was + removed from foomatic-filters-ppds + * debian/control: rework package descriptions a little + * debian/rules: ship all PPD files compressed + * debian/rules: separate arch-dep and arch-indep install, to avoid wasting + a great deal of time on slower archs gziping PPDs + * hplip initscript: Run hpiod as root because of libusb + * debian/copyright: update dates + + -- Henrique de Moraes Holschuh Sun, 19 Mar 2006 23:32:57 -0300 + +hplip (0.9.8-1) unstable; urgency=low + + * This release was not uploaded to Debian + * New upstream version + * HPIJS 2.1.8 (patchlevel 4): + + Moved OfficeJet 6100 and 6150 to DJ55xx.h; margins on these devices + are same as those on DJ5550 + + Added support for the following new printers: + + HP LaserJet 3050 (LJMono/PS) + + HP LaserJet 3060/3062 (LJMono/PS) + + HP LaserJet 3390/3392 (LJMono/PS) + + HP Deskjet 6980 series (DJGenericVIP) + + HP Deskjet 6940 series (DJGenericVIP) + + Updated KRGB patches to version 1.2: + + Fixed krgb buffer overflow issue with out-of-band data in + fill_rectangle and copy_mono. This buffer overflow condition + occurred with fullbleed print jobs that had k-band images + + Added Dan Coby's (artifex) fix for gsijs_read_string_malloc + gs_free *str memory leak. + * HPLIP 0.9.8 (patchlevel 4): + + Added send fax support (still quite rough) + + Added HP Setup utility + + Fixed deviceid zero termination issue in hplip_api.c + + Enhanced the status history table in hp-info + + Changed device list in toolbox to use small icons for status overlay + + Modified models.xml file to add pen info back to OJ5500 and disable + front panel + + Removed probe.py from distribution + + Added Fax URI generation to hp-makeuri + + Fixed hp-makeuri so that it would not report URIs for non-existent + functions + + Fixed hp-makeuri quiet modes that they are actually quiet + + Added a new chooser dialog that presents a list of CUPS queues + rather than device URIs (hp-sendfax, hp-print) + + Fixed a hpiod problem with the PS 2570 series. This will fix the + scanning blue-screen error with USB High Speed + * dpatch 00_01_upstream-0.9.8-4 (new): 0.9.8 patchlevel 4 + * hplip package: recommend python-reportlab for fax cover page support + * Instead of modifying the PPD manufacturer tag from HP to HP (HPLIP), + now append HPLIP and the upstream version to the nickname + (closes: #347264) + * Ship hpijs PPDs in /usr/share/ppd/hpijs/ as per + the Debian PPD file structure specification. Ship the pure postscript + PPDs in /usr/share/ppd/hplip-postscript, for now + * Normalise case and start all HP PPD file names with "HP-" + * debian/control: Remove foomatic-db-hpijs from suggests and + recommends, as it will go away + * Update READMEs and NEWS files for the above PPD changes, add NEWS + file for hplip-ppds while at it + * Update hplip's README for hp-setup + * Mention that the RSS patch is stale in hpijs' README + * Removed patch already applied upstream: 00_01_upstream_0.9.7-2 + * dpatches 30_no-ping, 50_doc-location, 60_lp_instead_of_lpr: rediff + * Let configure detect all standard paths for CUPS, except for the + PPD path + * Prune non-shipped-files.txt, and change debian/rules to tell us + which files were removed instead of doing it silently + * dpatch 70_sane_ppd_directory_handling (new): modify hplip to + look for PPD files under /usr/share/ppd/hplip, instead of + searching the entire CUPS PPD tree (used by hp-setup) + * Add menu entries for hp-print, hp-sendfax and hp-fab + * Add HPmenu.xpm icon + * dpatch 35_no-fax-setuid (new): change hpssd fax queue function + not to setuid(), as we don't run as root. This limits sending + faxes somehow, but the impact is not clear to me yet. Bug reports + welcome + * dpatch 45_quiet_hpijs-fax (new): remove noisy hpijs debug output in + the fax driver + * debian/control: rework package descriptions, mention fax support + * Ship KRGB patches cleaned up and tailored for Debian's gs versions + * Update debian/copyright for new directories, mention license of KRGB + patches (MIT) + + -- Henrique de Moraes Holschuh Mon, 6 Mar 2006 16:43:08 -0300 + +hplip (0.9.7-4ubuntu1) dapper; urgency=low + + * Synchronize with Debian unstable. + * Keep the .desktop file, add "NoDisplay=true". + * Keep qt build dependencies, now in main. + * hplip-data now provides hpijs-data (introduced in 0.9.8). + * Try to open a message dialog for the "No Qt" message. Malone: #26413. + * Install ppd files into a manufacturer specific directory. + * Set the manufacturer name to "HP". + * Start hplip before cupsys. Malone: #3841, #26570. + * Put toolbox icon in category system, not application. Malone: #25627. + + -- Matthias Klose Tue, 11 Apr 2006 10:27:47 +0000 + +hplip (0.9.7-4) unstable; urgency=low + + * New upstream 0.9.7-2 patch: fixes for the following problems: + + Photosmart 2570 series blue screen scanning error + + GetDeviceStatus overwrite in hpiod (from RedHat) + + SuperB margin issue with OJ K550, OJ K850 and DJ9800 + + _GNU_SOURCE define in hpaio.h. (from RedHat) + * Remove versioning of python-qt3 and pyqt-utils build-dependencies to + make backports easier. Current versions in stable, testing and sid + are safe AFAIK + * Build-depend on libsnmp9-dev|libsnmp5-dev, to ease sarge backports + + -- Henrique de Moraes Holschuh Wed, 7 Dec 2005 14:05:12 -0200 + +hplip (0.9.7-3) unstable; urgency=low + + * Switch from two versioned conflicts to two versioned depends/recommends + to encode the relationship between hplip and hplip-data. This is + easier on apt, since conflicts preclude unpack, while depends preclude + configure + * Fix non-removal of rem_str on 60_lp_instead_of_lpr (closes: #341445) + + -- Henrique de Moraes Holschuh Wed, 30 Nov 2005 15:04:33 -0200 + +hplip (0.9.7-2) unstable; urgency=low + + * Brown paperbag release + * Actually add 60_lp_instead_of_lpr to list of active dpatches. + This closes: #336407 for real + + -- Henrique de Moraes Holschuh Fri, 25 Nov 2005 00:24:58 -0200 + +hplip (0.9.7-1) unstable; urgency=low + + * New upstream version + * HPIJS 2.1.7: + + Fixed OJ K550 typo in HPIJS + + Added photo tray support to DJGenericVIP device class. This effects + all DJGenericVIP PPD files + + Added support for the following new printers: + + HP Color LaserJet 3000 (LJColor/PS) + + HP Color LaserJet 3600 (LJJetReady) + + HP Color LaserJet 3800 (LJColor/PS) + * HPLIP 0.9.7: + + Added 1284.4 support to hpiod. Previous support was MLC only + + Changed hp-toolbox startup behavior to increase performance + + Added checks in messaging code to prevent invalid messages from + crashing hpssd + + Added hp-toolbox PML cleanup code to LJ status code + + Fixed clj28xx scanning issue. Mfpdtf buffer was too small + libsane-hpaio. This fixes a problem introduced in 0.9.5 + + Modified hp-makeuri to allow hostnames for network addresses + + Added support for "alternate n-up" for PS documents to hp-print + + Fixed an issue where the website link for support information is + wrong in "HP" tab of "Support Information" dialog + + Fixed an issue setting the scan token in libsane-hpaio + + Fixed an issue where an error occurs while executing the command + "hp-check -lnone" in terminal + + Fixed an issue where an exception is caught but the program does not + show a correct prompt when running the command "hp-align" with parameter + -p + + Fixed System::GetSnmp sigfault in hpiod. This will fix network + scanning/hp-toolbox issues in previous HPLIP releases + + Fixed an issue where an error occurs while executing hp-photo after + the usb cable was disconnected + * Use far less tight versioning that works with the new rules for binNMUs, + and break a dependency loop while at it (closes: #339909) + * Add versioned dependency on coreutils 5.1+ (closes: #337375) + * New dpatch 60_lp_instead_of_lpr: + Use "lp" instead of "lpr" to submit jobs (closes: #336407) + * Ship copyright and changelogs along with hplip-data too, as it is not + depending on hplip anymore and the /usr/share/doc/hplip-data symlink has + to go away + + -- Henrique de Moraes Holschuh Thu, 24 Nov 2005 16:20:29 -0200 + +hplip (0.9.6-1ubuntu8) dapper; urgency=low + + * Fix symlink in /usr/share/cups/model. + + -- Matthias Klose Fri, 14 Apr 2006 08:06:24 +0000 + +hplip (0.9.6-1ubuntu7) dapper; urgency=low + + * Keep the .desktop file, add "NoDisplay=true". + * Keep qt build dependencies, now in main. + * hplip-data now provides hpijs-data (introduced in 0.9.8). + * Try to open a message dialog for the "No Qt" message. Malone: #26413. + * Install ppd files into a manufacturer specific directory. + * Set the manufacturer name to "HP". + * Start hplip before cupsys. Malone: #3841, #26570. + * Put toolbox icon in category system, not application. Malone: #25627. + + -- Matthias Klose Tue, 11 Apr 2006 10:27:47 +0000 + +hplip (0.9.6-1ubuntu6) dapper; urgency=low + + * Updated patch name and listed it from 00list so it's used + + -- Sebastien Bacher Wed, 15 Feb 2006 23:53:10 +0100 + +hplip (0.9.6-1ubuntu5) dapper; urgency=low + + * Patch to support the newer-style /dev/usblp%d device names we've + been using in dapper for USB printers. + + -- Scott James Remnant Wed, 15 Feb 2006 18:18:14 +0000 + +hplip (0.9.6-1ubuntu4) dapper; urgency=low + + * Rebuild with libsnmp9-dev. + + -- Fabio M. Di Nitto Thu, 01 Dec 2005 08:13:47 +0100 + +hplip (0.9.6-1ubuntu3) dapper; urgency=low + + * Really disable .desktop file by removing it from debian/ + * Really make hp-toolbox and hp-unload give helpful error + messages. (Malone #4659) + + -- Tollef Fog Heen Mon, 21 Nov 2005 09:24:32 +0100 + +hplip (0.9.6-1ubuntu2) dapper; urgency=low + + * Demote python-qt3 to Suggests (so we don't end up with python-qt3 in + desktop) + * Don't ship .desktop file. + * Make hp-toolbox and hp-unload give helpful error messages if + python-qt3 isn't installed. + + -- Tollef Fog Heen Thu, 17 Nov 2005 10:36:22 +0100 + +hplip (0.9.6-1ubuntu1) dapper; urgency=low + + * Resynchronise with Debian + - Remove 90_bigendian-fix.dpatch, since it's already upstream + - Remove 88_configure.in.dpatch and 89_configure.dpatch and pass icon + path in debian/rules instead. + - Still use libsnmp5-dev. + - Switch to newer-style LSB init script functions (which are in the + Debian package, thanks hmh) + - Forward-port "have hplip installed, but please don't start it" + patch. + + -- Tollef Fog Heen Tue, 15 Nov 2005 11:30:10 +0100 + +hplip (0.9.6-1) unstable; urgency=low + + * New upstream version + * HPIJS 2.1.6: + + Moved DJ450 from DJGenericVIP class to DJ9xxVIP class, because + mandatory margins are 0.25 inch on left and right sides and it does + not support fullbleed on any papersize + + Added a new printer family, DJ55xx to take care of margin issues for + DJ55xx printers + + Fixed a bug in sending custom paper size to JetReady and FastRaster + printers + + Fixed a bug in LJFastRaster when last band was less than 128 height, + it was incorrectly positioned. + + Fixed margin adjustment code to allow fullbleed or .125 inch margins + for those printers that support it in autoduplex mode + + Added support for the following new printers: + + HP Color LaserJet 4730 MFP (LJColor/PS) + + HP Deskjet 460 (DJGenericVIP) + + HP Officejet Pro K550, K850 (DJGenericVIP) + * HPLIP 0.9.6: + + In hp-toolbox (Device Manager) made a small LaserJet status change + that makes the CLJ 2550 work correctly + + Fixed a bug with the PSC3310 with low photo supplies (caused a + toolbox exception) + + Fixed a problem that made an offline CLJ2500 crash hpssd + + The hp-toolbox no longer uses a "listen" server socket. All + communication is done over the same client socket to hpssd + + Added new hp-toolbox UI for supplies and maintenance tools + + Made numerous changes to hp-toolbox + + Set CLJ 25xx devices to uni-di mode in models.xml + * Henrique de Moraes Holschuh: + * Remove patches already applied upstream: + 00_upstream-0.9.5-3, 11_fix-misc-gcc-warnings, 13_intsign-fixes, + 15_64bit_fixes, 20_fix_unitialized_var_bugs, 50_hp-clean_fix, + 99_ubuntu_hplip-deroot + * Remove some hunks already applied upstream: + 14_charsign_fixes + * Add a NEWS file for hpijs, warning users of PPDs that are documented + by upstream to have been changed significantly + * Fix hpijs autobuild system to actually work re. libhpip, by adding + some automake magic and libtool support + * Merge hplip-base and hplip packages. Current upstream code makes it + a losing battle to try to keep the two separate + * Don't bother explaining about alternate PPD sources in basic docs like + README.Debian. Don't suggest them in control file, either. This is + needed because HPLIP PPDs often change in non-forward or non-backwards + compatible ways + * Remove stray scan/__init__.py file + * New patch 30_noping: Do not attempt to send icmp packets in hpssd, as + it will not work since it doesn't run as root anymore. Thanks to + tatu.mannisto@iki.fi for the report (closes: #333850) + * New patch 40_quiet-hpiod: Shut hpiod up while trying to autodetect + parallel port printers, it was being waay too annoying in syslog + * New patch 50_doc-location: Add final / to URIs and point the readme + to the /usr/share/doc location inside hp-toolbox. If the local admin + doesn't like documentation and removes /usr/share/doc/hplip, this + doesn't break anything... you just get no documentation, which was + kind the point the admin was trying to make, I suppose ;-) + + -- Henrique de Moraes Holschuh Mon, 24 Oct 2005 13:08:43 -0200 + +hplip (0.9.5-4) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * Add more hunks to 14_charsign_fixes, probably non-critical fixes + * Clean up and revamp configure.in/Makefile.am so that it is less buggy + re. some 'assumptions' made upstream (closes: #329782) + * Version pyqt build-dependendices to make sure no autobuilder will + screw us over the C++/gcc transition, these can be removed in the + not-so-distant future + * Fix minor typo in a package description + * Move hp-print from hplip-base to hplip, as it has a GUI now, thanks + to HPLIP upstream for the bug report + * Move /usr/lib/hplip/plugins from hplip-base to hplip package, as it + is an ui/ component + + -- Henrique de Moraes Holschuh Wed, 5 Oct 2005 00:14:33 -0300 + +hplip (0.9.5-3) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * Added upstream patch 0.9.5-3 + + Fix scanning on little-endian hosts + * Dropped 40_testmail_fix, not only it was already present upstream, + but I failed to notice patch screwing up royally when I rediffed it + for 0.9.5-1. Thanks to HPLIP upstream for the heads'up(!) + + -- Henrique de Moraes Holschuh Wed, 21 Sep 2005 00:06:21 -0300 + +hplip (0.9.5-2ubuntu2) breezy; urgency=low + + * Fix big-endian architecture FTBFS. + - adds 90_bigendian-fix.dpatch + * Fix configure.in breakage when picking default desktop directory. + - adds 88_configure.in.dpatch, 89_configure.dpatch + + -- LaMont Jones Thu, 22 Sep 2005 12:08:22 +0000 + +hplip (0.9.5-2ubuntu1) breezy; urgency=low + + * New upstream version, exception from upstream version freeze. + * Synchronize with unstable. + - Build against libsnmp5-dev. + - Use older lsb init functions found in breezy. + + -- Matthias Klose Tue, 20 Sep 2005 18:03:11 +0200 + +hplip (0.9.5-2) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * Added upstream patch 0.9.5-2 + + Fix scanning on Laserjets + + Fix scanning on parallel-port only Inkjets + + -- Henrique de Moraes Holschuh Tue, 20 Sep 2005 01:01:05 -0300 + +hplip (0.9.5-1) unstable; urgency=low + + * New upstream version + * HPIJS 2.1.5: + + Fixed a 4-sided full bleed printing issue in HPIJS + + Added support for the following new printers: + HP Photosmart 420 (PSP100) + HP Photosmart 470 (PSP100) + HP Photosmart 2570 (DJGenericVIP) + HP PSC 1400 (DJ3600) + HP Officejet 5600 (DJ3600) + HP Photosmart 3100 (DJGenericVIP) + HP Photosmart 3200 (DJGenericVIP) + HP Photosmart 3300 (DJGenericVIP) + HP Photosmart 8000 (DJGenericVIP) + HP Photosmart 7800 (DJGenericVIP) + HP Deskjet 5940 (DJGenericVIP) + HP Deskjet 5440 (DJGenericVIP) + HP Color laserJet 4700 (LJColor/PS) + * HPLIP 0.9.5: + + Added parallel port support for printing and scanning. See + Product Support table for supported devices and features + + Changed the PS8700 PPD inputslot from "default" to "upper" + + Fixed miser mode MLC credit problem in hpiod + + Fixed MLC credit problem with short timeouts + + Fixed many known hp-toolbox issues + + Fixed case where hp-toolbox crashed if models.xml entry was missing + + Fixed hp-colorcal incorrect parameter passing to maint routines + + Fixed a bug in hpssd.py that caused hal:\\ devices to crash hpssd + + Fixed supplies status for CLJ28xx + + Fixed powersettings for DJ4x0 + + Fixed LJ1022 status problem + * Henrique de Moraes Holschuh: + * Dpatch maintenance: + + Remove 20_useless_assignment_fix: fixed properly upstream + + Update 11_fix-misc-gcc-warnings, 14_charsign_fixes, + 50_hp-clean_fix: some hunks fixed upstream, some new hunks added + + Rediff 13_intsign-fixes, 40_testmail_fix + + New 20_fix_unitialized_var_bugs: fix some real bugs caused by + broken code with unitialized variables + + Switch all dpatches to /usr/share/dpatch/dpatch-run + * Add hp-levels symlink for new utility, that shows agent levels + using ASCII-art bar graphs + + -- Henrique de Moraes Holschuh Mon, 19 Sep 2005 11:44:52 -0300 + +hplip (0.9.4-4) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * Rebuild for C++ transition + * Mention usblp on README.Debian (closes: #326684) + * Fix invocation of dh_python for all binary packages other than hplip + * Do not remove pyc/pyo python compiled files from package hplip-base + when package hplip is removed + * Switch initscript to LSB-like reporting, and remove old HPGUId cruft + while at it + * hplip-base: add dependency on lsb-base due to initscript changes + + -- Henrique de Moraes Holschuh Thu, 8 Sep 2005 12:47:58 -0300 + +hplip (0.9.4-3ubuntu4) breezy; urgency=low + + * One hplip B-D has changed under our feet breaking configure in a quite + impressive useless (for Ubuntu and Debian) point: + + Fix configure and configure.in to cope with this change. + + Fix FTBFS. + + -- Fabio M. Di Nitto Mon, 19 Sep 2005 13:58:12 +0200 + +hplip (0.9.4-3ubuntu3) breezy; urgency=low + + * No GUIs here, correct LSB status messages + + -- Matt Zimmerman Wed, 14 Sep 2005 11:57:15 -0700 + +hplip (0.9.4-3ubuntu2) breezy; urgency=low + + * Add /etc/default/hplip to define a variable RUN_HPLIP, so + users can explicitely disable the start of hplip without + removing Ubuntu meta packages. Addresses Ubuntu 14054. + + -- Matthias Klose Tue, 13 Sep 2005 22:35:16 +0200 + +hplip (0.9.4-3ubuntu1) breezy; urgency=low + + * Synchronize with unstable. + * Unconditionally run as user hplip (Ubuntu 14061). + * Use LSB init-functions (Ubuntu 14339). + + -- Matthias Klose Fri, 2 Sep 2005 14:20:24 +0200 + +hplip (0.9.4-3) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * New cleanup patches: 14_charsign_fixes, 20_useless_assignment_fix + * New dpatch: 15_64bit_fixes + * New hunks to dpatch: 11_fix-misc-gcc-warnings.dpatch + + -- Henrique de Moraes Holschuh Sat, 6 Aug 2005 02:10:24 -0300 + +hplip (0.9.4-2) unstable; urgency=low + + * Matthias Klose : + * hplip-base should also replace files in hplip-data (<< 0.9.3) + * Run HPLIP daemons as non-root user (optional, default as run as root) + (closes: #320936) + * Henrique de Moraes Holschuh: + * Modify Matthias' postinst to create the hplip user in a safer way + * Depend on the correct adduser version for the above (just in case some + dweeb tries to backport this to ancient Debian) + * Add hplip-base.post{inst,rm} and initscript machinery for the hplip + user, supporting ephemeral /var/run and dpkg-statoverride the way I + like it + * Make run-hplip-as-non-root *non*-optional, it is safer and there is + nothing in hpiod or hpssd that requires root priviledges to work in a + Debian system + * Add NEWS.Debian item about running as non-root + + -- Henrique de Moraes Holschuh Tue, 2 Aug 2005 23:36:19 -0300 + +hplip (0.9.4-1ubuntu1) breezy; urgency=low + + * Synchronize with Debian. + - Just keep dropping the pyqt-tools build dependency, and don't + remove the generated .py files from the source. + * debian/hplip-base.postinst: + - Create system user "hplip" (with primary group lp). + * debian/hplip-base.postrm: + - Remove system user "hplip" on purge. + * debian/hplip-base.init: + - Start daemons as as user:group hplip:lp. + - Create /var/run/hplip, if directory doesn't exist. + * debian/hplip-base.default: + - Default to run as user hplip. + - Add comment not to use port numbers below 1024 if not running as root. + * debian/control: + - hplip-base replaces hplib-data (<< 0.9.3). + * debian/patches/60_derootify.dpatch: + - New patch, don't run as root. + + -- Matthias Klose Thu, 28 Jul 2005 21:23:58 +0200 + +hplip (0.9.4-1) unstable; urgency=low + + * New upstream version + * HPIJS 2.1.4: + + In order to accommodate 4-sided full bleed, PS320/330/370/380 were + moved to the DJGenericVIP device class + + Added hplip_api convenience library + + Fixed a problem where bi-di was not turned off correctly in hpijs. + This caused extra deviceid queries + + Fixed postscript PPD file case sensitivity issue. This issue caused + a problem with kprinter + + Added PPD files for the following new printers: HP Color LaserJet + 2800, HP Photosmart 8200, HP Photosmart 330, HP Photosmart 380, + Deskjet 1280, Deskjet 3040, Deskjet 3920 + * HPLIP 0.9.4: + + Added uni-di device support to "hp" backend + + Added hplip_api convenience library. Converted HPLIP clients (hp, + libsane-hpaio, hpijs, ptest) to hplip_api + + Added device ID mode to hp-info utility (Tim Waugh of Red Hat + request) + + Added new DeviceOpen() parameters to accommodate different backend + types + + Changed and added new "io" support tags to models.xml + + Added LJ1022 to models.xml file + + Desensitized model names generated by hpiod. This will eliminate + leading, trailing and double spaces in the model name + + Made change to the models.xml file for Photosmart 120 and 240 series + which had pen 57 mislabeled as black + + Added LJ 8000, LJ 1160 series entries to models.xml + + Removed LJ 3100 from models.xml. There are no plans to support this + printer + + Fixed a scanimage problem with OJ D135 and OJ 7110 + + Fixed "Invalid color calibration type" error in hp-colorcal + + Fixed "Unknown internal error" when executing command "hp-probe + -bnet" + + Fixed a intermittent SNMP problem reading signed integers in hpiod. + This will fix some network scanning issues. + + Enhanced hp-info and hp-makeuri as per Red Hat and Suse request + + Changed SLP detection to detect more devices based on forum + feedback + + Added limited support for HP Color LaserJet 2800, is limited to: + only postscript printing is supported; Photo Card access is not + available via hp-photo, but it is available via USB mass storage; + Network scanning is supported, but USB scanning is not; + Hp-toolbox status is not complete + * Henrique de Moraes Holschuh: + * Removed patches already upstream: 00_upstream_0.9.3-1, + 10_missing-prototypes + * Merged LTLIBRARY instances in top Makefile.am + * Fixed some minor typos in README.Debian, thanks to Santiago Vila + * Bump standards version to 3.6.2, no changes + * Makefile.am: declare colorcal4form_base.ui, printerform_base.ui as + noinst_DATA + + -- Henrique de Moraes Holschuh Sun, 24 Jul 2005 09:37:29 -0300 + +hplip (0.9.3-3) unstable; urgency=high + + * New upstream patch 0.9.3-1 to hpijs: + + Fixed a bi-di problem with all LIDIL printers (DJ3320, DJ3600) + + Fixed a 64-bit problem with LJJetReady printers + + Fixed a KRGB issue in the VIP path in HPIJS. This fixes a problem + where black text would drop some pixels with VIP printers (DJ9xxVIP, + DJGenericVIP) (closes: #314442) + * Henrique de Moraes Holschuh: + * Minor updates to README.Debian on the various packages + * Rework package descriptions a bit in control file + * Stop confliting with HPOJ. We are fine with it as long as the same + device is NOT being used by HPOJ and HPIJS + * Remove hplip-base dependency from hplip-ppds. Instead, suggest + hpijs and hplip-base in hplip-ppds, and ship changelog instead of symlink + * Remove some stray -Nhplip crap from arch-dep section of rules files + * Remove 12_fix-gcc4-errors.dpatch, accepted upstream (patch 0.9.3-1) + * debian/rules: avoid useless /usr/bin/find warnings about + maxdepth/mindepth + + -- Henrique de Moraes Holschuh Wed, 29 Jun 2005 00:48:18 -0300 + +hplip (0.9.3-2) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * New binary-all package: hplip-ppds, with the PPDs shipped by HPLIP + upstream. Other than due to bug-fixes, these are usually a better + match for the current hpijs/hplip capabilities than those from + foomatic-filters-ppds or foomatic-db-hpijs + * Change the Manufacturer string on all PPDs to "HP (HPLIP)", to set + them apart from PPDs of other sources + * Update README.Debian with information about the HPLIP PPDs + * Recommend hplip-ppds (closes: #311470, #311474) + * New patch: 12_fix-gcc4-errors (closes: #310435) + + -- Henrique de Moraes Holschuh Sat, 4 Jun 2005 09:28:18 -0300 + +hplip (0.9.3-1) unstable; urgency=low + + * New upstream version + * HPIJS 2.1.3: + + Increased the printable region for DJGenericVIP. This resolves a + left margin issue + + Fixed a problem printing more than one page with LJ 1010/1012 + + Modified hpijs to ignore bi-di errors so the "hp" backend can + handle them. This fixed a problem where hpijs would hang + forever + * HPLIP 0.9.3: + + Modified models.xml Deskjet_1220C panel_check_type to be 0 + + Fix the Test Email Alert + + Added MlcInit retry to hpiod + + Changed hplip_readme.html "Photo" support to yes for + OJ7200/7300/7400 + + Fixed intermittent device hang problem with LJ 1010/1012/1015 + in hp.c + + Added OfficeJet V40 to models.xml + + Fixed models.xml so that LJ 1010, 1012, 1015, and 1022 all print + using "raw" io + + Fixed "hp-probe -s*" error + + Fixed error while clicking the"Access Photo Cards" without any + photo card + + Fixed error while running hp-testpage command to print + after disconnecting the USB cable + + Added LJ 1010 and 1012 to models.xml, and made sure the OJ K80xi + has both a single spaces and a double spaced entry + + Fixed error which occurs after launching the toolbox in the terminal + + In models.xml cloned HP LaserJet 4050 Series to the same thing with a + trailing underscore + * Henrique de Moraes Holschuh: + * Swap maintainer and uploader fields for now, since I am spending + far more time in HPLIP than Torsten. Should that change, he will + switch the fields back as they were + * Tell libtool that the sane plugin is a plugin with -module + * Split hplip into GUI and non-GUI packages, as suggested by + Matthias Klose (closes: #307790) + + Change /usr/share/doc/hplip to a symlink (requires hplip.preinst + and hplip.postinst glue to support error unwind and downgrades) + + Change hplip package to arch all, as all C source and binary + modules belong in hplip-base + + hplip-base.preinst (new), hplip-base.postrm (new), hplip.postrm: + Remove any .pyc and .pyo files scattered around /usr/lib/hplip + * Fix configure.in, Makefile.am to accept and use a PYTHON variable + to select the python version to run properly, and really use whatever + python that variable points to, and no other (closes: #307788) + * Rework configure.in and Makefile.am a bit, in a moment of utter + boredom + * Change autogen.sh and debian/rules to get the hpijs versioning + through autoconf --trace at autotools-run time, and document the + debian/hpijs.version file in debian/README.Source + * Remove unneeded #! lines from python modules before packaging the + debs, to make lintian happier + * Control new files showing up upstream, by using a static list of + non-shipped files and passing --fail-missing to dh_install + * Remove debian/executable.files and debian/deletable.files support, + as this package does not require it + * hplip-base: recommend cupsys-client, as some of the utilities + run "lp -d..." and friends (closes: #308960) + * Rediff 01_rss.dpatch, 10_missing-prototypes.dpatch, + 11_fix-misc-gcc-warnings.dpatch, 13_intsign-fixes.dpatch, + 40_testmail_fix.dpatch, 50_hp-clean_fix.dpatch to remove some hunks + accepted upstream and remove any fuzziness and line numbering skews + * Remove patch 30_bind_to_INADDR_LOOPBACK, completely accepted + upstream + + -- Henrique de Moraes Holschuh Wed, 25 May 2005 00:31:22 -0300 + +hplip (0.9.2-2ubuntu3) breezy; urgency=low + + * Fix FTBFS using GCC 4.0. + + -- Matthias Klose Mon, 23 May 2005 15:01:45 +0000 + +hplip (0.9.2-2ubuntu2) breezy; urgency=low + + * Rebuild for new C++ ABI + + -- Matthias Klose Wed, 18 May 2005 15:42:15 +0000 + +hplip (0.9.2-2ubuntu1) breezy; urgency=low + + * Resynchronise with Debian. Ubuntu 10583. + * Fix location of document registered with doc-base. Ubuntu 10490. + + -- Matthias Klose Tue, 10 May 2005 14:57:10 +0200 + +hplip (0.9.2-2) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * Added new patch: 50_hp-clean_fix, fix hp-clean bad wipeAndSpitType1() + invocation + + -- Henrique de Moraes Holschuh Tue, 26 Apr 2005 02:04:27 -0300 + +hplip (0.9.2-1ubuntu1) breezy; urgency=low + + * Detect python default version. + * Split out all non GUI stuff into hplip-base, keep only the GUI + in hplip. Avoids installation of QT. + * Remove build dependencies on pyqt-tools and python-qt3. Nothing + needed for the build process. Keep the pregenerated .py files. + + -- Matthias Klose Thu, 5 May 2005 14:16:04 +0200 + +hplip (0.9.2-1) unstable; urgency=medium + + * New upstream version + * HPIJS 2.1.2: + + Added new print mode "FastDraft Grayscale" to DJGenericVIP + + Put limit (max=5) on syslog messages when output device write() + fails (closes: #210449) + + Removed specified gcc options in hpijs configure.in + + Fixed a 64-bit compile issue in ljjetready.cpp (closes: #302828) + * HPLIP 0.9.2: + + Fixed "Invalid color calibration type" error occurs when executing + command "colorcal" in terminal + + Fixed number of arguments error in hp-align + + Made UI architectural change (removed hpguid.py, removed popup feature, + etc) + + Fixed a scanning issue with Laserjet flatbed scanners (PML scanners). + Scan would fail at end of scan + + Removed images.tgz after install + + Fixed a problem when all function buttons are grayed out when toolbox is + launched at the first time. + + Fixed DJ450 battery check issue + * Henrique de Moraes Holschuh: + * Updated dpatch 11_fix-misc-gcc-warnings with many new hunks + * Added 40_testmail_fix, to get hpssd and Test Email functionality to + actually work (it was completely useless and hopelessly broken) + (closes: #291346) + * Updated README.Debian files for HPIJS and HPLIP + + -- Henrique de Moraes Holschuh Wed, 20 Apr 2005 10:05:59 -0300 + +hplip (0.9.1-2) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * New dpatch (30_bind_to_INADDR_LOOPBACK): + Bind to INADDR_LOOPBACK instead of to INADDR_ANY for now, as + HPLIP is constrained to working bound to localhost currently + (closes: #304068) + + -- Henrique de Moraes Holschuh Wed, 13 Apr 2005 08:14:25 -0300 + +hplip (0.9.1-1) unstable; urgency=low + + * New upstream version: + * HPIJS 2.1.1: + + Fixed hpijs bi-di assert issue with business inkjet 1100 + + Added PPD files for the following printers: HP LaserJet 4240, + HP LaserJet 9040, HP color LaserJet 4610, HP LaserJet 1022, + HP Business Inkjet 1000 + * HPLIP 0.9.1: + + Added a "front panel" enable/disable flag to models.xml. Some printers + were disabled (ie: deskjets) + + Ink level and status displays have been fixed for CP1160/1700, OJ7100 + series and OJ D series + + Added battery level check for mobile deskjets (DJ 450, etc) + + Fixed issue that could cause DJ 450 to lock-up during panel check + (miser mode) + + Fixed extraneous hpiod error. Corrected pml iod in scl path that was + in libsane-hpaio + + Added PSC 750xi, OJ 5110 to models.xml file + + Added device manager *.ui files to package + * Henrique de Moraes Holschuh: + * Rebuild 11_fix-misc-gcc-warnings, most of it accepted upstream, + but we have also new hunks as well + * Remove 12_portability-fixes, accepted upstream + * Remove 14_fix-fat-prototypes, accepted upstream + * Remove 20_jddirect-bug-from-hell, fixed upstream + * Remove 30_fix-missing-retcode, accepted upstream + * Avoid shipping check.py, since it is useless for Debian systems + * Change both upstream and Debian build system to take advantage + of the .ui files and rebuild the .py files that are generated + from them using pyuic + * Build-depend on pyqt-tools for pyuic + + -- Henrique de Moraes Holschuh Sat, 2 Apr 2005 10:58:28 -0300 + +hplip (0.9-1) unstable; urgency=low + + * New upstream version (closes: #302230): + * HPIJS 2.1: + + Added two new device classes - LJFastRaster and LJJetReady + + Fixed input tray issue with Business Inkjet 1100/1200 + + Changed default quality setting from 300 to 600 dpi for DJ9xxVIP + + Replaced gdevijs-krgb-1.0.patch with gdevijs-krgb-1.1.patch + This patch fixes as segfault issue with 1-bit color space IJS drivers + (ie: epsonepl) + + Fixed a issue with DJ3600 photo pen printing + + Support additional printers: LaserJet 1010/1012/1015, Color LaserJet + 3500/3550, HP Photosmart 8750, HP Deskjet 6600, HP Deskjet 9800 Series + * HPLIP 0.9: + + Added network scanning support + + Added full status and supply information for most LaserJets + + Added hp-makeuri command for generating "hp" URIs from an IP address + or device node + + Fixed some network issues with hp-probe + + Fixed a problem with multiple files using the same name in photo card + + Fixed a bug in the cancel job code in hp-toolbox + + Fixed some dialog cancel defects in clean and align + + Reversed order of status history in hp-toolbox + + Added photo card access status + + Added hp-toolbox right click menu + + Hpssd no longer scans devices at startup, devices are scanned when + hp-toolbox is first started + + Removed power-up from the probe command in hpiod. This means that + when CUPS queries the "hp" backend for devices, the printer will not + power-up (closes: #291321) + + Added non-zero exit codes to hp-toolbox + + Added changes to display EXIF data in photo card + + Added channel cleanup code to hpiod. This will fix some issues when + canceling print jobs from the host + + Added a non-scrolling "front panel display" feature to hp-toolbox + + Added Color Calibration for various printer platforms + + Do not keep restarting/reopening hp-toolbox at every status change + (closes: #292672) + * Henrique de Moraes Holschuh: + * Build-depend on libjpeg62-dev for hpijs 2.1 + * Version build-dependency on libsnmp5-dev (>> 5.1.2-6), to avoid + #302195 which completely hoses the hplip build + * Remove 30_xpp_support.dpatch, applied upstream + * New patches: + + 10_missing-prototypes: Add missing prototypes + + 11_fix-misc-gcc-warnings: Fix bad C code that causes + warnings and strict aliasing rules problems (closes: #297587) + + 12_portability-fixes: Remove braindamage that causes + portability problems and warnings + + 13_intsign-fixes.dpatch: Fix signed/unsigned comparison issues + + 14_fix-fat-prototypes: Fix prototypes missing a (void) so that gcc + shuts up + + 20_jddirect-bug-from-hell: Fix complete breakage in + JetDirectDevice::NewChannel (undefined value assigned to channel + mode) + + 30_fix-missing-retcode: Add missing assignment of retcode + * Add hplip.desktop freedesktop.org file, thanks to Christopher Martin + (closes: #302248) + * Rename all hplip_* links in /usr/bin to hp-* to follow upstream + * Ship new SANE backend dll.d configuration, and conflict with libsane + (<< 1.0.15-7) (closes: #296317) + * Torsten Landschoff: + + debian/control: Fix typos in description + - of hpijs: a IJS driver -> an IJS driver (closes: #299987) + - of hplip: a X11 session -> an X11 session (closes: #299991) + + -- Henrique de Moraes Holschuh Fri, 1 Apr 2005 09:38:12 -0300 + +hplip (0.8.8-1) unstable; urgency=low + + * UNRELEASED: This release was never uploaded to unstable due to serious + issues with many devices + + * New upstream version: + * Added low ink infrastructure to device manager + * Made fixes to cleaning procedure + * Offline devices will now show supplies list with "Unknown" levels (was + blank before) + * Fixed the display for black cartridge number 15 on the Supplies Tab + * Added tech-type to models.xml + * Fixed Laserjet 1220 model.xml entry + * Fixed an issue with the Alert email service (does NOT fix #291346) + * Henrique de Moraes Holschuh: + * Removed patches accepted upstream: + 20_hpiod_pidfile.dpatch, 40_gcc4_buildfixes.dpatch, + 50_securityfix_umask.dpatch, + 51_securityfix_detect_unsafe_conf_file.dpatch + * Remove patches that don't make sense anymore + 10_toplevel_makefile.dpatch + * Rediff 30_xpp_support so that it applies cleanly + + -- Henrique de Moraes Holschuh Sun, 13 Feb 2005 21:04:27 -0200 + +hplip (0.8.7-4) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * HPLIP: + * Remove stray tab on 50_securityfix_umask.dpatch. Reupload in + case python decides to croak on us because of it + * Remove unneeded (but harmless) patch 21_base_pidfile_support.dpatch + + -- Henrique de Moraes Holschuh Tue, 1 Feb 2005 12:46:56 -0200 + +hplip (0.8.7-3) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * HPLIP: + * SECURITY FIX: create .hplip.conf on user directory mode 600 (was 666) + The HPLIP suite was failing to set the process umask to sane values, + hpssd.py and hpguid.py were affected. Also, modify HPLIP so that it + warns the user of the broken permissions, ignores such a file, and + fixes the permissions on the next time the config file is written to. + Thanks to Erwan David for reporting this bug + (closes: #293117) + * Really fix debian/rules to unpatch only after cleaning the tree + + -- Henrique de Moraes Holschuh Tue, 1 Feb 2005 11:03:22 -0200 + +hplip (0.8.7-2) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * Updated copyright file with all the relevant information for HPLIP + * Move dh_python calls to before dh_installdeb (closes: #291746) + + -- Henrique de Moraes Holschuh Sat, 22 Jan 2005 23:24:22 -0200 + +hplip (0.8.7-1) unstable; urgency=low + + * New upstream source + + Fixed a issue with the max setting for input trays in APDK (HPIJS 2.0.1) + + Added OfficeJet K series support + + Changed scanning default compression from none to jpeg. This speeds up + device I/O significantly during scans + + Cleaned up cancel button functionality in device manager. + + Added r value caching to hpssd to increase responsiveness of some + printers when doing dynamic counters + + Fixed a defect in strings.py (wrong string for not installed cart) + + Added DeviceIDs to the models.xml file + + Added PPD files for the following new printers: LaserJet 4345 MFP, + LaserJet 3015/3020/3030 + + Fixed some devices which were wrongly set to MLC mode instead of RAW + * Henrique de Moraes Holschuh: + * Better dpatch support on debian/rules: use clean-patched target + instead of reinvoking make + * Patches 22_hpssd_pidfile and 50_bigendian merged upstream + * Rediff all dpatches and switch to -p1, so that using dpatch-edit-patch + is much easier + * HPLIP: + * Try to stop all instances of hpguid.py on initscript stop. We need + to revisit this later when hpguid and hpssd get more intelligent + hpguid pidfile/termination handling + + -- Henrique de Moraes Holschuh Fri, 21 Jan 2005 12:39:24 -0200 + +hplip (0.8.4-5) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * HPIJS: + * s/cartridge/pen/ everywhere in the Debian stuff, since that's how HP + calls the printing head + ink cartridge combo + * HPLIP: + * Add dependency on python-qt3 (closes: #291202) + + -- Henrique de Moraes Holschuh Thu, 20 Jan 2005 04:54:42 -0200 + +hplip (0.8.4-4) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * HPLIP: + * Fix FTBFS on big-endian archs: add 50_bigendian.dpatch, to fix typo + in pcard/vfat.h + * Add lintian overrides for "description-synopsis-starts-with-a-capital- + letter", since HP *is* always written in uppercase + + -- Henrique de Moraes Holschuh Tue, 18 Jan 2005 23:50:03 -0200 + +hplip (0.8.4-3) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * HPLIP: + * Add python to build-depends, fix FTBFS on all arches + * Switch all python2.3-* build-depends to python-* build-depends + + -- Henrique de Moraes Holschuh Tue, 18 Jan 2005 12:38:40 -0200 + +hplip (0.8.4-2) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * HPIJS: + * Apply patch by Andreas Jochens to fix FTBFS + problems with gcc 4.0 on AMD64 (#286353) + * Improve suggests: for foomatic and hplip integration + * HPLIP: + * Conflict with all non-bidir-enabled hpijs and foomatic versions + * Add a quick-install guide to README.Debian + * Be silent about CUPS reloads, to avoid startling users during + system shutdown + * Upload to Debian unstable. Do note that 64-bit archs are still an + unknown (feedback welcome) + + -- Henrique de Moraes Holschuh Tue, 18 Jan 2005 00:54:44 -0200 + +hplip (0.8.4-1) experimental; urgency=low + + * Initial packaging of HPLIP (closes: #285026) + * Source for HPIJS is now provided by the HPLIP source package + * Version of the hpijs package will now be: + + + + * Henrique de Moraes Holschuh: + * HPIJS: + * New upstream source, supports HPLIP bi-directional channels, and + DJGenericVIP four-sided full bleed printing. Now support printers + that require bi-directional channels to work. + * Update Depends: to versions of the gs packages with KRBG support + * Ship KRGB patch in usr/share/doc + * HPLIP: + * Added pidfile locking to hpiod, hpssd [merged upstream in 0.8.4] + * Fixed upstream autotools build system something fierce + * Build libhpip as a convenience library (and don't package it) + * Add hplip_* links to the user binaries on /usr/bin + * Add a hpssd link on /usr/sbin and use that on initscript + * Support xpp as a default "print" GUI interface + + * This is not complete yet. This package has not been validated to + work on 64-bit archs (help is welcome) upstream. We have absolutely + no idea if the MFP utilities (photo-card reading, SANE scanning) work + at all (help is also welcome). + * Do not install this if you are not ready to help track down the bugs + + -- Henrique de Moraes Holschuh Sat, 18 Dec 2004 12:25:49 -0200 + +hpijs (1.7.1-1) unstable; urgency=high + + * Henrique de Moraes Holschuh: + * New upstream source (1.7.1) + + Support a few more printers (PPD changes only) + + No upstream changes to any binary packages + * Urgency high, since this is only an upstream-sync upload with + no noteworthy changes + * debian/watch: add primary watch line using prdownloads.sf.net, + since the ftp servers for sf.net are not realiable at all + + -- Henrique de Moraes Holschuh Mon, 15 Nov 2004 11:47:48 -0200 + +hpijs (1.7-1) unstable; urgency=medium + + * Henrique de Moraes Holschuh: + * New upstream source (1.7) + + Support a few more printers (code changes, not only PPD changes) + * Add watch file for uscan/DEHS + * Remove patch 03_fixsegfaults, now applied upstream + * Remove disabled patch 02_destdir, applied upstream a long time ago + + -- Henrique de Moraes Holschuh Sun, 17 Oct 2004 12:41:21 -0300 + +hpijs (1.6.2-1) unstable; urgency=medium + + * Henrique de Moraes Holschuh: + * New upstream version (no changes to binaries, since we do not ship the + PPD files from this source package). + * Update autogen.sh for automake 1.9, rerun autotools + * Remove all autogenerated files from CVS tree (use debian/autogen.sh to + recreate the files, debian/rules should do this automatically on + cvs-buildpackage) + * Suggests foomatic-db-hpijs (closes: #270566) + * Urgency medium to get sooner into testing + + -- Henrique de Moraes Holschuh Sat, 18 Sep 2004 10:28:09 -0300 + +hpijs (1.6.1-1) unstable; urgency=low + + * Henrique de Moraes Holschuh: + * New upstream version (no changes to binary packages, + since we do not ship the PPD files from this source package). + * Move autogen.sh to debian/ for tidyness + * Not uploaded + + -- Henrique de Moraes Holschuh Fri, 9 Jul 2004 14:18:41 -0300 + +hpijs (1.6-3) unstable; urgency=low + + * Mention hpoj on README.Debian and package description. + + -- Henrique de Moraes Holschuh Fri, 9 Jul 2004 13:41:00 -0300 + +hpijs (1.6-2) unstable; urgency=low + + * Add comment about rss patch to package description (closes: #209127) + * Fix hpijs segfaults (probably non-exploitable) when given bad parameters, + or when something bad happens at startup time. HPIJS really needs an + audit, since the code is doing NULL pointer derreferences that easily + (closes: #169587) + * Minor manpage tweaks, mention option -h + + -- Henrique de Moraes Holschuh Mon, 14 Jun 2004 19:35:45 -0300 + +hpijs (1.6-1) unstable; urgency=low + + * Henrique de Moraes Holschuh : + * New upstream source: + + Added support for: HP business inkjet 2300, HP officejet 9100, + HP officejet 4200, HP psc 1310 + + Added envelope support, needed for center-feed envelope + trays (ie: laserjets): Envelopes #10, A2, C6, DL, Japanese #3, + Japanese #4 + + Added KRGB colorspace support (patch to ghostscript required to + enable) + * Update dependencies to use gs-gpl, add gs-afpl as lowest priority + * Update standards version to 3.6.1 + * Add copyright notice for the Debian packaging to debian/copyright + * Use debhelper compatibility mode V4 + * Switch to packaged dpatch + * Remove auto-generated files auto-include.h and platform.h in clean + target + * Autotools-dev support, using links + * Enable AM_MAINTAINER_MODE + * Set things up so that we regen the entire autotools toolchain (by + calling autogen.sh) on cvs-checkout. Add an autogen.sh, since + upstream lacks one + * Modify configure.in so that our CXXFLAGS and CFLAGS are respected + * Add a simple manpage for the hpijs binary with pointers to the real + docs, since hpijs is NEVER called directly + + -- Henrique de Moraes Holschuh Mon, 17 May 2004 21:35:32 -0300 + +hpijs (1.5-1) unstable; urgency=low + + * New upstream release (closes: #218074). + + -- Torsten Landschoff Wed, 29 Oct 2003 08:53:05 +0100 + +hpijs (1.4.1-1) unstable; urgency=low + + * New upstream release (closes: #198606). + * Apply new black-ink-only patch from + http://www.linuxprinting.org/download/printing/hpijs/ + using dpatch (closes: #198657). + * debian/control: Add Henrique de Moraes Holschuh to the Uploaders field + (thanks for your help, Henrique). + * debian/rules: Disable foomatic and cups install for now. Not sure how + to deal with that correctly. + + -- Torsten Landschoff Sun, 17 Aug 2003 01:43:11 +0200 + +hpijs (1.3.1-1.1) unstable; urgency=low + + * NMU + * Copy in config.guess and config.sub from autotools-dev (20020320.1). + Closes: #190959 + + -- LaMont Jones Mon, 12 May 2003 11:00:13 -0600 + +hpijs (1.3.1-1) unstable; urgency=low + + * New upstream release (closes: #188858). + + -- Torsten Landschoff Sun, 13 Apr 2003 19:26:32 +0200 + +hpijs (1.3-1) unstable; urgency=low + + * New upstream release. + * Disable the -rss patch as it no longer applies to this version of + hpijs and some of the changes have been folded upstream. + + -- Torsten Landschoff Sat, 2 Nov 2002 09:50:10 +0100 + +hpijs (1.2.2-1) unstable; urgency=low + + * Co-Maintainer upload + * New upstream version (Closes: #163094) + * Added -rss patch (via dpatch) + * debian/control: fix dependancy line (Closes: #153514, #159716) + * debian/control: Updated Standards-Version + * debian/copyright: Added note about the -rss patch + + -- Martin Loschwitz Sun, 13 Oct 2002 22:36:00 +0200 + +hpijs (1.2-1) unstable; urgency=low + + * New upstream release (closes: #147065). + + -- Torsten Landschoff Thu, 18 Jul 2002 11:49:36 +0200 + +hpijs (1.0.4-2) unstable; urgency=low + + * Ship the hpijs_readme.html with the package (closes: #143492). + For some reason the upstream Makefile does not install it anymore, + it is now listed in debian/docs. + + -- Torsten Landschoff Thu, 18 Apr 2002 21:25:06 +0200 + +hpijs (1.0.4-1) unstable; urgency=low + + * New upstream release (closes: #135271). + * No longer puts documentation files in /usr/share/doc/hpijs-$ver + (closes: #131588). + + -- Torsten Landschoff Mon, 25 Mar 2002 23:18:32 +0100 + +hpijs (1.0.2-1) unstable; urgency=low + + * New upstream release. + * debian/control: As HP has updated the license of this software + it can now go into main. Woohoo! :-) Changed the section accordingly. + * debian/copyright: Update to the new license. + + -- Torsten Landschoff Sat, 19 Jan 2002 02:08:24 +0100 + +hpijs (1.0-3) unstable; urgency=low + + * debian/copyright: Include the more restrictive license. Seems like + hpijs.cpp was already changed to be DFSG compatible. Kudos to + James Troup for pointing this out. + + -- Torsten Landschoff Tue, 15 Jan 2002 21:40:00 +0100 + +hpijs (1.0-2) unstable; urgency=low + + * ijs_server.c (ijs_server_init): Fix off by one bug which clobbered the + stack making the binary unusable when compiled with optimization. + * debian/rules.c (configure): Add support for --enable-debug using the + DEB_BUILD_OPTIONS interface as suggested in debian-policy. + + -- Torsten Landschoff Mon, 14 Jan 2002 03:09:00 +0100 + +hpijs (1.0-1) unstable; urgency=low + + * Initial release. + + -- Torsten Landschoff Sat, 12 Jan 2002 03:40:10 +0100 + --- hplip-3.10.9.orig/debian/hplip-gui.menu +++ hplip-3.10.9/debian/hplip-gui.menu @@ -0,0 +1,24 @@ +?package(hplip-gui):needs="X11" \ + section="Applications/System/Hardware" \ + title="HPLIP Toolbox" \ + command="/usr/bin/hp-toolbox" \ + hints="Printing,Print,Printer,Setup,Config,CUPS,HPLIP" \ + icon="/usr/share/pixmaps/HPmenu.xpm" +?package(hplip-gui):needs="X11" \ + section="Applications/System/Administration" \ + title="HPLIP File printing" \ + command="/usr/bin/hp-print" \ + hints="Printing,Print,Printer,CUPS,HPLIP" \ + icon="/usr/share/pixmaps/HPmenu.xpm" +?package(hplip-gui):needs="X11" \ + section="Applications/Office" \ + title="HPLIP Fax address book" \ + command="/usr/bin/hp-fab" \ + hints="Printing,Print,Printer,CUPS,Fax,HPLIP" \ + icon="/usr/share/pixmaps/HPmenu.xpm" +?package(hplip-gui):needs="X11" \ + section="Applications/Office" \ + title="HPLIP Fax utility" \ + command="/usr/bin/hp-sendfax" \ + hints="Printing,Print,Printer,CUPS,Fax,HPLIP" \ + icon="/usr/share/pixmaps/HPmenu.xpm" --- hplip-3.10.9.orig/debian/hplip-cups.postinst +++ hplip-3.10.9/debian/hplip-cups.postinst @@ -0,0 +1,84 @@ +#! /bin/sh +# postinst script for hplip-cups +# $Id: $ +# +# 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 http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# 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'. + +case "$1" in + configure) + # Do the following only if CUPS is running and the needed CUPS tools + # are available + if which lpstat > /dev/null 2>&1 && \ + which lpinfo > /dev/null 2>&1 && \ + which lpadmin > /dev/null 2>&1 && \ + LC_ALL=C lpstat -h /var/run/cups/cups.sock -r | grep -v not > /dev/null 2>&1; then + # Update the PPD files of all already installed print queues + driverregexp='drv:///hpcups.drv/|lsb/usr/hplip/HP/HP-Fax.*-hpcups' + gennicknameregexp=' s/,?(\s*hpijs,?|,)\s*[\d\.]+[a-zA-Z]*[\d\.]*\s*$//; s/\s*(Foomatic\/|)(hpijs)(\s*\S+|)$//i; s/,?\s*hpcups,?\s+[\d\.]+[a-zA-Z]*[\d\.]*\s*$//; s/\s*(Foomatic\/|)(hpcups)(\s*\S+|)$//i; s/\s*Series$//i; s/(HP\s+)PhotoSmart(\s+)/\1PS\2/i; s/(HP\s+)DeskJet(\s+)/\1DJ\2/i; s/(HP\s+)Color\s*(LaserJet|LJ)(\s+)/\1CLJ\3/i; s/(HP\s+)LaserJet(\s+)/\1LJ\2/i; s/(HP\s+)OfficeJet(\s+)/\1OJ\2/i; s/(HP\s+)Business\s*InkJet(\s+)/\1BIJ\2/i; s/(HP\s+)DesignJet(\s+)/\1DESIGNJ\2/i; s/(HP\s+)Printer\s*Scanner\s*Copier(\s+)/\1PSC\2/i; s/(HP\s+)Color\s*InkJet\s*Printer\s+/\1/i; s/\s+(zjs|zxs|pcl3)//i' + [ ! -z "$gennicknameregexp" ] && \ + gennicknameregexp="; $gennicknameregexp" + gennicknameregexp='s/\s*\(recommended\)//'"$gennicknameregexp" + tempfiles= + trap 'rm -f $tempfiles; exit 0' 0 HUP INT QUIT ILL ABRT PIPE TERM + tmpfile1=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile1" + lpinfo -h /var/run/cups/cups.sock -m | grep -E $driverregexp > $tmpfile1 + cd /etc/cups/ppd + for ppd in *.ppd; do + [ -r "$ppd" ] || continue + queue=${ppd%.ppd} + lpstat -h /var/run/cups/cups.sock -p "$queue" >/dev/null 2>&1 || continue + nickname=`grep '\*NickName:' "$ppd" | cut -d '"' -f 2 | perl -p -e 's/\n$//' | perl -p -e "$gennicknameregexp" | perl -p -e 's/(\W)/\\\\$1/g'` + lang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + ppdfound="0" + englishppduri="" + tmpfile2=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile2" + cat $tmpfile1 | perl -p -e "$gennicknameregexp; s/\s*$/\n/" | grep -E '\b'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2 + while read newppduri; do + [ "$ppdfound" = "0" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $newppduri 2>/dev/null || continue + newlang=`grep '\*LanguageVersion:' "$ppd" | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'` + [ "$newlang" = "$lang" ] && ppdfound="1" + [ "$newlang" = "english" ] && englishppduri="$newppduri" + done < $tmpfile2 + [ "$ppdfound" = "0" ] && [ ! -z "$englishppduri" ] && lpadmin -h /var/run/cups/cups.sock -p "$queue" -m $englishppduri 2>/dev/null && ppdfound="1" + [ "$ppdfound" = "1" ] && echo PPD for printer $queue updated >&2 + done + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hplip-3.10.9.orig/debian/compat +++ hplip-3.10.9/debian/compat @@ -0,0 +1 @@ +5 --- hplip-3.10.9.orig/debian/hplip.postrm +++ hplip-3.10.9/debian/hplip.postrm @@ -0,0 +1,70 @@ +#! /bin/sh +# postrm script for hplip +# +# 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 http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# Kill any pre-compiled python crap +kill_python_crappage() { + [ -d /usr/share/hplip ] && \ + find /usr/share/hplip \ + \( -name '*.pyc' -o -name '*.pyo' \) \ + -exec rm -f {} \; + : +} + + +case "$1" in + failed-upgrade|abort-install|abort-upgrade) + # Remove the symlink, no matter what. If it is + # needed, dpkg will recreate it. This is in an + # downgrade/failed upgrade unwind path + if [ -h /usr/share/doc/hplip ]; then + rm -f /usr/share/doc/hplip + fi + # and kill any crap left over for failed-upgrade + kill_python_crappage + ;; + upgrade) + # support downgrading + if [ -h /usr/share/doc/hplip ]; then + rm -f /usr/share/doc/hplip + fi + ;; + remove|disappear) + kill_python_crappage + ;; + purge) + kill_python_crappage + + for i in /var/run/hplip ; do + dpkg-statoverride --remove $i || true + done + + [ -d /var/run/hplip ] && rm -fr /var/run/hplip + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- hplip-3.10.9.orig/debian/hplip.docs +++ hplip-3.10.9/debian/hplip.docs @@ -0,0 +1 @@ +debian/users-guide.txt --- hplip-3.10.9.orig/debian/README.source +++ hplip-3.10.9/debian/README.source @@ -0,0 +1,27 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To get the fully patched source after unpacking the source package, cd +to the root level of the source package and run: + + debian/rules patch + +Removing a patch is as simple as removing its entry from the +debian/patches/00list file, and please also remove the patch file +itself. + +Creating a new patch is done with "dpatch-edit-patch patch XX_patchname" +where you should replace XX with a new number and patchname with a +descriptive shortname of the patch. You can then simply edit all the +files your patch wants to edit, and then simply "exit 0" from the shell +to actually create the patch file. + +To tweak an already existing patch, call "dpatch-edit-patch XX_patchname" +and replace XX_patchname with the actual filename from debian/patches +you want to use. + +To clean up afterwards again, "debian/rules unpatch" will do the +work for you - or you can of course choose to call +"fakeroot debian/rules clean" all together. + --- hplip-3.10.9.orig/debian/hplip-doc.doc-base +++ hplip-3.10.9/debian/hplip-doc.doc-base @@ -0,0 +1,11 @@ +Document: hplip-manual +Title: HP Linux Printing and Imaging System (HPLIP/HPIJS) Manual +Author: David Suffield +Abstract: User manual for the HP Linux Printing and Imaging + System, with basic usage instructions and a list of products + supported. Includes the manual for the HPIJS IJS driver. +Section: System/Administration + +Format: HTML +Index: /usr/share/doc/hplip-doc/HTML/index.html +Files: /usr/share/doc/hplip-doc/HTML/* --- hplip-3.10.9.orig/debian/hplip.dirs +++ hplip-3.10.9/debian/hplip.dirs @@ -0,0 +1 @@ +usr/share/bug/hplip --- hplip-3.10.9.orig/debian/patches/kde4-kdesudo-support.dpatch +++ hplip-3.10.9/debian/patches/kde4-kdesudo-support.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## kde4-kdesudo-support.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.9.4b~/base/utils.py hplip-3.9.4b/base/utils.py +--- hplip-3.9.4b~/base/utils.py 2009-04-29 22:39:01.000000000 +0200 ++++ hplip-3.9.4b/base/utils.py 2009-05-16 00:06:50.000000000 +0200 +@@ -1572,6 +1572,12 @@ + if which('kdesu'): + su_sudo_str = 'kdesu -- %s' + ++ elif utils.which('/usr/lib/kde4/libexec/kdesu'): ++ su_sudo_str = '/usr/lib/kde4/libexec/kdesu -- %s' ++ ++ elif utils.which('kdesudo'): ++ su_sudo_str = 'kdesudo -- %s' ++ + elif which('gnomesu'): + su_sudo_str = 'gnomesu -c "%s"' + --- hplip-3.10.9.orig/debian/patches/hplip-systray-longer-timeout-for-system-tray-start.dpatch +++ hplip-3.10.9/debian/patches/hplip-systray-longer-timeout-for-system-tray-start.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## hplip-systray-longer-timeout-for-system-tray-start.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.9.10~/ui4/systemtray.py hplip-3.9.10/ui4/systemtray.py +--- hplip-3.9.10~/ui4/systemtray.py 2009-11-17 21:23:42.000000000 +0100 ++++ hplip-3.9.10/ui4/systemtray.py 2009-11-29 21:34:01.399929476 +0100 +@@ -706,7 +706,7 @@ + app.setQuitOnLastWindowClosed(False) # If not set, settings dlg closes app + + i = 0 +- while i < 10: ++ while i < 180: + if QSystemTrayIcon.isSystemTrayAvailable(): + break + time.sleep(1.0) --- hplip-3.10.9.orig/debian/patches/make-commafy-correctly-work-with-python-2.dpatch +++ hplip-3.10.9/debian/patches/make-commafy-correctly-work-with-python-2.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## make-commafy-correctly-work-with-python-2.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.10.2~/base/utils.py hplip-3.10.2/base/utils.py +--- hplip-3.10.2~/base/utils.py 2010-04-09 21:20:22.085486637 +0200 ++++ hplip-3.10.2/base/utils.py 2010-04-09 21:22:19.865465070 +0200 +@@ -362,7 +362,7 @@ + + + def commafy(val): +- return unicode(locale.format("%d", val, grouping=True)) ++ return locale.format("%d", val, grouping=True).decode(locale.getpreferredencoding()) + + + def format_bytes(s, show_bytes=False): --- hplip-3.10.9.orig/debian/patches/pjl-duplex-binding.dpatch +++ hplip-3.10.9/debian/patches/pjl-duplex-binding.dpatch @@ -0,0 +1,74 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## pjl-duplex-binding.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: https://bugs.launchpad.net/hplip/+bug/244295 + +@DPATCH@ +diff -urNad hplip-2.8.7~/prnt/hpijs/ljcolor.cpp hplip-2.8.7/prnt/hpijs/ljcolor.cpp +--- hplip-2.8.7~/prnt/hpijs/ljcolor.cpp 2008-07-30 18:44:30.000000000 +0200 ++++ hplip-2.8.7/prnt/hpijs/ljcolor.cpp 2008-09-23 13:17:01.000000000 +0200 +@@ -325,6 +325,19 @@ + + err = thePrinter->Send ((const BYTE *) res, strlen (res)); + ++// Binding directive ++ ++ strcpy (res, "@PJL SET BINDING=LONGEDGE\015\012"); ++ ++#ifdef APDK_AUTODUPLEX ++ if (thePrintContext->QueryDuplexMode () == DUPLEXMODE_TABLET) ++ { ++ strcpy (res, "@PJL SET BINDING=SHORTEDGE\015\012"); ++ } ++#endif ++ ++ err = thePrinter->Send ((const BYTE *) res, strlen (res)); ++ + + err = thePrinter->Send ((const BYTE*) EnterLanguage, sizeof (EnterLanguage)); + ERRCHECK; +diff -urNad hplip-2.8.7~/prnt/hpijs/ljjetready.cpp hplip-2.8.7/prnt/hpijs/ljjetready.cpp +--- hplip-2.8.7~/prnt/hpijs/ljjetready.cpp 2008-07-30 18:44:30.000000000 +0200 ++++ hplip-2.8.7/prnt/hpijs/ljjetready.cpp 2008-09-23 13:17:01.000000000 +0200 +@@ -324,6 +324,17 @@ + err = thePrinter->Send ((const BYTE *) szScratchStr, strlen (szScratchStr)); + ERRCHECK; + ++ // Send the Binding command ++ strcpy (szScratchStr, "@PJL SET BINDING=LONGEDGE\015\012"); ++#ifdef APDK_AUTODUPLEX ++ if (thePrintContext->QueryDuplexMode () == DUPLEXMODE_TABLET) ++ { ++ strcpy (szScratchStr, "@PJL SET BINDING=SHORTEDGE\015\012"); ++ } ++#endif ++ err = thePrinter->Send ((const BYTE *) szScratchStr, strlen (szScratchStr)); ++ ERRCHECK; ++ + //Set the resolution to 600 + err = thePrinter->Send ((const BYTE*)ccpPJLSetRes,sizeof(ccpPJLSetRes)); + ERRCHECK; +diff -urNad hplip-2.8.7~/prnt/hpijs/ljmono.cpp hplip-2.8.7/prnt/hpijs/ljmono.cpp +--- hplip-2.8.7~/prnt/hpijs/ljmono.cpp 2008-07-30 18:44:30.000000000 +0200 ++++ hplip-2.8.7/prnt/hpijs/ljmono.cpp 2008-09-23 13:17:01.000000000 +0200 +@@ -207,6 +207,19 @@ + err = thePrinter->Send ((const BYTE *) res, strlen (res)); + ERRCHECK; + ++// Binding directive ++ ++ strcpy (res, "@PJL SET BINDING=LONGEDGE\015\012"); ++ ++#ifdef APDK_AUTODUPLEX ++ if (thePrintContext->QueryDuplexMode () == DUPLEXMODE_TABLET) ++ { ++ strcpy (res, "@PJL SET BINDING=SHORTEDGE\015\012"); ++ } ++#endif ++ err = thePrinter->Send ((const BYTE *) res, strlen (res)); ++ ERRCHECK; ++ + err = thePrinter->Send ((const BYTE*) EnterLanguage, sizeof (EnterLanguage)); + ERRCHECK; + --- hplip-3.10.9.orig/debian/patches/ubuntu-hp-mkuri-notification-text.dpatch +++ hplip-3.10.9/debian/patches/ubuntu-hp-mkuri-notification-text.dpatch @@ -0,0 +1,39 @@ +#! /bin/sh -e +## ubuntu-hp-mkuri-notification-text.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Ubuntu-only! + +[ "`lsb_release -is 2>/dev/null`" = "Ubuntu" ] || { echo -n '(ignored)' >&2; exit 0; } +. /usr/share/dpatch/dpatch-run + +@DPATCH@ +diff -urNad hplip-3.10.2~/io/hpmud/hp-mkuri.c hplip-3.10.2/io/hpmud/hp-mkuri.c +--- hplip-3.10.2~/io/hpmud/hp-mkuri.c 2010-03-17 22:56:18.000737637 +0100 ++++ hplip-3.10.2/io/hpmud/hp-mkuri.c 2010-03-17 23:00:11.610781053 +0100 +@@ -355,6 +355,8 @@ + if (hpmud_get_key_value(datfile, model, "fax-type", value, sizeof(value)) != HPMUD_R_OK) + goto bugout; + fax = strtol(value, NULL, 10); ++ if (hpmud_get_key_value(datfile, model, "model1", m, sizeof(m)) != HPMUD_R_OK) ++ goto bugout; + + /* See if device is supported by hplip. */ + if (support == HPMUD_SUPPORT_TYPE_NONE) +@@ -372,12 +374,12 @@ + switch (plugin) + { + case HPMUD_PLUGIN_TYPE_REQUIRED: +- BUG("%s requires a proprietary plugin\n", pm); +- notify(pm, "requires a proprietary plugin, run hp-setup", 30000); ++ BUG("%s requires a proprietary plugin\n", m); ++ notify(m, "requires a proprietary plugin, downloading and installing the plugin ...", 30000); + break; + case HPMUD_PLUGIN_TYPE_OPTIONAL: +- BUG("%s has a optional proprietary plugin\n", pm); +- notify(pm, "has a optional proprietary plugin, run hp-setup", 30000); ++ BUG("%s has an optional proprietary plugin\n", m); ++ notify(m, "has an optional proprietary plugin, run hp-plugin-ubuntu", 30000); + break; + default: + break; --- hplip-3.10.9.orig/debian/patches/try_libhpmud.so.0.dpatch +++ hplip-3.10.9/debian/patches/try_libhpmud.so.0.dpatch @@ -0,0 +1,65 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## try_libhpmud.so.0.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Try libhpmud.so.0 after libhpmud.so + +@DPATCH@ + +diff --git a/scan/sane/marvell.c b/scan/sane/marvell.c +index c36caa7..465342e 100644 +--- a/scan/sane/marvell.c ++++ b/scan/sane/marvell.c +@@ -63,8 +63,11 @@ static int bb_load(struct marvell_session *ps, const char *so) + /* Load hpmud manually with symbols exported. Otherwise the plugin will not find it. */ + if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) + { +- BUG("unable to load restricted library: %s\n", dlerror()); +- goto bugout; ++ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ BUG("unable to load restricted library: %s\n", dlerror()); ++ goto bugout; ++ } + } + + /* Load math library manually with symbols exported (Ubuntu 8.04). Otherwise the plugin will not find it. */ +diff --git a/scan/sane/soap.c b/scan/sane/soap.c +index 28b83cc..698f58c 100644 +--- a/scan/sane/soap.c ++++ b/scan/sane/soap.c +@@ -71,8 +71,11 @@ static int bb_load(struct soap_session *ps, const char *so) + /* Load hpmud manually with symbols exported. Otherwise the plugin will not find it. */ + if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) + { +- BUG("unable to load restricted library: %s\n", dlerror()); +- goto bugout; ++ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ BUG("unable to load restricted library: %s\n", dlerror()); ++ goto bugout; ++ } + } + + /* Load math library manually with symbols exported (Ubuntu 8.04). Otherwise the plugin will not find it. */ +diff --git a/scan/sane/soapht.c b/scan/sane/soapht.c +index 5535245..e6039c1 100644 +--- a/scan/sane/soapht.c ++++ b/scan/sane/soapht.c +@@ -62,10 +62,13 @@ static int bb_load(struct soap_session *ps, const char *so) + int stat=1; + + /* Load hpmud manually with symbols exported. Otherwise the plugin will not find it. */ +- if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ if ((ps->hpmud_handle = dlopen("libhpmud.so", RTLD_LAZY|RTLD_GLOBAL)) == NULL) + { +- BUG("unable to load restricted library: %s\n", dlerror()); +- goto bugout; ++ if ((ps->hpmud_handle = dlopen("libhpmud.so.0", RTLD_LAZY|RTLD_GLOBAL)) == NULL) ++ { ++ BUG("unable to load restricted library: %s\n", dlerror()); ++ goto bugout; ++ } + } + + /* Load math library manually with symbols exported (Ubuntu 8.04). Otherwise the plugin will not find it. */ --- hplip-3.10.9.orig/debian/patches/hp-check_debian.dpatch +++ hplip-3.10.9/debian/patches/hp-check_debian.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## hp-check_debian.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Debian/ Ubuntu place hpaio in /etc/sane.d/dll.d/hplip, so lets check there too + +@DPATCH@ +diff -urNad hplip-2.8.12~/check.py hplip-2.8.12/check.py +--- hplip-2.8.12~/check.py 2008-12-18 07:41:18.000000000 +1100 ++++ hplip-2.8.12/check.py 2009-01-22 14:01:40.000000000 +1100 +@@ -693,6 +693,21 @@ + if 'hpaio' in line: + found = True + ++ # Debian/ Ubuntu place hpaio in /etc/sane.d/dll.d/hplip, so lets check there too ++ ++ if not found: ++ log.info(log.bold("'hpaio' in '/etc/sane.d/dll.d/hplip'...")) ++ try: ++ f = file('/etc/sane.d/dll.d/hplip', 'r') ++ except IOError: ++ log.error("'/etc/sane.d/dll.d/hplip' not found.") ++ num_errors += 1 ++ else: ++ found = False ++ for line in f: ++ if 'hpaio' in line: ++ found = True ++ + if found: + log.info("OK, found. SANE backend 'hpaio' is properly set up.") + else: --- hplip-3.10.9.orig/debian/patches/87_move_documentation.dpatch +++ hplip-3.10.9/debian/patches/87_move_documentation.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 87_move_documentation.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: place html documentation under hplip-doc/HTML/ + +@DPATCH@ +diff -urNad hplip-2.8.6~/Makefile.am hplip-2.8.6/Makefile.am +--- hplip-2.8.6~/Makefile.am 2008-06-22 17:34:25.000000000 +1000 ++++ hplip-2.8.6/Makefile.am 2008-06-22 17:36:48.000000000 +1000 +@@ -26,11 +26,11 @@ + + if DOC_BUILD + wwwsrc = doc +-www0dir = $(docdir) ++www0dir = $(hpdocdir)/HTML + dist_www0_DATA = $(wwwsrc)/index.html $(wwwsrc)/commandline.html $(wwwsrc)/copying.html $(wwwsrc)/devicemanager.html $(wwwsrc)/faxtrouble.html $(wwwsrc)/gettinghelp.html $(wwwsrc)/hpscan.html $(wwwsrc)/mainttask.html $(wwwsrc)/plugins.html $(wwwsrc)/print.html $(wwwsrc)/printing.html $(wwwsrc)/printoptions.html $(wwwsrc)/printtroubleshooting.html $(wwwsrc)/scanning.html $(wwwsrc)/scantrouble.html $(wwwsrc)/sendfax.html $(wwwsrc)/setup.html $(wwwsrc)/systray.html $(wwwsrc)/troubleshooting.html $(wwwsrc)/uninstalling.html $(wwwsrc)/upgrading.html +-www3dir = $(docdir)/styles ++www3dir = $(www0dir)/styles + dist_www3_DATA = $(wwwsrc)/styles/* +-www4dir = $(docdir)/images ++www4dir = $(www0dir)/images + dist_www4_DATA = $(wwwsrc)/images/* + endif + --- hplip-3.10.9.orig/debian/patches/simple-scan-as-default.dpatch +++ hplip-3.10.9/debian/patches/simple-scan-as-default.dpatch @@ -0,0 +1,51 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## simple-scan-as-default.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.10.2~/base/utils.py hplip-3.10.2/base/utils.py +--- hplip-3.10.2~/base/utils.py 2010-02-25 00:07:40.000000000 +0100 ++++ hplip-3.10.2/base/utils.py 2010-03-24 09:05:57.660740026 +0100 +@@ -450,18 +450,21 @@ + + # Scan + self.cmd_scan = '' +- path = which('xsane') +- ++ path = which('simple-scan') + if len(path) > 0: +- self.cmd_scan = 'xsane -V %SANE_URI%' ++ self.cmd_scan = 'simple-scan %SANE_URI%' + else: +- path = which('kooka') ++ path = which('xsane') + if len(path) > 0: +- self.cmd_scan = 'kooka' ++ self.cmd_scan = 'xsane -V %SANE_URI%' + else: +- path = which('xscanimage') ++ path = which('kooka') + if len(path) > 0: +- self.cmd_scan = 'xscanimage' ++ self.cmd_scan = 'kooka' ++ else: ++ path = which('xscanimage') ++ if len(path) > 0: ++ self.cmd_scan = 'xscanimage' + + # Photo Card + path = which('hp-unload') +diff -urNad hplip-3.10.2~/ui4/ui_utils.py hplip-3.10.2/ui4/ui_utils.py +--- hplip-3.10.2~/ui4/ui_utils.py 2010-02-25 00:07:15.000000000 +0100 ++++ hplip-3.10.2/ui4/ui_utils.py 2010-03-24 09:07:08.200766557 +0100 +@@ -136,7 +136,7 @@ + + + def loadDefaults(self): +- self.cmd_scan = self.__setup(['xsane -V %SANE_URI%', 'kooka', 'xscanimage']) ++ self.cmd_scan = self.__setup(['simple-scan %SANE_URI%', 'xsane -V %SANE_URI%', 'kooka', 'xscanimage']) + self.cmd_fab = self.__setup(['hp-fab']) + + --- hplip-3.10.9.orig/debian/patches/hp-setup-prompt-for-custom-PPD.dpatch +++ hplip-3.10.9/debian/patches/hp-setup-prompt-for-custom-PPD.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## hp-setup-prompt-for-custom-PPD.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.9.8~/setup.py hplip-3.9.8/setup.py +--- hplip-3.9.8~/setup.py 2009-08-04 23:37:39.000000000 +0200 ++++ hplip-3.9.8/setup.py 2009-10-02 18:42:39.000000000 +0200 +@@ -473,14 +473,13 @@ + print_ppd, desc = print_ppd + log.info("\nFound PPD file: %s" % print_ppd) + +- if desc: +- log.info("Description: %s" % desc) ++ log.info("Description: %s" % desc) + # +- if not auto: +- log.info("\nNote: The model number may vary slightly from the actual model number on the device.") +- ok, ans = tui.enter_yes_no("\nDoes this PPD file appear to be the correct one") +- if not ok: sys.exit(0) +- if not ans: enter_ppd = True ++ if not auto: ++ log.info("\nNote: The model number may vary slightly from the actual model number on the device.") ++ ok, ans = tui.enter_yes_no("\nDoes this PPD file appear to be the correct one") ++ if not ok: sys.exit(0) ++ if not ans: enter_ppd = True + + + if enter_ppd: --- hplip-3.10.9.orig/debian/patches/black-stripes-on-pcl5c-printouts.dpatch +++ hplip-3.10.9/debian/patches/black-stripes-on-pcl5c-printouts.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## black-stripes-on-pcl5c-printouts.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.5~/prnt/hpcups/LJColor.h hplip-3.10.5/prnt/hpcups/LJColor.h +--- hplip-3.10.5~/prnt/hpcups/LJColor.h 2010-05-13 01:41:08.000000000 +0200 ++++ hplip-3.10.5/prnt/hpcups/LJColor.h 2010-07-18 12:12:11.296937153 +0200 +@@ -48,6 +48,7 @@ + DRIVER_ERROR Configure(Pipeline **pipeline); + DRIVER_ERROR EndJob(); + DRIVER_ERROR FormFeed(); ++ bool CanSkipRasters() {return false;} + protected: + virtual DRIVER_ERROR addJobSettings(); + void configureRasterData(); --- hplip-3.10.9.orig/debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch +++ hplip-3.10.9/debian/patches/remove-duplicate-entry-for-cp1700-in-drv-files.dpatch @@ -0,0 +1,76 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## remove-duplicate-entry-for-cp1700-in-drv-files.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.10.2~/prnt/drv/hpcups.drv.in hplip-3.10.2/prnt/drv/hpcups.drv.in +--- hplip-3.10.2~/prnt/drv/hpcups.drv.in 2010-04-11 09:58:07.000000000 +0200 ++++ hplip-3.10.2/prnt/drv/hpcups.drv.in 2010-04-11 10:01:29.285465160 +0200 +@@ -1626,14 +1626,6 @@ + Attribute "Product" "" "(HP Photosmart 1315 Printer)" + } + { +- ModelName "HP Color Inkjet cp1700" +- Attribute "NickName" "" "HP Color Inkjet cp1700, $Version" +- Attribute "ShortNickName" "" "HP Color Inkjet cp1700" +- Attribute "1284DeviceID" "" "MFG:HP;MDL:hp color inkjet cp1700;DES:hp color inkjet cp1700;" +- PCFileName "hp-color_inkjet_cp1700.ppd" +- Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)" +- } +- { + ModelName "HP PSC 2100 Series" + Attribute "NickName" "" "HP PSC 2100 Series, $Version" + Attribute "ShortNickName" "" "HP PSC 2100 Series" +@@ -1741,11 +1733,11 @@ + + // <%DJ9xxVIP:LargeFormatSuperB%> + { +- ModelName "HP Color Inkjet Printer cp1700" +- Attribute "NickName" "" "HP Color Inkjet Printer cp1700, $Version" +- Attribute "ShortNickName" "" "HP Color Inkjet Printer cp1700" +- Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet printer cp1700;DES:color inkjet printer cp1700;" +- PCFileName "hp-color_inkjet_printer_cp1700.ppd" ++ ModelName "HP Color Inkjet cp1700" ++ Attribute "NickName" "" "HP Color Inkjet cp1700, $Version" ++ Attribute "ShortNickName" "" "HP Color Inkjet cp1700" ++ Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet cp1700;DES:color inkjet cp1700;" ++ PCFileName "hp-color_inkjet_cp1700.ppd" + Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)" + Attribute "Product" "" "(HP Color Inkjet cp1700ps Printer)" + Attribute "Product" "" "(HP Color Inkjet cp1700d Printer)" +diff -urNad hplip-3.10.2~/prnt/drv/hpijs.drv.in hplip-3.10.2/prnt/drv/hpijs.drv.in +--- hplip-3.10.2~/prnt/drv/hpijs.drv.in 2010-04-11 09:58:07.000000000 +0200 ++++ hplip-3.10.2/prnt/drv/hpijs.drv.in 2010-04-11 10:00:39.616713799 +0200 +@@ -1744,14 +1744,6 @@ + Attribute "Product" "" "(HP Photosmart 1315 Printer)" + } + { +- ModelName "HP Color Inkjet cp1700 hpijs" +- Attribute "NickName" "" "HP Color Inkjet cp1700 hpijs, $Version" +- Attribute "ShortNickName" "" "HP Color Inkjet cp1700 hpijs" +- Attribute "1284DeviceID" "" "MFG:HP;MDL:hp color inkjet cp1700;DES:hp color inkjet cp1700;" +- PCFileName "hp-color_inkjet_cp1700-hpijs.ppd" +- Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)" +- } +- { + ModelName "HP PSC 2100 Series hpijs" + Attribute "NickName" "" "HP PSC 2100 Series hpijs, $Version" + Attribute "ShortNickName" "" "HP PSC 2100 Series hpijs" +@@ -1833,11 +1825,11 @@ + CustomMedia "A3/A3" 842.00 1190.00 18.00 36.00 18.00 9.00 "%% FoomaticRIPOptionSetting: PageSize=A3" "%% FoomaticRIPOptionSetting: PageSize=A3" + // <%DJ9xxVIP:LargeFormatSuperB%> + { +- ModelName "HP Color Inkjet Printer cp1700 hpijs" +- Attribute "NickName" "" "HP Color Inkjet Printer cp1700 hpijs, $Version" ++ ModelName "HP Color Inkjet cp1700 hpijs" ++ Attribute "NickName" "" "HP Color Inkjet cp1700 hpijs, $Version" + Attribute "ShortNickName" "" "HP cp1700 hpijs" +- Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet printer cp1700;DES:color inkjet printer cp1700;" +- PCFileName "hp-color_inkjet_printer_cp1700-hpijs.ppd" ++ Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet cp1700;DES:color inkjet cp1700;" ++ PCFileName "hp-color_inkjet_cp1700-hpijs.ppd" + Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)" + Attribute "Product" "" "(HP Color Inkjet cp1700ps Printer)" + Attribute "Product" "" "(HP Color Inkjet cp1700d Printer)" --- hplip-3.10.9.orig/debian/patches/85_rebuild_python_ui.dpatch +++ hplip-3.10.9/debian/patches/85_rebuild_python_ui.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 85_rebuild_python_ui.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.9~/Makefile.am hplip-3.10.9/Makefile.am +--- hplip-3.10.9~/Makefile.am 2010-12-07 10:14:49.188809130 +0100 ++++ hplip-3.10.9/Makefile.am 2010-12-07 10:16:10.468679317 +0100 +@@ -4,6 +4,10 @@ + # (c) 2004-2010 Copyright Hewlett-Packard Development Company, LP + # Author: David Suffield, Naga Samrat Chowdary Narla, + ++# Generic rules ++%.py: %.ui ++ $(PYUIC4) -x -o $@ $< ++ + INCLUDES = -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs + + hplipdir = $(datadir)/hplip +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.9~/configure.in hplip-3.10.9/configure.in +--- hplip-3.10.9~/configure.in 2010-09-26 19:08:18.000000000 +0200 ++++ hplip-3.10.9/configure.in 2010-12-07 10:18:40.398439745 +0100 +@@ -508,6 +508,8 @@ + AC_MSG_RESULT("using $PYTHONINCLUDEDIR") + AC_ARG_VAR(PYTHONINCLUDEDIR, [path to Python.h C header file]) + AC_CHECK_HEADERS(python$PYTHON_VERSION/Python.h, ,[AC_MSG_ERROR([cannot find python-devel support], 6)]) ++ AC_ARG_VAR([PYUIC4], [PyQT pyuic4 .ui to .py compiler command]) ++ AC_CHECK_TOOLS([PYUIC4], [pyuic4]) + fi + + if test "$hpijs_only_build" = "no" && test "$scan_build" = "yes" && test "$hpcups_only_build" = "no"; then --- hplip-3.10.9.orig/debian/patches/udev-rules-use-attrs-not-sysfs-and-hp-mkuri-call-fix.dpatch +++ hplip-3.10.9/debian/patches/udev-rules-use-attrs-not-sysfs-and-hp-mkuri-call-fix.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## udev-rules-use-attrs-not-sysfs-and-hp-mkuri-call-fix.dpatch by Daniel T +## Chen and Till Kamppeter +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix use of deprecated udev syntax (LP: #491346) + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.5~/data/rules/56-hpmud_support.rules hplip-3.10.5/data/rules/56-hpmud_support.rules +--- hplip-3.10.5~/data/rules/56-hpmud_support.rules 2010-05-13 09:44:22.000000000 +1000 ++++ hplip-3.10.5/data/rules/56-hpmud_support.rules 2010-05-21 17:36:33.000000000 +1000 +@@ -7,9 +7,8 @@ + LABEL="pid_test" + + # Check for LaserJet products (0x03f0xx17). +-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??17", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes" ++ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??17", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes", RUN+="bin/sh -c '/usr/bin/hp-mkuri -c &'" + # Check for LaserJet products (0x03f0xx2a). +-SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="??2a", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes" +-ENV{hp_test}=="yes", RUN+="bin/sh -c '/usr/bin/hp-mkuri -c &'" ++ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="??2a", ENV{hp_model}="$sysfs{product}", ENV{hp_test}="yes", RUN+="bin/sh -c '/usr/bin/hp-mkuri -c &'" + +-LABEL="hpmud_rules_end" +\ No newline at end of file ++LABEL="hpmud_rules_end" --- hplip-3.10.9.orig/debian/patches/00list +++ hplip-3.10.9/debian/patches/00list @@ -0,0 +1,24 @@ +01_rss +10_shebang_fixes +14_charsign_fixes +85_rebuild_python_ui.dpatch +87_move_documentation.dpatch +hp_photosmart_pro_b9100_support.dpatch +pjl-duplex-binding.dpatch +kde4-kdesudo-support.dpatch +hp-check-groups +hp-check_debian +hp-setup-prompt-for-custom-PPD.dpatch +hplip-systray-longer-timeout-for-system-tray-start.dpatch +kbsd.dpatch +udev-rules-use-attrs-not-sysfs-and-hp-mkuri-call-fix.dpatch +hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch +ubuntu-hp-mkuri-notification-text.dpatch +simple-scan-as-default.dpatch +make-commafy-correctly-work-with-python-2.dpatch +remove-duplicate-entry-for-cp1700-in-drv-files.dpatch +black-stripes-on-pcl5c-printouts.dpatch +try_libhpmud.so.0.dpatch +add-lidil-two-cartridge-modes.dpatch +add_missing_newline_for_error_log.dpatch +scan-on-dj-1050-2050.dpatch --- hplip-3.10.9.orig/debian/patches/hp-check-groups.dpatch +++ hplip-3.10.9/debian/patches/hp-check-groups.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## hp-check-groups.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: https://bugs.launchpad.net/debian/+source/hplip/+bug/530746 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.2~/check.py hplip-3.10.2/check.py +--- hplip-3.10.2~/check.py 2010-02-25 10:07:55.000000000 +1100 ++++ hplip-3.10.2/check.py 2010-04-09 08:03:08.000000000 +1000 +@@ -859,6 +859,16 @@ + if status == 0: + log.info(output) + ++ if "lp " in output: ++ log.info(log.green("User member of group 'lp'. Enables print/ scan/ fax.")) ++ else: ++ log.error("User needs to be member of group 'lp' to enable print, scan & fax.") ++ ++ if "lpadmin" in output: ++ log.info(log.green("User member of group 'lpadmin'.")) ++ else: ++ log.error("User needs to be member of group 'lpadmin' to manage printers.") ++ + + tui.header("SUMMARY") + --- hplip-3.10.9.orig/debian/patches/add_missing_newline_for_error_log.dpatch +++ hplip-3.10.9/debian/patches/add_missing_newline_for_error_log.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## add_missing_newline_for_error_log.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.9~/prnt/hpcups/HPCupsFilter.cpp hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp +--- hplip-3.10.9~/prnt/hpcups/HPCupsFilter.cpp 2010-09-26 19:01:47.000000000 +0200 ++++ hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp 2010-12-07 10:57:00.075229061 +0100 +@@ -620,7 +620,7 @@ + WriteBMPHeader (kfp, cups_header.cupsWidth, cups_header.cupsHeight, BLACK_RASTER); + } + +- fprintf(stderr, "PAGE: %d %s", current_page_number, m_argv[4]); ++ fprintf(stderr, "PAGE: %d %s\n", current_page_number, m_argv[4]); + // Iterating through the raster per page + for (int y = 0; y < (int) cups_header.cupsHeight; y++) { + cupsRasterReadPixels (cups_raster, m_pPrinterBuffer, cups_header.cupsBytesPerLine); --- hplip-3.10.9.orig/debian/patches/scan-on-dj-1050-2050.dpatch +++ hplip-3.10.9/debian/patches/scan-on-dj-1050-2050.dpatch @@ -0,0 +1,46 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## scan-on-dj-1050-2050.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.9~/data/models/models.dat hplip-3.10.9/data/models/models.dat +--- hplip-3.10.9~/data/models/models.dat 2010-09-26 19:05:52.000000000 +0200 ++++ hplip-3.10.9/data/models/models.dat 2010-12-11 14:03:33.535307868 +0100 +@@ -13747,7 +13747,7 @@ + fax-type=0 + fw-download=False + icon=hp_deskjet_f4200.png +-io-mfp-mode=3 ++io-mfp-mode=1 + io-mode=1 + io-support=2 + job-storage=0 +@@ -13798,7 +13798,7 @@ + r8-agent2-sku=121/121XL + r8-agent2-type=2 + scan-style=1 +-scan-type=-1 ++scan-type=7 + status-battery-check=0 + status-dynamic-counters=1 + status-type=2 +@@ -19076,7 +19076,7 @@ + fax-type=0 + fw-download=False + icon=hp_deskjet_f4200.png +-io-mfp-mode=3 ++io-mfp-mode=1 + io-mode=1 + io-support=2 + job-storage=0 +@@ -19127,7 +19127,7 @@ + r8-agent2-sku=121/121XL + r8-agent2-type=2 + scan-style=1 +-scan-type=0 ++scan-type=7 + status-battery-check=0 + status-dynamic-counters=1 + status-type=2 --- hplip-3.10.9.orig/debian/patches/hp_photosmart_pro_b9100_support.dpatch +++ hplip-3.10.9/debian/patches/hp_photosmart_pro_b9100_support.dpatch @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## hp_photosmart_pro_b9100_support.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.9.10~55~/data/models/models.dat hplip-3.9.10~55/data/models/models.dat +--- hplip-3.9.10~55~/data/models/models.dat 2009-11-04 11:06:38.000000000 +0100 ++++ hplip-3.9.10~55/data/models/models.dat 2009-11-10 10:11:32.000000000 +0100 +@@ -40174,9 +40174,9 @@ + status-type=2 + support-released=True + support-subtype=219b2b +-support-type=0 +-support-ver=0.0.0 +-tech-class=Undefined ++support-type=2 ++support-ver=2.8.4 ++tech-class=PSB9100 + tech-subclass=Normal + tech-type=2 + usb-pid=bd02 --- hplip-3.10.9.orig/debian/patches/14_charsign_fixes.dpatch +++ hplip-3.10.9/debian/patches/14_charsign_fixes.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 14_charsign_fixes.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: some missing charsign + +@DPATCH@ +diff -urNad hplip-1.7.3~/scan/sane/scl.c hplip-1.7.3/scan/sane/scl.c +--- hplip-1.7.3~/scan/sane/scl.c 2007-03-19 16:26:48.000000000 +0000 ++++ hplip-1.7.3/scan/sane/scl.c 2007-03-26 22:48:39.000000000 +0100 +@@ -36,10 +36,11 @@ + #define DEBUG_DECLARE_ONLY + #include "sanei_debug.h" + +-static int SclBufferIsPartialReply( unsigned char * data, int datalen ) ++static int SclBufferIsPartialReply( void * dataptr, int datalen ) + { + int i = 0, value = 0; +- unsigned char d; ++ unsigned char * const data = dataptr; ++ unsigned int d; + + if( i >= datalen ) + { --- hplip-3.10.9.orig/debian/patches/01_rss.dpatch +++ hplip-3.10.9/debian/patches/01_rss.dpatch @@ -0,0 +1,111 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## rss.dpatch by Torsten Landschoff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Blank-ink-only patch by Richard Spencer-Smith + +@DPATCH@ +diff -urNad hplip~/prnt/hpijs/breaks_open.cpp hplip/prnt/hpijs/breaks_open.cpp +--- hplip~/prnt/hpijs/breaks_open.cpp 2006-03-16 11:12:00.000000000 -0300 ++++ hplip/prnt/hpijs/breaks_open.cpp 2006-03-16 11:22:28.984082881 -0300 +@@ -1078,7 +1078,10 @@ + + { + 0, 0, 255, 0, +-0, 1, 255, 0, ++// 2001.06.16 mrb: changed the value to 0. With the original "1" ++// the printer sometimes prints empty lines... ++//0, 1, 255, 0, ++0, 0, 255, 0, + 0, 3, 255, 0, + 0, 5, 255, 0, + 0, 7, 255, 0, +diff -urNad hplip~/prnt/hpijs/dj660_maps.cpp hplip/prnt/hpijs/dj660_maps.cpp +--- hplip~/prnt/hpijs/dj660_maps.cpp 2006-03-16 11:12:00.000000000 -0300 ++++ hplip/prnt/hpijs/dj660_maps.cpp 2006-03-16 11:22:28.984082881 -0300 +@@ -38,7 +38,10 @@ + //const + uint32_t ulMapDJ660_CCM_KCMY[ 9 * 9 * 9 ]= + { +- 422720226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL, ++// 2001.06.14 mrb: Replaced the first entry so the printer will ++// use only the black pen when he should print real black. ++// 422720226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL, ++ 226UL, 142187374UL, 94354238UL, 62442785UL, 45668877UL, 27648516UL, 8972032UL, 7335680UL, 5895424UL, + 2519110233UL, 807846483UL, 391693109UL, 260029471UL, 143570703UL, 42776580UL, 8501760UL, 7782400UL, 6539520UL, + 3072173868UL, 1881129514UL, 841465387UL, 524792087UL, 358391818UL, 174364420UL, 40408577UL, 6920704UL, 6530560UL, + 3407591425UL, 2551891200UL, 1612695808UL, 824489479UL, 506699268UL, 306153730UL, 105283329UL, 5144320UL, 5737216UL, +diff -urNad hplip~/prnt/hpijs/dj690_maps.cpp hplip/prnt/hpijs/dj690_maps.cpp +--- hplip~/prnt/hpijs/dj690_maps.cpp 2006-03-16 11:12:00.000000000 -0300 ++++ hplip/prnt/hpijs/dj690_maps.cpp 2006-03-16 11:22:28.984082881 -0300 +@@ -38,7 +38,10 @@ + uint32_t ulMapDJ690_CMYK[ 9 * 9 * 9 ]= + // DJ690_CMYK + { +- 337848575UL, 37838470UL, 155209268UL, 137905152UL, 36454656UL, 2310144UL, ++// 2001.06.14 mrb: Replaced the first entry so the printer will ++// use only the black pen when he should print real black. ++// 337848575UL, 37838470UL, 155209268UL, 137905152UL, 36454656UL, 2310144UL, ++ 226UL, 37838470UL, 155209268UL, 137905152UL, 36454656UL, 2310144UL, + 2179072UL, 2051072UL, 1733120UL, 2013280119UL, 385897321UL, 303379741UL, + 270610688UL, 102772224UL, 1844992UL, 1911552UL, 1847296UL, 1784832UL, + 2080387626UL, 1157643294UL, 452996881UL, 335555072UL, 202384384UL, 50991872UL, +diff -urNad hplip~/prnt/hpijs/dj895_maps.cpp hplip/prnt/hpijs/dj895_maps.cpp +--- hplip~/prnt/hpijs/dj895_maps.cpp 2006-03-16 11:12:00.000000000 -0300 ++++ hplip/prnt/hpijs/dj895_maps.cpp 2006-03-16 11:22:28.985082758 -0300 +@@ -37,7 +37,10 @@ + + uint32_t ulMapDJ895_KCMY[ 9*9*9 ]= + { +-1819176703UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL, ++// 2001.06.14 mrb: Replaced the first entry so the printer will ++// use only the black pen when he should print real black. ++//1819176703UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL, ++226UL, 79494215UL, 112983330UL, 79035667UL, 78183948UL, 60489224UL, 59571718UL, 42007811UL, 7405312UL, + 4230922555UL, 655358293UL, 176553263UL, 128253208UL, 61209869UL, 60751368UL, 26606852UL, 9305345UL, 8650496UL, + 4248940299UL, 3776766759UL, 756415798UL, 308083743UL, 142671120UL, 59440646UL, 9239553UL, 9109248UL, 8779520UL, + 4248086274UL, 4214276619UL, 2786390812UL, 942206231UL, 491516427UL, 224131588UL, 6616320UL, 7399168UL, 7857664UL, +diff -urNad hplip~/prnt/hpijs/dj895_maps2.cpp hplip/prnt/hpijs/dj895_maps2.cpp +--- hplip~/prnt/hpijs/dj895_maps2.cpp 2006-03-16 11:12:00.000000000 -0300 ++++ hplip/prnt/hpijs/dj895_maps2.cpp 2006-03-16 11:22:28.985082758 -0300 +@@ -163,7 +163,10 @@ + + uint32_t ulMapDJ895_Binary_KCMY[ 9*9*9 ]= + { +-1819176648UL, 64158794UL, 80805158UL, 80215318UL, 62389519UL, 61406730UL, ++// 2001.06.14 mrb: Replaced the first entry so the printer will ++// use only the black pen when he should print real black. ++//1819176648UL, 64158794UL, 80805158UL, 80215318UL, 62389519UL, 61406730UL, ++226UL, 64158794UL, 80805158UL, 80215318UL, 62389519UL, 61406730UL, + 60292615UL, 42401028UL, 7601920UL, 4230922301UL, 571406681UL, 160889651UL, + 113048859UL, 62717200UL, 45415944UL, 27917573UL, 10419457UL, 9238272UL, + 4248940557UL, 3743081259UL, 790296119UL, 325515810UL, 127007505UL, 27196678UL, +diff -urNad hplip~/prnt/hpijs/dj970_maps.cpp hplip/prnt/hpijs/dj970_maps.cpp +--- hplip~/prnt/hpijs/dj970_maps.cpp 2006-03-16 11:12:00.000000000 -0300 ++++ hplip/prnt/hpijs/dj970_maps.cpp 2006-03-16 11:22:28.985082758 -0300 +@@ -127,7 +127,11 @@ + + uint32_t ulMapDJ970_KCMY[ 9*9*9 ]= + { +- 673723135UL, 26007371UL, 9756717UL, 10020638UL, 10022677UL, 10153743UL, ++// 2003.06.05 rss: Replaced the first entry so the printer will ++// (hopefully) use only the black pen when he should print real black. ++// Please report as a bug if it doesn't, or something worse happens. ++// 673723135UL, 26007371UL, 9756717UL, 10020638UL, 10022677UL, 10153743UL, ++ 226UL, 26007371UL, 9756717UL, 10020638UL, 10022677UL, 10153743UL, + 10285066UL, 10416133UL, 9169408UL, 3405886809UL, 59743UL, 23980849UL, + 9366812UL, 10153744UL, 10285066UL, 10153990UL, 10087424UL, 9169408UL, + 3858807091UL, 2197868343UL, 60220UL, 4714015UL, 7270155UL, 8646656UL, +diff -urNad hplip~/prnt/hpijs/dj970_maps3.cpp hplip/prnt/hpijs/dj970_maps3.cpp +--- hplip~/prnt/hpijs/dj970_maps3.cpp 2006-03-16 11:12:00.000000000 -0300 ++++ hplip/prnt/hpijs/dj970_maps3.cpp 2006-03-16 11:22:28.985082758 -0300 +@@ -37,7 +37,8 @@ + + uint32_t ulMapDJ970_Draft_KCMY[ 9*9*9 ]= + { +-1802205183UL, 22740362UL, 5832524UL, 5635892UL, 5570340UL, 5308188UL, ++//1802205183UL, 22740362UL, 5832524UL, 5635892UL, 5570340UL, 5308188UL, ++ 226UL, 22740362UL, 5832524UL, 5635892UL, 5570340UL, 5308188UL, + 5308180UL, 5504778UL, 5504768UL, 4278239136UL, 65446UL, 4194132UL, + 5308210UL, 5373728UL, 5308182UL, 5504784UL, 5504776UL, 5504768UL, + 4278498896UL, 1862336354UL, 65388UL, 2621242UL, 4128540UL, 4718348UL, --- hplip-3.10.9.orig/debian/patches/add-lidil-two-cartridge-modes.dpatch +++ hplip-3.10.9/debian/patches/add-lidil-two-cartridge-modes.dpatch @@ -0,0 +1,363 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## add-lidil-two-cartridge-modes.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.6~/prnt/drv/hpcups.drv.in hplip-3.10.6/prnt/drv/hpcups.drv.in +--- hplip-3.10.6~/prnt/drv/hpcups.drv.in 2010-09-14 16:08:45.926316041 +0200 ++++ hplip-3.10.6/prnt/drv/hpcups.drv.in 2010-09-14 16:08:46.496315327 +0200 +@@ -4778,51 +4778,95 @@ + + // cupsCompression values map to QUALITY_MODE from global_types.h + Option "OutputMode/Print Quality" PickOne AnySetup 10.0 +- *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ Choice "NormalRGBC/Normal Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "NormalRGBP/Normal Color (With Photo Cartridge)" "<>setpagedevice" + Choice "NormalGray/Normal Grayscale" "<>setpagedevice" +- Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "NormalGrayP/Normal Grayscale (With Photo Cartridge)" "<>setpagedevice" ++ Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "DraftRGBC/Draft Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "DraftRGBP/Draft Color (With Photo Cartridge)" "<>setpagedevice" + Choice "DraftGray/Draft Grayscale" "<>setpagedevice" +- Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "PhotoP/High-Resolution Photo (With Photo Cartridge)" "<>setpagedevice" + + // Constraints + UIConstraints "*MediaType Glossy *OutputMode DraftRGB" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBC" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBP" + UIConstraints "*MediaType Glossy *OutputMode DraftGray" + UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGB" ++ UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGBC" ++ UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGBP" + UIConstraints "*MediaType TransparencyFilm *OutputMode DraftGray" + UIConstraints "*MediaType Plain *OutputMode Photo" ++ UIConstraints "*MediaType Plain *OutputMode PhotoP" + UIConstraints "*MediaType TransparencyFilm *OutputMode Photo" ++ UIConstraints "*MediaType TransparencyFilm *OutputMode PhotoP" + + UIConstraints "*PageSize L.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize L.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize L.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize L.FB *OutputMode DraftGray" + UIConstraints "*PageSize PhotoL.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize PhotoL.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize PhotoL.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize PhotoL.FB *OutputMode DraftGray" ++ UIConstraints "*PageSize Hagaki.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize Hagaki.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize Hagaki.FB *OutputMode DraftRGB" + UIConstraints "*PageSize Hagaki.FB *OutputMode DraftGray" + UIConstraints "*PageSize Photo4x6.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize Photo4x6.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize Photo4x6.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize Photo4x6.FB *OutputMode DraftGray" + UIConstraints "*PageSize A6.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize A6.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize A6.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize A6.FB *OutputMode DraftGray" + UIConstraints "*PageSize Cabinet.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize Cabinet.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize Cabinet.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize Cabinet.FB *OutputMode DraftGray" + UIConstraints "*PageSize Photo5x7.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize Photo5x7.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize Photo5x7.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize Photo5x7.FB *OutputMode DraftGray" + UIConstraints "*PageSize 2L.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize 2L.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize 2L.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize 2L.FB *OutputMode DraftGray" + UIConstraints "*PageSize A5.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize A5.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize A5.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize A5.FB *OutputMode DraftGray" + UIConstraints "*PageSize 8x10.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize 8x10.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize 8x10.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize 8x10.FB *OutputMode DraftGray" + UIConstraints "*PageSize Letter.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize Letter.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize Letter.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize Letter.FB *OutputMode DraftGray" + UIConstraints "*PageSize A4.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize A4.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize A4.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize A4.FB *OutputMode DraftGray" + UIConstraints "*PageSize B5.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize B5.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize B5.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize B5.FB *OutputMode DraftGray" + UIConstraints "*PageSize JB5.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize JB5.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize JB5.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize JB5.FB *OutputMode DraftGray" + UIConstraints "*PageSize HV.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize HV.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize HV.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize HV.FB *OutputMode DraftGray" + UIConstraints "*PageSize Mutsugiri.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize Mutsugiri.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize Mutsugiri.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize Mutsugiri.FB *OutputMode DraftGray" + + // 4x6 or smaller +@@ -4988,21 +5032,35 @@ + + // cupsCompression values map to QUALITY_MODE from global_types.h + Option "OutputMode/Print Quality" PickOne AnySetup 10.0 +- *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ Choice "NormalRGBC/Normal Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "NormalRGBP/Normal Color (With Photo Cartridge)" "<>setpagedevice" + Choice "NormalGray/Normal Grayscale" "<>setpagedevice" +- Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "NormalGrayP/Normal Grayscale (With Photo Cartridge)" "<>setpagedevice" ++ Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "DraftRGBC/Draft Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "DraftRGBP/Draft Color (With Photo Cartridge)" "<>setpagedevice" + Choice "DraftGray/Draft Grayscale" "<>setpagedevice" +- Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "PhotoP/High-Resolution Photo (With Photo Cartridge)" "<>setpagedevice" + + // Constraints + UIConstraints "*MediaType Glossy *OutputMode DraftRGB" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBC" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBP" + UIConstraints "*MediaType Glossy *OutputMode DraftGray" + UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGB" ++ UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGBC" ++ UIConstraints "*MediaType TransparencyFilm *OutputMode DraftRGBP" + UIConstraints "*MediaType TransparencyFilm *OutputMode DraftGray" + UIConstraints "*MediaType Plain *OutputMode Photo" ++ UIConstraints "*MediaType Plain *OutputMode PhotoP" + UIConstraints "*MediaType TransparencyFilm *OutputMode Photo" ++ UIConstraints "*MediaType TransparencyFilm *OutputMode PhotoP" + + UIConstraints "*PageSize Photo4x6tab.FB *OutputMode DraftRGB" ++ UIConstraints "*PageSize Photo4x6tab.FB *OutputMode DraftRGBC" ++ UIConstraints "*PageSize Photo4x6tab.FB *OutputMode DraftRGBP" + UIConstraints "*PageSize Photo4x6tab.FB *OutputMode DraftGray" + + // 4x6 or smaller +@@ -7480,11 +7538,17 @@ + + // cupsCompression values map to QUALITY_MODE from global_types.h + Option "OutputMode/Print Quality" PickOne AnySetup 10.0 +- *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ Choice "NormalRGBC/Normal Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "NormalRGBP/Normal Color (With Photo Cartridge)" "<>setpagedevice" + Choice "NormalGray/Normal Grayscale" "<>setpagedevice" +- Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "NormalGrayP/Normal Grayscale (With Photo Cartridge)" "<>setpagedevice" ++ Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "DraftRGBC/Draft Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "DraftRGBP/Draft Color (With Photo Cartridge)" "<>setpagedevice" + Choice "DraftGray/Draft Grayscale" "<>setpagedevice" +- Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "PhotoP/High-Resolution Photo (With Photo Cartridge)" "<>setpagedevice" + + // Duplexer is optional... + Installable "OptionDuplex/Duplexer Installed" +@@ -7492,8 +7556,11 @@ + // Constraints + UIConstraints "*Duplex *OptionDuplex False" + UIConstraints "*MediaType Glossy *OutputMode DraftRGB" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBC" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBP" + UIConstraints "*MediaType Glossy *OutputMode DraftGray" + UIConstraints "*MediaType Plain *OutputMode Photo" ++ UIConstraints "*MediaType Plain *OutputMode PhotoP" + + Attribute "cupsModelName" "" "deskjet 3320" // APDK device class + +@@ -7891,11 +7958,17 @@ + + // cupsCompression values map to QUALITY_MODE from global_types.h + Option "OutputMode/Print Quality" PickOne AnySetup 10.0 +- *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ Choice "NormalRGBC/Normal Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "NormalRGBP/Normal Color (With Photo Cartridge)" "<>setpagedevice" + Choice "NormalGray/Normal Grayscale" "<>setpagedevice" +- Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "NormalGrayP/Normal Grayscale (With Photo Cartridge)" "<>setpagedevice" ++ Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "DraftRGBC/Draft Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "DraftRGBP/Draft Color (With Photo Cartridge)" "<>setpagedevice" + Choice "DraftGray/Draft Grayscale" "<>setpagedevice" +- Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "PhotoP/High-Resolution Photo (With Photo Cartridge)" "<>setpagedevice" + + // Duplexer is optional... + Installable "OptionDuplex/Duplexer Installed" +@@ -7903,8 +7976,11 @@ + // Constraints + UIConstraints "*Duplex *OptionDuplex False" + UIConstraints "*MediaType Glossy *OutputMode DraftRGB" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBC" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBP" + UIConstraints "*MediaType Glossy *OutputMode DraftGray" + UIConstraints "*MediaType Plain *OutputMode Photo" ++ UIConstraints "*MediaType Plain *OutputMode PhotoP" + + Attribute "cupsModelName" "" "deskjet 3600" // APDK device class + +@@ -8286,11 +8362,17 @@ + + // cupsCompression values map to QUALITY_MODE from global_types.h + Option "OutputMode/Print Quality" PickOne AnySetup 10.0 +- *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ *Choice "NormalRGB/Normal Color" "<>setpagedevice" ++ Choice "NormalRGBC/Normal Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "NormalRGBP/Normal Color (With Photo Cartridge)" "<>setpagedevice" + Choice "NormalGray/Normal Grayscale" "<>setpagedevice" +- Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "NormalGrayP/Normal Grayscale (With Photo Cartridge)" "<>setpagedevice" ++ Choice "DraftRGB/Draft Color" "<>setpagedevice" ++ Choice "DraftRGBC/Draft Color (Only Color Cartridge)" "<>setpagedevice" ++ Choice "DraftRGBP/Draft Color (With Photo Cartridge)" "<>setpagedevice" + Choice "DraftGray/Draft Grayscale" "<>setpagedevice" +- Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "Photo/High-Resolution Photo" "<>setpagedevice" ++ Choice "PhotoP/High-Resolution Photo (With Photo Cartridge)" "<>setpagedevice" + + // Duplexer is optional... + Installable "OptionDuplex/Duplexer Installed" +@@ -8298,8 +8380,11 @@ + // Constraints + UIConstraints "*Duplex *OptionDuplex False" + UIConstraints "*MediaType Glossy *OutputMode DraftRGB" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBC" ++ UIConstraints "*MediaType Glossy *OutputMode DraftRGBP" + UIConstraints "*MediaType Glossy *OutputMode DraftGray" + UIConstraints "*MediaType Plain *OutputMode Photo" ++ UIConstraints "*MediaType Plain *OutputMode PhotoP" + + { + // 4x6 or smaller +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.6~/prnt/drv/hpijs.drv.in hplip-3.10.6/prnt/drv/hpijs.drv.in +--- hplip-3.10.6~/prnt/drv/hpijs.drv.in 2010-09-14 16:08:45.936316029 +0200 ++++ hplip-3.10.6/prnt/drv/hpijs.drv.in 2010-09-14 16:08:46.506315314 +0200 +@@ -4411,16 +4411,16 @@ + r="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320"" + Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=300DraftColorCM&& +-Y" ++YK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft.Gray" "Quality=300DraftGr&& + ayscaleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal.Gray" "Quality=300Graysc&& + aleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& + eK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYK" + Attribute "FoomaticRIPOption" "PageSize" "enum CmdLine A" + Attribute "FoomaticRIPOptionSetting" "PageSize=Letter" " -dDEVICEWIDTHPOINTS=612 -&& + dDEVICEHEIGHTPOINTS=792" +@@ -4879,13 +4879,13 @@ + r="HEWLETT-PACKARD" -sDeviceModel="deskjet 3600"" + Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=300DraftColorCM&& +-Y" ++YK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft.Gray" "Quality=300DraftGr&& + ayscaleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal.Gray" "Quality=300Graysc&& + aleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& + eK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYKFul&& +@@ -5347,13 +5347,13 @@ + " + Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=600DraftColorCM&& +-Y" ++YK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft.Gray" "Quality=600DraftGr&& + ayscaleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal.Gray" "Quality=600Graysc&& + aleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& + eK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYKFul&& +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.10.6~/prnt/drv/hpijs.drv.in.template hplip-3.10.6/prnt/drv/hpijs.drv.in.template +--- hplip-3.10.6~/prnt/drv/hpijs.drv.in.template 2010-07-19 04:15:11.000000000 +0200 ++++ hplip-3.10.6/prnt/drv/hpijs.drv.in.template 2010-09-14 16:08:57.346301718 +0200 +@@ -2221,16 +2221,16 @@ + r="HEWLETT-PACKARD" -sDeviceModel="deskjet 3320"" + Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=300DraftColorCM&& +-Y" ++YK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft.Gray" "Quality=300DraftGr&& + ayscaleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal.Gray" "Quality=300Graysc&& + aleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& + eK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYK" + Attribute "FoomaticRIPOption" "PageSize" "enum CmdLine A" + Attribute "FoomaticRIPOptionSetting" "PageSize=Letter" " -dDEVICEWIDTHPOINTS=612 -&& + dDEVICEHEIGHTPOINTS=792" +@@ -2403,13 +2403,13 @@ + r="HEWLETT-PACKARD" -sDeviceModel="deskjet 3600"" + Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=300DraftColorCM&& +-Y" ++YK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft.Gray" "Quality=300DraftGr&& + ayscaleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=300ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal.Gray" "Quality=300Graysc&& + aleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& + eK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYKFul&& +@@ -2599,13 +2599,13 @@ + " + Attribute "FoomaticRIPOption" "PrintoutMode" "enum Composite B" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft" "Quality=600DraftColorCM&& +-Y" ++YK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Draft.Gray" "Quality=600DraftGr&& + ayscaleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Normal.Gray" "Quality=600Graysc&& + aleK" +- Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMY" ++ Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High" "Quality=600ColorCMYK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=High.Gray" "Quality=600Grayscal&& + eK" + Attribute "FoomaticRIPOptionSetting" "PrintoutMode=Photo" "Quality=600PhotoCMYKFul&& --- hplip-3.10.9.orig/debian/patches/10_shebang_fixes.dpatch +++ hplip-3.10.9/debian/patches/10_shebang_fixes.dpatch @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10_hashbang_fixes.dpatch by Henrique de Moraes Holschuh +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix missing, weird or otherwise broken shebang lines + +@DPATCH@ +diff -urNad hplip~/__init__.py hplip/__init__.py +--- hplip~/__init__.py 2007-01-26 12:24:33.000000000 -0200 ++++ hplip/__init__.py 2007-01-26 15:21:09.158181349 -0200 +@@ -1,3 +1,4 @@ ++#!/usr/bin/env python + # -*- coding: utf-8 -*- + # + # (c) Copyright 2003-2007 Hewlett-Packard Development Company, L.P. --- hplip-3.10.9.orig/debian/patches/00patch-opts +++ hplip-3.10.9/debian/patches/00patch-opts @@ -0,0 +1 @@ +patch_opts="-g0 -f --no-backup-if-mismatch -F0 -U ${workdir:+-d ${workdir}}" --- hplip-3.10.9.orig/debian/patches/hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch +++ hplip-3.10.9/debian/patches/hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch @@ -0,0 +1,42 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## hp-mkuri-take-into-account-already-installed-plugin-also-for-exit-value.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.10.2~/io/hpmud/hp-mkuri.c hplip-3.10.2/io/hpmud/hp-mkuri.c +--- hplip-3.10.2~/io/hpmud/hp-mkuri.c 2010-03-17 22:42:56.682033355 +0100 ++++ hplip-3.10.2/io/hpmud/hp-mkuri.c 2010-03-17 22:45:36.370765292 +0100 +@@ -385,17 +385,23 @@ + } + + ret = 0; +- if (plugin == HPMUD_PLUGIN_TYPE_REQUIRED) +- ret = 2; +- else if (plugin == HPMUD_PLUGIN_TYPE_OPTIONAL) +- ret = 3; +- if (fax > 0) ++ if (!plugin_installed) + { +- ret = 4; + if (plugin == HPMUD_PLUGIN_TYPE_REQUIRED) +- ret = 5; ++ ret = 2; + else if (plugin == HPMUD_PLUGIN_TYPE_OPTIONAL) +- ret = 6; ++ ret = 3; ++ } ++ if (fax > 0) ++ { ++ ret = 4; ++ if (!plugin_installed) ++ { ++ if (plugin == HPMUD_PLUGIN_TYPE_REQUIRED) ++ ret = 5; ++ else if (plugin == HPMUD_PLUGIN_TYPE_OPTIONAL) ++ ret = 6; ++ } + } + + bugout: --- hplip-3.10.9.orig/debian/patches/kbsd.dpatch +++ hplip-3.10.9/debian/patches/kbsd.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## kbsd.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad hplip-3.9.10~/prnt/hpcups/ErnieFilter.cpp hplip-3.9.10/prnt/hpcups/ErnieFilter.cpp +--- hplip-3.9.10~/prnt/hpcups/ErnieFilter.cpp 2009-11-07 08:53:28.000000000 +1100 ++++ hplip-3.9.10/prnt/hpcups/ErnieFilter.cpp 2009-12-14 05:32:17.000000000 +1100 +@@ -50,7 +50,7 @@ + #include "ErnieFilter.h" + + +-#if defined(__APPLE__) || defined(__linux) ++#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) + #include + #endif + --- hplip-3.10.9.orig/debian/tmpno/hplip.desktop +++ hplip-3.10.9/debian/tmpno/hplip.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=0.6 +Type=Application +Name=HP Device Manager +GenericName=Printer Management Application +Comment=View device status, ink levels and perform maintenance. +Exec=hp-toolbox +Icon=/usr/share/hplip/data/images/128x128/hp_logo.png +Terminal=false +Categories=Application;Utility; +X-KDE-StartupNotify=false +StartupNotify=false --- hplip-3.10.9.orig/debian/bug/script +++ hplip-3.10.9/debian/bug/script @@ -0,0 +1,5 @@ +#!/bin/sh -e + +echo +echo "Gathering system configuration via hp-check -t -r (please wait)..." +/usr/bin/hp-check -t -r >&3 2>&3 --- hplip-3.10.9.orig/debian/bug/presubj +++ hplip-3.10.9/debian/bug/presubj @@ -0,0 +1,20 @@ +The HPLIP Launchpad.net site https://launchpad.net/hplip is available +to get help, report bugs, make suggestions, discuss the HPLIP project +or otherwise contact the HPLIP Team. + +The Debian team values users reports, but we are busy, and so we +kindly ask you to access the upstream support facilities: + +For end user support please "Ask a question" at the +upstream hplip support site: + https://answers.launchpad.net/hplip/+addquestion + +If you know that the bug you want to report is in the "upstream" +code then please file report in the upstream hplip bug tracking system: + https://launchpad.net/hplip/+filebug + +If you feel that the bug is one that other Debian users should +know about then you are welcome to file a report in the Debian BTS +as well. Please keep in mind, however, that managing bug reports +is part of the maintainers' workload. + --- hplip-3.10.9.orig/debian/local/apport-hook.py +++ hplip-3.10.9/debian/local/apport-hook.py @@ -0,0 +1,11 @@ +'''apport package hook for hplip + +(c) 2009 Canonical Ltd. +Author: Brian Murray +''' + +from apport.hookutils import * + +def add_info(report): + attach_hardware(report) + attach_printing(report) --- hplip-3.10.9.orig/debian/local/make-duplex-page-sizes-default.sh +++ hplip-3.10.9/debian/local/make-duplex-page-sizes-default.sh @@ -0,0 +1,44 @@ +#!/bin/sh +f=$1 + +echo "Renaming page sizes in $f" + +# Correct entries for small margin paper sizes which were already there +perl -p -i -e 's:SM/:.SM/:g' $f +perl -p -i -e 's:SmallMargins:Small Margins:g' $f + +# Find which page sizes support duplex +duplexsizes=`grep -v '^//' $f | grep CustomMedia | grep '\.Duplex' | cut -d " " -f 4 | cut -d "/" -f 1 | cut -d '"' -f 2 | perl -p -e "s/\.Duplex//" | sort | uniq` + +# Rename CustomMedia entries: duplex sizes -> standard sizes, standard sizes -> +# small margin sizes +echo -n " Renaming paper size definitions" +finished=0 +while [ $finished = 0 ]; do + perl -e 'my $content = join("", <>); $content =~ s:(CustomMedia\s*\")([^\s\.\/]+)(\/([^\"]+?\s+|))(\S+\"([^\n]*\n){0,4}\s*CustomMedia\s*\")(\2)(.Duplex)(\/[^\"]*?\s*)(AutoDuplex ):\1\2.SM\3Small Margins \5\7\9:smgi; print $content' $f > $f.new 2>/dev/null + if diff $f $f.new >/dev/null 2>/dev/null; then + rm $f.new + echo " Done" + finished=1 + else + rm $f && mv $f.new $f + echo -n "." + fi +done + +# Update the UIConstraints entries of the paper sizes which support duplex +for size in $duplexsizes; do + echo -n " Updating UI Constraints for $size:" + perl -p -e 's/(UIConstraints\s*\"\s*\*PageSize\s+)('"$size"')(\s+\*Duplex\s*\")/\1\2.SM\3/i' $f > $f.new 2>/dev/null + if diff $f $f.new >/dev/null 2>/dev/null; then + rm $f.new + echo " No changes" + finished=1 + else + rm $f && mv $f.new $f + echo " Done" + fi +done + +# Remove remaining ".Duplex" from paper sizes in UIConstraints +perl -p -i -e 's:\.Duplex::g' $f --- hplip-3.10.9.orig/debian/local/scripts/create_hal_global_fdi_from_hpmud_rules.sh +++ hplip-3.10.9/debian/local/scripts/create_hal_global_fdi_from_hpmud_rules.sh @@ -0,0 +1,62 @@ +#! /bin/bash +# +# Johannes Meixner , 2004, 2005, 2006 + +#set -x + +export PATH="/sbin:/usr/sbin:/usr/bin:/bin" +export LC_ALL="POSIX" +export LANG="POSIX" +umask 022 + +MY_NAME=${0##*/} + +# Input: + +# Create temporary files: +TMP_DATA=$(mktemp -u /tmp/$MY_NAME.XXXXXX) + +touch $TMP_DATA +for CLASS in `cat data/rules/55-hpmud.rules | grep 'SYSFS{idVendor}=="03f0"' | cut -d ' ' -f 2 | cut -d '"' -f 2 | cut -d '?' -f3`; do + IDS='' + for A in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do + for B in 0 1 2 3 4 5 6 7 8 9 a b c d e f; do + IDS="${IDS}0x$A$B$CLASS;" + done + done + IDS=`echo $IDS | sed -e 's/;$//'` + echo $IDS >> $TMP_DATA +done + +# Output: + +# Output header: +echo '' +echo '' +echo ' ' + +# Output model specific HP USB device entries: +exec <$TMP_DATA +while read PRODUCTS +do echo + echo ' ' + echo ' ' + echo -n ' ' + echo ' scanner' + echo ' ' + echo ' ' + echo ' ' +done + +# Output footer: +echo +echo ' ' +echo '' + +# Remove the temporary file +rm $TMP_DATA + +exit 0 + --- hplip-3.10.9.orig/debian/local/scripts/hp-plugin-ubuntu +++ hplip-3.10.9/debian/local/scripts/hp-plugin-ubuntu @@ -0,0 +1,20 @@ +#!/bin/sh +if [ -z $DISPLAY ]; then + sudo -p \ + " +HP Printer Driver Plug-in Installetion +-------------------------------------- + +This program will install the proprietary plug-in for HP's printer +driver framework HPLIP into your system. This requires administrator +access. Please enter your password. +User: %u +Password: " \ + hp-plugin -i +else + if python -c 'import PyQt4.QtGui' 2>/dev/null; then + gksu -D 'HP Printer Driver Plug-in Installation' -- hp-plugin -u >/dev/null 2>&1 + else + gksu -D 'HP Printer Driver Plug-in Installation' -- xterm -T 'HP Printer Driver Plug-in Installation' -sb -rightbar -hold -e hp-plugin -i >/dev/null 2>&1 & + fi +fi --- hplip-3.10.9.orig/debian/local/pyppd/ISSUES.txt +++ hplip-3.10.9/debian/local/pyppd/ISSUES.txt @@ -0,0 +1,8 @@ +Issues +------ + +* Add unit tests. +* When testing if the PPD generated from the \*Product line already exists in a + \*1284DeviceID line, we do a case-sensitive test. I think it should be case- + insensitive. +* Generate manpage. --- hplip-3.10.9.orig/debian/local/pyppd/CHANGES.txt +++ hplip-3.10.9/debian/local/pyppd/CHANGES.txt @@ -0,0 +1,404 @@ +HEAD (2010-09-21) + + * pyppd/pyppd-ppdfile.in, bin/pyppd: KeyboardInterrupts are raised when the + user uses, for example, CTRL+C. But when you do "./pyppd-ppdfile list | less" + and, before the end of file, types "q", it raises an IOError. We don't want + neither throwing a traceback into stdout. Thanks for the tip, Till. + + * bin/pyppd: Oops! Error in the indentation. + +v0.4.8 (2010-09-20) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.8 + + * pyppd/pyppd-ppdfile.in, bin/pyppd: As noted by Till Kamppeter, generating a + traceback triggers an automatic bug report feature in some distributions + (like Ubuntu). We avoid generating false bug reports by suppressing those + KeyboardInterrupt's tracebacks. + +v0.4.7 (2010-09-20) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.7 + + * setup.py: Removing useless whitespaces. + + * contrib/git2changes.py: Removes ending whitespace in CHANGES.txt's commit + messages. + + * pyppd/pyppd-ppdfile.in, pyppd/ppd.py: Make sure that the "pyppd-ppdfile + list" output does not contain two lines with the same PPD URI + + * ISSUES.txt: Adds missing period. + +v0.4.6 (2010-08-17) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.6 + + * setup.py: If we don't do this, the resulting string isn't valid rST. + +v0.4.5 (2010-08-17) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.5 + + * ISSUES.txt: Adds "Generate manpage" issue. + + * setup.py: Letting our issues be known to everyone might encourage + contributions. + + * ISSUES.txt: Minor esthetic changes. + + * README.txt: Adds Till, Hin-Tak, Flávio, Diógenes and OSPO as + Contributors. + + * README.txt: Adds # and $ to indicate commands done in the shell. + + * README.txt: Adds multiple archives usage's instructions. + +v0.4.4 (2010-08-11) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.4 + + * pyppd/pyppd-ppdfile.in, pyppd/ppd.py: 1. The PPD parser confused "NickName" + and "ShortNickName". This leads to the "ShortNickName" being used in + "pyppd-ppdfile list" and so important information is missing in the listings + and the listings are 2. "pyppd-ppdfile list" lists PPD URIs with the full + path of pyppd-ppdfile, usually /usr/lib/cups/driver/pyppd-ppdfile. This makes + the PPD generator not working correctly with CUPS. + +v0.4.3 (2010-08-10) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.3 + + * pyppd/ppd.py, pyppd/archiver.py: Renaming filename -> uri. + + * pyppd/archiver.py: So we avoid the problem of having PPDs with the same + filename. It's working as: if I call pyppd with the folder /usr/share/ppd, it + removes this part of each PPD path and uses the rest as the URI. For example, + /usr/share/ppd/cups-included/textonly.ppd.gz will have the URI + "cups-included/textonly.ppd". + +v0.4.2 (2010-08-09) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.2 + + * pyppd/archiver.py: Oops! Forgot to change the variable name. + + * setup.py: Adds classifiers to setup.py. + + * ISSUES.txt: Removing resolved issue. + + * pyppd/runner.py: I don't think logging to a file is worthwile to pyppd, as + it isn't a daemon. If you encounter some problem, you'll be running it + yourself, Also, I prefer using -v and -vv instead of -v and -d. I think it + makes things more standard. + + * pyppd/runner.py, pyppd/ppd.py, pyppd/archiver.py, ISSUES.txt: Now, pyppd + prints to stdout the WARNING, ERROR and FATAL messages, and logs those and + every other to a log file (defaults to pyppd.log), which has a size limit of + 2 MB. You can use --verbose and --debug to make pyppd more verbose. + +v0.4.1 (2010-08-09) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.1 + + * pyppd/archiver.py: When we have two PPDs with the same filename, we create + add a random number to one of them, so we can add both to our archive. But, + if this PPD which'll have the new name have more than one entry in the list, + each entry will have a different random name. This commit fixes this. + + * ISSUES.txt: Adds new issue. + + * ISSUES.txt: "setup.py install" shouldn't link pyppd to + /usr/lib/cups/driver. What should be there isn't pyppd, but the archive + generated by it. + +v0.4.0 (2010-08-09) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.4.0 + + * pyppd/ppd.py: Now, when parsing a PPD, it adds as many *1284DeviceID lines + as it can find. Afterwards, it looks for *Product lines. If found, check if + it's unique (if there wasn't an *1284DeviceID line with the same product + model), and adds it if so. + + * pyppd/archiver.py, ISSUES.txt: If we found a PPD with the same filename, we + simply add a random number (between 0 and 99) to the end of its filename. + + * pyppd/pyppd-ppdfile.in: Renaming index -> value. + +v0.3.0 (2010-08-07) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.3.0 + + * pyppd/ppd.py, pyppd/archiver.py, ISSUES.txt: There are some of PPDs which + are in different files but contains the same "*PCFileName:". So, without this + change, pyppd overwritten them in the index, making them impossible to + recover. Now, it'll only happen when there're two PPDs with the same + basename. I'm also writing at ISSUES.txt that we need to figure out how to + solve this possible problem. + + * pyppd/ppd.py: Fixing typo deviceid -> deviceid_re. + + * pyppd/ppd.py, pyppd/archiver.py: Renaming name -> filename. + + * pyppd/pyppd-ppdfile.in, pyppd/ppd.py, pyppd/archiver.py: As Till Kamppeter + pointed out, a single PPD might have multiple descriptions, following the + rules: a) If the PPD has an "*1284DeviceID:" line, create a single list entry + with this device ID; b) If the PPD has one or more "*Product:" lines, create + a pseudo device ID using the content of the "*Manufacturer:" line as + manufacturer and "*Product:" line as model, whichout the parentheses. + + * ISSUES.txt: Removing "support for .ppd.gz" from our ISSUES list. + +v0.2.2 (2010-08-07) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.2.2 + + * pyppd/archiver.py, README.txt: Now, instead of looking for only *.ppd in + the directory passed as parameter, it looks also for *.ppd.gz. When found, it + tests: does it ends with ".gz" (case-sensitive (I have to change this))? If + so, opens with gzip. If not, opens as usual. When we archive gzipped PPDs, we + save them uncompressed. + + * pyppd/archiver.py: Refactoring some variable names. + +v0.2.1 (2010-08-07) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.2.1 + + * pyppd/archiver.py: Updating archiver.compress() documentation. + +v0.2.0 (2010-08-07) + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in: Changing version to + 0.2.0 + + * pyppd/archiver.py: Removing useless try/except block. + + * pyppd/pyppd-ppdfile.in, pyppd/archiver.py: Instead of creating a .tar + archive, we simply concatenate all PPDs found in a big text file, and save + each's start and length inside of it. Then, when we have to "cat" it, we + decompress the text file and print only In my tests, it's around 8% faster + than using .tar. Also, it makes it easier, in the future, to support not only + files .ppd, but also .ppd.gz. + + * pyppd/runner.py, pyppd/archiver.py: Rename method create_archive -> archive + + * pyppd/archiver.py: Reorganizing methods, the most important at the top + + * pyppd/compressor.py: Updating decompress() documentation + + * pyppd/pyppd-ppdfile.in, pyppd/lzma_proxy.py, pyppd/compressor.py, + pyppd/archiver.py: Renaming lzma_proxy.py to compressor.py + + * pyppd/runner.py, pyppd/compressor.py, pyppd/archiver.py: The runner.py + shouldn't have to use compressor.py. It should simply ask archiver.py to + create the archive. Compression is an implementation detail of archiver. + + * pyppd/runner.py, pyppd/pyppd-ppdfile.in: Fixing version number 0.1.0 -> + 0.1.6 + + * pyppd/ppd.py: Removing space between DeviceID's field name and content. + + * setup.py, contrib/git2changes.py: I made git2changes which simply gets the + commit messages and organizes them into something similar to the GNU + ChangeLog style. But, instead of separating the commits by day, I organize + them by version. I think this way, even as it's not standard, generates a + file that is more useful to pyppd's users. + + * CHANGES.txt, .gitignore: As CHANGES.txt is created from the git log, we + have no use to maintain it under version control. + +v0.1.6 (2010-08-03) + + * setup.py: Changing version to 0.1.6 + + * MANIFEST.in: So, pyppd/pyppd-ppdfile.in gets into the distribution archive. + + * pyppd/pyppd-ppdfile.in: As now we don't uncompress the .tar.xz archive at + ls(), when we tested if ppd.__class__ == tarfile.TarFile, it always failed. + Now, at the iteration, we get the key AND the value (ppd). If the key is + ARCHIVE, we continue. + + * ISSUES.txt: Adding Till's suggestions and some ideas to ISSUES.txt + + * setup.py: Making setup.py executable + +v0.1.5 (2010-08-01) + + * setup.py: Adding a description and bumping version to 0.1.4 + +v0.1.4 (2010-08-01) + + * setup.py: Changing version to 0.1.4 + + * README.txt: Adding instructions to install with pip + +v0.1.3 (2010-08-01) + + * setup.py: Changing version to 0.1.3 + + * pyppd/compressor.py: Instead of silently ignoring exceptions, raises them + + * README.txt: Minor reStructuredText fixes + +v0.1.1 (2010-08-01) + + * setup.py: Renaming the license in setup.py to GPLv3 + + * setup.py: Forgot to add read() to the long_description + + * setup.py, README.txt: Adding a README.txt and setting it as + long_description + + * pyppd/pyppd-ppdfile.in: When you tried ./pyppd-ppdfile cat my-ppd.ppd, it + raised a IndexError, as it tried to "my-ppd.ppd".split(":")[1], which don't + exists. Now, instead of trying to read the second element ([1]), we read the + last element, which works in both cases. + + * setup.py: Remove pyppd/test, as I am not using tests (yet) + + * ISSUES.txt: As Gitorious don't offers us one. Maybe we should consider + switching to github or something... + + * pyppd/pyppd-ppdfile.in: As the file lzma_proxy.py is inserted into + pyppd-compressor, we don't use "import lzma_proxy as lzma". So, the methods + are in the local namespace, thus we use compress/decompress, and not + lzma.compress/decompress. + + * pyppd/lzma_proxy.py: Now, I need to change it's name. Lzma_proxy seems + unnatural to me, and we already use compressor for another file. Maybe xz.py? + + * pyppd/pyppd-ppdfile.in: We used to decompress the PPDs in load(). So, even + if the user simply wanted to list the PPDs (which we use only the index), he + had to decompress everything. Now, only when the user asks to cat a file, we + decompress the PPDs. + + * pyppd/pyppd-ppdfile.in, pyppd/compressor.py: This way, we compress 212mb to + 3.2mb, instead of 8,2mb. This makes the program a bit slower (0.2s in my + tests), but I think it's worthy. + + * pyppd/runner.py, pyppd/pyppd-ppdfile.in: Adding the \ to concatenate the + multiline strings + + * pyppd/pyppd-ppdfile.in: Checks if pyppd-ppdfile is run directly and, if so, + run main() + + * pyppd/pyppd-ppdfile.in: The name 'list()' is used for instantiate list + objects. + + * pyppd/ppd.py: Ppd: Add object inheritance + + * pyppd/runner.py, pyppd/pyppd-ppdfile.in: Fitting to 80 columns + + * pyppd/archiver.py: Archiver: Removes unused import + + * pyppd/compressor.py: When we add the PPDs to the .tar file, /usr/share/ppd + becomes usr/share/ppd. This way, we were unable to find it afterwards. Now, + we convert every path passed as argument to absolute, and simply ignore the + first slash when creating the index. + + * pyppd/ppd.py: Removes the "(" and ")" from the Product line + + * pyppd/ppd.py: Use Product instead of NickName in the 1284DeviceID fallback + + * pyppd/pyppd-ppdfile.in, pyppd/compressor.py: It's better than the sqlite3 + solution because we can decompress and load the tar file from memory, without + the need to write to decompress, write As tar doesn't have an index, it needs + to do a sequential search to find the files. It might be better to use 7z + instead. + + * pyppd/lzma_proxy.py: Adds compress_file(path), which compresses path with + xz binary + + * pyppd/compressor.py: This way, sqlite3 indexes its values, making the + selects much faster. + + * pyppd/pyppd-ppdfile.in, pyppd/compressor.py: It's much faster to load the + sqlite3 DB and begin issuing SQL statements than to load the .sql dump into a + new sqlite3 DB. + + * pyppd/pyppd-ppdfile.in, pyppd/compressor.py: cPickle uses too much memory + when pickling/unpickling. And, as we work with large files, it becomes a + problem. SQLite3 is more efficient in this regard. + + * pyppd/runner.py: Fixing bug of undefined variable when running pyppd with + unexistent directory as argument + + * pyppd/ppd.py: This is probably wrong [1] but, as I found many PPDs which + 1284DeviceID [1] + http://www.undocprint.org/formats/communication_protocols/ieee_1284#ieee_1284_device_ + + + * pyppd/compressor.py: Sets ppds = None when we don't need it anymore, trying + to keep memory usage low. + + * pyppd/ppd.py: Adding languages not found in ISO 639, but found in some PPDs + + * pyppd/ppd.py: Converts PPD's language name to it's ISO 639 code + + * pyppd/ppd.py, pyppd/compressor.py: When compressing, ignore the PPDs which + couldn't be parsed. + + * pyppd/pyppd-ppdfile.in, pyppd/ppd.py: Instead of having the PPDs names + hardcoded with the executable's, prefix them at execution time. Also, remove + the "./" of executable's name, when called like ./pyppd-ppdfile. + + * setup.py, pyppd/runner.py, pyppd/pyppd-ppdfile.in, pyppd/archiver.py: Now, + everything will be in only one file by default. When running pyppd, it'll + parse the folder passed as argument and create, by default, pyppd-ppdfile. + You can run it with list or cat URI to get the compressed PPDs. + + * pyppd/runner.py: Refactoring (extract method parse_args()) + + * pyppd/ppd.py: We don't need to save the ppd_file anymore + + * pyppd/compressor.py: So, when loading the resulting pickle file, we don't + need the PPD class definition. We just load a tuple with two strings. + + * pyppd/runner.py: Adds command-line argument parsing + + * pyppd/ppd.py, pyppd/compressor.py: PPD class now saves its PPD file in an + attribute + + * pyppd/lzma_proxy.py: communicate() returns a tuple (stdout, stderr). + Returns stdout. + + * pyppd/compressor.py: Refactoring import lzma_proxy + + * pyppd/ppd.py, pyppd/compressor.py: The PPD class parses a string with the + ppd, looking for its attributes. Now, instead of saving a dictionary with + ppd_path => {size: ppd_size, start: ppd_start}, it creates a PPD object for + each ppd, with it's attributes, so we can in the future list them as foomatic + does. + + * pyppd/lzma_proxy.py, pyppd/compressor.py: This way, we can fallback to + using the xz binary, if there isn't python-lzma available. It also has the + advantage of using the fastest, if both are available. I need to do some + tests to check which is better. + + * pyppd/compressor.py: Adding compressor.compress() docstring. + + * pyppd/compressor.py: Forgot the final period. + + * pyppd/compressor.py: Removing garbage + + * pyppd/compressor.py: Minor typo fix + +v0.1.0 (2010-06-12) + + * setup.py, pyppd/runner.py, pyppd/compressor.py, bin/pyppd, MANIFEST.in, + LICENSE.txt, CHANGES.txt, .gitignore: Initial release. + --- hplip-3.10.9.orig/debian/local/pyppd/LICENSE.txt +++ hplip-3.10.9/debian/local/pyppd/LICENSE.txt @@ -0,0 +1,619 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. --- hplip-3.10.9.orig/debian/local/pyppd/setup.py +++ hplip-3.10.9/debian/local/pyppd/setup.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python + +from distutils.core import setup +from distutils.command.sdist import sdist as _sdist + +class sdist(_sdist): + def run(self): + try: + import sys + sys.path.append("contrib") + import git2changes + print 'generating CHANGES.txt' + with open('CHANGES.txt', 'w+') as f: + git2changes.run(f) + except ImportError: + pass + + _sdist.run(self) + +setup( + name='pyppd', + version='0.4.9', + author='Vitor Baptista', + author_email='vitor@vitorbaptista.com', + packages=['pyppd'], + package_data={'pyppd': ['*.in']}, + scripts=['bin/pyppd'], + url='http://gitorious.org/vitorbaptista/pyppd/', + license='GPLv3', + description='A CUPS PostScript Printer Driver\'s compressor and generator', + long_description=open('README.txt').read() + "\n" + + open('ISSUES.txt').read(), + cmdclass={'sdist': sdist}, + classifiers=[ + 'Development Status :: 4 - Beta', + 'Intended Audience :: System Administrators', + 'Operating System :: POSIX', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'Topic :: Printing', + ], +) --- hplip-3.10.9.orig/debian/local/pyppd/README.txt +++ hplip-3.10.9/debian/local/pyppd/README.txt @@ -0,0 +1,66 @@ +pyppd +===== + +``pyppd`` is a CUPS PPD generator. It holds an compressed archive of PPDs, which +can be listed and retrieved only when needed by CUPS, saving disk space. + +Instalation +----------- + +To install ``pyppd``, you can use: + + # pip install pyppd + +Or download the source package, uncompress, and run as root: + + # python setup.py install + +It depends on Python 2.x (http://www.python.org) and XZ Utils +(http://tukaani.org/xz/). + +Usage +----- + +At first, you have to create a PPD archive. For such, put all PPDs (they might +be gzipped) you want to add in the archive inside a single folder (which can +have subfolders), then run: + + $ pyppd /path/to/your/ppd/folder + +It'll create ``pyppd-ppdfile`` in your current folder. You can test it by +running: + + $ ./pyppd-ppdfile list + +And, for reading a PPD from the archive, simply do: + + $ ./pyppd-ppdfile cat pyppd-ppdfile:MY-PPD-FILE.PPD + +For CUPS to be able to use your newly-created archive, copy ``pyppd-ppdfile`` +to ``/usr/lib/cups/driver/`` and you're done. + +The generated ``pyppd-ppdfile`` can be arbitrarily renamed, so that more than +one packed repository can be installed on one system. This can be useful if +you need a better performance, be it in time or memory usage. Note that also +the PPD URIs will follow the new name: + + $ ./pyppd-ppdfile list + + pyppd-ppdfile:LasterStar/LaserStar-XX100.ppd + + $ mv pyppd-ppdfile laserstar + + $ ./laserstar list + + laserstar:LaserStar/LaserStar-XX100.ppd + +Contributors +------------ + +* **Till Kamppeter** - Original idea, mentoring and feedback. User #0. + +* **Hin-Tak Leung** - Lots of technical suggestions. + +* **Flávio Ribeiro** and **Diógenes Fernandes** - Refactorings and general Python's best practices tips. + +* **Google's OSPO** - Initial funding at GSoC 2010. --- hplip-3.10.9.orig/debian/local/pyppd/PKG-INFO +++ hplip-3.10.9/debian/local/pyppd/PKG-INFO @@ -0,0 +1,90 @@ +Metadata-Version: 1.0 +Name: pyppd +Version: 0.4.9 +Summary: A CUPS PostScript Printer Driver's compressor and generator +Home-page: http://gitorious.org/vitorbaptista/pyppd/ +Author: Vitor Baptista +Author-email: vitor@vitorbaptista.com +License: GPLv3 +Description: pyppd + ===== + + ``pyppd`` is a CUPS PPD generator. It holds an compressed archive of PPDs, which + can be listed and retrieved only when needed by CUPS, saving disk space. + + Instalation + ----------- + + To install ``pyppd``, you can use: + + # pip install pyppd + + Or download the source package, uncompress, and run as root: + + # python setup.py install + + It depends on Python 2.x (http://www.python.org) and XZ Utils + (http://tukaani.org/xz/). + + Usage + ----- + + At first, you have to create a PPD archive. For such, put all PPDs (they might + be gzipped) you want to add in the archive inside a single folder (which can + have subfolders), then run: + + $ pyppd /path/to/your/ppd/folder + + It'll create ``pyppd-ppdfile`` in your current folder. You can test it by + running: + + $ ./pyppd-ppdfile list + + And, for reading a PPD from the archive, simply do: + + $ ./pyppd-ppdfile cat pyppd-ppdfile:MY-PPD-FILE.PPD + + For CUPS to be able to use your newly-created archive, copy ``pyppd-ppdfile`` + to ``/usr/lib/cups/driver/`` and you're done. + + The generated ``pyppd-ppdfile`` can be arbitrarily renamed, so that more than + one packed repository can be installed on one system. This can be useful if + you need a better performance, be it in time or memory usage. Note that also + the PPD URIs will follow the new name: + + $ ./pyppd-ppdfile list + + pyppd-ppdfile:LasterStar/LaserStar-XX100.ppd + + $ mv pyppd-ppdfile laserstar + + $ ./laserstar list + + laserstar:LaserStar/LaserStar-XX100.ppd + + Contributors + ------------ + + * **Till Kamppeter** - Original idea, mentoring and feedback. User #0. + + * **Hin-Tak Leung** - Lots of technical suggestions. + + * **Flávio Ribeiro** and **Diógenes Fernandes** - Refactorings and general Python's best practices tips. + + * **Google's OSPO** - Initial funding at GSoC 2010. + + Issues + ------ + + * Add unit tests. + * When testing if the PPD generated from the \*Product line already exists in a + \*1284DeviceID line, we do a case-sensitive test. I think it should be case- + insensitive. + * Generate manpage. + +Platform: UNKNOWN +Classifier: Development Status :: 4 - Beta +Classifier: Intended Audience :: System Administrators +Classifier: Operating System :: POSIX +Classifier: License :: OSI Approved :: GNU General Public License (GPL) +Classifier: Topic :: Printing --- hplip-3.10.9.orig/debian/local/pyppd/pyppd/compressor.py +++ hplip-3.10.9/debian/local/pyppd/pyppd/compressor.py @@ -0,0 +1,20 @@ +from subprocess import Popen, PIPE + +def compress(value): + """Compresses a string with the xz binary""" + + process = Popen(["xz", "--compress", "--force"], stdin=PIPE, stdout=PIPE) + return process.communicate(value)[0] + +def decompress(value): + """Decompresses a string with the xz binary""" + + process = Popen(["xz", "--decompress", "--stdout", "--force"], + stdin=PIPE, stdout=PIPE) + return process.communicate(value)[0] + +def compress_file(path): + """Compress the file at 'path' with the xz binary""" + + process = Popen(["xz", "--compress", "--force", "--stdout", path], stdout=PIPE) + return process.communicate()[0] --- hplip-3.10.9.orig/debian/local/pyppd/pyppd/runner.py +++ hplip-3.10.9/debian/local/pyppd/pyppd/runner.py @@ -0,0 +1,75 @@ +import os +import stat +import errno +import logging +import logging.handlers +from optparse import OptionParser +import archiver + +def parse_args(): + usage = "usage: %prog [options] ppds_directory" + version = "%prog 0.4.9\n" \ + "Copyright (c) 2010 Vitor Baptista.\n" \ + "This is free software; see the source for copying conditions.\n" \ + "There is NO warranty; not even for MERCHANTABILITY or\n" \ + "FITNESS FOR A PARTICULAR PURPOSE." + parser = OptionParser(usage=usage, + version=version) + parser.add_option("-v", "--verbose", + action="count", dest="verbosity", + help="run verbosely (can be supplied multiple times to " \ + "increase verbosity)") + parser.add_option("-d", "--debug", + action="store_const", const=2, dest="verbose", + help="print debug messages") + parser.add_option("-o", "--output", + default="pyppd-ppdfile", metavar="FILE", + help="write archive to FILE [default %default]") + (options, args) = parser.parse_args() + + if len(args) != 1: + parser.error("incorrect number of arguments") + + if not os.path.isdir(args[0]): + parser.error("'%s' isn't a directory" % args[0]) + + return (options, args) + +def configure_logging(verbosity): + """Configures logging verbosity + + To stdout, we only WARNING of worse messages in a simpler format. To the + file, we save every log message with its time, level, module and method. + We also rotate the log_file, removing old entries when it reaches 2 MB. + """ + + if verbosity == 1: + level = logging.INFO + elif verbosity == 2: + level = logging.DEBUG + else: + level = logging.WARNING + + formatter = '[%(levelname)s] %(module)s.%(funcName)s(): %(message)s' + + logging.basicConfig(level=level, format=formatter) + +def run(): + (options, args) = parse_args() + configure_logging(options.verbosity) + ppds_directory = args[0] + + logging.info('Archiving folder "%s".' % ppds_directory) + archive = archiver.archive(ppds_directory) + if not archive: + exit(errno.ENOENT) + + logging.info('Writing archive to "%s".' % options.output) + output = open(options.output, "w+") + output.write(archive) + output.close() + + logging.info('Setting "%s" executable flag.' % options.output) + execute_mode = stat.S_IEXEC | stat.S_IXGRP | stat.S_IXOTH + mode = os.stat(options.output).st_mode | execute_mode + os.chmod(options.output, mode) --- hplip-3.10.9.orig/debian/local/pyppd/pyppd/pyppd-ppdfile.in +++ hplip-3.10.9/debian/local/pyppd/pyppd/pyppd-ppdfile.in @@ -0,0 +1,79 @@ +#!/usr/bin/env python + +# compressor.py +@compressor@ +# compressor.py + +from optparse import OptionParser +from sys import argv +import base64 +import cPickle +from cStringIO import StringIO +from os.path import basename + +def load(): + ppds_compressed = base64.b64decode(ppds_compressed_b64) + ppds_decompressed = decompress(ppds_compressed) + ppds = cPickle.loads(ppds_decompressed) + return ppds + +def ls(): + binary_name = basename(argv[0]) + ppds = load() + for key, value in ppds.iteritems(): + if key == 'ARCHIVE': continue + for ppd in value[2]: + print ppd.replace('"', '"' + binary_name + ':', 1) + +def cat(ppd): + # Ignore driver's name, take only PPD's + ppd = ppd.split(":")[-1] + # Remove also the index + ppd = "0/" + ppd[ppd.find("/")+1:] + + ppds = load() + ppds['ARCHIVE'] = StringIO(decompress(ppds['ARCHIVE'])) + + if ppds.has_key(ppd): + start = ppds[ppd][0] + length = ppds[ppd][1] + ppds['ARCHIVE'].seek(start) + return ppds['ARCHIVE'].read(length) + +def main(): + usage = "usage: %prog list\n" \ + " %prog cat URI" + version = "%prog 0.4.9\n" \ + "Copyright (c) 2010 Vitor Baptista.\n" \ + "This is free software; see the source for copying conditions.\n" \ + "There is NO warranty; not even for MERCHANTABILITY or\n" \ + "FITNESS FOR A PARTICULAR PURPOSE." + parser = OptionParser(usage=usage, + version=version) + (options, args) = parser.parse_args() + + if len(args) == 0 or len(args) > 2: + parser.error("incorrect number of arguments") + + if args[0].lower() == 'list': + ls() + elif args[0].lower() == 'cat': + if not len(args) == 2: + parser.error("incorrect number of arguments") + ppd = cat(args[1]) + if not ppd: + parser.error("Printer '%s' does not have default driver!" % args[1]) + print ppd + else: + parser.error("argument " + args[0] + " invalid") + +# PPDs Archive +ppds_compressed_b64 = "@ppds_compressed_b64@" + +if __name__ == "__main__": + try: + main() + except (IOError, KeyboardInterrupt): + # We don't want neither IOError nor KeyboardInterrupt throwing a + # traceback into stdout. + pass --- hplip-3.10.9.orig/debian/local/pyppd/pyppd/ppd.py +++ hplip-3.10.9/debian/local/pyppd/pyppd/ppd.py @@ -0,0 +1,116 @@ +import re +import logging + +LANGUAGES = {'afar': 'aa', 'abkhazian': 'ab', 'afrikaans': 'af', + 'amharic': 'am', 'arabic': 'ar', 'assamese': 'as', + 'aymara': 'ay', 'azerbaijani': 'az', 'bashkir': 'ba', + 'byelorussian': 'be', 'bulgarian': 'bg', 'bihari': 'bh', + 'bislama': 'bi', 'bengali': 'bn', 'bangla': 'bn', + 'tibetan': 'bo', 'breton': 'br', 'catalan': 'ca', + 'corsican': 'co', 'czech': 'cs', 'welsh': 'cy', + 'danish': 'da', 'german': 'de', 'bhutani': 'dz', + 'greek': 'el', 'english': 'en', 'esperanto': 'eo', + 'spanish': 'es', 'estonian': 'et', 'basque': 'eu', + 'persian': 'fa', 'finnish': 'fi', 'fiji': 'fj', + 'faeroese': 'fo', 'french': 'fr', 'frisian': 'fy', + 'irish': 'ga', 'scots gaelic': 'gd', 'galician': 'gl', + 'guarani': 'gn', 'gujarati': 'gu', 'hausa': 'ha', + 'hindi': 'hi', 'croatian': 'hr', 'hungarian': 'hu', + 'armenian': 'hy', 'interlingua': 'ia', 'interlingue': 'ie', + 'inupiak': 'ik', 'indonesian': 'in', 'icelandic': 'is', + 'italian': 'it', 'hebrew': 'iw', 'japanese': 'ja', + 'yiddish': 'ji', 'javanese': 'jw', 'georgian': 'ka', + 'kazakh': 'kk', 'greenlandic': 'kl', 'cambodian': 'km', + 'kannada': 'kn', 'korean': 'ko', 'kashmiri': 'ks', + 'kurdish': 'ku', 'kirghiz': 'ky', 'latin': 'la', + 'lingala': 'ln', 'laothian': 'lo', 'lithuanian': 'lt', + 'latvian': 'lv','lettish': 'lv', 'malagasy': 'mg', + 'maori': 'mi', 'macedonian': 'mk', 'malayalam': 'ml', + 'mongolian': 'mn', 'moldavian': 'mo', 'marathi': 'mr', + 'malay': 'ms', 'maltese': 'mt', 'burmese': 'my', + 'nauru': 'na', 'nepali': 'ne', 'dutch': 'nl', + 'norwegian': 'no', 'occitan': 'oc', '(afan) oromo': 'om', + 'oriya': 'or', 'punjabi': 'pa', 'polish': 'pl', + 'pashto': 'ps', 'pushto': 'ps', 'portuguese': 'pt', + 'quechua': 'qu', 'rhaeto-romance': 'rm', 'kirundi': 'rn', + 'romanian': 'ro', 'russian': 'ru', 'kinyarwanda': 'rw', + 'sanskrit': 'sa', 'sindhi': 'sd', 'sangro': 'sg', + 'serbo-croatian': 'sh', 'singhalese': 'si', 'slovak': 'sk', + 'slovenian': 'sl', 'samoan': 'sm', 'shona': 'sn', + 'somali': 'so', 'albanian': 'sq', 'serbian': 'sr', + 'siswati': 'ss', 'sesotho': 'st', 'sundanese': 'su', + 'swedish': 'sv', 'swahili': 'sw', 'tamil': 'ta', + 'tegulu': 'te', 'tajik': 'tg', 'thai': 'th', + 'tigrinya': 'ti', 'turkmen': 'tk', 'tagalog': 'tl', + 'setswana': 'tn', 'tonga': 'to', 'turkish': 'tr', + 'tsonga': 'ts', 'tatar': 'tt', 'twi': 'tw', + 'ukrainian': 'uk', 'urdu': 'ur', 'uzbek': 'uz', + 'vietnamese': 'vi', 'volapuk': 'vo', 'wolof': 'wo', + 'xhosa': 'xh', 'yoruba': 'yo', 'chinese': 'zh', + 'simplified chinese': 'zh_TW', 'traditional chinese': 'zh_CN', + 'zulu': 'zu', 'portuguese_brazil': 'pt_BR'} + +class PPD(object): + """Represents a PostScript Description file.""" + def __init__(self, uri, language, manufacturer, nickname, deviceid): + """Initializes a PPD object with the information passed.""" + self.uri = uri + self.language = language + self.manufacturer = manufacturer + self.nickname = nickname + self.deviceid = deviceid + + def __str__(self): + return '"%s" %s "%s" "%s" "%s"' % (self.uri, self.language, + self.manufacturer, self.nickname, + self.deviceid) + + +def parse(ppd_file, filename): + """Parses ppd_file and returns an array with the PPDs it found. + + One ppd_file might result in more than one PPD. The rules are: return an + PPD for each "1284DeviceID" entry, and one for each "Product" line, if it + creates an unique (Manufacturer, Product) DeviceID. + """ + logging.debug('Parsing %s.' % filename) + language_re = re.search('\*LanguageVersion:\s*(.+)', ppd_file) + manufacturer_re = re.search('\*Manufacturer:\s*"(.+)"', ppd_file) + nickname_re = re.search('\*NickName:\s*"(.+)"', ppd_file) + deviceids = re.findall('\*1284DeviceID:\s*"(.+)"', ppd_file) + + try: + language = LANGUAGES[str.strip(language_re.group(1)).lower()] + manufacturer = str.strip(manufacturer_re.group(1)) + nickname = str.strip(nickname_re.group(1)) + logging.debug('Language: "%s", Manufacturer: "%s", Nickname: "%s".' % + (language, manufacturer, nickname)) + ppds = [] + models = [] + line = 0 + if deviceids: + for deviceid in deviceids: + logging.debug('1284DeviceID: "%s".' % deviceid) + uri = "%d/%s" % (line, filename) + ppds += [PPD(uri, language, manufacturer, nickname, deviceid.strip())] + models += re.findall(".*(?:MODEL|MDL):(.*?);.*", deviceid, re.I) + line += 1 + + for product in re.findall('\*Product:\s*"\((.+)\)"', ppd_file): + product = str.strip(product) + + # Don't add a new entry if there's already one for the same product model + if product in models: + logging.debug('Ignoring already found *Product: "%s".' % + product) + continue + + logging.debug('Product: "%s"' % product) + deviceid = "MFG:%s;MDL:%s;" % (manufacturer, product) + uri = "%d/%s" % (line, filename) + ppds += [PPD(uri, language, manufacturer, nickname, deviceid)] + line += 1 + + return ppds + except: + raise Exception, ("Error parsing PPD file '%s'" % filename) --- hplip-3.10.9.orig/debian/local/pyppd/pyppd/archiver.py +++ hplip-3.10.9/debian/local/pyppd/pyppd/archiver.py @@ -0,0 +1,108 @@ +import base64 +import sys +import os +import fnmatch +import cPickle +import gzip +import logging +from random import randint +import compressor +import ppd + +def archive(ppds_directory): + """Returns a string with the decompressor, its dependencies and the archive. + + It reads the template at pyppd/pyppd-ppdfile.in, inserts the dependencies + and the archive encoded in base64, and returns as a string. + + """ + logging.info('Compressing folder "%s".' % ppds_directory) + ppds_compressed = compress(ppds_directory) + if not ppds_compressed: + return None + + ppds_compressed_b64 = base64.b64encode(ppds_compressed) + + logging.info('Populating template.') + template = read_file_in_syspath("pyppd/pyppd-ppdfile.in") + compressor_py = read_file_in_syspath("pyppd/compressor.py") + + template = template.replace("@compressor@", compressor_py) + template = template.replace("@ppds_compressed_b64@", ppds_compressed_b64) + + return template + +def compress(directory): + """Compresses and indexes *.ppd and *.ppd.gz in directory returning a string. + + The directory is walked recursively, concatenating all ppds found in a string. + For each, it tests if its filename ends in *.gz. If so, opens with gzip. If + not, opens directly. Then, it parses and saves its name, description (in the + format CUPS needs (which can be more than one)) and it's position in the ppds + string (start position and length) into a dictionary, used as an index. + Then, it compresses the string, adds into the dictionary as key ARCHIVE and + returns a compressed pickle dump of it. + + """ + ppds = "" + ppds_index = {} + abs_directory = os.path.abspath(directory) + + for ppd_path in find_files(directory, ("*.ppd", "*.ppd.gz")): + # Remove 'directory/' from the filename + ppd_filename = ppd_path[len(abs_directory)+1:] + + if ppd_path.lower().endswith(".gz"): + ppd_file = gzip.open(ppd_path).read() + # We don't want the .gz extension in our filename + ppd_filename = ppd_filename[:-3] + else: + ppd_file = open(ppd_path).read() + + start = len(ppds) + length = len(ppd_file) + logging.debug('Found %s (%d bytes).' % (ppd_path, length)) + + ppd_parsed = ppd.parse(ppd_file, ppd_filename) + ppd_descriptions = map(str, ppd_parsed) + ppds_index[ppd_parsed[0].uri] = (start, length, ppd_descriptions) + logging.debug('Adding %d entry(ies): %s.' % (len(ppd_descriptions), map(str, ppd_parsed))) + ppds += ppd_file + + if not ppds: + logging.error('No PPDs found in folder "%s".' % directory) + return None + + logging.info('Compressing archive.') + ppds_index['ARCHIVE'] = compressor.compress(ppds) + logging.info('Generating and compressing pickle dump.') + ppds_pickle = compressor.compress(cPickle.dumps(ppds_index)) + + + return ppds_pickle + + +def read_file_in_syspath(filename): + """Reads the file in filename in each sys.path. + + If we couldn't find, throws the last IOError caught. + + """ + last_exception = None + for path in sys.path: + try: + return open(path + "/" + filename).read() + except IOError as ex: + last_exception = ex + continue + raise last_exception + +def find_files(directory, patterns): + """Yields each file that matches any of patterns in directory.""" + logging.debug('Searching for "%s" files in folder "%s".' % + (", ".join(patterns), directory)) + abs_directory = os.path.abspath(directory) + for root, dirnames, filenames in os.walk(abs_directory): + for pattern in patterns: + for filename in fnmatch.filter(filenames, pattern): + yield os.path.join(root, filename) --- hplip-3.10.9.orig/debian/local/pyppd/bin/pyppd +++ hplip-3.10.9/debian/local/pyppd/bin/pyppd @@ -0,0 +1,9 @@ +#!/usr/bin/env python + +from pyppd import runner +try: + runner.run() +except (IOError, KeyboardInterrupt): + # We don't want neither IOError nor KeyboardInterrupt throwing a traceback + # into stdout. + pass