rpms/gtk2/F-8 printer-hostname.patch, NONE, 1.1 gtk2.spec, 1.277, 1.278

Marek Kašík (mkasik) fedora-extras-commits at redhat.com
Fri May 23 12:50:39 UTC 2008


Author: mkasik

Update of /cvs/pkgs/rpms/gtk2/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1196

Modified Files:
	gtk2.spec 
Added Files:
	printer-hostname.patch 
Log Message:
* Fri May 23 2008 - Marek Kasik <mkasik at redhat.com> - 2.12.8-4
- Correction of hostname of printer which is the print job sent to.
- Resolves: #248245


printer-hostname.patch:

--- NEW FILE printer-hostname.patch ---
--- modules/printbackends/cups/gtkprintbackendcups.c	2008-05-22 14:35:56.000000000 +0200
+++ modules/printbackends/cups/gtkprintbackendcups.c	2008-05-22 14:42:23.000000000 +0200
@@ -423,7 +423,7 @@ gtk_print_backend_cups_print_stream (Gtk
                                   GTK_CUPS_POST,
                                   IPP_PRINT_JOB,
 				  data_io,
-				  NULL,
+				  cups_printer->hostname,
 				  cups_printer->device_uri);
 
   gtk_cups_request_ipp_add_string (request, IPP_TAG_OPERATION, 


Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/F-8/gtk2.spec,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -r1.277 -r1.278
--- gtk2.spec	22 May 2008 10:46:38 -0000	1.277
+++ gtk2.spec	23 May 2008 12:49:58 -0000	1.278
@@ -16,7 +16,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.12/gtk+-%{version}.tar.bz2
@@ -46,6 +46,9 @@
 # Backported patch from recent upstream
 Patch5: printer-state.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=248245
+Patch6: printer-hostname.patch
+
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
 BuildRequires: glib2-devel >= %{glib2_version}
@@ -126,6 +129,7 @@
 %patch3 -p1 -b .system-log-crash
 %patch4 -p1 -b .foreign-cmap
 %patch5 -p0 -b .printer-state
+%patch6 -p0 -b .printer-hostname
 
 for i in config.guess config.sub ; do
   test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
@@ -319,6 +323,10 @@
 %{_datadir}/gtk-2.0
 
 %changelog
+* Fri May 23 2008 - Marek Kasik <mkasik at redhat.com> - 2.12.8-4
+- Correction of hostname of printer which is the print job sent to.
+- Resolves: #248245
+
 * Thu May 22 2008 - Marek Kasik <mkasik at redhat.com> - 2.12.8-3
 - Add patch to display more printer status information in the
   print dialog (backported from upstream 2.13.1).




More information about the scm-commits mailing list