Merge branch 'v0.11.0.x' of https://github.com/darkcoin/darkcoin into v0.11.0.x
This commit is contained in:
commit
00ef788f86
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: "darkcoin"
|
name: "bitcoin"
|
||||||
suites:
|
suites:
|
||||||
- "precise"
|
- "precise"
|
||||||
architectures:
|
architectures:
|
||||||
@ -95,4 +95,4 @@ script: |
|
|||||||
done
|
done
|
||||||
#
|
#
|
||||||
cd $STAGING
|
cd $STAGING
|
||||||
find include lib bin host | sort | zip -X@ $OUTDIR/darkcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
|
find include lib bin host | sort | zip -X@ $OUTDIR/bitcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: "darkcoin-deps"
|
name: "bitcoin-deps"
|
||||||
suites:
|
suites:
|
||||||
- "precise"
|
- "precise"
|
||||||
architectures:
|
architectures:
|
||||||
@ -124,5 +124,5 @@ script: |
|
|||||||
done
|
done
|
||||||
#
|
#
|
||||||
cd $INSTALLPREFIX
|
cd $INSTALLPREFIX
|
||||||
find include lib | sort | zip -X@ $OUTDIR/darkcoin-deps-win$BITS-gitian-r15.zip
|
find include lib | sort | zip -X@ $OUTDIR/bitcoin-deps-win$BITS-gitian-r15.zip
|
||||||
done # for BITS in
|
done # for BITS in
|
||||||
|
@ -20,13 +20,13 @@ packages:
|
|||||||
- "libqt4-dbus"
|
- "libqt4-dbus"
|
||||||
- "libqt4-network"
|
- "libqt4-network"
|
||||||
- "libqt4-test"
|
- "libqt4-test"
|
||||||
reference_datetime: "2013-06-01 00:00:00"
|
reference_datetime: "2014-01-10 00:00:00"
|
||||||
remotes:
|
remotes:
|
||||||
- "url": "https://github.com/darkcoin/darkcoin.git"
|
- "url": "https://github.com/darkcoin/darkcoin.git"
|
||||||
"dir": "darkcoin"
|
"dir": "darkcoin"
|
||||||
files:
|
files:
|
||||||
- "darkcoin-deps-linux32-gitian-r8.zip"
|
- "bitcoin-deps-linux32-gitian-r8.zip"
|
||||||
- "darkcoin-deps-linux64-gitian-r8.zip"
|
- "bitcoin-deps-linux64-gitian-r8.zip"
|
||||||
- "boost-linux32-1.55.0-gitian-r1.zip"
|
- "boost-linux32-1.55.0-gitian-r1.zip"
|
||||||
- "boost-linux64-1.55.0-gitian-r1.zip"
|
- "boost-linux64-1.55.0-gitian-r1.zip"
|
||||||
- "qt-linux32-4.6.4-gitian-r1.tar.gz"
|
- "qt-linux32-4.6.4-gitian-r1.tar.gz"
|
||||||
@ -43,7 +43,7 @@ script: |
|
|||||||
#
|
#
|
||||||
mkdir -p $STAGING
|
mkdir -p $STAGING
|
||||||
cd $STAGING
|
cd $STAGING
|
||||||
unzip ../build/darkcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
|
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r8.zip
|
||||||
unzip ../build/boost-linux${GBUILD_BITS}-1.55.0-gitian-r1.zip
|
unzip ../build/boost-linux${GBUILD_BITS}-1.55.0-gitian-r1.zip
|
||||||
tar -zxf ../build/qt-linux${GBUILD_BITS}-4.6.4-gitian-r1.tar.gz
|
tar -zxf ../build/qt-linux${GBUILD_BITS}-4.6.4-gitian-r1.tar.gz
|
||||||
cd ../build
|
cd ../build
|
||||||
|
@ -12,7 +12,7 @@ packages:
|
|||||||
- "pkg-config"
|
- "pkg-config"
|
||||||
- "p7zip-full"
|
- "p7zip-full"
|
||||||
|
|
||||||
reference_datetime: "2013-06-01 00:00:00"
|
reference_datetime: "2014-01-10 00:00:00"
|
||||||
remotes:
|
remotes:
|
||||||
- "url": "https://github.com/darkcoin/darkcoin.git"
|
- "url": "https://github.com/darkcoin/darkcoin.git"
|
||||||
"dir": "darkcoin"
|
"dir": "darkcoin"
|
@ -1,37 +0,0 @@
|
|||||||
---
|
|
||||||
name: "darkcoin-dmg-signer"
|
|
||||||
suites:
|
|
||||||
- "precise"
|
|
||||||
architectures:
|
|
||||||
- "amd64"
|
|
||||||
packages:
|
|
||||||
- "libc6:i386"
|
|
||||||
- "faketime"
|
|
||||||
reference_datetime: "2013-06-01 00:00:00"
|
|
||||||
remotes: []
|
|
||||||
files:
|
|
||||||
- "darkcoin-0.9.99-osx-unsigned.tar.gz"
|
|
||||||
- "signature.tar.gz"
|
|
||||||
script: |
|
|
||||||
WRAP_DIR=$HOME/wrapped
|
|
||||||
mkdir -p ${WRAP_DIR}
|
|
||||||
export PATH=`pwd`:$PATH
|
|
||||||
FAKETIME_PROGS="dmg genisoimage"
|
|
||||||
|
|
||||||
# Create global faketime wrappers
|
|
||||||
for prog in ${FAKETIME_PROGS}; do
|
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
|
|
||||||
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
|
|
||||||
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
|
|
||||||
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${prog}
|
|
||||||
echo "\$REAL \$@" >> $WRAP_DIR/${prog}
|
|
||||||
chmod +x ${WRAP_DIR}/${prog}
|
|
||||||
done
|
|
||||||
|
|
||||||
UNSIGNED=`echo darkcoin-*.tar.gz`
|
|
||||||
SIGNED=`echo ${UNSIGNED} | sed 's/.tar.*//' | sed 's/-unsigned//'`.dmg
|
|
||||||
|
|
||||||
tar -xf ${UNSIGNED}
|
|
||||||
./detached-sig-apply.sh ${UNSIGNED} signature.tar.gz
|
|
||||||
${WRAP_DIR}/genisoimage -no-cache-inodes -D -l -probe -V "Darkcoin-Qt" -no-pad -r -apple -o uncompressed.dmg signed-app
|
|
||||||
${WRAP_DIR}/dmg dmg uncompressed.dmg ${OUTDIR}/${SIGNED}
|
|
@ -1,134 +0,0 @@
|
|||||||
---
|
|
||||||
name: "darkcoin-osx-0.11"
|
|
||||||
enable_cache: true
|
|
||||||
suites:
|
|
||||||
- "precise"
|
|
||||||
architectures:
|
|
||||||
- "amd64"
|
|
||||||
packages:
|
|
||||||
- "g++-multilib"
|
|
||||||
- "git-core"
|
|
||||||
- "pkg-config"
|
|
||||||
- "autoconf2.13"
|
|
||||||
- "libtool"
|
|
||||||
- "automake"
|
|
||||||
- "faketime"
|
|
||||||
- "bsdmainutils"
|
|
||||||
- "cmake"
|
|
||||||
- "libcap-dev"
|
|
||||||
- "libz-dev"
|
|
||||||
- "libbz2-dev"
|
|
||||||
reference_datetime: "2013-06-01 00:00:00"
|
|
||||||
remotes:
|
|
||||||
- "url": "https://github.com/darkcoin/darkcoin.git"
|
|
||||||
"dir": "darkcoin"
|
|
||||||
files:
|
|
||||||
- "MacOSX10.7.sdk.tar.gz"
|
|
||||||
script: |
|
|
||||||
WRAP_DIR=$HOME/wrapped
|
|
||||||
HOSTS="x86_64-apple-darwin11"
|
|
||||||
CONFIGFLAGS="--enable-upnp-default GENISOIMAGE=$WRAP_DIR/genisoimage"
|
|
||||||
FAKETIME_HOST_PROGS=""
|
|
||||||
FAKETIME_PROGS="ar ranlib date dmg genisoimage"
|
|
||||||
|
|
||||||
export QT_RCC_TEST=1
|
|
||||||
export GZIP="-9n"
|
|
||||||
export TAR_OPTIONS="--mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
|
|
||||||
export TZ="UTC"
|
|
||||||
export BUILD_DIR=`pwd`
|
|
||||||
mkdir -p ${WRAP_DIR}
|
|
||||||
if test -n "$GBUILD_CACHE_ENABLED"; then
|
|
||||||
export SOURCES_PATH=${GBUILD_COMMON_CACHE}
|
|
||||||
export BASE_CACHE=${GBUILD_PACKAGE_CACHE}
|
|
||||||
mkdir -p ${BASE_CACHE} ${SOURCES_PATH}
|
|
||||||
fi
|
|
||||||
|
|
||||||
export ZERO_AR_DATE=1
|
|
||||||
|
|
||||||
# Create global faketime wrappers
|
|
||||||
for prog in ${FAKETIME_PROGS}; do
|
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
|
|
||||||
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
|
|
||||||
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
|
|
||||||
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${prog}
|
|
||||||
echo "\$REAL \$@" >> $WRAP_DIR/${prog}
|
|
||||||
chmod +x ${WRAP_DIR}/${prog}
|
|
||||||
done
|
|
||||||
|
|
||||||
# Create per-host faketime wrappers
|
|
||||||
for i in $HOSTS; do
|
|
||||||
for prog in ${FAKETIME_HOST_PROGS}; do
|
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${i}-${prog}
|
|
||||||
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
|
|
||||||
echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
|
|
||||||
echo "export FAKETIME=\"${REFERENCE_DATETIME}\"" >> ${WRAP_DIR}/${i}-${prog}
|
|
||||||
echo "\$REAL \$@" >> $WRAP_DIR/${i}-${prog}
|
|
||||||
chmod +x ${WRAP_DIR}/${i}-${prog}
|
|
||||||
done
|
|
||||||
done
|
|
||||||
export PATH=${WRAP_DIR}:${PATH}
|
|
||||||
|
|
||||||
cd darkcoin
|
|
||||||
BASEPREFIX=`pwd`/depends
|
|
||||||
|
|
||||||
mkdir -p ${BASEPREFIX}/SDKs
|
|
||||||
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/MacOSX10.7.sdk.tar.gz
|
|
||||||
|
|
||||||
# Build dependencies for each host
|
|
||||||
for i in $HOSTS; do
|
|
||||||
make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Create the release tarball using (arbitrarily) the first host
|
|
||||||
./autogen.sh
|
|
||||||
./configure --prefix=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`
|
|
||||||
make dist
|
|
||||||
SOURCEDIST=`echo darkcoin-*.tar.gz`
|
|
||||||
DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'`
|
|
||||||
|
|
||||||
# Correct tar file order
|
|
||||||
mkdir -p temp
|
|
||||||
pushd temp
|
|
||||||
tar xf ../$SOURCEDIST
|
|
||||||
find darkcoin-* | sort | tar --no-recursion -c -T - | gzip -9n > ../$SOURCEDIST
|
|
||||||
popd
|
|
||||||
|
|
||||||
ORIGPATH="$PATH"
|
|
||||||
# Extract the release tarball into a dir for each host and build
|
|
||||||
for i in ${HOSTS}; do
|
|
||||||
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
|
|
||||||
mkdir -p distsrc-${i}
|
|
||||||
cd distsrc-${i}
|
|
||||||
INSTALLPATH=`pwd`/installed/${DISTNAME}
|
|
||||||
mkdir -p ${INSTALLPATH}
|
|
||||||
tar --strip-components=1 -xf ../$SOURCEDIST
|
|
||||||
|
|
||||||
./configure --prefix=${BASEPREFIX}/${i} --bindir=${INSTALLPATH}/bin --includedir=${INSTALLPATH}/include --libdir=${INSTALLPATH}/lib --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS}
|
|
||||||
make ${MAKEOPTS}
|
|
||||||
make install-strip
|
|
||||||
|
|
||||||
make deploydir
|
|
||||||
mkdir -p unsigned-app-${i}
|
|
||||||
cp contrib/macdeploy/detached-sig-apply.sh unsigned-app-${i}
|
|
||||||
cp contrib/macdeploy/detached-sig-create.sh unsigned-app-${i}
|
|
||||||
cp ${BASEPREFIX}/${i}/native/bin/dmg ${BASEPREFIX}/${i}/native/bin/genisoimage unsigned-app-${i}
|
|
||||||
cp ${BASEPREFIX}/${i}/native/bin/${i}-codesign_allocate unsigned-app-${i}/codesign_allocate
|
|
||||||
cp ${BASEPREFIX}/${i}/native/bin/${i}-pagestuff unsigned-app-${i}/pagestuff
|
|
||||||
mv dist unsigned-app-${i}
|
|
||||||
pushd unsigned-app-${i}
|
|
||||||
find . | sort | tar --no-recursion -czf ${OUTDIR}/${DISTNAME}-osx-unsigned.tar.gz -T -
|
|
||||||
popd
|
|
||||||
|
|
||||||
make deploy
|
|
||||||
${WRAP_DIR}/dmg dmg Darkcoin-Qt.dmg ${OUTDIR}/${DISTNAME}-osx-unsigned.dmg
|
|
||||||
|
|
||||||
cd installed
|
|
||||||
find . -name "lib*.la" -delete
|
|
||||||
find . -name "lib*.a" -delete
|
|
||||||
rm -rf ${DISTNAME}/lib/pkgconfig
|
|
||||||
find . | sort | tar --no-recursion -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}.tar.gz
|
|
||||||
cd ../../
|
|
||||||
done
|
|
||||||
mkdir -p $OUTDIR/src
|
|
||||||
mv $SOURCEDIST $OUTDIR/src
|
|
||||||
mv ${OUTDIR}/${DISTNAME}-x86_64-*.tar.gz ${OUTDIR}/${DISTNAME}-osx64.tar.gz
|
|
@ -17,7 +17,7 @@ packages:
|
|||||||
- "pkg-config"
|
- "pkg-config"
|
||||||
- "bsdmainutils"
|
- "bsdmainutils"
|
||||||
|
|
||||||
reference_datetime: "2013-06-01 00:00:00"
|
reference_datetime: "2014-01-10 00:00:00"
|
||||||
remotes:
|
remotes:
|
||||||
- "url": "https://github.com/darkcoin/darkcoin.git"
|
- "url": "https://github.com/darkcoin/darkcoin.git"
|
||||||
"dir": "darkcoin"
|
"dir": "darkcoin"
|
||||||
@ -26,8 +26,8 @@ files:
|
|||||||
- "qt-win64-5.2.0-gitian-r3.zip"
|
- "qt-win64-5.2.0-gitian-r3.zip"
|
||||||
- "boost-win32-1.55.0-gitian-r6.zip"
|
- "boost-win32-1.55.0-gitian-r6.zip"
|
||||||
- "boost-win64-1.55.0-gitian-r6.zip"
|
- "boost-win64-1.55.0-gitian-r6.zip"
|
||||||
- "darkcoin-deps-win32-gitian-r15.zip"
|
- "bitcoin-deps-win32-gitian-r15.zip"
|
||||||
- "darkcoin-deps-win64-gitian-r15.zip"
|
- "bitcoin-deps-win64-gitian-r15.zip"
|
||||||
- "protobuf-win32-2.5.0-gitian-r4.zip"
|
- "protobuf-win32-2.5.0-gitian-r4.zip"
|
||||||
- "protobuf-win64-2.5.0-gitian-r4.zip"
|
- "protobuf-win64-2.5.0-gitian-r4.zip"
|
||||||
script: |
|
script: |
|
||||||
@ -61,7 +61,7 @@ script: |
|
|||||||
cd $STAGING
|
cd $STAGING
|
||||||
unzip $INDIR/qt-win${BITS}-5.2.0-gitian-r3.zip
|
unzip $INDIR/qt-win${BITS}-5.2.0-gitian-r3.zip
|
||||||
unzip $INDIR/boost-win${BITS}-1.55.0-gitian-r6.zip
|
unzip $INDIR/boost-win${BITS}-1.55.0-gitian-r6.zip
|
||||||
unzip $INDIR/darkcoin-deps-win${BITS}-gitian-r15.zip
|
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r15.zip
|
||||||
unzip $INDIR/protobuf-win${BITS}-2.5.0-gitian-r4.zip
|
unzip $INDIR/protobuf-win${BITS}-2.5.0-gitian-r4.zip
|
||||||
if [ "$NEEDDIST" == "1" ]; then
|
if [ "$NEEDDIST" == "1" ]; then
|
||||||
# Make source code archive which is architecture independent so it only needs to be done once
|
# Make source code archive which is architecture independent so it only needs to be done once
|
||||||
@ -85,7 +85,7 @@ script: |
|
|||||||
make $MAKEOPTS
|
make $MAKEOPTS
|
||||||
make deploy
|
make deploy
|
||||||
make install-strip
|
make install-strip
|
||||||
#cp -f darkcoin-*setup*.exe $BINDIR/
|
cp -f darkcoin-*setup*.exe $BINDIR/
|
||||||
unset LD_PRELOAD
|
unset LD_PRELOAD
|
||||||
unset FAKETIME
|
unset FAKETIME
|
||||||
done # for BITS in
|
done # for BITS in
|
||||||
|
@ -15,8 +15,8 @@ reference_datetime: "2011-01-30 00:00:00"
|
|||||||
remotes: []
|
remotes: []
|
||||||
files:
|
files:
|
||||||
- "qt-everywhere-opensource-src-5.2.0.tar.gz"
|
- "qt-everywhere-opensource-src-5.2.0.tar.gz"
|
||||||
- "darkcoin-deps-win32-gitian-r15.zip"
|
- "bitcoin-deps-win32-gitian-r15.zip"
|
||||||
- "darkcoin-deps-win64-gitian-r15.zip"
|
- "bitcoin-deps-win64-gitian-r15.zip"
|
||||||
script: |
|
script: |
|
||||||
# Defines
|
# Defines
|
||||||
export TZ=UTC
|
export TZ=UTC
|
||||||
@ -46,9 +46,9 @@ script: |
|
|||||||
#
|
#
|
||||||
mkdir -p $INSTALLPREFIX $INSTALLPREFIX/host/bin $DEPSDIR $BUILDDIR
|
mkdir -p $INSTALLPREFIX $INSTALLPREFIX/host/bin $DEPSDIR $BUILDDIR
|
||||||
#
|
#
|
||||||
# Need mingw-compiled openssl from darkcoin-deps:
|
# Need mingw-compiled openssl from bitcoin-deps:
|
||||||
cd $DEPSDIR
|
cd $DEPSDIR
|
||||||
unzip $INDIR/darkcoin-deps-win${BITS}-gitian-r15.zip
|
unzip $INDIR/bitcoin-deps-win${BITS}-gitian-r15.zip
|
||||||
#
|
#
|
||||||
cd $BUILDDIR
|
cd $BUILDDIR
|
||||||
#
|
#
|
||||||
|
@ -6,8 +6,8 @@ SetCompressor /SOLID lzma
|
|||||||
# General Symbol Definitions
|
# General Symbol Definitions
|
||||||
!define REGKEY "SOFTWARE\$(^Name)"
|
!define REGKEY "SOFTWARE\$(^Name)"
|
||||||
!define VERSION @CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@
|
!define VERSION @CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@
|
||||||
!define COMPANY "Bitcoin Core project"
|
!define COMPANY "Darkcoin Core project"
|
||||||
!define URL http://www.bitcoin.org/
|
!define URL https://www.darkcoin.io/
|
||||||
|
|
||||||
# MUI Symbol Definitions
|
# MUI Symbol Definitions
|
||||||
!define MUI_ICON "@abs_top_srcdir@/share/pixmaps/bitcoin.ico"
|
!define MUI_ICON "@abs_top_srcdir@/share/pixmaps/bitcoin.ico"
|
||||||
@ -20,7 +20,7 @@ SetCompressor /SOLID lzma
|
|||||||
!define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY}
|
!define MUI_STARTMENUPAGE_REGISTRY_KEY ${REGKEY}
|
||||||
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME StartMenuGroup
|
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME StartMenuGroup
|
||||||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "@PACKAGE_NAME@"
|
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "@PACKAGE_NAME@"
|
||||||
!define MUI_FINISHPAGE_RUN $INSTDIR\bitcoin-qt.exe
|
!define MUI_FINISHPAGE_RUN $INSTDIR\darkcoin-qt.exe
|
||||||
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
|
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
|
||||||
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "@abs_top_srcdir@/share/pixmaps/nsis-wizard.bmp"
|
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "@abs_top_srcdir@/share/pixmaps/nsis-wizard.bmp"
|
||||||
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
|
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
|
||||||
@ -48,18 +48,18 @@ Var StartMenuGroup
|
|||||||
!insertmacro MUI_LANGUAGE English
|
!insertmacro MUI_LANGUAGE English
|
||||||
|
|
||||||
# Installer attributes
|
# Installer attributes
|
||||||
OutFile @abs_top_srcdir@/bitcoin-${VERSION}-win@WINDOWS_BITS@-setup.exe
|
OutFile @abs_top_srcdir@/darkcoin-${VERSION}-win@WINDOWS_BITS@-setup.exe
|
||||||
!if "@WINDOWS_BITS@" == "64"
|
!if "@WINDOWS_BITS@" == "64"
|
||||||
InstallDir $PROGRAMFILES64\Bitcoin
|
InstallDir $PROGRAMFILES64\Darkcoin
|
||||||
!else
|
!else
|
||||||
InstallDir $PROGRAMFILES\Bitcoin
|
InstallDir $PROGRAMFILES\Darkcoin
|
||||||
!endif
|
!endif
|
||||||
CRCCheck on
|
CRCCheck on
|
||||||
XPStyle on
|
XPStyle on
|
||||||
BrandingText " "
|
BrandingText " "
|
||||||
ShowInstDetails show
|
ShowInstDetails show
|
||||||
VIProductVersion ${VERSION}.@CLIENT_VERSION_BUILD@
|
VIProductVersion ${VERSION}.@CLIENT_VERSION_BUILD@
|
||||||
VIAddVersionKey ProductName "Bitcoin Core"
|
VIAddVersionKey ProductName "Darkcoin Core"
|
||||||
VIAddVersionKey ProductVersion "${VERSION}"
|
VIAddVersionKey ProductVersion "${VERSION}"
|
||||||
VIAddVersionKey CompanyName "${COMPANY}"
|
VIAddVersionKey CompanyName "${COMPANY}"
|
||||||
VIAddVersionKey CompanyWebsite "${URL}"
|
VIAddVersionKey CompanyWebsite "${URL}"
|
||||||
@ -73,19 +73,19 @@ ShowUninstDetails show
|
|||||||
Section -Main SEC0000
|
Section -Main SEC0000
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
SetOverwrite on
|
SetOverwrite on
|
||||||
File @abs_top_srcdir@/release/bitcoin-qt.exe
|
File @abs_top_srcdir@/release/darkcoin-qt.exe
|
||||||
File /oname=COPYING.txt @abs_top_srcdir@/COPYING
|
File /oname=COPYING.txt @abs_top_srcdir@/COPYING
|
||||||
File /oname=readme.txt @abs_top_srcdir@/doc/README_windows.txt
|
File /oname=readme.txt @abs_top_srcdir@/doc/README_windows.txt
|
||||||
SetOutPath $INSTDIR\daemon
|
SetOutPath $INSTDIR\daemon
|
||||||
File @abs_top_srcdir@/release/bitcoind.exe
|
File @abs_top_srcdir@/release/darkcoind.exe
|
||||||
File @abs_top_srcdir@/release/bitcoin-cli.exe
|
File @abs_top_srcdir@/release/darkcoin-cli.exe
|
||||||
SetOutPath $INSTDIR\doc
|
SetOutPath $INSTDIR\doc
|
||||||
File /r @abs_top_srcdir@/doc\*.*
|
File /r @abs_top_srcdir@/doc\*.*
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
WriteRegStr HKCU "${REGKEY}\Components" Main 1
|
WriteRegStr HKCU "${REGKEY}\Components" Main 1
|
||||||
|
|
||||||
# Remove old wxwidgets-based-bitcoin executable and locales:
|
# Remove old wxwidgets-based-darkcoin executable and locales:
|
||||||
Delete /REBOOTOK $INSTDIR\bitcoin.exe
|
Delete /REBOOTOK $INSTDIR\darkcoin.exe
|
||||||
RMDir /r /REBOOTOK $INSTDIR\locale
|
RMDir /r /REBOOTOK $INSTDIR\locale
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
@ -95,7 +95,7 @@ Section -post SEC0001
|
|||||||
WriteUninstaller $INSTDIR\uninstall.exe
|
WriteUninstaller $INSTDIR\uninstall.exe
|
||||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||||
CreateDirectory $SMPROGRAMS\$StartMenuGroup
|
CreateDirectory $SMPROGRAMS\$StartMenuGroup
|
||||||
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" $INSTDIR\bitcoin-qt.exe
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" $INSTDIR\darkcoin-qt.exe
|
||||||
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" $INSTDIR\uninstall.exe
|
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" $INSTDIR\uninstall.exe
|
||||||
!insertmacro MUI_STARTMENU_WRITE_END
|
!insertmacro MUI_STARTMENU_WRITE_END
|
||||||
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayName "$(^Name)"
|
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayName "$(^Name)"
|
||||||
@ -106,10 +106,10 @@ Section -post SEC0001
|
|||||||
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" UninstallString $INSTDIR\uninstall.exe
|
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" UninstallString $INSTDIR\uninstall.exe
|
||||||
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoModify 1
|
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoModify 1
|
||||||
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoRepair 1
|
WriteRegDWORD HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" NoRepair 1
|
||||||
WriteRegStr HKCR "bitcoin" "URL Protocol" ""
|
WriteRegStr HKCR "darkcoin" "URL Protocol" ""
|
||||||
WriteRegStr HKCR "bitcoin" "" "URL:Bitcoin"
|
WriteRegStr HKCR "darkcoin" "" "URL:Darkcoin"
|
||||||
WriteRegStr HKCR "bitcoin\DefaultIcon" "" $INSTDIR\bitcoin-qt.exe
|
WriteRegStr HKCR "darkcoin\DefaultIcon" "" $INSTDIR\darkcoin-qt.exe
|
||||||
WriteRegStr HKCR "bitcoin\shell\open\command" "" '"$INSTDIR\bitcoin-qt.exe" "%1"'
|
WriteRegStr HKCR "darkcoin\shell\open\command" "" '"$INSTDIR\darkcoin-qt.exe" "%1"'
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
# Macro for selecting uninstaller sections
|
# Macro for selecting uninstaller sections
|
||||||
@ -127,7 +127,7 @@ done${UNSECTION_ID}:
|
|||||||
|
|
||||||
# Uninstaller sections
|
# Uninstaller sections
|
||||||
Section /o -un.Main UNSEC0000
|
Section /o -un.Main UNSEC0000
|
||||||
Delete /REBOOTOK $INSTDIR\bitcoin-qt.exe
|
Delete /REBOOTOK $INSTDIR\darkcoin-qt.exe
|
||||||
Delete /REBOOTOK $INSTDIR\COPYING.txt
|
Delete /REBOOTOK $INSTDIR\COPYING.txt
|
||||||
Delete /REBOOTOK $INSTDIR\readme.txt
|
Delete /REBOOTOK $INSTDIR\readme.txt
|
||||||
RMDir /r /REBOOTOK $INSTDIR\daemon
|
RMDir /r /REBOOTOK $INSTDIR\daemon
|
||||||
@ -139,7 +139,7 @@ Section -un.post UNSEC0001
|
|||||||
DeleteRegKey HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)"
|
DeleteRegKey HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)"
|
||||||
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk"
|
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk"
|
||||||
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk"
|
Delete /REBOOTOK "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk"
|
||||||
Delete /REBOOTOK "$SMSTARTUP\Bitcoin.lnk"
|
Delete /REBOOTOK "$SMSTARTUP\Darkcoin.lnk"
|
||||||
Delete /REBOOTOK $INSTDIR\uninstall.exe
|
Delete /REBOOTOK $INSTDIR\uninstall.exe
|
||||||
Delete /REBOOTOK $INSTDIR\debug.log
|
Delete /REBOOTOK $INSTDIR\debug.log
|
||||||
Delete /REBOOTOK $INSTDIR\db.log
|
Delete /REBOOTOK $INSTDIR\db.log
|
||||||
@ -147,7 +147,7 @@ Section -un.post UNSEC0001
|
|||||||
DeleteRegValue HKCU "${REGKEY}" Path
|
DeleteRegValue HKCU "${REGKEY}" Path
|
||||||
DeleteRegKey /IfEmpty HKCU "${REGKEY}\Components"
|
DeleteRegKey /IfEmpty HKCU "${REGKEY}\Components"
|
||||||
DeleteRegKey /IfEmpty HKCU "${REGKEY}"
|
DeleteRegKey /IfEmpty HKCU "${REGKEY}"
|
||||||
DeleteRegKey HKCR "bitcoin"
|
DeleteRegKey HKCR "drkcoin"
|
||||||
RmDir /REBOOTOK $SMPROGRAMS\$StartMenuGroup
|
RmDir /REBOOTOK $SMPROGRAMS\$StartMenuGroup
|
||||||
RmDir /REBOOTOK $INSTDIR
|
RmDir /REBOOTOK $INSTDIR
|
||||||
Push $R0
|
Push $R0
|
||||||
|
Loading…
Reference in New Issue
Block a user