dbus-1.16.0

This commit is contained in:
Rmys
2024-12-23 12:28:04 +03:00
parent f5ac0f8521
commit 0a7a7b93a6
2 changed files with 45 additions and 40 deletions
+34 -37
View File
@@ -8,57 +8,54 @@ from pisi.actionsapi import get
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
def setup(): 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 = "\
--disable-selinux \ -Dselinux=disabled \
--disable-static \ -Dasserts=false \
--disable-tests \ -Dchecks=false \
--disable-asserts \ -Dmodular_tests=disabled \
--disable-checks \ -Ddoxygen_docs=disabled \
--disable-embedded-tests \ -Dlibaudit=disabled \
--disable-modular-tests \ -Dinotify=enabled \
--disable-doxygen-docs \ -Duser_session=true \
--disable-libaudit \ -Dsystemd=disabled \
--disable-silent-rules \ -Dsystemd_system_unitdir=disabled \
--enable-inotify \ -Dsystemd_user_unitdir=disabled \
--enable-user-session \ -Dsystem_pid_file=/run/dbus/pid \
--with-systemduserunitdir=no \ -Dsystem_socket=/run/dbus/system_bus_socket \
--with-systemdsystemunitdir=no \ -Dsession_socket_dir=/tmp \
--with-xml=expat \ -Ddbus_user=dbus \
--with-system-pid-file=/run/dbus/pid \ -Dxml_docs=disabled"
--with-system-socket=/run/dbus/system_bus_socket \
--with-console-auth-dir=/run/console/ \
--with-session-socket-dir=/tmp \
--with-dbus-user=dbus \
--enable-abstract-sockets=auto \
--disable-xml-docs"
if get.buildTYPE() == "emul32": # --with-console-auth-dir=/run/console/ \
# --enable-abstract-sockets=auto \
if get.buildTYPE() == "_emul32":
options += " \ options += " \
--libdir=/usr/lib32 \ --libdir=/usr/lib32 \
--disable-xml-docs \ -Druntime_dir=/run \
--without-elogind \ -Ddoxygen_docs=disabled \
--disable-doxygen-docs \
" "
# Build only libdbus
pisitools.dosed("Makefile.am", "(.*SUBDIRS=dbus) .*", "\\1")
autotools.autoreconf("-vif") mesontools.configure(options)
autotools.configure(options)
def build(): def build():
autotools.make() mesontools.build()
def check(): def check():
autotools.make("check") mesontools.build("test")
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) mesontools.install()
if get.buildTYPE() == "emul32": if get.buildTYPE() == "_emul32":
# pisitools.removeDir("/usr/bin32")
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
+11 -3
View File
@@ -13,8 +13,9 @@
<IsA>service</IsA> <IsA>service</IsA>
<Summary>A message bus system, a simple way for applications to talk to each other</Summary> <Summary>A message bus system, a simple way for applications to talk to each other</Summary>
<Description>D-Bus supplies both a system daemon (for events such as "new hardware device added" or "printer queue changed") and a per-user-login-session daemon (for general IPC needs among user applications). Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). Currently the communicating applications are on one computer, but TCP/IP option is available and remote support planned.</Description> <Description>D-Bus supplies both a system daemon (for events such as "new hardware device added" or "printer queue changed") and a per-user-login-session daemon (for general IPC needs among user applications). Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). Currently the communicating applications are on one computer, but TCP/IP option is available and remote support planned.</Description>
<Archive sha1sum="47f03306a491509cdebacded837e51b086835252" type="tarxz">https://dbus.freedesktop.org/releases/dbus/dbus-1.14.10.tar.xz</Archive> <Archive sha1sum="29a3de47fef882e620b7b2ff275250fa3fd442be" type="tarxz">https://dbus.freedesktop.org/releases/dbus/dbus-1.16.0.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>meson</Dependency>
<Dependency versionFrom="2.5.0">expat-devel</Dependency> <Dependency versionFrom="2.5.0">expat-devel</Dependency>
<Dependency>libX11-devel</Dependency> <Dependency>libX11-devel</Dependency>
<!--<Dependency>doxygen</Dependency>--> <!--<Dependency>doxygen</Dependency>-->
@@ -85,9 +86,9 @@
<Package> <Package>
<Name>dbus-32bit</Name> <Name>dbus-32bit</Name>
<PartOf>emul32</PartOf> <PartOf>_emul32</PartOf>
<Summary>32-bit shared libraries for dbus</Summary> <Summary>32-bit shared libraries for dbus</Summary>
<BuildType>emul32</BuildType> <BuildType>_emul32</BuildType>
<BuildDependencies> <BuildDependencies>
<Dependency>expat-32bit</Dependency> <Dependency>expat-32bit</Dependency>
</BuildDependencies> </BuildDependencies>
@@ -99,6 +100,13 @@
</Package> </Package>
<History> <History>
<Update release="25">
<Date>2024-12-21</Date>
<Version>1.16.0</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="24"> <Update release="24">
<Date>2024-07-16</Date> <Date>2024-07-16</Date>
<Version>1.14.10</Version> <Version>1.14.10</Version>