gnu: Adjust asciidoc-related build options.

Commits 9099a45792 and
3078821d13 make many package inputs and
build configurations related to asciidoc obsolete.

* gnu/packages/compton.scm (compton)[inputs]: Remove docbook-xml,
libxml2 and libxslt.
* gnu/packages/mail.scm (offlinemap)[native-inputs]: Remove libxslt.
* gnu/packages/linux.scm (btrfs-progs)[native-inputs]: Remove docbook-xml.
(perf)[inputs]: Remove docbook-xml and libxslt.
* gnu/packages/text-editors.scm (kakoune)[native-inputs]: Remove libxslt.
* gnu/packages/version-control.scm (cgit)[native-inputs]: Remove
docbook-xml, docbook-xsl, libxml2 and libxslt.
(cvs-fast-export)[native-inputs]: Remove docbook-xml, docbook-xsl,
libxml2 and libxslt.
* gnu/packages/web.scm (qutebrowser)[native-inputs]: Remove docbook-xml,
docbook-xsl, libxml2, and libxslt.
(tinyproxy)[native-inputs]: Remove docbook-xml, docbook-xsl, libxml2 and
libxslt.
* gnu/packages/wm.scm (awesome)[make-flags]: Remove XML_CATALOG_FILES flag.
(i3-wm)[inputs]: Remove docbook-xml.
[native-inputs]: Add libxml2.
This commit is contained in:
Kei Kebreau 2017-03-18 15:40:15 -04:00
parent ed428a58ec
commit 4b0e636701
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
7 changed files with 11 additions and 49 deletions

View File

