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

2017-05-19 Thread Jan de Groot
Date: Friday, May 19, 2017 @ 09:36:55
  Author: jgc
Revision: 228521

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 228520, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/icu59.patch
(from rev 228520, phantomjs/trunk/icu59.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 228520, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/icu59.patch
(from rev 228520, phantomjs/trunk/icu59.patch)

--+
 community-staging-i686/PKGBUILD  |   48 +
 community-staging-i686/icu59.patch   |   38 ++
 community-staging-x86_64/PKGBUILD|   48 +
 community-staging-x86_64/icu59.patch |   38 ++
 4 files changed, 172 insertions(+)

Copied: phantomjs/repos/community-staging-i686/PKGBUILD (from rev 228520, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-19 09:36:55 UTC (rev 228521)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=8
+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' 
'openssl-1.0')
+makedepends=('git')
+source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver;
+icu59.patch)
+sha512sums=('SKIP'
+
'e349a14c5d32e5627f28be6ebd20104370ec6b7f086f670e7f19b484b38839220cfeb49178765f38d918d05fb889bbc990f8a3809db6d9e1cbde0af5b9dd923b')
+
+prepare() {
+  cd $pkgname
+  git submodule update --init
+  patch -Np1 -d src/qt/qtwebkit <../icu59.patch
+  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
+  export CXXFLAGS+=" -I/usr/include/openssl-1.0"
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  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"
+}
+

Copied: phantomjs/repos/community-staging-i686/icu59.patch (from rev 228520, 
phantomjs/trunk/icu59.patch)
===
--- community-staging-i686/icu59.patch  (rev 0)
+++ community-staging-i686/icu59.patch  2017-05-19 09:36:55 UTC (rev 228521)
@@ -0,0 +1,38 @@
+--- qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h.orig 
2015-10-13 06:37:10.0 +0200
 qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h  
