gnome-session rebuild

This commit is contained in:
Rmys
2024-08-05 14:59:19 +03:00
parent 52e1da085b
commit 1c5f17554d
3 changed files with 28 additions and 3 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ def install():
mesontools.install()
# lfs
shelltools.system("sed -e 's@^Exec=@&/usr/bin/dbus-run-session @' \
-i %s/usr/share/wayland-sessions/gnome-wayland.desktop" % get.installDIR())
# shelltools.system("sed -e 's@^Exec=@&/usr/bin/dbus-run-session @' \
# -i %s/usr/share/wayland-sessions/gnome-wayland.desktop" % get.installDIR())
pisitools.removeDir("/tmp")
#shelltools.system("rm -rv %s/tmp/{*.d,*.target,*.service}" % get.installDIR())
@@ -0,0 +1,18 @@
--- 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',
+8 -1
View File
@@ -29,7 +29,7 @@
<Dependency>meson</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch>gentoo/support-elogind.patch</Patch> -->
<Patch>gentoo/gnome-session-46.0-meson-Support-elogind.patch</Patch>
</Patches>
</Source>
@@ -64,6 +64,13 @@
</Package>
<History>
<Update release="9">
<Date>2024-08-05</Date>
<Version>46.0</Version>
<Comment>Rebuild.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="8">
<Date>2024-03-19</Date>
<Version>46.0</Version>