summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-09-12 13:43:47 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-09-12 14:12:29 +0200
commitacbb904c67871503aed8b678bf0a0da852fdfdcc (patch)
tree032212ff1c677c1c52041dd2ac82b125a6cb353b /gnu
parentff64cba2cc5a029ade92644f99547f47ddf7d9c4 (diff)
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnome.scm82
1 files changed, 57 insertions, 25 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fa426c6e402..5a8bcdb8cea 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8029,43 +8029,75 @@ the available networks and allows users to easily switch between them.")
8029(define-public libxml++ 8029(define-public libxml++
8030 (package 8030 (package
8031 (name "libxml++") 8031 (name "libxml++")
8032 (version "3.0.1") 8032 (version "3.2.0")
8033 (source (origin 8033 (source
8034 (method url-fetch) 8034 (origin
8035 (uri (string-append "mirror://gnome/sources/" name "/" 8035 (method git-fetch)
8036 (version-major+minor version) "/" 8036 (uri (git-reference
8037 name "-" version ".tar.xz")) 8037 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8038 (sha256 8038 (commit version)))
8039 (base32 8039 (file-name (git-file-name name version))
8040 "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r")))) 8040 (sha256
8041 (base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
8041 (build-system gnu-build-system) 8042 (build-system gnu-build-system)
8042 ;; libxml++-3.0.pc refers to all these. 8043 (arguments
8044 `(#:phases
8045 (modify-phases %standard-phases
8046 (add-after 'unpack 'fix-documentation
8047 (lambda* (#:key inputs #:allow-other-keys)
8048 (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
8049 "/xml/dtd/docbook"))
8050 (xsldoc (string-append (assoc-ref inputs "docbook-xsl")
8051 "/xml/xsl/docbook-xsl-"
8052 ,(package-version docbook-xsl))))
8053 (substitute* '("examples/dom_xpath/example.xml"
8054 "docs/manual/libxml++_without_code.xml")
8055 (("http://.*/docbookx\\.dtd")
8056 (string-append xmldoc "/docbookx.dtd")))
8057 (setenv "SGML_CATALOG_FILES"
8058 (string-append xmldoc "/catalog.xml"))
8059 (substitute* "docs/manual/docbook-customisation.xsl"
8060 (("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
8061 (string-append xsldoc "/html/chunk.xsl")))))))))
8043 (propagated-inputs 8062 (propagated-inputs
8044 `(("libxml2" ,libxml2) 8063 ;; libxml++-3.0.pc refers to all these.
8045 ("glibmm" ,glibmm))) 8064 `(("glibmm" ,glibmm)
8065 ("libxml2" ,libxml2)))
8046 (native-inputs 8066 (native-inputs
8047 `(("perl" ,perl) 8067 `(("autoconf" ,autoconf)
8068 ("automake" ,automake)
8069 ("doxygen" ,doxygen)
8070 ("docbook-xml" ,docbook-xml)
8071 ("docbook-xsl" ,docbook-xsl)
8072 ("graphviz" ,graphviz) ; for dot
8073 ("libtool" ,libtool)
8074 ("libxslt" ,libxslt)
8075 ("mm-common" ,mm-common)
8076 ("perl" ,perl)
8048 ("pkg-config" ,pkg-config))) 8077 ("pkg-config" ,pkg-config)))
8049 (home-page "http://libxmlplusplus.sourceforge.net/") 8078 (home-page "https://github.com/libxmlplusplus/libxmlplusplus/")
8050 (synopsis "C++ wrapper for XML parser library libxml2") 8079 (synopsis "C++ bindings to the libxml2 XML parser library")
8051 (description 8080 (description
8052 "This package provides a C++ wrapper for the XML parser library 8081 "This package provides a C++ interface to the libxml2 XML parser
8053libxml2.") 8082library.")
8054 (license license:lgpl2.1+))) 8083 (license license:lgpl2.1+)))
8055 8084
8085;; This is the last release providing the 2.6 API, hence the name.
8086;; This is needed by tascam-gtk
8056(define-public libxml++-2 8087(define-public libxml++-2
8057 (package 8088 (package
8058 (inherit libxml++) 8089 (inherit libxml++)
8059 (name "libxml++") 8090 (name "libxml++")
8060 (version "2.40.1") 8091 (version "2.40.1")
8061 (source (origin 8092 (source
8062 (method url-fetch) 8093 (origin
8063 (uri (string-append "mirror://gnome/sources/" name "/" 8094 (method git-fetch)
8064 (version-major+minor version) "/" 8095 (uri (git-reference
8065 name "-" version ".tar.xz")) 8096 (url "https://github.com/libxmlplusplus/libxmlplusplus")
8066 (sha256 8097 (commit version)))
8067 (base32 8098 (file-name (git-file-name name version))
8068 "1sb3akryklvh2v6m6dihdnbpf1lkx441v972q9hlz1sq6bfspm2a")))))) 8099 (sha256
8100 (base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
8069 8101
8070(define-public gdm 8102(define-public gdm
8071 (package 8103 (package