[arch-commits] Commit in zcash/trunk (PKGBUILD boost-no-mt-suffix.patch)

2018-01-17 Thread Nicola Squartini via arch-commits
Date: Wednesday, January 17, 2018 @ 16:14:11
  Author: tensor5
Revision: 283737

upgpkg: zcash 1.0.14-1

Modified:
  zcash/trunk/PKGBUILD
  zcash/trunk/boost-no-mt-suffix.patch

--+
 PKGBUILD |   14 +++---
 boost-no-mt-suffix.patch |   14 +++---
 2 files changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-01-17 16:14:06 UTC (rev 283736)
+++ PKGBUILD2018-01-17 16:14:11 UTC (rev 283737)
@@ -2,21 +2,21 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=zcash
-pkgver=1.0.13
-_commit=3ee1d04a8dff26e81aaf17095a0e2472bc70cf36
-pkgrel=2
+pkgver=1.0.14
+_commit=1ddecf644f6bab29545bb6333889fb059eb7970e
+pkgrel=1
 pkgdesc='Permissionless financial system employing zero-knowledge security'
 arch=('x86_64')
 url='https://z.cash/'
 license=('MIT')
 depends=('boost-libs' 'libevent' 'zeromq')
-makedepends=('boost' 'cargo' 'cmake' 'git' 'python' 'wget')
+makedepends=('boost' 'cargo' 'cmake' 'git' 'gmock' 'python' 'wget')
 checkdepends=('python' 'python2' 'python2-pyzmq')
 source=("git+https://github.com/zcash/zcash.git#commit=${_commit};
 "boost-no-mt-suffix.patch"
 "use-system-rust.patch")
 sha512sums=('SKIP'
-
'52fe5fb312d310514d70961b8c5c9afd6559b6bd36d531eb08c08264f2071cd94f4f569633e604b4e6e127a40511319ced1ccbe796ae5fc70453352ab15239f7'
+
'fa9ac59839ba6c6aabefb24296ae29914acf7089487377e7948fd684e32b1b499e8e15daccd10baf968905ec69ad2da8b91ff2c8d4724412d8143428ed4de23d'
 
'3663373af04318aa72d877f399f0c9e956d289ac876583e70afa2933bf4171f7441a399e043b2d29b1df6d19d29390bb69d4053cad4b75bef903a8685fcd23bf')
 
 prepare() {
@@ -35,7 +35,7 @@
 cd depends
 make install \
 native_packages='' \
-packages='bdb googletest googlemock librustzcash proton'
+packages='bdb librustzcash proton'
 cd ..
 
 CPPFLAGS="${CPPFLAGS} -I$PWD/depends/${CARCH}-unknown-linux-gnu/include"
@@ -59,7 +59,7 @@
 make DESTDIR="${pkgdir}" install
 
 for ext in '-cli' '-tx' 'd'; do
-install -Dm644 contrib/bitcoin${ext}.bash-completion \
+install -Dm644 contrib/zcash${ext}.bash-completion \
 "${pkgdir}"/usr/share/bash-completion/completions/zcash${ext}
 done
 

Modified: boost-no-mt-suffix.patch
===
--- boost-no-mt-suffix.patch2018-01-17 16:14:06 UTC (rev 283736)
+++ boost-no-mt-suffix.patch2018-01-17 16:14:11 UTC (rev 283737)
@@ -1,11 +1,11 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -770,7 +770,7 @@
-   LIBSNARK_DEPINST="$prefix"
- fi
+@@ -720,7 +720,7 @@
+ AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing],[CXXFLAGS="$CXXFLAGS 
-fno-strict-aliasing"])
+ 
AX_CHECK_COMPILE_FLAG([-Wno-builtin-declaration-mismatch],[CXXFLAGS="$CXXFLAGS 
-Wno-builtin-declaration-mismatch"],,[[$CXXFLAG_WERROR]])
  
--LIBZCASH_LIBS="-lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium -fopenmp 
$RUST_LIBS"
-+LIBZCASH_LIBS="-lgmp -lgmpxx -lboost_system -lcrypto -lsodium -fopenmp 
$RUST_LIBS"
+-LIBZCASH_LIBS="-lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium $RUST_LIBS"
++LIBZCASH_LIBS="-lgmp -lgmpxx -lboost_system -lcrypto -lsodium $RUST_LIBS"
  
- CXXFLAGS_TEMP="$CXXFLAGS"
- LIBS_TEMP="$LIBS"
+ AC_MSG_CHECKING([whether to build bitcoind])
+ AM_CONDITIONAL([BUILD_BITCOIND], [test x$build_bitcoind = xyes])


[arch-commits] Commit in zcash/trunk (PKGBUILD boost-no-mt-suffix.patch)

2017-11-22 Thread Nicola Squartini
Date: Wednesday, November 22, 2017 @ 14:32:00
  Author: tensor5
Revision: 268035

upgpkg: zcash 1.0.13-1

Modified:
  zcash/trunk/PKGBUILD
  zcash/trunk/boost-no-mt-suffix.patch

--+
 PKGBUILD |   39 +--
 boost-no-mt-suffix.patch |8 
 2 files changed, 17 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-22 14:30:03 UTC (rev 268034)
+++ PKGBUILD2017-11-22 14:32:00 UTC (rev 268035)
@@ -2,9 +2,9 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=zcash
-pkgver=1.0.12
-_commit=b86b9feb6c3c1727cc3992da2f95c4a4f09a982b
-pkgrel=2
+pkgver=1.0.13
+_commit=3ee1d04a8dff26e81aaf17095a0e2472bc70cf36
+pkgrel=1
 pkgdesc='Permissionless financial system employing zero-knowledge security'
 arch=('x86_64')
 url='https://z.cash/'
@@ -14,11 +14,9 @@
 checkdepends=('python' 'python2' 'python2-pyzmq')
 source=("git+https://github.com/zcash/zcash.git#commit=${_commit};
 "boost-no-mt-suffix.patch"
-"use-system-libraries.patch"
 "use-system-rust.patch")
 sha256sums=('SKIP'
-'15389fe2741b8641d39b9fc0cd155e919d09e6d9317b79d0f4f1bcefb798766c'
-'ef8ab26635bb2608f03ddf991da3581060670161938171fa2e413758fa4bad3f'
+'de84cf8c0ee530958300bcd9d92c59f5adb5ccabcf7fbc79ace856b0461d394c'
 '065cd418ca7be72018c7fdada3012872bd079a254a95560312514594381b8028')
 
 prepare() {
@@ -25,27 +23,19 @@
 cd ${pkgname}
 
 # Set gitattributes on src/clientversion.cpp
-mkdir ../${pkgname}-${pkgver}
-git archive ${_commit} | tar -xC ../${pkgname}-${pkgver}
-cd ../${pkgname}-${pkgver}
+git archive --format=tar ${_commit} -- src/clientversion.cpp | tar -xf -
 
 patch -Np1 -i ../boost-no-mt-suffix.patch
-patch -Np1 -i ../use-system-libraries.patch
 patch -Np1 -i ../use-system-rust.patch
 }
 
 build() {
-cd ${pkgname}-${pkgver}
+cd ${pkgname}
 
 cd depends
-libs=('bdb' 'googletest' 'googlemock' 'librustzcash' 'libsnark' 'proton')
-for lib in "${libs[@]}"; do
-make ${lib}
-done
-for lib in "${libs[@]}"; do
-tar -xzf built/${CARCH}-unknown-linux-gnu/${lib}/${lib}-*.tar.gz \
--C ${CARCH}-unknown-linux-gnu
-done
+make install \
+native_packages='' \
+packages='bdb googletest googlemock librustzcash proton'
 cd ..
 
 CPPFLAGS="${CPPFLAGS} -I$PWD/depends/${CARCH}-unknown-linux-gnu/include"
@@ -52,22 +42,19 @@
 LDFLAGS="${LDFLAGS} -L${PWD}/depends/${CARCH}-unknown-linux-gnu/lib 
-L${PWD}/depends/x86_64-unknown-linux-gnu/lib64"
 
 ./autogen.sh
-./configure --prefix=/usr
+depends_prefix="${PWD}/depends/x86_64-unknown-linux-gnu" ./configure 
--prefix=/usr
 make
 }
 
 check() {
-cd ${pkgname}-${pkgver}
+cd ${pkgname}
 
-# ./qa/zcash/full-test-suite.sh
-
-# Run the RPC tests
 # ./zcutil/fetch-params.sh
-# ./qa/pull-tester/rpc-tests.sh
+# ./qa/zcash/full_test_suite.py
 }
 
 package() {
-cd ${pkgname}-${pkgver}
+cd ${pkgname}
 
 make DESTDIR="${pkgdir}" install
 

Modified: boost-no-mt-suffix.patch
===
--- boost-no-mt-suffix.patch2017-11-22 14:30:03 UTC (rev 268034)
+++ boost-no-mt-suffix.patch2017-11-22 14:32:00 UTC (rev 268035)
@@ -1,11 +1,11 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -778,7 +778,7 @@
-   RUST_LIBS="-lrustzcash"
+@@ -770,7 +770,7 @@
+   LIBSNARK_DEPINST="$prefix"
  fi
  
--LIBZCASH_LIBS="-lsnark -lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium 
-fopenmp $RUST_LIBS"
-+LIBZCASH_LIBS="-lsnark -lgmp -lgmpxx -lboost_system -lcrypto -lsodium 
-fopenmp $RUST_LIBS"
+-LIBZCASH_LIBS="-lgmp -lgmpxx -lboost_system-mt -lcrypto -lsodium -fopenmp 
$RUST_LIBS"
++LIBZCASH_LIBS="-lgmp -lgmpxx -lboost_system -lcrypto -lsodium -fopenmp 
$RUST_LIBS"
  
  CXXFLAGS_TEMP="$CXXFLAGS"
  LIBS_TEMP="$LIBS"


[arch-commits] Commit in zcash/trunk (PKGBUILD boost-no-mt-suffix.patch)

2017-08-19 Thread Nicola Squartini
Date: Saturday, August 19, 2017 @ 12:38:15
  Author: tensor5
Revision: 252558

upgpkg: zcash 1.0.11-1

Modified:
  zcash/trunk/PKGBUILD
  zcash/trunk/boost-no-mt-suffix.patch

--+
 PKGBUILD |   20 ++--
 boost-no-mt-suffix.patch |2 +-
 2 files changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-08-19 10:50:30 UTC (rev 252557)
+++ PKGBUILD2017-08-19 12:38:15 UTC (rev 252558)
@@ -2,14 +2,14 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=zcash
-pkgver=1.0.10_1
-_commit=d6ec3954c68200e8774b46527a5680bf4cf4ccf0
-pkgrel=2
+pkgver=1.0.11
+_commit=02dd675a2554db6c5af188ec2d70fb60e748300c
+pkgrel=1
 pkgdesc='Permissionless financial system employing zero-knowledge security'
 arch=('x86_64')
 url='https://z.cash/'
 license=('MIT')
-depends=('boost-libs' 'libevent' 'miniupnpc' 'zeromq')
+depends=('boost-libs' 'libevent' 'zeromq')
 makedepends=('boost' 'cargo' 'cmake' 'git' 'python' 'wget')
 checkdepends=('python' 'python2' 'python2-pyzmq')
 source=("git+https://github.com/zcash/zcash.git#commit=${_commit};
@@ -17,7 +17,7 @@
 "use-system-libraries.patch"
 "use-system-rust.patch")
 sha256sums=('SKIP'
-'a2ac906ac99757adaa7d5eb7e68d2a64c3d628e71c03264c31edcbb500990569'
+'15389fe2741b8641d39b9fc0cd155e919d09e6d9317b79d0f4f1bcefb798766c'
 'ef8ab26635bb2608f03ddf991da3581060670161938171fa2e413758fa4bad3f'
 '065cd418ca7be72018c7fdada3012872bd079a254a95560312514594381b8028')
 
@@ -43,13 +43,13 @@
 make ${lib}
 done
 for lib in "${libs[@]}"; do
-tar -xzf built/x86_64-unknown-linux-gnu/${lib}/${lib}-*.tar.gz \
--C x86_64-unknown-linux-gnu
+tar -xzf built/${CARCH}-unknown-linux-gnu/${lib}/${lib}-*.tar.gz \
+-C ${CARCH}-unknown-linux-gnu
 done
 cd ..
 
-CPPFLAGS="${CPPFLAGS} -I$PWD/depends/x86_64-unknown-linux-gnu/include"
-LDFLAGS="${LDFLAGS} -L${PWD}/depends/x86_64-unknown-linux-gnu/lib 
-L${PWD}/depends/x86_64-unknown-linux-gnu/lib64"
+CPPFLAGS="${CPPFLAGS} -I$PWD/depends/${CARCH}-unknown-linux-gnu/include"
+LDFLAGS="${LDFLAGS} -L${PWD}/depends/${CARCH}-unknown-linux-gnu/lib 
-L${PWD}/depends/x86_64-unknown-linux-gnu/lib64"
 
 ./autogen.sh
 ./configure --prefix=/usr
@@ -59,7 +59,7 @@
 check() {
 cd ${pkgname}-${pkgver}
 
-./qa/zcash/full-test-suite.sh
+# ./qa/zcash/full-test-suite.sh
 
 # Run the RPC tests
 # ./zcutil/fetch-params.sh

Modified: boost-no-mt-suffix.patch
===
--- boost-no-mt-suffix.patch2017-08-19 10:50:30 UTC (rev 252557)
+++ boost-no-mt-suffix.patch2017-08-19 12:38:15 UTC (rev 252558)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -799,7 +799,7 @@
+@@ -778,7 +778,7 @@
RUST_LIBS="-lrustzcash"
  fi
  


[arch-commits] Commit in zcash/trunk (PKGBUILD boost-no-mt-suffix.patch)

2017-06-03 Thread Nicola Squartini
Date: Saturday, June 3, 2017 @ 13:21:43
  Author: tensor5
Revision: 233740

upgpkg: zcash 1.0.9-1

Modified:
  zcash/trunk/PKGBUILD
  zcash/trunk/boost-no-mt-suffix.patch

--+
 PKGBUILD |   38 --
 boost-no-mt-suffix.patch |2 +-
 2 files changed, 21 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-03 13:20:45 UTC (rev 233739)
+++ PKGBUILD2017-06-03 13:21:43 UTC (rev 233740)
@@ -2,28 +2,33 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=zcash
-pkgver=1.0.8_1
-pkgrel=3
+pkgver=1.0.9
+_commit=a410f124b24f1ebd763015492b029af09b1872a9
+pkgrel=1
 pkgdesc='Permissionless financial system employing zero-knowledge security'
 arch=('x86_64')
 url='https://z.cash/'
 license=('MIT')
 depends=('boost-libs' 'libevent' 'miniupnpc' 'zeromq')
-makedepends=('boost' 'cargo' 'wget')
+makedepends=('boost' 'cargo' 'cmake' 'git' 'python' 'wget')
 checkdepends=('python' 'python2' 'python2-pyzmq')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/zcash/zcash/archive/v1.0.8-1.tar.gz;
+source=("git+https://github.com/zcash/zcash.git#commit=${_commit};
 "boost-no-mt-suffix.patch"
 "use-system-libraries.patch"
 "use-system-rust.patch")
-sha256sums=('d0210c93b7baddf55274ba7a3372dbe195ca5d2429e54d36289b97354bb83065'
-'c318e12a9d48a50cf254d2a58c24dd0cbbf1dc969e3afeecadd0756425ea5b07'
+sha256sums=('SKIP'
+'a2ac906ac99757adaa7d5eb7e68d2a64c3d628e71c03264c31edcbb500990569'
 'ef8ab26635bb2608f03ddf991da3581060670161938171fa2e413758fa4bad3f'
 '065cd418ca7be72018c7fdada3012872bd079a254a95560312514594381b8028')
 
 prepare() {
-# cd ${pkgname}-${pkgver}
-cd ${pkgname}-1.0.8-1
+cd ${pkgname}
 
+# Set gitattributes on src/clientversion.cpp
+mkdir ../${pkgname}-${pkgver}
+git archive ${_commit} | tar -xC ../${pkgname}-${pkgver}
+cd ../${pkgname}-${pkgver}
+
 patch -Np1 -i ../boost-no-mt-suffix.patch
 patch -Np1 -i ../use-system-libraries.patch
 patch -Np1 -i ../use-system-rust.patch
@@ -30,11 +35,10 @@
 }
 
 build() {
-# cd ${pkgname}-${pkgver}
-cd ${pkgname}-1.0.8-1
+cd ${pkgname}-${pkgver}
 
 cd depends
-libs=('bdb' 'googletest' 'googlemock' 'librustzcash' 'libsnark')
+libs=('bdb' 'googletest' 'googlemock' 'librustzcash' 'libsnark' 'proton')
 for lib in "${libs[@]}"; do
 make ${lib}
 done
@@ -45,7 +49,7 @@
 cd ..
 
 CPPFLAGS="${CPPFLAGS} -I$PWD/depends/x86_64-unknown-linux-gnu/include"
-LDFLAGS="${LDFLAGS} -L${PWD}/depends/x86_64-unknown-linux-gnu/lib"
+LDFLAGS="${LDFLAGS} -L${PWD}/depends/x86_64-unknown-linux-gnu/lib 
-L${PWD}/depends/x86_64-unknown-linux-gnu/lib64"
 
 ./autogen.sh
 ./configure --prefix=/usr
@@ -53,19 +57,17 @@
 }
 
 check() {
-# cd ${pkgname}-${pkgver}
-cd ${pkgname}-1.0.8-1
+cd ${pkgname}-${pkgver}
 
 ./qa/zcash/full-test-suite.sh
 
 # Run the RPC tests
-./zcutil/fetch-params.sh
-./qa/pull-tester/rpc-tests.sh
+# ./zcutil/fetch-params.sh
+# ./qa/pull-tester/rpc-tests.sh
 }
 
 package() {
-# cd ${pkgname}-${pkgver}
-cd ${pkgname}-1.0.8-1
+cd ${pkgname}-${pkgver}
 
 make DESTDIR="${pkgdir}" install
 

Modified: boost-no-mt-suffix.patch
===
--- boost-no-mt-suffix.patch2017-06-03 13:20:45 UTC (rev 233739)
+++ boost-no-mt-suffix.patch2017-06-03 13:21:43 UTC (rev 233740)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -776,7 +776,7 @@
+@@ -799,7 +799,7 @@
RUST_LIBS="-lrustzcash"
  fi
  


[arch-commits] Commit in zcash/trunk (PKGBUILD boost-no-mt-suffix.patch)

2017-03-04 Thread Nicola Squartini
Date: Saturday, March 4, 2017 @ 13:46:55
  Author: tensor5
Revision: 214875

upgpkg: zcash 1.0.7-1

Modified:
  zcash/trunk/PKGBUILD
  zcash/trunk/boost-no-mt-suffix.patch

--+
 PKGBUILD |8 
 boost-no-mt-suffix.patch |2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-03-04 10:50:29 UTC (rev 214874)
+++ PKGBUILD2017-03-04 13:46:55 UTC (rev 214875)
@@ -2,8 +2,8 @@
 # Maintainer: Nicola Squartini 
 
 pkgname=zcash
-pkgver=1.0.6
-pkgrel=2
+pkgver=1.0.7
+pkgrel=1
 pkgdesc='Permissionless financial system employing zero-knowledge security'
 arch=('x86_64')
 url='https://z.cash/'
@@ -14,8 +14,8 @@
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/zcash/zcash/archive/v${pkgver}.tar.gz;
 "boost-no-mt-suffix.patch"
 "use-system-libraries.patch")
-sha256sums=('7073068e9501910534be25634ce0bf73258cd0bcdf244d555dbfd9450d556d8a'
-'55ebbffa2daf4a59135dc7b58b9553da21456934e676d6c08d4930bd14817c06'
+sha256sums=('6254709ed0df4b635759158c46313206ab1d3ba6f96db0de94883223063c6ce4'
+'19c1a2f5f6623977c740322b0eb104766c72c5690fcf2bfefab956c81e80e583'
 'ef8ab26635bb2608f03ddf991da3581060670161938171fa2e413758fa4bad3f')
 
 prepare() {

Modified: boost-no-mt-suffix.patch
===
--- boost-no-mt-suffix.patch2017-03-04 10:50:29 UTC (rev 214874)
+++ boost-no-mt-suffix.patch2017-03-04 13:46:55 UTC (rev 214875)
@@ -1,6 +1,6 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -775,7 +775,7 @@
+@@ -782,7 +782,7 @@
  AC_CHECK_HEADER([libsnark/gadgetlib1/gadget.hpp],,AC_MSG_ERROR(libsnark 
headers missing))
  AC_CHECK_LIB([snark],[main],LIBSNARK_LIBS=-lsnark, [AC_MSG_ERROR(libsnark 
missing)], [-lgmpxx])