wok-6.x rev 12888

Up: libwebkit (1.8.1)
author Dominique Corbex <domcox@slitaz.org>
date Sun May 27 21:57:29 2012 +0200 (2012-05-27)
parents c8aa1f46ed4a
children 78dc4484009c
files libwebkit/receipt libwebkit/stuff/CodeGeneratorGObject-bug-84526.patch
line diff
     1.1 --- a/libwebkit/receipt	Sun May 27 21:52:01 2012 +0200
     1.2 +++ b/libwebkit/receipt	Sun May 27 21:57:29 2012 +0200
     1.3 @@ -1,12 +1,12 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libwebkit"
     1.7 -VERSION="1.6.1"
     1.8 +VERSION="1.8.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="xHTML render library."
    1.11  MAINTAINER="mallory@sweetpeople.org"
    1.12  SOURCE="webkit"
    1.13 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.15  WEB_SITE="http://webkitgtk.org"
    1.16  WGET_URL="$WEB_SITE/$TARBALL"
    1.17  
    1.18 @@ -19,12 +19,16 @@
    1.19  libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
    1.20  m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
    1.21  libxcb-dev xcb-util-dev util-linux-uuid-dev zlib-dev libtasn1-dev \
    1.22 -gobject-introspection-dev tar gettext glib-networking-dev"
    1.23 +gobject-introspection-dev tar gettext glib-networking-dev gtk-doc"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	cd $src
    1.29 +	# fix Bug 84526: webkit-gtk-1.8.0 fails to build with --disable-video
    1.30 +	patch -p0 < $stuff/CodeGeneratorGObject-bug-84526.patch || exit 1
    1.31 +	# libwebkit does not like parallel builds.
    1.32 +	export MAKEFLAGS=$(echo $MAKEFLAGS | sed 's/-j[0-9]*/-j1/')
    1.33  	./configure \
    1.34  		--prefix=/usr \
    1.35  		--infodir=/usr/share/info \
    1.36 @@ -32,8 +36,11 @@
    1.37  		--enable-introspection=no \
    1.38  		--enable-video=no \
    1.39  		--enable-jit=yes \
    1.40 +		--disable-webgl \
    1.41 +		--disable-geolocation \
    1.42  		--with-unicode-backend=glib \
    1.43  		--with-gtk=2.0 \
    1.44 +		--disable-gtk-doc \
    1.45  		$CONFIGURE_ARGS &&
    1.46  	make all stamp-po && make DESTDIR=$DESTDIR install &&
    1.47  	cp -a $src/Programs/GtkLauncher $DESTDIR/usr/bin
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libwebkit/stuff/CodeGeneratorGObject-bug-84526.patch	Sun May 27 21:57:29 2012 +0200
     2.3 @@ -0,0 +1,14 @@
     2.4 +--- Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm	(revision 115562)
     2.5 ++++ Source/WebCore/bindings/scripts/CodeGeneratorGObject.pm	(working copy)
     2.6 +@@ -1444,9 +1444,10 @@
     2.7 +     print IMPL "namespace WebKit {\n\n";
     2.8 +     print IMPL @cBodyPriv;
     2.9 +     print IMPL "} // namespace WebKit\n\n";
    2.10 ++
    2.11 ++    print IMPL @cBodyProperties;
    2.12 +     print IMPL "#endif // ${conditionalString}\n\n" if $conditionalString;
    2.13 + 
    2.14 +-    print IMPL @cBodyProperties;
    2.15 +     print IMPL @cBody;
    2.16 + 
    2.17 +     close(IMPL);