notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details
webkit2-gtk Opensource browser engine using the GTK 3 toolkit
2.46.6 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.46.6Version of this port present on the latest quarterly branch.
Maintainer: gnome@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-01-21 03:15:09
Last Update: 2025-05-04 12:36:57
Commit Hash: c467c74
License: GPLv2 BSD2CLAUSE
WWW:
https://webkitgtk.org/
Description:
WebKitGTK+ is a full-featured port of the WebKit rendering engine, suitable for projects requiring any kind of web integration, from hybrid HTML/CSS applications to full-fledged web browsers. It offers WebKit's full functionality and is useful in a wide range of systems from desktop computers to embedded systems like phones, tablets, and televisions. WebKitGTK+ is made by a lively community of developers and designers, who hope to bring the web platform to everyone. It's the official web engine of the GNOME platform and is used in browsers such as Epiphany and Midori.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • webkit2-gtk_60>0:www/webkit2-gtk
To install the port:
cd /usr/ports/www/webkit2-gtk/ && make install clean
To add the package, run one of these commands:
  • pkg install www/webkit2-gtk
  • pkg install webkit2-gtk_60
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: webkit2-gtk_60
Package flavors (<flavor>: <package>)
  • 60: webkit2-gtk_60
  • 41: webkit2-gtk_41
  • 40: webkit2-gtk_40
distinfo:
TIMESTAMP = 1741222652 SHA256 (gnome/webkitgtk-2.46.6.tar.xz) = f2b31de693220ba9bab76ce6ddfe5b0bfab2515cb2b0a70f3c54d4050766c32b SIZE (gnome/webkitgtk-2.46.6.tar.xz) = 42914744

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rubygem-getoptlong>0 : devel/rubygem-getoptlong
  2. py311-gi-docgen>0 : textproc/py-gi-docgen@py311
  3. geoclue>=2.4.3 : net/geoclue
  4. wayland-protocols>=1.12 : graphics/wayland-protocols
  5. bison : devel/bison
  6. cmake : devel/cmake-core
  7. ninja : devel/ninja
  8. gettext-runtime>=0.22_1 : devel/gettext-runtime
  9. msgfmt : devel/gettext-tools
  10. g-ir-scanner : devel/gobject-introspection
  11. gperf : devel/gperf
  12. pkgconf>=1.3.0_1 : devel/pkgconf
  13. python3.11 : lang/python311
  14. ruby32 : lang/ruby32
  15. gstreamer1-plugins-bad>=1.26.1 : multimedia/gstreamer1-plugins-bad
  16. gstreamer1-plugins-gl>=1.26.1 : graphics/gstreamer1-plugins-gl
  17. gstreamer1-plugins>=1.26.1 : multimedia/gstreamer1-plugins
  18. xorgproto>=0 : x11/xorgproto
  19. x11.pc : x11/libX11
  20. perl5>=5.36<5.37 : lang/perl5.36
Runtime dependencies:
  1. geoclue>=2.4.3 : net/geoclue
  2. gstreamer1-plugins-bad>=1.26.1 : multimedia/gstreamer1-plugins-bad
  3. gstreamer1-plugins-gl>=1.26.1 : graphics/gstreamer1-plugins-gl
  4. gstreamer1-plugins>=1.26.1 : multimedia/gstreamer1-plugins
  5. x11.pc : x11/libX11
Library dependencies:
  1. libavif.so : graphics/libavif
  2. libdrm.so : graphics/libdrm
  3. libenchant-2.so : textproc/enchant2
  4. libepoxy.so : graphics/libepoxy
  5. libfontconfig.so : x11-fonts/fontconfig
  6. libfreetype.so : print/freetype2
  7. libgcrypt.so : security/libgcrypt
  8. libgraphene-1.0.so : graphics/graphene
  9. libgpg-error.so : security/libgpg-error
  10. libharfbuzz-icu.so : print/harfbuzz-icu
  11. libharfbuzz.so : print/harfbuzz
  12. libhyphen.so : textproc/hyphen
  13. libicudata.so : devel/icu
  14. libjxl.so : graphics/libjxl
  15. liblcms2.so : graphics/lcms2
  16. libpng.so : graphics/png
  17. libsecret-1.so : security/libsecret
  18. libsysinfo.so : devel/libsysinfo
  19. libtasn1.so : security/libtasn1
  20. libwebp.so : graphics/webp
  21. libwoff2dec.so : devel/woff2
  22. libsoup-3.0.so : devel/libsoup3
  23. libwayland-egl.so : graphics/wayland
  24. libintl.so : devel/gettext-runtime
  25. libEGL.so : graphics/libglvnd
  26. libgbm.so : graphics/mesa-libs
  27. libGL.so : graphics/libglvnd
  28. libGLESv2.so : graphics/libglvnd
  29. libatk-1.0.so : accessibility/at-spi2-core
  30. libcairo.so : graphics/cairo
  31. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  32. libglib-2.0.so : devel/glib20
  33. libintl.so : devel/gettext-runtime
  34. libgtk-4.so : x11-toolkits/gtk40
  35. libxml2.so : textproc/libxml2
  36. libxslt.so : textproc/libxslt
  37. libharfbuzz.so : print/harfbuzz
  38. libpango-1.0.so : x11-toolkits/pango
  39. libjpeg.so : graphics/jpeg-turbo
  40. libsqlite3.so : databases/sqlite3
  41. libgstreamer-1.0.so : multimedia/gstreamer1
