all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 57300@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>,
	Ivan Vilata-i-Balaguer <ivan@selidor.net>
Subject: [bug#57300] [PATCH v2 1/1] gnu: Add xssstate.
Date: Sat,  6 Apr 2024 11:24:50 +0100	[thread overview]
Message-ID: <9f066ce67db661effc7eeff5f7501fcd7e3c6b45.1712398754.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1712398754.git.steve@futurile.net>

From: Ivan Vilata-i-Balaguer <ivan@selidor.net>

* gnu/packages/suckless.scm (xssstate): New variable.

Reviewed-by: Steve George <steve@futurile.net>

Change-Id: I80a44b979ae987b953dcbdb3979b9b4ad8e30c79
---
 gnu/packages/suckless.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index a907b2fc6b9..f01c6093bc9 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
+;;; Copyright © 2022 Ivan Vilata i Balaguer <ivan@selidor.net>
 ;;; Copyright © 2024 Clément Lassieur <clement@lassieur.org>
 ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2024 cage <cage-dev@twistfold.it>
@@ -1361,6 +1362,34 @@ (define-public lib9
       (license (list license:expat ;modifications
                      license:lpl1.02))))) ;original plan9 code
 
+(define-public xssstate
+  (package
+    (name "xssstate")
+    (version "1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://dl.suckless.org/tools/xssstate-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "04b03jz38pn5qhddg8a9hh01qqzrrdjvsq09qrxj9sx8lq2gbdn4"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f  ; no tests
+       #:make-flags (list (string-append "CC="
+                                         ,(cc-for-target))
+                          (string-append "PREFIX=" %output))
+       #:phases (modify-phases %standard-phases
+                  (delete 'configure))))
+    (inputs (list libxscrnsaver))
+    (home-page "https://tools.suckless.org/x/xssstate/")
+    (synopsis "Simple tool to retrieve the X screensaver state")
+    (description
+     "A utility to retrieve the state of the X screensaver.  These
+states include the idle time, the screensaver state and the length of time
+until the screensaver should be activated.")
+    (license license:x11)))
+
 (define-public 9yacc
   (package
     (inherit lib9)
-- 
2.41.0





  reply	other threads:[~2024-04-06 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 17:15 [bug#57300] [PATCH] gnu: Add xssstate Ivan Vilata i Balaguer
2024-04-06 10:24 ` [bug#57300] [PATCH v2 0/1] Add xssstate v1.1 Steve George
2024-04-06 10:24   ` Steve George [this message]
2024-04-07 19:29     ` bug#57300: [PATCH v2 1/1] gnu: Add xssstate Christopher Baines

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9f066ce67db661effc7eeff5f7501fcd7e3c6b45.1712398754.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=57300@debbugs.gnu.org \
    --cc=ivan@selidor.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.