
Hello community, here is the log from the commit of package gnome-web-photo checked in at Wed Apr 5 01:00:45 CEST 2006. -------- --- GNOME/gnome-web-photo/gnome-web-photo.changes 2006-02-01 13:25:42.000000000 +0100 +++ gnome-web-photo/gnome-web-photo.changes 2006-04-04 23:50:07.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Apr 4 23:49:50 CEST 2006 - federico@novell.com + +- Added gnome-web-photo-160795-renice-when-thumbnailing.diff as a + workaround for https://bugzilla.novell.com/show_bug.cgi?id=160795. + We renice the gnome-web-photo process if it is being used as a thumbnailer. + +------------------------------------------------------------------- New: ---- gnome-web-photo-160795-renice-when-thumbnailing.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-web-photo.spec ++++++ --- /var/tmp/diff_new_pack.MAEMRs/_old 2006-04-05 01:00:30.000000000 +0200 +++ /var/tmp/diff_new_pack.MAEMRs/_new 2006-04-05 01:00:30.000000000 +0200 @@ -5,7 +5,7 @@ # 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://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -18,10 +18,11 @@ Group: System/GUI/GNOME Autoreqprov: on Version: 0.1.1 -Release: 4 +Release: 12 Summary: GNOME Web Photographer Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-thumbnail-command.patch +Patch1: gnome-web-photo-160795-renice-when-thumbnailing.diff URL: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -38,6 +39,7 @@ %prep %setup -n gnome-web-photo-%{version} %patch0 +%patch1 -p1 %build #rename no nb po/no.* @@ -72,6 +74,10 @@ %{prefix}/share/gnome-web-photo %changelog -n gnome-web-photo +* Tue Apr 04 2006 - federico@novell.com +- Added gnome-web-photo-160795-renice-when-thumbnailing.diff as a + workaround for https://bugzilla.novell.com/show_bug.cgi?id=160795. + We renice the gnome-web-photo process if it is being used as a thumbnailer. * Wed Feb 01 2006 - jpr@suse.de - Alter the default config so a working thumbnail command line is used * Wed Jan 25 2006 - mls@suse.de ++++++ gnome-web-photo-160795-renice-when-thumbnailing.diff ++++++ 2006-04-04 Federico Mena Quintero <federico@novell.com> * src/main.cpp (main): If we are thumbnailing, set a nice() value of 5. It is likely that Beagle or Nautilus will call us multiple times in sequence in order to thumbnail a bunch of HTML files. --- gnome-web-photo-0.1.1.orig/src/main.cpp 2005-11-26 11:18:58.000000000 -0600 +++ gnome-web-photo-0.1.1/src/main.cpp 2006-04-04 15:32:49.000000000 -0500 @@ -421,6 +421,14 @@ main (int argc, char **argv) LOG ("Mode detection: %s -> %d\n", program, mode); } + /* Renice when thumbnailing, since it is likely that Beagle or Nautilus will + * call us multiple times in sequence in order to thumbnail a bunch of HTML + * files. + */ + if (mode == MODE_THUMBNAIL) { + nice (5); + } + /* Check size */ if (mode == MODE_THUMBNAIL) { if (size == -1) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...