gnu: perf: Remove libxml2.

XML_CATALOG_FILES is already set within xmlto which is a requirement for
building the documentation.

Note: perf depends on zlib which was propagated by libxml2 so we must re-add
it here.

* gnu/packages/linux.scm (perf)[inputs]: Remove libxml2. Add zlib. Relocate
docbook-xsl, xmlto and asciidoc to …
[native-inputs]: … here.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Bruno Victal 2023-10-09 21:06:47 +01:00 committed by Ludovic Courtès
parent bb29bb20ac
commit 1817f5cf4b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5263,21 +5263,21 @@ (define-public perf
;; There are build scripts written in these languages.
perl
python-2
python-3))
python-3
;; Documentation
docbook-xsl
xmlto
asciidoc))
(inputs
(list slang ;for the interactive TUI
zlib
;; newt
python-2 ;'perf' links against libpython
elfutils
libiberty ;used alongside BDF for symbol demangling
libunwind ;better stack walking
libtraceevent
numactl ;for 'perf bench numa mem'
;; Documentation.
libxml2 ;for $XML_CATALOG_FILES
docbook-xsl
xmlto
asciidoc))
numactl)) ;for 'perf bench numa mem'
(home-page "https://perf.wiki.kernel.org/")
(synopsis "Linux profiling with performance counters")
(description