all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 9b9fef3168a6f229b5457a80d88f001a20e94839 919 bytes (raw)
name: gnu/packages/patches/gnome-session-support-elogind.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
This patch, borrowed from Gentoo, allows configuring gnome-sesssion with
elogind support.

https://gitweb.gentoo.org/repo/gentoo.git/plain/gnome-base/gnome-session/files/gnome-session-46.0-meson-Support-elogind.patch?id=47aae21c1beeef930aa7e2125d93e52bf237d2b9

--- a/meson.build	2024-07-29 16:43:01.812864903 +0200
+++ b/meson.build	2024-07-29 16:54:16.654741387 +0200
@@ -113,8 +113,13 @@
                                                  pkgconfig_define: ['prefix', session_prefix])
 endif
 
-libsystemd_dep = dependency('libsystemd', version: '>= 209', required: true)
-session_bin_deps += libsystemd_dep
+libsystemd_dep = dependency('libsystemd', version: '>= 209', required: false)
+if libsystemd_dep.found()
+  session_bin_deps += libsystemd_dep
+else
+  elogind_dep = dependency('libelogind', version: '>=209', required: true)
+  session_bin_deps += elogind_dep
+endif
 
 configure_file(
   output: 'config.h',

debug log:

solving 9b9fef3168 ...
found 9b9fef3168 in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.