rpms/gtkhtml3/devel gtkhtml-3.23.3-large-mail-flicker.patch, NONE, 1.1 gtkhtml3.spec, 1.121, 1.122

Matthew Barnes (mbarnes) fedora-extras-commits at redhat.com
Wed May 14 01:12:42 UTC 2008


Author: mbarnes

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

Modified Files:
	gtkhtml3.spec 
Added Files:
	gtkhtml-3.23.3-large-mail-flicker.patch 
Log Message:

* Tue May 13 2008 Matthew Barnes <mbarnes at redhat.com> - 3.23.2-4.fc10
- Add patch for GNOME bug #524338 (mail flickers when rendering).


gtkhtml-3.23.3-large-mail-flicker.patch:

--- NEW FILE gtkhtml-3.23.3-large-mail-flicker.patch ---
diff -up gtkhtml-3.23.2/gtkhtml/htmltext.c.large-mail-flicker gtkhtml-3.23.2/gtkhtml/htmltext.c
--- gtkhtml-3.23.2/gtkhtml/htmltext.c.large-mail-flicker	2008-04-11 07:14:42.000000000 -0400
+++ gtkhtml-3.23.2/gtkhtml/htmltext.c	2008-05-13 20:50:29.000000000 -0400
@@ -1196,13 +1196,8 @@ html_text_prepare_attrs (HTMLText *text,
 	HTMLClueFlow *flow = NULL;
 	HTMLEngine *e = NULL;
 	PangoAttribute *attr;
-	PangoDirection dir,org_dir;
 
 	attrs = pango_attr_list_new ();
-	org_dir = pango_context_get_base_dir (painter->pango_context);
-	dir = html_text_get_pango_direction (text);
-	if (org_dir != dir)
-		pango_context_set_base_dir (painter->pango_context, dir);
 
 
 	if (HTML_OBJECT (text)->parent && HTML_IS_CLUEFLOW (HTML_OBJECT (text)->parent))
@@ -1213,11 +1208,6 @@ html_text_prepare_attrs (HTMLText *text,
 
 	if (flow && e) {
 		html_text_add_cite_color (attrs, text, flow, e);
-		if (org_dir != dir) {
-			html_engine_freeze (e);
-                	flow->dir = html_text_direction_pango_to_html (dir);
-                	html_engine_thaw(e);
-		}
         }
 
 


Index: gtkhtml3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtkhtml3/devel/gtkhtml3.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- gtkhtml3.spec	13 May 2008 01:30:07 -0000	1.121
+++ gtkhtml3.spec	14 May 2008 01:11:46 -0000	1.122
@@ -10,7 +10,7 @@
 
 Name: gtkhtml3
 Version: 3.23.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPL/GPL
 Group: System Environment/Libraries
 Summary: gtkhtml library
@@ -22,6 +22,9 @@
 # Remove gnome-common macros from configure.in.
 Patch1: gtkhtml-3.13.1-no-gnome-common.patch
 
+# GNOME bug #524338 (causes a minor i18n regression)
+Patch2: gtkhtml-3.23.3-large-mail-flicker.patch
+
 ### Dependencies ###
 
 Requires: gnome-icon-theme >= %{gnome_icon_theme_version}
@@ -59,6 +62,7 @@
 %prep
 %setup -q -n gtkhtml-%{version}
 %patch1 -p1 -b .no-gnome-common
+%patch2 -p1 -b .large-mail-flicker
 
 %build
 
@@ -122,6 +126,9 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Tue May 13 2008 Matthew Barnes <mbarnes at redhat.com> - 3.23.2-4.fc10
+- Add patch for GNOME bug #524338 (mail flickers when rendering).
+
 * Mon May 12 2008 Matthew Barnes <mbarnes at redhat.com> - 3.23.2-3.fc10
 - Add iso-codes-devel requirement to devel subpackage.
 




More information about the fedora-extras-commits mailing list