rpms/at-spi/devel atk-bridge-make-resident.patch, NONE, 1.1 at-spi.spec, 1.98, 1.99

Matthias Clasen mclasen at fedoraproject.org
Sat Oct 4 03:21:25 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/at-spi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12700

Modified Files:
	at-spi.spec 
Added Files:
	atk-bridge-make-resident.patch 
Log Message:
make atk-bridge module resident


atk-bridge-make-resident.patch:

--- NEW FILE atk-bridge-make-resident.patch ---
diff -up at-spi-1.24.0/atk-bridge/bridge.c.make-resident at-spi-1.24.0/atk-bridge/bridge.c
--- at-spi-1.24.0/atk-bridge/bridge.c.make-resident	2008-10-03 22:09:21.000000000 -0400
+++ at-spi-1.24.0/atk-bridge/bridge.c	2008-10-03 22:10:58.000000000 -0400
@@ -41,6 +41,7 @@
 #include "accessible.h"
 #include "application.h"
 #include <bonobo-activation/bonobo-activation-register.h>
+#include <gmodule.h>
 
 #undef SPI_BRIDGE_DEBUG
 
@@ -1395,3 +1396,10 @@ spi_atk_bridge_init_rect (CORBA_any *any
     spi_init_any_rect (any, app, role, name, rect);
 }
 
+const char *
+g_module_check_init (GModule *module)
+{
+    g_module_make_resident (module);
+
+    return NULL;
+}
diff -up at-spi-1.24.0/configure.in.make-resident at-spi-1.24.0/configure.in
--- at-spi-1.24.0/configure.in.make-resident	2008-09-22 04:25:21.000000000 -0400
+++ at-spi-1.24.0/configure.in	2008-10-03 22:09:21.000000000 -0400
@@ -116,6 +116,7 @@ AC_SUBST(TESTS_CFLAGS)
 PKG_CHECK_MODULES(ATK_BRIDGE, [
 	libbonobo-2.0	>= req_ver_libbonobo
 	atk		>= req_ver_atk
+	gmodule-2.0
 ])	
 AC_SUBST(ATK_BRIDGE_LIBS)
 AC_SUBST(ATK_BRIDGE_CFLAGS)


Index: at-spi.spec
===================================================================
RCS file: /cvs/extras/rpms/at-spi/devel/at-spi.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- at-spi.spec	22 Sep 2008 14:51:17 -0000	1.98
+++ at-spi.spec	4 Oct 2008 03:20:54 -0000	1.99
@@ -10,7 +10,7 @@
 Summary: Assistive Technology Service Provider Interface 
 Name: at-spi
 Version: 1.24.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://developer.gnome.org/projects/gap/
 Source0: http://download.gnome.org/sources/at-spi/1.24/%{name}-%{version}.tar.bz2
 
@@ -43,8 +43,12 @@
 BuildRequires: libXi-devel
 BuildRequires: libXevie-devel 
 BuildRequires: libXt-devel 
+BuildRequires: automake, autoconf, libtool, intltool
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=547943
 Patch2: at-spi-silence-no-event-spew.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=554953
+Patch3: make-resident.patch
 
 %description
 at-spi allows assistive technologies to access GTK-based
@@ -81,7 +85,9 @@
 %prep
 %setup -q
 %patch2 -p1 -b .spew
+%patch3 -p1 -b .make-resident
 
+autoconf
 
 %build
 %configure --disable-gtk-doc --disable-static
@@ -144,6 +150,9 @@
 
 
 %changelog
+* Fri Oct  3 2008 Matthias Clasen <mclasen at redhat.com> - 1.24.0-3
+- Prevent at-spi module from being unloaded
+
 * Mon Sep 22 2008 Matthias Clasen <mclasen at redhat.com> - 1.24.0-2
 - Update to 1.24.0
 




More information about the scm-commits mailing list