From 6e47dbd3df7883360e6e108a84c57b9bc3e5d7e8 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 27 Apr 2026 08:35:33 -0700 Subject: [PATCH] packaging: ship authforge-gnome-integration binary package Declares the new arch-all binary package in debian/control (depending on authforge-gui + gnome-control-center) and wires its single data file (gnome-integration/io.dangerousthings.AuthForge.UsersPanel.desktop) into debian/rules' override_dh_auto_install so it lands in /usr/share/applications/. The metapackage already Suggests: authforge-gnome-integration, so no change there. --- debian/control | 8 ++++++++ debian/rules | 3 +++ 2 files changed, 11 insertions(+) diff --git a/debian/control b/debian/control index c988b8c..da98765 100644 --- a/debian/control +++ b/debian/control @@ -53,3 +53,11 @@ Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, authforge-daemon Description: GTK4/libadwaita UI for authforge End-user-facing settings panel for enrollment and policy. + +Package: authforge-gnome-integration +Architecture: all +Depends: ${misc:Depends}, authforge-gui, gnome-control-center +Description: GNOME Settings Users-panel integration for authforge + Adds a "Configure security…" entry to each user's detail view in + gnome-control-center, launching the AuthForge GUI with that user + pre-selected. diff --git a/debian/rules b/debian/rules index b184bf9..10beb6f 100755 --- a/debian/rules +++ b/debian/rules @@ -37,6 +37,9 @@ override_dh_auto_install: # systemd unit (dh_installsystemd will enable it) install -D -m 0644 debian/authforge-daemon.service \ debian/authforge-daemon/lib/systemd/system/authforge-daemon.service + # GNOME Settings Users-panel overlay (authforge-gnome-integration) + install -D -m 0644 gnome-integration/io.dangerousthings.AuthForge.UsersPanel.desktop \ + debian/authforge-gnome-integration/usr/share/applications/io.dangerousthings.AuthForge.UsersPanel.desktop override_dh_auto_test: cargo test --workspace --release