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

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 26 17:23:12 UTC 2016


    Date: Saturday, November 26, 2016 @ 17:23:12
  Author: foutrelis
Revision: 196927

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

Added:
  phantomjs/repos/community-staging-i686/
  phantomjs/repos/community-staging-i686/PKGBUILD
    (from rev 196926, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/gcc-5.patch
    (from rev 196926, phantomjs/trunk/gcc-5.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
    (from rev 196926, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/gcc-5.patch
    (from rev 196926, phantomjs/trunk/gcc-5.patch)

--------------------------------------+
 community-staging-i686/PKGBUILD      |   43 +++++++++++++++++++++++++++++++++
 community-staging-i686/gcc-5.patch   |   17 +++++++++++++
 community-staging-x86_64/PKGBUILD    |   43 +++++++++++++++++++++++++++++++++
 community-staging-x86_64/gcc-5.patch |   17 +++++++++++++
 4 files changed, 120 insertions(+)

Copied: phantomjs/repos/community-staging-i686/PKGBUILD (from rev 196926, phantomjs/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-11-26 17:23:12 UTC (rev 196927)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: grimsock <lord.grimsock at gmail dot com>
+# Contributor: Dieter Plaetinck <dieter at plaetinck.be>
+# Contributor: Vladimir Chizhov <jagoterr at gmail.com>
+# Contributor: Henry Tang <henryykt at gmail.com>
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=4
+pkgdesc="Headless WebKit with JavaScript API"
+url="http://www.phantomjs.org/"
+license=('BSD' 'LGPL' 'MIT')
+arch=('i686' 'x86_64')
+depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2')
+makedepends=('git')
+source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver"
+        gcc-5.patch)
+
+prepare() {
+  mkdir "$srcdir/python2-path"
+  ln -s /usr/bin/python2 "$srcdir/python2-path/python"
+}
+
+build() {
+  cd $pkgname
+  export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 
+  
+  python2 build.py --confirm --release --qt-config='-no-rpath'
+}
+
+package() {
+  install -Dm755 "$srcdir/$pkgname/bin/phantomjs" "$pkgdir/usr/bin/phantomjs"
+
+  mkdir -p "$pkgdir/usr/share/$pkgname"
+  cp -r "$srcdir/$pkgname/examples" "$pkgdir/usr/share/$pkgname"/
+
+  install -Dm644 "$srcdir/$pkgname/LICENSE.BSD" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.BSD"
+  install -Dm644 "$srcdir/$pkgname/third-party.txt" "$pkgdir/usr/share/licenses/$pkgname/third-party.txt"
+}
+
+sha512sums=('SKIP'
+            '9c584fb049c1c32d9ca640c44ed42beb0706833ee11d689fa738f9b6543f24e315fa707a61efaefe7fccaa88478cbe5bdcc6d490c2b0cfac580bd96e534bc2eb')

Copied: phantomjs/repos/community-staging-i686/gcc-5.patch (from rev 196926, phantomjs/trunk/gcc-5.patch)
===================================================================
--- community-staging-i686/gcc-5.patch	                        (rev 0)
+++ community-staging-i686/gcc-5.patch	2016-11-26 17:23:12 UTC (rev 196927)
@@ -0,0 +1,17 @@
+diff -up qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp.than 
+qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp
+--- qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp.than	2015-03-18 10:24:38.683352327 
+-0400
++++ qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp	2015-03-18 10:25:21.953352327 -0400
+@@ -1909,6 +1909,10 @@ void JSObject::putByIndexBeyondVectorLen
+     }
+ }
+ 
++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<ContiguousShape>(ExecState* exec, unsigned i, JSValue value);
++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<DoubleShape>(ExecState* exec, unsigned i, JSValue value);
++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<Int32Shape>(ExecState* exec, unsigned i, JSValue value);
++
+ void JSObject::putByIndexBeyondVectorLengthWithArrayStorage(ExecState* exec, unsigned i, JSValue value, bool shouldThrow, ArrayStorage* storage)
+ {
+     VM& vm = exec->vm();
+

Copied: phantomjs/repos/community-staging-x86_64/PKGBUILD (from rev 196926, phantomjs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-11-26 17:23:12 UTC (rev 196927)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: grimsock <lord.grimsock at gmail dot com>
+# Contributor: Dieter Plaetinck <dieter at plaetinck.be>
+# Contributor: Vladimir Chizhov <jagoterr at gmail.com>
+# Contributor: Henry Tang <henryykt at gmail.com>
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=4
+pkgdesc="Headless WebKit with JavaScript API"
+url="http://www.phantomjs.org/"
+license=('BSD' 'LGPL' 'MIT')
+arch=('i686' 'x86_64')
+depends=('icu' 'libjpeg-turbo' 'libpng' 'fontconfig' 'gperf' 'ruby' 'python2')
+makedepends=('git')
+source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver"
+        gcc-5.patch)
+
+prepare() {
+  mkdir "$srcdir/python2-path"
+  ln -s /usr/bin/python2 "$srcdir/python2-path/python"
+}
+
+build() {
+  cd $pkgname
+  export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 
+  
+  python2 build.py --confirm --release --qt-config='-no-rpath'
+}
+
+package() {
+  install -Dm755 "$srcdir/$pkgname/bin/phantomjs" "$pkgdir/usr/bin/phantomjs"
+
+  mkdir -p "$pkgdir/usr/share/$pkgname"
+  cp -r "$srcdir/$pkgname/examples" "$pkgdir/usr/share/$pkgname"/
+
+  install -Dm644 "$srcdir/$pkgname/LICENSE.BSD" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.BSD"
+  install -Dm644 "$srcdir/$pkgname/third-party.txt" "$pkgdir/usr/share/licenses/$pkgname/third-party.txt"
+}
+
+sha512sums=('SKIP'
+            '9c584fb049c1c32d9ca640c44ed42beb0706833ee11d689fa738f9b6543f24e315fa707a61efaefe7fccaa88478cbe5bdcc6d490c2b0cfac580bd96e534bc2eb')

Copied: phantomjs/repos/community-staging-x86_64/gcc-5.patch (from rev 196926, phantomjs/trunk/gcc-5.patch)
===================================================================
--- community-staging-x86_64/gcc-5.patch	                        (rev 0)
+++ community-staging-x86_64/gcc-5.patch	2016-11-26 17:23:12 UTC (rev 196927)
@@ -0,0 +1,17 @@
+diff -up qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp.than 
+qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp
+--- qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp.than	2015-03-18 10:24:38.683352327 
+-0400
++++ qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp	2015-03-18 10:25:21.953352327 -0400
+@@ -1909,6 +1909,10 @@ void JSObject::putByIndexBeyondVectorLen
+     }
+ }
+ 
++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<ContiguousShape>(ExecState* exec, unsigned i, JSValue value);
++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<DoubleShape>(ExecState* exec, unsigned i, JSValue value);
++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<Int32Shape>(ExecState* exec, unsigned i, JSValue value);
++
+ void JSObject::putByIndexBeyondVectorLengthWithArrayStorage(ExecState* exec, unsigned i, JSValue value, bool shouldThrow, ArrayStorage* storage)
+ {
+     VM& vm = exec->vm();
+



More information about the arch-commits mailing list