Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] GTK+ is conflicted with the feature WD-40
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
yangby
n00b
n00b


Joined: 10 Feb 2025
Posts: 2

PostPosted: Mon Feb 10, 2025 5:45 pm    Post subject: [SOLVED] GTK+ is conflicted with the feature WD-40 Reply with quote

No available version for gnome-base/librsvg with feature WD-40 since the following code in package.mask:

Code:
# matoro <matoro_gentoo@matoro.tk> (2024-08-10), #936643
# Unmask old pre-rust librsvg.  This has vulnerabilities,
# so it is masked by default and only unmasked on wd40
-<gnome-base/librsvg-2.41

... ...

# Various packages requiring Rust.
... ...
>=gnome-base/librsvg-2.41


But GNOME / GTK+ requires gnome-base/librsvg:

Code:
  gnome-base/librsvg-2.57.3 pulled in by:
    x11-libs/gtk+-3.24.42-r1 requires gnome-base/librsvg[abi_x86_64(-)]
    x11-themes/adwaita-icon-theme-3.32.0 requires gnome-base/librsvg:2


How could I use GNOME / GTK+ apps with the feature WD-40?


Last edited by yangby on Tue Feb 11, 2025 3:38 am; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9337

PostPosted: Mon Feb 10, 2025 7:13 pm    Post subject: Reply with quote

You can't, unless you stick with really old [not in ::gentoo] versions of GNOME/GTK.
Back to top
View user's profile Send private message
GDH-gentoo
Veteran
Veteran


Joined: 20 Jul 2019
Posts: 1808
Location: South America

PostPosted: Mon Feb 10, 2025 9:37 pm    Post subject: Reply with quote

In addition to composing profiles per that Wiki article, I think that you also have to use package.accept_keywords with the special value **, because pre-Rust gnome-base/librsvg-2.40.21 is not keyworded for amd64.

However, if librsvg is the only reason for installing Rust, and you are trying to avoid that, I suggest you get a recent binary gnome-base/librsvg package from the Gentoo binary package host instead.
_________________
NeddySeagoon wrote:
I'm not a witch, I'm a retired electronics engineer :)
Ionen wrote:
As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Back to top
View user's profile Send private message
yangby
n00b
n00b


Joined: 10 Feb 2025
Posts: 2

PostPosted: Tue Feb 11, 2025 3:36 am    Post subject: Reply with quote

GDH-gentoo wrote:
... get a recent binary gnome-base/librsvg package from the Gentoo binary package host instead.


It works.

I only want to use binary for gnome-base/librsvg, but the sys-libs/glibc is replaced by the binary version too.
Other than that, everything is good.

My steps:



  • Append >=gnome-base/librsvg-2.41 into package.unmask.

  • Execute:
    Code:
    sudo emerge -avg gnome-base/librsvg


Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum