diff mbox series

[bug#65479,58/61] gnu: perf: Remove libxml2.

Message ID e11973e68cbadc9db5c1cf9c25b3b3784e728e99.1692828533.git.mirai@makinata.eu
State New
Headers show
Series The Draining of the XML & DocBook Swamp. | expand

Commit Message

Bruno Victal Aug. 24, 2023, 4:16 a.m. UTC
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.
 gnu/packages/linux.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff mbox series


diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 140d2e4dd3..5b117bb029 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5046,20 +5046,20 @@  (define-public perf
            ;; There are build scripts written in these languages.
-           python-3))
+           python-3
+           ;; Documentation
+           docbook-xsl
+           xmlto
+           asciidoc))
      (list slang ;for the interactive TUI
+           zlib
            ;; newt
            python-2                            ;'perf' links against libpython
            libiberty                 ;used alongside BDF for symbol demangling
            libunwind                 ;better stack walking
-           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")