diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-26 18:35:14 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-26 18:35:14 +0200 |
commit | 17dddeeee560527a8f30d37761949d658056cb09 (patch) | |
tree | 15b0b19c55787f556eb9b42c28d173bddc5435db /gnu/packages/xml.scm | |
parent | 331a09654eb7e9f6212b7e8469077fa7393e8b11 (diff) | |
parent | 6a9581741e4ee81226aeb2f1c997df76670a6aab (diff) | |
download | guix-17dddeeee560527a8f30d37761949d658056cb09.tar guix-17dddeeee560527a8f30d37761949d658056cb09.tar.gz |
Merge remote-tracking branch 'origin/master' into core-updates
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r-- | gnu/packages/xml.scm | 133 |
1 files changed, 124 insertions, 9 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 3f68bfa8da..e49cb104a3 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2015 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> -;;; Copyright © 2015, 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2015, 2016, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2015, 2016, 2017 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2015, 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015 Raimon Grau <raimonster@gmail.com> @@ -45,7 +45,13 @@ #: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 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) @@ -60,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") @@ -95,14 +135,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 @@ -167,6 +207,81 @@ 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+))) + +;; 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") @@ -1157,7 +1272,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) @@ -1165,7 +1280,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") @@ -1264,14 +1379,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 "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")))) + "08pwj17l0lgp6zms9nmpawdxpvhzrslklbd53s4b430k7mxbbs1x")))) (build-system gnu-build-system) (home-page "https://www.gaia-gis.it/fossil/freexl/index") (synopsis "Read Excel files") |