Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit startup-notification
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 03 Aug 2007 01:05:31 +0200
  • Message-id: <20070802230532.0B680678182@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package startup-notification
checked in at Fri Aug 3 01:05:31 CEST 2007.

--------
--- GNOME/startup-notification/startup-notification.changes     2006-01-25 21:32:40.000000000 +0100
+++ /mounts/work_src_done/STABLE/startup-notification/startup-notification.changes      2007-08-02 18:20:59.648970000 +0200
@@ -1,0 +2,9 @@
+Thu Aug  2 18:15:32 CEST 2007 - maw@xxxxxxx
+
+- Update to version 0.9:
+  + plug some memory leaks
+  + fix compilation on sun boxen
+- Add some Requires to the -devel subpackage
+- s#%run_ldconfig#/sbin/ldconfig# in %post and %postun.
+
+-------------------------------------------------------------------

Old:
----
  startup-notification-0.8.tar.bz2

New:
----
  startup-notification-0.9.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ startup-notification.spec ++++++
--- /var/tmp/diff_new_pack.X27708/_old  2007-08-03 01:02:21.000000000 +0200
+++ /var/tmp/diff_new_pack.X27708/_new  2007-08-03 01:02:21.000000000 +0200
@@ -1,24 +1,24 @@
 #
-# spec file for package startup-notification (Version 0.8)
+# spec file for package startup-notification (Version 0.9)
 #
-# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
-# Please submit bugfixes or comments via http://www.suse.de/feedback/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 # norootforbuild
 
 Name:         startup-notification
 BuildRequires: gnome-common xorg-x11-devel
-URL:          http://www.freedesktop.org/wiki/Software_2fstartup_2dnotification
+URL:            http://www.freedesktop.org/wiki/Software/startup-notification
 %define prefix /usr
-License:      GPL
+License:        GPL v2 or later
 Group:        System/X11/Utilities
 Autoreqprov:  on
-Version:      0.8
-Release:      6
+Version:        0.9
+Release:        1
 Summary:      Reference Implementation for the Startup-Notification Protocol
 Source:       startup-notification-%{version}.tar.bz2
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
@@ -54,10 +54,10 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 
 %post
-%run_ldconfig
+/sbin/ldconfig
 
 %postun
-%run_ldconfig
+/sbin/ldconfig
 
 %files 
 %defattr(-,root,root)
@@ -66,7 +66,7 @@
 %package devel
 Summary:      Include Files and Libraries mandatory for Development.
 Group:        Development/Libraries/GNOME
-Requires:     startup-notification = %{version}
+Requires:       startup-notification = %{version} xorg-x11-libX11-devel
 Autoreqprov:  on
 
 %description devel
@@ -90,7 +90,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%changelog -n startup-notification
+%changelog
+* Thu Aug 02 2007 - maw@xxxxxxx
+- Update to version 0.9:
+  + plug some memory leaks
+  + fix compilation on sun boxen
+- Add some Requires to the -devel subpackage
+- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
 * Wed Jan 25 2006 - mls@xxxxxxx
 - converted neededforbuild to BuildRequires
 * Tue Sep 27 2005 - mls@xxxxxxx

