rpms/nspluginwrapper/F-8 nspluginwrapper-0.9.91.5-shutdown.patch, NONE, 1.1 nspluginwrapper.spec, 1.33, 1.34
Martin Stransky (stransky)
fedora-extras-commits at redhat.com
Mon Jan 14 13:26:09 UTC 2008
- Previous message (by thread): rpms/openldap/devel .cvsignore, 1.37, 1.38 openldap.spec, 1.107, 1.108 sources, 1.37, 1.38
- Next message (by thread): rpms/gtk-qt-engine/F-8 gtk-qt-engine-0.8-nspluginviewer.patch, NONE, 1.1 gtk-qt-engine.spec, 1.30, 1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stransky
Update of /cvs/pkgs/rpms/nspluginwrapper/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21748
Modified Files:
nspluginwrapper.spec
Added Files:
nspluginwrapper-0.9.91.5-shutdown.patch
Log Message:
* Mon Jan 14 2008 Martin Stransky <stransky at redhat.com> 0.9.91.5-16
- fixed #426176 - Orphaned npviewer.bin processes
nspluginwrapper-0.9.91.5-shutdown.patch:
--- NEW FILE nspluginwrapper-0.9.91.5-shutdown.patch ---
diff -up nspluginwrapper-0.9.91.5/src/npw-viewer.c.old nspluginwrapper-0.9.91.5/src/npw-viewer.c
--- nspluginwrapper-0.9.91.5/src/npw-viewer.c.old 2008-01-14 13:28:57.000000000 +0100
+++ nspluginwrapper-0.9.91.5/src/npw-viewer.c 2008-01-14 13:30:35.000000000 +0100
@@ -3112,6 +3112,12 @@ static GSourceFuncs rpc_event_funcs = {
(GSourceDummyMarshal)NULL
};
+static void plugin_kill(rpc_connection_t *connection)
+{
+ D(bug("plugin_kill, connection %p\n",connection));
+ gtk_main_quit();
+}
+
/* ====================================================================== */
/* === Main program === */
@@ -3220,6 +3226,9 @@ static int do_main(int argc, char **argv
g_source_set_callback(rpc_source, (GSourceFunc)rpc_dispatch, g_rpc_connection, NULL);
g_source_add_poll(rpc_source, &rpc_event_poll_fd);
+ // Set error handler - stop plugin if there's a connection error
+ rpc_connection_error_callback_set(g_rpc_connection, plugin_kill);
+
gtk_main();
D(bug("--- EXIT ---\n"));
Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/F-8/nspluginwrapper.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- nspluginwrapper.spec 25 Dec 2007 18:21:48 -0000 1.33
+++ nspluginwrapper.spec 14 Jan 2008 13:25:31 -0000 1.34
@@ -70,7 +70,7 @@
Summary: A compatibility layer for Netscape 4 plugins
Name: nspluginwrapper
Version: 0.9.91.5
-Release: 15%{?dist}
+Release: 16%{?dist}
Source0: %{name}-%{version}%{?svndate:-%{svndate}}.tar.bz2
Source1: %{plugin_config_name}.tar.gz
Source2: plugin-config.sh.in
@@ -82,6 +82,7 @@
Patch5: nspluginwrapper-0.9.91.5-fork.patch
Patch6: plugin-config-setuid.patch
Patch7: nspluginwrapper-0.9.91.5-npviewer-gthread.patch
+Patch8: nspluginwrapper-0.9.91.5-shutdown.patch
License: GPL
Group: Networking/WWW
Url: http://gwenole.beauchesne.info/projects/nspluginwrapper/
@@ -115,6 +116,7 @@
%patch4 -p1
%patch5 -p1
%patch7 -p1
+%patch8 -p1
pushd %plugin_config_name
%patch6 -p2
@@ -236,6 +238,9 @@
%{_sysconfdir}/sysconfig/%{name}
%changelog
+* Mon Jan 14 2008 Martin Stransky <stransky at redhat.com> 0.9.91.5-16
+- fixed #426176 - Orphaned npviewer.bin processes
+
* Mon Dec 24 2007 Warren Togami <wtogami at redhat.com> 0.9.91.5-15
- Make nsviewer.bin initialized for multithreading, fixes #360891
Removing previous workaround.
- Previous message (by thread): rpms/openldap/devel .cvsignore, 1.37, 1.38 openldap.spec, 1.107, 1.108 sources, 1.37, 1.38
- Next message (by thread): rpms/gtk-qt-engine/F-8 gtk-qt-engine-0.8-nspluginviewer.patch, NONE, 1.1 gtk-qt-engine.spec, 1.30, 1.31
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list