[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: samba: Install manual pages.
From: |
Marius Bakke |
Subject: |
07/07: gnu: samba: Install manual pages. |
Date: |
Wed, 27 Sep 2017 15:13:56 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit cb1e0cfc2f32e6811da588231497d896491ceabb
Author: Marius Bakke <address@hidden>
Date: Wed Sep 27 13:44:39 2017 +0200
gnu: samba: Install manual pages.
* gnu/packages/samba.scm (samba)[arguments]<#:phases>: Add
'locate-docbook-stylesheets' phase.
[native-inputs]: Add DOCBOOK-XSL and LIBXSLT.
---
gnu/packages/samba.scm | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 85579b0..392f9a3 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -34,6 +34,7 @@
#:use-module (gnu packages crypto)
#:use-module (gnu packages cups)
#:use-module (gnu packages databases)
+ #:use-module (gnu packages docbook)
#:use-module (gnu packages tls)
#:use-module (gnu packages popt)
#:use-module (gnu packages pkg-config)
@@ -42,7 +43,8 @@
#:use-module (gnu packages kerberos)
#:use-module (gnu packages linux)
#:use-module (gnu packages perl)
- #:use-module (gnu packages python))
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages xml))
(define-public cifs-utils
(package
@@ -159,8 +161,19 @@ anywhere.")
"0pap686cl0j5c9v1v09krpqdk416x3851fbcap5ysp1zajrfw7aq"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
+ `(#:phases
(modify-phases %standard-phases
+ (add-before 'configure 'locate-docbook-stylesheets
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; XXX for some reason XML_CATALOG_FILES is not respected.
+ (substitute* '("buildtools/wafsamba/samba_conftests.py"
+ "buildtools/wafsamba/wafsamba.py"
+ "docs-xml/xslt/man.xsl")
+ (("http://docbook.sourceforge.net/release/xsl/current/")
+ (string-append (assoc-ref inputs "docbook-xsl")
+ "/xml/xsl/docbook-xsl-"
+ ,(package-version docbook-xsl) "/")))
+ #t))
(replace 'configure
;; samba uses a custom configuration script that runs waf.
(lambda* (#:key outputs #:allow-other-keys)
@@ -203,7 +216,9 @@ anywhere.")
("tevent" ,tevent)
("tdb" ,tdb)))
(native-inputs
- `(("perl" ,perl)
+ `(("docbook-xsl" ,docbook-xsl) ;for generating manpages
+ ("xsltproc" ,libxslt) ;ditto
+ ("perl" ,perl)
("pkg-config" ,pkg-config)
("python" ,python-2))) ; incompatible with Python 3
(home-page "https://www.samba.org/")
- branch master updated (958be7a -> cb1e0cf), Marius Bakke, 2017/09/27
- 01/07: gnu: pulseview: Build with modular Qt., Marius Bakke, 2017/09/27
- 05/07: gnu: potrace: Update to 1.15 [fixes CVE-2017-12067]., Marius Bakke, 2017/09/27
- 03/07: gnu: powertop: Update to 2.9., Marius Bakke, 2017/09/27
- 06/07: gnu: tklib: Fix typo., Marius Bakke, 2017/09/27
- 02/07: gnu: lftp: Update to 4.8.2., Marius Bakke, 2017/09/27
- 07/07: gnu: samba: Install manual pages.,
Marius Bakke <=
- 04/07: gnu: e2fsprogs: Update to 1.43.6., Marius Bakke, 2017/09/27