guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/12: gnu: i3status: Update to 2.14.


From: guix-commits
Subject: 03/12: gnu: i3status: Update to 2.14.
Date: Fri, 17 Jun 2022 15:28:41 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b5dc5f469c7538e831dfeb826f6a4bfbbe8ea116
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jun 12 02:00:01 2022 +0200

    gnu: i3status: Update to 2.14.
    
    * gnu/packages/wm.scm (i3status): Update to 2.14.
    [source]: Add snippet to delete pregenerated man page.
    [build-system]: Switch to Meson.
    [arguments]: Remove autotools-specific #:out-of-source?  Build man pages.
    [inputs]: Remove unused openlibm and libcap.
    [native-inputs]: Add perl.
---
 gnu/packages/wm.scm | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index bfbbc04b7c..d816bad871 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -261,31 +261,33 @@ or musca).
 (define-public i3status
   (package
     (name "i3status")
-    (version "2.13")
+    (version "2.14")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://i3wm.org/i3status/i3status-";
-                                  version ".tar.bz2"))
+                                  version ".tar.xz"))
               (sha256
                (base32
-                "0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff"))))
-    (build-system gnu-build-system)
+                "0929chhvyq9hg4scpcz8r9zn3s9jvbg6a86k3wqa77qg85rh4kaw"))
+              (snippet
+               ;; Delete the pregenerated man page, to be rebuilt from source.
+               '(delete-file "man/i3status.1"))))
+    (build-system meson-build-system)
     (arguments
-     `(;; XXX: Do an "out of source" build to work around
-       ;; <https://github.com/i3/i3status/issues/339>.
-       #:out-of-source? #t
-       #:tests? #f)) ; no test suite
+     (list #:configure-flags
+           '(list "-Dmans=True")
+           #:tests? #f))                ; no test suite
     (inputs
-     (list openlibm
+     (list alsa-lib
            libconfuse
-           libyajl
-           alsa-lib
-           pulseaudio
            libnl
-           libcap))
+           libyajl
+           pulseaudio))
     (native-inputs
      (list asciidoc
-           pkg-config docbook-xsl libxml2 ;for XML_CATALOG_FILES
+           perl
+           pkg-config
+           docbook-xsl libxml2          ; for XML_CATALOG_FILES
            xmlto))
     (home-page "https://i3wm.org/i3status/";)
     (synopsis "Status bar for i3bar, dzen2, xmobar or similar programs")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]