gnu: redland: Update to 1.0.17-0.3ec9bda.

* gnu/packages/rdf.scm (redland): Update to 1.0.17-0.3ec9bda.
  [source]: Switch to git-fetch.
  [arguments]{phases}: Add phases 'bootstrap-libtool and
  'disable-problematic-test.
  [native-inputs]: Add autoconf, automake, libtool, gtk-doc.

Change-Id: I388b4f396eb0fee8949927dce5982b665d46be31
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Nicolas Graves 2025-06-26 11:53:53 +02:00 committed by Andreas Enge
parent 824855b205
commit 3dcd1307d1
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -50,6 +50,7 @@
#:use-module (gnu packages documentation) #:use-module (gnu packages documentation)
#:use-module (gnu packages dbm) #:use-module (gnu packages dbm)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
#:use-module (gnu packages kerberos) #:use-module (gnu packages kerberos)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages multiprecision) #:use-module (gnu packages multiprecision)
@ -255,19 +256,47 @@ Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.")
(license license:lgpl2.1+))) ; or any choice of gpl2+ or asl2.0 (license license:lgpl2.1+))) ; or any choice of gpl2+ or asl2.0
(define-public redland (define-public redland
;; XXX: No tags for the last release, altough it's clear from
;; Github and logs a new release has been made.
(let ((commit "3ec9bda623107f9b1c86c0a3f261ffd3f8a40965")
(revision "0"))
(package (package
(name "redland") (name "redland")
(version "1.0.17") (version (git-version "1.0.17" revision commit))
(source (origin (source
(method url-fetch) (origin
(uri (string-append "http://download.librdf.org/source/" name (method git-fetch)
"-" version ".tar.gz")) (uri (git-reference
(url "https://github.com/dajobe/librdf")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "0qwxmwi96lqjqi1mdx0mfbw23a5xg20xbv8bv18pmr4h4fxr51q7"))))
"109n0kp39p966dpiasad2bb7q66rwbcb9avjvimw28chnpvlf66y"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
;; XXX: Copied files from libtool have been generated with
;; another version of autoconf.
(add-after 'bootstrap 'bootstrap-libtool
(lambda _
(with-directory-excursion "libltdl"
(delete-file "aclocal.m4")
(invoke "autoreconf" "-vfi"))))
;; XXX: 1/17 fails with recent compilers. No patch seems to have
;; been done for Nix nor Debian.
(add-after 'unpack 'disable-problematic-test
(lambda _
(substitute* "src/Makefile.am"
(("test rdf_parser_test")
"test")))))))
(native-inputs (native-inputs
(list perl ; needed for installation (list autoconf
automake
libtool
gtk-doc
perl ; needed for installation
pkg-config)) pkg-config))
(propagated-inputs (propagated-inputs
(list rasqal)) ; in Requires.private field of .pc (list rasqal)) ; in Requires.private field of .pc
@ -275,9 +304,10 @@ Turtle/N3 and read them in SPARQL XML, RDF/XML and Turtle/N3.")
(list bdb)) (list bdb))
(home-page "https://librdf.org/") (home-page "https://librdf.org/")
(synopsis "RDF library") (synopsis "RDF library")
(description "The Redland RDF Library (librdf) provides the RDF API (description
and triple stores.") "The Redland RDF Library (librdf) provides the RDF API and triple
(license license:lgpl2.1+))) ; or any choice of gpl2+ or asl2.0 stores.")
(license license:lgpl2.1+)))) ; or any choice of gpl2+ or asl2.0
(define-public serd (define-public serd
(package (package