GNU bug report logs - #43187
[PATCH] gnu: liblinphone: Add installation of man pages.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Thu, 3 Sep 2020 18:45:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Rohleder <mike <at> rohleder.de>
To: 43187 <at> debbugs.gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
Subject: [bug#43187] [PATCH] gnu: liblinphone: Add installation of man pages.
Date: Thu,  3 Sep 2020 20:44:07 +0200
* gnu/packages/linphone.scm (liblinphone)[arguments]: Add phase
'install-man-pages.
---
 gnu/packages/linphone.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index 14da150ced..a6492893c8 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -458,6 +458,14 @@ including media capture, encoding and decoding, and rendering.")
                (delete-file-recursively
                 (string-append out "/share/doc/linphone-" ,version))
                #t)))
+         (add-after 'install 'install-man-pages
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (man (string-append out "/share/man/man1")))
+               (for-each (lambda (file)
+                           (install-file file man))
+                         (find-files ".." ".*.1$"))
+               #t)))
          (add-after 'separate-outputs 'glib-or-gtk-compile-schemas
            (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
          (add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap
-- 
2.28.0





This bug report was last modified 4 years and 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.