2017-04-24 12:26:42.495345570 +0200
+@@ -32,6 +32,7 @@
+ #include 
+ #endif
+ #include  /* for size_t */
++#include 
+ 
+ #ifdef __cplusplus
+ extern "C" {
+@@ -43,7 +44,7 @@
+ @typedef JSChar
+ @abstract A Unicode character.
+ */
+-typedef unsigned short JSChar;
++typedef char16_t JSChar;
+ #else
+ typedef wchar_t JSChar;
+ #endif
+--- qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h.orig  
2015-10-13 06:37:12.0 +0200
 qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h   
2017-04-24 12:27:33.432011867 +0200
+@@ -31,6 +31,7 @@
+ #ifndef __cplusplus
+ #include 
+ #endif
++#include 
+ 
+ #ifdef __cplusplus
+ extern "C" {
+@@ -38,7 +39,7 @@
+ 
+ #if !defined(WIN32) && !defined(_WIN32) \
+ && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* 
RVCT */
+-typedef unsigned short WKChar;
++typedef char16_t WKChar;
+ #else
+ typedef wchar_t WKChar;
+ #endif

Copied: phantomjs/repos/community-staging-x86_64/PKGBUILD (from rev 228520, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-19 09:36:55 UTC (rev 228521)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# 

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

2017-04-26 Thread Evangelos Foutras
Date: Wednesday, April 26, 2017 @ 06:54:22
  Author: foutrelis
Revision: 225395

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 225393, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/icu59.patch
(from rev 225393, phantomjs/trunk/icu59.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 225394, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/icu59.patch
(from rev 225394, phantomjs/trunk/icu59.patch)

--+
 community-staging-i686/PKGBUILD  |   48 +
 community-staging-i686/icu59.patch   |   38 ++
 community-staging-x86_64/PKGBUILD|   48 +
 community-staging-x86_64/icu59.patch |   38 ++
 4 files changed, 172 insertions(+)

Copied: phantomjs/repos/community-staging-i686/PKGBUILD (from rev 225393, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-26 06:54:22 UTC (rev 225395)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=7
+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' 
'openssl-1.0')
+makedepends=('git')
+source=("git+https://github.com/ariya/${pkgname}.git#tag=$pkgver;
+icu59.patch)
+
+prepare() {
+  cd $pkgname
+  git submodule update --init
+  patch -Np1 -d src/qt/qtwebkit <../icu59.patch
+  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
+  export CXXFLAGS+=" -I/usr/include/openssl-1.0"
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  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'
+
'e349a14c5d32e5627f28be6ebd20104370ec6b7f086f670e7f19b484b38839220cfeb49178765f38d918d05fb889bbc990f8a3809db6d9e1cbde0af5b9dd923b')

Copied: phantomjs/repos/community-staging-i686/icu59.patch (from rev 225393, 
phantomjs/trunk/icu59.patch)
===
--- community-staging-i686/icu59.patch  (rev 0)
+++ community-staging-i686/icu59.patch  2017-04-26 06:54:22 UTC (rev 225395)
@@ -0,0 +1,38 @@
+--- qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h.orig 
2015-10-13 06:37:10.0 +0200
 qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/API/JSStringRef.h  
2017-04-24 12:26:42.495345570 +0200
+@@ -32,6 +32,7 @@
+ #include 
+ #endif
+ #include  /* for size_t */
++#include 
+ 
+ #ifdef __cplusplus
+ extern "C" {
+@@ -43,7 +44,7 @@
+ @typedef JSChar
+ @abstract A Unicode character.
+ */
+-typedef unsigned short JSChar;
++typedef char16_t JSChar;
+ #else
+ typedef wchar_t JSChar;
+ #endif
+--- qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h.orig  
2015-10-13 06:37:12.0 +0200
 qtwebkit-opensource-src-5.5.1/Source/WebKit2/Shared/API/c/WKString.h   
2017-04-24 12:27:33.432011867 +0200
+@@ -31,6 +31,7 @@
+ #ifndef __cplusplus
+ #include 
+ #endif
++#include 
+ 
+ #ifdef __cplusplus
+ extern "C" {
+@@ -38,7 +39,7 @@
+ 
+ #if !defined(WIN32) && !defined(_WIN32) \
+ && !((defined(__CC_ARM) || defined(__ARMCC__)) && !defined(__linux__)) /* 
RVCT */
+-typedef unsigned short WKChar;
++typedef char16_t WKChar;
+ #else
+ typedef wchar_t WKChar;
+ #endif

Copied: phantomjs/repos/community-staging-x86_64/PKGBUILD (from rev 225394, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-04-26 06:54:22 UTC (rev 225395)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 

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

2017-04-05 Thread Antonio Rojas
Date: Wednesday, April 5, 2017 @ 12:45:35
  Author: arojas
Revision: 220616

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 220615, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/gcc-5.patch
(from rev 220615, phantomjs/trunk/gcc-5.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 220615, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/gcc-5.patch
(from rev 220615, phantomjs/trunk/gcc-5.patch)

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

Copied: phantomjs/repos/community-staging-i686/PKGBUILD (from rev 220615, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-05 12:45:35 UTC (rev 220616)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=6
+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' 
'openssl-1.0')
+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 
+  export CXXFLAGS+=" -I/usr/include/openssl-1.0"
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  
+  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 220615, 
phantomjs/trunk/gcc-5.patch)
===
--- community-staging-i686/gcc-5.patch  (rev 0)
+++ community-staging-i686/gcc-5.patch  2017-04-05 12:45:35 UTC (rev 220616)
@@ -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(ExecState*
 exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* 
exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(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 220615, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-04-05 12:45:35 UTC (rev 220616)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=6
+pkgdesc="Headless WebKit with JavaScript API"

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

2017-03-22 Thread Jan de Groot
Date: Wednesday, March 22, 2017 @ 15:23:14
  Author: jgc
Revision: 218395

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 218394, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/gcc-5.patch
(from rev 218394, phantomjs/trunk/gcc-5.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 218394, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/gcc-5.patch
(from rev 218394, phantomjs/trunk/gcc-5.patch)

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

Copied: phantomjs/repos/community-staging-i686/PKGBUILD (from rev 218394, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-03-22 15:23:14 UTC (rev 218395)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=5
+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' 
'openssl-1.0')
+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 
+  export CXXFLAGS+=" -I/usr/include/openssl-1.0"
+  export OPENSSL_LIBS='-L/usr/lib/openssl-1.0 -lssl -lcrypto'
+
+  
+  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 218394, 
phantomjs/trunk/gcc-5.patch)
===
--- community-staging-i686/gcc-5.patch  (rev 0)
+++ community-staging-i686/gcc-5.patch  2017-03-22 15:23:14 UTC (rev 218395)
@@ -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(ExecState*
 exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* 
exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(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 218394, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-03-22 15:23:14 UTC (rev 218395)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=5
+pkgdesc="Headless WebKit with JavaScript API"

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

2016-11-26 Thread Evangelos Foutras
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 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+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(ExecState*
 exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* 
exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(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 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+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' 

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

2016-04-02 Thread Felix Yan
Date: Saturday, April 2, 2016 @ 22:50:47
  Author: fyan
Revision: 169282

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 169281, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/gcc-5.patch
(from rev 169281, phantomjs/trunk/gcc-5.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 169281, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/gcc-5.patch
(from rev 169281, 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 169281, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-02 20:50:47 UTC (rev 169282)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=3
+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 169281, 
phantomjs/trunk/gcc-5.patch)
===
--- community-staging-i686/gcc-5.patch  (rev 0)
+++ community-staging-i686/gcc-5.patch  2016-04-02 20:50:47 UTC (rev 169282)
@@ -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(ExecState*
 exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* 
exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(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 169281, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-02 20:50:47 UTC (rev 169282)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=3
+pkgdesc="Headless WebKit with JavaScript API"
+url="http://www.phantomjs.org/;
+license=('BSD' 'LGPL' 'MIT')
+arch=('i686' 'x86_64')
+depends=('icu' 'libjpeg-turbo' 'libpng' 

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

2016-03-04 Thread Bartłomiej Piotrowski
Date: Friday, March 4, 2016 @ 13:03:54
  Author: bpiotrowski
Revision: 164759

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 164758, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/gcc-5.patch
(from rev 164758, phantomjs/trunk/gcc-5.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 164758, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/gcc-5.patch
(from rev 164758, 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 164758, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-04 12:03:54 UTC (rev 164759)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=2
+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 164758, 
phantomjs/trunk/gcc-5.patch)
===
--- community-staging-i686/gcc-5.patch  (rev 0)
+++ community-staging-i686/gcc-5.patch  2016-03-04 12:03:54 UTC (rev 164759)
@@ -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(ExecState*
 exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* 
exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(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 164758, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-04 12:03:54 UTC (rev 164759)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.1.1
+pkgrel=2
+pkgdesc="Headless WebKit with JavaScript API"
+url="http://www.phantomjs.org/;
+license=('BSD' 'LGPL' 'MIT')
+arch=('i686' 'x86_64')
+depends=('icu' 'libjpeg-turbo' 'libpng' 

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

2015-12-06 Thread Bartłomiej Piotrowski
Date: Monday, December 7, 2015 @ 03:17:22
  Author: bpiotrowski
Revision: 149522

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 149521, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/gcc-5.patch
(from rev 149521, phantomjs/trunk/gcc-5.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 149521, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/gcc-5.patch
(from rev 149521, phantomjs/trunk/gcc-5.patch)

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

Copied: phantomjs/repos/community-staging-i686/PKGBUILD (from rev 149521, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 02:17:22 UTC (rev 149522)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.0.0
+pkgrel=6
+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' 
'gstreamer0.10-base')
+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"
+
+  # https://bugreports.qt.io/browse/QTBUG-44829 / 
https://github.com/ariya/phantomjs/issues/13265
+  (cd $pkgname/src/qt/qtwebkit; patch -p1 -i "$srcdir/gcc-5.patch")
+}
+
+build() {
+  cd $pkgname
+  export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 
+  
+  # shared build requires qt 5.3
+  #sed -i "s/export QMAKE=qmake/export QMAKE=qmake-qt5/" build.sh
+  ./build.sh --confirm --qtdeps=system --qt-config '-no-rpath' # 
--qtwebkit=system
+}
+
+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 149521, 
phantomjs/trunk/gcc-5.patch)
===
--- community-staging-i686/gcc-5.patch  (rev 0)
+++ community-staging-i686/gcc-5.patch  2015-12-07 02:17:22 UTC (rev 149522)
@@ -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(ExecState*
 exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* 
exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(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 149521, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-07 02:17:22 UTC (rev 149522)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# 

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

2015-11-01 Thread Felix Yan
Date: Sunday, November 1, 2015 @ 17:31:21
  Author: fyan
Revision: 145456

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 145455, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-i686/gcc-5.patch
(from rev 145455, phantomjs/trunk/gcc-5.patch)
  phantomjs/repos/community-staging-x86_64/
  phantomjs/repos/community-staging-x86_64/PKGBUILD
(from rev 145455, phantomjs/trunk/PKGBUILD)
  phantomjs/repos/community-staging-x86_64/gcc-5.patch
(from rev 145455, phantomjs/trunk/gcc-5.patch)

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

Copied: phantomjs/repos/community-staging-i686/PKGBUILD (from rev 145455, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-11-01 16:31:21 UTC (rev 145456)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: Vladimir Chizhov 
+# Contributor: Henry Tang 
+
+pkgname=phantomjs
+pkgver=2.0.0
+pkgrel=5
+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' 
'gstreamer0.10-base')
+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"
+
+  # https://bugreports.qt.io/browse/QTBUG-44829 / 
https://github.com/ariya/phantomjs/issues/13265
+  (cd $pkgname/src/qt/qtwebkit; patch -p1 -i "$srcdir/gcc-5.patch")
+}
+
+build() {
+  cd $pkgname
+  export PATH="$srcdir/python2-path:$PATH" PYTHON=/usr/bin/python2 
+  
+  # shared build requires qt 5.3
+  #sed -i "s/export QMAKE=qmake/export QMAKE=qmake-qt5/" build.sh
+  ./build.sh --confirm --qtdeps=system --qt-config '-no-rpath' # 
--qtwebkit=system
+}
+
+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 145455, 
phantomjs/trunk/gcc-5.patch)
===
--- community-staging-i686/gcc-5.patch  (rev 0)
+++ community-staging-i686/gcc-5.patch  2015-11-01 16:31:21 UTC (rev 145456)
@@ -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(ExecState*
 exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* 
exec, unsigned i, JSValue value);
++template void 
JSObject::putByIndexBeyondVectorLengthWithoutAttributes(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 145455, 
phantomjs/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-11-01 16:31:21 UTC (rev 145456)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: grimsock 
+# Contributor: Dieter Plaetinck 
+# Contributor: 

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

2015-06-02 Thread Felix Yan
Date: Wednesday, June 3, 2015 @ 06:27:29
  Author: fyan
Revision: 134667

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

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

--+
 /PKGBUILD|   96 +
 community-i686/PKGBUILD  |   41 -
 community-i686/gcc-5.patch   |   17 +++
 community-x86_64/PKGBUILD|   41 -
 community-x86_64/gcc-5.patch |   17 +++
 5 files changed, 130 insertions(+), 82 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-06-03 04:22:34 UTC (rev 134666)
+++ community-i686/PKGBUILD 2015-06-03 04:27:29 UTC (rev 134667)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan felixonm...@archlinux.org
-# Contributor: grimsock lord.grimsock at gmail dot com
-# Contributor: Dieter Plaetinck die...@plaetinck.be
-# Contributor: Vladimir Chizhov jagot...@gmail.com
-# Contributor: Henry Tang henry...@gmail.com
-
-pkgname=phantomjs
-pkgver=2.0.0
-pkgrel=3
-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' 
'gstreamer0.10-base')
-makedepends=('git')
-source=(git+https://github.com/ariya/${pkgname}.git#tag=$pkgver;)
-
-build() {
-  cd $pkgname
-  
-  mkdir $srcdir/python2-path
-  ln -s /usr/bin/python2 $srcdir/python2-path/python
-  export PATH=$srcdir/python2-path:$PATH PYTHON=/usr/bin/python2 
-  
-  # shared build requires qt 5.3
-  #sed -i s/export QMAKE=qmake/export QMAKE=qmake-qt5/ build.sh
-  ./build.sh --confirm --qtdeps=system --qt-config '-no-rpath' # 
--qtwebkit=system
-}
-
-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')

Copied: phantomjs/repos/community-i686/PKGBUILD (from rev 134666, 
phantomjs/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-06-03 04:27:29 UTC (rev 134667)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@archlinux.org
+# Contributor: grimsock lord.grimsock at gmail dot com
+# Contributor: Dieter Plaetinck die...@plaetinck.be
+# Contributor: Vladimir Chizhov jagot...@gmail.com
+# Contributor: Henry Tang henry...@gmail.com
+
+pkgname=phantomjs
+pkgver=2.0.0
+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' 
'gstreamer0.10-base')
+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
+
+  # https://bugreports.qt.io/browse/QTBUG-44829 / 
https://github.com/ariya/phantomjs/issues/13265
+  (cd $pkgname/src/qt/qtwebkit; patch -p1 -i $srcdir/gcc-5.patch)
+}
+
+build() {
+  cd $pkgname
+  export PATH=$srcdir/python2-path:$PATH PYTHON=/usr/bin/python2 
+  
+  # shared build requires qt 5.3
+  #sed -i s/export QMAKE=qmake/export QMAKE=qmake-qt5/ build.sh
+  ./build.sh --confirm --qtdeps=system --qt-config '-no-rpath' # 
--qtwebkit=system
+}
+
+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-i686/gcc-5.patch (from rev 134666, 
phantomjs/trunk/gcc-5.patch)
===
--- community-i686/gcc-5.patch  (rev 0)
+++