service/autostart install manually
This commit is contained in:
parent
b854bb7bf1
commit
836201c280
45
justfile
45
justfile
|
|
@ -19,14 +19,9 @@ bin := home / "bin"
|
|||
# === Default (9P) path ===
|
||||
default: build-9p install-9p
|
||||
|
||||
# === D-Bus path ===
|
||||
dbus: build-dbus install-dbus
|
||||
|
||||
# === KF5 variants ===
|
||||
ninep-kf5: build-ninep-kf5 install-ninep-kf5
|
||||
|
||||
dbus-kf5: build-dbus-kf5 install-dbus-kf5
|
||||
|
||||
# === Build targets ===
|
||||
|
||||
build-9p: core ninep acme httpgw webui kde
|
||||
|
|
@ -82,37 +77,18 @@ kde-kf5:
|
|||
|
||||
# === Install targets ===
|
||||
|
||||
install-9p: test install-data install-scripts install-contrib install-kde install-el install-services
|
||||
install-9p: test install-data install-scripts install-contrib install-kde install-el
|
||||
install -m644 prompts/SYSTEM_PROMPT.md {{cfg}}/prompts/SYSTEM_PROMPT.md
|
||||
install -m644 prompts/session-9p.md {{cfg}}/prompts/session.md
|
||||
@echo === Install complete \(9P\) ===
|
||||
@echo 'Restart Plasma to pick up KDE plugins.'
|
||||
|
||||
install-dbus: test install-data install-scripts install-contrib install-dbus-bin install-kde install-services
|
||||
install -m644 prompts/SYSTEM_PROMPT.md {{cfg}}/prompts/SYSTEM_PROMPT.md
|
||||
install -m644 prompts/session-dbus.md {{cfg}}/prompts/session.md
|
||||
@echo === Install complete \(D-Bus\) ===
|
||||
@echo 'Restart Plasma to pick up KDE plugins.'
|
||||
|
||||
install-ninep-kf5: test install-data install-scripts install-contrib install-kde-kf5 install-el install-services
|
||||
install-ninep-kf5: test install-data install-scripts install-contrib install-kde-kf5 install-el
|
||||
install -m644 prompts/SYSTEM_PROMPT.md {{cfg}}/prompts/SYSTEM_PROMPT.md
|
||||
install -m644 prompts/session-9p.md {{cfg}}/prompts/session.md
|
||||
@echo === Install complete \(9P + KF5\) ===
|
||||
@echo 'Restart Plasma to pick up KDE plugins.'
|
||||
|
||||
install-dbus-kf5: test install-data install-scripts install-contrib install-dbus-bin install-kde-kf5 install-services
|
||||
install -m644 prompts/SYSTEM_PROMPT.md {{cfg}}/prompts/SYSTEM_PROMPT.md
|
||||
install -m644 prompts/session-dbus.md {{cfg}}/prompts/session.md
|
||||
@echo === Install complete \(D-Bus + KF5\) ===
|
||||
@echo 'Restart Plasma to pick up KDE plugins.'
|
||||
|
||||
install-dbus-bin:
|
||||
@echo === Installing ollied ===
|
||||
mkdir -p ~/.local/bin
|
||||
install -m755 dbus/ollied ~/.local/bin/
|
||||
mkdir -p ~/.config/autostart
|
||||
install -m644 dbus/org.ollie.SessionManager.desktop ~/.config/autostart/
|
||||
|
||||
install-kde:
|
||||
@echo === Installing ollie-kde \(KF6\) ===
|
||||
cmake --install kde/build-cmake
|
||||
|
|
@ -280,18 +256,16 @@ install-scripts:
|
|||
install -m755 scripts/x/prime {{cfg}}/scripts/x/prime
|
||||
install -m755 scripts/x/freeloader {{cfg}}/scripts/x/freeloader
|
||||
|
||||
install-services:
|
||||
@echo === Installing service files ===
|
||||
# systemd (user)
|
||||
mkdir -p ~/.config/systemd/user
|
||||
install -m644 services/systemd/ollie.service ~/.config/systemd/user/
|
||||
# openrc (user)
|
||||
mkdir -p ~/.config/rc/init.d
|
||||
install -m755 services/openrc/ollie.initd ~/.config/rc/init.d/ollie
|
||||
# xdg autostart (fallback when no supervisor)
|
||||
install-autostart:
|
||||
@echo === Installing autostart files ===
|
||||
mkdir -p ~/.config/autostart
|
||||
install -m644 services/xdg-autostart/org.ollie.olliesrv.desktop ~/.config/autostart/
|
||||
|
||||
install-systemd:
|
||||
@echo === Installing systemd service ===
|
||||
mkdir -p ~/.config/systemd/user
|
||||
install -m644 services/systemd/ollie.service ~/.config/systemd/user/
|
||||
|
||||
install-contrib:
|
||||
@echo === Installing contrib scripts ===
|
||||
mkdir -p {{bin}}
|
||||
|
|
@ -417,7 +391,6 @@ help:
|
|||
@echo ' just build-ninep-kf5 Build only (9P + KF5)'
|
||||
@echo ' just build-dbus-kf5 Build only (D-Bus + KF5)'
|
||||
@echo ' just install-9p Install with 9P prompt'
|
||||
@echo ' just install-dbus Install with D-Bus prompt'
|
||||
@echo ' just kde-kf5 Build KDE tools for KF5/Qt5 (Plasma 5.27)'
|
||||
@echo ' just install-kde-kf5 Install KDE KF5 plugins'
|
||||
@echo ' just uninstall-kde-kf5 Uninstall KDE KF5 plugins'
|
||||
|
|
|
|||
Loading…
Reference in New Issue