systemd/gnome-settings-daemon: add systemd subpkg (MR 5377) (MR 5563)
also remove the elogind specific patch to use systemd for brightness changes Co-authored-by: Clayton Craft <clayton@craftyguy.net> Note: the user services that the -systemd split pkg installs are not enabled by default using systemd presets. None of them have 'Install' sections, they appear to be mostly/all dbus activated instead. [ci:ignore-count] [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
86d38add61
commit
3b2bcb676b
2 changed files with 6 additions and 20 deletions
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=gnome-settings-daemon
|
||||
pkgver=99946.0
|
||||
_pkgver=46.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="GNOME settings daemon"
|
||||
url="https://gitlab.gnome.org/GNOME/gnome-settings-daemon"
|
||||
arch="all"
|
||||
|
|
@ -47,9 +47,12 @@ checkdepends="
|
|||
py3-gobject3
|
||||
umockdev-dev
|
||||
"
|
||||
subpackages="$pkgname-dev $pkgname-lang"
|
||||
subpackages="
|
||||
$pkgname-dev
|
||||
$pkgname-lang
|
||||
$pkgname-systemd
|
||||
"
|
||||
source="https://download.gnome.org/sources/gnome-settings-daemon/${_pkgver%.*}/gnome-settings-daemon-$_pkgver.tar.xz
|
||||
dont-use-logind-for-brightness-changing.patch
|
||||
"
|
||||
builddir="$srcdir/gnome-settings-daemon-$_pkgver"
|
||||
|
||||
|
|
@ -71,5 +74,4 @@ package() {
|
|||
|
||||
sha512sums="
|
||||
445e9ee4709af7a67ded55733d4041357995fe9746bcf00fa81f52f6dddc2071e7114e9bf836bcf464bc0f04da3b3c08be04c1942963c1910d1a14b4434f6633 gnome-settings-daemon-46.0.tar.xz
|
||||
fd80b939a14bbc5dd502afda0bc6511f2d9c045018680e5ae7fbec32efadb564c5060ec91d374330f246d70571aad5979ce8c175175a29b5ccec3443c8286dc6 dont-use-logind-for-brightness-changing.patch
|
||||
"
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
Brightness control is currently broken with elogind, so fall back to
|
||||
the previous codepath which doesn't use elogind.
|
||||
See https://github.com/elogind/elogind/issues/158
|
||||
diff --git a/plugins/power/gsd-backlight.c b/plugins/power/gsd-backlight.c
|
||||
index ca5f272..59048d9 100644
|
||||
--- a/plugins/power/gsd-backlight.c
|
||||
+++ b/plugins/power/gsd-backlight.c
|
||||
@@ -482,7 +482,7 @@ gsd_backlight_set_brightness_val_async (GsdBacklight *backlight,
|
||||
if (backlight->udev_device != NULL) {
|
||||
BacklightHelperData *task_data;
|
||||
|
||||
- if (backlight->logind_proxy) {
|
||||
+ if (0) {
|
||||
g_dbus_proxy_call (backlight->logind_proxy,
|
||||
"SetBrightness",
|
||||
g_variant_new ("(ssu)",
|
||||
Loading…
Add table
Add a link
Reference in a new issue