Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

WebKit, include bison 2.6 patch and enable multithreaded building

  • Loading branch information...
commit 783d25dece492689bb8c96d34477ffa7a5aea27c 1 parent 3209666
@elangelo elangelo authored
Showing with 28 additions and 4 deletions.
  1. +24 −2 web/webkit/BUILD
  2. +4 −2 web/webkit/DETAILS
View
26 web/webkit/BUILD
@@ -1,5 +1,5 @@
(
-
+ patch_it $SOURCE2 1 &&
OPTS+=" --with-target=x11 \
--with-unicode-backend=icu \
@@ -11,11 +11,33 @@
--enable-svg-foreign-object \
--enable-svg-as-image \
--enable-optimizations \
+ --enable-video \
+ --disable-glibtest \
--with-gtk=2.0 \
--disable-gtk-doc-html" &&
- default_build &&
+ #make build work even if gtk-doc is not installed
+ if ! module_installed gtk-doc ; then
+ sed -i '/gtkdoc --rebase/s:^:# :' GNUmakefile.in
+ fi &&
+ #stolen from blfs, avoid race condition in build with multiple makes
+ if in_depends $MODULE gobject-introspection && [[ $MAKES -gt 1 ]] ; then
+ default_config &&
+ error_count=0 &&
+ until default_make
+ do
+ if (( $((error_count++)) > 4 )) ; then
+ echo Too Many Errors &&
+ break
+ fi
+ done &&
+ unset error_count &&
+ make install
+ else
+ default_build
+ fi &&
+
install 'Programs/GtkLauncher' '/usr/bin/GtkLauncher'
) > $C_FIFO 2>&1
View
6 web/webkit/DETAILS
@@ -1,13 +1,15 @@
MODULE=webkit
VERSION=1.8.1
SOURCE=$MODULE-$VERSION.tar.xz
+ SOURCE2=webkit-bison-2.6.patch
SOURCE_URL=http://www.webkitgtk.org/releases/
+ SOURCE2_URL=$PATCH_URL/
SOURCE_VFY=sha1:d26543baace03c31aa3de82bc24f06f14c6b3052
+ SOURCE2_VFY=sha1:18c5611095a3d105d8ee02357dd6fb729c1eb86a
WEB_SITE=http://www.webkit.org
ENTERED=20070919
- UPDATED=20120502
+ UPDATED=20120730
SHORT="gtk+ web rendering engine"
- PSAFE=no
cat << EOF
WebKitGTK+ is a web content engine, derived from KHTML and KJS from KDE,
Please sign in to comment.
Something went wrong with that request. Please try again.