head	1.10;
access;
symbols
	pkgsrc-2026Q3:1.6.0.2
	pkgsrc-2026Q3-base:1.6;
locks; strict;
comment	@# @;


1.10
date	2026.10.03.11.29.57;	author wiz;	state Exp;
branches;
next	1.9;
commitid	zE5fWVsgyq8Lv1YG;

1.9
date	2026.09.28.12.57.05;	author gdt;	state Exp;
branches;
next	1.8;
commitid	fCsD3GlTkw5J9oXG;

1.8
date	2026.09.28.08.02.32;	author wiz;	state Exp;
branches;
next	1.7;
commitid	LD4pv9H2CUIuwmXG;

1.7
date	2026.09.22.12.27.02;	author wiz;	state Exp;
branches;
next	1.6;
commitid	HjjmzcByixSfbCWG;

1.6
date	2026.09.13.00.34.24;	author gdt;	state Exp;
branches;
next	1.5;
commitid	8glVgUIYmRkQwoVG;

1.5
date	2026.09.12.12.24.19;	author gdt;	state Exp;
branches;
next	1.4;
commitid	zdPCaHxLE5lnukVG;

1.4
date	2026.09.11.10.43.07;	author gdt;	state Exp;
branches;
next	1.3;
commitid	mIZQdxB0ykPEXbVG;

1.3
date	2026.09.04.16.05.35;	author tnn;	state Exp;
branches;
next	1.2;
commitid	Zd09pg8646o8YjUG;

1.2
date	2026.08.31.09.44.25;	author wiz;	state Exp;
branches;
next	1.1;
commitid	s6x9C0bUpSl4ZLTG;

1.1
date	2026.08.30.14.25.04;	author wiz;	state Exp;
branches;
next	;
commitid	JBc39jPIQAWHzFTG;


desc
@@


1.10
log
@webkit-gtk*: update to 2.54.1

  - Allow pasting in-memory image data from clipboard.
  - Add User-Agent quirk for Amazon Luna.
  - Align the filter surface with the device pixel grid.
  - Fix rendering of scaled or transformed no-repeat background images.
  - Fix rendering of preserve-3d layers when a layer crosses the camera plane.
  - Fix SkiaCompositingLayer filter rendering under transforms.
  - Do not rasterize the part of a tile that the clip drops.
  - Skip non-composited frames when damage is empty.
  - Fix text deleted by input method delete-surrounding in contenteditable.
  - Fix several crashes and rendering issues.
@
text
@# $NetBSD: Makefile.common,v 1.9 2026/09/28 12:57:05 gdt Exp $
# used by www/webkit-gtk41/Makefile
# used by www/webkit-gtk60/Makefile

DISTNAME=	webkitgtk-2.54.1
CATEGORIES=	www
MASTER_SITES=	https://www.webkitgtk.org/releases/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.webkitgtk.org/
LICENSE=	2-clause-bsd AND gnu-lgpl-v2

PATCHDIR=	${.CURDIR}/../../www/webkit-gtk41/patches
DISTINFO_FILE=	${.CURDIR}/../../www/webkit-gtk41/distinfo

TOOL_DEPENDS+=	gettext-tools>=0.18:../../devel/gettext-tools
TOOL_DEPENDS+=	glib2-introspection-[0-9]*:../../devel/glib2-introspection
# uses 'unifdef -x1'
TOOL_DEPENDS+=	unifdef-[0-9]*:../../devel/unifdef
TOOL_DEPENDS+=	${PYPKGPREFIX}-gi-docgen-[0-9]*:../../devel/py-gi-docgen

USE_LANGUAGES=		c c++
USE_CXX_FEATURES=	c++23
# Upstream specifically requires gcc>=13, but the compiler framework
# requires >=14 for c++23, so that is omitted.
# https://github.com/WebKit/WebKit/pull/67753/changes/1fec4985d1794c782ff12e2aefc088b76023ba16
USE_TOOLS+=		automake bash bison flex gdbus-codegen gmake perl pkg-config msgfmt

# Avoid million warnings
CFLAGS+=		-Wno-unused-parameter -Wno-undef
CXXFLAGS+=		-Wno-unused-parameter -Wno-undef -Wno-narrowing

