summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Franzmann2022-05-24 17:52:25 +0200
committerFlorian Franzmann2022-05-24 22:11:14 +0200
commit2ceb48cc1764af2173592ffaf9a07b3ba479364c (patch)
treef35504d30aad314e2004957e4c366add2bcd62d3
parent15051d3afb4a8722c7dc3f4e8ab84ce3494d5c77 (diff)
x11/xss-lock: new spell, an X11 screen locker triggerer
-rw-r--r--ChangeLog3
-rwxr-xr-xx11/xss-lock/CONFIGURE1
-rwxr-xr-xx11/xss-lock/DEPENDS4
-rwxr-xr-xx11/xss-lock/DETAILS25
-rw-r--r--x11/xss-lock/HISTORY3
5 files changed, 36 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c2660abbb5..be3c0ff7dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
2022-05-24 Treeve Jelbert <treeve@sourcemage.org>
* qt5-cmake/FUNCTIONS: simplify
+2022-05-24 Florian Franzmann <bwlf@bandrate.org>
+ * x11/xss-lock: new spell, an X11 screen locker triggerer
+
2022-05-23 Ismael Luceno <ismael@sourcemage.org>
* libs/skalibs: new spell, C development files used for building
all software at skarnet.org
diff --git a/x11/xss-lock/CONFIGURE b/x11/xss-lock/CONFIGURE
new file mode 100755
index 0000000000..b1e2770061
--- /dev/null
+++ b/x11/xss-lock/CONFIGURE
@@ -0,0 +1 @@
+. "$GRIMOIRE"/CMAKE_CONFIGURE
diff --git a/x11/xss-lock/DEPENDS b/x11/xss-lock/DEPENDS
new file mode 100755
index 0000000000..a1b71fc749
--- /dev/null
+++ b/x11/xss-lock/DEPENDS
@@ -0,0 +1,4 @@
+. "$GRIMOIRE"/CMAKE_DEPENDS &&
+
+depends gcc &&
+depends libxcb
diff --git a/x11/xss-lock/DETAILS b/x11/xss-lock/DETAILS
new file mode 100755
index 0000000000..4ab7b82e40
--- /dev/null
+++ b/x11/xss-lock/DETAILS
@@ -0,0 +1,25 @@
+. "$GRIMOIRE"/CMAKE_FUNCTIONS
+ SPELL=xss-lock
+ VERSION=0.3.0
+ VERSION_HASH=94aec045ffd6
+ SOURCE="$SPELL-$VERSION.tar.bz2"
+ SOURCE_URL[0]=https://bitbucket.org/raymonad/${SPELL}/get/v${VERSION}.tar.bz2
+ SOURCE_HASH=sha512:2608f2dee315ab6ea5493348c6284a1dbec2d1eb478a54199aba6dcf247980a0ee822e40238399e38cdbfc50e4592cfb697de48216edf7ea407b65345afb99b3
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/raymonad-${SPELL}-${VERSION_HASH}"
+ WEB_SITE="https://bitbucket.org/raymonad/xss-lock"
+ LICENSE[0]=MIT
+ ENTERED=20220524
+ SHORT="use external locker as X screen saver"
+cat << EOF
+xss-lock hooks up your favorite locker to the MIT screen saver extension
+for X and also to systemd's login manager.
+
+xss-lock waits for the locker to exit -- or kills it when screen saver
+deactivation or session unlocking is forced -- so the command should not fork.
+
+Also, xss-lock manages the idle hint on the login session. The idle state
+of the session is directly linked to user activity as reported by X (except
+when the notifier runs before locking the screen). When all sessions are
+idle, the login manager can take action (such as suspending the system)
+after a preconfigured delay.
+EOF
diff --git a/x11/xss-lock/HISTORY b/x11/xss-lock/HISTORY
new file mode 100644
index 0000000000..20f78f1fd8
--- /dev/null
+++ b/x11/xss-lock/HISTORY
@@ -0,0 +1,3 @@
+2022-05-24 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * DEPENDS, DETAILS: spell created
+