all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#48996] [PATCH] gnu: Add slstatus.
@ 2021-06-13  5:51 Raghav Gururajan via Guix-patches via
  2021-06-13  5:57 ` [bug#48996] [PATCH v2] " Raghav Gururajan via Guix-patches via
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-13  5:51 UTC (permalink / raw)
  To: 48996; +Cc: Raghav Gururajan

* gnu/packages/suckless.scm (slstatus): New variable.
---
 gnu/packages/suckless.scm | 43 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index f4bf01c5df..e3d2ca2a17 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -49,6 +49,49 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
 
+(define-public slstatus
+  (let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
+        (revision "0"))
+    (package
+      (name "slstatus")
+      (version
+       (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "git://git.suckless.org/slstatus.git")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "063a4fnvsjbc61alnbfdpxy0nwhh9ql9j6s9hkdv12713kv932ds"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ; no target
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "config.mk"
+                 ;; To correct PREFIX path.
+                 (("/usr/local")
+                  (assoc-ref outputs "out"))
+                 ;; To correct X11 path.
+                 (("/usr/X11R6")
+                  (assoc-ref inputs "x11"))
+                 ;; To correct CC value.
+                 (("CC = cc")
+                  (string-append "CC = " ,(cc-for-target))))))
+           (delete 'configure))))       ; no target
+      (inputs
+       `(("x11" ,libx11)))
+      (home-page "https://tools.suckless.org/slstatus/")
+      (synopsis "Status Monitor for Window Managers")
+      (description "SlStatus is a suckless status monitor for window managers
+that use WM_NAME or stdin to fill the status bar.")
+      (license license:isc))))
+
 (define-public blind
   (package
     (name "blind")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#48996] [PATCH v2] gnu: Add slstatus.
  2021-06-13  5:51 [bug#48996] [PATCH] gnu: Add slstatus Raghav Gururajan via Guix-patches via
@ 2021-06-13  5:57 ` Raghav Gururajan via Guix-patches via
  2021-06-13  6:13 ` [bug#48996] [PATCH v3] " Raghav Gururajan via Guix-patches via
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-13  5:57 UTC (permalink / raw)
  To: 48996; +Cc: Raghav Gururajan

* gnu/packages/suckless.scm (slstatus): New variable.
---
 gnu/packages/suckless.scm | 40 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index f4bf01c5df..4ced54ef0e 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -49,6 +49,46 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
 
+(define-public slstatus
+  (let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
+        (revision "0"))
+    (package
+      (name "slstatus")
+      (version
+       (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "git://git.suckless.org/slstatus.git")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "063a4fnvsjbc61alnbfdpxy0nwhh9ql9j6s9hkdv12713kv932ds"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ; no target
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "config.mk"
+                 ;; To correct PREFIX path.
+                 (("/usr/local") (assoc-ref outputs "out"))
+                 ;; To correct X11 path.
+                 (("/usr/X11R6") (assoc-ref inputs "x11"))
+                 ;; To correct CC value.
+                 (("CC = cc") (string-append "CC = " ,(cc-for-target))))))
+           (delete 'configure))))       ; no target
+      (inputs
+       `(("x11" ,libx11)))
+      (home-page "https://tools.suckless.org/slstatus/")
+      (synopsis "Status Monitor for Window Managers")
+      (description "SlStatus is a suckless status monitor for window managers
+that use WM_NAME or stdin to fill the status bar.")
+      (license license:isc))))
+
 (define-public blind
   (package
     (name "blind")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#48996] [PATCH v3] gnu: Add slstatus.
  2021-06-13  5:51 [bug#48996] [PATCH] gnu: Add slstatus Raghav Gururajan via Guix-patches via
  2021-06-13  5:57 ` [bug#48996] [PATCH v2] " Raghav Gururajan via Guix-patches via
@ 2021-06-13  6:13 ` Raghav Gururajan via Guix-patches via
  2021-06-16  3:00 ` [bug#48996] [PATCH v4] " Raghav Gururajan via Guix-patches via
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-13  6:13 UTC (permalink / raw)
  To: 48996; +Cc: Raghav Gururajan

* gnu/packages/suckless.scm (slstatus): New variable.
---
 gnu/packages/suckless.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index f4bf01c5df..b7f6aeca93 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -49,6 +49,45 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
 
+(define-public slstatus
+  ;; No release tarballs yet.
+  (let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
+        (revision "0"))
+    (package
+      (name "slstatus")
+      (version (git-version "0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "git://git.suckless.org/slstatus.git")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "063a4fnvsjbc61alnbfdpxy0nwhh9ql9j6s9hkdv12713kv932ds"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ; no target
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "config.mk"
+                 ;; To correct PREFIX path.
+                 (("/usr/local") (assoc-ref outputs "out"))
+                 ;; To correct X11 path.
+                 (("/usr/X11R6") (assoc-ref inputs "x11"))
+                 ;; To correct CC value.
+                 (("CC = cc") (string-append "CC = " ,(cc-for-target))))))
+           (delete 'configure))))       ; no target
+      (inputs
+       `(("x11" ,libx11)))
+      (home-page "https://tools.suckless.org/slstatus/")
+      (synopsis "Status Monitor for Window Managers")
+      (description "SlStatus is a suckless status monitor for window managers
+that use WM_NAME or stdin to fill the status bar.")
+      (license license:isc))))
+
 (define-public blind
   (package
     (name "blind")
-- 
2.31.1





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#48996] [PATCH v4] gnu: Add slstatus.
  2021-06-13  5:51 [bug#48996] [PATCH] gnu: Add slstatus Raghav Gururajan via Guix-patches via
  2021-06-13  5:57 ` [bug#48996] [PATCH v2] " Raghav Gururajan via Guix-patches via
  2021-06-13  6:13 ` [bug#48996] [PATCH v3] " Raghav Gururajan via Guix-patches via
@ 2021-06-16  3:00 ` Raghav Gururajan via Guix-patches via
  2021-06-16  3:14 ` [bug#48996] [PATCH v5] " Raghav Gururajan via Guix-patches via
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-16  3:00 UTC (permalink / raw)
  To: 48996; +Cc: Raghav Gururajan

* gnu/packages/suckless.scm (slstatus): New variable.
---
 gnu/packages/suckless.scm | 65 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index f4bf01c5df..a1ecfb68fe 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -49,6 +49,71 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
 
+(define-public slstatus
+  ;; No release tarballs yet.
+  (let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
+        (revision "0"))
+    (package
+      (name "slstatus")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "git://git.suckless.org/slstatus.git")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "063a4fnvsjbc61alnbfdpxy0nwhh9ql9j6s9hkdv12713kv932ds"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ;no test-suite
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "config.mk"
+                 ;; To correct PREFIX path.
+                 (("/usr/local") (assoc-ref outputs "out"))
+                 ;; To correct X11 path.
+                 (("/usr/X11R6") (assoc-ref inputs "x11"))
+                 ;; To correct CC value.
+                 (("CC = cc") (string-append "CC = " ,(cc-for-target))))))
+           (delete 'configure))))       ;not required
+      (inputs
+       `(("x11" ,libx11)))
+      (home-page "https://tools.suckless.org/slstatus/")
+      (synopsis "Status Monitor for Window Managers")
+      (description "SlStatus is a suckless status monitor for window managers
+that use WM_NAME or stdin to fill the status bar.
+It provides following features:
+@itemize
+@item Battery percentage/state/time left
+@item CPU usage
+@item CPU frequency
+@item Custom shell commands
+@item Date and time
+@item Disk status (free storage, percentage, total storage and used storage)
+@item Available entropy
+@item Username/GID/UID
+@item Hostname
+@item IP address (IPv4 and IPv6)
+@item Kernel version
+@item Keyboard indicators
+@item Keymap
+@item Load average
+@item Network speeds (RX and TX)
+@item Number of files in a directory (hint: Maildir)
+@item Memory status (free memory, percentage, total memory and used memory)
+@item Swap status (free swap, percentage, total swap and used swap)
+@item Temperature
+@item Uptime
+@item Volume percentage
+@item WiFi signal percentage and ESSID
+@end itemize")
+      (license license:isc))))
+
 (define-public blind
   (package
     (name "blind")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#48996] [PATCH v5] gnu: Add slstatus.
  2021-06-13  5:51 [bug#48996] [PATCH] gnu: Add slstatus Raghav Gururajan via Guix-patches via
                   ` (2 preceding siblings ...)
  2021-06-16  3:00 ` [bug#48996] [PATCH v4] " Raghav Gururajan via Guix-patches via
@ 2021-06-16  3:14 ` Raghav Gururajan via Guix-patches via
  2021-06-16  6:29 ` [bug#48996] [PATCH v6] " Raghav Gururajan via Guix-patches via
  2021-06-16  6:33 ` bug#48996: (no subject) Raghav Gururajan via Guix-patches via
  5 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-16  3:14 UTC (permalink / raw)
  To: 48996; +Cc: Raghav Gururajan

* gnu/packages/suckless.scm (slstatus): New variable.
---
 gnu/packages/suckless.scm | 65 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index f4bf01c5df..bf362d9a80 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -49,6 +49,71 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
 
+(define-public slstatus
+  ;; No release tarballs yet.
+  (let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
+        (revision "0"))
+    (package
+      (name "slstatus")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "git://git.suckless.org/slstatus.git")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "063a4fnvsjbc61alnbfdpxy0nwhh9ql9j6s9hkdv12713kv932ds"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ;no test-suite
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "config.mk"
+                 ;; To correct PREFIX path.
+                 (("/usr/local") (assoc-ref outputs "out"))
+                 ;; To correct X11 path.
+                 (("/usr/X11R6") (assoc-ref inputs "x11"))
+                 ;; To correct CC value.
+                 (("CC = cc") (string-append "CC = " ,(cc-for-target))))))
+           (delete 'configure))))       ;no configure script
+      (inputs
+       `(("x11" ,libx11)))
+      (home-page "https://tools.suckless.org/slstatus/")
+      (synopsis "Status monitor for window managers")
+      (description "SlStatus is a suckless status monitor for window managers
+that use WM_NAME or stdin to fill the status bar.
+It provides following features:
+@itemize
+@item Battery percentage/state/time left
+@item CPU usage
+@item CPU frequency
+@item Custom shell commands
+@item Date and time
+@item Disk status (free storage, percentage, total storage and used storage)
+@item Available entropy
+@item Username/GID/UID
+@item Hostname
+@item IP address (IPv4 and IPv6)
+@item Kernel version
+@item Keyboard indicators
+@item Keymap
+@item Load average
+@item Network speeds (RX and TX)
+@item Number of files in a directory (hint: Maildir)
+@item Memory status (free memory, percentage, total memory and used memory)
+@item Swap status (free swap, percentage, total swap and used swap)
+@item Temperature
+@item Uptime
+@item Volume percentage
+@item WiFi signal percentage and ESSID
+@end itemize")
+      (license license:isc))))
+
 (define-public blind
   (package
     (name "blind")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [bug#48996] [PATCH v6] gnu: Add slstatus.
  2021-06-13  5:51 [bug#48996] [PATCH] gnu: Add slstatus Raghav Gururajan via Guix-patches via
                   ` (3 preceding siblings ...)
  2021-06-16  3:14 ` [bug#48996] [PATCH v5] " Raghav Gururajan via Guix-patches via
@ 2021-06-16  6:29 ` Raghav Gururajan via Guix-patches via
  2021-06-16  6:33 ` bug#48996: (no subject) Raghav Gururajan via Guix-patches via
  5 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-16  6:29 UTC (permalink / raw)
  To: 48996; +Cc: Raghav Gururajan

* gnu/packages/suckless.scm (slstatus): New variable.
---
 gnu/packages/suckless.scm | 62 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index f4bf01c5df..65f4fa85a9 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -49,6 +49,68 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
 
+(define-public slstatus
+  ;; No release tarballs yet.
+  (let ((commit "84a2f117a32f0796045941260cdc4b69852b41e0")
+        (revision "0"))
+    (package
+      (name "slstatus")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "git://git.suckless.org/slstatus.git")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "063a4fnvsjbc61alnbfdpxy0nwhh9ql9j6s9hkdv12713kv932ds"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ;no test suite
+         #:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'patch
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* "config.mk"
+                 (("/usr/local") (assoc-ref outputs "out"))
+                 (("/usr/X11R6") (assoc-ref inputs "x11"))
+                 (("CC = cc") (string-append "CC = " ,(cc-for-target))))))
+           (delete 'configure))))       ;no configure script
+      (inputs
+       `(("x11" ,libx11)))
+      (home-page "https://tools.suckless.org/slstatus/")
+      (synopsis "Status monitor for window managers")
+      (description "SlStatus is a suckless status monitor for window managers
+that use WM_NAME or stdin to fill the status bar.
+It provides the following features:
+@itemize
+@item Battery percentage/state/time left
+@item CPU usage
+@item CPU frequency
+@item Custom shell commands
+@item Date and time
+@item Disk status (free storage, percentage, total storage and used storage)
+@item Available entropy
+@item Username/GID/UID
+@item Hostname
+@item IP address (IPv4 and IPv6)
+@item Kernel version
+@item Keyboard indicators
+@item Keymap
+@item Load average
+@item Network speeds (RX and TX)
+@item Number of files in a directory (hint: Maildir)
+@item Memory status (free memory, percentage, total memory and used memory)
+@item Swap status (free swap, percentage, total swap and used swap)
+@item Temperature
+@item Uptime
+@item Volume percentage
+@item WiFi signal percentage and ESSID
+@end itemize")
+      (license license:isc))))
+
 (define-public blind
   (package
     (name "blind")
-- 
2.32.0





^ permalink raw reply related	[flat|nested] 7+ messages in thread

* bug#48996: (no subject)
  2021-06-13  5:51 [bug#48996] [PATCH] gnu: Add slstatus Raghav Gururajan via Guix-patches via
                   ` (4 preceding siblings ...)
  2021-06-16  6:29 ` [bug#48996] [PATCH v6] " Raghav Gururajan via Guix-patches via
@ 2021-06-16  6:33 ` Raghav Gururajan via Guix-patches via
  5 siblings, 0 replies; 7+ messages in thread
From: Raghav Gururajan via Guix-patches via @ 2021-06-16  6:33 UTC (permalink / raw)
  To: 48996-done


[-- Attachment #1.1: Type: text/plain, Size: 25 bytes --]

Pushed as 7959aabbe1.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-16  6:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-13  5:51 [bug#48996] [PATCH] gnu: Add slstatus Raghav Gururajan via Guix-patches via
2021-06-13  5:57 ` [bug#48996] [PATCH v2] " Raghav Gururajan via Guix-patches via
2021-06-13  6:13 ` [bug#48996] [PATCH v3] " Raghav Gururajan via Guix-patches via
2021-06-16  3:00 ` [bug#48996] [PATCH v4] " Raghav Gururajan via Guix-patches via
2021-06-16  3:14 ` [bug#48996] [PATCH v5] " Raghav Gururajan via Guix-patches via
2021-06-16  6:29 ` [bug#48996] [PATCH v6] " Raghav Gururajan via Guix-patches via
2021-06-16  6:33 ` bug#48996: (no subject) Raghav Gururajan via Guix-patches via

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.