Patch dependencies:
  1. ruby32 : lang/ruby32
Extract dependencies:
  1. ruby32 : lang/ruby32
This port is required by:
for Build
  1. finance/favagtk
for Libraries
  1. audio/gsequencer
  2. cad/PrusaSlicer
  3. databases/evolution-data-server
  4. deskutils/bijiben
  5. deskutils/bookworm
  6. deskutils/foliate
  7. deskutils/gnome-initial-setup
Expand this list (49 items / 42 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. deskutils/gnotime
  3. deskutils/meteo
  4. deskutils/rednotebook
  5. deskutils/showdown
  6. devel/devhelp
  7. devel/geany-plugin-markdown
  8. devel/glade
  9. devel/juce
  10. devel/juce706
  11. editors/marker
  12. editors/quilter
  13. editors/setzer
  14. finance/gnucash
  15. graphics/atril
  16. graphics/atril-lite
  17. graphics/birdfont
  18. graphics/gthumb
  19. graphics/pdfpc
  20. mail/astroid
  21. mail/balsa
  22. mail/evolution
  23. mail/evolution-ews
  24. mail/geary
  25. math/qalculate-gtk
  26. misc/xiphos
  27. net/freerdp3
  28. net/liferea
  29. net/remmina
  30. www/badwolf
  31. www/deforaos-surfer
  32. www/epiphany
  33. www/luakit
  34. www/luakit-devel
  35. www/midori
  36. www/nyxt
  37. www/py-pywebview-gtk
  38. www/py-pywry
  39. www/surf
  40. www/vimb
  41. x11/yelp
  42. x11-toolkits/wxgtk30
  43. x11-toolkits/wxgtk32
  44. Collapse this list.
for Run
  1. java/eclipse
  2. www/eolie
  3. x11/ulauncher

Configuration Options:
===> The following configuration options are available for webkit2-gtk_60-2.46.6: DOCS=on: Build and/or install documentation GEOIP=on: GeoIP IP location support GSTREAMER=on: Multimedia support via GStreamer WAYLAND=on: Wayland (graphics) support ===> Use 'make config' to modify these settings
Options name:
www_webkit2-gtk
USES:
bison cmake compiler:c++23-lang cpe gettext gl gnome gperf jpeg localbase:ldflags perl5 pkgconfig python:build ruby:build sqlite tar:xz xorg gstreamer
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://webkitgtk.org/releases/
Collapse this list.

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.46.6
04 May 2025 12:36:57
commit hash: c467c7498ddfffae7e0da59dbbfc716afb697258commit hash: c467c7498ddfffae7e0da59dbbfc716afb697258commit hash: c467c7498ddfffae7e0da59dbbfc716afb697258commit hash: c467c7498ddfffae7e0da59dbbfc716afb697258 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
www/webkit2-gtk: properly expose roundeven{,f} on 32-bit platforms

The preprocessor guard only accounts for Linux without glibc, but
we don't have these C23 functions yet either.

Reported and tested by: fuz, makc, dinoex
Differential Revision: https://reviews.freebsd.org/D50138
2.46.6
24 Apr 2025 13:08:39
commit hash: 4c9f1b2bb8537b1ba6127c9e405fddfecd3f2d08commit hash: 4c9f1b2bb8537b1ba6127c9e405fddfecd3f2d08commit hash: 4c9f1b2bb8537b1ba6127c9e405fddfecd3f2d08commit hash: 4c9f1b2bb8537b1ba6127c9e405fddfecd3f2d08 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
www/webkit2-gtk: fix configure with ruby 3.4

Add getoptlong unconditionally to BUILD_DEPENDS

/usr/local/lib/ruby/3.4/did_you_mean/core_ext/name_error.rb:11: warning:
getoptlong is not part of the default gems starting from Ruby 3.4.0. Install
getoptlong from RubyGems.
<internal:/usr/local/lib/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in
'Kernel#require': cannot load such file -- getoptlong (LoadError)
	from
<internal:/usr/local/lib/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in
'Kernel#require'
	from
/wrkdirs/usr/ports/www/webkit2-gtk/work-60/.build/WTF/Scripts/generate-unified-source-bundles.rb:27:in
'<main>'
CMake Error at Source/cmake/WebKitMacros.cmake:30 (message):
  generate-unified-source-bundles.rb exited with non-zero status, exiting
2.46.6
17 Mar 2025 04:02:08
commit hash: e87d8134a3460dff28f0c469fff83a187e9820bccommit hash: e87d8134a3460dff28f0c469fff83a187e9820bccommit hash: e87d8134a3460dff28f0c469fff83a187e9820bccommit hash: e87d8134a3460dff28f0c469fff83a187e9820bc files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move

The GTK 1-based gdk-pixbuf has not existed for some time.

No functional or package changes.
2.46.6
06 Mar 2025 19:09:23
commit hash: a728ba8a00f44557c8c6ca954a0d010d2f9c09f6commit hash: a728ba8a00f44557c8c6ca954a0d010d2f9c09f6commit hash: a728ba8a00f44557c8c6ca954a0d010d2f9c09f6commit hash: a728ba8a00f44557c8c6ca954a0d010d2f9c09f6 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
www/webkit2-gtk: update to 2.46.6

Release notes: https://webkitgtk.org/2025/02/07/webkitgtk2.46.6-released.html
2.46.5_3
18 Feb 2025 14:16:20
commit hash: fce678edc3a0a1c89e90285626e6399a9a8a2499commit hash: fce678edc3a0a1c89e90285626e6399a9a8a2499commit hash: fce678edc3a0a1c89e90285626e6399a9a8a2499commit hash: fce678edc3a0a1c89e90285626e6399a9a8a2499 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
www/webkit2-gtk: fix build on aarch64

Add some missing arch-specific bits.

Approved by:	portmgr (build fix blanket)
2.46.5_3
14 Feb 2025 23:12:32
commit hash: ff33dd4700e81bd57df259a0fe29ed5fdddf2653commit hash: ff33dd4700e81bd57df259a0fe29ed5fdddf2653commit hash: ff33dd4700e81bd57df259a0fe29ed5fdddf2653commit hash: ff33dd4700e81bd57df259a0fe29ed5fdddf2653 files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
*/*: Bump consumers of devel/icu

...to avoid library mismatches
2.46.5_2
01 Feb 2025 01:58:37
commit hash: 1eeaaa8e063450d0eb8f08df33a6ba338c348825commit hash: 1eeaaa8e063450d0eb8f08df33a6ba338c348825commit hash: 1eeaaa8e063450d0eb8f08df33a6ba338c348825commit hash: 1eeaaa8e063450d0eb8f08df33a6ba338c348825 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
www/webkit2-gtk: remove byteRangeSample from PlatformSample

The presence of this union member causes the build to fail with our
libc++ because version 1 ABI's std::pair does not have a trivial
copy constructor (see D35327). However this code is only used for
a deprecated plugin only for macOS, and it along with supporting
code like this have been removed in the main branch upstream, so
this should hold in the upcoming 2.48 series. For now, only remove
byteRangeSample as the complete upstream commit does not apply.

This allows the port to return to using the base system toolchain,
including libc++, fixing crashes from mangling libc++-built
dependencies with libstdc++ webkitgtk. While here, remove some
unused USE_X11 depends to save another PORTREVISION bump.

Reference:
https://github.com/WebKit/WebKit/commit/d0527fca8fc20cdda907dfdc293323d7283bd262
PR: 284378
Reported by: huanghwh[at]gmail[dot]com
Tested by: eduardo, shamaz.mazum[at]gmail[dot]com (previous iterations)
2.46.5_1
21 Jan 2025 13:46:52
commit hash: 3c6dc755c4b773724104e19101926efa0512fda9commit hash: 3c6dc755c4b773724104e19101926efa0512fda9commit hash: 3c6dc755c4b773724104e19101926efa0512fda9commit hash: 3c6dc755c4b773724104e19101926efa0512fda9 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
www/webkit2-gtk: remove no longer needed WPE dependencies since 2.44

Reported by: shamaz.mazum[at]gmail[dot]com
PR: 275914
2.46.5
21 Jan 2025 03:12:19
commit hash: 94310012886105252763e218ec45dfccf778e55ecommit hash: 94310012886105252763e218ec45dfccf778e55ecommit hash: 94310012886105252763e218ec45dfccf778e55ecommit hash: 94310012886105252763e218ec45dfccf778e55e files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
www/webkit2-gtk: update to 2.46.5

Changelog:
https://github.com/WebKit/WebKit/blob/webkitgtk-2.46.5/Source/WebKit/gtk/NEWS

Now consolidated into one port with flavours since the codebase is
the same, just linked with different libraries resulting in different
SONAMEs and APIs. SONAMEs/flavours:

* GTK3 + libsoup = libwebkit2gtk-4.0 (40)
* GTK3 + libsoup3 = libwebkit2gtk-4.1 (41)
* GTK4 + libsoup3 = libwebkitgtk-6.0 (60)

Despite upstream's recommendation to use clang for better skia
optimisation, this port now USE_GCC due to extensive std::pair copy
constructor use that is not trivial to continue patching to stay
working with our libc++ version 1 ABI. See review D35327 for some
details.

Reported by: eduardo
PR: 275914
Differential Revision: https://reviews.freebsd.org/D45878

Number of commits found: 9