cleanup patches (and other stuff) (#79)

* cleanup patches
* fix polyseed patch
* Fix iOS builds
* fix polyseed dependencies
* fix polyseed patch for macOS
* update ledger patch
* update wownero patches and version
* update checksums
* wip"
* update gitmodules
* update boost build script
* update build_single.sh
* vix verbosey_copy
* fix __clear_cache bug on wownero
* update randomwow
* migrate build system
* fix cross compilation issues
* some more build issue
* update polyseed
* cleanup cmakelists
* fix toolchain.cmake.in
* add ssp
* another attempt at building windows on CI
* fix package name
* migrate mirror to my own hosting
* change download mirror priority (fallback first)
* link ssp in monero module as well by using CMAKE_{C,CXX}_FLAGS
* fix android builds
* update polyseed source
* 13 -> trixie
* fix package name conflicts, update runner to sid
* update boost to 1_84_0, disable patch that's no longer needed
* switch to ubuntu:24.04
* add POLYSEED_STATIC to toolchain.cmake.in in order to properly link
* drop patches
* fixes to darwin
* link missing wowner-seed library
* a litte bit more of experiments
* build locale only on windows
* update iconv
* update definitions
* update ci builds
* update my progress
* ios fix, update depends, ci
* multithread build system
* fix android, mingw and linux build issues
* remove dependency check
* update Dockerfile to include pigz
* show a message when pigz is missing
* fix devcontainer mingw setup (missing ENV)
* update android build runner
* sailfishos dropped (you better go behave yourself and run actual linux programs)
* fiz pigz issues
* install llvm-ranlib for android
* fix iOS build issues
* fix dummy ledger patch
* fix macos and darwin
* fix macos ci
* fix macos build command
* install autoconf
* add automake
* add libtool
* macos fixes, wownero fixes, idk what else, please help me
* fix wownero iOS build
* Cleanup patches
* add try-catch into monero code
* fix error handling
* update checksums
This commit is contained in:
cyan
2024-12-04 10:22:48 -05:00
committed by GitHub
parent 40c1a1bda4
commit 2a38bf2961
179 changed files with 19947 additions and 5612 deletions
-17
View File
@@ -2143,23 +2143,6 @@ int Wallet_daemonBlockChainHeight(wallet ptr) {
return daemonBlockChainHeight;
}
int Wallet_daemonBlockChainHeight_cached(wallet ptr) {
debugStart?.call('MONERO_Wallet_daemonBlockChainHeight_cached');
lib ??= MoneroC(DynamicLibrary.open(libPath));
final daemonBlockChainHeight =
lib!.MONERO_Wallet_daemonBlockChainHeight_cached(ptr);
debugEnd?.call('MONERO_Wallet_daemonBlockChainHeight_cached');
return daemonBlockChainHeight;
}
void Wallet_daemonBlockChainHeight_runThread(wallet ptr, int seconds) {
debugStart?.call('MONERO_Wallet_daemonBlockChainHeight_enableRefresh');
lib ??= MoneroC(DynamicLibrary.open(libPath));
final ret = lib!.MONERO_Wallet_daemonBlockChainHeight_runThread(ptr, seconds);
debugEnd?.call('MONERO_Wallet_daemonBlockChainHeight_enableRefresh');
return ret;
}
bool Wallet_synchronized(wallet ptr) {
debugStart?.call('MONERO_Wallet_synchronized');
lib ??= MoneroC(DynamicLibrary.open(libPath));
@@ -1,4 +1,4 @@
// ignore_for_file: constant_identifier_names
const String wallet2_api_c_h_sha256 = "198a27486ce4f014b737f52ec2879a90838c3b3ca088de8dc7d55b79a10f4a5b";
const String wallet2_api_c_cpp_sha256 = "22b0c9dd542fb55edfe9e17da67e97ddf5f80bcdd3e126e1bd64cce54234bde1-b089f9ee69924882c5d14dd1a6991deb05d9d1cd";
const String wallet2_api_c_exp_sha256 = "c1f785d62709fd8b849063ecf4fe8854d9e3b05b568b9716de98d33e7bdaf522";
const String wallet2_api_c_h_sha256 = "9e80c4b59a0509aa02fbf01e8df2881b89f82225d1765bfa7856cbdbaf7af116";
const String wallet2_api_c_cpp_sha256 = "d229507db508e574bd2badf4819a38dbead8c16a84311ad32c22c887a6003439-b089f9ee69924882c5d14dd1a6991deb05d9d1cd";
const String wallet2_api_c_exp_sha256 = "d0f95f1f3bc49f1f59fe4eb0b61826128d7d3bb75405d5a01a252d02db03097d";
@@ -1,4 +1,4 @@
// ignore_for_file: constant_identifier_names
const String wallet2_api_c_h_sha256 = "8a8d386dd5d996c89a0586c55b295ef95ca584bf1ffa26255152b291910a0a77";
const String wallet2_api_c_cpp_sha256 = "07d67f34a07869aaa4af6ca04e142dbad2fb1fba0e2ebdefd22bc333fd982e25-e25963cbc11ca0a0fe5eb34b9bd7c72e4f51b795";
const String wallet2_api_c_exp_sha256 = "3673e40e1a7115552276d1d541f6e4d5a0fef47c40fff7b988f49923af84c8a4";
const String wallet2_api_c_h_sha256 = "f99009d1ca1d1c783cc9aa0fb63f680d48753b88124fb5de2079c57b7e34c827";
const String wallet2_api_c_cpp_sha256 = "880add77ec8c77d8054a6f21e996d6d08a37ef84e10df7220630426fd048b43c-dd46a31f3cab67b316e9239b15acf7d5cea60aa9";
const String wallet2_api_c_exp_sha256 = "5f53ea8bbe66a5e5aa6cbc4ca00695900e08589cfd32062e88965a24252d05ba";
@@ -2763,39 +2763,6 @@ class MoneroC {
_MONERO_Wallet_daemonBlockChainHeightPtr.asFunction<
int Function(ffi.Pointer<ffi.Void>)>();
int MONERO_Wallet_daemonBlockChainHeight_cached(
ffi.Pointer<ffi.Void> wallet_ptr,
) {
return _MONERO_Wallet_daemonBlockChainHeight_cached(
wallet_ptr,
);
}
late final _MONERO_Wallet_daemonBlockChainHeight_cachedPtr =
_lookup<ffi.NativeFunction<ffi.Uint64 Function(ffi.Pointer<ffi.Void>)>>(
'MONERO_Wallet_daemonBlockChainHeight_cached');
late final _MONERO_Wallet_daemonBlockChainHeight_cached =
_MONERO_Wallet_daemonBlockChainHeight_cachedPtr.asFunction<
int Function(ffi.Pointer<ffi.Void>)>();
void MONERO_Wallet_daemonBlockChainHeight_runThread(
ffi.Pointer<ffi.Void> wallet_ptr,
int seconds,
) {
return _MONERO_Wallet_daemonBlockChainHeight_runThread(
wallet_ptr,
seconds,
);
}
late final _MONERO_Wallet_daemonBlockChainHeight_runThreadPtr = _lookup<
ffi
.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int)>>(
'MONERO_Wallet_daemonBlockChainHeight_runThread');
late final _MONERO_Wallet_daemonBlockChainHeight_runThread =
_MONERO_Wallet_daemonBlockChainHeight_runThreadPtr.asFunction<
void Function(ffi.Pointer<ffi.Void>, int)>();
int MONERO_Wallet_daemonBlockChainTargetHeight(
ffi.Pointer<ffi.Void> wallet_ptr,
) {
@@ -2740,39 +2740,6 @@ class WowneroC {
_WOWNERO_Wallet_daemonBlockChainHeightPtr.asFunction<
int Function(ffi.Pointer<ffi.Void>)>();
int WOWNERO_Wallet_daemonBlockChainHeight_cached(
ffi.Pointer<ffi.Void> wallet_ptr,
) {
return _WOWNERO_Wallet_daemonBlockChainHeight_cached(
wallet_ptr,
);
}
late final _WOWNERO_Wallet_daemonBlockChainHeight_cachedPtr =
_lookup<ffi.NativeFunction<ffi.Uint64 Function(ffi.Pointer<ffi.Void>)>>(
'WOWNERO_Wallet_daemonBlockChainHeight_cached');
late final _WOWNERO_Wallet_daemonBlockChainHeight_cached =
_WOWNERO_Wallet_daemonBlockChainHeight_cachedPtr.asFunction<
int Function(ffi.Pointer<ffi.Void>)>();
void WOWNERO_Wallet_daemonBlockChainHeight_runThread(
ffi.Pointer<ffi.Void> wallet_ptr,
int seconds,
) {
return _WOWNERO_Wallet_daemonBlockChainHeight_runThread(
wallet_ptr,
seconds,
);
}
late final _WOWNERO_Wallet_daemonBlockChainHeight_runThreadPtr = _lookup<
ffi
.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int)>>(
'WOWNERO_Wallet_daemonBlockChainHeight_runThread');
late final _WOWNERO_Wallet_daemonBlockChainHeight_runThread =
_WOWNERO_Wallet_daemonBlockChainHeight_runThreadPtr.asFunction<
void Function(ffi.Pointer<ffi.Void>, int)>();
int WOWNERO_Wallet_daemonBlockChainTargetHeight(
ffi.Pointer<ffi.Void> wallet_ptr,
) {
-18
View File
@@ -2108,24 +2108,6 @@ int Wallet_daemonBlockChainHeight(wallet ptr) {
return daemonBlockChainHeight;
}
int Wallet_daemonBlockChainHeight_cached(wallet ptr) {
debugStart?.call('WOWNERO_Wallet_daemonBlockChainHeight_cached');
lib ??= WowneroC(DynamicLibrary.open(libPath));
final daemonBlockChainHeight =
lib!.WOWNERO_Wallet_daemonBlockChainHeight_cached(ptr);
debugEnd?.call('WOWNERO_Wallet_daemonBlockChainHeight_cached');
return daemonBlockChainHeight;
}
void Wallet_daemonBlockChainHeight_runThread(wallet ptr, int seconds) {
debugStart?.call('WOWNERO_Wallet_daemonBlockChainHeight_enableRefresh');
lib ??= WowneroC(DynamicLibrary.open(libPath));
final ret =
lib!.WOWNERO_Wallet_daemonBlockChainHeight_runThread(ptr, seconds);
debugEnd?.call('WOWNERO_Wallet_daemonBlockChainHeight_enableRefresh');
return ret;
}
bool Wallet_synchronized(wallet ptr) {
debugStart?.call('WOWNERO_Wallet_synchronized');
lib ??= WowneroC(DynamicLibrary.open(libPath));