Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2026 20:24:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 292308] audio/openal-soft: Optionally remove dependency on RTKIT/DBUS
Message-ID:  <bug-292308-12827@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292308

            Bug ID: 292308
           Summary: audio/openal-soft: Optionally remove dependency on
                    RTKIT/DBUS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: jamie@catflap.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

Created attachment 266970
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266970&action=edit
git diff patch to add the option to disable dbus dependency

OpenAL Soft uses RTKit (via D-Bus) to request real-time scheduling. However,
RTKit is a Linux-specific daemon that interfaces with Linux-specific kernel
features; it has no functional equivalent on FreeBSD. Consequently, the
devel/dbus dependency provides no benefit to FreeBSD users and acts as a
"zombie" dependency.

This patch introduces an RTKIT option to the port:

Default is ON: To maintain the status quo for official binary packages and
avoid breaking existing expectations.

Functionality: When disabled, it passes ALSOFT_RTKIT=OFF to CMake, which
successfully prunes the link-time dependency on libdbus-1.

Testing performed:
Verified that libopenal.so no longer links to libdbus-1 when the option is OFF
using ldd.
Verified that the port still builds and functions correctly with the option ON.
Confirmed that pre-existing make check-plist errors in this port are unrelated
to these changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292308-12827>