From 8b8dfce9bd968e450a35ba07ec0989268957b773 Mon Sep 17 00:00:00 2001 From: lleyton Date: Thu, 23 Nov 2023 18:59:39 -0800 Subject: [PATCH] fix: move system76-scheduler-dbus-proxy.sh to /usr (#828) * fix: move system76-scheduler-dbus-proxy.sh to /usr * fix: use /usr/libexec --- .../com.system76.Scheduler.dbusproxy.service | 2 +- .../kwin-system76-scheduler-integration.spec | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/anda/others/kwin-system76-scheduler-integration/com.system76.Scheduler.dbusproxy.service b/anda/others/kwin-system76-scheduler-integration/com.system76.Scheduler.dbusproxy.service index b2943dbf89..92411334ec 100644 --- a/anda/others/kwin-system76-scheduler-integration/com.system76.Scheduler.dbusproxy.service +++ b/anda/others/kwin-system76-scheduler-integration/com.system76.Scheduler.dbusproxy.service @@ -4,7 +4,7 @@ StartLimitIntervalSec=60 StartLimitBurst=5 [Service] -ExecStart=/usr/local/bin/system76-scheduler-dbus-proxy.sh +ExecStart=/usr/libexec/system76-scheduler-dbus-proxy.sh [Install] WantedBy=default.target diff --git a/anda/others/kwin-system76-scheduler-integration/kwin-system76-scheduler-integration.spec b/anda/others/kwin-system76-scheduler-integration/kwin-system76-scheduler-integration.spec index cabe12438f..9cdd7beae2 100644 --- a/anda/others/kwin-system76-scheduler-integration/kwin-system76-scheduler-integration.spec +++ b/anda/others/kwin-system76-scheduler-integration/kwin-system76-scheduler-integration.spec @@ -2,10 +2,10 @@ Name: kwin-system76-scheduler-integration Version: 0.1 -Release: 2%?dist +Release: 3%?dist Summary: Notify the System76 Scheduler which app has focus so it can be prioritized License: MIT -URL: https://github.com/maxiberta/kwin-system76-scheduler-integration +URL: https://github.com/maxiberta/kwin-system76-scheduler-integration Source0: %url/archive/refs/tags/%version.tar.gz Source1: system76-scheduler-dbus-proxy.sh Source2: com.system76.Scheduler.dbusproxy.service @@ -27,7 +27,7 @@ via D-Bus, so it is prioritized. %install mkdir -p %buildroot%_datadir/kwin/scripts/kwin-system76-scheduler-integration/ cp -r * %buildroot%_datadir/kwin/scripts/kwin-system76-scheduler-integration/ -install -Dm755 %SOURCE1 %buildroot/usr/local/bin/system76-scheduler-dbus-proxy.sh +install -Dm755 %SOURCE1 %buildroot%_libexecdir/system76-scheduler-dbus-proxy.sh install -Dm644 %SOURCE2 %buildroot%_userunitdir/com.system76.Scheduler.dbusproxy.service install -Dm644 metadata.desktop %buildroot%_datadir/kservices5/kwin-system76-scheduler-integration.desktop @@ -41,7 +41,7 @@ install -Dm644 metadata.desktop %buildroot%_datadir/kservices5/kwin-system76-sch %files %config %_userunitdir/com.system76.Scheduler.dbusproxy.service -/usr/local/bin/system76-scheduler-dbus-proxy.sh +%_libexecdir/system76-scheduler-dbus-proxy.sh %_datadir/kwin/scripts/kwin-system76-scheduler-integration/ %_datadir/kservices5/kwin-system76-scheduler-integration.desktop