add activation scaffolding
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
00dff14a3ebe606bbb1803ab3d8adb5fa4661eb9- Parents
-
d5f2911 - Tree
6983daa
00dff14
00dff14a3ebe606bbb1803ab3d8adb5fa4661eb9d5f2911
6983daa| Status | File | + | - |
|---|---|---|---|
| M |
README.md
|
12 | 0 |
| A |
packaging/dbus-1/services/org.freedesktop.impl.portal.desktop.garwarp.service
|
4 | 0 |
| A |
packaging/systemd/user/garwarp.service
|
13 | 0 |
| A |
packaging/xdg-desktop-portal/garwarp.portal
|
4 | 0 |
README.mdmodified@@ -8,3 +8,15 @@ Primary scope for the first implementation track: | |||
| 8 | 3. App chooser and app-integration portal flows. | 8 | 3. App chooser and app-integration portal flows. |
| 9 | 9 | ||
| 10 | Planning documents live in `docs/` and are currently local-only. | 10 | Planning documents live in `docs/` and are currently local-only. |
| 11 | + | ||
| 12 | +## Sprint 01 Status | ||
| 13 | +Current scaffold includes: | ||
| 14 | +1. Rust workspace with `garwarp`, `garwarp-ipc`, and `garwarpctl`. | ||
| 15 | +2. Single-instance daemon lock with stale lock cleanup. | ||
| 16 | +3. Local Unix socket control path (`status`, `stop`). | ||
| 17 | +4. D-Bus and systemd user activation file scaffolding. | ||
| 18 | + | ||
| 19 | +## Local Commands | ||
| 20 | +1. Start daemon: `cargo run -p garwarp -- daemon` | ||
| 21 | +2. Check health: `cargo run -p garwarpctl -- status` | ||
| 22 | +3. Stop daemon: `cargo run -p garwarpctl -- stop` | ||
packaging/dbus-1/services/org.freedesktop.impl.portal.desktop.garwarp.serviceadded@@ -0,0 +1,4 @@ | |||
| 1 | +[D-BUS Service] | ||
| 2 | +Name=org.freedesktop.impl.portal.desktop.garwarp | ||
| 3 | +Exec=/usr/bin/garwarp daemon | ||
| 4 | +SystemdService=garwarp.service | ||
packaging/systemd/user/garwarp.serviceadded@@ -0,0 +1,13 @@ | |||
| 1 | +[Unit] | ||
| 2 | +Description=garwarp XDG desktop portal backend | ||
| 3 | +PartOf=graphical-session.target | ||
| 4 | +After=graphical-session.target | ||
| 5 | + | ||
| 6 | +[Service] | ||
| 7 | +Type=simple | ||
| 8 | +ExecStart=/usr/bin/garwarp daemon | ||
| 9 | +Restart=on-failure | ||
| 10 | +RestartSec=1 | ||
| 11 | + | ||
| 12 | +[Install] | ||
| 13 | +WantedBy=default.target | ||
packaging/xdg-desktop-portal/garwarp.portaladded@@ -0,0 +1,4 @@ | |||
| 1 | +[portal] | ||
| 2 | +DBusName=org.freedesktop.impl.portal.desktop.garwarp | ||
| 3 | +Interfaces=org.freedesktop.impl.portal.Screenshot;org.freedesktop.impl.portal.OpenURI;org.freedesktop.impl.portal.AppChooser | ||
| 4 | +UseIn=gar | ||