Merge pull request #115 from VerusCoin/patch
fixing broken dependencies
This commit is contained in:
@@ -1,36 +1,42 @@
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- package
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
VERSION: 0.3.12
|
VERSION: 0.3.12
|
||||||
AGAMA_ARTIFACTS_LINUX: linux64.tar.gz
|
AGAMA_ARTIFACTS_LINUX: linux64.tar.gz
|
||||||
AGAMA_ARTIFACTS_MACOS: osx.tar.gz
|
AGAMA_ARTIFACTS_MACOS: osx.tar.gz
|
||||||
AGAMA_ARTIFACTS_WINDOWS: win64.zip
|
AGAMA_ARTIFACTS_WINDOWS: win64.zip
|
||||||
VERUS_CLI_DEBIAN: verus-cli-v${VERSION}-beta-amd64.deb
|
VERUS_CLI_LINUX: verus-cli-linux-v$VERSION-beta.tar.gz
|
||||||
VERUS_CLI_LINUX_PORTABLE: verus-cli-linux-v$VERSION-beta.tar.gz
|
VERUS_CLI_WINDOWS: verus-cli-windows-v$VERSION-beta.zip
|
||||||
VERUS_CLI_WINDOWS_PORTABLE: verus-cli-windows-v$VERSION-beta.zip
|
VERUS_CLI_MACOS: verus-cli-mac-v$VERSION-beta.tar.gz
|
||||||
VERUS_CLI_MACOS_PORTABLE: verus-cli-mac-v$VERSION-beta.tar.gz
|
WINDOWS_INSTALLER: VerusCoin-v$VERSION-beta-windows-installer.exe
|
||||||
|
|
||||||
|
.build:linux:
|
||||||
build:linux:
|
|
||||||
image: asherd/veruscoin-cross-compiler:linux
|
image: asherd/veruscoin-cross-compiler:linux
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
stage: build
|
stage: build
|
||||||
before_script: # Setup Cache
|
before_script: # Setup Cache
|
||||||
- rm -rf /root/.ccache || true
|
- rm -rf /root/.ccache || true
|
||||||
- mv .ccache /root/ || true
|
- mv .ccache /root/ || true
|
||||||
script:
|
script:
|
||||||
- zcutil/build.sh -j4
|
- zcutil/build.sh -j4
|
||||||
- ./makeReleaseLinux.sh
|
- cp src/komodod src/komodo-cli kmd/linux/verus-cli
|
||||||
- dos2unix kmd/linux/verus-cli/README.txt
|
- chmod +x kmd/linux/verus-cli/komodo
|
||||||
- tar -C kmd/linux/ -czvf $VERUS_CLI_LINUX_PORTABLE verus-cli ./
|
- chmod +x kmd/linux/verus-cli/komodod
|
||||||
- mv kmd/linux/verus-cli kmd/linux/linux64
|
- chmod +x kmd/linux/verus-cli/verus
|
||||||
- tar -C kmd/linux/ -czvf $AGAMA_ARTIFACTS_LINUX linux64 ./
|
- chmod +x kmd/linux/verus-cli/verusd
|
||||||
|
- chmod +x kmd/linux/verus-cli/fetch-params
|
||||||
|
- dos2unix kmd/linux/verus-cli/README.txt
|
||||||
|
- tar -C kmd/linux/ -czvf $VERUS_CLI_LINUX_PORTABLE verus-cli ./
|
||||||
|
- mv kmd/linux/verus-cli kmd/linux/linux64
|
||||||
|
- tar -C kmd/linux/ -czvf $AGAMA_ARTIFACTS_LINUX linux64 ./
|
||||||
after_script:
|
after_script:
|
||||||
- mv /root/.ccache ./ || true
|
- mv /root/.ccache ./ || true
|
||||||
cache:
|
cache:
|
||||||
key: ${CI_JOB_NAME}
|
key: ${CI_JOB_NAME}
|
||||||
paths:
|
paths:
|
||||||
@@ -76,7 +82,7 @@ build:windows:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
|
|
||||||
build:mac:
|
.build:mac:
|
||||||
stage: build
|
stage: build
|
||||||
tags: ["High Sierra"]
|
tags: ["High Sierra"]
|
||||||
cache:
|
cache:
|
||||||
@@ -97,7 +103,7 @@ build:mac:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
|
|
||||||
code_quality:
|
.code_quality:
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@@ -115,7 +121,7 @@ code_quality:
|
|||||||
paths: [gl-code-quality-report.json]
|
paths: [gl-code-quality-report.json]
|
||||||
|
|
||||||
|
|
||||||
sast:
|
.sast:
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@@ -134,7 +140,7 @@ sast:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
license_management:
|
.license_management:
|
||||||
image: docker:stable
|
image: docker:stable
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@@ -150,7 +156,7 @@ license_management:
|
|||||||
paths: [gl-license-management-report.json]
|
paths: [gl-license-management-report.json]
|
||||||
|
|
||||||
|
|
||||||
ubuntu:xenial:
|
.ubuntu:xenial:
|
||||||
image: ubuntu:xenial
|
image: ubuntu:xenial
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@@ -168,7 +174,7 @@ ubuntu:xenial:
|
|||||||
- build:linux
|
- build:linux
|
||||||
|
|
||||||
|
|
||||||
ubuntu:bionic:
|
.ubuntu:bionic:
|
||||||
image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@@ -214,7 +220,7 @@ ubuntu:bionic:
|
|||||||
- build:mac
|
- build:mac
|
||||||
|
|
||||||
|
|
||||||
windows:10:
|
.windows:10:
|
||||||
stage: test
|
stage: test
|
||||||
tags: ["Windows 10"]
|
tags: ["Windows 10"]
|
||||||
script:
|
script:
|
||||||
@@ -227,6 +233,29 @@ windows:10:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build:windows
|
- build:windows
|
||||||
|
|
||||||
|
package:
|
||||||
|
stage: package
|
||||||
|
image: asherd/agama-builder
|
||||||
|
variables:
|
||||||
|
DOCKER_DRIVER: overlay2
|
||||||
|
dependencies:
|
||||||
|
- build:windows
|
||||||
|
before_script:
|
||||||
|
- unzip $VERUS_CLI_WINDOWS_PORTABLE
|
||||||
|
- echo "$AUTH_KEY" > AUTH_KEY.json
|
||||||
|
- gcloud auth activate-service-account --key-file AUTH_KEY.json
|
||||||
|
- rm AUTH_KEY.json
|
||||||
|
- gsutil cp $STAGING/Agama/installer-prototype/Windows/Agama-win32-x64-v${VERSION}-beta.zip .
|
||||||
|
- unzip Agama-win32-x64-v${VERSION}-beta.zip
|
||||||
|
- git clone https://github.com/VerusCoin/Media-Assets --single-branch -b master
|
||||||
|
- mkdir -p assets/imgs/
|
||||||
|
- cp Media-Assets/Logos/PNG/* assets/imgs/
|
||||||
|
script:
|
||||||
|
- builder build zcutil/VerusCoin.xml windows --setvars project.version=$VERSION-beta
|
||||||
|
- mv builds/$WINDOWS_INSTALLER .
|
||||||
|
artifacts:
|
||||||
|
paths: [$WINDOWS_INSTALLER]
|
||||||
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -234,18 +263,19 @@ deploy:
|
|||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:linux
|
#- build:linux
|
||||||
- build:windows
|
#- build:windows
|
||||||
- build:mac
|
#- build:mac
|
||||||
|
- package
|
||||||
script:
|
script:
|
||||||
- mkdir -p $CI_COMMIT_REF_NAME/Windows
|
#- mkdir -p $CI_COMMIT_REF_NAME/Windows
|
||||||
- mkdir -p $CI_COMMIT_REF_NAME/Linux
|
#- mkdir -p $CI_COMMIT_REF_NAME/Linux
|
||||||
- mkdir -p $CI_COMMIT_REF_NAME/MacOS
|
#- mkdir -p $CI_COMMIT_REF_NAME/MacOS
|
||||||
- mv $VERUS_CLI_WINDOWS_PORTABLE $AGAMA_ARTIFACTS_WINDOWS $CI_COMMIT_REF_NAME/Windows
|
#- mv $VERUS_CLI_WINDOWS_PORTABLE $AGAMA_ARTIFACTS_WINDOWS $WINDOWS_INSTALLER $CI_COMMIT_REF_NAME/Windows
|
||||||
- mv $VERUS_CLI_LINUX_PORTABLE $AGAMA_ARTIFACTS_LINUX $CI_COMMIT_REF_NAME/Linux
|
#- mv $VERUS_CLI_LINUX_PORTABLE $AGAMA_ARTIFACTS_LINUX $CI_COMMIT_REF_NAME/Linux
|
||||||
- mv $VERUS_CLI_MACOS_PORTABLE $AGAMA_ARTIFACTS_MACOS $CI_COMMIT_REF_NAME/MacOS
|
#- mv $VERUS_CLI_MACOS_PORTABLE $AGAMA_ARTIFACTS_MACOS $CI_COMMIT_REF_NAME/MacOS
|
||||||
- echo "$AUTH_KEY" > AUTH_KEY.json
|
- echo "$AUTH_KEY" > AUTH_KEY.json
|
||||||
- gcloud auth activate-service-account --key-file AUTH_KEY.json
|
- gcloud auth activate-service-account --key-file AUTH_KEY.json
|
||||||
- gsutil rsync -r $CI_COMMIT_REF_NAME/ $STAGING/VerusCoin/$CI_COMMIT_REF_NAME/
|
#- gsutil rsync -r $CI_COMMIT_REF_NAME/ $STAGING/VerusCoin/$CI_COMMIT_REF_NAME/
|
||||||
|
- gsutil cp $WINDOWS_INSTALLER $CI_COMMIT_REF_NAME/ $STAGING/VerusCoin/$CI_COMMIT_REF_NAME/Windows/
|
||||||
|
|
||||||
|
|||||||
2
Brewfile
2
Brewfile
@@ -9,7 +9,7 @@ brew "automake"
|
|||||||
brew "binutils"
|
brew "binutils"
|
||||||
brew "cmake"
|
brew "cmake"
|
||||||
brew "coreutils"
|
brew "coreutils"
|
||||||
brew "gcc@5"
|
brew "gcc@6"
|
||||||
brew "leveldb"
|
brew "leveldb"
|
||||||
brew "nanomsg"
|
brew "nanomsg"
|
||||||
brew "protobuf"
|
brew "protobuf"
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
## VerusCoin version 0.3.12a-beta
|
## VerusCoin version 0.3.12a-beta
|
||||||
|
|
||||||
VerusCoin is a new, mineable and stakeable cryptocurrency. It is a live fork of Komodo that retains its Zcash lineage and improves it. VerusCoin will leverage the Komodo platform and dPoW notarization for enhanced security and cross-chain interoperability. We have added a variation of a zawy12, lwma difficulty algorithm, a new CPU-optimized hash algorithm and a new algorithm for fair proof of stake. We describe these changes and vision going forward in a [our Phase I white paper](http://185.25.51.16/papers/VerusPhaseI.pdf) and [our Vision](http://185.25.51.16/papers/VerusVision.pdf).
|
VerusCoin is a new, mineable and stakeable cryptocurrency. It is a live fork of Komodo that retains its Zcash lineage and improves it. VerusCoin will leverage the Komodo platform and dPoW notarization for enhanced security and cross-chain interoperability. We have added a variation of a zawy12, lwma difficulty algorithm, a new CPU-optimized hash algorithm and a new algorithm for fair proof of stake. We describe these changes and vision going forward in a [our Phase I white paper](http://185.25.51.16/papers/VerusPhaseI.pdf) and [our Vision](http://185.25.51.16/papers/VerusVision.pdf).
|
||||||
- [VerusCoin web site https://veruscoin.io/ Wallets and CLI tools](https://veruscoin.io/)
|
- [VerusCoin web site https://veruscoin.io/ Wallets and CLI tools](https://veruscoin.io/)
|
||||||
- [VerusCoin Explorer](https://explorer.veruscoin.io/)
|
- [VerusCoin Explorer](https://explorer.veruscoin.io/)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package=googletest
|
package=googletest
|
||||||
$(package)_version=1.8.0
|
$(package)_version=1.8.0
|
||||||
$(package)_download_path=https://github.com/google/$(package)/archive/
|
$(package)_download_path=https://github.com/google/$(package)/archive
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
||||||
$(package)_download_file=release-$($(package)_version).tar.gz
|
$(package)_download_file=release-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8
|
$(package)_sha256_hash=58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package=libevent
|
package=libevent
|
||||||
$(package)_version=2.1.8
|
$(package)_version=2.1.8
|
||||||
$(package)_download_path=https://github.com/libevent/libevent/archive/
|
$(package)_download_path=https://github.com/libevent/libevent/archive
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
||||||
$(package)_download_file=release-$($(package)_version)-stable.tar.gz
|
$(package)_download_file=release-$($(package)_version)-stable.tar.gz
|
||||||
$(package)_sha256_hash=316ddb401745ac5d222d7c529ef1eada12f58f6376a66c1118eee803cb70f83d
|
$(package)_sha256_hash=316ddb401745ac5d222d7c529ef1eada12f58f6376a66c1118eee803cb70f83d
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package=libgmp
|
package=libgmp
|
||||||
|
|
||||||
ifeq ($(host_os),mingw32)
|
ifeq ($(host_os),mingw32)
|
||||||
$(package)_download_path=https://github.com/joshuayabut/$(package)/archive/
|
$(package)_download_path=https://github.com/joshuayabut/$(package)/archive
|
||||||
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
||||||
$(package)_download_file=$($(package)_git_commit).tar.gz
|
$(package)_download_file=$($(package)_git_commit).tar.gz
|
||||||
$(package)_sha256_hash=193836c1acc9dc00fe2521205d7bbe1ba13263f6cbef6f02584bf6f8b34b108f
|
$(package)_sha256_hash=193836c1acc9dc00fe2521205d7bbe1ba13263f6cbef6f02584bf6f8b34b108f
|
||||||
@@ -9,7 +9,7 @@ $(package)_git_commit=053c03b1cab347671d936f43ef66b48ab5e380ee
|
|||||||
$(package)_dependencies=
|
$(package)_dependencies=
|
||||||
$(package)_config_opts=--enable-cxx --disable-shared
|
$(package)_config_opts=--enable-cxx --disable-shared
|
||||||
else ifeq ($(build_os),darwin)
|
else ifeq ($(build_os),darwin)
|
||||||
$(package)_download_path=https://github.com/ca333/$(package)/archive/
|
$(package)_download_path=https://github.com/ca333/$(package)/archive
|
||||||
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
||||||
$(package)_download_file=$($(package)_git_commit).tar.gz
|
$(package)_download_file=$($(package)_git_commit).tar.gz
|
||||||
$(package)_sha256_hash=59b2c2b5d58fdf5943bfde1fa709e9eb53e7e072c9699d28dc1c2cbb3c8cc32c
|
$(package)_sha256_hash=59b2c2b5d58fdf5943bfde1fa709e9eb53e7e072c9699d28dc1c2cbb3c8cc32c
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package=librustzcash
|
package=librustzcash
|
||||||
$(package)_version=0.1
|
$(package)_version=0.1
|
||||||
$(package)_download_path=https://github.com/zcash/$(package)/archive/
|
$(package)_download_path=https://github.com/zcash/$(package)/archive
|
||||||
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
||||||
$(package)_download_file=$($(package)_git_commit).tar.gz
|
$(package)_download_file=$($(package)_git_commit).tar.gz
|
||||||
$(package)_sha256_hash=a5760a90d4a1045c8944204f29fa2a3cf2f800afee400f88bf89bbfe2cce1279
|
$(package)_sha256_hash=a5760a90d4a1045c8944204f29fa2a3cf2f800afee400f88bf89bbfe2cce1279
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $(package)_config_opts=
|
|||||||
else
|
else
|
||||||
package=libsodium
|
package=libsodium
|
||||||
$(package)_version=1.0.15
|
$(package)_version=1.0.15
|
||||||
$(package)_download_path=https://download.libsodium.org/libsodium/releases/
|
$(package)_download_path=https://download.libsodium.org/libsodium/releases
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=fb6a9e879a2f674592e4328c5d9f79f082405ee4bb05cb6e679b90afe9e178f4
|
$(package)_sha256_hash=fb6a9e879a2f674592e4328c5d9f79f082405ee4bb05cb6e679b90afe9e178f4
|
||||||
$(package)_dependencies=
|
$(package)_dependencies=
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
ifeq ($(host_os),mingw32)
|
ifeq ($(host_os),mingw32)
|
||||||
$(package)_version=4.2.2-1
|
$(package)_version=4.2.2-1
|
||||||
$(package)_download_path=https://github.com/ca333/libzmq/archive/
|
$(package)_download_path=https://github.com/ca333/libzmq/archive
|
||||||
$(package)_download_file=v$($(package)_version).tar.gz
|
$(package)_download_file=v$($(package)_version).tar.gz
|
||||||
$(package)_file_name=libzmq-$($(package)_version).tar.gz
|
$(package)_file_name=libzmq-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=0e225b85ce11be23bf7eb7d3f25c6686728bf30d5c31f61c12d37bb646c69962
|
$(package)_sha256_hash=0e225b85ce11be23bf7eb7d3f25c6686728bf30d5c31f61c12d37bb646c69962
|
||||||
@@ -15,7 +15,7 @@ endef
|
|||||||
else
|
else
|
||||||
package=zeromq
|
package=zeromq
|
||||||
$(package)_version=4.2.1
|
$(package)_version=4.2.1
|
||||||
$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/
|
$(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)
|
||||||
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
||||||
$(package)_sha256_hash=27d1e82a099228ee85a7ddb2260f40830212402c605a4a10b5e5498a7e0e9d03
|
$(package)_sha256_hash=27d1e82a099228ee85a7ddb2260f40830212402c605a4a10b5e5498a7e0e9d03
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
VerusCoin Command Line Tools v0.3.12a-beta
|
VerusCoin Command Line Tools v0.3.12a-beta
|
||||||
|
|
||||||
Contents:
|
Contents:
|
||||||
komodod - VerusCoin's enhanced Komodo daemon
|
komodod - VerusCoin's enhanced Komodo daemon
|
||||||
komodo-cli - VerusCoin's Komodo command line utility
|
komodo-cli - VerusCoin's Komodo command line utility
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*** 1,30 ****
|
*** 1,30 ****
|
||||||
package=libsnark
|
package=libsnark
|
||||||
$(package)_version=0.1
|
$(package)_version=0.1
|
||||||
! $(package)_download_path=https://github.com/radix42/$(package)/archive/
|
! $(package)_download_path=https://github.com/radix42/$(package)/archive
|
||||||
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
||||||
$(package)_download_file=$($(package)_git_commit).tar.gz
|
$(package)_download_file=$($(package)_git_commit).tar.gz
|
||||||
! $(package)_sha256_hash=9dbd5b44d3443e86463e934bfe1023cab4ca5948f8d74c23a67d9535c28d2584
|
! $(package)_sha256_hash=9dbd5b44d3443e86463e934bfe1023cab4ca5948f8d74c23a67d9535c28d2584
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
--- 1,17 ----
|
--- 1,17 ----
|
||||||
package=libsnark
|
package=libsnark
|
||||||
$(package)_version=0.1
|
$(package)_version=0.1
|
||||||
! $(package)_download_path=https://github.com/zcash/$(package)/archive/
|
! $(package)_download_path=https://github.com/zcash/$(package)/archive
|
||||||
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
$(package)_file_name=$(package)-$($(package)_git_commit).tar.gz
|
||||||
$(package)_download_file=$($(package)_git_commit).tar.gz
|
$(package)_download_file=$($(package)_git_commit).tar.gz
|
||||||
! $(package)_sha256_hash=9422b1a2a94e6b8be61f07af7f146087c2a7d70b208d07ad076622225aa7f0e4
|
! $(package)_sha256_hash=9422b1a2a94e6b8be61f07af7f146087c2a7d70b208d07ad076622225aa7f0e4
|
||||||
|
|||||||
432
zcutil/VerusCoin.xml
Normal file
432
zcutil/VerusCoin.xml
Normal file
@@ -0,0 +1,432 @@
|
|||||||
|
<project>
|
||||||
|
<shortName>VerusCoin</shortName>
|
||||||
|
<fullName>VerusCoin</fullName>
|
||||||
|
<version>0.3.12</version>
|
||||||
|
<installerFilename>${product_shortname}-v${product_version}-${platform_name}-installer.${platform_exec_suffix}</installerFilename>
|
||||||
|
<licenseFile>../COPYING</licenseFile>
|
||||||
|
<leftImage>../assets/imgs/VRSC_256x256.png</leftImage>
|
||||||
|
<logoImage>../assets/imgs/VRSC_256x256.png</logoImage>
|
||||||
|
<splashImage>../assets/imgs/VRSC_256x256.png</splashImage>
|
||||||
|
<allowLanguageSelection>1</allowLanguageSelection>
|
||||||
|
<componentList>
|
||||||
|
<componentGroup>
|
||||||
|
<name>VerusCoin</name>
|
||||||
|
<description>VerusCoin CLI</description>
|
||||||
|
<canBeEdited>1</canBeEdited>
|
||||||
|
<downloadable>1</downloadable>
|
||||||
|
<selected>1</selected>
|
||||||
|
<show>1</show>
|
||||||
|
<componentList>
|
||||||
|
<component>
|
||||||
|
<name>Agama</name>
|
||||||
|
<description>Verus-Enhanced Agama Wallet</description>
|
||||||
|
<canBeEdited>1</canBeEdited>
|
||||||
|
<downloadable>1</downloadable>
|
||||||
|
<selected>1</selected>
|
||||||
|
<show>1</show>
|
||||||
|
<desktopShortcutList>
|
||||||
|
<shortcut>
|
||||||
|
<comment>Start Agama App</comment>
|
||||||
|
<exec></exec>
|
||||||
|
<icon>../assets/icons/agama_icons/256x256.png</icon>
|
||||||
|
<name>Agama App</name>
|
||||||
|
<path></path>
|
||||||
|
<platforms>all</platforms>
|
||||||
|
<runAsAdmin>0</runAsAdmin>
|
||||||
|
<runInTerminal>0</runInTerminal>
|
||||||
|
<windowsExec>${installdir}/Agama/Agama-win32-x64/Agama.exe</windowsExec>
|
||||||
|
<windowsExecArgs></windowsExecArgs>
|
||||||
|
<windowsIcon></windowsIcon>
|
||||||
|
<windowsPath>${windows_folder_common_programs}/</windowsPath>
|
||||||
|
</shortcut>
|
||||||
|
</desktopShortcutList>
|
||||||
|
<folderList>
|
||||||
|
<folder>
|
||||||
|
<description>Verus-Enhanced Agama Wallet</description>
|
||||||
|
<destination>${installdir}/Agama</destination>
|
||||||
|
<name>Agama</name>
|
||||||
|
<platforms>all</platforms>
|
||||||
|
<distributionFileList>
|
||||||
|
<distributionDirectory>
|
||||||
|
<origin>../Agama-win32-x64</origin>
|
||||||
|
</distributionDirectory>
|
||||||
|
</distributionFileList>
|
||||||
|
</folder>
|
||||||
|
</folderList>
|
||||||
|
</component>
|
||||||
|
</componentList>
|
||||||
|
<folderList>
|
||||||
|
<folder>
|
||||||
|
<description>Program Files</description>
|
||||||
|
<destination>${installdir}</destination>
|
||||||
|
<name>programfiles</name>
|
||||||
|
<platforms>all</platforms>
|
||||||
|
<shortcutList>
|
||||||
|
<shortcut>
|
||||||
|
<comment>Uninstall</comment>
|
||||||
|
<exec>${installdir}/${uninstallerName}</exec>
|
||||||
|
<icon></icon>
|
||||||
|
<name>Uninstall ${product_fullname}</name>
|
||||||
|
<path>${installdir}</path>
|
||||||
|
<platforms>all</platforms>
|
||||||
|
<runAsAdmin>0</runAsAdmin>
|
||||||
|
<runInTerminal>0</runInTerminal>
|
||||||
|
<windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
|
||||||
|
<windowsExecArgs></windowsExecArgs>
|
||||||
|
<windowsIcon></windowsIcon>
|
||||||
|
<windowsPath>${installdir}</windowsPath>
|
||||||
|
</shortcut>
|
||||||
|
</shortcutList>
|
||||||
|
</folder>
|
||||||
|
<folder>
|
||||||
|
<description>VerusCoin</description>
|
||||||
|
<destination>${installdir}/</destination>
|
||||||
|
<name>VerusCoin</name>
|
||||||
|
<platforms>all</platforms>
|
||||||
|
<distributionFileList>
|
||||||
|
<distributionDirectory>
|
||||||
|
<origin>../verus-cli</origin>
|
||||||
|
</distributionDirectory>
|
||||||
|
</distributionFileList>
|
||||||
|
</folder>
|
||||||
|
</folderList>
|
||||||
|
</componentGroup>
|
||||||
|
</componentList>
|
||||||
|
<preInstallationActionList>
|
||||||
|
<registryGetMatch>
|
||||||
|
<key>HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname}</key>
|
||||||
|
<name>uninstaller_path</name>
|
||||||
|
<variable>uninstaller_path</variable>
|
||||||
|
</registryGetMatch>
|
||||||
|
<setInstallerVariable>
|
||||||
|
<name>previous_installation_exists</name>
|
||||||
|
<value>1</value>
|
||||||
|
<ruleList>
|
||||||
|
<fileTest condition="exists" path="${uninstaller_path}"/>
|
||||||
|
</ruleList>
|
||||||
|
</setInstallerVariable>
|
||||||
|
</preInstallationActionList>
|
||||||
|
<readyToInstallActionList>
|
||||||
|
<runProgram>
|
||||||
|
<program>${uninstaller_path}</program>
|
||||||
|
<programArguments></programArguments>
|
||||||
|
<ruleList>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${previous_installation_exists}</value1>
|
||||||
|
<value2>1</value2>
|
||||||
|
</compareValues>
|
||||||
|
</ruleList>
|
||||||
|
</runProgram>
|
||||||
|
<deleteFile>
|
||||||
|
<explanation>Deleting user data</explanation>
|
||||||
|
<path>${windows_folder_appdata}/Agama</path>
|
||||||
|
<progressText>Deleting user data</progressText>
|
||||||
|
<ruleList>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${previous_installation_exists}</value1>
|
||||||
|
<value2>1</value2>
|
||||||
|
</compareValues>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${installation_type}</value1>
|
||||||
|
<value2>uninstall</value2>
|
||||||
|
</compareValues>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${delete_user_data}</value1>
|
||||||
|
<value2>1</value2>
|
||||||
|
</compareValues>
|
||||||
|
</ruleList>
|
||||||
|
</deleteFile>
|
||||||
|
<deleteFile>
|
||||||
|
<explanation>Deleting iguana config json</explanation>
|
||||||
|
<path>${windows_folder_appdata}/Iguana/config.json</path>
|
||||||
|
<progressText>Deleting iguana config</progressText>
|
||||||
|
<ruleList>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${previous_installation_exists}</value1>
|
||||||
|
<value2>1</value2>
|
||||||
|
</compareValues>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${installation_type}</value1>
|
||||||
|
<value2>uninstall</value2>
|
||||||
|
</compareValues>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${delete_config_data}</value1>
|
||||||
|
<value2>1</value2>
|
||||||
|
</compareValues>
|
||||||
|
</ruleList>
|
||||||
|
</deleteFile>
|
||||||
|
<exit>
|
||||||
|
<explanation>Uninstalled</explanation>
|
||||||
|
<progressText>Uninstalled</progressText>
|
||||||
|
<ruleList>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${previous_installation_exists}</value1>
|
||||||
|
<value2>1</value2>
|
||||||
|
</compareValues>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${installation_type}</value1>
|
||||||
|
<value2>uninstall</value2>
|
||||||
|
</compareValues>
|
||||||
|
</ruleList>
|
||||||
|
</exit>
|
||||||
|
<showProgressDialog>
|
||||||
|
<title>Downloading files</title>
|
||||||
|
<actionList>
|
||||||
|
<httpGet>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation>
|
||||||
|
<filename>${system_temp_directory}/vc_redist.x64.exe</filename>
|
||||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
<url>https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe</url>
|
||||||
|
</httpGet>
|
||||||
|
</actionList>
|
||||||
|
<ruleList>
|
||||||
|
<fileExists>
|
||||||
|
<negate>1</negate>
|
||||||
|
<path>${system_temp_directory}/vc_redist.x64.exe</path>
|
||||||
|
</fileExists>
|
||||||
|
</ruleList>
|
||||||
|
</showProgressDialog>
|
||||||
|
<runProgram>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation>
|
||||||
|
<program>${system_temp_directory}/vc_redist.x64.exe</program>
|
||||||
|
<programArguments>/install /passive</programArguments>
|
||||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
</runProgram>
|
||||||
|
<showProgressDialog>
|
||||||
|
<title>Downloading files</title>
|
||||||
|
<actionList>
|
||||||
|
<httpGet>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation>
|
||||||
|
<filename>${system_temp_directory}/vc_redist.x86.exe</filename>
|
||||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
<url>https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe</url>
|
||||||
|
</httpGet>
|
||||||
|
</actionList>
|
||||||
|
<ruleList>
|
||||||
|
<fileExists>
|
||||||
|
<negate>1</negate>
|
||||||
|
<path>${system_temp_directory}/vc_redist.x86.exe</path>
|
||||||
|
</fileExists>
|
||||||
|
</ruleList>
|
||||||
|
</showProgressDialog>
|
||||||
|
<runProgram>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Visual C++ Redistributable for Visual Studio 2015 library files are needed for Agama daemon</explanation>
|
||||||
|
<program>${system_temp_directory}/vc_redist.x86.exe</program>
|
||||||
|
<programArguments>/install /passive</programArguments>
|
||||||
|
<progressText>Downloading Visual C++ Redistributable for Visual Studio 2015</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
</runProgram>
|
||||||
|
<createDirectory>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Creating ZcashParam directory</explanation>
|
||||||
|
<path>${windows_folder_appdata}/ZcashParams/</path>
|
||||||
|
<progressText>Creating ZcashParam directory</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
</createDirectory>
|
||||||
|
<showProgressDialog>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Zcash Params file: sprout-proving.key</explanation>
|
||||||
|
<progressText>Zcash Params file: sprout-proving.key</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
<title>Downloading Zcash Params file</title>
|
||||||
|
<actionList>
|
||||||
|
<httpGet>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Zcash Params file: sprout-proving.key</explanation>
|
||||||
|
<filename>${windows_folder_appdata}/ZcashParams/sprout-proving.key</filename>
|
||||||
|
<progressText>Zcash Params file: sprout-proving.key</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
<url>https://z.cash/downloads/sprout-proving.key</url>
|
||||||
|
</httpGet>
|
||||||
|
</actionList>
|
||||||
|
<ruleList>
|
||||||
|
<fileExists>
|
||||||
|
<negate>1</negate>
|
||||||
|
<path>${windows_folder_appdata}/ZcashParams/sprout-proving.key</path>
|
||||||
|
</fileExists>
|
||||||
|
</ruleList>
|
||||||
|
</showProgressDialog>
|
||||||
|
<showProgressDialog>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Zcash Params file: sprout-verifying.key</explanation>
|
||||||
|
<progressText>Zcash Params file: sprout-verifying.key</progressText>
|
||||||
|
<title>Downloading Zcash Params files</title>
|
||||||
|
<actionList>
|
||||||
|
<httpGet>
|
||||||
|
<abortOnError>0</abortOnError>
|
||||||
|
<explanation>Zcash Params file: sprout-verifying.key</explanation>
|
||||||
|
<filename>${windows_folder_appdata}/ZcashParams/sprout-verifying.key</filename>
|
||||||
|
<progressText>Zcash Params file: sprout-verifying.key</progressText>
|
||||||
|
<showMessageOnError>0</showMessageOnError>
|
||||||
|
<url>https://z.cash/downloads/sprout-verifying.key</url>
|
||||||
|
</httpGet>
|
||||||
|
</actionList>
|
||||||
|
<ruleList>
|
||||||
|
<fileExists>
|
||||||
|
<negate>1</negate>
|
||||||
|
<path>${windows_folder_appdata}/ZcashParams/sprout-verifying.key</path>
|
||||||
|
</fileExists>
|
||||||
|
</ruleList>
|
||||||
|
</showProgressDialog>
|
||||||
|
</readyToInstallActionList>
|
||||||
|
<postInstallationActionList>
|
||||||
|
<addEnvironmentVariable>
|
||||||
|
<name>VERUS_HOME</name>
|
||||||
|
<scope>system</scope>
|
||||||
|
<value>${installdir}/verus-cli/</value>
|
||||||
|
</addEnvironmentVariable>
|
||||||
|
<registrySet>
|
||||||
|
<key>HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname}</key>
|
||||||
|
<name>uninstaller_path</name>
|
||||||
|
<type>REG_SZ</type>
|
||||||
|
<value>${installdir}/${uninstallerName}.exe</value>
|
||||||
|
</registrySet>
|
||||||
|
<actionGroup>
|
||||||
|
<actionList>
|
||||||
|
<copyFile>
|
||||||
|
<destination>C:\Windows\System32\</destination>
|
||||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation>
|
||||||
|
<origin>${installdir}/resources/app/windeps/x86/vcruntime140d.dll</origin>
|
||||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText>
|
||||||
|
</copyFile>
|
||||||
|
</actionList>
|
||||||
|
<ruleList>
|
||||||
|
<platformTest type="windows-x86"/>
|
||||||
|
</ruleList>
|
||||||
|
</actionGroup>
|
||||||
|
<actionGroup>
|
||||||
|
<actionList>
|
||||||
|
<copyFile>
|
||||||
|
<destination>C:\Windows\System32\</destination>
|
||||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation>
|
||||||
|
<origin>${installdir}/resources/app/windeps/x64/ucrtbased.dll</origin>
|
||||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText>
|
||||||
|
</copyFile>
|
||||||
|
<copyFile>
|
||||||
|
<destination>C:\Windows\System32\</destination>
|
||||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation>
|
||||||
|
<origin>${installdir}/resources/app/windeps/x64/vcruntime140d.dll</origin>
|
||||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText>
|
||||||
|
</copyFile>
|
||||||
|
<copyFile>
|
||||||
|
<destination>C:\Windows\SysWOW64\</destination>
|
||||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation>
|
||||||
|
<origin>${installdir}/resources/app/windeps/x86/ucrtbased.dll</origin>
|
||||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText>
|
||||||
|
</copyFile>
|
||||||
|
<copyFile>
|
||||||
|
<destination>C:\Windows\SysWOW64\</destination>
|
||||||
|
<explanation>Copying ReqCopying Required DLL filesuired DLL files</explanation>
|
||||||
|
<origin>${installdir}/resources/app/windeps/x86/vcruntime140d.dll</origin>
|
||||||
|
<progressText>Copying ReqCopying Required DLL filesuired DLL files</progressText>
|
||||||
|
</copyFile>
|
||||||
|
</actionList>
|
||||||
|
<ruleList>
|
||||||
|
<platformTest type="windows-x64"/>
|
||||||
|
</ruleList>
|
||||||
|
</actionGroup>
|
||||||
|
</postInstallationActionList>
|
||||||
|
<postUninstallationActionList>
|
||||||
|
<registryDelete>
|
||||||
|
<key>HKEY_LOCAL_MACHINE\SOFTWARE\${project.shortname}</key>
|
||||||
|
<name>uninstaller_path</name>
|
||||||
|
</registryDelete>
|
||||||
|
</postUninstallationActionList>
|
||||||
|
<allowAddRemoveComponents>1</allowAddRemoveComponents>
|
||||||
|
<allowComponentSelection>1</allowComponentSelection>
|
||||||
|
<enableDebugger>1</enableDebugger>
|
||||||
|
<enableRollback>1</enableRollback>
|
||||||
|
<enableTimestamp>1</enableTimestamp>
|
||||||
|
<outputDirectory>../builds</outputDirectory>
|
||||||
|
<replaceLockedFilesOnReboot>1</replaceLockedFilesOnReboot>
|
||||||
|
<rollbackBackupDirectory>${windows_folder_appdata}</rollbackBackupDirectory>
|
||||||
|
<saveRelativePaths>1</saveRelativePaths>
|
||||||
|
<singleInstanceCheck>1</singleInstanceCheck>
|
||||||
|
<vendor>VerusCoin</vendor>
|
||||||
|
<windows64bitMode>1</windows64bitMode>
|
||||||
|
<parameterList>
|
||||||
|
<directoryParameter>
|
||||||
|
<name>installdir</name>
|
||||||
|
<description>Installer.Parameter.installdir.description</description>
|
||||||
|
<explanation>Installer.Parameter.installdir.explanation</explanation>
|
||||||
|
<value></value>
|
||||||
|
<default>${platform_install_prefix}/${product_shortname}</default>
|
||||||
|
<allowEmptyValue>0</allowEmptyValue>
|
||||||
|
<cliOptionName>prefix</cliOptionName>
|
||||||
|
<mustBeWritable>1</mustBeWritable>
|
||||||
|
<mustExist>0</mustExist>
|
||||||
|
<width>30</width>
|
||||||
|
<validationActionList>
|
||||||
|
<throwError>
|
||||||
|
<text>You don't have enough disk space to install the application,
|
||||||
|
please select another installation directory</text>
|
||||||
|
<ruleList>
|
||||||
|
<checkFreeDiskSpace>
|
||||||
|
<logic>less</logic>
|
||||||
|
<path>${installdir}</path>
|
||||||
|
<size>${required_diskspace}</size>
|
||||||
|
</checkFreeDiskSpace>
|
||||||
|
</ruleList>
|
||||||
|
</throwError>
|
||||||
|
</validationActionList>
|
||||||
|
</directoryParameter>
|
||||||
|
<choiceParameterGroup>
|
||||||
|
<name>installation_type</name>
|
||||||
|
<title>Instalation type</title>
|
||||||
|
<description>Existing instalation is detected</description>
|
||||||
|
<explanation>Existing instalation is detected</explanation>
|
||||||
|
<value>uninstall</value>
|
||||||
|
<default>uninstall</default>
|
||||||
|
<parameterList>
|
||||||
|
<parameterGroup>
|
||||||
|
<name>uninstall</name>
|
||||||
|
<title>Uninstall</title>
|
||||||
|
<explanation>Uninstall</explanation>
|
||||||
|
<value></value>
|
||||||
|
<default></default>
|
||||||
|
<parameterList>
|
||||||
|
<booleanParameter name="delete_user_data" description="Delete user data" displayStyle="checkbox-left">
|
||||||
|
<explanation></explanation>
|
||||||
|
<value>0</value>
|
||||||
|
<default>0</default>
|
||||||
|
</booleanParameter>
|
||||||
|
<booleanParameter name="delete_zcash_params" description="Delete Zcash params" displayStyle="checkbox-left">
|
||||||
|
<explanation></explanation>
|
||||||
|
<value>0</value>
|
||||||
|
<default>0</default>
|
||||||
|
</booleanParameter>
|
||||||
|
</parameterList>
|
||||||
|
</parameterGroup>
|
||||||
|
<labelParameter name="Upgrade" description="Upgrade to current version">
|
||||||
|
<title>Upgrade</title>
|
||||||
|
<explanation></explanation>
|
||||||
|
<image></image>
|
||||||
|
</labelParameter>
|
||||||
|
</parameterList>
|
||||||
|
<ruleList>
|
||||||
|
<compareValues>
|
||||||
|
<logic>equals</logic>
|
||||||
|
<value1>${previous_installation_exists}</value1>
|
||||||
|
<value2>1</value2>
|
||||||
|
</compareValues>
|
||||||
|
</ruleList>
|
||||||
|
</choiceParameterGroup>
|
||||||
|
</parameterList>
|
||||||
|
</project>
|
||||||
|
|
||||||
Reference in New Issue
Block a user