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

Jan de Groot jgc at archlinux.org
Fri Mar 18 23:10:09 UTC 2016


    Date: Saturday, March 19, 2016 @ 00:10:08
  Author: jgc
Revision: 262063

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  webkit2gtk/repos/gnome-unstable-i686/
  webkit2gtk/repos/gnome-unstable-i686/PKGBUILD
    (from rev 262062, webkit2gtk/trunk/PKGBUILD)
  webkit2gtk/repos/gnome-unstable-i686/isnan.patch
    (from rev 262062, webkit2gtk/trunk/isnan.patch)
  webkit2gtk/repos/gnome-unstable-x86_64/
  webkit2gtk/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 262062, webkit2gtk/trunk/PKGBUILD)
  webkit2gtk/repos/gnome-unstable-x86_64/isnan.patch
    (from rev 262062, webkit2gtk/trunk/isnan.patch)

-----------------------------------+
 gnome-unstable-i686/PKGBUILD      |   51 ++++++++++++++++++++++++++++++++++++
 gnome-unstable-i686/isnan.patch   |   12 ++++++++
 gnome-unstable-x86_64/PKGBUILD    |   51 ++++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/isnan.patch |   12 ++++++++
 4 files changed, 126 insertions(+)

Copied: webkit2gtk/repos/gnome-unstable-i686/PKGBUILD (from rev 262062, webkit2gtk/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2016-03-18 23:10:08 UTC (rev 262063)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=webkit2gtk
+pkgver=2.11.92
+pkgrel=1
+pkgdesc="GTK+ Web content engine library"
+arch=('i686' 'x86_64')
+url="http://webkitgtk.org/"
+license=('custom')
+depends=('libxt' 'libxslt' 'enchant' 'geoclue2' 'gst-plugins-base-libs' 'gst-plugins-bad'
+	 'libsecret' 'libwebp' 'harfbuzz-icu' 'gtk3' 'libnotify' 'hyphen')
+makedepends=('gtk2' 'gperf' 'gobject-introspection' 'ruby' 'gtk-doc' 'cmake' 'python')
+optdepends=('gtk2: Netscape plugin support'
+            'gst-plugins-base: free media decoding'
+            'gst-plugins-good: media decoding'
+            'gst-libav: nonfree media decoding')
+options=('!emptydirs')
+source=(http://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz)
+sha256sums=('f4ef94e7c901e51e449290604678b6777d85581d4b9c0d7da7b720489d475939')
+
+prepare() {
+  mkdir build
+
+  cd webkitgtk-$pkgver
+  sed -i '1s/python$/&2/' Tools/gtk/generate-gtkdoc
+  rm -r Source/ThirdParty/gtest/
+  rm -r Source/ThirdParty/qunit/
+}
+
+build() {
+  cd build
+  cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr \
+        -DLIB_INSTALL_DIR=/usr/lib -DLIBEXEC_INSTALL_DIR=/usr/lib/webkit2gtk-4.0 \
+        -DENABLE_GTKDOC=ON ../webkitgtk-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -m755 -d "$pkgdir/usr/share/licenses/webkit2gtk"
+  cd "$srcdir/webkitgtk-$pkgver/Source"
+  for f in $(find -name 'COPYING*' -or -name 'LICENSE*'); do
+    echo $f >> "$pkgdir/usr/share/licenses/webkit2gtk/LICENSE"
+    cat $f >> "$pkgdir/usr/share/licenses/webkit2gtk/LICENSE"
+    echo "" >> "$pkgdir/usr/share/licenses/webkit2gtk/LICENSE"
+  done
+}

Copied: webkit2gtk/repos/gnome-unstable-i686/isnan.patch (from rev 262062, webkit2gtk/trunk/isnan.patch)
===================================================================
--- gnome-unstable-i686/isnan.patch	                        (rev 0)
+++ gnome-unstable-i686/isnan.patch	2016-03-18 23:10:08 UTC (rev 262063)
@@ -0,0 +1,12 @@
+diff -u -r webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp webkitgtk-2.10.8-isnan/Source/JavaScriptCore/runtime/Options.cpp
+--- webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp	2016-03-11 09:59:07.000000000 +0100
++++ webkitgtk-2.10.8-isnan/Source/JavaScriptCore/runtime/Options.cpp	2016-03-13 13:51:55.114836547 +0100
+@@ -610,7 +610,7 @@
+     case Options::Type::unsignedType:
+         return m_entry.unsignedVal == other.m_entry.unsignedVal;
+     case Options::Type::doubleType:
+-        return (m_entry.doubleVal == other.m_entry.doubleVal) || (isnan(m_entry.doubleVal) && isnan(other.m_entry.doubleVal));
++        return (m_entry.doubleVal == other.m_entry.doubleVal) || (std::isnan(m_entry.doubleVal) && std::isnan(other.m_entry.doubleVal));
+     case Options::Type::int32Type:
+         return m_entry.int32Val == other.m_entry.int32Val;
+     case Options::Type::optionRangeType:

Copied: webkit2gtk/repos/gnome-unstable-x86_64/PKGBUILD (from rev 262062, webkit2gtk/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2016-03-18 23:10:08 UTC (rev 262063)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=webkit2gtk
+pkgver=2.11.92
+pkgrel=1
+pkgdesc="GTK+ Web content engine library"
+arch=('i686' 'x86_64')
+url="http://webkitgtk.org/"
+license=('custom')
+depends=('libxt' 'libxslt' 'enchant' 'geoclue2' 'gst-plugins-base-libs' 'gst-plugins-bad'
+	 'libsecret' 'libwebp' 'harfbuzz-icu' 'gtk3' 'libnotify' 'hyphen')
+makedepends=('gtk2' 'gperf' 'gobject-introspection' 'ruby' 'gtk-doc' 'cmake' 'python')
+optdepends=('gtk2: Netscape plugin support'
+            'gst-plugins-base: free media decoding'
+            'gst-plugins-good: media decoding'
+            'gst-libav: nonfree media decoding')
+options=('!emptydirs')
+source=(http://webkitgtk.org/releases/webkitgtk-${pkgver}.tar.xz)
+sha256sums=('f4ef94e7c901e51e449290604678b6777d85581d4b9c0d7da7b720489d475939')
+
+prepare() {
+  mkdir build
+
+  cd webkitgtk-$pkgver
+  sed -i '1s/python$/&2/' Tools/gtk/generate-gtkdoc
+  rm -r Source/ThirdParty/gtest/
+  rm -r Source/ThirdParty/qunit/
+}
+
+build() {
+  cd build
+  cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr \
+        -DLIB_INSTALL_DIR=/usr/lib -DLIBEXEC_INSTALL_DIR=/usr/lib/webkit2gtk-4.0 \
+        -DENABLE_GTKDOC=ON ../webkitgtk-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  install -m755 -d "$pkgdir/usr/share/licenses/webkit2gtk"
+  cd "$srcdir/webkitgtk-$pkgver/Source"
+  for f in $(find -name 'COPYING*' -or -name 'LICENSE*'); do
+    echo $f >> "$pkgdir/usr/share/licenses/webkit2gtk/LICENSE"
+    cat $f >> "$pkgdir/usr/share/licenses/webkit2gtk/LICENSE"
+    echo "" >> "$pkgdir/usr/share/licenses/webkit2gtk/LICENSE"
+  done
+}

Copied: webkit2gtk/repos/gnome-unstable-x86_64/isnan.patch (from rev 262062, webkit2gtk/trunk/isnan.patch)
===================================================================
--- gnome-unstable-x86_64/isnan.patch	                        (rev 0)
+++ gnome-unstable-x86_64/isnan.patch	2016-03-18 23:10:08 UTC (rev 262063)
@@ -0,0 +1,12 @@
+diff -u -r webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp webkitgtk-2.10.8-isnan/Source/JavaScriptCore/runtime/Options.cpp
+--- webkitgtk-2.10.8/Source/JavaScriptCore/runtime/Options.cpp	2016-03-11 09:59:07.000000000 +0100
++++ webkitgtk-2.10.8-isnan/Source/JavaScriptCore/runtime/Options.cpp	2016-03-13 13:51:55.114836547 +0100
+@@ -610,7 +610,7 @@
+     case Options::Type::unsignedType:
+         return m_entry.unsignedVal == other.m_entry.unsignedVal;
+     case Options::Type::doubleType:
+-        return (m_entry.doubleVal == other.m_entry.doubleVal) || (isnan(m_entry.doubleVal) && isnan(other.m_entry.doubleVal));
++        return (m_entry.doubleVal == other.m_entry.doubleVal) || (std::isnan(m_entry.doubleVal) && std::isnan(other.m_entry.doubleVal));
+     case Options::Type::int32Type:
+         return m_entry.int32Val == other.m_entry.int32Val;
+     case Options::Type::optionRangeType:



More information about the arch-commits mailing list