dbus: update to 1.16.2

Update the 1.16.2 and adapt Makefile to meson build system.

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
This commit is contained in:
John Audia
2025-07-23 07:47:00 -04:00
committed by Robert Marko
parent 6b4d3b0548
commit c6b21821a5

View File

@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=dbus PKG_NAME:=dbus
PKG_VERSION:=1.14.10 PKG_VERSION:=1.16.2
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://dbus.freedesktop.org/releases/dbus PKG_SOURCE_URL:=https://dbus.freedesktop.org/releases/dbus
PKG_HASH:=ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f PKG_HASH:=0ba2a1a4b16afe7bceb2c07e9ce99a8c2c3508e5dec290dbb643384bd6beb7e2
PKG_MAINTAINER:=Robert Marko <robimarko@gmail.com> PKG_MAINTAINER:=Robert Marko <robimarko@gmail.com>
PKG_LICENSE:=AFL-2.1 PKG_LICENSE:=AFL-2.1
@@ -26,6 +26,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_DBUS_VERBOSE CONFIG_DBUS_VERBOSE
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk
define Package/dbus/Default define Package/dbus/Default
SECTION:=utils SECTION:=utils
@@ -80,37 +81,35 @@ define Package/dbus/config
source "$(SOURCE)/Config.in" source "$(SOURCE)/Config.in"
endef endef
CONFIGURE_ARGS += \ MESON_ARGS += \
--disable-maintainer-mode \ -Ddbus_user=root \
--disable-developer \ -Dsession_socket_dir=/tmp \
--enable-debug=no \ -Dsystem_socket=/var/run/dbus/system_bus_socket \
--enable-shared \ -Dsystem_pid_file=/var/run/dbus.pid \
--disable-static \ -Dasserts=false \
--disable-verbose-mode \ -Dchecks=false \
--disable-asserts \ -Ddoxygen_docs=disabled \
--disable-xml-docs \ -Dxml_docs=disabled \
--disable-doxygen-docs \ -Dducktype_docs=disabled \
--disable-ducktype-docs \ -Dselinux=disabled \
--disable-selinux \ -Dapparmor=disabled \
--disable-apparmor \ -Dlibaudit=disabled \
--disable-libaudit \ -Dinotify=enabled \
--enable-inotify \ -Dkqueue=disabled \
--disable-kqueue \ -Dsystemd=disabled \
--disable-console-owner-file \ -Dmodular_tests=disabled \
--disable-systemd \ -Dintrusive_tests=false \
--disable-tests \ -Dinstalled_tests=false \
--disable-code-coverage \ -Dx11_autolaunch=disabled \
--disable-x11-autolaunch \ -Dtools=true \
--with-session-socket-dir=/tmp \ -Duser_session=false \
--with-system-socket=/var/run/dbus/system_bus_socket \ -Dmessage_bus=true \
--with-system-pid-file=/var/run/dbus.pid \ -Dstats=false
--with-dbus-user=root \
--without-x \
--enable-qt-help=no \
--disable-xml-docs
ifeq ($(CONFIG_DBUS_VERBOSE),y) ifeq ($(CONFIG_DBUS_VERBOSE),y)
CONFIGURE_ARGS += --enable-verbose-mode MESON_ARGS += -Dverbose_mode=true
else
MESON_ARGS += -Dverbose_mode=false
endif endif
define Build/InstallDev define Build/InstallDev
@@ -142,7 +141,7 @@ define Package/dbus/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dbus-uuidgen $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dbus-uuidgen $(1)/usr/bin/
$(INSTALL_BIN) ./files/dbus-launch $(1)/usr/bin/ $(INSTALL_BIN) ./files/dbus-launch $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dbus-daemon-launch-helper $(1)/usr/lib/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/libexec/dbus-daemon-launch-helper $(1)/usr/lib/
$(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/dbus.init $(1)/etc/init.d/dbus $(INSTALL_BIN) ./files/dbus.init $(1)/etc/init.d/dbus
$(INSTALL_DIR) $(1)/usr/share/dbus-1 $(INSTALL_DIR) $(1)/usr/share/dbus-1