++++++ startup-notification-0.8.tar.bz2 -> startup-notification-0.9.tar.bz2 ++++++
++++ 3050 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/startup-notification-0.8/ChangeLog new/startup-notification-0.9/ChangeLog
--- old/startup-notification-0.8/ChangeLog      2004-11-10 11:28:09.000000000 +0100
+++ new/startup-notification-0.9/ChangeLog      2007-03-17 20:25:08.000000000 +0100
@@ -1,3 +1,30 @@
+2007-03-17  Elijah Newren  <newren gmail com>
+
+       * NEWS: Version 0.9
+
+2007-03-17  Elijah Newren  <newren gmail com>
+
+       * libsn/sn-launcher.c (sn_launcher_context_initiate,
+       sn_launcher_context_setup_child_process): Patch from Laszlo Peter
+       at http://bugzilla.gnome.org/show_bug.cgi?id=392801, replacing
+       __FUNCTION__ with __func__ to increase portability.
+
+2005-03-07  Mark McLoughlin  <mark@xxxxxxxxx>
+
+       Based on fix from Aivars Kalvans <aivars.kalvans@xxxxxxxx>
+
+       * libsn/sn-launchee.c: (sn_launchee_context_unref):
+       Unref the SnDisplay.
+
+2005-02-26  Vincent Untz  <vincent@xxxxxxxxx>
+
+       * libsn/sn-xmessages.c: (parse_property): plug leak
+       (append_string_to_list): don't strdup() @append.
+
+2004-11-10  Mark McLoughlin  <mark@xxxxxxxxx>
+
+       * configure.in: post-release bump to 0.9.
+
 2004-11-10  Mark McLoughlin  <mark@xxxxxxxxx>
 
        * configure.in: Version 0.8
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/startup-notification-0.8/configure.in new/startup-notification-0.9/configure.in
--- old/startup-notification-0.8/configure.in   2004-11-10 11:23:49.000000000 +0100
+++ new/startup-notification-0.9/configure.in   2004-11-10 11:31:19.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([startup-notification], [0.8],
+AC_INIT([startup-notification], [0.9],
         [http://www.freedesktop.org/Software/startup-notification])
 AC_CONFIG_SRCDIR(libsn/sn-launchee.c)
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/startup-notification-0.8/doc/startup-notification.txt new/startup-notification-0.9/doc/startup-notification.txt
--- old/startup-notification-0.8/doc/startup-notification.txt   2004-10-27 07:07:27.000000000 +0200
+++ new/startup-notification-0.9/doc/startup-notification.txt   2006-09-04 19:18:21.000000000 +0200
@@ -240,6 +240,11 @@
           a string to be interpreted exactly as the "Icon" field 
           in desktop entries is interpreted.
 
+  LAUNCHED_BY

+          identification of the top-level window in which the launch was initiated.
+          The value is the X window ID of the window.
+
   DESKTOP 
 
           the desktop on which the application should appear, 
@@ -338,10 +343,15 @@
   If true, it is KNOWN that the application will send a "remove"
   message when started with the DESKTOP_LAUNCH_ID environment variable
   set.
+  If false, it is KNOWN that the application does not work
+  with startup notification at all (does not shown any window, breaks
+  even when using StartupWMClass, etc.).
+  If absent, a reasonable handling is up to implementations (assuming false,
+  using StartupWMClass, etc.).
 
 StartupWMClass=STRING
 
-  If true, it is KNOWN that the application will map at least one
+  If specified, it is KNOWN that the application will map at least one
   window with the given string as its WM class or WM name hint.
 
 EWMH spec extensions
@@ -352,6 +362,10 @@
   The ID used for the startup sequence for the window. If set 
   on a group leader window, applies to all application windows
   in that group that do not set their own _NET_STARTUP_ID.
+  
+  If a new value for the property is set, the window manager
+  should update the window's status accordingly (update its virtual
+  desktop, etc.).
 
 
 Launchee failures
@@ -420,3 +434,6 @@
 
 - TIMESTAMP field is obsoleted by including the timestamp directly in the ID.
 - data from "change:" messages should be used even if they precede the matching "new:" message
+- added LAUNCHED_BY
+- Explicitly mention that updating the _NET_STARTUP_ID property on a window should trigger
+  window manager's actions for the new startup notification again.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/startup-notification-0.8/libsn/sn-launchee.c new/startup-notification-0.9/libsn/sn-launchee.c
--- old/startup-notification-0.8/libsn/sn-launchee.c    2004-10-27 07:07:27.000000000 +0200
+++ new/startup-notification-0.9/libsn/sn-launchee.c    2005-03-07 21:05:41.000000000 +0100
@@ -103,6 +103,7 @@
   context->refcount -= 1;
   if (context->refcount == 0)
     {
+      sn_display_unref (context->display);
       sn_free (context->startup_id);
       
       sn_free (context);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/startup-notification-0.8/libsn/sn-launcher.c new/startup-notification-0.9/libsn/sn-launcher.c
--- old/startup-notification-0.8/libsn/sn-launcher.c    2004-10-27 07:07:27.000000000 +0200
+++ new/startup-notification-0.9/libsn/sn-launcher.c    2007-03-17 20:16:29.000000000 +0100
@@ -182,7 +182,7 @@
   if (context->startup_id != NULL)
     {
       fprintf (stderr, "%s called twice for the same SnLaunchContext\n",
-               __FUNCTION__);
+               __func__);
       return;
     }
 
@@ -369,7 +369,7 @@
 /* FIXME use something pluggable, not fprintf */
 #define WARN_ALREADY_INITIATED(context) do { if ((context)->startup_id != NULL) {               \
       fprintf (stderr, "%s called for an SnLauncherContext that has already been initiated\n", \
-               __FUNCTION__);                                                                  \
+               __func__);                                                                  \
       return;                                                                                  \
 } } while (0)
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/startup-notification-0.8/libsn/sn-xmessages.c new/startup-notification-0.9/libsn/sn-xmessages.c
--- old/startup-notification-0.8/libsn/sn-xmessages.c   2003-01-20 07:29:54.000000000 +0100
+++ new/startup-notification-0.9/libsn/sn-xmessages.c   2005-03-04 00:19:44.000000000 +0100
@@ -534,14 +534,16 @@
   return retval;
 }
 
+/* Takes ownership of @append
+ */
 static void
-append_string_to_list (char     ***list,
-                       const char *append)
+append_string_to_list (char ***list,
+                       char   *append)
 {
   if (*list == NULL)
     {
       *list = sn_new0 (char*, 2);
-      (*list)[0] = sn_internal_strdup (append);
+      (*list)[0] = append;
     }
   else
     {
@@ -552,7 +554,7 @@
         ++i;
 
       *list = sn_renew (char*, *list, i + 2);
-      (*list)[i] = sn_internal_strdup (append);
+      (*list)[i] = append;
       (*list)[i+1] = NULL;
     }
 }
@@ -691,6 +693,7 @@
     if (!unescape_string_inplace (p, &end))
       {
         sn_free (copy);
+        sn_free (name);
         return FALSE;
       }
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/startup-notification-0.8/NEWS new/startup-notification-0.9/NEWS
--- old/startup-notification-0.8/NEWS   2004-11-10 11:28:42.000000000 +0100
+++ new/startup-notification-0.9/NEWS   2007-03-17 20:29:47.000000000 +0100
@@ -1,3 +1,9 @@
+0.9
+===
+
+ - plug some leaks (Vincent Untz, Aivars Kalvans)
+ - fix compilation on sun machines (Laszlo Peter)
+
 0.8
 ===
 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages