Package: splix Version: 2.0.0+svn293-1 Severity: normal Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Chris, as you might have noticed, the Debian Printing Team has been working towards a unification of the printer driver packages naming [0]. So far, all drivers under the team's umbrella have been renamed to printer-driver-*. [0] http://wiki.debian.org/Teams/Printing/RethinkingTheStack In order to have a consistent naming across printer driver packages, please rename splix to printer-driver-splix. A debdiff of the proposed renaming is attached. By the way, I would like to kindly propose you to put splix under the Debian Printing Team umbrella, to help with eventual future discussions and sharing the maintainance load. Cheers, OdyX - -- System Information: Debian Release: wheezy/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages splix depends on: ii printer-driver-splix 2.0.0+svn293-1.1 splix recommends no packages. splix suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQGcBAEBCAAGBQJOssWZAAoJEIvPpx7KFjRVCZIL+wfz1MI0WdF2pOW+GclkyJ43 VV4AEXt41uKP04rz3tBjCGLu6MH6gvFxCnM1fqyV+SsW5sWL2TZpTdZOYp7pepU2 jI/lBQorE26C57srQVdJhG8ORrZ3fjR9BdXNUxl2XNw7xHClXwdg0ttzJpZYrAIZ eKFK+cqldp91qE3PqMmch17deLmvg3PV58Ga7xG97OU4n6DHPluUJDBWxyn2l1x9 xIZGqm3zCSB+QDwiUSjncn4IurfSgO4/OoN0JelIGoDcvAOGSf3X9d0aSNFf0t4I PQCik2pq3vz8Vl5Nox+FG7YJETmGoZ8y2dHWHK7DiU72X30FZhxfU01bjhKda4fg ZNDexkJufmlYiViFOBHcZht0KlMm2ePzTkwDvT2m6N595tAe/WqneGaGTq7Q4Bu0 dGWekGJaF6H+K+onN07NQB9MHryDK3FAw7d13M9ZgCCVlwXOdgdJzc1lyv/A+C1P VZPOOAhLteDYMx/GiOYsWVDt111/ByYqjFHqjns+qA== =fkvr -----END PGP SIGNATURE-----
diff -Nru splix-2.0.0+svn293/debian/changelog splix-2.0.0+svn293/debian/changelog --- splix-2.0.0+svn293/debian/changelog 2011-06-19 17:46:59.000000000 +0200 +++ splix-2.0.0+svn293/debian/changelog 2011-11-03 17:41:14.000000000 +0100 @@ -1,3 +1,11 @@ +splix (2.0.0+svn293-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Rename splix to printer-driver-splix, add transitional package. + - Slightly rewrite short description. + + -- Didier Raboud <o...@debian.org> Thu, 03 Nov 2011 17:40:49 +0100 + splix (2.0.0+svn293-1) unstable; urgency=low * Start tracking SVN trunk. (Closes: #594466) diff -Nru splix-2.0.0+svn293/debian/control splix-2.0.0+svn293/debian/control --- splix-2.0.0+svn293/debian/control 2011-06-19 17:46:59.000000000 +0200 +++ splix-2.0.0+svn293/debian/control 2011-11-03 17:41:37.000000000 +0100 @@ -6,10 +6,12 @@ Standards-Version: 3.9.2 Homepage: http://splix.ap2c.org/ -Package: splix +Package: printer-driver-splix Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, cups, cups-client, ghostscript-cups -Description: Driver for Samsung's SPL2 (bw) and SPLc (color) laser printers +Replaces: splix (<< 2.0.0+svn293-1.1~) +Breaks: splix (<< 2.0.0+svn293-1.1~) +Description: printer driver for Samsung's SPL laser printers Support for printing to SPL2- and SPLc-based printers. These are most of the cheaper Samsung laser printers which do not understand standard languages like PostScript or PCL. Both monochrome (ML-15xx, ML-16xx, @@ -20,3 +22,12 @@ Note that older SPL1-based models (ML-12xx, ML-14xx) do not work. Use these printers with the older "gdi" driver which is built into GhostScript. + +Package: splix +Depends: printer-driver-splix, ${misc:Depends} +Architecture: all +Section: oldlibs +Priority: extra +Description: transitional dummy package for splix printer driver + This is a transitional dummy package to transition to uniformly named + printer-driver-splix. diff -Nru splix-2.0.0+svn293/debian/printer-driver-splix.postinst splix-2.0.0+svn293/debian/printer-driver-splix.postinst --- splix-2.0.0+svn293/debian/printer-driver-splix.postinst 1970-01-01 01:00:00.000000000 +0100 +++ splix-2.0.0+svn293/debian/printer-driver-splix.postinst 2011-06-19 17:46:59.000000000 +0200 @@ -0,0 +1,78 @@ +#!/bin/bash +# postinst script for splix +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <postinst> `abort-remove' +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# 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 && \ + lpstat -r > /dev/null 2>&1; then + # Update the PPD files of all already installed print queues + driverregexp='lsb/usr/splix/' + gennicknameregexp='s/,(\s*SpliX|)(\s*V\.?|)\s*[\d\.]*$//i' + [ ! -z "$gennicknameregexp" ] && \ + gennicknameregexp="; $gennicknameregexp" + gennicknameregexp='s/\s*\(recommended\)//'"$gennicknameregexp" + tempfiles= + trap 'rm -f $tempfiles; exit 0' 0 1 2 13 15 + tmpfile1=`mktemp -t updateppds.XXXXXX` + tempfiles="$tempfiles $tmpfile1" + lpinfo -m | grep -E $driverregexp > $tmpfile1 + cd /etc/cups/ppd + for ppd in *.ppd; do + [ -r "$ppd" ] || continue + queue=${ppd%.ppd} + lpstat -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" | grep -E '^\S+\s+.*'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2 + while read newppduri; do + [ "$ppdfound" = "0" ] && lpadmin -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 -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 diff -Nru splix-2.0.0+svn293/debian/rules splix-2.0.0+svn293/debian/rules --- splix-2.0.0+svn293/debian/rules 2011-06-19 17:46:59.000000000 +0200 +++ splix-2.0.0+svn293/debian/rules 2011-11-03 17:40:45.000000000 +0100 @@ -28,7 +28,7 @@ dh_testroot dh_prep dh_installdirs - $(MAKE) DESTDIR=$(CURDIR)/debian/splix CUPSPPD=/usr/share/ppd/splix DISABLE_JBIG=1 install + $(MAKE) DESTDIR=$(CURDIR)/debian/printer-driver-splix CUPSPPD=/usr/share/ppd/splix DISABLE_JBIG=1 install # Build architecture-dependent files here. binary-arch: install diff -Nru splix-2.0.0+svn293/debian/splix.postinst splix-2.0.0+svn293/debian/splix.postinst --- splix-2.0.0+svn293/debian/splix.postinst 2011-06-19 17:46:59.000000000 +0200 +++ splix-2.0.0+svn293/debian/splix.postinst 1970-01-01 01:00:00.000000000 +0100 @@ -1,78 +0,0 @@ -#!/bin/bash -# postinst script for splix -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <postinst> `abort-remove' -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# 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 && \ - lpstat -r > /dev/null 2>&1; then - # Update the PPD files of all already installed print queues - driverregexp='lsb/usr/splix/' - gennicknameregexp='s/,(\s*SpliX|)(\s*V\.?|)\s*[\d\.]*$//i' - [ ! -z "$gennicknameregexp" ] && \ - gennicknameregexp="; $gennicknameregexp" - gennicknameregexp='s/\s*\(recommended\)//'"$gennicknameregexp" - tempfiles= - trap 'rm -f $tempfiles; exit 0' 0 1 2 13 15 - tmpfile1=`mktemp -t updateppds.XXXXXX` - tempfiles="$tempfiles $tmpfile1" - lpinfo -m | grep -E $driverregexp > $tmpfile1 - cd /etc/cups/ppd - for ppd in *.ppd; do - [ -r "$ppd" ] || continue - queue=${ppd%.ppd} - lpstat -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" | grep -E '^\S+\s+.*'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2 - while read newppduri; do - [ "$ppdfound" = "0" ] && lpadmin -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 -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