[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/10: gnu: multitail: Update to 6.5.2.
From: |
guix-commits |
Subject: |
04/10: gnu: multitail: Update to 6.5.2. |
Date: |
Fri, 10 Jun 2022 09:36:36 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit d080adc41683ebbc4a5d4d1dbeed1ed32a8521de
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jun 5 02:00:01 2022 +0200
gnu: multitail: Update to 6.5.2.
* gnu/packages/logging.scm (multitail): Update to 6.5.2.
[arguments]: Don't explicitly return #t from phases.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[arguments]: Add SYSCONFDIR to #:make-flags.
Add a new 'fix-broken-build phase.
Sanitise the old 'patch-curses-lib phase to 'patch-curses-headers.
---
gnu/packages/logging.scm | 39 +++++++++++++++++++++++++--------------
1 file changed, 25 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 0042e4f0ef..9e7cfe613a 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -164,29 +164,40 @@ commands, displaying the results via a web interface.")
(define-public multitail
(package
(name "multitail")
- (version "6.5.0")
+ (version "6.5.2")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://vanheusden.com/multitail/multitail-"
- version ".tgz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/halturin/multitail")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "1vd9vdxyxsccl64ilx542ya5vlw2bpg6gnkq1x8cfqy6vxvmx7dj"))))
+ (base32 "17hg5qpangyx4m7hp2x4h56mp6w3wsaslg1il39qcpwsffh1rihc"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list (string-append "CC=" ,(cc-for-target))
- (string-append "PREFIX="
- (assoc-ref %outputs "out")))
+ (string-append "PREFIX=" (assoc-ref %outputs "out"))
+ "SYSCONFDIR=$(PREFIX)/etc")
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'patch-curses-lib
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (substitute* "mt.h"
- (("ncursesw\\/panel.h") "panel.h")
- (("ncursesw\\/ncurses.h") "ncurses.h")))
- #t))
+ (add-after 'unpack 'fix-broken-build
+ ;; With some luck, you might be able to remove this when updating…
+ (lambda _
+ (substitute* "Makefile"
+ ((" \\*\\.txt") "")
+ ((".*CONFIG_DIR.*") "")
+ (("^install: .*" match)
+ (string-append match
+ "\t$(INSTALL_DIR) $(DESTDIR)$(SYSCONFDIR)\n")))
+ (substitute* "version"
+ (("(VERSION=).*" _ assign)
+ (string-append assign ,version)))))
+ (add-after 'unpack 'patch-curses-headers
+ (lambda _
+ (substitute* "mt.h"
+ (("ncursesw/") ""))))
(delete 'configure)) ; no configure script
#:tests? #f)) ; no test suite (make check just runs cppcheck)
(inputs (list ncurses))
- branch master updated (888e2878a7 -> 583a587ea3), guix-commits, 2022/06/10
- 05/10: gnu: python-igraph: Update to 0.9.11., guix-commits, 2022/06/10
- 04/10: gnu: multitail: Update to 6.5.2.,
guix-commits <=
- 08/10: gnu: alpine: Update to 2.26., guix-commits, 2022/06/10
- 02/10: gnu: reproc: Update to 14.2.4., guix-commits, 2022/06/10
- 01/10: gnu: python-pkginfo: Update to 1.8.3., guix-commits, 2022/06/10
- 03/10: gnu: inotify-tools: Update to 3.22.6.0., guix-commits, 2022/06/10
- 09/10: gnu: claws-mail: Update to 4.1.0., guix-commits, 2022/06/10
- 07/10: gnu: python-notmuch: Remove trailing #t from phase., guix-commits, 2022/06/10
- 10/10: gnu: foot: Update to 1.12.1., guix-commits, 2022/06/10
- 06/10: gnu: notmuch: Update to 0.36., guix-commits, 2022/06/10