[arch-commits] Commit in webkit2gtk/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Apr 3 01:22:04 UTC 2016
Date: Sunday, April 3, 2016 @ 03:22:04
Author: foutrelis
Revision: 263811
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
webkit2gtk/repos/staging-i686/
webkit2gtk/repos/staging-i686/PKGBUILD
(from rev 263810, webkit2gtk/trunk/PKGBUILD)
webkit2gtk/repos/staging-i686/isnan.patch
(from rev 263810, webkit2gtk/trunk/isnan.patch)
webkit2gtk/repos/staging-x86_64/
webkit2gtk/repos/staging-x86_64/PKGBUILD
(from rev 263810, webkit2gtk/trunk/PKGBUILD)
webkit2gtk/repos/staging-x86_64/isnan.patch
(from rev 263810, webkit2gtk/trunk/isnan.patch)
----------------------------+
staging-i686/PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++
staging-i686/isnan.patch | 12 ++++++++++
staging-x86_64/PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/isnan.patch | 12 ++++++++++
4 files changed, 126 insertions(+)
Copied: webkit2gtk/repos/staging-i686/PKGBUILD (from rev 263810, webkit2gtk/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-04-03 01:22:04 UTC (rev 263811)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=webkit2gtk
+pkgver=2.12.0
+pkgrel=2
+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'
+ '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=('a68604f8fd1bcb247d647709290226289b90c16acb1f3730538b688db8df5ea6')
+
+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/staging-i686/isnan.patch (from rev 263810, webkit2gtk/trunk/isnan.patch)
===================================================================
--- staging-i686/isnan.patch (rev 0)
+++ staging-i686/isnan.patch 2016-04-03 01:22:04 UTC (rev 263811)
@@ -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/staging-x86_64/PKGBUILD (from rev 263810, webkit2gtk/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-04-03 01:22:04 UTC (rev 263811)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=webkit2gtk
+pkgver=2.12.0
+pkgrel=2
+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'
+ '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=('a68604f8fd1bcb247d647709290226289b90c16acb1f3730538b688db8df5ea6')
+
+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/staging-x86_64/isnan.patch (from rev 263810, webkit2gtk/trunk/isnan.patch)
===================================================================
--- staging-x86_64/isnan.patch (rev 0)
+++ staging-x86_64/isnan.patch 2016-04-03 01:22:04 UTC (rev 263811)
@@ -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