[arch-commits] Commit in nodejs-lts-boron/repos (8 files)
Bruno Pagani
archange at archlinux.org
Mon Jul 17 18:55:33 UTC 2017
Date: Monday, July 17, 2017 @ 18:55:32
Author: archange
Revision: 245513
archrelease: copy trunk to community-i686, community-x86_64
Added:
nodejs-lts-boron/repos/community-i686/PKGBUILD
(from rev 245512, nodejs-lts-boron/trunk/PKGBUILD)
nodejs-lts-boron/repos/community-i686/fix-gcc7.patch
(from rev 245512, nodejs-lts-boron/trunk/fix-gcc7.patch)
nodejs-lts-boron/repos/community-x86_64/PKGBUILD
(from rev 245512, nodejs-lts-boron/trunk/PKGBUILD)
nodejs-lts-boron/repos/community-x86_64/fix-gcc7.patch
(from rev 245512, nodejs-lts-boron/trunk/fix-gcc7.patch)
Deleted:
nodejs-lts-boron/repos/community-i686/PKGBUILD
nodejs-lts-boron/repos/community-i686/fix-gcc7.patch
nodejs-lts-boron/repos/community-x86_64/PKGBUILD
nodejs-lts-boron/repos/community-x86_64/fix-gcc7.patch
---------------------------------+
/PKGBUILD | 130 +++++++++++++++++++++++++++++++++++
/fix-gcc7.patch | 140 ++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 65 -----------------
community-i686/fix-gcc7.patch | 70 -------------------
community-x86_64/PKGBUILD | 65 -----------------
community-x86_64/fix-gcc7.patch | 70 -------------------
6 files changed, 270 insertions(+), 270 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-07-17 18:48:36 UTC (rev 245512)
+++ community-i686/PKGBUILD 2017-07-17 18:55:32 UTC (rev 245513)
@@ -1,65 +0,0 @@
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
-
-pkgname=nodejs-lts-boron
-pkgver=6.11.0
-pkgrel=1
-pkgdesc='Evented I/O for V8 javascript (LTS release: Boron)'
-arch=('i686' 'x86_64')
-url='https://nodejs.org/'
-license=('MIT')
-depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares')
-makedepends=('python2' 'procps-ng')
-optdepends=('npm: nodejs package manager')
-provides=('nodejs')
-conflicts=('nodejs')
-source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz"
- 'fix-gcc7.patch')
-sha256sums=('02ba35391edea2b294c736489af01954ce6e6c39d318f4423ae6617c69ef0a51'
- 'f2044670abfda0d17690bb36c4124f97e4a915e726de6fa0a12da70d018863b3')
-
-prepare() {
- cd node-v${pkgver}
-
- patch -p1 -i ../fix-gcc7.patch
-
- msg 'Fixing for python2 name'
- find -type f -exec sed \
- -e 's_^#!/usr/bin/env python$_&2_' \
- -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \
- -e 's_^#!/usr/bin/python$_&2_' \
- -e 's_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\
- -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\
- -e "s_'python'_'python2'_" -i {} \;
- find test/ -type f -exec sed 's_python _python2 _' -i {} \;
-}
-
-build() {
- cd node-v${pkgver}
- export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
- export PYTHON=python2
- ./configure \
- --prefix=/usr \
- --with-intl=system-icu \
- --without-npm \
- --shared-openssl \
- --shared-zlib \
- --shared-libuv \
- --shared-http-parser \
- --shared-cares
-
- make
-}
-
-check() {
- cd node-v${pkgver}
- # At least two expected failures because of OpenSSL 1.1 vs 1.0
- make test || warning "Tests failed"
-}
-
-package() {
- cd node-v${pkgver}
-
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/nodejs/LICENSE
-}
Copied: nodejs-lts-boron/repos/community-i686/PKGBUILD (from rev 245512, nodejs-lts-boron/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-07-17 18:55:32 UTC (rev 245513)
@@ -0,0 +1,65 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+
+pkgname=nodejs-lts-boron
+pkgver=6.11.1
+pkgrel=1
+pkgdesc='Evented I/O for V8 javascript (LTS release: Boron)'
+arch=('i686' 'x86_64')
+url='https://nodejs.org/'
+license=('MIT')
+depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares')
+makedepends=('python2' 'procps-ng')
+optdepends=('npm: nodejs package manager')
+provides=('nodejs')
+conflicts=('nodejs')
+source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz"
+ 'fix-gcc7.patch')
+sha256sums=('6f6655b85919aa54cb045a6d69a226849802fcc26491d0db4ce59873e41cc2b8'
+ 'f2044670abfda0d17690bb36c4124f97e4a915e726de6fa0a12da70d018863b3')
+
+prepare() {
+ cd node-v${pkgver}
+
+ patch -p1 -i ../fix-gcc7.patch
+
+ msg 'Fixing for python2 name'
+ find -type f -exec sed \
+ -e 's_^#!/usr/bin/env python$_&2_' \
+ -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \
+ -e 's_^#!/usr/bin/python$_&2_' \
+ -e 's_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\
+ -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\
+ -e "s_'python'_'python2'_" -i {} \;
+ find test/ -type f -exec sed 's_python _python2 _' -i {} \;
+}
+
+build() {
+ cd node-v${pkgver}
+ export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
+ export PYTHON=python2
+ ./configure \
+ --prefix=/usr \
+ --with-intl=system-icu \
+ --without-npm \
+ --shared-openssl \
+ --shared-zlib \
+ --shared-libuv \
+ --shared-http-parser \
+ --shared-cares
+
+ make
+}
+
+check() {
+ cd node-v${pkgver}
+ # At least two expected failures because of OpenSSL 1.1 vs 1.0
+ make test || warning "Tests failed"
+}
+
+package() {
+ cd node-v${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/nodejs/LICENSE
+}
Deleted: community-i686/fix-gcc7.patch
===================================================================
--- community-i686/fix-gcc7.patch 2017-07-17 18:48:36 UTC (rev 245512)
+++ community-i686/fix-gcc7.patch 2017-07-17 18:55:32 UTC (rev 245513)
@@ -1,70 +0,0 @@
---- a/deps/v8/src/objects-body-descriptors.h
-+++ b/deps/v8/src/objects-body-descriptors.h
-@@ -99,7 +99,7 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {
-
- template <typename StaticVisitor>
- static inline void IterateBody(HeapObject* obj, int object_size) {
-- IterateBody(obj);
-+ IterateBody<StaticVisitor>(obj);
- }
- };
-
---- a/deps/v8/src/objects-inl.h
-+++ b/deps/v8/src/objects-inl.h
-@@ -36,6 +36,27 @@
- namespace v8 {
- namespace internal {
-
-+template <typename Derived, typename Shape, typename Key>
-+uint32_t HashTable<Derived, Shape, Key>::Hash(Key key) {
-+ if (Shape::UsesSeed) {
-+ return Shape::SeededHash(key, GetHeap()->HashSeed());
-+ } else {
-+ return Shape::Hash(key);
-+ }
-+}
-+
-+
-+template <typename Derived, typename Shape, typename Key>
-+uint32_t HashTable<Derived, Shape, Key>::HashForObject(Key key,
-+ Object* object) {
-+ if (Shape::UsesSeed) {
-+ return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
-+ } else {
-+ return Shape::HashForObject(key, object);
-+ }
-+}
-+
-+
- PropertyDetails::PropertyDetails(Smi* smi) {
- value_ = smi->value();
- }
---- a/deps/v8/src/objects.h
-+++ b/deps/v8/src/objects.h
-@@ -3261,22 +3261,10 @@ class HashTableBase : public FixedArray {
- template <typename Derived, typename Shape, typename Key>
- class HashTable : public HashTableBase {
- public:
-- // Wrapper methods
-- inline uint32_t Hash(Key key) {
-- if (Shape::UsesSeed) {
-- return Shape::SeededHash(key, GetHeap()->HashSeed());
-- } else {
-- return Shape::Hash(key);
-- }
-- }
--
-- inline uint32_t HashForObject(Key key, Object* object) {
-- if (Shape::UsesSeed) {
-- return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
-- } else {
-- return Shape::HashForObject(key, object);
-- }
-- }
-+ // Wrapper methods. Defined in src/objects-inl.h
-+ // to break a cycle with src/heap/heap.h.
-+ inline uint32_t Hash(Key key);
-+ inline uint32_t HashForObject(Key key, Object* object);
-
- // Returns a new HashTable object.
- MUST_USE_RESULT static Handle<Derived> New(
Copied: nodejs-lts-boron/repos/community-i686/fix-gcc7.patch (from rev 245512, nodejs-lts-boron/trunk/fix-gcc7.patch)
===================================================================
--- community-i686/fix-gcc7.patch (rev 0)
+++ community-i686/fix-gcc7.patch 2017-07-17 18:55:32 UTC (rev 245513)
@@ -0,0 +1,70 @@
+--- a/deps/v8/src/objects-body-descriptors.h
++++ b/deps/v8/src/objects-body-descriptors.h
+@@ -99,7 +99,7 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {
+
+ template <typename StaticVisitor>
+ static inline void IterateBody(HeapObject* obj, int object_size) {
+- IterateBody(obj);
++ IterateBody<StaticVisitor>(obj);
+ }
+ };
+
+--- a/deps/v8/src/objects-inl.h
++++ b/deps/v8/src/objects-inl.h
+@@ -36,6 +36,27 @@
+ namespace v8 {
+ namespace internal {
+
++template <typename Derived, typename Shape, typename Key>
++uint32_t HashTable<Derived, Shape, Key>::Hash(Key key) {
++ if (Shape::UsesSeed) {
++ return Shape::SeededHash(key, GetHeap()->HashSeed());
++ } else {
++ return Shape::Hash(key);
++ }
++}
++
++
++template <typename Derived, typename Shape, typename Key>
++uint32_t HashTable<Derived, Shape, Key>::HashForObject(Key key,
++ Object* object) {
++ if (Shape::UsesSeed) {
++ return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
++ } else {
++ return Shape::HashForObject(key, object);
++ }
++}
++
++
+ PropertyDetails::PropertyDetails(Smi* smi) {
+ value_ = smi->value();
+ }
+--- a/deps/v8/src/objects.h
++++ b/deps/v8/src/objects.h
+@@ -3261,22 +3261,10 @@ class HashTableBase : public FixedArray {
+ template <typename Derived, typename Shape, typename Key>
+ class HashTable : public HashTableBase {
+ public:
+- // Wrapper methods
+- inline uint32_t Hash(Key key) {
+- if (Shape::UsesSeed) {
+- return Shape::SeededHash(key, GetHeap()->HashSeed());
+- } else {
+- return Shape::Hash(key);
+- }
+- }
+-
+- inline uint32_t HashForObject(Key key, Object* object) {
+- if (Shape::UsesSeed) {
+- return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
+- } else {
+- return Shape::HashForObject(key, object);
+- }
+- }
++ // Wrapper methods. Defined in src/objects-inl.h
++ // to break a cycle with src/heap/heap.h.
++ inline uint32_t Hash(Key key);
++ inline uint32_t HashForObject(Key key, Object* object);
+
+ // Returns a new HashTable object.
+ MUST_USE_RESULT static Handle<Derived> New(
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-07-17 18:48:36 UTC (rev 245512)
+++ community-x86_64/PKGBUILD 2017-07-17 18:55:32 UTC (rev 245513)
@@ -1,65 +0,0 @@
-# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
-
-pkgname=nodejs-lts-boron
-pkgver=6.11.0
-pkgrel=1
-pkgdesc='Evented I/O for V8 javascript (LTS release: Boron)'
-arch=('i686' 'x86_64')
-url='https://nodejs.org/'
-license=('MIT')
-depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares')
-makedepends=('python2' 'procps-ng')
-optdepends=('npm: nodejs package manager')
-provides=('nodejs')
-conflicts=('nodejs')
-source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz"
- 'fix-gcc7.patch')
-sha256sums=('02ba35391edea2b294c736489af01954ce6e6c39d318f4423ae6617c69ef0a51'
- 'f2044670abfda0d17690bb36c4124f97e4a915e726de6fa0a12da70d018863b3')
-
-prepare() {
- cd node-v${pkgver}
-
- patch -p1 -i ../fix-gcc7.patch
-
- msg 'Fixing for python2 name'
- find -type f -exec sed \
- -e 's_^#!/usr/bin/env python$_&2_' \
- -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \
- -e 's_^#!/usr/bin/python$_&2_' \
- -e 's_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\
- -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\
- -e "s_'python'_'python2'_" -i {} \;
- find test/ -type f -exec sed 's_python _python2 _' -i {} \;
-}
-
-build() {
- cd node-v${pkgver}
- export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
- export PYTHON=python2
- ./configure \
- --prefix=/usr \
- --with-intl=system-icu \
- --without-npm \
- --shared-openssl \
- --shared-zlib \
- --shared-libuv \
- --shared-http-parser \
- --shared-cares
-
- make
-}
-
-check() {
- cd node-v${pkgver}
- # At least two expected failures because of OpenSSL 1.1 vs 1.0
- make test || warning "Tests failed"
-}
-
-package() {
- cd node-v${pkgver}
-
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/nodejs/LICENSE
-}
Copied: nodejs-lts-boron/repos/community-x86_64/PKGBUILD (from rev 245512, nodejs-lts-boron/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-07-17 18:55:32 UTC (rev 245513)
@@ -0,0 +1,65 @@
+# Maintainer: Bruno Pagani (a.k.a. ArchangeGabriel) <archange at archlinux.org>
+
+pkgname=nodejs-lts-boron
+pkgver=6.11.1
+pkgrel=1
+pkgdesc='Evented I/O for V8 javascript (LTS release: Boron)'
+arch=('i686' 'x86_64')
+url='https://nodejs.org/'
+license=('MIT')
+depends=('openssl-1.0' 'zlib' 'icu' 'libuv' 'http-parser' 'c-ares')
+makedepends=('python2' 'procps-ng')
+optdepends=('npm: nodejs package manager')
+provides=('nodejs')
+conflicts=('nodejs')
+source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz"
+ 'fix-gcc7.patch')
+sha256sums=('6f6655b85919aa54cb045a6d69a226849802fcc26491d0db4ce59873e41cc2b8'
+ 'f2044670abfda0d17690bb36c4124f97e4a915e726de6fa0a12da70d018863b3')
+
+prepare() {
+ cd node-v${pkgver}
+
+ patch -p1 -i ../fix-gcc7.patch
+
+ msg 'Fixing for python2 name'
+ find -type f -exec sed \
+ -e 's_^#!/usr/bin/env python$_&2_' \
+ -e 's_^\(#!/usr/bin/python2\).[45]$_\1_' \
+ -e 's_^#!/usr/bin/python$_&2_' \
+ -e 's_^\( *exec \+\)python\( \+.*\)$_\1python2\2_'\
+ -e 's_^\(.*\)python\( \+-c \+.*\)$_\1python2\2_'\
+ -e "s_'python'_'python2'_" -i {} \;
+ find test/ -type f -exec sed 's_python _python2 _' -i {} \;
+}
+
+build() {
+ cd node-v${pkgver}
+ export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
+ export PYTHON=python2
+ ./configure \
+ --prefix=/usr \
+ --with-intl=system-icu \
+ --without-npm \
+ --shared-openssl \
+ --shared-zlib \
+ --shared-libuv \
+ --shared-http-parser \
+ --shared-cares
+
+ make
+}
+
+check() {
+ cd node-v${pkgver}
+ # At least two expected failures because of OpenSSL 1.1 vs 1.0
+ make test || warning "Tests failed"
+}
+
+package() {
+ cd node-v${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/nodejs/LICENSE
+}
Deleted: community-x86_64/fix-gcc7.patch
===================================================================
--- community-x86_64/fix-gcc7.patch 2017-07-17 18:48:36 UTC (rev 245512)
+++ community-x86_64/fix-gcc7.patch 2017-07-17 18:55:32 UTC (rev 245513)
@@ -1,70 +0,0 @@
---- a/deps/v8/src/objects-body-descriptors.h
-+++ b/deps/v8/src/objects-body-descriptors.h
-@@ -99,7 +99,7 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {
-
- template <typename StaticVisitor>
- static inline void IterateBody(HeapObject* obj, int object_size) {
-- IterateBody(obj);
-+ IterateBody<StaticVisitor>(obj);
- }
- };
-
---- a/deps/v8/src/objects-inl.h
-+++ b/deps/v8/src/objects-inl.h
-@@ -36,6 +36,27 @@
- namespace v8 {
- namespace internal {
-
-+template <typename Derived, typename Shape, typename Key>
-+uint32_t HashTable<Derived, Shape, Key>::Hash(Key key) {
-+ if (Shape::UsesSeed) {
-+ return Shape::SeededHash(key, GetHeap()->HashSeed());
-+ } else {
-+ return Shape::Hash(key);
-+ }
-+}
-+
-+
-+template <typename Derived, typename Shape, typename Key>
-+uint32_t HashTable<Derived, Shape, Key>::HashForObject(Key key,
-+ Object* object) {
-+ if (Shape::UsesSeed) {
-+ return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
-+ } else {
-+ return Shape::HashForObject(key, object);
-+ }
-+}
-+
-+
- PropertyDetails::PropertyDetails(Smi* smi) {
- value_ = smi->value();
- }
---- a/deps/v8/src/objects.h
-+++ b/deps/v8/src/objects.h
-@@ -3261,22 +3261,10 @@ class HashTableBase : public FixedArray {
- template <typename Derived, typename Shape, typename Key>
- class HashTable : public HashTableBase {
- public:
-- // Wrapper methods
-- inline uint32_t Hash(Key key) {
-- if (Shape::UsesSeed) {
-- return Shape::SeededHash(key, GetHeap()->HashSeed());
-- } else {
-- return Shape::Hash(key);
-- }
-- }
--
-- inline uint32_t HashForObject(Key key, Object* object) {
-- if (Shape::UsesSeed) {
-- return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
-- } else {
-- return Shape::HashForObject(key, object);
-- }
-- }
-+ // Wrapper methods. Defined in src/objects-inl.h
-+ // to break a cycle with src/heap/heap.h.
-+ inline uint32_t Hash(Key key);
-+ inline uint32_t HashForObject(Key key, Object* object);
-
- // Returns a new HashTable object.
- MUST_USE_RESULT static Handle<Derived> New(
Copied: nodejs-lts-boron/repos/community-x86_64/fix-gcc7.patch (from rev 245512, nodejs-lts-boron/trunk/fix-gcc7.patch)
===================================================================
--- community-x86_64/fix-gcc7.patch (rev 0)
+++ community-x86_64/fix-gcc7.patch 2017-07-17 18:55:32 UTC (rev 245513)
@@ -0,0 +1,70 @@
+--- a/deps/v8/src/objects-body-descriptors.h
++++ b/deps/v8/src/objects-body-descriptors.h
+@@ -99,7 +99,7 @@ class FixedBodyDescriptor final : public BodyDescriptorBase {
+
+ template <typename StaticVisitor>
+ static inline void IterateBody(HeapObject* obj, int object_size) {
+- IterateBody(obj);
++ IterateBody<StaticVisitor>(obj);
+ }
+ };
+
+--- a/deps/v8/src/objects-inl.h
++++ b/deps/v8/src/objects-inl.h
+@@ -36,6 +36,27 @@
+ namespace v8 {
+ namespace internal {
+
++template <typename Derived, typename Shape, typename Key>
++uint32_t HashTable<Derived, Shape, Key>::Hash(Key key) {
++ if (Shape::UsesSeed) {
++ return Shape::SeededHash(key, GetHeap()->HashSeed());
++ } else {
++ return Shape::Hash(key);
++ }
++}
++
++
++template <typename Derived, typename Shape, typename Key>
++uint32_t HashTable<Derived, Shape, Key>::HashForObject(Key key,
++ Object* object) {
++ if (Shape::UsesSeed) {
++ return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
++ } else {
++ return Shape::HashForObject(key, object);
++ }
++}
++
++
+ PropertyDetails::PropertyDetails(Smi* smi) {
+ value_ = smi->value();
+ }
+--- a/deps/v8/src/objects.h
++++ b/deps/v8/src/objects.h
+@@ -3261,22 +3261,10 @@ class HashTableBase : public FixedArray {
+ template <typename Derived, typename Shape, typename Key>
+ class HashTable : public HashTableBase {
+ public:
+- // Wrapper methods
+- inline uint32_t Hash(Key key) {
+- if (Shape::UsesSeed) {
+- return Shape::SeededHash(key, GetHeap()->HashSeed());
+- } else {
+- return Shape::Hash(key);
+- }
+- }
+-
+- inline uint32_t HashForObject(Key key, Object* object) {
+- if (Shape::UsesSeed) {
+- return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object);
+- } else {
+- return Shape::HashForObject(key, object);
+- }
+- }
++ // Wrapper methods. Defined in src/objects-inl.h
++ // to break a cycle with src/heap/heap.h.
++ inline uint32_t Hash(Key key);
++ inline uint32_t HashForObject(Key key, Object* object);
+
+ // Returns a new HashTable object.
+ MUST_USE_RESULT static Handle<Derived> New(
More information about the arch-commits
mailing list