rpms/PackageKit/devel module-resident.patch, NONE, 1.1 PackageKit.spec, 1.96, 1.97

Matthias Clasen mclasen at fedoraproject.org
Tue Mar 24 02:41:53 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/PackageKit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28665

Modified Files:
	PackageKit.spec 
Added Files:
	module-resident.patch 
Log Message:
make the GTK+ module resident


module-resident.patch:

--- NEW FILE module-resident.patch ---
diff -up PackageKit-0.4.6-20090319/contrib/gtk-module/pk-gtk-module.c.resident PackageKit-0.4.6-20090319/contrib/gtk-module/pk-gtk-module.c
--- PackageKit-0.4.6-20090319/contrib/gtk-module/pk-gtk-module.c.resident	2009-02-24 06:29:08.000000000 -0500
+++ PackageKit-0.4.6-20090319/contrib/gtk-module/pk-gtk-module.c	2009-03-23 21:24:52.572926916 -0400
@@ -328,3 +328,13 @@ gtk_module_init (gint *argc G_GNUC_UNUSE
 {
 	install_pango_font_map ();
 }
+
+const char *g_module_check_init (GModule *module);
+
+const char *
+g_module_check_init (GModule *module)
+{
+	g_module_make_resident (module);
+
+	return NULL;
+}


Index: PackageKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PackageKit/devel/PackageKit.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- PackageKit.spec	19 Mar 2009 12:21:59 -0000	1.96
+++ PackageKit.spec	24 Mar 2009 02:41:22 -0000	1.97
@@ -9,7 +9,7 @@
 Summary:   Package management service
 Name:      PackageKit
 Version:   0.4.6
-Release:   0.1.%{?alphatag}git%{?dist}
+Release:   0.2.%{?alphatag}git%{?dist}
 #Release:   1%{?dist}
 License:   GPLv2+
 Group:     System Environment/Libraries
@@ -22,6 +22,7 @@
 # Set Vendor.conf up for Fedora.
 Patch0:    PackageKit-0.3.8-Fedora-Vendor.conf.patch
 Patch1:    PackageKit-0.4.4-Fedora-turn-off-time.conf.patch
+Patch2:    module-resident.patch
 
 Requires: dbus >= %{dbus_version}
 Requires: dbus-glib >= %{dbus_glib_version}
@@ -223,6 +224,7 @@
 #%setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1 -b .resident
 
 %build
 %configure --enable-yum --enable-smart --with-default-backend=yum --disable-local --disable-ruck
@@ -417,6 +419,9 @@
 %{_includedir}/PackageKit/backend/*.h
 
 %changelog
+* Mon Mar 23 2009 Matthias Clasen  <mclasen at redhat.com> - 0.4.6-0.2.2009319git
+- Make the GTK+ module resident
+
 * Thu Mar 19 2009 Richard Hughes  <rhughes at redhat.com> - 0.4.6-0.1.20090319git
 - Update to todays git snapshot so we can test the update ChangeLog feature.
 




More information about the fedora-extras-commits mailing list