rpms/seahorse-plugins/F-11 sp-atexit.patch, NONE, 1.1 seahorse-plugins.spec, 1.24, 1.25
Matthias Clasen
mclasen at fedoraproject.org
Wed Apr 22 19:42:31 UTC 2009
Author: mclasen
Update of /cvs/pkgs/rpms/seahorse-plugins/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26542
Modified Files:
seahorse-plugins.spec
Added Files:
sp-atexit.patch
Log Message:
clean up tempdir
sp-atexit.patch:
--- NEW FILE sp-atexit.patch ---
diff -up seahorse-plugins-2.26.1/agent/seahorse-agent.c.atexit seahorse-plugins-2.26.1/agent/seahorse-agent.c
--- seahorse-plugins-2.26.1/agent/seahorse-agent.c.atexit 2009-03-03 13:57:02.000000000 -0500
+++ seahorse-plugins-2.26.1/agent/seahorse-agent.c 2009-04-22 15:10:49.544141234 -0400
@@ -161,3 +161,8 @@ seahorse_agent_uninit (gpointer *data)
return FALSE;
}
+void
+seahorse_agent_exit ()
+{
+ seahorse_agent_uninit (NULL);
+}
diff -up seahorse-plugins-2.26.1/agent/seahorse-agent.h.atexit seahorse-plugins-2.26.1/agent/seahorse-agent.h
--- seahorse-plugins-2.26.1/agent/seahorse-agent.h.atexit 2009-03-03 13:56:43.000000000 -0500
+++ seahorse-plugins-2.26.1/agent/seahorse-agent.h 2009-04-22 15:10:49.545131874 -0400
@@ -55,6 +55,7 @@ void seahorse_agent_childsetup ();
/* Called in the new child process */
gboolean seahorse_agent_init ();
gboolean seahorse_agent_uninit (gpointer *data);
+void seahorse_agent_exit ();
/* Global options to set from the command line */
extern gboolean seahorse_agent_cshell;
diff -up seahorse-plugins-2.26.1/agent/seahorse-agent-main.c.atexit seahorse-plugins-2.26.1/agent/seahorse-agent-main.c
--- seahorse-plugins-2.26.1/agent/seahorse-agent-main.c.atexit 2009-03-03 14:00:41.000000000 -0500
+++ seahorse-plugins-2.26.1/agent/seahorse-agent-main.c 2009-04-22 15:32:32.398383172 -0400
@@ -256,6 +256,8 @@ int main(int argc, char* argv[])
g_strfreev (agent_exec_args);
agent_exec_args = NULL;
+ atexit (seahorse_agent_exit);
+
/* Handle some signals */
seahorse_unix_signal_register (SIGINT, unix_signal);
seahorse_unix_signal_register (SIGTERM, unix_signal);
Index: seahorse-plugins.spec
===================================================================
RCS file: /cvs/pkgs/rpms/seahorse-plugins/F-11/seahorse-plugins.spec,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- seahorse-plugins.spec 13 Apr 2009 18:08:58 -0000 1.24
+++ seahorse-plugins.spec 22 Apr 2009 19:42:28 -0000 1.25
@@ -1,6 +1,6 @@
Name: seahorse-plugins
Version: 2.26.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Plugins and utilities for encryption in GNOME
Group: User Interface/Desktops
License: GPLv2+ and GFDL
@@ -52,7 +52,8 @@
Requires(postun): shared-mime-info
Requires(postun): GConf2
-#Patch0: epiphany-2.26.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=579738
+Patch0: sp-atexit.patch
%description
The plugins and utilities in this package integrate seahorse into
@@ -61,7 +62,7 @@
%prep
%setup -q
-#%patch0 -p1 -b .epiphany
+%patch0 -p1 -b .atexit
autoreconf -i -f
@@ -175,6 +176,9 @@
%changelog
+* Wed Apr 22 2009 Matthias Clasen <mclasen at redhat.com> - 2.26.1-2
+- Make seahorse-agent clean up its tempdir
+
* Mon Apr 13 2009 Matthias Clasen <mclasen at redhat.com> - 2.26.1-1
- Update to 2.26.1
- See http://download.gnome.org/sources/seahorse-plugins/2.26/seahorse-plugins-2.26.1.news
More information about the fedora-extras-commits
mailing list