unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Timotej Lazar <timotej.lazar@araneo.si>
To: 61294@debbugs.gnu.org
Cc: Timotej Lazar <timotej.lazar@araneo.si>
Subject: [bug#61294] [PATCH 3/3] gnu: imv: Record absolute file name of 'imv' script.
Date: Sun,  5 Feb 2023 13:23:50 +0100	[thread overview]
Message-ID: <20230205122350.2759-3-timotej.lazar@araneo.si> (raw)
In-Reply-To: <20230205122350.2759-1-timotej.lazar@araneo.si>

* gnu/packages/image-viewers.scm (imv)[arguments]: Also fix the 'imv-dir'
script in the 'record-absolute-file-names phase.
---
 gnu/packages/image-viewers.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 02e25aee5f..1879b9949c 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -767,10 +767,12 @@ (define-public imv
                (add-after 'install 'record-absolute-file-names
                  (lambda _
                    ;; 'imv' is a script that execs 'imv-x11' or 'imv-wayland'.
-                   ;; Record their absolute file name.
+                   ;; 'imv-dir' execs 'imv'. Record their absolute file names.
                    (let ((bin (string-append #$output "/bin")))
                      (substitute* (string-append bin "/imv")
-                       (("imv-") (string-append bin "/imv-")))))))))
+                       (("imv-") (string-append bin "/imv-")))
+                     (substitute* (string-append bin "/imv-dir")
+                       (("imv") (string-append bin "/imv")))))))))
     (native-inputs
      (list asciidoc
            pkg-config))
-- 
2.39.1





  parent reply	other threads:[~2023-02-05 12:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-05 12:22 [bug#61294] [PATCH 0/3] Update imv Timotej Lazar
2023-02-05 12:23 ` [bug#61294] [PATCH 1/3] gnu: imv: Update to 4.4.0 Timotej Lazar
2023-02-05 12:23   ` [bug#61294] [PATCH 2/3] gnu: imv: Use new package style Timotej Lazar
2023-02-05 12:23   ` Timotej Lazar [this message]
2023-02-05 13:04 ` bug#61294: [PATCH 0/3] Update imv Leo Famulari

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=20230205122350.2759-3-timotej.lazar@araneo.si \
    --to=timotej.lazar@araneo.si \
    --cc=61294@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).