summaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim@guixotic.coop>2025-10-03 12:23:07 +0900
committerMaxim Cournoyer <maxim@guixotic.coop>2025-10-03 12:23:07 +0900
commitf9323c458500432ee38ff7fa0382c1571fc12268 (patch)
treedfe0fe6bcfbae53790bf4cd32a85fde7b0c9630d /gnu/packages/xml.scm
parent7e5d0624f31c1cd130d1838914be0bfa63ef5df7 (diff)
gnu: perl-xml-libxslt: Update to 2.003000.
* gnu/packages/xml.scm (perl-xml-libxslt): Update to 2.003000. [source] {patches}: Delete. [#:phases]: New argument. [inputs]: Replace libxml2 with libxml2-2.11, for the test suite to pass. Change-Id: I850e9bec260bfd527372509bbe8eaa30883840a3
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm27
1 files changed, 19 insertions, 8 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index e587fcaa0d6..b2665e51ae5 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -697,7 +697,7 @@ XML parser and the high performance DOM implementation.")
697(define-public perl-xml-libxslt 697(define-public perl-xml-libxslt
698 (package 698 (package
699 (name "perl-xml-libxslt") 699 (name "perl-xml-libxslt")
700 (version "1.96") 700 (version "2.003000")
701 (source 701 (source
702 (origin 702 (origin
703 (method url-fetch) 703 (method url-fetch)
@@ -705,14 +705,25 @@ XML parser and the high performance DOM implementation.")
705 "XML-LibXSLT-" version ".tar.gz")) 705 "XML-LibXSLT-" version ".tar.gz"))
706 (sha256 706 (sha256
707 (base32 707 (base32
708 "0wyl8klgr65j8y8fzgwz9jlvfjwvxazna8j3dg9gksd2v973fpia")) 708 "11s5spf0x5h6qzajfsza28m62z50cilcpvl4iffyafzmfbp5makw"))))
709 ;; Remove patch with update to version 2.003000.
710 (patches (search-patches "perl-xml-libxslt-fix-configure.patch"))))
711 (build-system perl-build-system) 709 (build-system perl-build-system)
712 (inputs 710 (arguments
713 (list libxslt)) 711 (list
714 (propagated-inputs 712 #:phases
715 (list perl-xml-libxml)) 713 #~(modify-phases %standard-phases
714 (add-after 'unpack 'extend-INCLUDE_PATH
715 ;; This hack is because the build system does not appear to use
716 ;; the pkg-config Cflags, and expects the libxml2 headers to be
717 ;; directly available from the FHS location (or C_INCLUDE_PATH),
718 ;; but they are nested under a libxml2 subdirectory.
719 (lambda* (#:key inputs #:allow-other-keys)
720 (setenv "C_INCLUDE_PATH"
721 (string-append
722 (getenv "C_INCLUDE_PATH")
723 ":" (search-input-directory inputs
724 "include/libxml2"))))))))
725 (inputs (list libxml2-2.11 libxslt))
726 (propagated-inputs (list perl-xml-libxml))
716 (home-page "https://metacpan.org/release/XML-LibXSLT") 727 (home-page "https://metacpan.org/release/XML-LibXSLT")
717 (synopsis "Perl bindings to GNOME libxslt library") 728 (synopsis "Perl bindings to GNOME libxslt library")
718 (description "This Perl module is an interface to the GNOME project's 729 (description "This Perl module is an interface to the GNOME project's