On Wed, 2022-05-11 at 20:22 -0400, Mansour Al Akeel wrote:
> I am trying to avoid installing rust and prevent emerge --update
> --deep world from installing it again.
> How to do this ?
> 

1. Switch away from Mozilla products. Evolution is a great Thunderbird
alternative, and Epiphany is a passable Firefox substitute.

2a. Give up on SVG support in anything other than inkscape. The only
two standalone (i.e. outside of inkscape) SVG libraries involve rust.

2b. Add gnome-base/librsvg to package.provided, and use pre-built
binary packages[0] for any GTK icon themes you need. This isn't perfect
(a few application icons won't render), but it's livable.

3. If you use app-antivirus/clamav, the stable 0.103.x series will
remain rust-free and supported (in Gentoo) until it no longer works, or
has a security issue that isn't easy to backport. Unless you need this
for compliance reasons or for a mail server with third-party
signatures, the "good" news is that its detection rate has never been
great. You're not much worse off without it.

4a. Help the Gentoo developers by pointing out any packages that
currently depend on dev-python/cryptography (which now needs rust)
where that dependency can be made optional by a USE flag.

4b. If upstream is interested, you can try to port python packages away
from the cryptography package to something like pyNaCl.


[0]https://dilfridge.blogspot.com/2021/09/experimental-binary-gentoo-package.html

Reply via email to