Merge pull request #2071 from Rmys/master

dbus rebuild
This commit is contained in:
Rmys
2025-01-02 23:40:17 +03:00
committed by GitHub
2 changed files with 24 additions and 13 deletions
+21 -12
View File
@@ -15,8 +15,7 @@ def setup():
# pisitools.dosed("configure.ac", '(AS_AC_EXPAND\(EXPANDED_LOCALSTATEDIR, )"\$localstatedir"\)', r'\1 "")') # pisitools.dosed("configure.ac", '(AS_AC_EXPAND\(EXPANDED_LOCALSTATEDIR, )"\$localstatedir"\)', r'\1 "")')
# for f in ["bus/Makefile.am", "bus/Makefile.in"]: # for f in ["bus/Makefile.am", "bus/Makefile.in"]:
# pisitools.dosed(f, "\$\(localstatedir\)(\/run\/dbus)", "\\1") # pisitools.dosed(f, "\$\(localstatedir\)(\/run\/dbus)", "\\1")
options = "\ options = "-Dselinux=disabled \
-Dselinux=disabled \
-Druntime_dir=/run \ -Druntime_dir=/run \
-Dasserts=false \ -Dasserts=false \
-Dchecks=false \ -Dchecks=false \
@@ -38,14 +37,24 @@ def setup():
# --enable-abstract-sockets=auto \ # --enable-abstract-sockets=auto \
if get.buildTYPE() == "emul32": if get.buildTYPE() == "emul32":
options += " \ options += " --libdir=/usr/lib32 \
--libdir=/usr/lib32 \ -Dapparmor=disabled \
--bindir=/usr/bin32 \
--datadir=/tmp \
--libexecdir=/usr/libexec32 \
-Dx11_autolaunch=disabled \
-Ddoxygen_docs=disabled \ -Ddoxygen_docs=disabled \
-Dducktype_docs=disabled \
-Dkqueue=disabled \
-Dlaunchd=disabled \
-Dlibaudit=disabled \
-Dmessage_bus=false \
-Dqt_help=disabled \
-Drelocation=disabled \
-Dselinux=disabled \
-Dtools=false \
-Dx11_autolaunch=disabled \
-Dxml_docs=disabled \
" "
# --datadir=/tmp \
# --bindir=/usr/bin32 \
# --libexecdir=/usr/libexec32 \
mesontools.configure(options) mesontools.configure(options)
@@ -58,10 +67,10 @@ def check():
def install(): def install():
mesontools.install() mesontools.install()
if get.buildTYPE() == "emul32": if get.buildTYPE() == "emul32":
pisitools.removeDir("/usr/bin32") # pisitools.removeDir("/usr/bin32")
pisitools.removeDir("/usr/libexec32") # pisitools.removeDir("/usr/libexec32")
pisitools.removeDir("/tmp") # pisitools.removeDir("/tmp")
pisitools.dosed("%s/usr/lib32/pkgconfig/*.pc" % get.installDIR(), "bin32", "bin") # pisitools.dosed("%s/usr/lib32/pkgconfig/*.pc" % get.installDIR(), "bin32", "bin")
return return
# needs to exist for the system socket # needs to exist for the system socket
+2
View File
@@ -79,7 +79,9 @@
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path> <Path fileType="data">/usr/lib32/pkgconfig</Path>
<Path fileType="library">/usr/lib/cmake</Path> <Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="library">/usr/lib32/cmake</Path>
<Path fileType="library">/usr/lib/dbus-1.0/include</Path> <Path fileType="library">/usr/lib/dbus-1.0/include</Path>
<Path fileType="library">/usr/lib32/dbus-1.0/include</Path>
<Path fileType="man">/usr/share/man/man3</Path> <Path fileType="man">/usr/share/man/man3</Path>
</Files> </Files>
</Package> </Package>