Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899988 - net-libs/webkit-gtk: add use flags for USE_GTK4 and USE_SOUP2, to allow builds of www-client/nyxt
Summary: net-libs/webkit-gtk: add use flags for USE_GTK4 and USE_SOUP2, to allow build...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://github.com/atlas-engineer/nyx...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 07:39 UTC by gentoo
Modified: 2023-03-07 08:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2023-03-07 07:39:50 UTC
As described in this bug https://github.com/atlas-engineer/nyxt/issues/2743 nyxt no longer builds with webkit-gtk:5 - the current solution is to hard block :5, but as the comment describes, all that's needed is more fine-tuneable use flags.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2023-03-07 07:55:07 UTC
There are multiple slots to accommodate this, USE unfortunately wouldn't allow e.g. a package needing the gtk3 version and another needing the gtk4 version to coexist.

:4 is SOUP2=on + GTK4=off
:4.1 is SOUP2=off + GTK4=off
:5 is SOUP2=off + GTK4=on
Comment 2 Mart Raudsepp gentoo-dev 2023-03-07 08:06:47 UTC
If nyxt build system picks webkit-gtk-5.0 package while not working with it, then that's a nyxt build system issue to be fixed.
In particular, this is completely wrong:
https://github.com/atlas-engineer/nyxt/blob/master/libraries/web-extensions/Makefile#L4-L5
Comment 3 Mart Raudsepp gentoo-dev 2023-03-07 08:22:48 UTC
Combined with cl-webkit bindings, potentially some cl-gtk thing and so on, things look even more nuanced to get everything to actually use the same compatible packages. This is purely something for the lisp stack to figure out, we can't just go and hard block a SLOT that other packages need and providing a SOUP2+GTK4 wouldn't help any (and also is not and will not be a thing from webkit-gtk upstream) and I don't see that as even the actual symptom here.

Your original request isn't something we can provide, it's precisely what we provide via the SLOTs already, as upstream also provides parallel-installable libraries for each of the allowed combinations and that's where our SLOTs come from. A package mustn't just pick "any available API" when it isn't even compatible with all of them (which is not really a thing as you can't easily just make a package be compatible with both gtk3 and gtk4 at the same time anyways).
Comment 4 gentoo 2023-03-07 08:25:59 UTC
Understood, fair enough!