-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
43 additions
and
31 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
app-utils/xdg-utils/autobuild/patches/0001-add-slock-support.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From ee44aa5f9ce235d8b0f74d22de386c85684cab9a Mon Sep 17 00:00:00 2001 | ||
From: Student Main <[email protected]> | ||
Date: Sat, 19 Oct 2024 16:26:16 +0000 | ||
Subject: [PATCH] add slock support | ||
|
||
--- | ||
scripts/xdg-screensaver.in | 7 +++++++ | ||
1 file changed, 7 insertions(+) | ||
|
||
diff --git a/scripts/xdg-screensaver.in b/scripts/xdg-screensaver.in | ||
index e70942f..db0f8d0 100644 | ||
--- a/scripts/xdg-screensaver.in | ||
+++ b/scripts/xdg-screensaver.in | ||
@@ -110,6 +110,11 @@ perform_action() | ||
cinnamon) | ||
screensaver_cinnamon_screensaver "$1" | ||
;; | ||
+ | ||
+ slock) | ||
+ slock | ||
+ exit 0 | ||
+ ;; | ||
|
||
xscreensaver) | ||
screensaver_xscreensaver "$1" | ||
@@ -884,6 +889,8 @@ dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.fr | ||
# Consider "cinnamon-screensaver" a separate DE | ||
dbus-send --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetNameOwner string:org.cinnamon.ScreenSaver > /dev/null 2>&1 && DE="cinnamon" | ||
# Consider "xautolock" a separate DE | ||
+slock -v > /dev/null 2>&1 && DE="slock" | ||
+# Consider "xautolock" a separate DE | ||
xautolock -enable > /dev/null 2>&1 && DE="xautolock_screensaver" | ||
|
||
if [ "$action" = "resume" ] ; then | ||
-- | ||
2.47.0 | ||
|
24 changes: 0 additions & 24 deletions
24
app-utils/xdg-utils/autobuild/patches/add_slock_support.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
VER=1.1.3 | ||
SRCS="tbl::https://portland.freedesktop.org/download/xdg-utils-$VER.tar.gz" | ||
CHKSUMS="sha256::d798b08af8a8e2063ddde6c9fa3398ca81484f27dec642c5627ffcaa0d4051d9" | ||
VER=1.2.1 | ||
SRCS="git::commit=tags/v$VER::https://gitlab.freedesktop.org/xdg/xdg-utils" | ||
CHKSUMS="SKIP" | ||
CHKUPDATE="anitya::id=5176" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
VER=2.8.1 | ||
REL=3 | ||
SRCS="tbl::https://pypi.io/packages/source/s/semver/semver-$VER.tar.gz" | ||
CHKSUMS="sha256::5b09010a66d9a3837211bb7ae5a20d10ba88f8cb49e92cb139a69ef90d5060d8" | ||
VER=3.0.2 | ||
SRCS="pypi::version=$VER::semver" | ||
CHKSUMS="sha256::6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc" | ||
CHKUPDATE="anitya::id=35351" |