gnu: libxml++: Update to 3.2.0.
…by merging the duplicate ‘libxmlplusplus’ package definition back into ‘libxml++’. Reported-by: Guillaume Le Vaillant <glv@posteo.net> * gnu/packages/gnome.scm (libxml++): Update to 3.2.0. [source]: Build from git. [home-page]: Adjust accordingly. [arguments]: Add a 'fix-documentation phase. [native-inputs]: Add autoconf, automake, doxygen, docbook-xml, docbook-xsl, graphviz, libtool, libxslt, and mm-common. (libxml++-2)[source]: Follow suit by building from git. No other changes.
This commit is contained in:
parent
ff64cba2cc
commit
acbb904c67
1 changed files with 57 additions and 25 deletions
|
@ -8029,43 +8029,75 @@ the available networks and allows users to easily switch between them.")
|
||||||
(define-public libxml++
|
(define-public libxml++
|
||||||
(package
|
(package
|
||||||
(name "libxml++")
|
(name "libxml++")
|
||||||
(version "3.0.1")
|
(version "3.2.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(method git-fetch)
|
||||||
(version-major+minor version) "/"
|
(uri (git-reference
|
||||||
name "-" version ".tar.xz"))
|
(url "https://github.com/libxmlplusplus/libxmlplusplus")
|
||||||
(sha256
|
(commit version)))
|
||||||
(base32
|
(file-name (git-file-name name version))
|
||||||
"19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r"))))
|
(sha256
|
||||||
|
(base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
;; libxml++-3.0.pc refers to all these.
|
(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")))))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("libxml2" ,libxml2)
|
;; libxml++-3.0.pc refers to all these.
|
||||||
("glibmm" ,glibmm)))
|
`(("glibmm" ,glibmm)
|
||||||
|
("libxml2" ,libxml2)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
`(("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)))
|
("pkg-config" ,pkg-config)))
|
||||||
(home-page "http://libxmlplusplus.sourceforge.net/")
|
(home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
|
||||||
(synopsis "C++ wrapper for XML parser library libxml2")
|
(synopsis "C++ bindings to the libxml2 XML parser library")
|
||||||
(description
|
(description
|
||||||
"This package provides a C++ wrapper for the XML parser library
|
"This package provides a C++ interface to the libxml2 XML parser
|
||||||
libxml2.")
|
library.")
|
||||||
(license license:lgpl2.1+)))
|
(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 libxml++-2
|
(define-public libxml++-2
|
||||||
(package
|
(package
|
||||||
(inherit libxml++)
|
(inherit libxml++)
|
||||||
(name "libxml++")
|
(name "libxml++")
|
||||||
(version "2.40.1")
|
(version "2.40.1")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(method git-fetch)
|
||||||
(version-major+minor version) "/"
|
(uri (git-reference
|
||||||
name "-" version ".tar.xz"))
|
(url "https://github.com/libxmlplusplus/libxmlplusplus")
|
||||||
(sha256
|
(commit version)))
|
||||||
(base32
|
(file-name (git-file-name name version))
|
||||||
"1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a"))))))
|
(sha256
|
||||||
|
(base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
|
||||||
|
|
||||||
(define-public gdm
|
(define-public gdm
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue