wok rev 6687

Up: libwebkit to 1.2.5. Added gobject-introspection-dev, tar, gettext, and webkit-r-dev to build depends. It needs libwebkit-1.0.la to compile itself. Tar is needed cause of --version is not in busybox tar.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 12 21:49:16 2010 +0000 (2010-10-12)
parents af8c7683bc74
children cb7d3e73c9fa
files libwebkit-dev/receipt libwebkit/receipt libwebkit/stuff/introspection.patch webkit-web-inspector/receipt
line diff
     1.1 --- a/libwebkit-dev/receipt	Tue Oct 12 18:35:23 2010 +0000
     1.2 +++ b/libwebkit-dev/receipt	Tue Oct 12 21:49:16 2010 +0000
     1.3 @@ -2,9 +2,10 @@
     1.4  
     1.5  PACKAGE="libwebkit-dev"
     1.6  SOURCE="webkit"
     1.7 -VERSION="1.2.4"
     1.8 +VERSION="1.2.5"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="xHTML render library."
    1.11 +DEPENDS="libwebkit"
    1.12  WANTED="libwebkit"
    1.13  MAINTAINER="mallory@sweetpeople.org"
    1.14  WEB_SITE="http://webkitgtk.org"
    1.15 @@ -13,8 +14,10 @@
    1.16  genpkg_rules()
    1.17  {
    1.18      _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.19 -	mkdir -p $fs/usr/lib
    1.20 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.21  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.22  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    1.24  	cp -a $_pkg/usr/include $fs/usr
    1.25 +	cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share
    1.26  }
     2.1 --- a/libwebkit/receipt	Tue Oct 12 18:35:23 2010 +0000
     2.2 +++ b/libwebkit/receipt	Tue Oct 12 21:49:16 2010 +0000
     2.3 @@ -2,7 +2,7 @@
     2.4  
     2.5  PACKAGE="libwebkit"
     2.6  SOURCE="webkit"
     2.7 -VERSION="1.2.4"
     2.8 +VERSION="1.2.5"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="xHTML render library."
    2.11  DEPENDS="gtk+ enchant libxslt expat gtk+ jpeg libpng libxml2 sqlite \
    2.12 @@ -13,7 +13,8 @@
    2.13  BUILD_DEPENDS="gtk+-dev enchant enchant-dev gperf libxslt-dev jpeg-dev \
    2.14  libpng-dev glib-dev autoconf automake gnutls-dev sqlite-dev libtool \
    2.15  m4 bison flex xorg-libXdamage-dev acl-dev libsoup-dev libxml2-dev \
    2.16 -libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev"
    2.17 +libxcb-dev xcb-util-dev util-linux-ng-uuid-dev zlib-dev libtasn1-dev \
    2.18 +gobject-introspection-dev tar gettext webkit-r-dev"
    2.19  MAINTAINER="mallory@sweetpeople.org"
    2.20  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.21  WEB_SITE="http://webkitgtk.org"
    2.22 @@ -29,10 +30,12 @@
    2.23  	# https://bugs.webkit.org/show_bug.cgi?id=15914
    2.24  	#        --with-unicode-backend=glib
    2.25  
    2.26 +	patch -Np0 -i ../stuff/introspection.patch
    2.27  	./configure \
    2.28  		--prefix=/usr \
    2.29  		--infodir=/usr/share/info \
    2.30  		--mandir=/usr/share/man \
    2.31 +		--enable-introspection=yes \
    2.32          	--enable-video=no \
    2.33  		--enable-jit=yes \
    2.34  	        --with-unicode-backend=glib \
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libwebkit/stuff/introspection.patch	Tue Oct 12 21:49:16 2010 +0000
     3.3 @@ -0,0 +1,22 @@
     3.4 +--- WebKit/gtk/JSCore-1.0.gir	2010-09-29 14:54:07.000000000 +0200
     3.5 ++++ WebKit/gtk/JSCore-1.0.gir	2010-09-29 15:57:06.000000000 +0200
     3.6 +@@ -1,12 +1,14 @@
     3.7 + <?xml version="1.0"?>
     3.8 +-<repository version="1.0"
     3.9 ++<repository version="1.2"
    3.10 +             xmlns="http://www.gtk.org/introspection/core/1.0"
    3.11 +             xmlns:c="http://www.gtk.org/introspection/c/1.0">
    3.12 +   <namespace name="JSCore" version="1.0" shared-library="webkit-1.0">
    3.13 +-    <alias name="GlobalContextRef"
    3.14 +-           target="none"
    3.15 +-           c:type="JSGlobalContextRef"/>
    3.16 +-    <alias name="ObjectRef" target="none" c:type="JSObjectRef"/>
    3.17 ++    <alias name="GlobalContextRef" target="none">
    3.18 ++      <type name="JSGlobalContextRef" c:type="JSGlobalContextRef"/>
    3.19 ++    </alias>
    3.20 ++    <alias name="ObjectRef" target="none">
    3.21 ++      <type name="JSObjectRef" c:type="JSObjectRef"/>
    3.22 ++    </alias>
    3.23 +     <function name="EvaluateScript" c:identifier="JSEvaluateScript">
    3.24 +       <return-value transfer-ownership="none">
    3.25 +         <type name="none" c:type="void"/>
     4.1 --- a/webkit-web-inspector/receipt	Tue Oct 12 18:35:23 2010 +0000
     4.2 +++ b/webkit-web-inspector/receipt	Tue Oct 12 21:49:16 2010 +0000
     4.3 @@ -2,7 +2,7 @@
     4.4  
     4.5  PACKAGE="webkit-web-inspector"
     4.6  SOURCE="webkit"
     4.7 -VERSION="1.2.4"
     4.8 +VERSION="1.2.5"
     4.9  CATEGORY="network"
    4.10  SHORT_DESC="Webkit development tools"
    4.11  WANTED="libwebkit"