[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/181: gnu: libxml++: Update to 5.0.2.
From: |
guix-commits |
Subject: |
136/181: gnu: libxml++: Update to 5.0.2. |
Date: |
Tue, 13 Sep 2022 02:26:08 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 69d87bccb9c995d8c8485cc9d95f66aacda15350
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Sep 9 22:09:24 2022 -0400
gnu: libxml++: Update to 5.0.2.
* gnu/packages/gnome.scm (libxml++): Update to 5.0.2.
[phases]: Use gexps.
{fix-documentation}: Use search-input-file.
[propagated-inputs]: Remove glibmm-2.64.
(libxml++-2): Update to 2.42.2.
[propagated-inputs]: Add glibmm-2.64.
---
gnu/packages/gnome.scm | 56 ++++++++++++++++++++++++++++----------------------
1 file changed, 31 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c869eea0b7..75a9c2287c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -8484,7 +8484,7 @@ the available networks and allows users to easily switch
between them.")
(define-public libxml++
(package
(name "libxml++")
- (version "3.2.0")
+ (version "5.0.2")
(source
(origin
(method git-fetch)
@@ -8493,37 +8493,41 @@ the available networks and allows users to easily
switch between them.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0wjz591rjlgbah7dcq8i0yn0zw9d62b7g6r0pppx81ic0cx8n8ga"))))
+ (base32 "13jlhz57yjxapplflm8aarczxv6ll3d336y1446mr5n4ylkcc1xz"))))
(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")))))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-documentation
+ (lambda* (#:key native-inputs inputs #:allow-other-keys)
+ (let* ((xsl-version #$(package-version docbook-xsl))
+ (xsldoc (string-append "xml/xsl/docbook-xsl-"
+ xsl-version)))
+ (substitute* '("examples/dom_xpath/example.xml"
+ "docs/manual/libxml++_without_code.xml")
+ (("http://.*/docbookx\\.dtd")
+ (search-input-file (or native-inputs inputs)
+ "xml/dtd/docbook/docbookx.dtd")))
+ (setenv "SGML_CATALOG_FILES"
+ (search-input-file (or native-inputs inputs)
+ (string-append
+ xsldoc "/catalog.xml")))
+ (substitute* "docs/manual/docbook-customisation.xsl"
+ (("http://docbook.sourceforge.net/release/xsl\
+/current/html/chunk.xsl")
+ (search-input-file (or native-inputs inputs)
+ (string-append xsldoc
+
"/html/chunk.xsl"))))))))))
(propagated-inputs
- ;; libxml++-3.0.pc refers to all these.
- (list glibmm-2.64 libxml2))
+ (list libxml2)) ;required by .pc file
(native-inputs
(list autoconf
automake
doxygen
docbook-xml
docbook-xsl
- graphviz ; for dot
+ graphviz ;for dot
libtool
libxslt
mm-common
@@ -8542,7 +8546,7 @@ library.")
(package
(inherit libxml++)
(name "libxml++")
- (version "2.40.1")
+ (version "2.42.2")
(source
(origin
(method git-fetch)
@@ -8551,7 +8555,9 @@ library.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0gbfi4l88w828gmyc9br11l003ylyi4vigp5d1kfgsn0k4cig3y9"))))))
+ (base32 "05slsbhc25z7kwlc28ydl3dfyp7rgbmz1fxj9z6gcvpg3hkghj2m"))))
+ (propagated-inputs (modify-inputs (package-propagated-inputs libxml++)
+ (append glibmm-2.64)))))
(define-public gdm
(package
- 92/181: gnu: gnome-shell-extensions: Update to 42.3., (continued)
- 92/181: gnu: gnome-shell-extensions: Update to 42.3., guix-commits, 2022/09/13
- 99/181: gnu: cambalache: Update to 0.10.3., guix-commits, 2022/09/13
- 107/181: gnu: rygel: Update to 0.41.2., guix-commits, 2022/09/13
- 105/181: gnu: gupnp-dlna: Update to 0.12.0., guix-commits, 2022/09/13
- 102/181: gnu: gtg: Update to 0.6., guix-commits, 2022/09/13
- 112/181: gnu: vte: Update to 0.69.99., guix-commits, 2022/09/13
- 116/181: gnu: gom: Update to 0.4., guix-commits, 2022/09/13
- 118/181: gnu: gnome-klotski: Update to 3.38.2., guix-commits, 2022/09/13
- 121/181: gnu: rhythmbox: Update to 3.4.6., guix-commits, 2022/09/13
- 133/181: gnu: network-manager-vpnc: Update to 1.2.8., guix-commits, 2022/09/13
- 136/181: gnu: libxml++: Update to 5.0.2.,
guix-commits <=
- 144/181: gnu: python-pyatspi: Update to 2.45.90., guix-commits, 2022/09/13
- 143/181: gnu: libgnomekbd: Update to 3.28.1., guix-commits, 2022/09/13
- 44/181: gnu: gjs: Build with mozjs 78., guix-commits, 2022/09/13
- 61/181: gnu: gnome-clocks: Update to 42.0., guix-commits, 2022/09/13
- 70/181: gnu: gnome-characters: Update to 42.0., guix-commits, 2022/09/13
- 67/181: gnu: gnome-music: Update to 42.0., guix-commits, 2022/09/13
- 69/181: gnu: eog: Update to 42.2., guix-commits, 2022/09/13
- 79/181: gnu: gnome-screenshot: Update to 41.0., guix-commits, 2022/09/13
- 74/181: gnu: gnome-font-viewer: Update to 42.0., guix-commits, 2022/09/13
- 90/181: gnu: Add glib-next., guix-commits, 2022/09/13