Skip to content

Commit

Permalink
main/*: add target constraints for all user services
Browse files Browse the repository at this point in the history
If you were using any of the graphical ones in a manual way,
you will now need to set things up to trigger graphical.target
at a correct point.
  • Loading branch information
q66 committed Oct 3, 2024
1 parent 1e5fc24 commit f260ea8
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 13 deletions.
1 change: 1 addition & 0 deletions main/dbus/files/dbus.user
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ type = process
command = /usr/libexec/dbus-session.wrapper --print-address=4
ready-notification = pipefd:4
working-dir = $HOME
before = login.target
2 changes: 1 addition & 1 deletion main/dbus/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "dbus"
pkgver = "1.14.10"
pkgrel = 12
pkgrel = 13
build_style = "gnu_configure"
configure_args = [
"--disable-selinux",
Expand Down
1 change: 1 addition & 0 deletions main/dunst/files/dunst.user
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
type = process
command = /usr/bin/dunst
depends-on = dbus
before = login.target
log-type = buffer
2 changes: 1 addition & 1 deletion main/dunst/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "dunst"
pkgver = "1.11.0"
pkgrel = 0
pkgrel = 1
build_style = "makefile"
make_check_target = "test"
make_use_env = True
Expand Down
1 change: 1 addition & 0 deletions main/fnott/files/fnott.user
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
type = process
command = /usr/bin/fnott --print-pid=4
depends-on = dbus
before = login.target
ready-notification = pipefd:4
2 changes: 1 addition & 1 deletion main/fnott/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "fnott"
pkgver = "1.7.0"
pkgrel = 0
pkgrel = 1
build_style = "meson"
hostmakedepends = [
"meson",
Expand Down
1 change: 1 addition & 0 deletions main/foot/files/foot.user
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
type = process
command = /usr/bin/foot --server
depends-on = graphical.target
2 changes: 1 addition & 1 deletion main/foot/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "foot"
pkgver = "1.18.1"
pkgrel = 1
pkgrel = 2
build_style = "meson"
configure_args = ["-Dterminfo-base-name=foot-extra"]
hostmakedepends = [
Expand Down
1 change: 1 addition & 0 deletions main/kanshi/files/kanshi.user
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
type = process
command = /usr/bin/kanshi
depends-on = graphical.target
log-type = buffer
2 changes: 1 addition & 1 deletion main/kanshi/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "kanshi"
pkgver = "1.7.0"
pkgrel = 1
pkgrel = 2
build_style = "meson"
hostmakedepends = [
"meson",
Expand Down
1 change: 1 addition & 0 deletions main/nerdctl/files/containerd.user
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
type = process
command = /usr/bin/containerd-rootless
before = login.target
2 changes: 1 addition & 1 deletion main/nerdctl/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "nerdctl"
pkgver = "1.7.7"
pkgrel = 1
pkgrel = 2
build_style = "go"
make_build_args = ["./cmd/nerdctl"]
hostmakedepends = ["go"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
type = process
command = /usr/bin/openpgp-card-ssh-agent --host unix://$XDG_RUNTIME_DIR/ocsa.sock
before = login.target
log-type = buffer
2 changes: 1 addition & 1 deletion main/openpgp-card-ssh-agent/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "openpgp-card-ssh-agent"
pkgver = "0.3.4"
pkgrel = 0
pkgrel = 1
build_style = "cargo"
hostmakedepends = ["cargo-auditable", "pkgconf"]
makedepends = ["rust-std", "pcsc-lite-devel", "dbus-devel"]
Expand Down
1 change: 1 addition & 0 deletions main/pipewire/files/pipewire-pulse.user
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ type = process
command = /usr/bin/pipewire-pulse
log-type = buffer
depends-on = pipewire
before = login.target
smooth-recovery = true
1 change: 1 addition & 0 deletions main/pipewire/files/pipewire.user
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ type = process
command = /usr/bin/pipewire
log-type = buffer
depends-on = dbus
before = login.target
ready-notification = pipevar:PIPEWIRE_READY_FD
2 changes: 1 addition & 1 deletion main/pipewire/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "pipewire"
pkgver = "1.2.5"
pkgrel = 0
pkgrel = 1
build_style = "meson"
configure_args = [
"--auto-features=enabled",
Expand Down
1 change: 1 addition & 0 deletions main/podman/files/podman.user
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
type = process
command = /usr/bin/podman system service --time 0
before = login.target
2 changes: 1 addition & 1 deletion main/podman/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "podman"
pkgver = "5.2.3"
pkgrel = 1
pkgrel = 2
build_style = "go"
# for install.bin compat
make_dir = "bin"
Expand Down
1 change: 1 addition & 0 deletions main/ra-multiplex/files/ra-multiplex.user
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ type = process
command = /usr/bin/ra-multiplex server
log-type = buffer
depends-on = dbus
before = login.target
2 changes: 1 addition & 1 deletion main/ra-multiplex/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "ra-multiplex"
pkgver = "0.2.5"
pkgrel = 0
pkgrel = 1
build_style = "cargo"
hostmakedepends = ["cargo-auditable"]
makedepends = ["rust-std"]
Expand Down
1 change: 1 addition & 0 deletions main/swaync/files/swaync.user
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
type = process
command = /usr/bin/swaync
depends-on = dbus
depends-on = graphical.target
2 changes: 1 addition & 1 deletion main/swaync/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "swaync"
pkgver = "0.10.1"
pkgrel = 1
pkgrel = 2
build_style = "meson"
hostmakedepends = [
"gobject-introspection",
Expand Down
1 change: 1 addition & 0 deletions main/syncthing/files/syncthing.user
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
type = process
command = /usr/bin/syncthing --no-browser
before = login.target
log-type = buffer
2 changes: 1 addition & 1 deletion main/syncthing/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "syncthing"
pkgver = "1.27.12"
pkgrel = 1
pkgrel = 2
build_style = "go"
make_build_args = [
f"-ldflags=-X github.com/syncthing/syncthing/lib/build.Version=v{pkgver}",
Expand Down
1 change: 1 addition & 0 deletions main/wireplumber/files/wireplumber.user
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ type = process
command = /usr/bin/wireplumber
log-type = buffer
depends-on = pipewire
before = login.target
smooth-recovery = true
2 changes: 1 addition & 1 deletion main/wireplumber/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgname = "wireplumber"
pkgver = "0.5.6"
pkgrel = 0
pkgrel = 1
build_style = "meson"
configure_args = [
"-Dsystem-lua=true",
Expand Down

0 comments on commit f260ea8

Please sign in to comment.