rpms/nspluginwrapper/devel nspluginwrapper-0.9.91.5-sleep.patch, 1.1, 1.2 nspluginwrapper.spec, 1.44, 1.45

Martin Stransky (stransky) fedora-extras-commits at redhat.com
Mon Mar 10 12:05:36 UTC 2008


Author: stransky

Update of /cvs/pkgs/rpms/nspluginwrapper/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20498

Modified Files:
	nspluginwrapper-0.9.91.5-sleep.patch nspluginwrapper.spec 
Log Message:
updated the sleep patch

nspluginwrapper-0.9.91.5-sleep.patch:

Index: nspluginwrapper-0.9.91.5-sleep.patch
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/devel/nspluginwrapper-0.9.91.5-sleep.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- nspluginwrapper-0.9.91.5-sleep.patch	6 Mar 2008 13:18:07 -0000	1.1
+++ nspluginwrapper-0.9.91.5-sleep.patch	10 Mar 2008 12:05:30 -0000	1.2
@@ -1,6 +1,6 @@
-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-03-06 13:51:03.000000000 +0100
-+++ nspluginwrapper-0.9.91.5/src/npw-viewer.c	2008-03-06 14:00:05.000000000 +0100
+diff -up nspluginwrapper-0.9.91.5/src/npw-viewer.c.sleep nspluginwrapper-0.9.91.5/src/npw-viewer.c
+--- nspluginwrapper-0.9.91.5/src/npw-viewer.c.sleep	2008-03-10 12:50:21.000000000 +0100
++++ nspluginwrapper-0.9.91.5/src/npw-viewer.c	2008-03-10 12:51:42.000000000 +0100
 @@ -3039,14 +3039,14 @@ static GPollFD xt_event_poll_fd;
  static gboolean xt_event_prepare(GSource *source, gint *timeout)
  {
@@ -18,9 +18,13 @@
  	  return TRUE;
    }
    return FALSE;
-@@ -3057,9 +3057,9 @@ static gboolean xt_event_dispatch(GSourc
-   int i;
-   for (i = 0; i < 5; i++) {
+@@ -3054,12 +3054,11 @@ static gboolean xt_event_check(GSource *
+ 
+ static gboolean xt_event_dispatch(GSource *source, GSourceFunc callback, gpointer user_data)
+ {
+-  int i;
+-  for (i = 0; i < 5; i++) {
++  while(1) {
  	int mask = XtAppPending(x_app_context);
 -	if ((mask & XtIMXEvent) == 0)
 +	if ((mask) == 0)
@@ -30,7 +34,7 @@
    }
    return TRUE;
  }
-@@ -3073,17 +3073,6 @@ static GSourceFuncs xt_event_funcs = {
+@@ -3073,17 +3072,6 @@ static GSourceFuncs xt_event_funcs = {
    (GSourceDummyMarshal)NULL
  };
  
@@ -48,7 +52,7 @@
  // RPC events
  static GPollFD rpc_event_poll_fd;
  
-@@ -3208,10 +3197,6 @@ static int do_main(int argc, char **argv
+@@ -3208,10 +3196,6 @@ static int do_main(int argc, char **argv
    xt_event_poll_fd.revents = 0;
    g_source_add_poll(xt_source, &xt_event_poll_fd);
  
@@ -59,7 +63,7 @@
    // Initialize RPC events listener
    GSource *rpc_source = g_source_new(&rpc_event_funcs, sizeof(GSource));
    if (rpc_source == NULL) {
-@@ -3232,7 +3217,6 @@ static int do_main(int argc, char **argv
+@@ -3232,7 +3216,6 @@ static int do_main(int argc, char **argv
    gtk_main();
    D(bug("--- EXIT ---\n"));
  


Index: nspluginwrapper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nspluginwrapper/devel/nspluginwrapper.spec,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- nspluginwrapper.spec	6 Mar 2008 13:18:07 -0000	1.44
+++ nspluginwrapper.spec	10 Mar 2008 12:05:30 -0000	1.45
@@ -70,7 +70,7 @@
 Summary:	A compatibility layer for Netscape 4 plugins
 Name:		nspluginwrapper
 Version:	0.9.91.5
-Release:	24%{?dist}
+Release:	25%{?dist}
 Source0:	%{name}-%{version}%{?svndate:-%{svndate}}.tar.bz2
 Source1:        %{plugin_config_name}.tar.gz 
 Source2:        plugin-config.sh.in
@@ -239,6 +239,9 @@
 %{_sysconfdir}/sysconfig/%{name}
 
 %changelog
+* Mon Mar 10 2008 Martin Stransky <stransky at redhat.com> 0.9.91.5-25
+- updated the sleep patch
+
 * Thu Mar 06 2008 Martin Stransky <stransky at redhat.com> 0.9.91.5-24
 - added experimental patch for #426968 - nspluginwrapper wakes up too much
 




More information about the fedora-extras-commits mailing list