0xFFFC via Bug reports for GNU Guix <bug-guix@gnu.org> skribis:
Toggle quote (13 lines)
> 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):
Toggle snippet (6 lines)
(define-public monero-without-translations
(inherit monero)
(name monero-without-translations)
(native-inputs (package-native-inputs monero)
(delete "qttools-5")))
-----BEGIN PGP SIGNATURE-----
iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCZst/jw8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j/9ogD9HGw2DQ6qxziU0H1MEuA8SJYAE31//I7c16Pb
nDLG1ucBAIYLblcqLR/VwRlzn0hc1vq+006d2Phiid2iI2jwhmAc
=dAgF
-----END PGP SIGNATURE-----