From 8990eaaed477793dc1f0a6ab60040b7406bc5b13 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sat, 28 Feb 2026 15:16:05 -0500 Subject: [PATCH] fix(steps-guix): add dbus-1.16.2 step before avahi in guix manifest --- steps-guix/dbus-1.16.2/pass1.sh | 32 ++++++++++++++++++++++++++++++++ steps-guix/dbus-1.16.2/sources | 1 + steps-guix/manifest | 3 +++ 3 files changed, 36 insertions(+) create mode 100644 steps-guix/dbus-1.16.2/pass1.sh create mode 100644 steps-guix/dbus-1.16.2/sources diff --git a/steps-guix/dbus-1.16.2/pass1.sh b/steps-guix/dbus-1.16.2/pass1.sh new file mode 100644 index 00000000..f7001a05 --- /dev/null +++ b/steps-guix/dbus-1.16.2/pass1.sh @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default +} + +src_configure() { + mkdir -p build + cd build + + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DCMAKE_INSTALL_LIBDIR="${LIBDIR}" \ + -DCMAKE_INSTALL_INCLUDEDIR="${PREFIX}/include" \ + -DBUILD_SHARED_LIBS=ON \ + -DDBUS_BUILD_TESTS=OFF \ + -DDBUS_ENABLE_XML_DOCS=OFF \ + -DDBUS_ENABLE_DOXYGEN_DOCS=OFF \ + -DDBUS_BUILD_X11=OFF \ + -DDBUS_WITH_GLIB=OFF \ + -DENABLE_SYSTEMD=OFF \ + -DENABLE_USER_SESSION=OFF +} + +src_compile() { + make "${MAKEJOBS}" +} + +src_install() { + make install DESTDIR="${DESTDIR}" +} diff --git a/steps-guix/dbus-1.16.2/sources b/steps-guix/dbus-1.16.2/sources new file mode 100644 index 00000000..7e8bfeb6 --- /dev/null +++ b/steps-guix/dbus-1.16.2/sources @@ -0,0 +1 @@ +f https://dbus.freedesktop.org/releases/dbus/dbus-1.16.2.tar.xz 0ba2a1a4b16afe7bceb2c07e9ce99a8c2c3508e5dec290dbb643384bd6beb7e2 dbus-1.16.2.tar.xz diff --git a/steps-guix/manifest b/steps-guix/manifest index bc1e1880..7f9f1a84 100644 --- a/steps-guix/manifest +++ b/steps-guix/manifest @@ -13,6 +13,7 @@ build: linux-6.12.74 jump: linux64 improve: finalize_fhs improve: get_network +# Build Guix Dependencies build: libgpg-error-1.59 build: libgcrypt-1.12.1 build: guile-gcrypt-0.5.0 @@ -30,9 +31,11 @@ build: guile-zlib-0.2.2 build: guile-lzlib-0.0.2 build: scheme-bytestructures-2.0.2 build: libevent-2.1.12 +build: dbus-1.16.2 build: avahi-0.8 build: guile-avahi-0.4.1 build: guile-git-0.10.0 build: guile-json-4.7.3 + improve: after