Hello community, here is the log from the commit of package gnome-settings-daemon.3089 for openSUSE:13.1:Update checked in at 2014-11-03 12:29:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1:Update/gnome-settings-daemon.3089 (Old) and /work/SRC/openSUSE:13.1:Update/.gnome-settings-daemon.3089.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-settings-daemon.3089" Changes: -------- New Changes file: --- /dev/null 2014-10-24 22:03:51.036034256 +0200 +++ /work/SRC/openSUSE:13.1:Update/.gnome-settings-daemon.3089.new/gnome-settings-daemon.changes 2014-11-03 12:29:28.000000000 +0100 @@ -0,0 +1,3006 @@ +------------------------------------------------------------------- +Mon Oct 20 19:36:15 UTC 2014 - dims...@opensuse.org + +- Add gnome-settings-daemon-no-lockscreen-screenshot.patch: + + media-keys: Disallow screenshots when locked (boo#900031, + bgo#737456, CVE-2014-7300). + +------------------------------------------------------------------- +Tue Jun 3 14:46:54 UTC 2014 - zai...@opensuse.org + +- Update to version 3.10.3 (bnc#871232): + + Housekeeping: Don't follow symlinks to subdirectories. + + Keyboard: Apply num-lock to newly connected keyboards. + + Mouse: Avoid X errors, and thus a crash, in some cases. + + Power: + - Fix wakeup with some keymaps. + - Fix restarting of the lid inhibitor check timer. + + Updates: Remove the unconditional clearing of the offline + updates message. + + Wacom: Add OLED handling over Bluetooth for the Intuos4 + Wireless tablets. + + XSettings: + - Export Gtk/ShellShowsDesktop setting so that Gtk can decide + whether to show the 'Desktop' item in the places sidebar. + - Use primary monitor for scaling factor. + - Disable scaling factor on HDMI outputs. + - Enable hidpi scaling on 4K monitors. + - Never turn on hi-dpi support for small resolutions. + +------------------------------------------------------------------- +Mon Mar 31 05:14:27 UTC 2014 - cxi...@suse.com + +- The default blank timeout is too short, set it longer + (bnc#869685). + +------------------------------------------------------------------- +Thu Feb 6 15:03:34 UTC 2014 - lpecha...@suse.cz + +- Add gnome-settings-daemon-upower-fix.patch: avoid immediate + hibernation/poweroff caused by GSD power plugin not being able to + determine battery charge (bnc#861365). + +------------------------------------------------------------------- +Sat Nov 23 13:23:57 UTC 2013 - dims...@opensuse.org + +- Add gnome-settings-daemon-backlight-stepping.patch: Use + min_backlight_step or 5% increments whichever is larger. + (bnc#850137, bgo#710380). + +------------------------------------------------------------------- +Tue Nov 12 19:38:35 UTC 2013 - dims...@opensuse.org + +- Update to version 3.10.2 (bnc#849913): + + Media-keys: + - Fix 2nd MPRIS client never being used. + - Make "Pause" work for MPRIS clients. + - Make the "shutdown" action not be interactive. + - Allow the power key in more places. + + Power: + - Fix time to empty with multiple batteries. + + XRandR: + - Prevent possible overflows handling timestamps. + + XSettings: + - Unwatch dbus before destroying xsettings managers. + +------------------------------------------------------------------- +Wed Oct 16 06:48:08 UTC 2013 - dims...@opensuse.org + +- Update to version 3.10.1: + + Several small cleanups and memory leak fixes. + + Housekeeping: Do not scan the cache directories if not needed. + + Keyboard: Don't set the XKB group switching option when not + needed. + + Media-keys: Use a gsettings key for the maximum screencast + length. + + Mouse: Enable edge scrolling if two-finger scroll is + unavailable (this time for good) (bnc#845641). + + Power: + - Add test case for lack of warning on startup. + - Fix notifications not showing on critical battery. + - Fix warning when keyboard backlight isn't available. + - Never show a mouse as the status icon. + + Updates: + - Add a 'Not Now' button to the distribution upgrade + notification. + - Do not show multiple notifications when updates are + available. + - Raise PackageKit dependency to 0.8.1 to avoid complexity. + + Wacom: + - Fix a couple of crashes. + - Fix default area ordering. + - Fix failure to get area with the cursor device. + - Implement resetting the tablet area to default. + - Make OSD work again. + - Remove Tablet PC setting as we don't have UI for it. + + XRandR: Don't save the temporary configurations generated by + rotate buttons or FN+F7. +- Rebase gnome-settings-daemon-bnc462640-mute-action.patch. + +------------------------------------------------------------------- +Fri Sep 27 09:58:04 UTC 2013 - dims...@opensuse.org + +- Drop gnome-packagekit-BNC383261.patch: patch has been disabled + for more than 2 years and nobody missed the feature (bnc#689592). + +------------------------------------------------------------------- +Tue Sep 24 12:10:20 UTC 2013 - dims...@opensuse.org + +- Update to version 3.10.0: + + Date & Time: + - Fix possible crasher due to clash between json-c and + json-glib. + + Mouse: + - Fix critical warning with touchpad settings. + + Power: + - Fix laptop suspend when lid is closed even if external + monitor is present. + - Test fixes, add test with a failing device battery. + + Smartcard: + - Fix run-time warning. + +------------------------------------------------------------------- +Thu Sep 19 13:20:55 UTC 2013 - idon...@suse.com + +- Introduce with_wacom defines, set to 0 on s390{x}, otherwise 1: + + Disable wacom support on s390{x}, those machines have no + viable input ports. + + Have pkgconfig(libwacom) and pkgconfig(xorg-wacom) + BuildRequries depend on with_wacom. + +------------------------------------------------------------------- +Tue Sep 17 21:02:03 UTC 2013 - dims...@opensuse.org + +- Update to version 3.9.92: + + Several fixes to the test suite. + + Color: + - Correct the transposed bits in the EDID parser. + + Datetime: + - Set geoclue distance threshold. + + Power: + - Fix a crash when hibernating on low power. + - Ignore battery devices that aren't present. + - Update the composite device on startup. + - Default to the keyboard backlight being unavailable. + + Updates: + - Fix a crash. + - Use gnome-software if it is installed. + - Do not clear the offline-update if rebooting succeeded. + + Wacom: + - Fix a crash. + +------------------------------------------------------------------- +Fri Sep 6 17:56:00 UTC 2013 - dims...@opensuse.org + +- Drop gnome-packagekit-fate302445.patch (was marked for rebase): + since smolt was dropped from openSUSE back in October 2012, there + is no need to ever revive this patch. +- Drop gnome-settings-daemon-apport-monitor.patch (was marked for + rebase): the patch was disable prior to GNOME 3.0 back in 2010 + and nobody cared. +- Drop gnome-settings-daemon-add-layout-switcher.patch (was marked + for rebase): Has not been applied since version 3.0.0 and the + upstream bug is marked as fixed. + +------------------------------------------------------------------- +Wed Sep 4 07:13:34 UTC 2013 - dims...@opensuse.org + +- Update to version 3.9.91.1: + + Datetime: + - Adapt to geoclue 1.99.3 api changes. + + Screensaver: + - Support KDE variant of interface. + - Fix a crash. +- Add pkgconfig(geoclue-2.0) BuildRequires: needed to identify the + geoclue 1.99.3 API presence. + +------------------------------------------------------------------- +Tue Sep 3 06:42:09 UTC 2013 - dims...@opensuse.org + +- Update to version 3.9.91: + + Datetime: + - Avoid popping up polkit password prompts. + - Display notifications on timezone changes. + - Use reverse geocoding fror country detection. + - Use libgweather timezone info too. + + Power: + - Fix error handling in dbus API, avoiding assertions. + + Printer: + - Allow building against cups 1.5. + + Remote display: + - Disable animations in more situations. + + Rfkill: + - Fix a crash. + + Smartcard: + - Ignore softtoken. + + Updates: + - Add a test application. ++++ 2809 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:13.1:Update/.gnome-settings-daemon.3089.new/gnome-settings-daemon.changes New: ---- gnome-configure-timeout-blank.patch gnome-settings-daemon-3.10.3.tar.xz gnome-settings-daemon-backlight-stepping.patch gnome-settings-daemon-bnc462640-mute-action.patch gnome-settings-daemon-no-lockscreen-screenshot.patch gnome-settings-daemon-notify-idle-resumed.patch gnome-settings-daemon-stop-reload-proxy-settings.patch gnome-settings-daemon-system-proxy-configuration.diff gnome-settings-daemon-upower-fix.patch gnome-settings-daemon.changes gnome-settings-daemon.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-settings-daemon.spec ++++++ # # spec file for package gnome-settings-daemon # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # We cannot enable systemd support right now, as it is exclusive and means we # lose ConsoleKit support (bad for sysvinit) %define with_systemd 1 # Allow to enable/disable ibus, as GNOME is rather strict on new versions. %define with_ibus 1 # Smart-Card support is disabled in version 3.7.3 %define with_smartcard 1 # Wacom input support %ifarch s390 s390x %define with_wacom 0 %else %define with_wacom 1 %endif Name: gnome-settings-daemon Version: 3.10.3 Release: 0 Summary: Settings daemon for the GNOME desktop License: GPL-2.0+ Group: System/GUI/GNOME Url: http://www.gnome.org Source: http://download.gnome.org/sources/gnome-settings-daemon/3.10/%{name}-%{version}.tar.xz # PATCH-NEEDS-REBASE gnome-settings-daemon-system-proxy-configuration.diff Patch2: gnome-settings-daemon-system-proxy-configuration.diff # PATCH-FEATURE-UPSTREAM gnome-settings-daemon-bnc462640-mute-action.patch bnc462640 bgo572365 vu...@novell.com -- Mute button should always mute sound instead of toggling mute status Patch10: gnome-settings-daemon-bnc462640-mute-action.patch # PATCH-FIX-OPENSUSE gnome-settings-daemon-stop-reload-proxy-settings.patch bnc689592#c1, bnc#538353 g...@suse.com -- Stop g-s-d poping up the authentication dialog for reloading the proxy settings Patch17: gnome-settings-daemon-stop-reload-proxy-settings.patch # PATCH-FEATURE-UPSTREAM gnome-settings-daemon-notify-idle-resumed.patch bnc#439018 bnc#708182 bgo#575467 h...@suse.com -- notify user about auto suspend when returning from sleep Patch19: gnome-settings-daemon-notify-idle-resumed.patch # PATCH-FIX-UPSTREAM gnome-settings-daemon-backlight-stepping.patch bnc#850137 bgo#710380 dims...@opensuse.org -- Use min_backlight_step or 5% increments whichever is larger Patch20: gnome-settings-daemon-backlight-stepping.patch # PATCH-FIX-OPENSUSE gnome-settings-daemon-upower-fix.patch bnc#861365 lpecha...@suse.cz -- Fixup gnome-settings-daemon-upower-backport.patch Patch22: gnome-settings-daemon-upower-fix.patch # PATCH-FIX-OPENSUSE gnome-configure-timeout-blank.patch bnc#869685 gnome-configure-timeout-blank.patch Patch23: gnome-configure-timeout-blank.patch # PATCH-FIX-UPSTREAM gnome-settings-daemon-no-lockscreen-screenshot.patch boo#900031 bgo#737456 CVE-2014-7300 dims...@opensuse.org -- media-keys: Disallow screenshots when locked Patch24: gnome-settings-daemon-no-lockscreen-screenshot.patch BuildRequires: cups-devel BuildRequires: fdupes BuildRequires: gnome-common # Disabled because of the non-rebased patches #BuildRequires: gnome-patch-translation BuildRequires: intltool BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: xsltproc # For directory ownership; it's fine to BuildRequire it since it's also a Requires BuildRequires: polkit BuildRequires: pkgconfig(colord) >= 1.0.2 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gconf-2.0) >= 2.6.1 BuildRequires: pkgconfig(geoclue-2.0) BuildRequires: pkgconfig(geocode-glib-1.0) >= 3.10.0 BuildRequires: pkgconfig(glib-2.0) >= 2.37.7 BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.9.0 BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.9.91 BuildRequires: pkgconfig(gtk+-3.0) >= 3.7.8 BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(gweather-3.0) >= 3.9.5 %if %{with_ibus} BuildRequires: pkgconfig(ibus-1.0) >= 1.4.99 %endif BuildRequires: pkgconfig(kbproto) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(libnotify) >= 0.7.3 BuildRequires: pkgconfig(libpulse) >= 2.0 BuildRequires: pkgconfig(libpulse-mainloop-glib) >= 2.0 BuildRequires: pkgconfig(librsvg-2.0) >= 2.36.2 %if %{with_systemd} BuildRequires: pkgconfig(libsystemd-login) %endif %if %{with_wacom} BuildRequires: pkgconfig(libwacom) >= 0.7 BuildRequires: pkgconfig(xorg-wacom) %endif BuildRequires: pkgconfig(nss) BuildRequires: pkgconfig(packagekit-glib2) >= 0.8.1 BuildRequires: pkgconfig(pango) >= 1.20.0 BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103 BuildRequires: pkgconfig(upower-glib) >= 0.9.11 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xkbfile) BuildRequires: pkgconfig(xtst) Requires: gsettings-desktop-schemas # g-s-d uses the pkexec binary Requires: polkit Recommends: %{name}-lang # For housekeeping plugin, that uses the nautilus dbus service Recommends: nautilus Obsoletes: resapplet BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description gnome-settings-daemon provides a daemon run by all GNOME sessions to provide live access to configuration settings and the changes done to them as well as basic services like a clipboard manager, controlling the startup of the screensaver, etc. This module was previously part of GNOME Control Center, but has been splitted from it for a more general use. %package devel Summary: Development package for the GNOME settings daemon Group: System/GUI/GNOME Requires: %{name} = %{version} %description devel gnome-settings-daemon provides a daemon run by all GNOME sessions to provide live access to configuration settings and the changes done to them as well as basic services like a clipboard manager, controlling the startup of the screensaver, etc. This package includes header files used for client applications to contact the settings daemon via its DBus interface. %lang_package %prep %setup -q translation-update-upstream # Disabled because of the non-rebased patches #gnome-patch-translation-prepare #%%patch2 -p0 %patch10 -p0 %patch17 -p1 %patch19 -p1 %patch20 -p1 %patch22 -p1 %patch23 %patch24 -p1 %build autoreconf -f -i %configure\ %if %{with_systemd} --enable-systemd \ %endif --enable-gconf-bridge \ --disable-static \ --with-pnpids=%{_datadir}/libgnome-desktop-3.0/pnp.ids \ --libexecdir=%{_libexecdir}/gnome-settings-daemon-3.0 \ %if %{with_ibus} --enable-ibus %else --disable-ibus %endif make %{?jobs:-j%jobs} V=1 %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %suse_update_desktop_file gnome-settings-daemon %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot} %clean rm -rf %{buildroot} %post %glib2_gsettings_schema_post %icon_theme_cache_post %postun %glib2_gsettings_schema_postun %icon_theme_cache_postun %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS %if %{with_ibus} %{_datadir}/dbus-1/services/org.freedesktop.IBus.service %endif %{_datadir}/gnome-settings-daemon/ %{_datadir}/gnome-settings-daemon-3.0/ %dir %{_libexecdir}/gnome-settings-daemon-3.0/ %{_libexecdir}/gnome-settings-daemon-3.0/gnome-settings-daemon %{_libexecdir}/gnome-settings-daemon-3.0/gnome-settings-daemon-localeexec %{_libexecdir}/gnome-settings-daemon-3.0/gsd-backlight-helper %{_libexecdir}/gnome-settings-daemon-3.0/gsd-locate-pointer %{_libexecdir}/gnome-settings-daemon-3.0/gsd-printer %{_libexecdir}/gnome-settings-daemon-3.0/gsd-test-* # From patch2 #%{_libexecdir}/novell-sysconfig-proxy-helper %dir %{_libdir}/gnome-settings-daemon-3.0/ %{_libdir}/gnome-settings-daemon-3.0/libgsd.so %{_libdir}/gnome-settings-daemon-3.0/*.gnome-settings-plugin # Explicitly list all the plugins so we know we don't lose any %{_libdir}/gnome-settings-daemon-3.0/liba11y-keyboard.so %{_libdir}/gnome-settings-daemon-3.0/liba11y-settings.so %{_libdir}/gnome-settings-daemon-3.0/libclipboard.so %{_libdir}/gnome-settings-daemon-3.0/libcolor.so %{_libdir}/gnome-settings-daemon-3.0/libcursor.so %{_libdir}/gnome-settings-daemon-3.0/libdatetime.so %{_libdir}/gnome-settings-daemon-3.0/libhousekeeping.so %{_libdir}/gnome-settings-daemon-3.0/libkeyboard.so %{_libdir}/gnome-settings-daemon-3.0/libmedia-keys.so %{_libdir}/gnome-settings-daemon-3.0/libmouse.so %{_libdir}/gnome-settings-daemon-3.0/liborientation.so %{_libdir}/gnome-settings-daemon-3.0/libpower.so %{_libdir}/gnome-settings-daemon-3.0/libprint-notifications.so %{_libdir}/gnome-settings-daemon-3.0/libremote-display.so %{_libdir}/gnome-settings-daemon-3.0/librfkill.so %{_libdir}/gnome-settings-daemon-3.0/libscreensaver-proxy.so %if %{with_smartcard} %{_libdir}/gnome-settings-daemon-3.0/libsmartcard.so %endif %{_libdir}/gnome-settings-daemon-3.0/libsound.so %{_libdir}/gnome-settings-daemon-3.0/libupdates.so %{_libdir}/gnome-settings-daemon-3.0/libxrandr.so %{_libdir}/gnome-settings-daemon-3.0/libxsettings.so %{_sysconfdir}/xdg/autostart/gnome-settings-daemon.desktop %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.peripherals.wacom.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.color.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.datetime.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.housekeeping.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.keyboard.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.media-keys.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.orientation.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.print-notifications.gschema.xml # From patch2 #%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.proxy.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xrandr.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.xsettings.gschema.xml %{_datadir}/icons/hicolor/*/apps/gsd-xrandr.* %{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.power.policy %{_mandir}/man1/gnome-settings-daemon.1%{?ext_man} # Own the directory since we can't depend on gconf providing them %dir %{_datadir}/GConf %dir %{_datadir}/GConf/gsettings %{_datadir}/GConf/gsettings/gnome-settings-daemon.convert %if %{with_wacom} %{_datadir}/polkit-1/actions/org.gnome.settings-daemon.plugins.wacom.policy %{_libexecdir}/gnome-settings-daemon-3.0/gsd-list-wacom %{_libexecdir}/gnome-settings-daemon-3.0/gsd-wacom-led-helper %{_libexecdir}/gnome-settings-daemon-3.0/gsd-wacom-oled-helper %{_libdir}/gnome-settings-daemon-3.0/libgsdwacom.so %endif %files lang -f %{name}.lang %files devel %defattr (-, root, root) %{_includedir}/gnome-settings-daemon-3.0/ %{_libdir}/pkgconfig/gnome-settings-daemon.pc %changelog ++++++ gnome-configure-timeout-blank.patch ++++++ Index: plugins/power/gsd-power-constants.h =================================================================== --- plugins/power/gsd-power-constants.h.orig 2013-11-12 01:25:13.000000000 +0800 +++ plugins/power/gsd-power-constants.h 2014-03-31 13:45:03.155720696 +0800 @@ -19,7 +19,7 @@ */ /* The blank delay when the screensaver is active */ -#define SCREENSAVER_TIMEOUT_BLANK 15 /* seconds */ +#define SCREENSAVER_TIMEOUT_BLANK 300 /* seconds */ /* The dim delay when dimming on idle is requested but idle-delay * is set to "Never" */ Index: plugins/power/gsd-power-manager.c =================================================================== --- plugins/power/gsd-power-manager.c.orig 2014-03-31 13:45:03.146720439 +0800 +++ plugins/power/gsd-power-manager.c 2014-03-31 13:45:03.156720725 +0800 @@ -2831,8 +2831,8 @@ handle_screensaver_active (GsdPowerManag * and its fade has finished. * * See also idle_configure() */ - if (active) - idle_set_mode (manager, GSD_POWER_IDLE_MODE_BLANK); + /* if (active) */ + /* idle_set_mode (manager, GSD_POWER_IDLE_MODE_BLANK); */ } } ++++++ gnome-settings-daemon-backlight-stepping.patch ++++++ >From 28c4f287523607cd24bcb62b25bf83691036fadd Mon Sep 17 00:00:00 2001 From: Asad Mehmood <asad78...@googlemail.com> Date: Thu, 17 Oct 2013 16:41:44 +0100 Subject: [PATCH] power: use gnome_rr_output_get_min_backlight_step Use min_backlight_step or 5% increments whichever is larger https://bugzilla.gnome.org/show_bug.cgi?id=710380 --- plugins/power/gpm-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c index 81af0b7..81dc048 100644 --- a/plugins/power/gpm-common.c +++ b/plugins/power/gpm-common.c @@ -1275,7 +1275,7 @@ backlight_step_up (GnomeRRScreen *rr_screen, GError **error) now = gnome_rr_output_get_backlight (output); if (now < 0) return percentage_value; - step = BRIGHTNESS_STEP_AMOUNT (max - min + 1); + step = MAX (gnome_rr_output_get_min_backlight_step (output), BRIGHTNESS_STEP_AMOUNT (max - min + 1)); discrete = MIN (now + step, max); ret = gnome_rr_output_set_backlight (output, discrete, @@ -1334,7 +1334,7 @@ backlight_step_down (GnomeRRScreen *rr_screen, GError **error) now = gnome_rr_output_get_backlight (output); if (now < 0) return percentage_value; - step = BRIGHTNESS_STEP_AMOUNT (max - min + 1); + step = MAX (gnome_rr_output_get_min_backlight_step (output), BRIGHTNESS_STEP_AMOUNT (max - min + 1)); discrete = MAX (now - step, 0); ret = gnome_rr_output_set_backlight (output, discrete, -- 1.8.4.1 ++++++ gnome-settings-daemon-bnc462640-mute-action.patch ++++++ Index: plugins/media-keys/gsd-media-keys-manager.c =================================================================== --- plugins/media-keys/gsd-media-keys-manager.c.orig +++ plugins/media-keys/gsd-media-keys-manager.c @@ -1211,6 +1211,7 @@ do_sound_action (GsdMediaKeysManager *ma { GvcMixerStream *stream; gboolean old_muted, new_muted; + gboolean toggle_mute; guint old_vol, new_vol, norm_vol_step; gboolean sound_changed; @@ -1239,7 +1240,11 @@ do_sound_action (GsdMediaKeysManager *ma switch (type) { case MUTE_KEY: - new_muted = !old_muted; + toggle_mute = g_settings_get_boolean (manager->priv->settings, "toggle-mute"); + if (toggle_mute) + new_muted = !old_muted; + else + new_muted = TRUE; break; case VOLUME_DOWN_KEY: if (old_vol <= norm_vol_step) { Index: data/gnome-settings-daemon.convert =================================================================== --- data/gnome-settings-daemon.convert.orig +++ data/gnome-settings-daemon.convert @@ -57,6 +57,7 @@ volume-down = /apps/gnome_settings_daemo volume-mute = /apps/gnome_settings_daemon/keybindings/volume_mute volume-up = /apps/gnome_settings_daemon/keybindings/volume_up www = /apps/gnome_settings_daemon/keybindings/www +toggle-mute = /apps/gnome_settings_daemon/toggle_mute [org.gnome.settings-daemon.plugins.mouse] active = /apps/gnome_settings_daemon/plugins/mouse/active Index: data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in =================================================================== --- data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in.orig +++ data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in @@ -185,6 +185,11 @@ <summary>Maximum length of screen recordings</summary> <description>The maximum length of single screen cast recordings in seconds or 0 for unlimited</description> </key> + <key name="toggle-mute" type="b"> + <default>true</default> + <_summary>Toggle Mute</_summary> + <_description>Toggle the sound mixer's mute status when then mute button is pressed.</_description> + </key> </schema> <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.plugins.media-keys.custom-keybinding"> ++++++ gnome-settings-daemon-no-lockscreen-screenshot.patch ++++++ >From e6cc91f842668e6674309779df4b38f590c8388e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuell...@gnome.org> Date: Tue, 7 Oct 2014 11:57:31 +0200 Subject: [PATCH] media-keys: Disallow screenshots when locked Allowing random people to create files in the user's home folder while the screen is locked is unexpected at best, so block the corresponding shortcuts (while still allowing taking screenshots to the clipboard for bug reports/reviews etc.). While at it, adjust the shortcut for screencasts as well (though the change their is purely informational, as screencasts are already blocked by the shell while locked). https://bugzilla.gnome.org/show_bug.cgi?id=737456 --- plugins/media-keys/shortcuts-list.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/media-keys/shortcuts-list.h b/plugins/media-keys/shortcuts-list.h index 20e1c9d..de9fde2 100644 --- a/plugins/media-keys/shortcuts-list.h +++ b/plugins/media-keys/shortcuts-list.h @@ -27,6 +27,7 @@ #define GSD_KEYBINDING_MODE_LAUNCHER (SHELL_KEYBINDING_MODE_NORMAL | \ SHELL_KEYBINDING_MODE_OVERVIEW) #define SCREENSAVER_MODE SHELL_KEYBINDING_MODE_ALL & ~SHELL_KEYBINDING_MODE_UNLOCK_SCREEN +#define NO_LOCK_MODE SCREENSAVER_MODE & ~SHELL_KEYBINDING_MODE_LOCK_SCREEN #define POWER_KEYS_MODE (SHELL_KEYBINDING_MODE_NORMAL | \ SHELL_KEYBINDING_MODE_OVERVIEW | \ SHELL_KEYBINDING_MODE_LOGIN_SCREEN) @@ -62,13 +63,13 @@ static struct { { SCREENSAVER_KEY, "screensaver", NULL, NULL, SCREENSAVER_MODE }, { SCREENSAVER_KEY, NULL, N_("Lock Screen"), "XF86ScreenSaver", SCREENSAVER_MODE }, { HELP_KEY, "help", NULL, NULL, GSD_KEYBINDING_MODE_LAUNCHER }, - { SCREENSHOT_KEY, "screenshot", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, - { WINDOW_SCREENSHOT_KEY, "window-screenshot", NULL, NULL, SHELL_KEYBINDING_MODE_NORMAL }, - { AREA_SCREENSHOT_KEY, "area-screenshot", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, + { SCREENSHOT_KEY, "screenshot", NULL, NULL, NO_LOCK_MODE }, + { WINDOW_SCREENSHOT_KEY, "window-screenshot", NULL, NULL, NO_LOCK_MODE }, + { AREA_SCREENSHOT_KEY, "area-screenshot", NULL, NULL, NO_LOCK_MODE }, { SCREENSHOT_CLIP_KEY, "screenshot-clip", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, { WINDOW_SCREENSHOT_CLIP_KEY, "window-screenshot-clip", NULL, NULL, SHELL_KEYBINDING_MODE_NORMAL }, { AREA_SCREENSHOT_CLIP_KEY, "area-screenshot-clip", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, - { SCREENCAST_KEY, "screencast", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, + { SCREENCAST_KEY, "screencast", NULL, NULL, NO_LOCK_MODE }, { WWW_KEY, "www", NULL, NULL, GSD_KEYBINDING_MODE_LAUNCHER }, { PLAY_KEY, "play", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, { PAUSE_KEY, "pause", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, -- 2.1.0 ++++++ gnome-settings-daemon-notify-idle-resumed.patch ++++++ Index: gnome-settings-daemon-3.9.3/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in =================================================================== --- gnome-settings-daemon-3.9.3.orig/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in +++ gnome-settings-daemon-3.9.3/data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in @@ -106,5 +106,10 @@ <_summary>If we should show the recalled battery warning for a broken battery</_summary> <_description>If we should show the recalled battery warning for a broken battery. Set this to false only if you know your battery is okay.</_description> </key> + <key name="notify-idle-resumed" type="b"> + <default>true</default> + <_summary>If an information message should be displayed when returning from idle sleep.</_summary> + <_description>If an information message should be displayed when returning from idle sleep.</_description> + </key> </schema> </schemalist> Index: gnome-settings-daemon-3.9.3/plugins/power/gsd-power-manager.c =================================================================== --- gnome-settings-daemon-3.9.3.orig/plugins/power/gsd-power-manager.c +++ gnome-settings-daemon-3.9.3/plugins/power/gsd-power-manager.c @@ -183,6 +183,7 @@ struct GsdPowerManagerPrivate NotifyNotification *notification_low; NotifyNotification *notification_sleep_warning; NotifyNotification *notification_logout_warning; + NotifyNotification *notification_resumed; GsdPowerActionType sleep_action_type; gboolean battery_is_low; /* laptop battery low, or UPS discharging */ @@ -208,6 +209,7 @@ struct GsdPowerManagerPrivate gboolean inhibit_suspend_taken; guint inhibit_lid_switch_timer_id; gboolean is_virtual_machine; + GsdPowerActionType last_idle_power_action; /* Idles */ GnomeIdleMonitor *idle_monitor; @@ -2339,6 +2341,49 @@ is_session_active (GsdPowerManager *mana } static void +show_resumed_notification (GsdPowerManager *manager) +{ + GError *error = NULL; + gboolean ret; + + /* don't show when running under GDM */ + if (g_getenv ("RUNNING_UNDER_GDM") != NULL) { + g_debug ("running under gdm, so no notification"); + return; + } + + ret = g_settings_get_boolean (manager->priv->settings, "notify-idle-resumed"); + if (!ret) + return; + + /* close any existing notification of this class */ + notify_close_if_showing (manager->priv->notification_resumed); + + /* create a new notification */ + create_notification (_("System resumed from sleep"), + _("The system automatically went to sleep because the system was idle."), + NULL, + &manager->priv->notification_resumed); + notify_notification_set_timeout (manager->priv->notification_resumed, + GSD_POWER_MANAGER_NOTIFY_TIMEOUT_SHORT); + notify_notification_set_urgency (manager->priv->notification_resumed, + NOTIFY_URGENCY_NORMAL); + /* TRANSLATORS: this is the notification application name */ + notify_notification_set_app_name (manager->priv->notification_resumed, _("Power")); + notify_notification_set_hint (manager->priv->notification_resumed, + "transient", g_variant_new_boolean (TRUE)); + + /* try to show */ + ret = notify_notification_show (manager->priv->notification_resumed, + &error); + if (!ret) { + g_warning ("failed to show notification: %s", error->message); + g_error_free (error); + g_object_unref (manager->priv->notification_resumed); + } +} + +static void idle_set_mode (GsdPowerManager *manager, GsdPowerIdleMode mode) { gboolean ret = FALSE; @@ -2431,6 +2476,8 @@ idle_set_mode (GsdPowerManager *manager, action_type = g_settings_get_enum (manager->priv->settings, "sleep-inactive-ac-type"); } + + manager->priv->last_idle_power_action = action_type; do_power_action_type (manager, action_type); /* turn on screen and restore user-selected brightness level */ @@ -2477,7 +2524,6 @@ idle_set_mode (GsdPowerManager *manager, } manager->priv->kbd_brightness_pre_dim = -1; } - } } @@ -3252,6 +3298,12 @@ handle_resume_actions (GsdPowerManager * notify_close_if_showing (&manager->priv->notification_ups_discharging); main_battery_or_ups_low_changed (manager, FALSE); + if (manager->priv->last_idle_power_action == GSD_POWER_ACTION_SUSPEND || + manager->priv->last_idle_power_action == GSD_POWER_ACTION_HIBERNATE) + show_resumed_notification (manager); + + manager->priv->last_idle_power_action = GSD_POWER_ACTION_NOTHING; + /* ensure we turn the panel back on after resume */ backlight_enable (manager); ++++++ gnome-settings-daemon-stop-reload-proxy-settings.patch ++++++ diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c index a81aa1f..5c193e9 100644 --- a/plugins/updates/gsd-updates-manager.c +++ b/plugins/updates/gsd-updates-manager.c @@ -995,6 +995,7 @@ set_proxy_cb (GObject *object, GAsyncResult *res, gpointer user_data) static void reload_proxy_settings (GsdUpdatesManager *manager) { +#if 0 gchar *proxy_http; gchar *proxy_ftp; @@ -1011,6 +1012,7 @@ reload_proxy_settings (GsdUpdatesManager *manager) g_free (proxy_http); g_free (proxy_ftp); +#endif } static void ++++++ gnome-settings-daemon-system-proxy-configuration.diff ++++++ ++++ 1185 lines (skipped) ++++++ gnome-settings-daemon-upower-fix.patch ++++++ Index: gnome-settings-daemon-3.10.2/plugins/power/gsd-power-manager.c =================================================================== --- gnome-settings-daemon-3.10.2.orig/plugins/power/gsd-power-manager.c +++ gnome-settings-daemon-3.10.2/plugins/power/gsd-power-manager.c @@ -909,7 +909,7 @@ device_perhaps_recall (GsdPowerManager * static void engine_device_add (GsdPowerManager *manager, UpDevice *device) { - gboolean recall_notice; + gboolean recall_notice = FALSE; GsdPowerManagerWarning warning; UpDeviceState state; UpDeviceKind kind; @@ -936,6 +936,7 @@ engine_device_add (GsdPowerManager *mana if (kind == UP_DEVICE_KIND_BATTERY) { g_debug ("updating because we added a device"); + g_ptr_array_add (manager->priv->devices_array, g_object_ref (device)); engine_update_composite_device (manager); /* reset those values for the composite device */ @@ -1014,8 +1015,6 @@ engine_coldplug (GsdPowerManager *manage static void engine_device_added_cb (UpClient *client, UpDevice *device, GsdPowerManager *manager) { - /* add to list */ - g_ptr_array_add (manager->priv->devices_array, g_object_ref (device)); engine_device_add (manager, device); engine_check_recall (manager, device); -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org