# g-ir-scanner dumps core with full RELRO
RELRO_SUPPORTED=	partial

# Enabling -gdwarf-2 hits GNU ar limits on file size.
CTF_SUPPORTED=	no

.include "../../mk/bsd.prefs.mk"

CMAKE_CONFIGURE_ARGS+=		-DPORT=GTK
CMAKE_CONFIGURE_ARGS+=		-DENABLE_X11_TARGET=ON
CMAKE_CONFIGURE_ARGS+=		-DENABLE_MINIBROWSER=ON
CMAKE_CONFIGURE_ARGS+=		-DENABLE_GAMEPAD=OFF
#CMAKE_CONFIGURE_ARGS+=		-DENABLE_GEOLOCATION=OFF
#CMAKE_CONFIGURE_ARGS+=		-DENABLE_INTROSPECTION=ON
CMAKE_CONFIGURE_ARGS+=		-DENABLE_JOURNALD_LOG=OFF
#CMAKE_CONFIGURE_ARGS+=		-DENABLE_BUBBLEWRAP_SANDBOX=OFF
#CMAKE_CONFIGURE_ARGS+=		-DENABLE_DOCUMENTATION=OFF
CMAKE_CONFIGURE_ARGS+=		-DUSE_SYSTEM_SYSPROF_CAPTURE=NO
CMAKE_CONFIGURE_ARGS+=		-DUSE_SYSPROF_CAPTURE=OFF
CMAKE_CONFIGURE_ARGS+=		-DUSE_GSTREAMER_GL=ON
#CMAKE_CONFIGURE_ARGS+=		-DUSE_LIBHYPHEN=OFF
#CMAKE_CONFIGURE_ARGS+=		-DUSE_OPENJPEG=OFF
CMAKE_CONFIGURE_ARGS+=		-DUSE_LIBBACKTRACE=OFF
.if ${OPSYS} == "Darwin"
CMAKE_CONFIGURE_ARGS+=		-DUSE_LIBDRM=OFF
.endif

CMAKE_GENERATORS_INCOMPATIBLE=	make

# required for faking a better user-agent
CMAKE_CONFIGURE_ARGS+=		-DUSER_AGENT_BRANDING="Linux ${MACHINE_ARCH}"

# From OpenBSD ports:
# we don't want an allocation of 1GB, it's above the "default" class ulimit
# see Source/JavaScriptCore/jit/ExecutableAllocator.cpp for default values
.if ${MACHINE_ARCH} == "x86_64"
CXXFLAGS+=		-DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=512
.endif
# see Source/JavaScriptCore/runtime/StructureID.h for default values
CXXFLAGS+=		-DSTRUCTURE_HEAP_ADDRESS_SIZE_IN_MB=256

# For backtrace
LDFLAGS.NetBSD+=	-lexecinfo

PKGCONFIG_OVERRIDE+=	Source/JavaScriptCore/javascriptcoreglib.pc.in
PKGCONFIG_OVERRIDE+=	Source/JavaScriptCore/javascriptcoregtk.pc.in
PKGCONFIG_OVERRIDE+=	Source/WebKit/WPEPlatform/wpe-platform-uninstalled.pc.in
PKGCONFIG_OVERRIDE+=	Source/WebKit/WPEPlatform/wpe-platform.pc.in
PKGCONFIG_OVERRIDE+=	Source/WebKit/gtk/webkitgtk-web-process-extension.pc.in
PKGCONFIG_OVERRIDE+=	Source/WebKit/gtk/webkitgtk.pc.in

