From b2141a41d78a1bc9c507b03c0a916152254e5e16 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 12 Apr 2026 19:41:49 +0900 Subject: [PATCH] internal/rosa/dbus: xdg-dbus-proxy artifact This is currently a hakurei runtime dependency, but will eventually be removed. Signed-off-by: Ophestra --- internal/rosa/all.go | 3 ++- internal/rosa/dbus.go | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/internal/rosa/all.go b/internal/rosa/all.go index fefd3863..14165698 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -148,8 +148,9 @@ const ( WaylandProtocols XCB XCBProto - Xproto + XDGDBusProxy XZ + Xproto Zlib Zstd diff --git a/internal/rosa/dbus.go b/internal/rosa/dbus.go index ad81f973..b27d85a8 100644 --- a/internal/rosa/dbus.go +++ b/internal/rosa/dbus.go @@ -44,3 +44,39 @@ func init() { ID: 5356, } } + +func (t Toolchain) newXDGDBusProxy() (pkg.Artifact, string) { + const ( + version = "0.1.7" + checksum = "UW5Pe-TP-XAaN-kTbxrkOQ7eYdmlAQlr2pdreLtPT0uwdAz-7rzDP8V_8PWuZBup" + ) + return t.NewPackage("xdg-dbus-proxy", version, pkg.NewHTTPGetTar( + nil, "https://github.com/flatpak/xdg-dbus-proxy/archive/"+ + "refs/tags/"+version+".tar.gz", + mustDecode(checksum), + pkg.TarGzip, + ), nil, &MesonHelper{ + Setup: []KV{ + {"Dman", "disabled"}, + }, + }, + DBus, + + GLib, + ), version +} +func init() { + artifactsM[XDGDBusProxy] = Metadata{ + f: Toolchain.newXDGDBusProxy, + + Name: "xdg-dbus-proxy", + Description: "a filtering proxy for D-Bus connections", + Website: "https://github.com/flatpak/xdg-dbus-proxy", + + Dependencies: P{ + GLib, + }, + + ID: 58434, + } +}