Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Remove rust completely
Date: Sat, 14 May 2022 11:05:03
Message-Id: 67d2c13c17b7ea9eef2f7be06e3b0d86077d5856.camel@gentoo.org
In Reply to: [gentoo-user] Remove rust completely by Mansour Al Akeel
1 On Wed, 2022-05-11 at 20:22 -0400, Mansour Al Akeel wrote:
2 > I am trying to avoid installing rust and prevent emerge --update
3 > --deep world from installing it again.
4 > How to do this ?
5 >
6
7 1. Switch away from Mozilla products. Evolution is a great Thunderbird
8 alternative, and Epiphany is a passable Firefox substitute.
9
10 2a. Give up on SVG support in anything other than inkscape. The only
11 two standalone (i.e. outside of inkscape) SVG libraries involve rust.
12
13 2b. Add gnome-base/librsvg to package.provided, and use pre-built
14 binary packages[0] for any GTK icon themes you need. This isn't perfect
15 (a few application icons won't render), but it's livable.
16
17 3. If you use app-antivirus/clamav, the stable 0.103.x series will
18 remain rust-free and supported (in Gentoo) until it no longer works, or
19 has a security issue that isn't easy to backport. Unless you need this
20 for compliance reasons or for a mail server with third-party
21 signatures, the "good" news is that its detection rate has never been
22 great. You're not much worse off without it.
23
24 4a. Help the Gentoo developers by pointing out any packages that
25 currently depend on dev-python/cryptography (which now needs rust)
26 where that dependency can be made optional by a USE flag.
27
28 4b. If upstream is interested, you can try to port python packages away
29 from the cryptography package to something like pyNaCl.
30
31
32 [0]https://dilfridge.blogspot.com/2021/09/experimental-binary-gentoo-package.html