# Note: this is an older version of webkitgtk, the last one to support the webkit1 API # Note: depends on mesa # Note: depends on ruby # Note: depends on icu # Note: depends on libsoup # Note: depends on gstreamer # Note: depends on gst-plugins-base # Note: depends on gperf # Note: depends on jpeg # Note: depends on libXt # Note: depends on libpng # Note: depends on pango # Note: depends on gtk+ # Note: depends on libXrender # Note: depends on gtk+2 # Note: depends on libwebp # Note: depends on libsecret # Note: depends on libXcomposite wget -c http://webkitgtk.org/releases/webkitgtk-2.4.9.tar.xz tar -xJf webkitgtk-2.4.9.tar.xz cd webkitgtk-2.4.9 sed -i -e '/unsigned short JSChar/i#ifdef __cplusplus' -e '/unsigned short JSChar/itypedef char16_t JSChar;' -e '/unsigned short JSChar/i#else' -e '/unsigned short JSChar/a#endif' Source/JavaScriptCore/API/JSStringRef.h # Fix icu compatibility mkdir -p build cd build ../configure --prefix="/usr" --disable-webkit2 || ../configure --prefix="/usr" --disable-webkit2 --disable-geolocation make # Doesn't work well with -j# make install