rpms/compat-wxGTK26/devel wxGTK-2.6.3-tooltips.patch, NONE, 1.1 compat-wxGTK26.spec, 1.3, 1.4

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sun Aug 5 21:08:54 UTC 2007


Author: mschwendt

Update of /cvs/extras/rpms/compat-wxGTK26/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5095

Modified Files:
	compat-wxGTK26.spec 
Added Files:
	wxGTK-2.6.3-tooltips.patch 
Log Message:
* Sun Aug  5 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.6.3-5
- Temporarily disable GetTooltipColors(), which crashes with
  gtk2-2.11.6 because it accesses private/deprecated members (#250936).


wxGTK-2.6.3-tooltips.patch:

--- NEW FILE wxGTK-2.6.3-tooltips.patch ---
diff -Nur wxGTK-2.6.3-orig/src/gtk/settings.cpp wxGTK-2.6.3/src/gtk/settings.cpp
--- wxGTK-2.6.3-orig/src/gtk/settings.cpp	2006-03-22 00:42:17.000000000 +0100
+++ wxGTK-2.6.3/src/gtk/settings.cpp	2007-08-05 23:02:28.000000000 +0200
@@ -144,6 +144,7 @@
 
 static void GetTooltipColors()
 {
+    return;
     GtkTooltips* tooltips = gtk_tooltips_new();
     gtk_tooltips_force_window(tooltips);
     gtk_widget_ensure_style(tooltips->tip_window);


Index: compat-wxGTK26.spec
===================================================================
RCS file: /cvs/extras/rpms/compat-wxGTK26/devel/compat-wxGTK26.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- compat-wxGTK26.spec	8 Jul 2007 11:07:36 -0000	1.3
+++ compat-wxGTK26.spec	5 Aug 2007 21:08:21 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           compat-wxGTK26
 Version:        2.6.3
-Release:        4
+Release:        5
 Summary:        GTK2 port of the wxWidgets GUI library
 # The wxWindows licence is the LGPL with a specific exemption allowing
 # distribution of derived binaries under any terms. (This will eventually
@@ -13,6 +13,7 @@
 Patch1:         wxGTK-2.6.3-locale-compat.patch
 Patch2:         wxGTK-2.6.3-gtk-crash.patch
 Patch3:         wxGTK-2.6.3-g_thread_init.patch
+Patch4:         wxGTK-2.6.3-tooltips.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel, zlib-devel >= 1.1.4
@@ -50,6 +51,7 @@
 %patch1 -p1 -b .locale-compat
 %patch2 -p1 -b .gtk-crash
 %patch3 -p1 -b .g_thread_init
+%patch4 -p1 -b .tooltips
 
 sed -i -e 's|/usr/lib\b|%{_libdir}|' wx-config.in configure
 
@@ -156,6 +158,10 @@
 
 
 %changelog
+* Sun Aug  5 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.6.3-5
+- Temporarily disable GetTooltipColors(), which crashes with
+  gtk2-2.11.6 because it accesses private/deprecated members (#250936).
+
 * Sun Jul  8 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.6.3-4
 - Call g_thread_init early (#244542).
 




More information about the fedora-extras-commits mailing list