diff -Nru cups-1.5.0/debian/changelog cups-1.5.0/debian/changelog --- cups-1.5.0/debian/changelog 2011-11-11 16:02:00.000000000 +0100 +++ cups-1.5.0/debian/changelog 2011-12-02 10:47:43.000000000 +0100 @@ -1,3 +1,24 @@ +cups (1.5.0-8ubuntu6) oneiric-proposed; urgency=low + + * debian/patches/ipp-patch-r8950+.patch: Revert the IPP backend to the state + of CUPS 1.4.x, as the 1.5.x versiuon has major regressions (LP: #877958, + LP: #879625, LP: #881843, LP: #883585, Closes: #638521, CUPS STR #3966, + CUPS STR #3967). This patch will get removed as soon as upstream has fixed + all these regressions. As upstream did not announce any new features for + the IPP backend in the release notes for 1.5.x, we assume that with this + step no features will get lost. + * debian/patches/dont-send-malformed-dbus-messages.patch: Do not send D-Bus + notifications with too few parameters when there are parameters which + cannot be added to the D-Bus request, especially invalid UTF-8 strings. + This made gnome-session-daemon crash (LP: #893676, CUPS STR #3984). + * debian/local/filters/cpdftocps: The cpdftocps filter (used for PostScript + printers and for drivers with PPDs which are not PDF-aware) did not + recognize the duplex setting correctly, making duplex not working on + many common printers (LP: #897723). + * debian/local/filters/cpdftocps: Cleaned up the header comments. + + -- Till Kamppeter Tue, 29 Nov 2011 21:49:41 +0100 + cups (1.5.0-8ubuntu5) oneiric-proposed; urgency=low * debian/patches/usb-backend-gracefully-fail-on-more-cases-of-bad-device-id.patch: diff -Nru cups-1.5.0/debian/local/filters/cpdftocps cups-1.5.0/debian/local/filters/cpdftocps --- cups-1.5.0/debian/local/filters/cpdftocps 2011-10-07 17:56:48.000000000 +0200 +++ cups-1.5.0/debian/local/filters/cpdftocps 2011-11-29 22:02:35.000000000 +0100 @@ -1,21 +1,19 @@ #!/bin/sh -#!/bin/sh - # application/vnd.cups-pdf -> application/vnd.cups-postscript filter # Contributed by Johan Kiviniemi, Robert Sander , # and Till Kamppeter. Licensed under the terms of the CUPS Debian # packaging. # The typical filter chain using this filter: -# (something that outputs pdf) +# (something that outputs PDF) # -> pdftopdf # -> cpdftocps (runs Poppler's pdftops and then CUPS' pstops) -# -> (postscript printer) +# -> (PostScript printer) # The emit-jcl option can be safely passed through to pstops, since pdftops # strips any JCL output by pdftopdf before processing the PDF. pstops then -# simply does the right thing regarding JCL for pdftops’ output. +# simply does the right thing regarding JCL for pdftops' output. # $Id: $ # @@ -45,7 +43,6 @@ fi # Apply PPD settings. - pslevel=2 if test -e "$PPD"; then # Read LanguageLevel from PPD file @@ -61,7 +58,7 @@ if test -e "$PPD"; then eval "$(sed -nre 's/^\*Default(sides|Duplex|EFDuplex|EFDuplexing|KD03Duplex|JCLDuplex):\s*(two-sided|Duplex|On|True|Yes|1)\b.*/duplex="yes"/pi' "$PPD")" fi -eval "$(printf "%s" "$5" | sed -nre 's/.*(^|\s)(sides|Duplex|EFDuplex|EFDuplexing|KD03Duplex|JCLDuplex)=(two-sided|Duplex|On|True|Yes|1)\b.*/duplex="yes"/pi')" +eval "$(printf "%s" "$5" | sed -nre 's/.*(^|\s)(sides|Duplex|EFDuplex|EFDuplexing|KD03Duplex|JCLDuplex)=(two-sided|Duplex(|(|No)Tumble)|On|True|Yes|1)\b.*/duplex="yes"/pi')" echo "DEBUG: Duplex: $duplex" >&2 resolution= @@ -277,7 +274,7 @@ # - no