webkit-gtk3: update to 1.4.1.

This commit is contained in:
Juan RP 2011-06-08 07:52:07 +02:00
parent cb9b1d33f5
commit e0303dbe2c
3 changed files with 51 additions and 14 deletions

View file

@ -1,11 +0,0 @@
Index: Source/WebCore/dom/make_names.pl
===================================================================
--- Source/WebCore/dom/make_names.pl (revision 73989)
+++ Source/WebCore/dom/make_names.pl (revision 84123)
@@ -66,5 +66,5 @@
$gccLocation = "/usr/bin/gcc";
}
-my $preprocessor = $gccLocation . " -E -P -x c++";
+my $preprocessor = $gccLocation . " -E -x c++";
GetOptions(

View file

@ -0,0 +1,45 @@
diff -upr webkit-1.4.0.orig/Source/WebCore/make-hash-tools.pl webkit-1.4.0/Source/WebCore/make-hash-tools.pl
--- webkit-1.4.0.orig/Source/WebCore/make-hash-tools.pl 2011-04-25 22:27:15.000000000 +0300
+++ webkit-1.4.0/Source/WebCore/make-hash-tools.pl 2011-06-02 00:41:26.000000000 +0300
@@ -20,7 +20,7 @@
# Boston, MA 02110-1301, USA.
use strict;
-use Switch;
+use feature 'switch';
use File::Basename;
my $outdir = $ARGV[0];
@@ -28,9 +28,9 @@ shift;
my $option = basename($ARGV[0],".gperf");
-switch ($option) {
+given ($option) {
-case "DocTypeStrings" {
+when ("DocTypeStrings") {
my $docTypeStringsGenerated = "$outdir/DocTypeStrings.cpp";
my $docTypeStringsGperf = $ARGV[0];
@@ -38,9 +38,9 @@ case "DocTypeStrings" {
system("gperf --key-positions=\"*\" -s 2 $docTypeStringsGperf > $docTypeStringsGenerated") == 0 || die "calling gperf failed: $?";
-} # case "DocTypeStrings"
+} # when ("DocTypeStrings")
-case "ColorData" {
+when ("ColorData") {
my $colorDataGenerated = "$outdir/ColorData.cpp";
my $colorDataGperf = $ARGV[0];
@@ -48,6 +48,6 @@ case "ColorData" {
system("gperf --key-positions=\"*\" -D -s 2 $colorDataGperf > $colorDataGenerated") == 0 || die "calling gperf failed: $?";
-} # case "ColorData"
+} # when ("ColorData")
-} # switch ($option)
+} # given ($option)

View file

@ -1,15 +1,18 @@
# Template file for 'webkit-gtk3' # Template file for 'webkit-gtk3'
pkgname=webkit-gtk3 pkgname=webkit-gtk3
version=1.4.0 version=1.4.1
patch_args="-Np1"
wrksrc=webkit-${version} wrksrc=webkit-${version}
distfiles="http://www.webkitgtk.org/webkit-${version}.tar.gz" homepage="http://webkitgtk.org/"
license="LGPL-2.1, Simplified BSD (2 clause)"
distfiles="${homepage}/webkit-${version}.tar.gz"
build_style=gnu_configure build_style=gnu_configure
configure_args="--enable-video --with-gtk=3.0 --enable-jit configure_args="--enable-video --with-gtk=3.0 --enable-jit
--enable-3d-transforms --with-font-backend=freetype --enable-introspection --enable-3d-transforms --with-font-backend=freetype --enable-introspection
--with-unicode-backend=icu --disable-schemas-compile" --with-unicode-backend=icu --disable-schemas-compile"
short_desc="GTK+3 port of the WebKit browser engine" short_desc="GTK+3 port of the WebKit browser engine"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=3eb0fe06a99878a32f18a77cdaaf5a33ce2af36ee33c251ae14f4e4b3fa57f88 checksum=d0db4f6c8e4dd73ebb7fd34c8ca21b0b3b245ac7162d884e789a2104ca631c64
long_desc=" long_desc="
WebKit is an open source web browser engine. WebKit is also the name of WebKit is an open source web browser engine. WebKit is also the name of
the Mac OS X system framework version of the engine that's used by the Mac OS X system framework version of the engine that's used by