summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-06-12 02:00:01 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-06-12 02:00:00 +0200
commitb5dc5f469c7538e831dfeb826f6a4bfbbe8ea116 (patch)
tree8d572dbff55f1f2016b30ae84e573a9b6058c2c7
parent1a2a209e6235620a305107e3ab90b14d23ca3f29 (diff)
downloadguix-b5dc5f469c7538e831dfeb826f6a4bfbbe8ea116.tar.gz
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.
-rw-r--r--gnu/packages/wm.scm30
1 files 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")