Merge branch 'update-dogecoin-2.0.8-fixed-2' into 'master'

Update Dogecoin Wallet to 2.0.8

This request includes:

* Adding in Scrypt, libdohj, and bitcoinj library metadata files under srclib
* Updating the Dogecoin metadata file and tuning its build parameters to build on F-Droid's build system.

Pointing out binaries:

* The project contains some native code library binaries in a JNI directory for Scrypt functionality, which are removed using the scandelete build field. These Scrypt libraries are rebuilt from source using the project found through the Scrypt srclib metadata file.
* There is a BouncyCastle BKS Keystore stored as wallet/assets/ssl-keystore. This keystore's contents can be listed using

`keytool -keystore wallet/assets/ssl-keystore -list
-storetype BKS
-providerclass org.bouncycastle.jce.provider.BouncyCastleProvider
-providerpath /path/to/bouncycastle/library.jar`.

This keystore is the exact same keystore as the one found in the Bitcoin application project (the file is ignored in the Bitcoin metadata file as well).
* Similar to the Bitcoin wallet project, there is a binary used only during the testing portion of the build process, so that file has been removed with scandelete as well, as it should not affect the application at runtime.

See merge request !1316
This commit is contained in:
Boris Kraut 2016-04-03 15:49:52 +00:00
commit a4e989080e
4 changed files with 34 additions and 3 deletions

View file

@ -7,8 +7,8 @@ Issue Tracker:https://github.com/langerhans/dogecoin-wallet-new/issues
Auto Name:Dogecoin Wallet
Summary:Store digital currency
Description:
Dodgecoin is a digital currency similar to [http://en.wikipedia.org/wiki/Bitcoin
Bitcoin]. The app itself ist based on [[de.schildbach.wallet]].
Dogecoin is a digital currency similar to [http://en.wikipedia.org/wiki/Bitcoin
Bitcoin]. The app itself is based on [[de.schildbach.wallet]].
.
Repo Type:git
@ -24,7 +24,30 @@ Build:1.07,157
scanignore=wallet
build=$$MVN3$$ clean install -DskipTests -f DogecoinJ/pom.xml
Build:2.0.8,208
commit=2.0.8
gradle=_mainnet
output=wallet/build/outputs/apk/dogecoin-wallet-_mainnet-release-unsigned.apk
srclibs=libdohj@89cf3c6b1778632198c90335157fa7a9fe858623,bitcoinj@08ab6a0da5cc0b88c8bbac565053b0713802106a,scrypt@0675236370458e819ee21e4427c5f7f3f9485d33
prebuild=pushd $$bitcoinj$$ && \
$$MVN3$$ -DskipTests --projects core clean install && \
popd && \
pushd $$libdohj$$ && \
$$MVN3$$ -DskipTests clean install && \
popd && \
pushd $$scrypt$$ && \
TARGET=android NDK_ROOT=$$NDK$$ PATH=$$NDK$$/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin:$PATH make clean all && \
popd && \
cp --force $$scrypt$$/target/libscrypt.so wallet/jniLibs/armeabi/ && \
pushd $$scrypt$$ && \
TARGET=android NDK_ROOT=$$NDK$$ PATH=$$NDK$$/toolchains/x86-4.8/prebuilt/linux-x86/bin:$PATH make CC=i686-linux-android-gcc SYSROOT=$$NDK$$/platforms/android-9/arch-x86 clean all && \
popd && \
cp --force $$scrypt$$/target/libscrypt.so wallet/jniLibs/x86/
scanignore=wallet/assets/ssl-keystore
scandelete=wallet/jniLibs,wallet/test/de/schildbach/wallet/util/backup-protobuf-testnet
ndk=r10e
Auto Update Mode:None
Update Check Mode:RepoManifest
Update Check Mode:None
Current Version:2.0.8
Current Version Code:208

3
srclibs/bitcoinj.txt Normal file
View file

@ -0,0 +1,3 @@
Repo Type:git
Repo:https://github.com/bitcoinj/bitcoinj.git

3
srclibs/libdohj.txt Normal file
View file

@ -0,0 +1,3 @@
Repo Type:git
Repo:https://github.com/dogecoin/libdohj.git

2
srclibs/scrypt.txt Normal file
View file

@ -0,0 +1,2 @@
Repo Type:git
Repo:https://github.com/wg/scrypt