diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-19 22:51:08 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-19 22:51:08 +0900 |
| commit | c0593e83253813ba4ec9caf6784e5f2d6251e6fd (patch) | |
| tree | 9f07b83fa37a922464588f90e324aa9d274c810f /internal/rosa/dbus.go | |
| parent | 608d8303ec530c0cb8f30a03721ae5e12d6a986f (diff) | |
internal/rosa/package: migrate dbus
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/dbus.go')
| -rw-r--r-- | internal/rosa/dbus.go | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/internal/rosa/dbus.go b/internal/rosa/dbus.go deleted file mode 100644 index 485bc422..00000000 --- a/internal/rosa/dbus.go +++ /dev/null @@ -1,77 +0,0 @@ -package rosa - -import "hakurei.app/internal/pkg" - -func (t Toolchain) newDBus() (pkg.Artifact, string) { - const ( - version = "1.16.2" - checksum = "INwOuNdrDG7XW5ilW_vn8JSxEa444rRNc5ho97i84I1CNF09OmcFcV-gzbF4uCyg" - ) - return t.NewPackage("dbus", version, newFromGitLab( - "gitlab.freedesktop.org", - "dbus/dbus", - "dbus-"+version, - checksum, - ), &PackageAttr{ - // OSError: [Errno 30] Read-only file system: '/usr/src/dbus/subprojects/packagecache' - Writable: true, - // PermissionError: [Errno 13] Permission denied: '/usr/src/dbus/subprojects/packagecache' - Chmod: true, - }, &MesonHelper{ - Setup: []KV{ - {"Depoll", "enabled"}, - {"Dinotify", "enabled"}, - {"Dx11_autolaunch", "disabled"}, - }, - }, - GLib, - Libexpat, - ), version -} -func init() { - native.mustRegister(Toolchain.newDBus, &Metadata{ - Name: "dbus", - Description: "a message bus system", - Website: "https://www.freedesktop.org/wiki/Software/dbus/", - - Dependencies: P{ - GLib, - Libexpat, - }, - - 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, newFromGitHub( - "flatpak/xdg-dbus-proxy", - version, - checksum, - ), nil, &MesonHelper{ - Setup: []KV{ - {"Dman", "disabled"}, - }, - }, - DBus, - - GLib, - ), version -} -func init() { - native.mustRegister(Toolchain.newXDGDBusProxy, &Metadata{ - 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, - }) -} |
