From bceadaf42e002884bd25e779f4cd8ede8a0b0501 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Fri, 24 Jul 2020 00:43:43 +0200 Subject: gnu: libebml: Update to 1.4.0. * gnu/packages/xml.scm (libebml): Update to 1.4.0. --- gnu/packages/xml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index c3a9a1cfeb..6a212f79bb 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -95,14 +95,14 @@ things the parser might find in the XML document (like start tags).") (define-public libebml (package (name "libebml") - (version "1.3.10") + (version "1.4.0") (source (origin (method url-fetch) (uri (string-append "https://dl.matroska.org/downloads/libebml/" "libebml-" version ".tar.xz")) (sha256 - (base32 "0gjy5wv2hw1xhyxdgms8azs12f33ws8j7cvg8jy5k03v2bs959y6")))) + (base32 "1cy4hbk8qbxn4c6pwvlsvr1rp8vhfach9rwfg4c50qa94nlckaw0")))) (build-system cmake-build-system) (arguments `(#:configure-flags -- cgit v1.2.3 From cc53718760336265de7aecfe0dc6d057c295e65d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 4 Aug 2020 15:09:36 +0200 Subject: gnu: Add libxmlplusplus. * gnu/packages/xml.scm (libxmlplusplus): New variable. --- gnu/packages/xml.scm | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 6a212f79bb..7f8746c66e 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2013, 2015 Andreas Enge ;;; Copyright © 2015 Eric Bavier ;;; Copyright © 2015 Sou Bunnbu -;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017 Mark H Weaver ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2015 Raimon Grau @@ -45,7 +45,12 @@ #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages curl) + #:use-module (gnu packages docbook) + #:use-module (gnu packages documentation) + #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) + #:use-module (gnu packages gnome) + #:use-module (gnu packages graphviz) #:use-module (gnu packages java) #:use-module (gnu packages nss) #:use-module (gnu packages perl) @@ -167,6 +172,64 @@ hierarchical form with variable field lengths.") project (but it is usable outside of the Gnome platform).") (license license:x11))) +;; This is the latest stable release. +(define-public libxmlplusplus + (package + (name "libxmlplusplus") + (version "3.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libxmlplusplus/libxmlplusplus.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-documentation + (lambda* (#:key inputs #:allow-other-keys) + (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml") + "/xml/dtd/docbook")) + (xsldoc (string-append (assoc-ref inputs "docbook-xsl") + "/xml/xsl/docbook-xsl-" + ,(package-version docbook-xsl)))) + (substitute* '("examples/dom_xpath/example.xml" + "docs/manual/libxml++_without_code.xml") + (("http://.*/docbookx\\.dtd") + (string-append xmldoc "/docbookx.dtd"))) + (setenv "SGML_CATALOG_FILES" + (string-append xmldoc "/catalog.xml")) + (substitute* "docs/manual/docbook-customisation.xsl" + (("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl") + (string-append xsldoc "/html/chunk.xsl")))) + #t))))) + (propagated-inputs + `(("libxml2" ,libxml2))) + (inputs + `(("glibmm" ,glibmm))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("doxygen" ,doxygen) + ("docbook-xml" ,docbook-xml) + ("docbook-xsl" ,docbook-xsl) + ("graphviz" ,graphviz) ; for dot + ("libtool" ,libtool) + ("libxslt" ,libxslt) + ("mm-common" ,mm-common) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/libxmlplusplus/libxmlplusplus/") + (synopsis "C++ bindings for libxml2") + (description + "libxml++ (a.k.a. libxmlplusplus) provides a C++ interface to XML files. +It uses libxml2 to access the XML files.") + (license license:lgpl2.1+))) + (define-public python-libxml2 (package/inherit libxml2 (name "python-libxml2") -- cgit v1.2.3 From c2bb58f62c0e581028e4fc8872ab8b3257a6fab9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 4 Aug 2020 15:10:09 +0200 Subject: gnu: Add libxmlplusplus-2.6. * gnu/packages/xml.scm (libxmlplusplus-2.6): New variable. --- gnu/packages/xml.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 7f8746c66e..0838a85cec 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -230,6 +230,23 @@ project (but it is usable outside of the Gnome platform).") It uses libxml2 to access the XML files.") (license license:lgpl2.1+))) +;; This is the last release providing the 2.6 API, hence the name. +;; This is needed by tascam-gtk +(define-public libxmlplusplus-2.6 + (package + (inherit libxmlplusplus) + (name "libxmlplusplus") + (version "2.40.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libxmlplusplus/libxmlplusplus.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9")))))) + (define-public python-libxml2 (package/inherit libxml2 (name "python-libxml2") -- cgit v1.2.3 From 57f5a7748379d832cd58b81e6f7802f0d0b37d4b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 9 Aug 2020 16:04:29 +0200 Subject: gnu: html-xml-utils: Update to 7.9. * gnu/packages/xml.scm (html-xml-utils): Update to 7.9. --- gnu/packages/xml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 0838a85cec..a7a8f029b8 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1237,7 +1237,7 @@ XSLT and EXSLT.") (define-public html-xml-utils (package (name "html-xml-utils") - (version "7.8") + (version "7.9") (source (origin (method url-fetch) @@ -1245,7 +1245,7 @@ XSLT and EXSLT.") "https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-" version ".tar.gz")) (sha256 - (base32 "0p8df3c6mw879vdi8l63kbdqylkf1is10b067mh9kipgfy91rd4s")))) + (base32 "0gs3xvdbzhk5k12i95p5d4fgkkaldnlv45sch7pnncb0lrpcjsnq")))) (build-system gnu-build-system) (home-page "https://www.w3.org/Tools/HTML-XML-utils/") (synopsis "Command line utilities to manipulate HTML and XML files") -- cgit v1.2.3 From 4edc6bbdc999a11c7afb1a94850c44769e69043c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 9 Aug 2020 16:12:21 +0200 Subject: gnu: freexl: Download over HTTPS. * gnu/packages/xml.scm (freexl)[source]: Use HTTPS. Hard-code NAME. --- gnu/packages/xml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index a7a8f029b8..b141e7d5dc 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1347,8 +1347,8 @@ files. It is designed to be fast and to handle large input files.") (version "1.0.5") (source (origin (method url-fetch) - (uri (string-append "http://www.gaia-gis.it/gaia-sins/" - name "-" version ".tar.gz")) + (uri (string-append "https://www.gaia-gis.it/gaia-sins/" + "freexl-" version ".tar.gz")) (sha256 (base32 "03bmwq6hngmzwpqpb7c2amqlspz4q69iv96nlf0f5c0qs98b3j9x")))) -- cgit v1.2.3 From 6dce1251a6660f64e19a661ee6683ca6ea7f0816 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 9 Aug 2020 19:08:25 +0200 Subject: gnu: freexl: Update to 1.0.6. * gnu/packages/xml.scm (freexl): Update to 1.0.6. --- gnu/packages/xml.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index b141e7d5dc..20d9de246c 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1344,14 +1344,14 @@ files. It is designed to be fast and to handle large input files.") (define-public freexl (package (name "freexl") - (version "1.0.5") + (version "1.0.6") (source (origin (method url-fetch) (uri (string-append "https://www.gaia-gis.it/gaia-sins/" "freexl-" version ".tar.gz")) (sha256 (base32 - "03bmwq6hngmzwpqpb7c2amqlspz4q69iv96nlf0f5c0qs98b3j9x")))) + "08pwj17l0lgp6zms9nmpawdxpvhzrslklbd53s4b430k7mxbbs1x")))) (build-system gnu-build-system) (home-page "https://www.gaia-gis.it/fossil/freexl/index") (synopsis "Read Excel files") -- cgit v1.2.3 From 72e20842c6ae899d22ff294d9a4f0ca34d71be61 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 22 May 2020 07:06:27 -0400 Subject: gnu: Add libxmlb. * gnu/packages/xml.scm (libxmlb): New variable. Signed-off-by: Danny Milosavljevic --- gnu/packages/xml.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'gnu/packages/xml.scm') diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 20d9de246c..959745e4f7 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -48,9 +48,10 @@ #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages glib) - #:use-module (gnu packages gnupg) #:use-module (gnu packages gnome) + #:use-module (gnu packages gnupg) #:use-module (gnu packages graphviz) + #:use-module (gnu packages gtk) #:use-module (gnu packages java) #:use-module (gnu packages nss) #:use-module (gnu packages perl) @@ -65,11 +66,45 @@ #:use-module (guix build-system ant) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config)) +(define-public libxmlb + (package + (name "libxmlb") + (version "0.1.15") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/hughsie/libxmlb.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mb73pnfwqc4mm0lm16yfn0lj495h8hcciprb2v6wgy3ifnnjxib")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t)) + (native-inputs + `(("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("pkg-config" ,pkg-config))) + (inputs + `(("appstream-glib" ,appstream-glib) + ("glib" ,glib))) + (synopsis "Library to help create and query binary XML blobs") + (description "Libxmlb library takes XML source, and converts it to a +structured binary representation with a deduplicated string table; where the +strings have the NULs included. This allows an application to mmap the binary +XML file, do an XPath query and return some strings without actually parsing +the entire document.") + (home-page "https://github.com/hughsie/libxmlb") + (license license:lgpl2.1+))) + (define-public expat (package (name "expat") -- cgit v1.2.3