rpms/bug-buddy/devel make-resident.patch, NONE, 1.1 bug-buddy.spec, 1.105, 1.106 c++.patch, 1.6, NONE email-check.patch, 1.1, NONE gnome-breakpad-fixes.patch, 1.1, NONE gnome-breakpad-libversion.patch, 1.1, NONE google-breakpad-conditional.patch, 1.1, NONE google-breakpad-r216.patch, 1.1, NONE memcpy.patch, 1.1, NONE soup24.patch, 1.1, NONE

Matthias Clasen mclasen at fedoraproject.org
Fri Oct 3 22:52:50 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/bug-buddy/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15799

Modified Files:
	bug-buddy.spec 
Added Files:
	make-resident.patch 
Removed Files:
	c++.patch email-check.patch gnome-breakpad-fixes.patch 
	gnome-breakpad-libversion.patch 
	google-breakpad-conditional.patch google-breakpad-r216.patch 
	memcpy.patch soup24.patch 
Log Message:
make gtk module resident


make-resident.patch:

--- NEW FILE make-resident.patch ---
diff -up bug-buddy-2.24.0/gnome-breakpad/gnome-breakpad.cc.make-resident bug-buddy-2.24.0/gnome-breakpad/gnome-breakpad.cc
--- bug-buddy-2.24.0/gnome-breakpad/gnome-breakpad.cc.make-resident	2008-10-03 18:40:34.000000000 -0400
+++ bug-buddy-2.24.0/gnome-breakpad/gnome-breakpad.cc	2008-10-03 18:38:47.000000000 -0400
@@ -32,6 +32,7 @@ using namespace google_breakpad;
 #include <string.h>
 #endif
 
+extern "C" const char *g_module_check_init (GModule *module);
 extern "C" int gtk_module_init (int *argc, char** argv[]);
 static bool    run_bug_buddy   (const gchar *appname, pid_t pid, const gchar *minidump_path);
 static void    check_if_gdb    ();
@@ -337,3 +338,12 @@ gtk_module_init (int *argc, char** argv[
 	}
 	return 0;
 }
+
+const char *
+g_module_check_init (GModule *module)
+{
+    g_module_make_resident (module);
+
+    return NULL;
+}
+


Index: bug-buddy.spec
===================================================================
RCS file: /cvs/extras/rpms/bug-buddy/devel/bug-buddy.spec,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- bug-buddy.spec	22 Sep 2008 15:59:52 -0000	1.105
+++ bug-buddy.spec	3 Oct 2008 22:52:19 -0000	1.106
@@ -6,7 +6,7 @@
 
 Name: bug-buddy
 Version: 2.24.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 1
 Summary: A bug reporting utility for GNOME
 License: GPLv2 and BSD
@@ -14,6 +14,9 @@
 URL: http://www.gnome.org
 Source: http://download.gnome.org/sources/bug-buddy/2.24/%{name}-%{version}.tar.bz2
 
+# http://bugzilla.gnome.org/show_bug.cgi?id=554931
+Patch0: make-resident.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
@@ -62,6 +65,7 @@
 
 %prep
 %setup -q 
+%patch0 -p1 -b .make-resident
 
 %build
 %configure --disable-scrollkeeper
@@ -140,6 +144,9 @@
 %{_sysconfdir}/gconf/schemas/*
 
 %changelog
+* Fri Oct  3 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0-2
+- Make the gtk module resident, since unloading it is not good
+
 * Mon Sep 22 2008 Matthias Clasen <mclasen at redhat.com> - 1:2.24.0-1
 - Update to 2.24.0
 


--- c++.patch DELETED ---


--- email-check.patch DELETED ---


--- gnome-breakpad-fixes.patch DELETED ---


--- gnome-breakpad-libversion.patch DELETED ---


--- google-breakpad-conditional.patch DELETED ---


--- google-breakpad-r216.patch DELETED ---


--- memcpy.patch DELETED ---


--- soup24.patch DELETED ---




More information about the scm-commits mailing list