gnu: libnma: Remove patch-docbook-xml phase.
* gnu/packages/gnome.scm (libnma) [arguments]: Remove patch-docbook-xml phase. Use gexps. [native-inputs]: Add libxml2.master
parent
6bc285e6c6
commit
0d77480854
|
@ -1748,23 +1748,16 @@ client devices can handle.")
|
||||||
(arguments
|
(arguments
|
||||||
;; GTK 4.x depends on Rust (indirectly) so pull it only on platforms
|
;; GTK 4.x depends on Rust (indirectly) so pull it only on platforms
|
||||||
;; where it is supported.
|
;; where it is supported.
|
||||||
`(#:configure-flags ,(if (supported-package? gtk)
|
(list #:configure-flags (if (supported-package? gtk)
|
||||||
`(list "-Dlibnma_gtk4=true")
|
#~(list "-Dlibnma_gtk4=true")
|
||||||
`(list "-Dlibnma_gtk4=false"))
|
#~(list "-Dlibnma_gtk4=false"))))
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'patch-docbook-xml
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(substitute* "libnma-docs.xml"
|
|
||||||
(("http://.*/docbookx\\.dtd")
|
|
||||||
(search-input-file
|
|
||||||
inputs "xml/dtd/docbook/docbookx.dtd"))))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list docbook-xml-4.3
|
(list docbook-xml-4.3
|
||||||
gettext-minimal
|
gettext-minimal
|
||||||
`(,glib "bin")
|
`(,glib "bin")
|
||||||
gtk-doc/stable
|
gtk-doc/stable
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
|
libxml2 ;for XML_CATALOG_FILES
|
||||||
pkg-config
|
pkg-config
|
||||||
vala))
|
vala))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Reference in New Issue