rpms/gtkhtml3/devel gtkhtml-3.15.90-print-regression.patch, NONE, 1.1 gtkhtml3.spec, 1.97, 1.98

Matthew Barnes (mbarnes) fedora-extras-commits at redhat.com
Tue Aug 21 22:25:28 UTC 2007


Author: mbarnes

Update of /cvs/pkgs/rpms/gtkhtml3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7329

Modified Files:
	gtkhtml3.spec 
Added Files:
	gtkhtml-3.15.90-print-regression.patch 
Log Message:

* Tue Aug 21 2007 Matthew Barnes <mbarnes at redhat.com> - 3.15.90-2.fc8
- Add patch for GNOME bug #446894 (regression in old printing API).


gtkhtml-3.15.90-print-regression.patch:

--- NEW FILE gtkhtml-3.15.90-print-regression.patch ---
--- gtkhtml-3.15.90/src/htmlengine-print.c.print-regression	2007-08-09 04:32:48.000000000 -0400
+++ gtkhtml-3.15.90/src/htmlengine-print.c	2007-08-21 18:10:35.000000000 -0400
@@ -84,6 +84,11 @@ print_page (HTMLPainter *painter,
 
 	cr = gtk_print_context_get_cairo_context (context);
 
+	/* Show the previous page before we start drawing a new one.
+	 * GtkPrint will show the last page automatically for us. */
+	if (start_y > 0)
+		cairo_show_page (cr);
+
 	html_painter_begin (painter, 0, 0, page_width, page_height);
 
 	if (header_print != NULL)


Index: gtkhtml3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtkhtml3/devel/gtkhtml3.spec,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- gtkhtml3.spec	13 Aug 2007 18:11:08 -0000	1.97
+++ gtkhtml3.spec	21 Aug 2007 22:24:56 -0000	1.98
@@ -9,7 +9,7 @@
 
 Name: gtkhtml3
 Version: 3.15.90
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPL/GPL
 Group: System Environment/Libraries
 Summary: gtkhtml library
@@ -30,6 +30,9 @@
 # We do not ship gnome-common (or at least we're not supposed to).
 Patch5: gtkhtml-3.13.1-no-gnome-common.patch
 
+# GNOME bug #446894
+Patch6: gtkhtml-3.15.90-print-regression.patch
+
 ### Dependencies ###
 
 Requires: gnome-icon-theme >= %{gnome_icon_theme_version}
@@ -65,6 +68,7 @@
 %patch3 -p1 -b .fix-129212
 %patch4 -p1 -b .im-too-late
 %patch5 -p1 -b .no-gnome-common
+%patch6 -p1 -b .print-regression
 
 %build
 
@@ -132,6 +136,9 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Tue Aug 21 2007 Matthew Barnes <mbarnes at redhat.com> - 3.15.90-2.fc8
+- Add patch for GNOME bug #446894 (regression in old printing API).
+
 * Mon Aug 13 2007 Matthew Barnes <mbarnes at redhat.com> - 3.15.90-1.fc8
 - Update to 3.15.90
 




More information about the scm-commits mailing list