From: Tomas Volf <~@wolfsden.cz>
To: 75317@debbugs.gnu.org
Cc: Tomas Volf <~@wolfsden.cz>
Subject: [bug#75317] [PATCH 2/6] gnu: gnucash: Do not install gnc-fq-update.
Date: Fri, 3 Jan 2025 15:24:27 +0100 [thread overview]
Message-ID: <fed9e669d1b9bdce7bb8d55307de4c9bb6893029.1735912713.git.~@wolfsden.cz> (raw)
In-Reply-To: <cover.1735912713.git.~@wolfsden.cz>
This binary is used only for updating Finance::Quote from CPAN. That does not
make sense on Guix, so do not install it.
* gnu/packages/gnucash.scm (gnucash)[arguments]<#:phases>: Add
delete-gnc-fq-update.
Change-Id: I93cf6d67166cce5970d48eea42de0ee5a5a9a8f8
---
gnu/packages/gnucash.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/gnucash.scm b/gnu/packages/gnucash.scm
index 6df2b76505..7ac7cb0d8f 100644
--- a/gnu/packages/gnucash.scm
+++ b/gnu/packages/gnucash.scm
@@ -160,12 +160,16 @@ (define-public gnucash
(map (lambda (l)
(assoc l (package-inputs this-package)))
'("perl-finance-quote")))))))))
- '("gnucash"
- "gnc-fq-update"))))
+ '("gnucash"))))
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'install 'glib-or-gtk-wrap
- (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+ (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap))
+ (add-before 'glib-or-gtk-wrap 'delete-gnc-fq-update
+ (lambda _
+ ;; We are not updating Finance::Quote from CPAN. There is no
+ ;; reason to install this binary.
+ (delete-file (string-append #$output "/bin/gnc-fq-update")))))))
(native-inputs
(list gmp
`(,glib "bin") ;glib-compile-schemas, etc.
--
2.46.0
next prev parent reply other threads:[~2025-01-03 14:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-03 14:14 [bug#75317] [PATCH 0/6] gnu: gnucash: Fix getting quotes Tomas Volf
2025-01-03 14:24 ` [bug#75317] [PATCH 1/6] gnu: gnucash: Fix locating perl binary Tomas Volf
2025-01-03 14:24 ` Tomas Volf [this message]
2025-01-03 14:24 ` [bug#75317] [PATCH 3/6] gnu: gnucash: Drop special case for gnc-fq-helper Tomas Volf
2025-01-03 14:24 ` [bug#75317] [PATCH 4/6] gnu: gnucash: Do not wrap finance-quote-wrapper Tomas Volf
2025-01-03 14:24 ` [bug#75317] [PATCH 5/6] gnu: perl-finance-quote: Update to 1.64 Tomas Volf
2025-01-03 14:24 ` [bug#75317] [PATCH 6/6] gnu: gnucash: Update to 5.10 Tomas Volf
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='fed9e669d1b9bdce7bb8d55307de4c9bb6893029.1735912713.git.~@wolfsden.cz' \
--to=~@wolfsden.cz \
--cc=75317@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).