From 8796eeae2880495b3f3b8381a0bc0bd3c374fc38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= Date: Thu, 19 Oct 2023 10:28:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0002-fix-modify-default-value.patch | 79 +++++++++++++++++++++++++++++ found-settings-daemon.spec | 8 ++- 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 0002-fix-modify-default-value.patch diff --git a/0002-fix-modify-default-value.patch b/0002-fix-modify-default-value.patch new file mode 100644 index 0000000..d254497 --- /dev/null +++ b/0002-fix-modify-default-value.patch @@ -0,0 +1,79 @@ +From 30f56d46d68e6df22d2cca98bcda7f7a11415f40 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=E5=BC=A0=E6=B6=9B?= +Date: Thu, 19 Oct 2023 09:38:57 +0800 +Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= + =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +--- + ...org.cdos.settings-daemon.peripherals.gschema.xml.in.in | 4 ++-- + ...g.cdos.settings-daemon.plugins.power.gschema.xml.in.in | 8 ++++---- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/data/org.cdos.settings-daemon.peripherals.gschema.xml.in.in b/data/org.cdos.settings-daemon.peripherals.gschema.xml.in.in +index 81b4744..62cbed2 100644 +--- a/data/org.cdos.settings-daemon.peripherals.gschema.xml.in.in ++++ b/data/org.cdos.settings-daemon.peripherals.gschema.xml.in.in +@@ -16,7 +16,7 @@ + + + +- false ++ true + <_summary>Disable touchpad while typing + <_description>Set this to TRUE if you have problems with accidentally hitting the touchpad while typing. + +@@ -26,7 +26,7 @@ + <_description>Set this to TRUE to allow horizontal scrolling by the same method selected with the scroll_method key. + + +- 'edge-scrolling' ++ 'two-finger-scrolling' + <_summary>Select the touchpad scroll method + <_description>Select the touchpad scroll method. Supported values are: "disabled", "edge-scrolling", "two-finger-scrolling". + +diff --git a/data/org.cdos.settings-daemon.plugins.power.gschema.xml.in.in b/data/org.cdos.settings-daemon.plugins.power.gschema.xml.in.in +index 2d2d27f..4cc08ca 100644 +--- a/data/org.cdos.settings-daemon.plugins.power.gschema.xml.in.in ++++ b/data/org.cdos.settings-daemon.plugins.power.gschema.xml.in.in +@@ -31,7 +31,7 @@ + The default amount of time to dim the screen after idle. + + +- 600 ++ 900 + Sleep timeout display when on AC + The amount of time in seconds before the display turns off when the computer is on AC power. + +@@ -41,7 +41,7 @@ + The amount of time in seconds before the display turns off when the computer is on battery power. + + +- 0 ++ 1800 + Sleep timeout computer when on AC + The amount of time in seconds the computer on AC power needs to be inactive before it goes to sleep. A value of 0 means never. + +@@ -56,7 +56,7 @@ + The type of sleeping that should be performed when the computer is inactive. + + +- 0 ++ 900 + Sleep timeout computer when on battery + The amount of time in seconds the computer on battery power needs to be inactive before it goes to sleep. A value of 0 means never. + +@@ -107,7 +107,7 @@ + lid is closed and regardless of external monitors. + + +- 'hibernate' ++ 'suspend' + Battery critical low action + The action to take when the battery is critically low. + +-- +2.30.2 + diff --git a/found-settings-daemon.spec b/found-settings-daemon.spec index 5fa41f5..240987e 100644 --- a/found-settings-daemon.spec +++ b/found-settings-daemon.spec @@ -8,13 +8,15 @@ Name: found-settings-daemon Version: 4.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The daemon sharing settings from GNOME to GTK+/KDE applications License: GPLv2+ URL: https://download.gnome.org/sources/%{name} Source0: %{name}-%{version}.tar.gz + Patch0: 0001-auto-empty-recycle-bin.patch +Patch1: 0002-fix-modify-default-value.patch BuildRequires: meson >= 0.44.0 BuildRequires: gcc @@ -187,6 +189,10 @@ ln -s /usr/libexec/found-settings-daemon/cdos-settings-daemon /usr/bin/cdos-sett %{_libdir}/pkgconfig/found-settings-daemon.pc %changelog +* Thu Oct 19 2023 张涛 - 4.0.1-3 +- fix: 修复部分项目的默认值 +- add patch: 0002-fix-modify-default-value.patch + * Thu Aug 31 2023 qiangy - 4.0.1-2 - The recycle bin periodic clearing function does not take effect. -- Gitee