rpms/gtk2/devel gtk+-2.10.4-printernames.patch, NONE, 1.1 gtk2.spec, 1.197, 1.198

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Nov 25 05:21:53 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/gtk2/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv19667

Modified Files:
	gtk2.spec 
Added Files:
	gtk+-2.10.4-printernames.patch 
Log Message:
fix handling of printernames


gtk+-2.10.4-printernames.patch:
 gtkprintbackendcups.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE gtk+-2.10.4-printernames.patch ---
--- gtk+-2.10.4/modules/printbackends/cups/gtkprintbackendcups.c.cupslongnames	2006-11-24 14:15:28.000000000 +0000
+++ gtk+-2.10.4/modules/printbackends/cups/gtkprintbackendcups.c	2006-11-24 14:15:39.000000000 +0000
@@ -1076,11 +1076,11 @@
 			resource);
 #endif
 
-          if (member_uris && !strncmp (resource, "/printers/", 10))
+          if (!strncmp (resource, "/printers/", 10))
 	    {
 	      cups_printer->ppd_name = g_strdup (resource + 10);
               GTK_NOTE (PRINTING,
-                        g_print ("CUPS Backend: Setting ppd name '%s' for printer class '%s'\n", cups_printer->ppd_name, printer_name));
+                        g_print ("CUPS Backend: Setting ppd name '%s' for printer/class '%s'\n", cups_printer->ppd_name, printer_name));
             }
 
 	  gethostname (uri, sizeof(uri));


Index: gtk2.spec
===================================================================
RCS file: /cvs/dist/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -r1.197 -r1.198
--- gtk2.spec	25 Nov 2006 05:19:34 -0000	1.197
+++ gtk2.spec	25 Nov 2006 05:21:50 -0000	1.198
@@ -37,6 +37,7 @@
 Patch10: gtk+-2.10.4-im-reset.patch
 Patch11: gtk+-2.10.4-strncpy.patch
 Patch12: gtk+-2.10.4-panel-crash.patch
+Patch13: gtk+-2.10.4-printernames.patch
 
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
@@ -127,6 +128,7 @@
 %patch10 -p1 -b .im-reset
 %patch11 -p1 -b .strncpy
 %patch12 -p1 -b .panel-crash
+%patch13 -p1 -b .printernames
 
 for i in config.guess config.sub ; do
   test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .




More information about the fedora-cvs-commits mailing list