GNU bug report logs - #57300
[PATCH] gnu: Add xssstate.

Previous Next

Package: guix-patches;

Reported by: Ivan Vilata i Balaguer <ivan <at> selidor.net>

Date: Fri, 19 Aug 2022 17:16:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57300 in the body.
You can then email your comments to 57300 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57300; Package guix-patches. (Fri, 19 Aug 2022 17:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Vilata i Balaguer <ivan <at> selidor.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 19 Aug 2022 17:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ivan Vilata i Balaguer <ivan <at> selidor.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add xssstate.
Date: Fri, 19 Aug 2022 19:15:02 +0200
[Message part 1 (text/plain, inline)]
Hi!  The attached patch adds the [xssstate][1] package from the Suckless
suite.  It can be used in scripts to get information about the X screen saver,
like idle time, current state, and time until activation.

[1]: https://tools.suckless.org/x/xssstate/

Thanks!

-- 
Ivan Vilata i Balaguer -- https://elvil.net/
[0001-gnu-Add-xssstate.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#57300; Package guix-patches. (Sat, 06 Apr 2024 10:26:01 GMT) Full text and rfc822 format available.

Message #8 received at 57300 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 57300 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>
Subject: [PATCH v2 0/1] Add xssstate v1.1
Date: Sat,  6 Apr 2024 11:24:49 +0100
Review:
  * submission: commit, format, synopsis all correct - minor reword.
  * submission: license correct
  * functionality: test installed, guix lint is clean
  * code: checked style to packages around it
  * added: Reviewed-by commit trailer
  * re-roll to trigger QA build

Ivan Vilata i Balaguer (1):
  gnu: Add xssstate.

 gnu/packages/suckless.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)


base-commit: 6ec2888ff7594c7768f42ff68cf95e63142843fb
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#57300; Package guix-patches. (Sat, 06 Apr 2024 10:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 57300 <at> debbugs.gnu.org (full text, mbox):

From: Steve George <steve <at> futurile.net>
To: 57300 <at> debbugs.gnu.org
Cc: Steve George <steve <at> futurile.net>,
 Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
Subject: [PATCH v2 1/1] gnu: Add xssstate.
Date: Sat,  6 Apr 2024 11:24:50 +0100
From: Ivan Vilata-i-Balaguer <ivan <at> selidor.net>

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

Reviewed-by: Steve George <steve <at> 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 <at> gmail.com>
 ;;; Copyright © 2022 jgart <jgart <at> dismail.de>
 ;;; Copyright © 2022 Antero Mejr <antero <at> mailbox.org>
+;;; Copyright © 2022 Ivan Vilata i Balaguer <ivan <at> selidor.net>
 ;;; Copyright © 2024 Clément Lassieur <clement <at> lassieur.org>
 ;;; Copyright © 2024 Zheng Junjie <873216071 <at> qq.com>
 ;;; Copyright © 2024 cage <cage-dev <at> 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 sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sun, 07 Apr 2024 19:30:04 GMT) Full text and rfc822 format available.

Notification sent to Ivan Vilata i Balaguer <ivan <at> selidor.net>:
bug acknowledged by developer. (Sun, 07 Apr 2024 19:30:04 GMT) Full text and rfc822 format available.

Message #16 received at 57300-done <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Steve George <steve <at> futurile.net>
Cc: 57300-done <at> debbugs.gnu.org, Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
Subject: Re: [bug#57300] [PATCH v2 1/1] gnu: Add xssstate.
Date: Sun, 07 Apr 2024 20:29:17 +0100
[Message part 1 (text/plain, inline)]
Steve George <steve <at> futurile.net> writes:

> From: Ivan Vilata-i-Balaguer <ivan <at> selidor.net>
>
> * gnu/packages/suckless.scm (xssstate): New variable.
>
> Reviewed-by: Steve George <steve <at> futurile.net>
>
> Change-Id: I80a44b979ae987b953dcbdb3979b9b4ad8e30c79
> ---
>  gnu/packages/suckless.scm | 29 +++++++++++++++++++++++++++++
>  1 file changed, 29 insertions(+)

Thanks both, I tweaked the arguments to be a gexp and pushed this to
master as 1acd3cdc9e18ae1b2994263d738c309166df919a.

Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 May 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.