REPLACE_PERL+=		Source/JavaScriptCore/Scripts/*.pl
REPLACE_PERL+=		Source/JavaScriptCore/create_hash_table
REPLACE_PERL+=		Source/WebCore/Scripts/*.pl
REPLACE_PERL+=		Source/WebCore/bindings/scripts/*.pl
REPLACE_PERL+=		Source/WebCore/bindings/scripts/*.pm
REPLACE_PERL+=		Source/WebCore/css/*.pl
REPLACE_PERL+=		Source/WebCore/dom/*.pl
REPLACE_PERL+=		Source/WebCore/make-hash-tools.pl
REPLACE_PERL+=		Source/WebInspectorUI/Scripts/*.pl
REPLACE_PERL+=		Source/WebKit/Scripts/*.pl

REPLACE_PYTHON+=	Source/JavaScriptCore/Scripts/*.py
REPLACE_PYTHON+=	Source/JavaScriptCore/Scripts/wkbuiltins/*.py
REPLACE_PYTHON+=	Source/JavaScriptCore/inspector/scripts/*.py
REPLACE_PYTHON+=	Source/JavaScriptCore/inspector/scripts/codegen/*.py
REPLACE_PYTHON+=	Source/JavaScriptCore/wasm/*.py
REPLACE_PYTHON+=	Source/JavaScriptCore/yarr/*.py
REPLACE_PYTHON+=	Source/JavaScriptCore/yarr/create_regex_tables
REPLACE_PYTHON+=	Source/JavaScriptCore/yarr/generateYarrCanonicalizeUnicode
REPLACE_PYTHON+=	Source/ThirdParty/ANGLE/src/compiler/translator/*.py
REPLACE_PYTHON+=	Source/ThirdParty/ANGLE/src/libANGLE/*.py
REPLACE_PYTHON+=	Source/ThirdParty/gtest/test/*.py
REPLACE_PYTHON+=	Source/WebCore/html/parser/create-html-entity-table
REPLACE_PYTHON+=	Source/WebCore/platform/network/create-http-header-name-table
REPLACE_PYTHON+=	Source/WebKit/Scripts/*.py
REPLACE_PYTHON+=	Tools/glib/*.py

REPLACE_BASH+=		Source/JavaScriptCore/postprocess-headers.sh
REPLACE_BASH+=		Source/ThirdParty/ANGLE/adjust-angle-include-paths-rule
REPLACE_BASH+=		Source/ThirdParty/gtest/xcode/Samples/FrameworkSample/runtests.sh
REPLACE_BASH+=		Source/ThirdParty/gtest/xcode/Scripts/runtests.sh
REPLACE_BASH+=		Source/WebKit/Scripts/copy-webcontent-resources-to-private-headers.sh
REPLACE_BASH+=		Source/WebKit/Scripts/process-entitlements.sh
REPLACE_BASH+=		Tools/gtk/install-dependencies

REPLACE_RUBY+=		Source/JavaScriptCore/Scripts/postprocess-asm
REPLACE_RUBY+=		Source/JavaScriptCore/Scripts/resolve-asm-file-conflicts.rb
REPLACE_RUBY+=		Source/JavaScriptCore/b3/air/*.rb
REPLACE_RUBY+=		Source/JavaScriptCore/offlineasm/*.rb
REPLACE_RUBY+=		Source/WTF/Scripts/GeneratePreferences.rb
REPLACE_RUBY+=		Source/WebCore/Scripts/GenerateSettings.rb
REPLACE_RUBY+=		Source/WebCore/domjit/*.rb
REPLACE_RUBY+=		Source/WebInspectorUI/Scripts/*.rb
REPLACE_RUBY+=		Source/bmalloc/libpas/export.rb

SUBST_CLASSES+=		python
SUBST_FILES.python+=	Source/JavaScriptCore/Scripts/generate-unified-sources.sh
SUBST_FILES.python+=	Source/WebCore/Scripts/generate-unified-sources.sh
SUBST_FILES.python+=	Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
SUBST_FILES.python+=	Source/WebKit/Scripts/generate-unified-sources.sh
SUBST_FILES.python+=	Tools/TestWebKitAPI/Scripts/generate-unified-sources.sh
SUBST_SED.python+=	-e 's,python3,${PYTHONBIN},'
SUBST_STAGE.python=	pre-configure
SUBST_MESSAGE.python=	Fixing path to python binary.

SUBST_CLASSES+=		ruby
SUBST_FILES.ruby+=	Source/bmalloc/libpas/scripts/tally_verifier_output
SUBST_SED.ruby+=	-e 's,env ruby,env ${RUBY},'
SUBST_STAGE.ruby=	pre-configure
SUBST_MESSAGE.ruby=	Fixing path to ruby binary.

.include "../../lang/ruby/rubyversion.mk"
.include "../../lang/ruby/replace.mk"
TOOL_DEPENDS+=	${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
CMAKE_CONFIGURE_ARGS+=	-DRUBY_EXECUTABLE=${RUBY}

PYTHON_FOR_BUILD_ONLY=	yes
.include "../../lang/python/application.mk"
CMAKE_CONFIGURE_ARGS+=	-DPYTHON_EXECUTABLE=${PYTHONBIN}

CXXFLAGS.SunOS+=	-fpermissive

# TODO: fix shell portability issues in these files
CHECK_PORTABILITY_SKIP+=	Source/JavaScriptCore/Scripts/check-xcfilelists.sh
CHECK_PORTABILITY_SKIP+=	Source/JavaScriptCore/Scripts/create-symlink-to-altroot.sh
CHECK_PORTABILITY_SKIP+=	Source/JavaScriptCore/Scripts/create-symlink-to-cryptex.sh
CHECK_PORTABILITY_SKIP+=	Source/JavaScriptCore/Scripts/generate-unified-sources.sh
CHECK_PORTABILITY_SKIP+=	Source/WTF/Scripts/audit-spi-if-needed.sh
CHECK_PORTABILITY_SKIP+=	Source/WebCore/Scripts/check-xcfilelists.sh
CHECK_PORTABILITY_SKIP+=	Source/WebCore/Scripts/create-symlink-to-altroot.sh
CHECK_PORTABILITY_SKIP+=	Source/WebCore/Scripts/create-symlink-to-cryptex.sh
CHECK_PORTABILITY_SKIP+=	Source/WebCore/Scripts/generate-unified-sources.sh
CHECK_PORTABILITY_SKIP+=	Source/WebGPU/Scripts/create-symlink-to-cryptex.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/check-xcfilelists.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/compile-sandbox.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/create-symlink-to-altroot.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/create-symlink-to-cryptex.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/copy-binary-plists.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/copy-launchd-plist-and-create-symlink.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/generate-feature-flags-plist.sh
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/generate-swift-availability-macros
CHECK_PORTABILITY_SKIP+=	Source/WebKit/Scripts/generate-unified-sources.sh
CHECK_PORTABILITY_SKIP+=	Tools/TestWebKitAPI/Scripts/check-xcfilelists.sh
CHECK_PORTABILITY_SKIP+=	Tools/TestWebKitAPI/Scripts/generate-unified-sources.sh

.include "options.mk"

# geoclue2
#.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../audio/flite/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/cmake/build.mk"
# when gettext-lib is installed, it links against it,
# so force dependency on it.
PREFER.gettext=	pkgsrc
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/gperf/buildlink3.mk"
.if ${PKGSRC_COMPILER:Mgcc}
.include "../../devel/libatomic/buildlink3.mk"
.endif
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/harfbuzz-icu/buildlink3.mk"
.include "../../fonts/woff2/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.include "../../graphics/graphene/buildlink3.mk"
.include "../../graphics/gst-plugins1-gl/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/libavif/buildlink3.mk"
.include "../../graphics/libjxl/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
BUILDLINK_API_DEPENDS.MesaLib+=	MesaLib>=21
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
# SkJpegCodec.cpp:210:58: error: 'JCS_RGB565' was not declared in this scope; did you mean 'JCS_RGB'?
JPEG_ACCEPTED=		libjpeg-turbo
.include "../../mk/jpeg.buildlink3.mk"
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../multimedia/gst-plugins1-good/buildlink3.mk"
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../multimedia/gst-plugins1-bad/buildlink3.mk"
.include "../../net/libsoup3/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../security/libgpg-error/buildlink3.mk"
.include "../../security/libsecret/buildlink3.mk"
.include "../../security/libtasn1/buildlink3.mk"
.include "../../textproc/enchant2/buildlink3.mk"
.include "../../textproc/hyphen/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
@


1.9
log
@www/webkit-gtk41: Needs c++23

Drop GCC_REQD+=13 as unnecessary when c++23 requires 14, but leave the
explanation because understanding upstream's plan is difficult.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.8 2026/09/28 08:02:32 wiz Exp $
d5 1
a5 1
DISTNAME=	webkitgtk-2.54.0
@


1.8
log
@webkit-gtk41: this needs Mesa>=21

for gbm_bo_get_fd_for_plane
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.7 2026/09/22 12:27:02 wiz Exp $
a22 1
USE_CXX_FEATURES=	c++17
d24 3
a27 1
GCC_REQD+=		13
@


1.7
log
@webkit-gtk41: update to 2.54.0.

  - Switch web process compositor to use Skia instead of TextureMapper.
  - Improved damage handling that is now also used during the composition to limit the composited areas.
  - Implement GPU atlas creation and replay substitution for batched raster image uploads.
  - Media capability reporting is more accurate.
  - Video decoding limits are now respected in media capabilities queries.
  - Add new improved API for page favicons.
  - Add magnification property to WebKitWebView to handle visual scaling.
  - Add new API to allow setting a per-navigation custom User-Agent to WebKitWebsitePolicies.
  - Remove the option to use cairo for 2D rendering.

Also tested by fox@@
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.6 2026/09/13 00:34:24 gdt Exp $
d208 2
@


1.6
log
@www/webkit-gtk41: Revert hack removal and disabling of ninja

At wiz@@ request.  This version, except for comments, matches r1.3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.5 2026/09/12 12:24:19 gdt Exp $
d5 1
a5 1
DISTNAME=	webkitgtk-2.52.6
d25 2
a26 1
GCC_REQD+=		11
a28 3
# this doesn't seem to be using the pkg-config file, which would add this
CXXFLAGS+=	-I${PREFIX}/include/gstreamer-1.0

d60 1
a60 45
# This setting was used in the past because libsqlite3.so was not
# found by configure.  As of 2026-09, without it, cmake/ninja finds
# and uses the path to the bl3 tree.  With it, cmake/ninja puts
# "$prefix/lib/libsqlite3.so" in NEEDED.  Without it, cmake/make works
# fine.
# 20260913: Left enabled at request of wiz@@.
CMAKE_CONFIGURE_ARGS+=		-DSQLite3_LIBRARY=${BUILDLINK_PREFIX.sqlite3}/lib/libsqlite3.so

# When building:
#   - on NetBSD 10 amd64
#   - with CMAKE_GENERATOR=ninja
#   - and perhaps some other conditions (which are not generally
#     troublesome)
# somehow, linking of libsqlite3.so into libwebkit2gtk-4.1.so ends up
# with a bad path.  There is a PKG_DEVELOPER check that finds (with
# and without the above setting):
#   => Checking for missing run-time search paths in webkit-gtk41-2.52.6nb2
#   ERROR: lib/libwebkit2gtk-4.1.so.0.21.10: missing library: /usr/pkg/lib/libsqlite3.so
#
#   => Checking for missing run-time search paths in webkit-gtk41-2.52.6nb2
#   ERROR: lib/libwebkit2gtk-4.1.so.0.21.10: missing library: /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so
#   *** Error code 1
#
# One can inspect the library in the destdir, with and without the
# above setting:
#   $ ldd work/.destdir/usr/pkg/lib/libwebkit2gtk-4.1.so.0.21.10|egrep sqli
#        /usr/pkg/lib/libsqlite3.so => /usr/pkg/lib/libsqlite3.so
#
#   $ ldd work/.destdir/usr/pkg/lib/libwebkit2gtk-4.1.so.0.21.10|egrep sqli
#        /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so => /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so
#
# And with objdump instead of ldd, with the setting:
#   $ objdump -x work/.destdir/usr/pkg/lib/libwebkit2gtk-4.1.so.0.21.10 | egrep 'RPATH|NEEDED'
#     [many other NEEDED snipped]
#     NEEDED               libicuuc.so.78
#     NEEDED               libxml2.so.16
#     NEEDED               /usr/pkg/lib/libsqlite3.so
#     NEEDED               libxslt.so.1
#     NEEDED               libz.so.1
#     RPATH                /usr/pkg/gcc12/x86_64--netbsd/lib/.:/usr/pkg/gcc12/lib/gcc/x86_64--netbsd/12.5.0:/usr/pkg/lib:/usr/X11R7/lib

# Therefore, to avoid not-understood bugs when using ninja, just
# don't.
# Commented out at request of wiz@@
#CMAKE_GENERATORS_INCOMPATIBLE=	ninja
d130 2
d133 3
a135 1
SUBST_SED.python+=	-e 's,"python3","${PYTHONBIN}",'
a140 4
SUBST_FILES.ruby+=	Tools/TestWebKitAPI/Scripts/generate-unified-sources.sh
SUBST_FILES.ruby+=	Source/JavaScriptCore/Scripts/generate-unified-sources.sh
SUBST_FILES.ruby+=	Source/WebCore/Scripts/generate-unified-sources.sh
SUBST_FILES.ruby+=	Source/WebKit/Scripts/generate-unified-sources.sh
a199 1
.include "../../graphics/cairo/buildlink3.mk"
d215 1
@


1.5
log
@www/webkit-gtk41: Document experiments; say no to ninja

This commit:
  - drops the previous setting to force sqlite3 library path
  - sets CMAKE_GENERATORS_INCOMPATIBLE to ninja

When building with ninja (not default, but many do), the NEEDED entry
in the webkit library is broken, differently depending on if the
sqlite3 library path is forced or not.   The commit adds excruciating
comments documenting this on NetBSD 10 amd64.

(It would be great if someone found and fixed the bug, but for now,
just roll with "ninja building this package doesn't work".)

Note that when not building with PKG_DEVELOPER, the resulting
problems, which might or might not be fatal at runtime, are not
detected.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.4 2026/09/11 10:43:07 gdt Exp $
d67 2
a68 1
#CMAKE_CONFIGURE_ARGS+=		-DSQLite3_LIBRARY=${BUILDLINK_PREFIX.sqlite3}/lib/libsqlite3.so
d105 2
a106 1
CMAKE_GENERATORS_INCOMPATIBLE=	ninja
@


1.4
log
@www/webkit-gtk41: Revise comment about finding sqlite3

This is a comment-only change.

Somehow, cmake finds libraries in the buildlink path instead of the
real path.  For most of them, the -L/rpath stuff ends up correct in
the built library.  For sqlite3, for me on NetBSD 10 amd64 building
normally (not bulk), the buildlink path ends up in the final library.
Explain the problem better.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.3 2026/09/04 16:05:35 tnn Exp $
d61 28
a88 4
# Upstream cmake somehow finds the full path to sqlite3 in the
# buildlink3 dir and that ends up in the library, at least in some
# build environments.  This argument setting does not appear to work
# in all situations.
d90 15
a104 2
#   /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so => /tmp/work/www/webkit-gtk41/work/.buildlink/lib/libsqlite3.so
CMAKE_CONFIGURE_ARGS+=		-DSQLite3_LIBRARY=${BUILDLINK_PREFIX.sqlite3}/lib/libsqlite3.so
@


1.3
log
@webkit-gtk41: add some new CHECK_PORTABILITY_SKIPs
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.2 2026/08/31 09:44:25 wiz Exp $
d61 6
a66 1
# otherwise, libsqlite3.so from ${BUILDLINK_DIR} is hardcoded into some binaries
@


1.2
log
@webkit-gtk*: force gettext-lib from pkgsrc

pkgsrc libintl is installed during the build, and the pkgsrc
version is preferred when linking, leading to missing library
errors when pkg_add(1)ing.

Force gettext-lib from pkgsrc to avoid this.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.1 2026/08/30 14:25:04 wiz Exp $
d161 1
d163 1
d166 1
d168 1
d170 1
d172 3
d176 1
@


1.1
log
@www/webkit-gtk41: import webkit-gtk41-2.52.6

WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by
Safari, Dashboard, Mail, and many other OS X applications. WebKit's HTML
and JavaScript code began as a branch of the KHTML and KJS libraries
from KDE.

This is the GTK3 port of the engine, API version 4.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.240 2022/11/23 16:19:06 adam Exp $
d179 3
@

