[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385605: marked as done (cupsys: All options ignored when printing from Windows)



Your message dated Fri, 15 Sep 2006 09:17:17 -0700
with message-id <E1GOGNR-0004I3-J9@spohr.debian.org>
and subject line Bug#385605: fixed in cupsys 1.2.3-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cupsys
Version: 1.2.2-2
Severity: normal
Tags: patch

After upgrading from stable, we found that cups stopped doing anything 
with print options from Windows machines.  It turns out this is a known 
bug:

http://www.cups.org/str.php?L1839

I tested the patch supplied with that bug report, and indeed it fixed 
the problem.  I'm attaching that patch here.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.27
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cupsys depends on:
ii  adduser                  3.97            Add and remove users and groups
ii  cupsys-common            1.2.2-2         Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]    1.5.3           Debian configuration management sy
ii  gs-esp                   8.15.2.dfsg.1-2 The Ghostscript PostScript interpr
ii  libc6                    2.3.6.ds1-4     GNU C Library: Shared libraries
ii  libcupsimage2            1.2.2-2         Common UNIX Printing System(tm) - 
ii  libcupsys2               1.2.2-2         Common UNIX Printing System(tm) - 
ii  libdbus-1-2              0.62-4          simple interprocess messaging syst
ii  libgnutls13              1.4.2-1         the GNU TLS library - runtime libr
ii  libldap2                 2.1.30-13+b1    OpenLDAP libraries
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpaper1                1.1.19          Library for handling paper charact
ii  libslp1                  1.2.1-5         OpenSLP libraries
ii  lsb-base                 3.1-14          Linux Standard Base 3.1 init scrip
ii  patch                    2.5.9-4         Apply a diff file to an original
ii  perl-modules             5.8.8-6.1       Core Perl modules
ii  poppler-utils [xpdf-util 0.4.5-4.1       PDF utilitites (based on libpopple
ii  procps                   1:3.2.7-2       /proc file system utilities
ii  zlib1g                   1:1.2.3-13      compression library - runtime

Versions of packages cupsys recommends:
ii  cupsys-client           1.2.2-2          Common UNIX Printing System(tm) - 
ii  foomatic-filters        3.0.2-20060712-1 linuxprinting.org printer support 
ii  smbclient               3.0.22-1         a LanManager-like simple client fo

-- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, socket
Index: pstops.c
===================================================================
--- pstops.c	(revision 5871)
+++ pstops.c	(working copy)
@@ -1587,6 +1587,10 @@
       break;
   }
 
+  puts("%%BeginSetup");
+  
+  do_setup(doc, ppd);
+
   if (!strncmp(line, "%%BeginSetup", 12))
   {
     while (strncmp(line, "%%EndSetup", 10))
@@ -1603,7 +1607,7 @@
 	  doc->num_options = include_feature(ppd, line, doc->num_options,
                                              &(doc->options));
       }
-      else
+      else if (strncmp(line, "%%BeginSetup", 12))
         fwrite(line, 1, linelen, stdout);
 
       if ((linelen = cupsFileGetLine(fp, line, linesize)) == 0)
@@ -1615,11 +1619,7 @@
     else
       fputs("ERROR: Missing %%EndSetup!\n", stderr);
   }
-  else
-    puts("%%BeginSetup");
 
-  do_setup(doc, ppd);
-
   puts("%%EndSetup");
 
   return (linelen);

--- End Message ---
--- Begin Message ---
Source: cupsys
Source-Version: 1.2.3-1

We believe that the bug you reported is fixed in the latest version of
cupsys, which is due to be installed in the Debian FTP archive:

cupsys-bsd_1.2.3-1_i386.deb
  to pool/main/c/cupsys/cupsys-bsd_1.2.3-1_i386.deb
cupsys-client_1.2.3-1_i386.deb
  to pool/main/c/cupsys/cupsys-client_1.2.3-1_i386.deb
cupsys-common_1.2.3-1_all.deb
  to pool/main/c/cupsys/cupsys-common_1.2.3-1_all.deb
cupsys-dbg_1.2.3-1_i386.deb
  to pool/main/c/cupsys/cupsys-dbg_1.2.3-1_i386.deb
cupsys_1.2.3-1.diff.gz
  to pool/main/c/cupsys/cupsys_1.2.3-1.diff.gz
cupsys_1.2.3-1.dsc
  to pool/main/c/cupsys/cupsys_1.2.3-1.dsc
cupsys_1.2.3-1_i386.deb
  to pool/main/c/cupsys/cupsys_1.2.3-1_i386.deb
cupsys_1.2.3.orig.tar.gz
  to pool/main/c/cupsys/cupsys_1.2.3.orig.tar.gz
libcupsimage2-dev_1.2.3-1_i386.deb
  to pool/main/c/cupsys/libcupsimage2-dev_1.2.3-1_i386.deb
libcupsimage2_1.2.3-1_i386.deb
  to pool/main/c/cupsys/libcupsimage2_1.2.3-1_i386.deb
libcupsys2-dev_1.2.3-1_i386.deb
  to pool/main/c/cupsys/libcupsys2-dev_1.2.3-1_i386.deb
libcupsys2-gnutls10_1.2.3-1_all.deb
  to pool/main/c/cupsys/libcupsys2-gnutls10_1.2.3-1_all.deb
libcupsys2_1.2.3-1_i386.deb
  to pool/main/c/cupsys/libcupsys2_1.2.3-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 385605@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kenshi Muto <kmuto@debian.org> (supplier of updated cupsys package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  8 Sep 2006 11:28:12 +0200
Source: cupsys
Binary: libcupsys2-dev cupsys libcupsys2 libcupsimage2 cupsys-common cupsys-client cupsys-dbg cupsys-bsd libcupsys2-gnutls10 libcupsimage2-dev
Architecture: source i386 all
Version: 1.2.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
Changed-By: Kenshi Muto <kmuto@debian.org>
Description: 
 cupsys     - Common UNIX Printing System(tm) - server
 cupsys-bsd - Common UNIX Printing System(tm) - BSD commands
 cupsys-client - Common UNIX Printing System(tm) - client programs (SysV)
 cupsys-common - Common UNIX Printing System(tm) - common files
 cupsys-dbg - Common UNIX Printing System(tm) - debugging symbols
 libcupsimage2 - Common UNIX Printing System(tm) - image libs
 libcupsimage2-dev - Common UNIX Printing System(tm) - image development files
 libcupsys2 - Common UNIX Printing System(tm) - libs
 libcupsys2-dev - Common UNIX Printing System(tm) - development files
 libcupsys2-gnutls10 - Common UNIX Printing System(tm) - dummy libs for transition
Closes: 380663 383091 384654 385605 385724 386551 387176
Changes: 
 cupsys (1.2.3-1) unstable; urgency=medium
 .
   * New upstream release
     - The parallel and USB backends no longer wait for the
           printer to go on-line - this caused problems with
           certain printers that don't follow with the IEEE-1284
           standard (STR #1738, closes: #383091)
     - fixed Printer options were not always honored when printing
       from Windows clients (STR#1839, closes: #385605)
 .
   [ Martin Pitt ]
   * Add appropriate Replaces: to cupsys-common to unbreak upgrades.
   * debian/patches/44_fixconfdirperms.dpatch: Fix file mode specification:
     3755 -> 03755 (regression of svn commit 353).
 .
   [ Kenshi Muto ]
   * Apply upstream svn r5958.
   * check modprobe command and /proc/modules dir exist before running
     modprobe (closes: #387176).
   * 62_classes_crash: fix incorrect code. old code returned an error
     even if user use the correct class configuration. (closes: #380663, #384654)
   * bump up libcupsys2.shlibs version to 1.2.3. (closes: #385724)
   * Merge old separated style configuration to the single format
     only if user upgraded from an affected version. (closes: #386551)
   * Provide /usr/share/cups/drivers to contain Windows drivers.
   * 57_cupsaddsmb: original cupsaddsmb easily goes infinite and DoS-like
     loop. Debian cupsaddsmb ends soon when it catches an error.
Files: 
 75779cdda8583493a4b45f8305973a48 1082 net optional cupsys_1.2.3-1.dsc
 3959fc3bc009d8885a9ac73c80be4fcb 4086955 net optional cupsys_1.2.3.orig.tar.gz
 358f5a0ade342b6f0c98e10a4ea26c27 100993 net optional cupsys_1.2.3-1.diff.gz
 a0cb25a7c296be2ce14cd99640f145ea 42170 libs optional libcupsys2-gnutls10_1.2.3-1_all.deb
 7913461f2864e2c2a148b1e3bc967aad 856968 net optional cupsys-common_1.2.3-1_all.deb
 593b1b1c9bb0e6060be7f1ee0e08705c 155448 libs optional libcupsys2_1.2.3-1_i386.deb
 caa7d4a89fa9bb76cc1b0a4a3b76898b 82808 libs optional libcupsimage2_1.2.3-1_i386.deb
 e270d56175eb6ef7a7b087859e697173 1447032 net optional cupsys_1.2.3-1_i386.deb
 91d5c52fe0c902824ae2b1df8cae4baf 79834 net optional cupsys-client_1.2.3-1_i386.deb
 5d29d4e62be31f362f5e2ca44dd94bb6 26094 libdevel optional libcupsys2-dev_1.2.3-1_i386.deb
 6505d68db23e33cc1578bc055fbd0ec2 6084 libdevel optional libcupsimage2-dev_1.2.3-1_i386.deb
 2440a82f7a1add93d6702845f4630477 36266 net extra cupsys-bsd_1.2.3-1_i386.deb
 25f873558f4ab197331c8011daefed79 989762 libdevel extra cupsys-dbg_1.2.3-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iEYEARECAAYFAkUKzw8ACgkQQKW+7XLQPLHmagCfXz81e8pY5KynE9ZwC6r0GjI3
HJoAoJfpIyc2JysbtD09kpGBhqgKWV19
=mwXd
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: