# webkit2gtk3/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This Laclin package builds the following "pkgconfig"-level pack- ages: * javascriptcoregtk-4.0.pc * webkit2gtk-4.0.pc * webkit2gtk-web-extension-4.0.pc Related parameters: * builds webkit API 4 (the "4.0" part of the ".pc" names) * builds webkit2 and not webkit1 * builds against gtk3 #--------------------------------------------------------------------- 2. This package probably needs "ruby30" now, to build, as opposed to "ruby24". #--------------------------------------------------------------------- 3. Updates often break this package and should therefore be approached with caution. 2.20.2, for example, was broken. Attempts to find a patch failed. 2.20.3 apparently fixed the problem. It was the same with 2.22.0 and 2.22.2. #--------------------------------------------------------------------- 4. "libproxy" (a separate library) should be patched to disable its use of "webkit*" or "libsoup" (which uses "libproxy") may end up with a circular dependency on "webkit*". #--------------------------------------------------------------------- [buildtimes] 00.86 hours (or 051.40 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 01.76 hours (or 105.58 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM 02.17 hours (or 130.28 minutes) - ThinkPad W530 i7 4x2 32GB RAM 02.47 hours (or 147.98 minutes) - ThinkPad E540 i7 4x2 16GB RAM 03.13 hours (or 187.53 minutes) - HP EliteBook 8560w 32GB RAM 04.18 hours (or 250.92 minutes) - ThinkPad W530 i7 4x2 32GB RAM 04.63 hours (or 278.03 minutes) - ThinkPad W530 i7 4x2 32GB RAM using a 64-bit kernel and 32-bit distro #--------------------------------------------------------------------- [settings] altpkg = yes exepack = yes fortran = disabled large = yes license = See "license*.txt" in installed tree licfile = Source/WebCore/LICENSE-LGPL-2.1 tmpsize = 1294M unpack = relaxed dontfind = \ enchant01 gnutls2 ruby24 setpaths = \ brotli cairo enchant02 fontconfig \ freetype2 gettext gnutls3 gstreamer \ gtkcore jpeg lcms2 libgcrypt \ libgpg-error libhyphen libicu libpng \ libsecret libsoup libtasn1 libwebp \ libxml2 libxslt openjpeg openssl \ sqlite3 webkit2gtk3 woff2 zlib \ libavif libjxl #--------------------------------------------------------------------- [depends] actools aspell bison3 brotli bzip2 cairo enchant02 eudev expat flex fontconfig freetype2 fribidi gawk gettext glib20:strict gnutls3 gperf graphite2 grep gstreamer gtk20 gtk30 gtkcore harfbuzz jpeg lcms2 libavif libbsd libffi libgcrypt libgpg-error libgudev libhyphen libicu libidn2 libjxl liborc libpng libpsl libsecret libsoup libtasn1 libtool libunistring libwebp libxml2 libxslt llvmgcc ncurses openjpeg openssl pango perl pkgconf python ruby30 sed sqlite3 util-linux woff2 xorg xzutils zlib #--------------------------------------------------------------------- [configure] # Courtesy of BLFS: Fix a build issue with ICU >= 59: sed -i 's/unsigned short/char16_t/' \ Source/JavaScriptCore/API/JSStringRef.h \ Source/WebKit/Shared/API/c/WKString.h sed -i '/stdbool.h/ a#include ' \ Source/JavaScriptCore/API/JSBase.h mkdir obj cd obj mkdir include cd include ln -s $PRODTREE/xorg/include/X11 . export LACINCDIRS=`pwd`:$LACINCDIRS cd .. export LACICUBOOL=true PATH=$PRODTREE/ruby30/bin:$PATH CFLAGS=-Wno-expansion-to-defined \ CXXFLAGS=-Wno-expansion-to-defined \ cmake \ -DCMAKE_INSTALL_PREFIX=$PKGDIR_PROD \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ \ -DENABLE_BUBBLEWRAP_SANDBOX=OFF \ -DENABLE_DOCUMENTATION=OFF \ -DENABLE_JOURNALD_LOG=OFF \ -DENABLE_GAMEPAD=OFF \ -DENABLE_GEOLOCATION=OFF \ -DENABLE_GTKDOC=OFF \ -DENABLE_INTROSPECTION=ON \ -DENABLE_MINIBROWSER=ON \ \ -DUSE_LIBBACKTRACE=OFF \ -DUSE_LIBHYPHEN=ON \ -DUSE_LIBNOTIFY=OFF \ -DUSE_GTK4=OFF \ -DUSE_SOUP2=ON \ -DUSE_SYSTEM_MALLOC=ON \ -DUSE_SYSTEMD=OFF \ -DUSE_WPE_RENDERER=OFF \ \ -DPORT=GTK \ -Wno-dev \ .. #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin LIBDIR=$PKGDIR_PROD/lib mkdir -p $BINDIR $LIBDIR PATH=$PRODTREE/ruby24/bin:$PATH export LACFORCELZ=yes export LACICUBOOL=true export LACSLOWDOWN=true cd obj cd include export LACINCDIRS=`pwd`:$LACINCDIRS cd .. smpmake || \ (sleep 5 && smpmake) || \ (sleep 5 && smpmake) || \ (sleep 5 && smpmake) || \ extranice make make install || make install MB=$BINDIR/minibrowser rm -f $MB cp -p $PKGDIR_SPECIAL/minibrowser.wrapper.in $MB sed -e "s@__META_PREFIX__@$PKGDIR_PROD@g" -i $MB chmod 755 $MB ln -nsf $MB $SYSDIR_BIN/minibrowser for x in $LIBDIR/pkgconfig/*.pc do sed -e "s|Libs:.*-lwebkit2gtk-4.*|& -lwebp|" -i $x done #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://webkitgtk.org/ url_home_alt = http://webkit.org/ url_lfs = Not checked yet url_tarball = http://webkitgtk.org/releases/webkitgtk-2.44.2.tar.xz #--------------------------------------------------------------------- [history] 170720 Updated from 2.4.9 to 2.17.4 170803 Updated to 2.17.5 170912 Updated to 2.18.0 171018 Updated to 2.18.1 171113 Updated to 2.18.3 180303 Updated to 2.18.6 180429 Updated to 2.20.1 180616 Updated to 2.20.3 180815 Updated to 2.20.5 181007 Updated to 2.22.2 181121 Updated to 2.22.3 190503 Split off "webkitgtk-022401" as a separate package 190503 Updated to 2.24.1 210222 Updated to 2.30.5 210914 Updated to 2.30.6 211202 Updated to 2.34.2 211202 Renamed "webkitgtk-022401" to "webkit2gtk3" 211202 Dropped other "webkitgtk* packages 211220 Updated to 2.34.3 210122 Updated to 2.34.4 220711 Updated to 2.36.4 220807 Updated to 2.36.5 220820 Updated to 2.36.6 230210 Updated to 2.38.4 230218 Updated to 2.38.5 240120 Updated to 2.42.4 240308 Updated to 2.42.5 240801 Updated to 2.44.2