GNU bug report logs - #72797
qt-tools is unnecessary optional dependency for monero

Previous Next

Package: guix;

Reported by: 0xFFFC <0xFFFC0000 <at> proton.me>

Date: Sat, 24 Aug 2024 23:44:02 UTC

Severity: normal

Tags: notabug

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 72797 <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: 0xFFFC <0xFFFC0000 <at> proton.me>
Cc: 72797 <at> debbugs.gnu.org
Subject: Re: bug#72797: qt-tools is unnecessary optional dependency for monero
Date: Sun, 25 Aug 2024 19:01:35 +0000
[Message part 1 (text/plain, inline)]
0xFFFC via Bug reports for GNU Guix <bug-guix <at> gnu.org> skribis:

> Hi Guix community,
>
> Thank you for your great software :)
>
> I noticed that the Monero package has an (a huge) unnecessary dependency here [1]. qt is an optional dependency for Monero code base (we only need that in case of using translations).
>
> Anyway to make this optional? or get rid of this?
>
> 1.https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/finance.scm#n716
>
> Freedom wins.
> 0xFFFC

Hi.

The qt-tools package is used to create the binary translations files
that are used by the monero-wallet-cli program, which seems to be
a useful thing.

What kind of issue is the dependency on qt-tools causing for you?

To disable translations, a variant of the monero package like the
following could work (not tested, I'm writing this example on the fly):

--8<---------------cut here---------------start------------->8---
(define-public monero-without-translations
  (inherit monero)
  (name monero-without-translations)
  (native-inputs (package-native-inputs monero)
    (delete "qttools-5")))
--8<---------------cut here---------------end--------------->8---
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 309 days ago.

Previous Next


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