summary refs log tree commit diff
path: root/gnu/packages/docbook.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-20 14:40:45 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-21 00:44:01 -0400
commit579e8fd00302f72350b7f7d43cce63012a315f39 (patch)
tree46a695f03099a3eb9c4a269ee0ccd278582345f2 /gnu/packages/docbook.scm
parentf1d62ca272a719e32f1e8d39e40420c107780101 (diff)
downloadguix-579e8fd00302f72350b7f7d43cce63012a315f39.tar.gz
gnu: docbook-xml-5: Make it the default docbook-xml.
* gnu/packages/docbook.scm (docbook-xml-5): Rename to...
(docbook-xml): ... this, renaming the previous one to...
(docbook-xml-4.5): ... this.
(docbook2x) [inputs]: Replace docbook-xml with docbook-xml-4.5.
* gnu/packages/freedesktop.scm (wayland) [native-inputs]: Likewise.
* gnu/packages/freedesktop.scm (elogind): Likewise.
* gnu/packages/databases.scm (postgresql-15): Likewise.
* gnu/packages/documentation.scm (asciidoc): Likewise.
* gnu/packages/networking.scm (iputils)
[native-inputs]: Replace docbook-xml-5 with docbook-xml.
Diffstat (limited to 'gnu/packages/docbook.scm')
-rw-r--r--gnu/packages/docbook.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 8778ff1718..f8a9edd769 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -50,7 +50,7 @@
   #:use-module (guix build-system trivial)
   #:use-module (guix build-system python))
 
-(define-public docbook-xml-5
+(define-public docbook-xml
   (package
     (name "docbook-xml")
     (version "5.1")
@@ -97,10 +97,9 @@ suited to books and papers about computer hardware and software (though it is
 by no means limited to these applications.)  This package provides XML DTDs.")
     (license (license:x11-style "" "See file headers."))))
 
-(define-public docbook-xml
+(define-public docbook-xml-4.5
   (package
-    (inherit docbook-xml-5)
-    (name "docbook-xml")
+    (inherit docbook-xml)
     (version "4.5")
     (source (origin
               (method url-fetch/zipbomb)
@@ -709,7 +708,7 @@ Detect the differences in markup between two SGML files.
     (build-system gnu-build-system)
     (inputs
      `(("bash-minimal" ,bash-minimal)
-       ("docbook-xml" ,docbook-xml)
+       ("docbook-xml" ,docbook-xml-4.5)
        ("perl" ,perl)
        ("perl-xml-namespacesupport" ,perl-xml-namespacesupport)
        ("perl-xml-parser" ,perl-xml-parser)