@ -50,7 +50,6 @@
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("dbus" ,dbus) `(("dbus" ,dbus)
("docbook-xml" ,docbook-xml)
("libconfig" ,libconfig) ("libconfig" ,libconfig)
("libx11" ,libx11) ("libx11" ,libx11)
("libxcomposite" ,libxcomposite) ("libxcomposite" ,libxcomposite)
@ -58,10 +57,8 @@
("libxext" ,libxext) ("libxext" ,libxext)
("libxfixes" ,libxfixes) ("libxfixes" ,libxfixes)
("libxinerama" ,libxinerama) ("libxinerama" ,libxinerama)
("libxml2" ,libxml2)
("libxrandr" ,libxrandr) ("libxrandr" ,libxrandr)
("libxrender" ,libxrender) ("libxrender" ,libxrender)
("libxslt" ,libxslt)
("mesa" ,mesa) ("mesa" ,mesa)
("xprop" ,xprop) ("xprop" ,xprop)
("xwininfo" ,xwininfo))) ("xwininfo" ,xwininfo)))

View File

@ -2224,8 +2224,6 @@ in a digital read-out.")
;; Documentation. ;; Documentation.
("libxml2" ,libxml2) ;for $XML_CATALOG_FILES ("libxml2" ,libxml2) ;for $XML_CATALOG_FILES
("libxslt" ,libxslt)
("docbook-xml" ,docbook-xml)
("docbook-xsl" ,docbook-xsl) ("docbook-xsl" ,docbook-xsl)
("xmlto" ,xmlto) ("xmlto" ,xmlto)
("asciidoc" ,asciidoc))) ("asciidoc" ,asciidoc)))
@ -2803,7 +2801,6 @@ and copy/paste text in the console and in xterm.")
("xmlto" ,xmlto) ("xmlto" ,xmlto)
;; For building documentation. ;; For building documentation.
("libxml2" ,libxml2) ("libxml2" ,libxml2)
("docbook-xml" ,docbook-xml)
("docbook-xsl" ,docbook-xsl) ("docbook-xsl" ,docbook-xsl)
;; For tests. ;; For tests.
("which" ,which))) ("which" ,which)))

View File

@ -423,8 +423,7 @@ and corrections. It is based on a Bayesian filter.")
"0i5dvygps1ai2qwgamab8kngrp0c5m3bgaw0jk34l8ypsk54wj8r")))) "0i5dvygps1ai2qwgamab8kngrp0c5m3bgaw0jk34l8ypsk54wj8r"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("asciidoc" ,asciidoc) `(("asciidoc" ,asciidoc)))
("libxslt" ,libxslt))) ; for xsltproc
(inputs `(("python2-pysqlite" ,python2-pysqlite) (inputs `(("python2-pysqlite" ,python2-pysqlite)
("python2-six" ,python2-six))) ("python2-six" ,python2-six)))
(arguments (arguments

View File

@ -137,7 +137,6 @@ based command language.")
;; without them the tests fail. ;; without them the tests fail.
(zero? (system* "chmod" "-R" "u+w" "../test"))))))) (zero? (system* "chmod" "-R" "u+w" "../test")))))))
(native-inputs `(("gcc" ,gcc-5) (native-inputs `(("gcc" ,gcc-5)
("libxslt" ,libxslt)
("asciidoc" ,asciidoc) ("asciidoc" ,asciidoc)
("ruby" ,ruby))) ("ruby" ,ruby)))
(inputs `(("gcc:lib" ,gcc-5 "lib") (inputs `(("gcc:lib" ,gcc-5 "lib")

View File

@ -450,11 +450,7 @@ to lock down your entire repository.")
#t))))))) #t)))))))
(native-inputs (native-inputs
;; For building manpage. ;; For building manpage.
`(("asciidoc" ,asciidoc) `(("asciidoc" ,asciidoc)))
("docbook-xml" ,docbook-xml)
("docbook-xsl" ,docbook-xsl)
("xmllint" ,libxml2)
("xsltprot" ,libxslt)))
(inputs (inputs
`(("git:src" ,(package-source git@2.9)) `(("git:src" ,(package-source git@2.9))
("openssl" ,openssl) ("openssl" ,openssl)
@ -856,10 +852,6 @@ RCS, PRCS, and Aegis packages.")
(list "CC=gcc" (string-append "prefix?=" (assoc-ref %outputs "out"))))) (list "CC=gcc" (string-append "prefix?=" (assoc-ref %outputs "out")))))
(inputs `(("git" ,git))) (inputs `(("git" ,git)))
(native-inputs `(("asciidoc" ,asciidoc) (native-inputs `(("asciidoc" ,asciidoc)
("docbook-xml" ,docbook-xml)
("docbook-xsl" ,docbook-xsl)
("xmllint" ,libxml2)
("xsltproc" ,libxslt)
;; These are needed for the tests. ;; These are needed for the tests.
("cvs" ,cvs) ("cvs" ,cvs)
("python" ,python-2) ("python" ,python-2)

View File

@ -626,11 +626,7 @@ used to validate and fix HTML data.")
%standard-phases))) %standard-phases)))
;; All of the below are used to generate the documentation ;; All of the below are used to generate the documentation
;; (Should they be propagated inputs of asciidoc ??) ;; (Should they be propagated inputs of asciidoc ??)
(native-inputs `(("asciidoc" ,asciidoc) (native-inputs `(("asciidoc" ,asciidoc)))
("libxml2" ,libxml2)
("docbook-xml" ,docbook-xml)
("docbook-xsl" ,docbook-xsl)
("libxslt" ,libxslt)))
(home-page "https://tinyproxy.github.io/") (home-page "https://tinyproxy.github.io/")
(synopsis "Light-weight HTTP/HTTPS proxy daemon") (synopsis "Light-weight HTTP/HTTPS proxy daemon")
(description "Tinyproxy is a light-weight HTTP/HTTPS proxy (description "Tinyproxy is a light-weight HTTP/HTTPS proxy
@ -4479,11 +4475,7 @@ exploit attempts.")
"0pf91nc0xcykahc3x7ww525c9czm8zpg80nxl8n2mrzc4ilgvass")))) "0pf91nc0xcykahc3x7ww525c9czm8zpg80nxl8n2mrzc4ilgvass"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("asciidoc" ,asciidoc) `(("asciidoc" ,asciidoc)))
("docbook-xsl" ,docbook-xsl)
("docbook-xml" ,docbook-xml)
("libxml2" ,libxml2) ;for xmllint
("libxslt" ,libxslt))) ;for xsltproc
(inputs (inputs
`(("python-colorama" ,python-colorama) `(("python-colorama" ,python-colorama)
("python-cssutils" ,python-cssutils) ("python-cssutils" ,python-cssutils)

View File

@ -177,26 +177,12 @@ commands would.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags `(#:make-flags
(let* ((docbook-xsl-name-version ,(string-append (list "CC=gcc"
(package-name docbook-xsl) "-"
(package-version docbook-xsl)))
(docbook-xsl-catalog-file (string-append
(assoc-ref %build-inputs "docbook-xsl")
"/xml/xsl/"
docbook-xsl-name-version
"/catalog.xml"))
(docbook-xml-catalog-file (string-append
(assoc-ref %build-inputs "docbook-xml")
"/xml/dtd/docbook/catalog.xml")))
;; Reference the catalog files required to build the manpages.
(list (string-append "XML_CATALOG_FILES=" docbook-xsl-catalog-file " "
docbook-xml-catalog-file)
"CC=gcc"
(string-append "PREFIX=" %output) (string-append "PREFIX=" %output)
;; This works around the following error: ;; This works around the following error:
;; 'error: for loop initial declarations are only allowed in C99 ;; 'error: for loop initial declarations are only allowed in C99
;; or C11 mode' ;; or C11 mode'
"CFLAGS=-std=c11")) "CFLAGS=-std=c11")
;; The build system tries to build in a separate directory, but that ;; The build system tries to build in a separate directory, but that
;; seems to be unnecessary. ;; seems to be unnecessary.
#:configure-flags '("--disable-builddir") #:configure-flags '("--disable-builddir")
@ -215,7 +201,6 @@ commands would.")
("asciidoc" ,asciidoc) ("asciidoc" ,asciidoc)
("xmlto" ,xmlto) ("xmlto" ,xmlto)
("perl-pod-simple" ,perl-pod-simple) ("perl-pod-simple" ,perl-pod-simple)
("docbook-xml" ,docbook-xml)
("libx11" ,libx11) ("libx11" ,libx11)
("pcre" ,pcre) ("pcre" ,pcre)
("startup-notification" ,startup-notification) ("startup-notification" ,startup-notification)
@ -226,6 +211,7 @@ commands would.")
("perl" ,perl) ("perl" ,perl)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
;; For building the documentation. ;; For building the documentation.
("libxml2" ,libxml2)
("docbook-xsl" ,docbook-xsl))) ("docbook-xsl" ,docbook-xsl)))
(home-page "https://i3wm.org/") (home-page "https://i3wm.org/")
(synopsis "Improved tiling window manager") (synopsis "Improved tiling window manager")