Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2023 15:19:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 275914] www/webkit2-gtk{3,4}: Flavorize: 4.0, 4.1 and 6.0 APIs
Message-ID:  <bug-275914-39348-UwcWrFynIv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275914-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275914-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D275914



--- 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=20

- Flavorize dealing with 4.0, 4.1 and 6.0 APIs
  Inspired in OpenBSD port 2.42.4

### www/webkitgtk4/Makefile
###=20
FLAVORS =3D		webkitgtk41 webkitgtk60
FLAVOR ?=3D

.if ${FLAVOR:Mwebkitgtk41}
API =3D			4.1
WANTLIB +=3D atk-1.0 gdk-3 gtk-3 soup-3.0
LIB_DEPENDS +=3D		devel/libsoup3 \
			x11/gtk+3
CONFIGURE_ARGS +=3D	-DUSE_SOUP2=3DOFF \
			-DENABLE_WEBDRIVER=3DOFF
.elif ${FLAVOR:Mwebkitgtk60}
API =3D			6.0
WANTLIB +=3D graphene-1.0 gtk-4 soup-3.0
LIB_DEPENDS +=3D		devel/libsoup3 \
			x11/gtk+4
CONFIGURE_ARGS +=3D	-DUSE_SOUP2=3DOFF \
			-DUSE_GTK4=3DON
.else
API =3D			4.0
WANTLIB +=3D atk-1.0 gdk-3 gtk-3 soup-2.4
LIB_DEPENDS +=3D		devel/libsoup \
			x11/gtk+3
CONFIGURE_ARGS +=3D	-DUSE_SOUP2=3DON \
			-DENABLE_WEBDRIVER=3DOFF
.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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275914-39348-UwcWrFynIv>