Hello community, here is the log from the commit of package gnome-do-plugins for openSUSE:Factory checked in at Fri Dec 11 16:45:32 CET 2009. -------- --- gnome-do-plugins/gnome-do-plugins.changes 2009-09-21 11:48:40.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnome-do-plugins/gnome-do-plugins.changes 2009-12-08 11:01:25.000000000 +0100 @@ -1,0 +2,9 @@ +Thu Oct 15 09:47:48 CEST 2009 - dimstar@opensuse.org + +- Update to version 0.8.2.1: + + Correctly find banshee indexer library + + Not properly closing SSH Hosts file + + lp#381064 - Firefox plugin memory leak + + lp#410079 - Session plugin doesn't work on devicekit-power + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- gnome-do-plugins-0.8.2.tar.bz2 New: ---- gnome-do-plugins-0.8.2.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-do-plugins.spec ++++++ --- /var/tmp/diff_new_pack.APYdvF/_old 2009-12-11 16:43:58.000000000 +0100 +++ /var/tmp/diff_new_pack.APYdvF/_new 2009-12-11 16:43:58.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package gnome-do-plugins (Version 0.8.2) +# spec file for package gnome-do-plugins (Version 0.8.2.1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,9 +20,9 @@ %define __find_provides sh -c '/usr/lib/rpm/find-provides %{name} | grep -v mono || echo ""' Name: gnome-do-plugins -Version: 0.8.2 -Release: 2 -License: GPL v3 only +Version: 0.8.2.1 +Release: 1 +License: GPLv3 Url: http://do.davebsd.com Source: %{name}-%{version}.tar.bz2 Summary: Plugins for GNOME Do ++++++ gnome-do-plugins-0.8.2.tar.bz2 -> gnome-do-plugins-0.8.2.1.tar.bz2 ++++++ ++++ 25360 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/gnome-do-plugins-0.8.2/Banshee/Resources/Banshee.addin.xml new/gnome-do-plugins-0.8.2.1/Banshee/Resources/Banshee.addin.xml --- old/gnome-do-plugins-0.8.2/Banshee/Resources/Banshee.addin.xml 2009-06-26 07:43:53.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/Banshee/Resources/Banshee.addin.xml 2009-10-12 23:32:50.000000000 +0200 @@ -11,7 +11,7 @@ <Runtime> <Import assembly="Banshee.dll"/> - <Import assembly="/usr/lib/banshee-1/Banshee.CollectionIndexer.dll"/> + <Import assembly="/usr/local/lib/banshee-1/Banshee.CollectionIndexer.dll"/> </Runtime> <Localizer type="Gettext" catalog="gnome-do-plugins" location="/usr/local/share/locale" /> 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/gnome-do-plugins-0.8.2/Banshee/Resources/Banshee.addin.xml.in new/gnome-do-plugins-0.8.2.1/Banshee/Resources/Banshee.addin.xml.in --- old/gnome-do-plugins-0.8.2/Banshee/Resources/Banshee.addin.xml.in 2009-06-23 03:00:43.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/Banshee/Resources/Banshee.addin.xml.in 2009-10-12 22:30:04.000000000 +0200 @@ -11,7 +11,7 @@ <Runtime> <Import assembly="Banshee.dll"/> - <Import assembly="/usr/lib/banshee-1/Banshee.CollectionIndexer.dll"/> + <Import assembly="@BANSHEE_INDEXER_DLL@"/> </Runtime> <Localizer type="Gettext" catalog="gnome-do-plugins" location="@expanded_datadir@/locale" /> 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/gnome-do-plugins-0.8.2/configure.ac new/gnome-do-plugins-0.8.2.1/configure.ac --- old/gnome-do-plugins-0.8.2/configure.ac 2009-06-26 07:43:32.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/configure.ac 2009-10-12 23:30:30.000000000 +0200 @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ([2.54]) -AC_INIT([gnome-do-plugins], [0.8.2]) +AC_INIT([gnome-do-plugins], [0.8.2.1]) AM_INIT_AUTOMAKE([foreign tar-pax]) 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/gnome-do-plugins-0.8.2/Firefox/src/PlacesItemSource.cs new/gnome-do-plugins-0.8.2.1/Firefox/src/PlacesItemSource.cs --- old/gnome-do-plugins-0.8.2/Firefox/src/PlacesItemSource.cs 2009-06-23 03:00:43.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/Firefox/src/PlacesItemSource.cs 2009-10-12 22:51:52.000000000 +0200 @@ -120,8 +120,9 @@ public override void UpdateItems () { - places = LoadPlaceItems (); - folders = LoadFolderItems (); + // evaluate immediate to allow sql connections to close + places = LoadPlaceItems ().ToArray (); + folders = LoadFolderItems ().ToArray (); items.Clear(); @@ -256,6 +257,8 @@ } } } + // this shouldn't be necessary, but: https://bugzilla.novell.com/show_bug.cgi?id=499864 + dbcon.Close (); } } @@ -275,7 +278,8 @@ dbcmd.CommandText = "SELECT moz_places.title, moz_places.url, moz_bookmarks.parent, moz_bookmarks.title " + "FROM moz_places LEFT OUTER JOIN moz_bookmarks " + "ON moz_places.id=moz_bookmarks.fk " - + "ORDER BY moz_places.frecency DESC"; + + "ORDER BY moz_places.frecency DESC " + + "LIMIT 500"; using (IDataReader reader = dbcmd.ExecuteReader ()) { while (reader.Read () ) { @@ -300,6 +304,8 @@ } } } + // this shouldn't be necessary, but: https://bugzilla.novell.com/show_bug.cgi?id=499864 + dbcon.Close (); } } } 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/gnome-do-plugins-0.8.2/GNOME-Session/Resources/GNOME-Session.addin.xml new/gnome-do-plugins-0.8.2.1/GNOME-Session/Resources/GNOME-Session.addin.xml --- old/gnome-do-plugins-0.8.2/GNOME-Session/Resources/GNOME-Session.addin.xml 2009-06-26 07:43:54.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/GNOME-Session/Resources/GNOME-Session.addin.xml 2009-10-12 23:32:51.000000000 +0200 @@ -1,7 +1,7 @@ <Addin id="GNOMESession" namespace= "Do" - version="1.6" + version="1.7" name="GNOME Session Management" description="Log out, lock your screen, shutdown, suspend, etc." author="David Siegel" 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/gnome-do-plugins-0.8.2/GNOME-Session/Resources/GNOME-Session.addin.xml.in new/gnome-do-plugins-0.8.2.1/GNOME-Session/Resources/GNOME-Session.addin.xml.in --- old/gnome-do-plugins-0.8.2/GNOME-Session/Resources/GNOME-Session.addin.xml.in 2009-06-23 03:00:43.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/GNOME-Session/Resources/GNOME-Session.addin.xml.in 2009-10-12 23:29:31.000000000 +0200 @@ -1,7 +1,7 @@ <Addin id="GNOMESession" namespace= "Do" - version="1.6" + version="1.7" name="GNOME Session Management" description="Log out, lock your screen, shutdown, suspend, etc." author="David Siegel" 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/gnome-do-plugins-0.8.2/GNOME-Session/src/PowerManagement.cs new/gnome-do-plugins-0.8.2.1/GNOME-Session/src/PowerManagement.cs --- old/gnome-do-plugins-0.8.2/GNOME-Session/src/PowerManagement.cs 2009-06-23 03:00:43.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/GNOME-Session/src/PowerManagement.cs 2009-10-12 23:29:48.000000000 +0200 @@ -30,21 +30,44 @@ class PowerManagement { - [Interface ("org.freedesktop.PowerManagement")] - interface IPowerManagementProxy + [Interface (DeviceKitPowerName)] + interface IDeviceKitPower { void Hibernate (); void Suspend (); } - const string BusName = "org.freedesktop.PowerManagement"; - const string ObjectPath = "/org/freedesktop/PowerManagement"; + [Interface (PowerManagementName)] + interface IPowerManagement + { + void Hibernate (); + void Suspend (); + } + + const string DeviceKitPowerName = "org.freedesktop.DeviceKit.Power"; + const string DeviceKitPowerPath = "/org/freedesktop/DeviceKit/Power"; + const string PowerManagementName = "org.freedesktop.PowerManagement"; + const string PowerManagementPath = "/org/freedesktop/PowerManagement"; + + static PowerManagement () + { + try { + BusG.Init (); + } catch (Exception e) { + Log<PowerManagement>.Error ("Could not initialize the bus: {0}", e.Message); + Log<PowerManagement>.Debug (e.StackTrace); + } + } - static IPowerManagementProxy BusInstance + static object BusInstance { get { try { - return Bus.Session.GetObject<IPowerManagementProxy> (BusName, new ObjectPath (ObjectPath)); + if (Bus.System.NameHasOwner (DeviceKitPowerName)) { + return Bus.System.GetObject<IDeviceKitPower> (DeviceKitPowerName, new ObjectPath (DeviceKitPowerPath)); + } else if (Bus.Session.NameHasOwner (PowerManagementName)) { + return Bus.Session.GetObject<IPowerManagement> (PowerManagementName, new ObjectPath (PowerManagementPath)); + } } catch (Exception e) { Log<PowerManagement>.Error ("Could not get PowerManagement bus object: {0}", e.Message); Log<PowerManagement>.Debug (e.StackTrace); @@ -57,7 +80,11 @@ public static void Hibernate () { try { - BusInstance.Hibernate (); + object instance = BusInstance; + if (instance is IDeviceKitPower) + (instance as IDeviceKitPower).Hibernate (); + else if (instance is IPowerManagement) + (instance as IPowerManagement).Hibernate (); } catch (Exception e) { Log<PowerManagement>.Error ("Could not hibernate: {0}", e.Message); Log<PowerManagement>.Debug (e.StackTrace); @@ -67,7 +94,11 @@ public static void Suspend () { try { - BusInstance.Suspend (); + object instance = BusInstance; + if (instance is IDeviceKitPower) + (instance as IDeviceKitPower).Suspend (); + else if (instance is IPowerManagement) + (instance as IPowerManagement).Suspend (); } catch (Exception e) { Log<PowerManagement>.Error ("Could not suspend: {0}", e.Message); Log<PowerManagement>.Debug (e.StackTrace); 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/gnome-do-plugins-0.8.2/missing new/gnome-do-plugins-0.8.2.1/missing --- old/gnome-do-plugins-0.8.2/missing 2009-05-17 15:03:52.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/missing 2009-08-14 11:32:22.000000000 +0200 @@ -1,10 +1,10 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2006-05-10.23 +scriptversion=2009-04-28.21; # UTC -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redistribute it and/or modify @@ -18,9 +18,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program. If not, see http://www.gnu.org/licenses/. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -89,6 +87,9 @@ tar try tar, gnutar, gtar, then tar without non-portable flags yacc create `y.tab.[ch]', if possible, from existing .[ch] +Version suffixes to PROGRAM as well as the prefixes `gnu-', `gnu', and +`g' are ignored when checking the name. + Send bug reports to <bug-automake@gnu.org>." exit $? ;; @@ -106,15 +107,22 @@ esac +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect -# the program). +# the program). This is about non-GNU programs, so use $1 not +# $program. case $1 in - lex|yacc) + lex*|yacc*) # Not GNU programs, they don't have --version. ;; - tar) + tar*) if test -n "$run"; then echo 1>&2 "ERROR: `tar' requires --run" exit 1 @@ -138,7 +146,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case $1 in +case $program in aclocal*) echo 1>&2 "\ WARNING: `$1' is $msg. You should only need it if @@ -148,7 +156,7 @@ touch aclocal.m4 ;; - autoconf) + autoconf*) echo 1>&2 "\ WARNING: `$1' is $msg. You should only need it if you modified `${configure_ac}'. You might want to install the @@ -157,7 +165,7 @@ touch configure ;; - autoheader) + autoheader*) echo 1>&2 "\ WARNING: `$1' is $msg. You should only need it if you modified `acconfig.h' or `${configure_ac}'. You might want @@ -187,7 +195,7 @@ while read f; do touch "$f"; done ;; - autom4te) + autom4te*) echo 1>&2 "\ WARNING: `$1' is needed, but is $msg. You might have modified some files without having the @@ -210,7 +218,7 @@ fi ;; - bison|yacc) + bison*|yacc*) echo 1>&2 "\ WARNING: `$1' $msg. You should only need it if you modified a `.y' file. You may need the `Bison' package @@ -240,7 +248,7 @@ fi ;; - lex|flex) + lex*|flex*) echo 1>&2 "\ WARNING: `$1' is $msg. You should only need it if you modified a `.l' file. You may need the `Flex' package @@ -263,7 +271,7 @@ fi ;; - help2man) + help2man*) echo 1>&2 "\ WARNING: `$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the @@ -277,11 +285,11 @@ else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" - exit 1 + exit $? fi ;; - makeinfo) + makeinfo*) echo 1>&2 "\ WARNING: `$1' is $msg. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file @@ -310,7 +318,7 @@ touch $file ;; - tar) + tar*) shift # We have already tried tar in the generic part. @@ -363,5 +371,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: 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/gnome-do-plugins-0.8.2/po/Makefile.in.in new/gnome-do-plugins-0.8.2.1/po/Makefile.in.in --- old/gnome-do-plugins-0.8.2/po/Makefile.in.in 2009-06-26 07:43:48.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/po/Makefile.in.in 2009-10-12 23:32:47.000000000 +0200 @@ -129,7 +129,7 @@ done # Empty stubs to satisfy archaic automake needs -dvi info tags TAGS ID: +dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: 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/gnome-do-plugins-0.8.2/SSH/src/SSHHostItemSource.cs new/gnome-do-plugins-0.8.2.1/SSH/src/SSHHostItemSource.cs --- old/gnome-do-plugins-0.8.2/SSH/src/SSHHostItemSource.cs 2009-06-23 03:00:43.000000000 +0200 +++ new/gnome-do-plugins-0.8.2.1/SSH/src/SSHHostItemSource.cs 2009-10-12 22:32:41.000000000 +0200 @@ -65,24 +65,24 @@ try { string home = Environment.GetFolderPath (Environment.SpecialFolder.Personal); string hostsFile = Path.Combine(home, ".ssh/config"); - FileStream fs = new FileStream (hostsFile, FileMode.Open, FileAccess.Read); - Regex NameRegex = new Regex ("^\s*Host\s+(.+)\s*$"); - - using (StreamReader reader = new StreamReader (fs)) - { - string s; - while ((s = reader.ReadLine ()) != null) { - Match NameMatch = NameRegex.Match (s); - if (NameMatch.Groups.Count != 2) continue; - - string line = NameMatch.Groups[1].ToString(); - string[] hosts = line.Split(new string[] { " " }, StringSplitOptions.None); - foreach (string host in hosts) - items.Add (new SSHHostItem (host)); + using (FileStream fs = new FileStream (hostsFile, FileMode.Open, FileAccess.Read)) { + Regex NameRegex = new Regex ("^\s*Host\s+(.+)\s*$"); + + using (StreamReader reader = new StreamReader (fs)) + { + string s; + while ((s = reader.ReadLine ()) != null) { + Match NameMatch = NameRegex.Match (s); + if (NameMatch.Groups.Count != 2) continue; + + string line = NameMatch.Groups[1].ToString(); + string[] hosts = line.Split(new string[] { " " }, StringSplitOptions.None); + foreach (string host in hosts) + items.Add (new SSHHostItem (host)); + } } } - fs.Dispose (); } catch { } } } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org