Bug#374620: libgnomecupsui1.0-1c2a: Fix for the problem

Christian Holm Christensen cholm at nbi.dk
Sun Jul 23 16:53:47 UTC 2006


Followup-For: Bug #374620
Package: libgnomecupsui1.0-1c2a
Version: 0.31-1.2

*** Please type your report below this line ***

The fix to the problem - which I also see - is to correct
gnome-cups-ui-driver.c in the function ppd_request.  The
request shouldn't contain the additional attributes.
The default for CUPS is to report all properties anyway [1]

<patch>
*** gnome-cups-ui-driver.c.old	Thu Feb  3 21:10:04 2005
--- gnome-cups-ui-driver.c	Sun Jul 23 18:28:28 2006
***************
*** 151,158 ****
  		"ppd-make-and-model",
  	};
  	ipp_t *request = gnome_cups_request_new (CUPS_GET_PPDS);
  	gnome_cups_request_add_requested_attributes (request, IPP_TAG_PRINTER,
! 		G_N_ELEMENTS (attrs), (char **)attrs);
  	return gnome_cups_request_execute (request, NULL, "/", NULL);
  }
  
--- 151,160 ----
  		"ppd-make-and-model",
  	};
  	ipp_t *request = gnome_cups_request_new (CUPS_GET_PPDS);
+ 	/* 
  	gnome_cups_request_add_requested_attributes (request, IPP_TAG_PRINTER,
! 		G_N_ELEMENTS (attrs), (char **)attrs); 
! 	*/
  	return gnome_cups_request_execute (request, NULL, "/", NULL);
  }
</patch>

NB.: The package has a different version number than the one in the
unstable repository - since I did a NMU install on my local machine.

[1] http://cups.org/documentation.php/spec-ipp.html#CUPS_GET_PPDS

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

Versions of packages libgnomecupsui1.0-1c2a depends on:
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.12.1-1      The ATK accessibility toolkit
ii  libbonobo2-0               2.14.0-1      Bonobo CORBA interfaces library
ii  libbonoboui2-0             2.14.0-3      The Bonobo UI library
ii  libc6                      2.3.6-15      GNU C Library: Shared libraries
ii  libcairo2                  1.2.0-3       The Cairo 2D vector graphics libra
ii  libcupsys2                 1.2.1-4       Common UNIX Printing System(tm) -
ii  libfontconfig1             2.3.2-7       generic font configuration library
ii  libgcc1                    1:4.1.1-9     GCC support library
ii  libgconf2-4                2.14.0-1      GNOME configuration database syste
ii  libglade2-0                1:2.5.1-2     library to load .glade files at ru
ii  libglib2.0-0               2.10.3-3      The GLib library of C routines
ii  libgnome-keyring0          0.4.9-1       GNOME keyring services library
ii  libgnome2-0                2.14.1-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgnomecups1.0-1          0.2.2-5       GNOME library for CUPS interaction
ii  libgnomeui-0               2.14.1-2      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             2.14.2-1      GNOME virtual file-system (runtime
ii  libgnutls13                1.4.1-1       the GNU TLS library - runtime libr
ii  libgtk2.0-0                2.8.18-1      The GTK+ graphical user interface
ii  libice6                    1:1.0.0-3     X11 Inter-Client Exchange library
ii  liborbit2                  1:2.14.0-2    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0              1.12.3-1+b1   Layout and rendering of internatio
ii  libpopt0                   1.10-2        lib for parsing cmdline parameters
ii  libsm6                     1:1.0.0-4     X11 Session Management library
ii  libsmbclient               3.0.22-1      shared library that allows applica
ii  libstdc++6                 4.1.1-9       The GNU Standard C++ Library v3
ii  libx11-6                   2:1.0.0-7     X11 client-side library
ii  libxcursor1                1.1.5.2-5     X cursor management library
ii  libxext6                   1:1.0.0-4     X11 miscellaneous extension librar
ii  libxfixes3                 1:3.0.1.2-4   X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.0-5     X11 Input extension library
ii  libxinerama1               1:1.0.1-4     X11 Xinerama extension library
ii  libxml2                    2.6.26.dfsg-2 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-4   X11 RandR extension library
ii  libxrender1                1:0.9.0.2-4   X Rendering Extension client libra

libgnomecupsui1.0-1c2a recommends no packages.

-- no debconf information

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm at nbi.dk               Web:    www.nbi.dk/~cholm
 | |






More information about the Pkg-gnome-maintainers mailing list