gnome-44.0

This commit is contained in:
Rmys
2023-04-22 16:43:53 +03:00
parent 40523d7d10
commit 1502d96e4d
37 changed files with 650 additions and 163 deletions
+8 -2
View File
@@ -11,9 +11,12 @@ from pisi.actionsapi import get
def setup():
shelltools.system("sed 's@/bin/sh@/bin/sh -l@' -i gnome-session/gnome-session.in")
shelltools.system("""sed -i "/ systemd_dep/,+3d;/if enable_systemd/a \ systemd_userunitdir = '/tmp\'" meson.build""")
# shelltools.system("""sed -i "/ systemd_dep/,+3d;/if enable_systemd/a \ systemd_userunitdir = '/tmp\'" meson.build""")
mesontools.configure("--buildtype=release \
-Dsystemd_session=disable \
-Delogind=true \
-Dsystemd=false \
-Dsystemd_journal=false")
def build():
@@ -22,5 +25,8 @@ def build():
def install():
mesontools.install()
pisitools.removeDir("/tmp")
# lfs
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())