Compare commits
4 Commits
5488e6682d
...
main
Author | SHA256 | Date | |
---|---|---|---|
5d0c732294 | |||
c9c0a3e2f9 | |||
42d03445bc | |||
3b432b4bc4 |
@@ -20,11 +20,11 @@ gadget, this will require users to "enroll" them the same ways.
|
||||
.../gsd-usb-protection-manager.c | 58 +++++--------------
|
||||
1 file changed, 15 insertions(+), 43 deletions(-)
|
||||
|
||||
diff --git a/plugins/usb-protection/gsd-usb-protection-manager.c b/plugins/usb-protection/gsd-usb-protection-manager.c
|
||||
index 43644408..538b6b1f 100644
|
||||
--- a/plugins/usb-protection/gsd-usb-protection-manager.c
|
||||
+++ b/plugins/usb-protection/gsd-usb-protection-manager.c
|
||||
@@ -678,56 +678,28 @@ on_usbguard_signal (GDBusProxy *proxy,
|
||||
Index: gnome-settings-daemon-48.1/plugins/usb-protection/gsd-usb-protection-manager.c
|
||||
===================================================================
|
||||
--- gnome-settings-daemon-48.1.orig/plugins/usb-protection/gsd-usb-protection-manager.c
|
||||
+++ gnome-settings-daemon-48.1/plugins/usb-protection/gsd-usb-protection-manager.c
|
||||
@@ -674,56 +674,28 @@ on_usbguard_signal (GDBusProxy *proxy,
|
||||
* If this device advertises also interfaces outside the HID class, or the
|
||||
* HUB class, it is suspect. It could be a false positive because this could
|
||||
* be a "smart" keyboard for example, but at this stage is better be safe. */
|
||||
@@ -33,7 +33,7 @@ index 43644408..538b6b1f 100644
|
||||
+ if (protection_level == G_DESKTOP_USB_PROTECTION_LOCKSCREEN) {
|
||||
show_notification (manager,
|
||||
- _("New device detected"),
|
||||
- _("Either one of your existing devices has been reconnected or a new one has been plugged in. "
|
||||
- _("Either one of your existing devices has been reconnected or a new one has been inserted. "
|
||||
- "If you did not do it, check your system for any suspicious device."));
|
||||
- g_variant_get_child (parameters, POLICY_APPLIED_DEVICE_ID, "u", &device_id);
|
||||
- authorize_device (manager, device_id);
|
||||
@@ -85,7 +85,7 @@ index 43644408..538b6b1f 100644
|
||||
- show_notification (manager,
|
||||
- _("USB device blocked"),
|
||||
- _("The new inserted device has been blocked because the USB protection is active. "
|
||||
- "If you want to activate the device, disable the USB protection and re-plug "
|
||||
- "If you want to activate the device, disable the USB protection and re-insert "
|
||||
- "the device."));
|
||||
- }
|
||||
+ show_notification (manager,
|
||||
@@ -96,6 +96,3 @@ index 43644408..538b6b1f 100644
|
||||
} else {
|
||||
/* This is protection level == Lockscreen, so we allow everything when the session is unlocked.
|
||||
There should be a USBGuard rule that automatically allows all devices,
|
||||
--
|
||||
2.44.0
|
||||
|
||||
|
18
_service
Normal file
18
_service
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://gitlab.gnome.org/GNOME/gnome-settings-daemon.git</param>
|
||||
<param name="revision">48.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">(.*)\+0</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<param name="changesgenerate">disable</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
BIN
gnome-settings-daemon-45.1.tar.xz
(Stored with Git LFS)
BIN
gnome-settings-daemon-45.1.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
gnome-settings-daemon-48.1.obscpio
(Stored with Git LFS)
Normal file
BIN
gnome-settings-daemon-48.1.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,48 +0,0 @@
|
||||
Index: gnome-settings-daemon-45.0/plugins/media-keys/gsd-media-keys-manager.c
|
||||
===================================================================
|
||||
--- gnome-settings-daemon-45.0.orig/plugins/media-keys/gsd-media-keys-manager.c
|
||||
+++ gnome-settings-daemon-45.0/plugins/media-keys/gsd-media-keys-manager.c
|
||||
@@ -350,7 +350,7 @@ get_key_string (MediaKey *key)
|
||||
else if (key->custom_path != NULL)
|
||||
return g_strdup_printf ("custom:%s", key->custom_path);
|
||||
else
|
||||
- g_assert_not_reached ();
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
static GStrv
|
||||
@@ -392,7 +392,7 @@ get_bindings (GsdMediaKeysManager *manag
|
||||
key->custom_path);
|
||||
binding = g_settings_get_string (settings, "binding");
|
||||
} else
|
||||
- g_assert_not_reached ();
|
||||
+ return NULL;
|
||||
|
||||
array = g_ptr_array_new ();
|
||||
g_ptr_array_add (array, binding);
|
||||
Index: gnome-settings-daemon-45.0/plugins/rfkill/rfkill-glib.c
|
||||
===================================================================
|
||||
--- gnome-settings-daemon-45.0.orig/plugins/rfkill/rfkill-glib.c
|
||||
+++ gnome-settings-daemon-45.0/plugins/rfkill/rfkill-glib.c
|
||||
@@ -268,7 +268,7 @@ op_to_string (unsigned int op)
|
||||
case RFKILL_OP_CHANGE_ALL:
|
||||
return "CHANGE_ALL";
|
||||
default:
|
||||
- g_assert_not_reached ();
|
||||
+ return "NULL";
|
||||
}
|
||||
}
|
||||
|
||||
Index: gnome-settings-daemon-45.0/plugins/xsettings/xsettings-manager.c
|
||||
===================================================================
|
||||
--- gnome-settings-daemon-45.0.orig/plugins/xsettings/xsettings-manager.c
|
||||
+++ gnome-settings-daemon-45.0/plugins/xsettings/xsettings-manager.c
|
||||
@@ -271,7 +271,7 @@ xsettings_get_typecode (GVariant *value)
|
||||
case G_VARIANT_CLASS_TUPLE:
|
||||
return XSETTINGS_TYPE_COLOR;
|
||||
default:
|
||||
- g_assert_not_reached ();
|
||||
+ return NULL;
|
||||
}
|
||||
}
|
||||
|
@@ -13,11 +13,11 @@ https://bugzilla.suse.com/show_bug.cgi?id=979051
|
||||
plugins/keyboard/gsd-keyboard-manager.c | 18 +++++++++++++-----
|
||||
1 file changed, 13 insertions(+), 5 deletions(-)
|
||||
|
||||
Index: b/plugins/keyboard/gsd-keyboard-manager.c
|
||||
Index: gnome-settings-daemon-48.1/plugins/keyboard/gsd-keyboard-manager.c
|
||||
===================================================================
|
||||
--- a/plugins/keyboard/gsd-keyboard-manager.c
|
||||
+++ b/plugins/keyboard/gsd-keyboard-manager.c
|
||||
@@ -207,7 +207,7 @@ settings_changed (GSettings *se
|
||||
--- gnome-settings-daemon-48.1.orig/plugins/keyboard/gsd-keyboard-manager.c
|
||||
+++ gnome-settings-daemon-48.1/plugins/keyboard/gsd-keyboard-manager.c
|
||||
@@ -206,7 +206,7 @@ settings_changed (GSettings *se
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -26,7 +26,7 @@ Index: b/plugins/keyboard/gsd-keyboard-manager.c
|
||||
{
|
||||
GVariantBuilder builder;
|
||||
GVariant *v;
|
||||
@@ -225,7 +225,7 @@ get_sources_from_xkb_config (GsdKeyboard
|
||||
@@ -224,7 +224,7 @@ get_sources_from_xkb_config (GsdKeyboard
|
||||
|
||||
init_builder_with_sources (&builder, manager->input_sources_settings);
|
||||
|
||||
@@ -35,7 +35,7 @@ Index: b/plugins/keyboard/gsd-keyboard-manager.c
|
||||
g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_XKB, DEFAULT_LAYOUT);
|
||||
goto out;
|
||||
}
|
||||
@@ -404,15 +404,23 @@ maybe_create_initial_settings (GsdKeyboa
|
||||
@@ -403,15 +403,23 @@ maybe_create_initial_settings (GsdKeyboa
|
||||
|
||||
settings = manager->input_sources_settings;
|
||||
|
||||
@@ -61,4 +61,4 @@ Index: b/plugins/keyboard/gsd-keyboard-manager.c
|
||||
+ get_sources_from_xkb_config (manager, FALSE);
|
||||
g_variant_unref (sources);
|
||||
|
||||
options = g_settings_get_strv (settings, KEY_KEYBOARD_OPTIONS);
|
||||
options = g_settings_get_user_value (settings, KEY_KEYBOARD_OPTIONS);
|
||||
|
@@ -1,8 +1,7 @@
|
||||
Index: gnome-settings-daemon-45.0/data/gsd-enums.h
|
||||
===================================================================
|
||||
--- gnome-settings-daemon-45.0.orig/data/gsd-enums.h
|
||||
+++ gnome-settings-daemon-45.0/data/gsd-enums.h
|
||||
@@ -105,6 +105,7 @@ typedef enum
|
||||
diff --unified --recursive --text --new-file --color -x subprojects gnome-settings-daemon-48.0.old/data/gnome-settings-daemon/gsd-enums.h gnome-settings-daemon-48.0.new/data/gnome-settings-daemon/gsd-enums.h
|
||||
--- gnome-settings-daemon-48.0.old/data/gnome-settings-daemon/gsd-enums.h 2025-03-17 21:08:20.000000000 +0800
|
||||
+++ gnome-settings-daemon-48.0.new/data/gnome-settings-daemon/gsd-enums.h 2025-03-20 13:04:44.137390428 +0800
|
||||
@@ -105,6 +105,7 @@
|
||||
typedef enum
|
||||
{
|
||||
GSD_POWER_BUTTON_ACTION_NOTHING,
|
||||
@@ -10,11 +9,10 @@ Index: gnome-settings-daemon-45.0/data/gsd-enums.h
|
||||
GSD_POWER_BUTTON_ACTION_SUSPEND,
|
||||
GSD_POWER_BUTTON_ACTION_HIBERNATE,
|
||||
GSD_POWER_BUTTON_ACTION_INTERACTIVE
|
||||
Index: gnome-settings-daemon-45.0/plugins/media-keys/gsd-media-keys-manager.c
|
||||
===================================================================
|
||||
--- gnome-settings-daemon-45.0.orig/plugins/media-keys/gsd-media-keys-manager.c
|
||||
+++ gnome-settings-daemon-45.0/plugins/media-keys/gsd-media-keys-manager.c
|
||||
@@ -2053,6 +2053,9 @@ do_config_power_button_action (GsdMediaK
|
||||
diff --unified --recursive --text --new-file --color -x subprojects gnome-settings-daemon-48.0.old/plugins/media-keys/gsd-media-keys-manager.c gnome-settings-daemon-48.0.new/plugins/media-keys/gsd-media-keys-manager.c
|
||||
--- gnome-settings-daemon-48.0.old/plugins/media-keys/gsd-media-keys-manager.c 2025-03-17 21:08:20.000000000 +0800
|
||||
+++ gnome-settings-daemon-48.0.new/plugins/media-keys/gsd-media-keys-manager.c 2025-03-20 13:04:44.143659944 +0800
|
||||
@@ -2137,6 +2137,9 @@
|
||||
}
|
||||
|
||||
switch (action_type) {
|
||||
|
@@ -1,8 +1,8 @@
|
||||
Index: b/plugins/keyboard/gsd-keyboard-manager.c
|
||||
Index: gnome-settings-daemon-48.1/plugins/keyboard/gsd-keyboard-manager.c
|
||||
===================================================================
|
||||
--- a/plugins/keyboard/gsd-keyboard-manager.c
|
||||
+++ b/plugins/keyboard/gsd-keyboard-manager.c
|
||||
@@ -251,7 +251,11 @@ get_sources_from_xkb_config (GsdKeyboard
|
||||
--- gnome-settings-daemon-48.1.orig/plugins/keyboard/gsd-keyboard-manager.c
|
||||
+++ gnome-settings-daemon-48.1/plugins/keyboard/gsd-keyboard-manager.c
|
||||
@@ -250,7 +250,11 @@ get_sources_from_xkb_config (GsdKeyboard
|
||||
else
|
||||
id = g_strdup (layouts[i]);
|
||||
|
||||
|
@@ -1,3 +1,145 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 19 07:10:09 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 48.1:
|
||||
+ Cleanups and fixes
|
||||
+ Power:
|
||||
- Ensure the backlight interface signal gets emitted on startup
|
||||
- Avoid using uninitialized value when restoring brightness
|
||||
+ Sharing: Fixes to shutdown of sharing services
|
||||
+ Updated translations.
|
||||
- Drop gnome-settings-daemon-fix-stop-service.patch, 411.patch and
|
||||
413.patch, fixed upstream.
|
||||
- Rebase patches with quilt.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 01 09:29:02 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 48.0+3:
|
||||
* Update Occitan translation
|
||||
* Revert "ci: Point to ci-templates fork with cbuild"
|
||||
* Updated translations.
|
||||
- Add patches to fix brightness control:
|
||||
* 411.patch
|
||||
* 413.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 05:45:31 UTC 2025 - Alynx Zhou <alynx.zhou@suse.com>
|
||||
|
||||
- Rebase gnome-settings-daemon-more-power-button-actions.patch.
|
||||
(bsc#1239712)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 17:21:09 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 48.0:
|
||||
+ Port plugins to GApplication classes.
|
||||
+ Updated translations.
|
||||
- Rebase gnome-settings-daemon-fix-stop-service.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 14 14:10:47 UTC 2025 - Michael Gorse <mgorse@suse.com>
|
||||
|
||||
- Drop use of sle_version in favor of is_opensuse and suse_version.
|
||||
Sle_version is no longer used in SLE 16.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 2 12:55:26 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 48.rc:
|
||||
+ Add schemas for global shortcuts
|
||||
+ Allow usage as subproject
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 4 14:28:26 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 48.beta:
|
||||
+ Fix deprecation warnings during build
|
||||
+ Media-keys: Allow running custom commands in lock screen
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 07:24:28 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 48.alpha.1:
|
||||
+ Media keys: Fix crash on startup
|
||||
- Rebase patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 12 16:30:33 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 48.alpha:
|
||||
+ Icon hint improvements to notifications
|
||||
+ Media keys:
|
||||
- Improve HIG compliance of notification messages
|
||||
- Add shortcuts for reboot and shutdown actions
|
||||
+ Power:
|
||||
- Improve HIG compliance of notification messages
|
||||
- Resolve device paths outside of the backlight helper
|
||||
+ Usb protection: Improve strings
|
||||
+ Xsettings: Do not notify icon-theme property on high-contrast
|
||||
changes
|
||||
+ Updated translations.
|
||||
- Bump base_ver define to 48, following upstream changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 10 09:57:27 UTC 2024 - Joan Torres <joan.torres@suse.com>
|
||||
|
||||
- Add gnome-settings-daemon-fix-stop-service.patch
|
||||
* Part of the fix of bsc#1233824
|
||||
* Reference: glgo#GNOME/gnome-settings-daemon!395
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 22 10:36:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Only recommend xf86-input-libinput if xorg-x11-server is present:
|
||||
wayland does not rely on the xf86 drivers.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 22:17:00 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 47.2:
|
||||
+ Power:
|
||||
- Fix possible invalid reads if backlight fails to initialize.
|
||||
- Handle broken upower more elegantly.
|
||||
- Test warning fixes.
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 15 21:57:28 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 47.1:
|
||||
+ meson: Fix project version.
|
||||
- Changes from version 47.0:
|
||||
+ Power: Only update mutter backlight properties when the mutter
|
||||
backend is in use
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 2 07:01:25 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 47.rc:
|
||||
+ Port X11 tests to using Xwayland
|
||||
+ Power: Set backlight through Mutter APIs, drop gnome-rr
|
||||
dependency
|
||||
+ Wwan: Fix memory access errors
|
||||
+ Xsettings: Get UI scaling factor from a dedicated Mutter D-Bus
|
||||
API
|
||||
- Changes from version 47.beta:
|
||||
+ Housekeeping: Improve string in OOM notifications
|
||||
+ Sharing:
|
||||
- Stop assigned services only when there is no network
|
||||
connection
|
||||
- Fix building without systemd
|
||||
+ Printing: Clear members of GsdPrintNotificationsManager
|
||||
+ Updated translations.
|
||||
- Bump base_ver define to 47.
|
||||
- Use autopatch for SLE/Leap also.
|
||||
- Drop patches fixed upstream:
|
||||
+ gnome-settings-daemon-stop-service-when-no-network.patch
|
||||
+ gnome-settings-daemon-bgo793253.patch: No longer needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 02:38:55 UTC 2024 - Jonathan Kang <songchuan.kang@suse.com>
|
||||
|
||||
@@ -6,6 +148,48 @@ Wed Jun 19 02:38:55 UTC 2024 - Jonathan Kang <songchuan.kang@suse.com>
|
||||
gadget(glgo#GNOME/gnome-settings-daemon#780, bsc#1226423,
|
||||
CVE-2024-38394).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 19 21:19:11 UTC 2024 - Michael Gorse <mgorse@suse.com>
|
||||
|
||||
- Update gnome-settings-daemon-bgo793253.patch to fix the build
|
||||
with gcc 14.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 16 11:06:25 UTC 2024 - Joan Torres <joan.torres@suse.com>
|
||||
|
||||
- Add gnome-settings-daemon-stop-service-when-no-network.patch
|
||||
Fix to enable remote login.
|
||||
Allows the g-r-d handover service to be started on wifi network.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 17 09:35:43 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 46.0:
|
||||
+ Fixed glib deprecation warnings
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 08:01:50 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 46.rc:
|
||||
+ Smartcard: Don't lose track of token name on card removal.
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 09:27:01 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 46.beta:
|
||||
+ Xsettings: Expose setting for switch shapes.
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 13:04:11 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Update to version 46.alpha:
|
||||
+ Power: Don't show notifications on mobile hardware.
|
||||
+ Sharing: Add support for gnome-remote-desktop headless mode.
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 4 17:03:51 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
4
gnome-settings-daemon.obsinfo
Normal file
4
gnome-settings-daemon.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: gnome-settings-daemon
|
||||
version: 48.1
|
||||
mtime: 1745039524
|
||||
commit: 306e33d135cdced34c8ed4e2bf257727a079c75a
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gnome-settings-daemon
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -27,25 +27,23 @@
|
||||
%bcond_without wacom
|
||||
%endif
|
||||
|
||||
%define base_ver 45
|
||||
%define base_ver 48
|
||||
|
||||
Name: gnome-settings-daemon
|
||||
Version: 45.1
|
||||
Version: 48.1
|
||||
Release: 0
|
||||
Summary: Settings daemon for the GNOME desktop
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-only
|
||||
Group: System/GUI/GNOME
|
||||
URL: https://gitlab.gnome.org/GNOME/gnome-settings-daemon
|
||||
Source0: https://download.gnome.org/sources/gnome-settings-daemon/45/%{name}-%{version}.tar.xz
|
||||
Source0: %{name}-%{version}.tar.zst
|
||||
|
||||
# PATCH-FIX-OPENSUSE gnome-settings-daemon-initial-keyboard.patch bsc#979051 boo#1009515 federico@suse.com -- Deal with the default keyboard being set from xkb instead of GNOME
|
||||
Patch0: gnome-settings-daemon-initial-keyboard.patch
|
||||
# PATCH-FIX-OPENSUSE gnome-settings-daemon-switch-Japanese-default-input-to-mozc.patch bnc#1029083 boo#1056289 qzhao@suse.com -- Switch new user's default input engine from "anthy" to "mozc" in gnome-desktop with Japanese language and ibus input frame-work condition.
|
||||
Patch1: gnome-settings-daemon-switch-Japanese-default-input-to-mozc.patch
|
||||
# PATCH-FIX-UPSTREAM gnome-settings-daemon-bgo793253.patch bgo#793253 dimstar@opensuse.org -- Fix no-return-in-nonvoid-function
|
||||
Patch2: gnome-settings-daemon-bgo793253.patch
|
||||
# PATCH-FIX-UPSTREAM 0001-usb-protection-Treat-hubs-and-HID-devices-like-any-o.patch glgo#GNOME/gnome-settings-daemon#780, bsc#1226423, CVE-2024-38394 sckang@suse.com -- usb-protection: Treat hubs and HID devices like any other USB gadget
|
||||
Patch3: 0001-usb-protection-Treat-hubs-and-HID-devices-like-any-o.patch
|
||||
Patch4: 0001-usb-protection-Treat-hubs-and-HID-devices-like-any-o.patch
|
||||
|
||||
## SLE/LEAP-only patches start at 1000
|
||||
# PATCH-FEATURE-OPENSUSE gnome-settings-daemon-notify-idle-resumed.patch bnc#439018 bnc#708182 bgo#575467 hpj@suse.com -- notify user about auto suspend when returning from sleep
|
||||
@@ -69,9 +67,9 @@ BuildRequires: pkgconfig(geoclue-2.0) >= 2.1.2
|
||||
BuildRequires: pkgconfig(geocode-glib-2.0) >= 3.10.0
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.58
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.70
|
||||
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.11.1
|
||||
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 42
|
||||
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 46.beta
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.15.3
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(gweather4)
|
||||
@@ -87,7 +85,7 @@ BuildRequires: pkgconfig(librsvg-2.0) >= 2.36.2
|
||||
BuildRequires: pkgconfig(mm-glib) >= 1.0
|
||||
BuildRequires: pkgconfig(pango) >= 1.20.0
|
||||
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.114
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(systemd) >= 243
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: pkgconfig(upower-glib) >= 0.99.12
|
||||
BuildRequires: pkgconfig(x11)
|
||||
@@ -115,7 +113,7 @@ BuildRequires: pkgconfig(wayland-client)
|
||||
%endif
|
||||
Recommends: iio-sensor-proxy
|
||||
# g-s-d only support configurtion of libinput based pointer drivers now.
|
||||
Recommends: xf86-input-libinput
|
||||
Recommends: (xf86-input-libinput if xorg-x11-server)
|
||||
|
||||
%description
|
||||
gnome-settings-daemon provides a daemon run by all GNOME sessions to
|
||||
@@ -145,19 +143,10 @@ contact the settings daemon via its DBus interface.
|
||||
%prep
|
||||
%autosetup -N
|
||||
|
||||
%if ! 0%{?sle_version}
|
||||
%if 0%{?is_opensuse}
|
||||
%autopatch -p1 -M 999
|
||||
%else
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
%endif
|
||||
|
||||
# Enable the patches for both Leap 15 and SLE 15, please find the clarification at bsc#1158476.
|
||||
%if 0%{?sle_version} >= 150000
|
||||
%patch -P 1000 -p1
|
||||
%patch -P 1001 -p1
|
||||
%autopatch -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
@@ -254,6 +243,7 @@ rm %{buildroot}%{_sysconfdir}/xdg/autostart/org.gnome.SettingsDaemon.Wacom.deskt
|
||||
%{_userunitdir}/org.gnome.SettingsDaemon.XSettings.service
|
||||
%{_userunitdir}/org.gnome.SettingsDaemon.XSettings.target
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.enums.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.global-shortcuts.gschema.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
|
||||
|
Reference in New Issue
Block a user