[arch-commits] Commit in webkitgtk2/repos (6 files)

Jan Steffens heftig at nymeria.archlinux.org
Sat Oct 12 19:38:26 UTC 2013


    Date: Saturday, October 12, 2013 @ 21:38:26
  Author: heftig
Revision: 196406

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  webkitgtk2/repos/staging-i686/
  webkitgtk2/repos/staging-i686/PKGBUILD
    (from rev 196405, webkitgtk2/trunk/PKGBUILD)
  webkitgtk2/repos/staging-i686/bison3.patch
    (from rev 196405, webkitgtk2/trunk/bison3.patch)
  webkitgtk2/repos/staging-x86_64/
  webkitgtk2/repos/staging-x86_64/PKGBUILD
    (from rev 196405, webkitgtk2/trunk/PKGBUILD)
  webkitgtk2/repos/staging-x86_64/bison3.patch
    (from rev 196405, webkitgtk2/trunk/bison3.patch)

-----------------------------+
 staging-i686/PKGBUILD       |   53 ++++++++++++++++++++++++++++++++++++++++++
 staging-i686/bison3.patch   |   11 ++++++++
 staging-x86_64/PKGBUILD     |   53 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/bison3.patch |   11 ++++++++
 4 files changed, 128 insertions(+)

Copied: webkitgtk2/repos/staging-i686/PKGBUILD (from rev 196405, webkitgtk2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-10-12 19:38:26 UTC (rev 196406)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=webkitgtk2
+pkgver=1.10.2
+pkgrel=8
+pkgdesc="GTK+ Web content engine library for GTK+ 2.0"
+arch=(i686 x86_64)
+url="http://webkitgtk.org/"
+license=(custom)
+depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk2 gstreamer0.10-base
+         icu)
+makedepends=(gperf gobject-introspection python2 mesa ruby gtk-doc)
+optdepends=()
+provides=("libwebkit=${pkgver}")
+conflicts=(libwebkit)
+replaces=(libwebkit)
+options=(!libtool !emptydirs)
+source=(http://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz
+        bison3.patch)
+sha256sums=('19234f8e4edfaefe91ed06471a2aa8c71d26dd55d33787eede1dcfc9a3a96d9c'
+            '0996b25d17be61470678c18db9bfad1bf807aac410690fb8935370dbc8b3ce34')
+
+prepare() {
+  cd webkitgtk-$pkgver
+  patch -Np1 -i ../bison3.patch
+}
+
+build() {
+  cd webkitgtk-$pkgver
+
+  # Suppress a *lot* of gcc 4.8 warnings
+  CPPFLAGS+=" -Wno-unused-local-typedefs"
+
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+    --libexecdir=/usr/lib/$pkgname \
+    --enable-introspection \
+    --disable-webkit2 \
+    --with-gstreamer=0.10 \
+    --with-gtk=2.0
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make all stamp-po
+}
+
+package() {
+  cd webkitgtk-$pkgver
+  make -j1 DESTDIR="$pkgdir" install
+  install -Dm644 Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm -r "$pkgdir/usr/share/gtk-doc/html/webkitgtk"
+}

Copied: webkitgtk2/repos/staging-i686/bison3.patch (from rev 196405, webkitgtk2/trunk/bison3.patch)
===================================================================
--- staging-i686/bison3.patch	                        (rev 0)
+++ staging-i686/bison3.patch	2013-10-12 19:38:26 UTC (rev 196406)
@@ -0,0 +1,11 @@
+diff -u -r webkitgtk-1.10.2/Source/ThirdParty/ANGLE/src/compiler/glslang.y webkitgtk-1.10.2-bison3/Source/ThirdParty/ANGLE/src/compiler/glslang.y
+--- webkitgtk-1.10.2/Source/ThirdParty/ANGLE/src/compiler/glslang.y	2012-11-23 21:12:16.000000000 +0100
++++ webkitgtk-1.10.2-bison3/Source/ThirdParty/ANGLE/src/compiler/glslang.y	2013-10-12 20:42:54.531301735 +0200
+@@ -47,6 +47,7 @@
+ %expect 1 /* One shift reduce conflict because of if | else */
+ %pure-parser
+ %parse-param {TParseContext* context}
++%lex-param {YYLEX_PARAM}
+ 
+ %union {
+     struct {

Copied: webkitgtk2/repos/staging-x86_64/PKGBUILD (from rev 196405, webkitgtk2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-10-12 19:38:26 UTC (rev 196406)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=webkitgtk2
+pkgver=1.10.2
+pkgrel=8
+pkgdesc="GTK+ Web content engine library for GTK+ 2.0"
+arch=(i686 x86_64)
+url="http://webkitgtk.org/"
+license=(custom)
+depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk2 gstreamer0.10-base
+         icu)
+makedepends=(gperf gobject-introspection python2 mesa ruby gtk-doc)
+optdepends=()
+provides=("libwebkit=${pkgver}")
+conflicts=(libwebkit)
+replaces=(libwebkit)
+options=(!libtool !emptydirs)
+source=(http://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz
+        bison3.patch)
+sha256sums=('19234f8e4edfaefe91ed06471a2aa8c71d26dd55d33787eede1dcfc9a3a96d9c'
+            '0996b25d17be61470678c18db9bfad1bf807aac410690fb8935370dbc8b3ce34')
+
+prepare() {
+  cd webkitgtk-$pkgver
+  patch -Np1 -i ../bison3.patch
+}
+
+build() {
+  cd webkitgtk-$pkgver
+
+  # Suppress a *lot* of gcc 4.8 warnings
+  CPPFLAGS+=" -Wno-unused-local-typedefs"
+
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+    --libexecdir=/usr/lib/$pkgname \
+    --enable-introspection \
+    --disable-webkit2 \
+    --with-gstreamer=0.10 \
+    --with-gtk=2.0
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make all stamp-po
+}
+
+package() {
+  cd webkitgtk-$pkgver
+  make -j1 DESTDIR="$pkgdir" install
+  install -Dm644 Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm -r "$pkgdir/usr/share/gtk-doc/html/webkitgtk"
+}

Copied: webkitgtk2/repos/staging-x86_64/bison3.patch (from rev 196405, webkitgtk2/trunk/bison3.patch)
===================================================================
--- staging-x86_64/bison3.patch	                        (rev 0)
+++ staging-x86_64/bison3.patch	2013-10-12 19:38:26 UTC (rev 196406)
@@ -0,0 +1,11 @@
+diff -u -r webkitgtk-1.10.2/Source/ThirdParty/ANGLE/src/compiler/glslang.y webkitgtk-1.10.2-bison3/Source/ThirdParty/ANGLE/src/compiler/glslang.y
+--- webkitgtk-1.10.2/Source/ThirdParty/ANGLE/src/compiler/glslang.y	2012-11-23 21:12:16.000000000 +0100
++++ webkitgtk-1.10.2-bison3/Source/ThirdParty/ANGLE/src/compiler/glslang.y	2013-10-12 20:42:54.531301735 +0200
+@@ -47,6 +47,7 @@
+ %expect 1 /* One shift reduce conflict because of if | else */
+ %pure-parser
+ %parse-param {TParseContext* context}
++%lex-param {YYLEX_PARAM}
+ 
+ %union {
+     struct {




More information about the arch-commits mailing list