diff --git a/0001-add-patches-and-build-error.patch b/0001-add-patches-and-build-error.patch deleted file mode 100644 index ae359be99c7d832679474cc4afd485684058f1b9..0000000000000000000000000000000000000000 --- a/0001-add-patches-and-build-error.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f7ce96eee7b9afbeac7eaf7d2950ce1d2b41e279 Mon Sep 17 00:00:00 2001 -From: yueyaoqiang -Date: Mon, 21 Oct 2024 14:49:03 +0800 -Subject: [PATCH] add patches and build error - ---- - plugins/media-keys/msd-media-keys-manager.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c -index f84521d..d1ed2a2 100644 ---- a/plugins/media-keys/msd-media-keys-manager.c -+++ b/plugins/media-keys/msd-media-keys-manager.c -@@ -1262,7 +1262,7 @@ do_action (MsdMediaKeysManager *manager, - case SCREENSAVER_KEY: - if ((cmd = g_find_program_in_path ("kiran-screensaver-command"))) { - execute (manager, "kiran-screensaver-command --lock", FALSE, FALSE); -- else if ((cmd = g_find_program_in_path ("mate-screensaver-command"))) { -+ } else if ((cmd = g_find_program_in_path ("mate-screensaver-command"))) { - execute (manager, "mate-screensaver-command --lock", FALSE, FALSE); - } else { - execute (manager, "xscreensaver-command -lock", FALSE, FALSE); --- -2.27.0 - diff --git a/0001-feature-touchpad-set-the-default-values-of-disable-w.patch b/0001-feature-touchpad-set-the-default-values-of-disable-w.patch deleted file mode 100644 index 62b6dd1c798314e69e159605d5633c511c8271d7..0000000000000000000000000000000000000000 --- a/0001-feature-touchpad-set-the-default-values-of-disable-w.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 191e6facbbb6c730962c1319eda39201bcd7213d Mon Sep 17 00:00:00 2001 -From: yueyaoqiang -Date: Mon, 21 Oct 2024 13:58:36 +0800 -Subject: [PATCH 1/6] feature(touchpad): set the default values of - disable-while-typing and tap-to-click to true - ---- - data/org.mate.peripherals-touchpad.gschema.xml.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/data/org.mate.peripherals-touchpad.gschema.xml.in b/data/org.mate.peripherals-touchpad.gschema.xml.in -index 2755174..72602d8 100644 ---- a/data/org.mate.peripherals-touchpad.gschema.xml.in -+++ b/data/org.mate.peripherals-touchpad.gschema.xml.in -@@ -11,12 +11,12 @@ - - - -- false -+ true - Disable touchpad while typing - Set this to TRUE if you have problems with accidentally hitting the touchpad while typing. - - -- false -+ true - Enable mouse clicks with touchpad - Set this to TRUE to be able to send mouse clicks by tapping on the touchpad. - --- -2.27.0 - diff --git a/0002-fix-mate-display-add-the-window-scale-changed-tip-wi.patch b/0002-fix-mate-display-add-the-window-scale-changed-tip-wi.patch deleted file mode 100644 index 1766134c77e38d29ae81c306f10620d0312818fb..0000000000000000000000000000000000000000 --- a/0002-fix-mate-display-add-the-window-scale-changed-tip-wi.patch +++ /dev/null @@ -1,93 +0,0 @@ -From 5b014f58922e5fd6aae22db94f9233104a5bafe6 Mon Sep 17 00:00:00 2001 -From: yueyaoqiang -Date: Mon, 21 Oct 2024 14:06:29 +0800 -Subject: [PATCH 2/6] fix(mate-display): add the window scale changed tip with - notify - ---- - plugins/xsettings/msd-xsettings-manager.c | 37 +++++++++++++++++++++++ - po/zh_CN.po | 6 ++++ - 2 files changed, 43 insertions(+) - -diff --git a/plugins/xsettings/msd-xsettings-manager.c b/plugins/xsettings/msd-xsettings-manager.c -index c8199da..c7b9eda 100644 ---- a/plugins/xsettings/msd-xsettings-manager.c -+++ b/plugins/xsettings/msd-xsettings-manager.c -@@ -40,6 +40,10 @@ - #include - #include - -+#ifdef HAVE_LIBNOTIFY -+#include -+#endif -+ - #include "mate-settings-profile.h" - #include "msd-xsettings-manager.h" - #include "xsettings-manager.h" -@@ -522,6 +526,38 @@ delayed_toggle_bg_draw (gpointer value) - return G_SOURCE_REMOVE; - } - -+ static void -+info_message (const char *primary_text, const char *secondary_text) -+{ -+#ifdef HAVE_LIBNOTIFY -+ NotifyNotification *notification; -+ -+ notification = notify_notification_new (primary_text, -+ secondary_text, -+ "msd-xrandr"); -+ -+ notify_notification_show (notification, NULL); /* NULL-GError */ -+#else -+ GtkWidget *dialog; -+ -+ dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, -+ "%s", primary_text); -+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", -+ secondary_text); -+ -+ gtk_dialog_run (GTK_DIALOG (dialog)); -+ gtk_widget_destroy (dialog); -+#endif /* HAVE_LIBNOTIFY */ -+} -+ -+static gboolean -+delayed_show_info_msg (gboolean value) -+{ -+ info_message (_("Window zooming"), _("Window zooming has changed,\nsome applications need to logout and login again to work!")); -+ -+ return FALSE; -+} -+ - static void - scale_change_workarounds (MateXSettingsManager *manager, int new_scale, int unscaled_dpi) - { -@@ -587,6 +623,7 @@ scale_change_workarounds (MateXSettingsManager *manager, int new_scale, int unsc - g_timeout_add_seconds (2, delayed_toggle_bg_draw, GBOOLEAN_TO_POINTER (TRUE)); - } - g_object_unref (desktop_settings); -+ g_timeout_add_seconds (2, (GSourceFunc) delayed_show_info_msg, (gpointer) TRUE); - } - - /* Store new scale value */ -diff --git a/po/zh_CN.po b/po/zh_CN.po -index ce95172..ba85f80 100644 ---- a/po/zh_CN.po -+++ b/po/zh_CN.po -@@ -1072,6 +1072,12 @@ msgstr "配置硬件时钟" - msgid "Privileges are required to configure the hardware clock." - msgstr "配置硬件时钟需要权限" - -+msgid "Window zooming" -+msgstr "窗口缩放" -+ -+msgid "Window zooming has changed,\nsome applications need to logout and login again to work!" -+msgstr "窗口缩放已经改变,\n有些应用需要注销再登录才能起作用!" -+ - #: plugins/dummy/dummy.mate-settings-plugin.desktop.in:5 - msgid "Dummy" - msgstr "傻瓜" --- -2.27.0 - diff --git a/0003-fix-plugin-keyboard-not-show-the-xkb-status-icon.patch b/0003-fix-plugin-keyboard-not-show-the-xkb-status-icon.patch deleted file mode 100644 index 04b431479d1bf5fc7fa0d7a8eb4173d93f7f38da..0000000000000000000000000000000000000000 --- a/0003-fix-plugin-keyboard-not-show-the-xkb-status-icon.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 62c0797353645c59c0c087b28507c5a5a09245b8 Mon Sep 17 00:00:00 2001 -From: yueyaoqiang -Date: Mon, 21 Oct 2024 14:10:17 +0800 -Subject: [PATCH 3/6] fix(plugin-keyboard): not show the xkb status icon - ---- - plugins/keyboard/msd-keyboard-xkb.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/plugins/keyboard/msd-keyboard-xkb.c b/plugins/keyboard/msd-keyboard-xkb.c -index 9158fb4..2f85d75 100644 ---- a/plugins/keyboard/msd-keyboard-xkb.c -+++ b/plugins/keyboard/msd-keyboard-xkb.c -@@ -474,7 +474,7 @@ apply_xkb_settings (void) - "Actual KBD configuration was not changed: redundant notification\n"); - - matekbd_keyboard_config_term (¤t_sys_kbd_config); -- show_hide_icon (); -+ /*show_hide_icon ();*/ - } - - static void --- -2.27.0 - diff --git a/0004-fix-keybinding-add-some-media-key-translations.patch b/0004-fix-keybinding-add-some-media-key-translations.patch deleted file mode 100644 index ad2778d678eff654fa0bf570934ffa6bf823c68b..0000000000000000000000000000000000000000 --- a/0004-fix-keybinding-add-some-media-key-translations.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 6e8e96e35819e3c070a5aadf946a65bcdac7fb99 Mon Sep 17 00:00:00 2001 -From: yueyaoqiang -Date: Mon, 21 Oct 2024 14:17:50 +0800 -Subject: [PATCH 4/6] fix(keybinding):add some media key translations - ---- - po/zh_CN.po | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/po/zh_CN.po b/po/zh_CN.po -index ba85f80..7e7f6d7 100644 ---- a/po/zh_CN.po -+++ b/po/zh_CN.po -@@ -582,6 +582,18 @@ msgstr "启用或禁用触摸板的键绑定。" - msgid "Volume mute" - msgstr "静音" - -+msgid "Volume down quietly" -+msgstr "安静地将音量调低" -+ -+msgid "Volume up quietly" -+msgstr "安静地将音量调高" -+ -+msgid "Volume mute quietly" -+msgstr "音频静音" -+ -+msgid "Microphone mute" -+msgstr "麦克风静音" -+ - #: data/org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in:31 - msgid "Binding to mute the system volume." - msgstr "使系统静音的键绑定。" --- -2.27.0 - diff --git a/0005-fix-media-keys-add-the-case-of-kiran-screensaver-whi.patch b/0005-fix-media-keys-add-the-case-of-kiran-screensaver-whi.patch deleted file mode 100644 index 3933ab993018c982d44c1c0455748f65d577be21..0000000000000000000000000000000000000000 --- a/0005-fix-media-keys-add-the-case-of-kiran-screensaver-whi.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 4a551a39d4c418d36c2bce950424aa1ea41bd45f Mon Sep 17 00:00:00 2001 -From: yueyaoqiang -Date: Mon, 21 Oct 2024 14:20:53 +0800 -Subject: [PATCH 5/6] fix(media-keys):add the case of kiran screensaver while - lock screen - ---- - plugins/media-keys/msd-media-keys-manager.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c -index 7422e6f..f84521d 100644 ---- a/plugins/media-keys/msd-media-keys-manager.c -+++ b/plugins/media-keys/msd-media-keys-manager.c -@@ -1260,7 +1260,9 @@ do_action (MsdMediaKeysManager *manager, - g_free (cmd); - break; - case SCREENSAVER_KEY: -- if ((cmd = g_find_program_in_path ("mate-screensaver-command"))) { -+ if ((cmd = g_find_program_in_path ("kiran-screensaver-command"))) { -+ execute (manager, "kiran-screensaver-command --lock", FALSE, FALSE); -+ else if ((cmd = g_find_program_in_path ("mate-screensaver-command"))) { - execute (manager, "mate-screensaver-command --lock", FALSE, FALSE); - } else { - execute (manager, "xscreensaver-command -lock", FALSE, FALSE); --- -2.27.0 - diff --git a/0006-Always-use-preferred-size-for-Virtual-screens-or-whe.patch b/0006-Always-use-preferred-size-for-Virtual-screens-or-whe.patch deleted file mode 100644 index 644f7fbc585a41f0035d8a7ab8903f506818dee0..0000000000000000000000000000000000000000 --- a/0006-Always-use-preferred-size-for-Virtual-screens-or-whe.patch +++ /dev/null @@ -1,68 +0,0 @@ -From 6ab1bffdbdfb28758ee7ab63383260a169dcf901 Mon Sep 17 00:00:00 2001 -From: yueyaoqiang -Date: Mon, 21 Oct 2024 14:26:18 +0800 -Subject: [PATCH 6/6] Always use preferred size for Virtual screens or when - auto configure monitors - ---- - plugins/xrandr/msd-xrandr-manager.c | 30 +++++++++++++++++++++++++++-- - 1 file changed, 28 insertions(+), 2 deletions(-) - -diff --git a/plugins/xrandr/msd-xrandr-manager.c b/plugins/xrandr/msd-xrandr-manager.c -index 70b5ce0..5c0ed15 100644 ---- a/plugins/xrandr/msd-xrandr-manager.c -+++ b/plugins/xrandr/msd-xrandr-manager.c -@@ -1452,7 +1452,10 @@ auto_configure_outputs (MsdXrandrManager *manager, guint32 timestamp) - int width, height; - g_assert (mate_rr_output_info_is_connected (output)); - -- mate_rr_output_info_get_geometry (output, NULL, NULL, &width, &height); -+ width = mate_rr_output_info_get_preferred_width(output); -+ height = mate_rr_output_info_get_preferred_height(output); -+ -+ log_msg("Set output '%s' size to '%d x %d'\n", mate_rr_output_info_get_name(output), width, height); - mate_rr_output_info_set_geometry (output, x, 0, width, height); - - x += width; -@@ -1600,6 +1603,29 @@ on_randr_event (MateRRScreen *screen, gpointer data) - - show_timestamps_dialog (manager, "need to deal with reconfiguration, as config > change"); - -+ do { -+ MsdXrandrManagerPrivate *priv = manager->priv; -+ MateRROutput **outputs = mate_rr_screen_list_outputs(priv->rw_screen); -+ int i; -+ -+ for (i = 0; outputs[i] != NULL; i++) { -+ MateRROutput *output = outputs[i]; -+ -+ if (!mate_rr_output_is_connected(output)) -+ continue; -+ -+ if (mate_rr_output_has_hotplug_mode_update(output)) { -+ log_msg (" Found output '%s' with property 'hotplug_mode_update'\n", -+ mate_rr_output_get_name(output)); -+ /* -+ * Virtual screen found, just do autoconfigure -+ */ -+ goto autoconfigure; -+ } -+ } -+ -+ } while (0); -+ - intended_filename = mate_rr_config_get_intended_filename (); - - error = NULL; -@@ -1624,7 +1650,7 @@ on_randr_event (MateRRScreen *screen, gpointer data) - - if (error) - g_error_free (error); -- -+autoconfigure: - if (config_timestamp != priv->last_config_timestamp) { - priv->last_config_timestamp = config_timestamp; - auto_configure_outputs (manager, config_timestamp); --- -2.27.0 - diff --git a/mate-settings-daemon-1.26.1.tar.xz b/mate-settings-daemon-1.26.1.tar.xz deleted file mode 100644 index 7cc8bbc6b521797bad364c3d51be30abd4055d9b..0000000000000000000000000000000000000000 Binary files a/mate-settings-daemon-1.26.1.tar.xz and /dev/null differ diff --git a/mate-settings-daemon-1.28.0.tar.xz b/mate-settings-daemon-1.28.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..17f20edebe3272d81c9cbc405aeb06bdb92ed5c5 Binary files /dev/null and b/mate-settings-daemon-1.28.0.tar.xz differ diff --git a/mate-settings-daemon.spec b/mate-settings-daemon.spec index 43c1b6cec8a9057ab91fc3d2e51af12d17ea8979..485893ec00232ca5316046914604bac90c31357f 100644 --- a/mate-settings-daemon.spec +++ b/mate-settings-daemon.spec @@ -1,39 +1,14 @@ -# This is needed, because src-url contains branched part of versioning-scheme. -%global branch 1.26 - -# Needed to break circular dependencies between mate-settings-daemon(-devel) -# and mate-control-center(-filesystem), especially for new RHEL releases. -%global bootstrap 0 - -# Settings used for build from snapshots. -%global commit 83fe1f587f5c6328b10a899a880275d79bf88921 -%global commit_date 20141215 -%global shortcommit %(c=%{commit};echo ${c:0:7}) -%global git_ver git%{commit_date}-%{shortcommit} -%global git_rel .git%{commit_date}.%{shortcommit} -%global git_tar %{name}-%{version}-%{git_ver}.tar.xz - Name: mate-settings-daemon -Version: %{branch}.1 -Release: 3 +Version: 1.28.0 +Release: 1 Summary: MATE Desktop settings daemon License: GPLv2+ URL: http://mate-desktop.org # for downloading the tarball use 'spectool -g -R mate-settings-daemon.spec' # Source for release-builds. -Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz +Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz -# from upstream -# https://github.com/mate-desktop/mate-settings-daemon/commit/babfbd3 -Patch3: mate-settings-daemon_0001-Add-setting-for-adjustment-of-audio-volume-above-100.patch -Patch4: 0001-feature-touchpad-set-the-default-values-of-disable-w.patch -Patch5: 0002-fix-mate-display-add-the-window-scale-changed-tip-wi.patch -Patch6: 0003-fix-plugin-keyboard-not-show-the-xkb-status-icon.patch -Patch7: 0004-fix-keybinding-add-some-media-key-translations.patch -Patch8: 0005-fix-media-keys-add-the-case-of-kiran-screensaver-whi.patch -Patch9: 0006-Always-use-preferred-size-for-Virtual-screens-or-whe.patch -Patch10: 0001-add-patches-and-build-error.patch BuildRequires: dbus-glib-devel BuildRequires: dconf-devel @@ -57,11 +32,6 @@ Requires: libmatekbd%{?_isa} >= 0:1.6.1-1 # needed for xrandr capplet Requires: mate-control-center-filesystem %endif -# since f34 -%if 0%{?fedora} && 0%{?fedora} >= 34 -Requires: xmodmap -Requires: xrdb -%endif %description This package contains the daemon which is responsible for setting the @@ -80,6 +50,8 @@ under it. %prep %autosetup -p1 +NOCONFIGURE=1 ./autogen.sh + %build %configure \ --enable-pulse \ @@ -128,296 +100,5 @@ desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/mate-settings-dae %changelog -*Wed Dec 11 2024 lijian1 - 1.26.1-3 -- remove no use code - -* Mon Oct 21 2024 yueyaoqiang - 1.26.1-2 -- add patches from 1.22 - -* Mon Aug 26 2024 yueyaoqiang - 1.26.1-1 -- update to 1.26.1 - -* Mon Jun 13 2022 qiaoyujie - 1.22.0-4 -- remove %{dist} from spec file - -* Thu Jul 25 2019 Fedora Release Engineering - 1.22.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jun 20 2019 Adam Jackson - 1.22.0-2 -- Drop BuildRequires: libXxf86misc-devel, X servers haven't implemented that - extension in 10+ years. - -* Mon Mar 04 2019 Wolfgang Ulbrich - 1.22.0-1 -- update to 1.22.0 - -* Fri Feb 01 2019 Fedora Release Engineering - 1.20.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Dec 24 2018 Wolfgang Ulbrich - 1.20.4-1 -- update to 1.20.4 release - -* Fri Jul 13 2018 Fedora Release Engineering - 1.20.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sun Jun 03 2018 Wolfgang Ulbrich - 1.20.2-1 -- update to 1.20.2 -- use xrandr-applet improvements from upstream - -* Wed Apr 18 2018 Wolfgang Ulbrich - 1.20.1-2 -- improve background handling for HIDPI monitors -- use https://github.com/mate-desktop/mate-settings-daemon/pull/217 - -* Tue Mar 27 2018 Wolfgang Ulbrich - 1.20.1-1 -- update to 1.20.1 -- drop IconCache rpm scriptlet - -* Sun Feb 11 2018 Wolfgang Ulbrich - 1.20.0-1 -- update to 1.20.0 release -- drop GSettings Schema rpm scriplet -- switch to autosetup -- use BR polkit-devel instead of mate-polkit-devel - -* Thu Feb 08 2018 Fedora Release Engineering - 1.19.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jan 25 2018 Wolfgang Ulbrich - 1.19.2-1 -- update to 1.19.2 - -* Mon Jan 01 2018 Wolfgang Ulbrich - 1.19.1-1 -- update to 1.19.1 - -* Wed Nov 29 2017 Wolfgang Ulbrich - 1.19.0-2 -- fix rhbz (#1517547) - -* Thu Aug 17 2017 Wolfgang Ulbrich - 1.19.0-1 -- update to 1.19.0 release - -* Thu Aug 03 2017 Fedora Release Engineering - 1.18.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.18.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed May 03 2017 Wolfgang Ulbrich - 1.18.1-2 -- add patch to fix xrdb plugin for rhel7 build - -* Wed Apr 05 2017 Wolfgang Ulbrich - 1.18.1-1 -- update to 1.18.1 - -* Tue Mar 14 2017 Wolfgang Ulbrich - 1.18.0-1 -- update to 1.18.0 release -- add https://github.com/mate-desktop/mate-settings-daemon/commit/280c174 - -* Fri Feb 10 2017 Fedora Release Engineering - 1.17.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Jan 25 2017 Wolfgang Ulbrich - 1.17.1-1 -- update 1.17.1 to release with libinput support - -* Mon Jan 09 2017 Dan Horák - 1.17.0-3 -- don't require Xorg drivers on s390(x) - -* Fri Dec 23 2016 Wolfgang Ulbrich - 1.17.0-2 -- update to 1.17.0 release -- remove priority synaptic symlink for f26 -- use requires xorg-x11-drv-synaptics-legacy for f26 -- fix rhbz (#1406948) - -* Sat Dec 03 2016 Wolfgang Ulbrich - 1.17.0-1 -- update to 1.17.0 release -- add priority symlinks for synaptics and evdev driver - -* Sat Sep 17 2016 Wolfgang Ulbrich - 1.16.0-1 -- update to 1.16.0 release - -* Thu Aug 04 2016 Wolfgang Ulbrich - 1.15.1-1 -- update to 1.15.1 release - -* Sun Jul 24 2016 Wolfgang Ulbrich - 1.15.0-2 -- fix desktop redraw issues with gtk+-3.21.4 - -* Thu Jun 09 2016 Wolfgang Ulbrich - 1.15.0-1 -- update to 1.15.0 release -- switch to gtk+3 - -* Wed Apr 06 2016 Wolfgang Ulbrich - 1.14.0-1 -- update to 1.14.0 release - -* Sun Feb 07 2016 Wolfgang Ulbrich - 1.13.0-1 -- update to 1.13.0 release - -* Thu Feb 04 2016 Fedora Release Engineering - 1.12.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Dec 04 2015 Wolfgang Ulbrich 1.12.1-1 -- update to 1.12.1 release - -* Fri Nov 06 2015 Wolfgang Ulbrich - 1.12.0-1 -- update to 1.12.0 release - -* Wed Oct 21 2015 Wolfgang Ulbrich - 1.11.0-1 -- update to 1.11.0 release - -* Mon Aug 31 2015 Wolfgang Ulbrich - 1.10.2-1 -- update to 1.10.2 release -- remove upstreamed patches -- add upstream touchpad improvement - -* Wed Aug 19 2015 Wolfgang Ulbrich - 1.10.1-2 -- another fix for glib2/gsettings regression - -* Tue Jul 14 2015 Wolfgang Ulbrich - 1.10.1.1 -- update to 1.10.1 release - -* Wed Jun 17 2015 Fedora Release Engineering - 1.10.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Tue Apr 07 2015 Wolfgang Ulbrich - 1.10.0-1 -- update to 1.10.0 release - -* Thu Feb 26 2015 Wolfgang Ulbrich - 1.9.90-1 -- update to 1.9.90 release - -* Wed Jan 21 2015 Wolfgang Ulbrich - 1.9.6-1 -- update to 1.9.6 release - -* Thu Nov 20 2014 Wolfgang Ulbrich - 1.9.5-1 -- update to 1.9.5 release - -* Tue Nov 11 2014 Wolfgang Ulbrich - 1.9.4-1 -- update to 1.9.4 release - -* Mon Oct 27 2014 Wolfgang Ulbrich - 1.9.3-1 -- update to 1.9.3 release - -* Sun Oct 12 2014 Wolfgang Ulbrich - 1.9.2-1 -- update to 1.9.2 release - -* Sun Aug 17 2014 Fedora Release Engineering - 1.9.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jul 12 2014 Wolfgang Ulbrich - 1.9.1-1 -- update to 1.9.1 release - -* Sat Jun 07 2014 Fedora Release Engineering - 1.8.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue May 06 2014 Wolfgang Ulbrich - 1.8.1-1 -- update to 1.8.1 - -* Wed Mar 05 2014 Dan Mashal - 1.8.0-1 -- Update to 1.8.0 - -* Tue Feb 18 2014 Wolfgang Ulbrich - 1.7.90-1 -- update to 1.7.90 -- use --with-gnome --all-name for find locale -- use modern 'make install' macro -- add man dir - -* Sun Feb 09 2014 Dan Mashal - 1.7.1-1 -- Update to 1.7.1 - -* Thu Dec 05 2013 Dan Mashal - 1.7.0-1 -- Update to 1.7.0 - -* Thu Oct 03 2013 Wolfgang Ulbrich - 1.6.2-0.3.gitd2d3aa7 -- enable pulsaudio support - -* Tue Oct 01 2013 Wolfgang Ulbrich - 1.6.2-0.2.gitd2d3aa7 -- add misssing directory for xrandr-capplet function 'system-wide installation' -- add runtime requires mate-control-center-filesystem for xrandr-capplet - -* Mon Sep 23 2013 Wolfgang Ulbrich - 1.6.2-0.1.gitd2d3aa7 -- update to latest snapshot -- fix https://github.com/mate-desktop/mate-settings-daemon/issues/32 -- remove runtime require mate-icon-theme, no need of it -- remove %%config from desktop file -- remove needless find '*.a' -- switch to pulseaudio, fix rhbz (#1008011) -- cleanup BRs - -* Sat Aug 03 2013 Fedora Release Engineering - 1.6.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Jun 28 2013 Wolfgang Ulbrich - 1.6.1.2 -- remove BR gsettings-desktop-schemas-devel -- remove needless gsettings convert file -- clean up BR's -- add versioned runtime require libmatekbd - -* Mon Jun 24 2013 Dan Mashal - 1.6.1-1 -- Update to latest upstream release. - -* Sat Jun 22 2013 Dan Mashal - 1.6.0-3 -- Update libnotify.patch with latest upstream commits - -* Tue Jun 11 2013 Dan Mashal - 1.6.0-2 -- Add libnotify patch - -* Wed Apr 03 2013 Dan Mashal - 1.6.0-1 -- Update to latest 1.6.0 stable release. - -* Tue Mar 26 2013 Dan Mashal - 1.5.7-1 -- Update to latest upstream release - -* Fri Feb 08 2013 Dan Mashal - 1.5.5-1 --Update to latest upstream release --Convert back to old BR style --Own dirs we are supposed to own - -* Tue Jan 15 2013 Dan Mashal - 1.5.4-3 -- Fix icon scriptlets - -* Fri Dec 21 2012 Nelson Marques - 1.5.4-2 -- Fix broken gstreamer support: - + add gstreamer BuildRequires - + disable pulse so we build with gstreamer support -- Add '--disable-static' to %%configure and remove find entries -- Improve description, overall readability, order dependencies and - minor improvements - -* Mon Dec 03 2012 Dan Mashal - 1.5.4-1 -- Latest upstream release - -* Fri Nov 23 2012 Dan Mashal - 1.5.3-5 -- Remove archlinux configure.ac bits. -- REALLY fix CVE-2012-5560 - -* Fri Nov 23 2012 Dan Mashal - 1.5.3-4 -- stop generating version specific libdirs for plugins and fix CVE-2012-5560 - -* Thu Nov 22 2012 Dan Mashal - 1.5.3-3 -- fix build failures - -* Thu Nov 22 2012 Dan Mashal - 1.5.3-2 -- drop mate-corba from br as it is deprecated - -* Mon Oct 29 2012 Leigh Scott - 1.5.3-1 -- update to 1.5.3 release - -* Mon Oct 29 2012 Leigh Scott - 1.5.0-1 -- update to 1.5.0 release -- add schema scriptlets and remove mateconf scriptlets -- add requires gsettings-desktop-schemas -- add build requires gsettings-desktop-schemas-devel -- change build requires style - -* Wed Oct 10 2012 Rex Dieter 1.4.0-6 -- fix icon scriptlets - -* Fri Sep 28 2012 Rex Dieter - 1.4.0-5 -- remove local quirks not needed for fedora buildsys -- simplify %%files, fix some dir-ownership -- cosmetics: move scriptlets to be next to %%files - -* Tue Sep 25 2012 Dan Mashal 1.4.0-4 -- Own mate-settings-daemon directory, update build requires and configure flags - -* Tue Sep 25 2012 Dan Mashal 1.4.0-3 -- Fix mateconf scritplets, switch back to upstream source. - -* Sat Sep 15 2012 Dan Mashal 1.4.0-2 -- Move shared libs to main package and update buildrequires to add libSM-devel add mateconf scriptlets - -* Sat Sep 01 2012 Dan Mashal 1.4.0-1 +* Wed Feb 19 2025 yuanxing - 1.28.0-1 - Initial build diff --git a/mate-settings-daemon.yaml b/mate-settings-daemon.yaml new file mode 100644 index 0000000000000000000000000000000000000000..86f0266ab2370fe4396e00ce1ab5fc9889ee3915 --- /dev/null +++ b/mate-settings-daemon.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: mate-desktop/mate-settings-daemon +tag_prefix: ^v +seperator: . diff --git a/mate-settings-daemon_0001-Add-setting-for-adjustment-of-audio-volume-above-100.patch b/mate-settings-daemon_0001-Add-setting-for-adjustment-of-audio-volume-above-100.patch deleted file mode 100644 index e5351cebad72d140388cb5ff9dc29330afedc61e..0000000000000000000000000000000000000000 --- a/mate-settings-daemon_0001-Add-setting-for-adjustment-of-audio-volume-above-100.patch +++ /dev/null @@ -1,88 +0,0 @@ -From 7a665fa4f6f2d99eeef08185ca887b828be39730 Mon Sep 17 00:00:00 2001 -From: Gordon Norman Squash -Date: Thu, 28 Jul 2022 21:27:16 -0400 -Subject: [PATCH] Add setting for adjustment of audio volume above 100 per - cent: Part 3 - -There is often a need for the user to increase the audio playback volume above -the volume level known as "100% volume". While increasing the audio volume -above 100% can result in degraded audio quality, sometimes the audio was, for -example, originally recorded at an extremely low volume, and the user has no -other option to clearly hear the audio. Unfortunately, most MATE applications -with volume controls do not allow the user to set the volume level above 100%. -For example, the main MATE Sound Preferences dialog lets you set the audio -volume beyond 100% (when possible), whereas the Volume Control Applet, Volume -Control status icon, and special "multimedia" volume control keys do not. In -fact, if the user even tries to change the volume using any of the latter -methods, and the current volume level is above 100%, these latter methods will -all reduce the volume to 100%, even if the user tried to increase the volume! - -This is part 3 of a patch to change this situation. This patch adds this -capability to the handlers for the "multimedia" volume control keys -- if the -appropriate setting is enabled in the MATE Volume Control Dialog (see -patch 2), then the user can increase the audio volume beyond 100% by pressing -the "Volume Up" key on their keyboard (if they have such a key). While this -patch is smaller than patch 2, it is equally important since the original -feature request was for the multimedia keys and not for anything else in -particular. ---- - plugins/media-keys/msd-media-keys-manager.c | 15 ++++++++++++++- - 1 file changed, 14 insertions(+), 1 deletion(-) - -diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c -index 4abb4afd..7422e6ff 100644 ---- a/plugins/media-keys/msd-media-keys-manager.c -+++ b/plugins/media-keys/msd-media-keys-manager.c -@@ -59,6 +59,9 @@ - #define TOUCHPAD_SCHEMA "org.mate.peripherals-touchpad" - #define TOUCHPAD_ENABLED_KEY "touchpad-enabled" - -+#define SOUND_SCHEMA "org.mate.sound" -+#define VOLUME_OVERAMPLIFIABLE_KEY "volume-overamplifiable" -+ - typedef struct { - char *application; - guint32 time; -@@ -76,6 +79,7 @@ struct _MsdMediaKeysManagerPrivate - #endif - GtkWidget *dialog; - GSettings *settings; -+ GSettings *sound_settings; - GVolumeMonitor *volume_monitor; - - /* Multihead stuff */ -@@ -723,7 +727,10 @@ do_sound_action (MsdMediaKeysManager *manager, - /* Theoretically the volume limits might be different for different - * streams, also the minimum might not always start at 0 */ - volume_min = mate_mixer_stream_control_get_min_volume (control); -- volume_max = mate_mixer_stream_control_get_normal_volume (control); -+ if (g_settings_get_boolean (manager->priv->sound_settings, VOLUME_OVERAMPLIFIABLE_KEY)) -+ volume_max = mate_mixer_stream_control_get_max_volume (control); -+ else -+ volume_max = mate_mixer_stream_control_get_normal_volume (control); - - volume_step = g_settings_get_int (manager->priv->settings, "volume-step"); - if (volume_step <= 0 || volume_step > 100) { -@@ -1424,6 +1431,7 @@ start_media_keys_idle_cb (MsdMediaKeysManager *manager) - - manager->priv->volume_monitor = g_volume_monitor_get (); - manager->priv->settings = g_settings_new (BINDING_SCHEMA); -+ manager->priv->sound_settings = g_settings_new (SOUND_SCHEMA); - - ensure_cancellable (&manager->priv->rfkill_cancellable); - -@@ -1537,6 +1545,11 @@ msd_media_keys_manager_stop (MsdMediaKeysManager *manager) - priv->settings = NULL; - } - -+ if (priv->sound_settings != NULL) { -+ g_object_unref (priv->sound_settings); -+ priv->sound_settings = NULL; -+ } -+ - if (priv->volume_monitor != NULL) { - g_object_unref (priv->volume_monitor); - priv->volume_monitor = NULL; --- -2.37.1 -