[Bug 275914] www/webkit2-gtk{3,4}: Flavorize: 4.0, 4.1 and 6.0 APIs

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Dec 2023 15:19:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914

            Bug ID: 275914
           Summary: www/webkit2-gtk{3,4}: Flavorize: 4.0, 4.1 and 6.0 APIs
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: eduardo@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.