From: Pierre Neidhardt <ambrevar@gmail.com>
To: 31491@debbugs.gnu.org
Subject: [bug#31491] [PATCH] gnu: xss-lock: New variable.
Date: Fri, 18 May 2018 15:15:28 +0200 [thread overview]
Message-ID: <20180518131528.31128-1-ambrevar@gmail.com> (raw)
* gnu/packages/xdisorg.scm (xss-lock): New variable.
---
gnu/packages/xdisorg.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 0432411ab..4f6059aa5 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1438,3 +1438,39 @@ with black color on a white background (colors are configurable on the
commandline).")
(home-page "https://www.joachim-breitner.de/projects#screen-message")
(license license:gpl2+)))
+
+(define-public xss-lock
+ ;; xss-lock does not seem to be maintained any longer, but the last commits
+ ;; fix important issues so we package them.
+ (let ((version "0.3.0")
+ (revision "1")
+ (commit "1e158fb20108058dbd62bd51d8e8c003c0a48717"))
+ (package
+ (name "xss-lock")
+ (version (git-version version revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://bitbucket.org/raymonad/xss-lock.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "10hx7k7ga8g08akwz8qrsvj8iqr5nd4siiva6sjx789jvf0sak7r"))))
+ (build-system cmake-build-system)
+ (inputs `(("glib" ,glib)
+ ("xcb-util" ,xcb-util)))
+ (native-inputs
+ `(("python-docutils" ,python-docutils)
+ ("pkg-config" ,pkg-config)))
+ (arguments
+ `(#:tests? #f))
+ (synopsis "Use external screen locker on events")
+ (description "@code{xss-lock} listens to X signals to fire up a
+user-defined screensaver. In effect this allows to automatically lock the
+screen when closing a laptop lid or after a period of user inactivity (as set
+with @code{xset s TIMEOUT}). The notifier command, if specified, is executed
+first. Additionally, xss-lock uses the inhibition logic to lock the screen
+before the system goes to sleep.")
+ (home-page "https://bitbucket.org/raymonad/xss-lock")
+ (license license:bsd-style))))
--
2.17.0
next reply other threads:[~2018-05-18 13:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-18 13:15 Pierre Neidhardt [this message]
2018-05-19 20:43 ` bug#31491: [PATCH] gnu: xss-lock: New variable Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180518131528.31128-1-ambrevar@gmail.com \
--to=ambrevar@gmail.com \
--cc=31491@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).