maintainer-feedback requested: [Bug 275914] www/webkit2-gtk{3,4}: Flavorize: 4.0, 4.1 and 6.0 APIs
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275914] www/webkit2-gtk{3,4}: Flavorize: 4.0, 4.1 and 6.0 APIs"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Dec 2023 15:19:30 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 275914: www/webkit2-gtk{3,4}: Flavorize: 4.0, 4.1 and 6.0 APIs
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
--- Description ---
I'm new to this port and I'm looking for a roadmap to update it.
At the moment:
-gtk3 is using 4.0 API
-gtk4 is using 5.0 API
- Flavorize dealing with 4.0, 4.1 and 6.0 APIs
Inspired in OpenBSD port 2.42.4
### www/webkitgtk4/Makefile
###
FLAVORS = webkitgtk41 webkitgtk60
FLAVOR ?=
.if ${FLAVOR:Mwebkitgtk41}
API = 4.1
WANTLIB += atk-1.0 gdk-3 gtk-3 soup-3.0
LIB_DEPENDS += devel/libsoup3 \
x11/gtk+3
CONFIGURE_ARGS += -DUSE_SOUP2=OFF \
-DENABLE_WEBDRIVER=OFF
.elif ${FLAVOR:Mwebkitgtk60}
API = 6.0
WANTLIB += graphene-1.0 gtk-4 soup-3.0
LIB_DEPENDS += devel/libsoup3 \
x11/gtk+4
CONFIGURE_ARGS += -DUSE_SOUP2=OFF \
-DUSE_GTK4=ON
.else
API = 4.0
WANTLIB += atk-1.0 gdk-3 gtk-3 soup-2.4
LIB_DEPENDS += devel/libsoup \
x11/gtk+3
CONFIGURE_ARGS += -DUSE_SOUP2=ON \
-DENABLE_WEBDRIVER=OFF
.endif
###
My first question is:
Why isn't 5.0 included in OpenBSD port?
Does 5.0 was superceded by 6.0?
Looking at this flavors, old and new software can pick API needed to work.
Thoughts are welcome.