[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: gnu: rrdtool: Update to 1.8.0.
From: |
guix-commits |
Subject: |
12/14: gnu: rrdtool: Update to 1.8.0. |
Date: |
Wed, 3 May 2023 07:25:41 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 0abde609f277eccca36a5ee3b58e972ca0c2afac
Author: Aleksandr Vityazev <avityazev@posteo.org>
AuthorDate: Wed Apr 12 16:16:19 2023 +0000
gnu: rrdtool: Update to 1.8.0.
* gnu/packages/rrdtool.scm (rrdtool): Update to 1.8.0.
[source]: Change URI making Github the primary distribution point;
[inputs]: Use new style;
[arguments]: Use gexps, remove PRE-CONFIGURE phase.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/rrdtool.scm | 67 ++++++++++++++++++++++++------------------------
1 file changed, 33 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/rrdtool.scm b/gnu/packages/rrdtool.scm
index 1fb642216d..b1370da003 100644
--- a/gnu/packages/rrdtool.scm
+++ b/gnu/packages/rrdtool.scm
@@ -18,6 +18,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages rrdtool)
+ #:use-module (guix git-download)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages base)
@@ -31,58 +32,56 @@
#:use-module (gnu packages xml)
#:use-module (guix build-system gnu)
#:use-module (guix download)
+ #:use-module (guix gexp)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
(define-public rrdtool
(package
(name "rrdtool")
- (version "1.7.2")
+ (version "1.8.0")
(source (origin
- (method url-fetch)
- (uri (string-append "http://oss.oetiker.ch/rrdtool/pub/rrdtool-"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/oetiker/rrdtool-1.x")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1nsqra0g2nja19akmf9x5y9hhgc35ml3w9dcdz2ayz7zgvmzm6d1"))))
+ "04dhygsp34dykrnbbcqni5f7hih0hzqbnj6d2sl439lqbx9k3q3b"))))
(build-system gnu-build-system)
(inputs
- `(("cairo" ,cairo)
- ("freetype" ,freetype)
- ("glib" ,glib)
- ("gtk" ,gtk+-2)
- ("libxml2" ,libxml2)
- ("pango" ,pango)
- ("python" ,python)))
+ (list cairo
+ freetype
+ glib
+ gtk+-2
+ libxml2
+ pango
+ python))
(native-inputs
(list groff
pkg-config
;; For tests.
bc
- perl ; will also build Perl bindings
+ perl ; will also build Perl bindings
tzdata-for-tests))
(arguments
- `(#:disallowed-references (,tzdata-for-tests)
- #:phases
- (modify-phases %standard-phases
- (add-before 'configure 'pre-configure
- (lambda _
- (substitute* "libtool"
- (("/bin/sed") (which "sed")))
- #t))
- (add-before 'check 'prepare-test-environment
- (lambda* (#:key inputs #:allow-other-keys)
- (setenv "TZDIR"
- (search-input-directory inputs "share/zoneinfo"))))
- (add-after 'install 'remove-native-input-references
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (examples (string-append out "/share/rrdtool/examples")))
- ;; Drop shebangs from examples to avoid depending on
native-input
- ;; perl. It's clear from context and extension how to run them.
- (substitute* (find-files examples "\\.pl$")
- (("^#!.*") ""))
- #t))))))
+ (list
+ #:disallowed-references (list (gexp-input tzdata-for-tests))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'prepare-test-environment
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "TZDIR"
+ (search-input-directory inputs "share/zoneinfo"))))
+ (add-after 'install 'remove-native-input-references
+ (lambda _
+ (let ((examples (string-append #$output
+ "/share/rrdtool/examples")))
+ ;; Drop shebangs from examples to avoid depending on
native-input
+ ;; perl. It's clear from context and extension how to run
them.
+ (substitute* (find-files examples "\\.pl$")
+ (("^#!.*") ""))))))))
(home-page "https://oss.oetiker.ch/rrdtool/")
(synopsis "Time-series data storage and display system")
(description
- branch master updated (83a6ca3c60 -> 0cbbc1996d), guix-commits, 2023/05/03
- 01/14: gnu: emacs-tldr: Include unzip dependency., guix-commits, 2023/05/03
- 03/14: gnu: emacs-tldr: Improve package style., guix-commits, 2023/05/03
- 04/14: gnu: emacs-eglot: Update to 1.15., guix-commits, 2023/05/03
- 05/14: gnu: emacs-tramp: Update to 2.6.0.4., guix-commits, 2023/05/03
- 12/14: gnu: rrdtool: Update to 1.8.0.,
guix-commits <=
- 02/14: gnu: emacs-tldr: Update to 0-2.1b09d20., guix-commits, 2023/05/03
- 08/14: gnu: emacs-ivy-rich: Update to 0.1.7., guix-commits, 2023/05/03
- 10/14: gnu: open-adventure: Update to 1.16., guix-commits, 2023/05/03
- 06/14: gnu: emacs-org: Update to 9.6.5., guix-commits, 2023/05/03
- 11/14: gnu: Add emacs-riscv-mode., guix-commits, 2023/05/03
- 13/14: gnu: Add libfyaml., guix-commits, 2023/05/03
- 07/14: gnu: emacs-inspector: Update to 0.29., guix-commits, 2023/05/03
- 09/14: gnu: emacs-osm: Update to 0.12., guix-commits, 2023/05/03
- 14/14: gnu: Add sipp., guix-commits, 2023/05/03