gnome-session rebuild
This commit is contained in:
@@ -23,7 +23,7 @@ def install():
|
|||||||
mesontools.install()
|
mesontools.install()
|
||||||
|
|
||||||
# lfs
|
# lfs
|
||||||
shelltools.system("sed -e 's@^Exec=@&/usr/bin/dbus-run-session @' \
|
# shelltools.system("sed -e 's@^Exec=@&/usr/bin/dbus-run-session @' \
|
||||||
-i %s/usr/share/wayland-sessions/gnome-wayland.desktop" % get.installDIR())
|
# -i %s/usr/share/wayland-sessions/gnome-wayland.desktop" % get.installDIR())
|
||||||
pisitools.removeDir("/tmp")
|
pisitools.removeDir("/tmp")
|
||||||
#shelltools.system("rm -rv %s/tmp/{*.d,*.target,*.service}" % get.installDIR())
|
#shelltools.system("rm -rv %s/tmp/{*.d,*.target,*.service}" % get.installDIR())
|
||||||
|
|||||||
+18
@@ -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',
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<Dependency>meson</Dependency>
|
<Dependency>meson</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch>gentoo/support-elogind.patch</Patch> -->
|
<Patch>gentoo/gnome-session-46.0-meson-Support-elogind.patch</Patch>
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -64,6 +64,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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">
|
<Update release="8">
|
||||||
<Date>2024-03-19</Date>
|
<Date>2024-03-19</Date>
|
||||||
<Version>46.0</Version>
|
<Version>46.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user