elogind rebuild
This commit is contained in:
@@ -10,6 +10,13 @@ from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.system("sed -i '/Disable polkit/,+8 d' meson.build")
|
||||
shelltools.system("""sed '/request_name/i\
|
||||
r = sd_bus_set_exit_on_disconnect(m->bus, true);\
|
||||
if (r < 0)\
|
||||
return log_error_errno(r, "Failed to set exit on disconnect: %m");' \
|
||||
-i src/login/logind.c""")
|
||||
|
||||
mesontools.configure("--prefix=/usr \
|
||||
-Drootlibdir=/usr/lib \
|
||||
-Dpolkit=true \
|
||||
@@ -34,4 +41,4 @@ def install():
|
||||
|
||||
shelltools.system("ln -s libelogind.pc %s/usr/lib/pkgconfig/libsystemd.pc" % get.installDIR())
|
||||
shelltools.system("ln -s libelogind.pc %s/usr/lib/pkgconfig/libsystemd-logind.pc" % get.installDIR())
|
||||
shelltools.system("ln -sr %s/usr/include/elogind %s/usr/include/systemd" % (get.installDIR(), get.installDIR()))
|
||||
shelltools.system("ln -sr %s/usr/include/elogind %s/usr/include/systemd" % (get.installDIR(), get.installDIR()))
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libcap-devel</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<!-- <Dependency>polkit-devel</Dependency> -->
|
||||
<Dependency>cgmanager-devel</Dependency>
|
||||
<Dependency>libevdev-devel</Dependency>
|
||||
<Dependency>p11-kit-devel</Dependency>
|
||||
@@ -101,6 +101,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2022-05-21</Date>
|
||||
<Version>246.10</Version>
|
||||
<Comment>elogind rebuild.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2021-12-17</Date>
|
||||
<Version>246.10</Version>
|
||||
|
||||
Reference in New Issue
Block a user