unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Timotej Lazar <timotej.lazar@araneo.si>
To: 42928@debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar@araneo.si>
Subject: [bug#42928] [PATCH 2/2] gnu: qttools: Install man pages.
Date: Wed, 19 Aug 2020 13:53:18 +0200	[thread overview]
Message-ID: <20200819115318.5655-2-timotej.lazar@araneo.si> (raw)
In-Reply-To: <20200819115318.5655-1-timotej.lazar@araneo.si>

* gnu/packages/qt.scm (qttools)[phases]: Add 'install-man-pages.
---
 gnu/packages/qt.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 4ca9786d8b..a3ffb7e79d 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1188,7 +1188,15 @@ positioning and geolocation plugins.")))
        ((#:tests? _ #f) #f) ; TODO: Enable the tests
        ((#:phases phases)
         `(modify-phases ,phases
-           (add-after 'install 'install-desktop-files
+           (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")))
+                 (with-directory-excursion "src/linguist"
+                   (install-file "lrelease/lrelease.1" man)
+                   (install-file "lupdate/lupdate.1" man)))
+               #t))
+           (add-after 'install-man-pages 'install-desktop-files
              (lambda* (#:key outputs #:allow-other-keys)
                (let* ((out (assoc-ref outputs "out"))
                       (apps (string-append out "/share/applications"))
-- 
2.28.0





      reply	other threads:[~2020-08-19 11:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 11:50 [bug#42928] [PATCH 0/2] gnu: qttools: Install additional files Timotej Lazar
2020-08-19 11:53 ` [bug#42928] [PATCH 1/2] gnu: qttools: Install desktop files and icons Timotej Lazar
2020-08-19 11:53   ` Timotej Lazar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200819115318.5655-2-timotej.lazar@araneo.si \
    --to=timotej.lazar@araneo.si \
    --cc=42928@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).