[Pkg-cups-devel] Bug#403703: quick look

Alex Owen r.alex.owen at gmail.com
Thu Jan 18 10:24:59 CET 2007


I still have my test setup from December where I ran test.sh (BTS Dec 21).


in test.sh when I run $HOME/cups/cupsys-1.2.7/filter/pstops I am
running pstops from 1.2.7-1 patched ONLY with str2111.patch

I have upgraded my system so that 1.2.7-2 is now installed.
 rerunning the tests I should expect the output files
patch-reverse.ps   reverse.ps  to be the same (as the pstops from
1.2.7-2 which generates reverse.ps claims to have str2111.patch
 applied).

However the files are _different_
The new debian version seems to forget to emmit the prolog. See this diff.
diff -u patch-reverse.ps   reverse.ps
---8<---
--- patch-reverse.ps    2007-01-18 08:59:42.000000000 +0000
+++ reverse.ps  2007-01-18 08:59:42.000000000 +0000
@@ -1,55 +1,6 @@
 %!PS-Adobe-3.0
-%%HiResBoundingBox: 57.600000 771.600000 93.400000 783.000000
-%.....................................
-%%Creator: Alex Owen with emacs and ghostscript
-%%CreationDate: 2006/12/21
-%%DocumentData: Clean7Bit
-%%LanguageLevel: 2
 %%For: (dj)
 %%Title: ()
-%RBINumCopies: 1
-%%Pages: (atend)
-%%BoundingBox: (atend)
-%%EndComments
-%%BeginProlog
-%%EndProlog
-%%BeginSetup
-% Disable CTRL-D as an end-of-file marker...
-userdict dup(\004)cvn{}put (\004\004)cvn{}put
-[{
-%%BeginFeature: *PageSize Letter
-<</PageSize[612 792]/ImagingBBox null>>setpagedevice
-%%EndFeature
-} stopped cleartomark
-[{
-%%BeginFeature: *PreFilter No
-%% FoomaticRIPOptionSetting: PreFilter=No
-%%EndFeature
-} stopped cleartomark
-[{
-%%BeginFeature: *Resolution default
-%% FoomaticRIPOptionSetting: Resolution=default
-%%EndFeature
-} stopped cleartomark
-[{
-%%BeginFeature: *Duplex None
-%% FoomaticRIPOptionSetting: Duplex=None
-%%EndFeature
-} stopped cleartomark
-% x y w h ESPrc - Clip to a rectangle.
-userdict/ESPrc/rectclip where{pop/rectclip load}
-{{newpath 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto
-neg 0 rlineto closepath clip newpath}bind}ifelse put
-% x y w h ESPrf - Fill a rectangle.
-userdict/ESPrf/rectfill where{pop/rectfill load}
-{{gsave newpath 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto
-neg 0 rlineto closepath fill grestore}bind}ifelse put
-% x y w h ESPrs - Stroke a rectangle.
-userdict/ESPrs/rectstroke where{pop/rectstroke load}
-{{gsave newpath 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto
-neg 0 rlineto closepath stroke grestore}bind}ifelse put
-userdict/ESPwl{}bind put
-%%EndSetup
 %%Page: 3 1
 %%PageBoundingBox: 0 593 0 767
 %%BeginPageSetup
---8<---

Seems like there is bad interaction between the patches applied
between the 1.2.7-1 and 1.2.7-2 release...

Alex Owen




More information about the Pkg-cups-devel mailing list