You are not logged in.

#1 2024-05-28 20:53:08

Alfodr
Member
Registered: 2021-02-28
Posts: 8

Help needed with understanding dependencies for gtk3 package

Today, I have tried updating my system and there was a new dependency added to my system: adwaita-icon-theme-legacy.
I was annoyed about having one more package without my say so or knowing why, and decided to completely remove adwaita-icon-theme by having dummy package lying about providing adwaita-icon-theme. I was sure it meant gtk3 will probably not work well anymore, but I was unpleasantly surprised that everything worked fine. The only difference I saw was that blue icons in GtkFileChooserDialog were no longer blue...

That leads me to the question: why was adwaita-icon-theme ever marked as a dependency for the gtk3 package?
I went to the upstream link of the package https://www.gtk.org/ and tried to find adwaita mentioned anywhere as a dependency or otherwise on pages like https://docs.gtk.org/gtk3/building.html, and I have failed at that.

I need help understanding the purpose of this dependency

Offline

#2 2024-05-28 21:49:57

seth
Member
Registered: 2012-09-03
Posts: 60,378

Re: Help needed with understanding dependencies for gtk3 package

The legacy theme provides bitmap icons but gtk3 can render svg's
adwaita-icon-theme became a hard dependency isntead of the optional gnome-icon-theme w/ https://gitlab.archlinux.org/archlinux/ … f3e58aefe9

I'd be surprised if even gtk would depend on any specific icon theme, but you probably want *some* icon theme (eg. the message dialog use them) and adwaita is then used as baseline.

Offline

#3 2024-05-28 22:18:33

Alfodr
Member
Registered: 2021-02-28
Posts: 8

Re: Help needed with understanding dependencies for gtk3 package

But to me it looks like gtk3 already have fallback icons. I do not have adwaita-icon-theme on my system anymore and the only dialog with icons I know (GtkFileChooserDialog) has some icons. I do not know what icon pack is used for me now (if separate from gtk itself at all) but I have hicolor-icon-theme installed as a dependency of another gtk3 dependency

Last edited by Alfodr (2024-05-28 22:19:28)

Offline

#4 2024-05-28 22:38:41

seth
Member
Registered: 2012-09-03
Posts: 60,378

Re: Help needed with understanding dependencies for gtk3 package

That's gonna be hicolor theme, https://archlinux.org/packages/extra/an … con-theme/ … and reading on your post it likely is wink

You could file a bug against the gtk package(s) in case this is just for brand recognition (since lxde, mate and deepin use gtk as well and ultimately the user gets to decide what style they want to see)

Offline

#5 2024-05-28 23:06:53

Alfodr
Member
Registered: 2021-02-28
Posts: 8

Re: Help needed with understanding dependencies for gtk3 package

I do not think that I can file bugs. At least at the moment, gitlab is not allowing me to create an account.
Not sure if I get your point about brand recognition but this was just about removing packages that should be optional from my system. I will drop this issue and rely on simply lying to system that it is there...

Offline

#6 2024-05-29 08:52:27

seth
Member
Registered: 2012-09-03
Posts: 60,378

Re: Help needed with understanding dependencies for gtk3 package

"brand recognition" like "adwaita is the default gnome stuff"
https://gitlab.archlinux.org/archlinux/ … -/issues/6

Offline

#7 2024-05-29 10:27:03

Alfodr
Member
Registered: 2021-02-28
Posts: 8

Re: Help needed with understanding dependencies for gtk3 package

Thank you so much for filing it for me.
As for the comment about GIMP in it, I have tried running GIMP 2.10.38 with the fake package (no real adwaita icons installed), and it looked fine to me. All the menu and sub-menu items are shown, preferences work, and dialogs for "export/save as" "open" etc all used icons that are probably hicolor-icon-theme (which is hard dependency for GIMP)

Offline

#8 2024-05-29 15:21:58

seth
Member
Registered: 2012-09-03
Posts: 60,378

Re: Help needed with understanding dependencies for gtk3 package

It's a gtk bug and gimp works around it, https://gitlab.gnome.org/GNOME/gimp/-/i … te_1854981

Offline

Board footer

Powered by FluxBB