gnu: adcli: Delete use-local-docbook phase.
* gnu/packages/sssd.scm (adcli) [arguments]: Delete use-local-docbook phase. [native-inputs]: Replace docbook-xml with docbook-xml-4.3. Add libxml2.
This commit is contained in:
parent
704f477333
commit
8f0a110503
1 changed files with 6 additions and 24 deletions
|
@ -4,6 +4,7 @@
|
||||||
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2021 Timotej Lazar <timotej.lazar@araneo.si>
|
;;; Copyright © 2021 Timotej Lazar <timotej.lazar@araneo.si>
|
||||||
;;; Copyright © 2021, 2022 Remco van 't Veer <remco@remworks.net>
|
;;; Copyright © 2021, 2022 Remco van 't Veer <remco@remworks.net>
|
||||||
|
;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -81,37 +82,18 @@
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
;; The net tool is used to update the stored machine key for samba.
|
;; The net tool is used to update the stored machine key for samba.
|
||||||
(list (string-append "--with-samba-data-tool="
|
(list (string-append "--with-samba-data-tool="
|
||||||
(assoc-ref %build-inputs "samba") "/bin/net"))
|
(search-input-file %build-inputs "bin/net")))))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'use-local-docbook
|
|
||||||
;; Patch Makefile and docs to use local docbook resources.
|
|
||||||
(lambda _
|
|
||||||
(let* ((docbook-xml (assoc-ref %build-inputs "docbook-xml"))
|
|
||||||
(docbook-xsl (assoc-ref %build-inputs "docbook-xsl"))
|
|
||||||
(xsldir (string-append docbook-xsl "/xml/xsl/docbook-xsl-"
|
|
||||||
,(package-version docbook-xsl))))
|
|
||||||
(with-directory-excursion "doc"
|
|
||||||
(substitute*
|
|
||||||
'("Makefile.am" "adcli.xml" "adcli-devel.xml" "adcli-docs.xml")
|
|
||||||
(("http://docbook.sourceforge.net/release/xsl/current(/[^\"]*)" _ path)
|
|
||||||
(string-append xsldir path))
|
|
||||||
(("http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd")
|
|
||||||
(string-append docbook-xml "/xml/dtd/docbook/docbookx.dtd")))
|
|
||||||
(substitute* "Makefile.am"
|
|
||||||
(("\\$\\(XMLTO\\)" xmlto)
|
|
||||||
(string-append xmlto " --searchpath " xsldir "/html"))))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf
|
(list autoconf
|
||||||
automake
|
automake
|
||||||
docbook-xml
|
docbook-xml-4.3
|
||||||
docbook-xsl
|
docbook-xsl
|
||||||
libtool
|
libtool
|
||||||
|
libxml2 ;for XML_CATALOG_FILES
|
||||||
libxslt
|
libxslt
|
||||||
util-linux ; For `rev` command used in tests.
|
util-linux ;For `rev` command used in tests.
|
||||||
xmlto))
|
xmlto))
|
||||||
(inputs
|
(inputs (list cyrus-sasl mit-krb5 samba openldap))
|
||||||
(list cyrus-sasl mit-krb5 samba openldap))
|
|
||||||
(home-page "https://gitlab.freedesktop.org/realmd/adcli/")
|
(home-page "https://gitlab.freedesktop.org/realmd/adcli/")
|
||||||
(synopsis "Helper library and tools for Active Directory client operations")
|
(synopsis "Helper library and tools for Active Directory client operations")
|
||||||
(description "@command{adcli} is a command‐line tool to join a computer to
|
(description "@command{adcli} is a command‐line tool to join a computer to
|
||||||
|
|
Reference in a new issue