rpms/gtk2/devel gail-make-resident.patch, NONE, 1.1 gtk2.spec, 1.328, 1.329

Matthias Clasen mclasen at fedoraproject.org
Sat Oct 4 02:49:41 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gtk2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9150

Modified Files:
	gtk2.spec 
Added Files:
	gail-make-resident.patch 
Log Message:
Prevent unloading of gail


gail-make-resident.patch:

--- NEW FILE gail-make-resident.patch ---
diff -up gtk+-2.14.3/modules/other/gail/gail.c.make-resident gtk+-2.14.3/modules/other/gail/gail.c
--- gtk+-2.14.3/modules/other/gail/gail.c.make-resident	2008-10-03 22:42:20.000000000 -0400
+++ gtk+-2.14.3/modules/other/gail/gail.c	2008-10-03 22:38:18.000000000 -0400
@@ -981,3 +981,11 @@ gtk_module_init (gint *argc, char** argv
   return 0;
 }
 
+const char *
+g_module_check_init (GModule *module)
+{
+    g_module_make_resident (module);
+
+    return NULL;
+}
+


Index: gtk2.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.328
retrieving revision 1.329
diff -u -r1.328 -r1.329
--- gtk2.spec	25 Sep 2008 17:40:31 -0000	1.328
+++ gtk2.spec	4 Oct 2008 02:49:11 -0000	1.329
@@ -16,7 +16,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.14/gtk+-%{version}.tar.bz2
@@ -31,6 +31,9 @@
 # see http://bugzilla.gnome.org/show_bug.cgi?id=463773
 Patch2: workaround.patch
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=554950
+Patch3: gail-make-resident.patch
+
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
 BuildRequires: glib2-devel >= %{glib2_version}
@@ -116,6 +119,7 @@
 %patch0 -p1 -b .lib64
 %patch1 -p1 -b .set-invisible-char-to-bullet
 %patch2 -p1 -b .workaround
+%patch3 -p1 -b .gail-make-resident
 
 for i in config.guess config.sub ; do
   test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
@@ -297,6 +301,9 @@
 %{_datadir}/gtk-2.0
 
 %changelog
+* Fri Oct  3 2008 Matthias Clasen <mclasen at redhat.com> - 2.14.3-3
+- Prevent unloading of the gail module
+
 * Thu Sep 25 2008 Matthias Clasen <mclasen at redhat.com> - 2.14.3-2
 - Move message catalogs for properties to the -devel package
 




More information about the scm-commits mailing list