mirror of
https://github.com/wownero/wownerujo.git
synced 2026-10-17 15:41:36 +02:00
+1
-2
@@ -10,7 +10,6 @@
|
||||
opt
|
||||
|
||||
vendor
|
||||
external-libs/monero
|
||||
external-libs/libsodium
|
||||
external-libs
|
||||
tmp
|
||||
builder
|
||||
|
||||
@@ -155,6 +155,18 @@ add_library(net STATIC IMPORTED)
|
||||
set_target_properties(net PROPERTIES IMPORTED_LOCATION
|
||||
${EXTERNAL_LIBS_DIR}/monero/lib/${ANDROID_ABI}/libnet.a)
|
||||
|
||||
add_library(hardforks STATIC IMPORTED)
|
||||
set_target_properties(hardforks PROPERTIES IMPORTED_LOCATION
|
||||
${EXTERNAL_LIBS_DIR}/monero/lib/${ANDROID_ABI}/libhardforks.a)
|
||||
|
||||
add_library(rpc_base STATIC IMPORTED)
|
||||
set_target_properties(rpc_base PROPERTIES IMPORTED_LOCATION
|
||||
${EXTERNAL_LIBS_DIR}/monero/lib/${ANDROID_ABI}/librpc_base.a)
|
||||
|
||||
add_library(blocks STATIC IMPORTED)
|
||||
set_target_properties(blocks PROPERTIES IMPORTED_LOCATION
|
||||
${EXTERNAL_LIBS_DIR}/monero/lib/${ANDROID_ABI}/libblocks.a)
|
||||
|
||||
#############
|
||||
# System
|
||||
#############
|
||||
@@ -189,6 +201,10 @@ target_link_libraries( monerujo
|
||||
multisig
|
||||
version
|
||||
randomx
|
||||
hardforks
|
||||
rpc_base
|
||||
blocks
|
||||
|
||||
|
||||
boost_chrono
|
||||
boost_date_time
|
||||
|
||||
+6
-6
@@ -10,8 +10,8 @@ android {
|
||||
// https://source.android.com/security/bulletin/2018-03-01
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 28
|
||||
versionCode 1220
|
||||
versionName '2.6.1.1'
|
||||
versionCode 1230
|
||||
versionName '2.7.0.0'
|
||||
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
@@ -50,13 +50,13 @@ android {
|
||||
}
|
||||
}
|
||||
// def abiCodes = ['arm64-v8a': 2]
|
||||
def abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2, 'x86_64': 4]
|
||||
def abiCodes = ['arm64-v8a': 2, 'x86_64': 4]
|
||||
splits {
|
||||
abi {
|
||||
enable true
|
||||
reset()
|
||||
// include 'arm64-v8a'
|
||||
include 'armeabi-v7a', 'arm64-v8a', 'x86_64'
|
||||
include 'arm64-v8a', 'x86_64'
|
||||
universalApk true
|
||||
}
|
||||
}
|
||||
@@ -68,12 +68,12 @@ android {
|
||||
// abi {
|
||||
// enable true
|
||||
// reset()
|
||||
// include 'armeabi-v7a', 'arm64-v8a', 'x86_64'
|
||||
// include 'arm64-v8a', 'x86_64'
|
||||
// universalApk true
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// abiCodes = ['armeabi-v7a': 1, 'arm64-v8a': 2, 'x86_64': 4]
|
||||
// abiCodes = ['arm64-v8a': 2, 'x86_64': 4]
|
||||
// }
|
||||
}
|
||||
// Map for the version code that gives each ABI a value.
|
||||
|
||||
@@ -57,6 +57,10 @@ public class RestoreHeight {
|
||||
blockheight.put("2019-04", 93000L);
|
||||
blockheight.put("2019-05", 101000L);
|
||||
blockheight.put("2019-06", 110000L);
|
||||
blockheight.put("2019-07", 119000L);
|
||||
blockheight.put("2019-08", 128000L);
|
||||
blockheight.put("2019-09", 137000L);
|
||||
blockheight.put("2019-10", 146000L);
|
||||
}
|
||||
|
||||
long latestHeight = 77000L;
|
||||
|
||||
@@ -373,7 +373,7 @@
|
||||
<string name="send_sweepall">Send all confirmed funds in this account!</string>
|
||||
<string name="tx_subaddress">Subaddress #%1$d</string>
|
||||
<string name="generate_address_label_sub">Public Subaddress #%1$d</string>
|
||||
<string name="default_restore_height">2019-06</string>
|
||||
<string name="default_restore_height">2019-10</string>
|
||||
<string name="menu_language">Language</string>
|
||||
<string name="language_system_default">Use System Language</string>
|
||||
</resources>
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
boost
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,46 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# -D BOOST_ROOT=/opt/android/boost_1_58_0
|
||||
|
||||
set -e
|
||||
|
||||
orig_path=$PATH
|
||||
build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
||||
|
||||
packages=(boost openssl monero libsodium)
|
||||
archs=(arm arm64 x86_64)
|
||||
|
||||
for arch in ${archs[@]}; do
|
||||
case ${arch} in
|
||||
"arm")
|
||||
xarch="armeabi-v7a"
|
||||
;;
|
||||
"arm64")
|
||||
xarch="arm64-v8a"
|
||||
;;
|
||||
"x86")
|
||||
xarch="x86"
|
||||
;;
|
||||
"x86_64")
|
||||
xarch="x86_64"
|
||||
;;
|
||||
*)
|
||||
exit 16
|
||||
;;
|
||||
esac
|
||||
|
||||
for package in ${packages[@]}; do
|
||||
OUTPUT_DIR=`pwd`/$package/lib/$xarch
|
||||
mkdir -p $OUTPUT_DIR
|
||||
rm -f $OUTPUT_DIR/*.a
|
||||
cp -a $build_root/build/$package/$arch/lib/*.a $OUTPUT_DIR
|
||||
|
||||
if [ $package = "monero" -a -d "$build_root/build/$package/include" ]; then
|
||||
rm -rf $OUTPUT_DIR/../../include
|
||||
cp -a $build_root/build/$package/include $OUTPUT_DIR/../..
|
||||
fi
|
||||
|
||||
done
|
||||
done
|
||||
exit 0
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -1,4 +0,0 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -8,7 +8,7 @@ set -e
|
||||
rm -rf prebuilt
|
||||
mkdir prebuilt
|
||||
|
||||
archs=(arm arm64 x86_64)
|
||||
archs=(arm64 x86_64)
|
||||
|
||||
for arch in ${archs[@]}; do
|
||||
xLIB="/lib"
|
||||
|
||||
@@ -20,7 +20,7 @@ args="--build-type=minimal link=static runtime-link=static --with-chrono \
|
||||
--toolset=clang-android threading=multi threadapi=pthread target-os=android \
|
||||
"
|
||||
|
||||
archs=(arm arm64 x86_64)
|
||||
archs=(arm64 x86_64)
|
||||
for arch in ${archs[@]}; do
|
||||
extra_build_flags=""
|
||||
case ${arch} in
|
||||
|
||||
@@ -8,7 +8,7 @@ build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
||||
cd $build_root/libsodium
|
||||
./autogen.sh
|
||||
|
||||
archs=(arm arm64 x86_64)
|
||||
archs=(arm64 x86_64)
|
||||
for arch in ${archs[@]}; do
|
||||
extra_cmake_flags=""
|
||||
case ${arch} in
|
||||
|
||||
@@ -13,7 +13,7 @@ build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
||||
|
||||
build_type=release # or debug
|
||||
|
||||
archs=(arm arm64 x86_64)
|
||||
archs=(arm64 x86_64)
|
||||
|
||||
for arch in ${archs[@]}; do
|
||||
ldflags=""
|
||||
|
||||
@@ -4,9 +4,46 @@ set -e
|
||||
|
||||
source script/build-external-libs/env.sh
|
||||
|
||||
rm -rf external-libs
|
||||
mkdir external-libs
|
||||
cd external-libs
|
||||
|
||||
find . -name "*.a" -exec rm {} \;
|
||||
find . -name "*.h" -exec rm {} \;
|
||||
orig_path=$PATH
|
||||
build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
||||
|
||||
./collect.sh
|
||||
packages=(boost openssl monero libsodium)
|
||||
archs=(arm64 x86_64)
|
||||
|
||||
for arch in ${archs[@]}; do
|
||||
case ${arch} in
|
||||
"arm")
|
||||
xarch="armeabi-v7a"
|
||||
;;
|
||||
"arm64")
|
||||
xarch="arm64-v8a"
|
||||
;;
|
||||
"x86")
|
||||
xarch="x86"
|
||||
;;
|
||||
"x86_64")
|
||||
xarch="x86_64"
|
||||
;;
|
||||
*)
|
||||
exit 16
|
||||
;;
|
||||
esac
|
||||
|
||||
for package in ${packages[@]}; do
|
||||
OUTPUT_DIR=`pwd`/$package/lib/$xarch
|
||||
mkdir -p $OUTPUT_DIR
|
||||
rm -f $OUTPUT_DIR/*.a
|
||||
cp -a $build_root/build/$package/$arch/lib/*.a $OUTPUT_DIR
|
||||
|
||||
if [ $package = "monero" -a -d "$build_root/build/$package/include" ]; then
|
||||
rm -rf $OUTPUT_DIR/../../include
|
||||
cp -a $build_root/build/$package/include $OUTPUT_DIR/../..
|
||||
fi
|
||||
|
||||
done
|
||||
done
|
||||
exit 0
|
||||
|
||||
@@ -10,10 +10,8 @@ cd $EXTERNAL_LIBS_BUILD_ROOT
|
||||
|
||||
|
||||
# url="$base_dir/vendor/wownero"
|
||||
# url="https://github.com/wownero/wownero"
|
||||
url="https://github.com/wownero/wownero"
|
||||
version="v0.6.1.1"
|
||||
# version="dev-v0.6"
|
||||
version="v0.7.0"
|
||||
|
||||
|
||||
rm -rf wownero
|
||||
|
||||
@@ -9,10 +9,6 @@ cd wownero
|
||||
|
||||
sed -i 's/-Werror/-Wall/g' CMakeLists.txt
|
||||
sed -i 's/program_options locale/program_options/g' CMakeLists.txt
|
||||
sed -i 's/find_path(ZMQ_INCLUDE_PATH zmq.hpp)//g' CMakeLists.txt
|
||||
sed -i 's/find_library(ZMQ_LIB zmq)//g' CMakeLists.txt
|
||||
sed -i 's/message(FATAL_ERROR "Could not find required header zmq.hpp")//g' CMakeLists.txt
|
||||
sed -i 's/message(FATAL_ERROR "Could not find required libzmq")//g' CMakeLists.txt
|
||||
sed -i 's/bool create_address_file = false/bool create_address_file = true/g' src/wallet/wallet2.h
|
||||
|
||||
sodium_pattern="find_library(SODIUM_LIBRARY sodium)"
|
||||
|
||||
@@ -9,7 +9,7 @@ build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
||||
mkdir -p $build_root/build/openssl/
|
||||
cp -aL $build_root/android-openssl/openssl-OpenSSL_1_0_2l/include/openssl/ $build_root/build/openssl/include
|
||||
|
||||
archs=(arm arm64 x86_64)
|
||||
archs=(arm64 x86_64)
|
||||
|
||||
for arch in ${archs[@]}; do
|
||||
mkdir -p $build_root/build/openssl/$arch
|
||||
|
||||
@@ -8,7 +8,7 @@ build_root=$EXTERNAL_LIBS_BUILD_ROOT
|
||||
PATH=$ANDROID_NDK_ROOT/build/tools/:$PATH
|
||||
|
||||
args="--api 23 --stl=libc++"
|
||||
archs=(arm arm64 x86_64)
|
||||
archs=(arm64 x86_64)
|
||||
|
||||
for arch in ${archs[@]}; do
|
||||
|
||||
|
||||
@@ -5,13 +5,21 @@ with pkgs;
|
||||
let
|
||||
|
||||
fdroid-python-packages = python-packages: with python-packages; [
|
||||
requests
|
||||
paramiko
|
||||
pyasn1-modules
|
||||
androguard
|
||||
clint
|
||||
defusedxml
|
||||
GitPython
|
||||
libcloud
|
||||
mwclient
|
||||
paramiko
|
||||
pillow
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
python-vagrant
|
||||
pyyaml
|
||||
|
||||
virtualenvwrapper
|
||||
qrcode
|
||||
requests
|
||||
ruamel_yaml
|
||||
]
|
||||
|
||||
; python-with-fdroid-packages = pkgs.python3.withPackages fdroid-python-packages
|
||||
|
||||
@@ -94,8 +94,8 @@ with nixpkgs;
|
||||
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
|
||||
export app_version=1220
|
||||
export gradle_app_version=2x6x1x1
|
||||
export app_version=1230
|
||||
export gradle_app_version=2x7x0x0
|
||||
export release_key=~/.android/fuwa-release-key.jks
|
||||
|
||||
export USE_CCACHE=1
|
||||
|
||||
Reference in New Issue
Block a user