[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/16: gnu: Add docbook-dsssl.
From: |
guix-commits |
Subject: |
06/16: gnu: Add docbook-dsssl. |
Date: |
Thu, 14 Jan 2021 09:58:48 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 81920e6d59de6d58afddb11d7acef357533f8440
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Sep 9 11:47:41 2018 -0400
gnu: Add docbook-dsssl.
* gnu/packages/docbook.scm (docbook-dsssl): New variable.
---
gnu/packages/docbook.scm | 79 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index ca9c0ec..e248f62 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -215,6 +215,85 @@ by no means limited to these applications.) This package
provides XML DTDs.")
"This package provides XSL style sheets for DocBook.")
(license (x11-style "" "See 'COPYING' file."))))
+(define-public docbook-dsssl
+ (package
+ (name "docbook-dsssl")
+ (version "1.79")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/docbook/"
+ name "/" version "/"
+ name "-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1g72y2yyc2k89kzs0lvrb9n7hjayw1hdskfpplpz97pf1c99wcig"))))
+ (build-system trivial-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let ((source (assoc-ref %build-inputs "source"))
+ (dtd (string-append (assoc-ref %outputs "out")
+ "/sgml/dtd/docbook"))
+ (docbook-dsssl-doc (assoc-ref %build-inputs
"docbook-dsssl-doc"))
+ (doc (assoc-ref %outputs "doc"))
+ (tar (assoc-ref %build-inputs "tar"))
+ (bzip2 (assoc-ref %build-inputs "bzip2")))
+ (setenv "PATH" (string-append tar "/bin" ":" bzip2 "/bin"))
+ (mkdir-p dtd)
+ (invoke "tar" "-xf" source "-C" dtd)
+ ;; The doc output contains 1.4 MiB of HTML documentation.
+ (symlink docbook-dsssl-doc doc)))))
+ (inputs
+ `(("docbook-dsssl-doc" ,docbook-dsssl-doc)))
+ (native-inputs
+ `(("bzip2", bzip2)
+ ("tar" ,tar)))
+ (home-page "https://docbook.org/")
+ (synopsis "DSSSL style sheets for DocBook")
+ (description "This package provides DSSSL style sheets for DocBook.")
+ (license (non-copyleft "file://README"))))
+
+;;; Private variable, used as the 'doc' output of the docbook-dsssl package.
+(define docbook-dsssl-doc
+ (package
+ (name "docbook-dsssl-doc")
+ (version "1.79")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/docbook/"
+ name "/" version "/"
+ name "-" version ".tar.bz2"))
+ (sha256
+ (base32
+ "1plp5ngc96pbna4rwglp9glcadnirbm3hlcjb4gjvq1f8biic9lz"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let ((source (assoc-ref %build-inputs "source"))
+ (docdir (string-append (assoc-ref %outputs "out")
+ "/share/doc/" "docbook-dsssl-" ,version))
+ (tar (assoc-ref %build-inputs "tar"))
+ (bzip2 (assoc-ref %build-inputs "bzip2")))
+ (setenv "PATH" (string-append tar "/bin" ":" bzip2 "/bin"))
+ (mkdir-p docdir)
+ ;; Extract the "doc" subdirectory.
+ (invoke "tar" "-xf" source "--strip-components=2"
+ "--no-same-owner" "-C" docdir
+ (string-append "docbook-dsssl-" ,version "/doc"))))))
+ (native-inputs
+ `(("bzip2", bzip2)
+ ("tar" ,tar)))
+ (home-page "https://docbook.org/")
+ (synopsis "DocBook DSSSL style sheets documentation")
+ (description "Documentation for the DocBook DSSSL style sheets.")
+ (license (non-copyleft "file://doc/LEGALNOTICE.htm"))))
+
(define-public docbook-sgml
(package
(name "docbook-sgml")
- branch master updated (88eb537 -> e45dcf4), guix-commits, 2021/01/14
- 01/16: gnu: opensp: Move package to (gnu packages xml)., guix-commits, 2021/01/14
- 04/16: gnu: Add iso-8879-entities., guix-commits, 2021/01/14
- 08/16: gnu: Add docbook-sgml-3.1., guix-commits, 2021/01/14
- 02/16: gnu: opensp: Add doc output, enable tests and add search path., guix-commits, 2021/01/14
- 03/16: gnu: Add openjade., guix-commits, 2021/01/14
- 05/16: gnu: Add docbook-sgml., guix-commits, 2021/01/14
- 06/16: gnu: Add docbook-dsssl.,
guix-commits <=
- 07/16: gnu: Add perl-sgmls., guix-commits, 2021/01/14
- 09/16: gnu: Add texlive-marvosym., guix-commits, 2021/01/14
- 12/16: gnu: Add texlive-jknappen., guix-commits, 2021/01/14
- 10/16: gnu: Add config., guix-commits, 2021/01/14
- 11/16: gnu: Add texlive-tipa., guix-commits, 2021/01/14
- 13/16: gnu: Add texlive-courier., guix-commits, 2021/01/14
- 14/16: gnu: Add texlive-helvetic., guix-commits, 2021/01/14
- 15/16: gnu: Add texlive-wasy., guix-commits, 2021/01/14
- 16/16: gnu: texlive-wasysym: Update synopsis and description., guix-commits, 2021/01/14