Hello community, here is the log from the commit of package gnome-applets checked in at Fri Sep 14 16:11:50 CEST 2007. -------- --- GNOME/gnome-applets/gnome-applets.changes 2007-09-13 08:27:19.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnome-applets/gnome-applets.changes 2007-09-14 03:44:23.384253000 +0200 @@ -1,0 +2,11 @@ +Fri Sep 14 03:44:04 CEST 2007 - federico@novell.com + +- Added gnome-applets-309796-mixer-applet-reduce-wakeups.diff to fix + https://bugzilla.novell.com/show_bug.cgi?id=309796 - the mixer + applet would wake up 10 times per second to poll the volume on the + sound card. This reduces polling to once per second, and helps + reduce power consumption on mobile processors. A complete fix to + use GStreamer/ALSA notifications instead of polling will be + available in the future. + +------------------------------------------------------------------- New: ---- gnome-applets-309796-mixer-applet-reduce-wakeups.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-applets.spec ++++++ --- /var/tmp/diff_new_pack.zY3515/_old 2007-09-14 16:11:10.000000000 +0200 +++ /var/tmp/diff_new_pack.zY3515/_new 2007-09-14 16:11:10.000000000 +0200 @@ -33,7 +33,7 @@ Requires: gnome-media %endif Version: 2.19.1 -Release: 28 +Release: 30 Requires: %{name}-lang = %{version} Summary: A Collection of Useful Programs for the GNOME 2.x Desktop Panel Source: %{name}-%{version}.tar.bz2 @@ -46,11 +46,10 @@ Patch24: gnome-applets-modemlights-smpppd.patch Patch27: gnome-applets-autobuild-warning.patch Patch28: gnome-applets-216201-kbd-indicator-crash.patch -URL: http://www.gnome.org/ +Patch29: gnome-applets-309796-mixer-applet-reduce-wakeups.diff +Url: http://www.gnome.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build - %py_requires - %gconf_schemas_prereq %description @@ -143,6 +142,7 @@ %patch27 # FIXME: Do we still need this? # %patch28 +%patch29 -p1 gnome-patch-translation-update %build @@ -204,7 +204,6 @@ %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a - %fdupes $RPM_BUILD_ROOT %clean @@ -217,7 +216,6 @@ #%%run_permissions #%%verifyscript #%%verify_permissions -e %{_bindir}/cpufreq-selector - %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun @@ -256,6 +254,14 @@ %{_libdir}/pkgconfig/*.pc %changelog +* Fri Sep 14 2007 - federico@novell.com +- Added gnome-applets-309796-mixer-applet-reduce-wakeups.diff to fix + https://bugzilla.novell.com/show_bug.cgi?id=309796 - the mixer + applet would wake up 10 times per second to poll the volume on the + sound card. This reduces polling to once per second, and helps + reduce power consumption on mobile processors. A complete fix to + use GStreamer/ALSA notifications instead of polling will be + available in the future. * Thu Sep 13 2007 - stbinner@suse.de - fix documentation %%lang tagging - moves 2.8MB to -lang package * Fri Aug 10 2007 - coolo@suse.de ++++++ gnome-applets-309796-mixer-applet-reduce-wakeups.diff ++++++ 2007-08-27 Federico Mena Quintero <federico@novell.com> Quick fix for https://bugzilla.novell.com/show_bug.cgi?id=309796 * applet.c (gnome_volume_applet_setup): Use g_timeout_add_seconds(); update the volume applet once a second instead of 10 times per second. This is not a real fix for http://bugzilla.gnome.org/show_bug.cgi?id=370937 --- which is about using GStreamer notifications instead of polling, but it will have to do in the meantime. Feel free to remove this patch once upstream integrates the full patch to support GStreamer notifications instead of polling. diff --git a/mixer/applet.c b/mixer/applet.c index 0c78b34..801fa83 100644 --- a/mixer/applet.c +++ b/mixer/applet.c @@ -437,7 +437,7 @@ gnome_volume_applet_setup (GnomeVolumeApplet *applet, gnome_volume_applet_refresh (applet, TRUE); if (res) { - applet->timeout = g_timeout_add (100, cb_check, applet); + applet->timeout = g_timeout_add_seconds (1, cb_check, applet); } if (res) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de