rpms/compat-wxGTK/FC-4 compat-wxGTK-2.4.2-fixpango.patch, NONE, 1.1 compat-wxGTK.spec, 1.7, 1.8
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Mon Sep 11 22:09:08 UTC 2006
Author: spot
Update of /cvs/extras/rpms/compat-wxGTK/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22828/FC-4
Modified Files:
compat-wxGTK.spec
Added Files:
compat-wxGTK-2.4.2-fixpango.patch
Log Message:
Fix pango mess, rebuild for FC-6
compat-wxGTK-2.4.2-fixpango.patch:
--- NEW FILE compat-wxGTK-2.4.2-fixpango.patch ---
--- wxGTK-2.4.2/src/gtk/window.cpp.BAD 2006-09-11 16:28:42.000000000 -0500
+++ wxGTK-2.4.2/src/gtk/window.cpp 2006-09-11 16:29:18.000000000 -0500
@@ -4015,10 +4015,7 @@
PangoContext *wxWindowGTK::GtkGetPangoX11Context()
{
- if (!m_x11Context)
- m_x11Context = pango_x_get_context( gdk_display );
-
- return m_x11Context;
+ return gtk_widget_get_pango_context(m_widget);
}
#endif
--- wxGTK-2.4.2/src/gtk/dcclient.cpp.BAD 2006-09-11 16:29:29.000000000 -0500
+++ wxGTK-2.4.2/src/gtk/dcclient.cpp 2006-09-11 16:29:56.000000000 -0500
@@ -1774,9 +1774,9 @@
if (m_owner)
{
- if (m_font.GetNoAntiAliasing())
- m_context = m_owner->GtkGetPangoX11Context();
- else
+ //if (m_font.GetNoAntiAliasing())
+ // m_context = m_owner->GtkGetPangoX11Context();
+ //else
m_context = m_owner->GtkGetPangoDefaultContext();
}
}
Index: compat-wxGTK.spec
===================================================================
RCS file: /cvs/extras/rpms/compat-wxGTK/FC-4/compat-wxGTK.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- compat-wxGTK.spec 22 Aug 2006 22:15:11 -0000 1.7
+++ compat-wxGTK.spec 11 Sep 2006 22:09:08 -0000 1.8
@@ -2,7 +2,7 @@
Name: compat-wxGTK
Version: 2.4.2
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: Compatibility version of the wxWidgets GTK GUI library
License: BSD
Group: System Environment/Libraries
@@ -12,6 +12,7 @@
Patch1: wxGTK-2.4.2-aclocal18.patch
Patch2: wxGTK-2.4.2-gcc4.patch
Patch3: wxGTK-2.4.2-locale-compat.patch
+Patch4: compat-wxGTK-2.4.2-fixpango.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk+-devel gtk2-devel zlib-devel >= 1.1.4
@@ -151,6 +152,7 @@
%patch1 -p0 -b .aclocal18
%patch2 -p1 -b .gcc4
%patch3 -p1 -b .locale-compat
+%patch4 -p1 -b .fixpango
sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure
@@ -325,6 +327,9 @@
%changelog
+* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa at redhat.com> - 2.4.2-21
+- fix pango mess
+
* Wed Aug 23 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.4.2-20
- add patch to make the code find the renamed .mo files
More information about the fedora-extras-commits
mailing list