# 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. 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. #--------------------------------------------------------------------- 3. "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*". #--------------------------------------------------------------------- 4. On 260218, "gcc" and "clang" compiler wrappers and "makelac" were modified to enforce CPU temperature limits. Subsequent to the change, it typically isn't practical to compile this package in 32-bit mode on an old and/or limited hardware system; i.e., a system that overheats on load. It typically works better to build 32-bit binaries for this package on high-end systems and to copy the binaries to the old and/or limited hardware system. If that is done, old symlinks into the built package tree need to be removed and new symlinks need to be added. Documentation and/or tools for the purpose are planned. #--------------------------------------------------------------------- [buildtimes] 00.86 hours (or 051.40 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM. Pre-260218. 01.76 hours (or 105.58 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM. Pre-260218. 02.17 hours (or 130.28 minutes) - ThinkPad W530 i7 4x2 32GB RAM. Pre- 260218. 02.47 hours (or 147.98 minutes) - ThinkPad E540 i7 4x2 16GB RAM. Pre- 260218. 03.13 hours (or 187.53 minutes) - HP EliteBook 8560w 32GB RAM. Pre- 260218. 03.22 hours (or 193.03 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM - 64-bit kernel and 64-bit dis- tro - clang 20.1.5. webkit2gtk3 2. 48.2. Pre-260218. 03.74 hours (or 224.67 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM - 64-bit kernel and 64-bit dis- tro - clang 20.1.7. webkit2gtk3 2. 48.3. Pre-260218. 03.74 hours (or 224.67 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM - 64-bit kernel and 32-bit dis- tro - clang 20.1.7. webkit2gtk3 2. 48.3. Pre-260218. 04.18 hours (or 250.92 minutes) - ThinkPad W530 i7 4x2 32GB RAM - old- er setup. Pre-260218. 04.63 hours (or 278.03 minutes) - ThinkPad W530 i7 4x2 32GB RAM - 64- bit kernel and 32-bit distro - gcc. Pre-260218. 06.69 hours (or 401.13 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM - 64-bit kernel and 32-bit dis- tro - gcc. Pre-260218. 07.64 hours (or 458.42 minutes) - ThinkPad W530 i7 4x2 32GB RAM - 64- bit kernel and 64-bit distro - clang 20.1.8. webkit2gtk3 2.48.3. Pre-26- 0218. 08.05 hours (or 483.00 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM - 64-bit kernel and 32-bit mode - clang 20.1.8 and webkit2gtk3 2.48. 6. Pre-260218. 09.44 hours (or 566.10 minutes) - ThinkPad W530 i7 4x2 32GB RAM - 64- bit kernel and 64-bit distro - clang 21.1.8. webkit2gtk3 2.50.5. 260218. Large increase in time due to enab- ling CPU temperature limit. #--------------------------------------------------------------------- [settings] altpkg = yes compiler = clang exepack = yes fortran = disabled large = yes license = See "license*.txt" in installed tree licfile = Source/WebCore/LICENSE-LGPL-2.1 nowerror = yes tmpsize = 1294M unpack = relaxed dontfind = \ enchant01 gnutls2 ruby24 setpaths = \ brotli cairo enchant02 expat \ flite fontconfig freetype2 gettext \ gnutls3 gstreamer gtkcore jpeg \ lcms2 libavif libgcrypt libhyphen \ libicu libjxl libpng libsecret \ libsoup libtasn1 libwebp libxml2 \ libxslt openjpeg openssl pcre2 \ ruby34 sqlite3 woff2 xorg \ zlib \ libgpg-error webkit2gtk3 #--------------------------------------------------------------------- [depends] actools aspell bison3 brotli bzip2 cairo enchant02 eudev expat flex flite 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 ncurses openjpeg openssl pango pcre2 perl pkgconf python ruby34 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/ruby34/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 \ \ -DUSE_SYSPROF_CAPTURE=OFF \ -DUSE_SYSTEM_SYSPROF_CAPTURE=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 cd obj cd include export LACINCDIRS=`pwd`:$LACINCDIRS cd .. smpmake || 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.50.5.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 250131 Updated to 2.46.5 250328 Updated to 2.46.6 250404 Updated to 2.48.1 250516 Updated to 2.48.2 250616 Updated to 2.48.3 250912 Updated to 2.48.6 260218 Updated to 2.50.5