mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +00:00
build: remove libiconv
Some checks are pending
ci/gh-actions/build / build-ubuntu-without-scanner (push) Waiting to run
ci/gh-actions/guix / x86_64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-w64-mingw32.installer (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-w64-mingw32 (push) Blocked by required conditions
ci/gh-actions/guix / bundle-logs (push) Blocked by required conditions
ci/gh-actions/guix / cache-sources (push) Waiting to run
ci/gh-actions/guix / aarch64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / arm-linux-gnueabihf (push) Blocked by required conditions
ci/gh-actions/guix / arm64-apple-darwin (push) Blocked by required conditions
ci/gh-actions/guix / i686-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / riscv64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-apple-darwin (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-linux-gnu.no-tor-bundle (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-linux-gnu.pack (push) Blocked by required conditions
Some checks are pending
ci/gh-actions/build / build-ubuntu-without-scanner (push) Waiting to run
ci/gh-actions/guix / x86_64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-w64-mingw32.installer (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-w64-mingw32 (push) Blocked by required conditions
ci/gh-actions/guix / bundle-logs (push) Blocked by required conditions
ci/gh-actions/guix / cache-sources (push) Waiting to run
ci/gh-actions/guix / aarch64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / arm-linux-gnueabihf (push) Blocked by required conditions
ci/gh-actions/guix / arm64-apple-darwin (push) Blocked by required conditions
ci/gh-actions/guix / i686-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / riscv64-linux-gnu (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-apple-darwin (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-linux-gnu.no-tor-bundle (push) Blocked by required conditions
ci/gh-actions/guix / x86_64-linux-gnu.pack (push) Blocked by required conditions
This commit is contained in:
parent
ef8db19c94
commit
17a7ac26d3
9 changed files with 13 additions and 66 deletions
|
@ -138,16 +138,18 @@ if(MINGW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(BOOST_COMPONENTS
|
set(BOOST_COMPONENTS
|
||||||
system
|
|
||||||
filesystem
|
|
||||||
thread
|
|
||||||
date_time
|
|
||||||
chrono
|
chrono
|
||||||
|
date_time
|
||||||
|
filesystem
|
||||||
|
program_options
|
||||||
regex
|
regex
|
||||||
serialization
|
serialization
|
||||||
program_options
|
system
|
||||||
locale
|
thread
|
||||||
)
|
)
|
||||||
|
if (WIN32)
|
||||||
|
list(APPEND BOOST_COMPONENTS locale)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(STACK_TRACE AND UNIX AND NOT APPLE)
|
if(STACK_TRACE AND UNIX AND NOT APPLE)
|
||||||
list(APPEND BOOST_COMPONENTS
|
list(APPEND BOOST_COMPONENTS
|
||||||
|
|
|
@ -3,7 +3,6 @@ $(package)_version=1.85.0
|
||||||
$(package)_download_path=https://boostorg.jfrog.io/artifactory/main/release/$($(package)_version)/source/
|
$(package)_download_path=https://boostorg.jfrog.io/artifactory/main/release/$($(package)_version)/source/
|
||||||
$(package)_file_name=$(package)_$(subst .,_,$($(package)_version)).tar.gz
|
$(package)_file_name=$(package)_$(subst .,_,$($(package)_version)).tar.gz
|
||||||
$(package)_sha256_hash=be0d91732d5b0cc6fbb275c7939974457e79b54d6f07ce2e3dfdd68bef883b0b
|
$(package)_sha256_hash=be0d91732d5b0cc6fbb275c7939974457e79b54d6f07ce2e3dfdd68bef883b0b
|
||||||
$(package)_dependencies=libiconv
|
|
||||||
$(package)_patches=disable_addr2line.patch
|
$(package)_patches=disable_addr2line.patch
|
||||||
|
|
||||||
define $(package)_set_vars
|
define $(package)_set_vars
|
||||||
|
@ -21,7 +20,8 @@ $(package)_toolset_$(host_os)=gcc
|
||||||
$(package)_archiver_$(host_os)=$($(package)_ar)
|
$(package)_archiver_$(host_os)=$($(package)_ar)
|
||||||
$(package)_toolset_darwin=darwin
|
$(package)_toolset_darwin=darwin
|
||||||
$(package)_archiver_darwin=$($(package)_libtool)
|
$(package)_archiver_darwin=$($(package)_libtool)
|
||||||
$(package)_config_libraries=chrono,filesystem,program_options,system,thread,test,date_time,regex,serialization,locale,stacktrace
|
$(package)_config_libraries_$(host_os)="chrono,filesystem,program_options,system,thread,test,date_time,regex,serialization,stacktrace"
|
||||||
|
$(package)_config_libraries_mingw32="chrono,filesystem,program_options,system,thread,test,date_time,regex,serialization,stacktrace,locale"
|
||||||
$(package)_cxxflags=-std=c++17
|
$(package)_cxxflags=-std=c++17
|
||||||
$(package)_cxxflags_linux=-fPIC
|
$(package)_cxxflags_linux=-fPIC
|
||||||
$(package)_cxxflags_freebsd=-fPIC
|
$(package)_cxxflags_freebsd=-fPIC
|
||||||
|
@ -33,7 +33,7 @@ define $(package)_preprocess_cmds
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_config_cmds
|
define $(package)_config_cmds
|
||||||
./bootstrap.sh --without-icu --with-libraries=$(boost_config_libraries)
|
./bootstrap.sh --without-icu --with-libraries=$(boost_config_libraries_$(host_os))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define $(package)_build_cmds
|
define $(package)_build_cmds
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
package=libiconv
|
|
||||||
$(package)_version=1.17
|
|
||||||
$(package)_download_path=https://ftp.gnu.org/gnu/libiconv
|
|
||||||
$(package)_file_name=libiconv-$($(package)_version).tar.gz
|
|
||||||
$(package)_sha256_hash=8f74213b56238c85a50a5329f77e06198771e70dd9a739779f4c02f65d971313
|
|
||||||
|
|
||||||
define $(package)_set_vars
|
|
||||||
$(package)_config_opts=--disable-nls
|
|
||||||
$(package)_config_opts=--enable-static
|
|
||||||
$(package)_config_opts=--disable-shared
|
|
||||||
$(package)_config_opts_linux=--with-pic
|
|
||||||
$(package)_config_opts_freebsd=--with-pic
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_config_cmds
|
|
||||||
$($(package)_autoconf) AR_FLAGS=$($(package)_arflags)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_build_cmds
|
|
||||||
$(MAKE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_stage_cmds
|
|
||||||
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define $(package)_postprocess_cmds
|
|
||||||
rm lib/*.la
|
|
||||||
endef
|
|
|
@ -1,4 +1,4 @@
|
||||||
packages := boost openssl libiconv unbound qrencode libsodium polyseed hidapi abseil protobuf libusb zlib libgpg-error libgcrypt expat libzip zxing-cpp
|
packages := boost openssl unbound qrencode libsodium polyseed hidapi abseil protobuf libusb zlib libgpg-error libgcrypt expat libzip zxing-cpp
|
||||||
native_packages := native_qt native_abseil native_protobuf
|
native_packages := native_qt native_abseil native_protobuf
|
||||||
|
|
||||||
linux_packages := eudev libfuse libsquashfuse zstd appimage_runtime
|
linux_packages := eudev libfuse libsquashfuse zstd appimage_runtime
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/preload/configure b/preload/configure
|
|
||||||
index aab5c77..e20b8f0 100755
|
|
||||||
--- a/preload/configure
|
|
||||||
+++ b/preload/configure
|
|
||||||
@@ -588,7 +588,7 @@ MAKEFLAGS=
|
|
||||||
PACKAGE_NAME='libiconv'
|
|
||||||
PACKAGE_TARNAME='libiconv'
|
|
||||||
PACKAGE_VERSION='0'
|
|
||||||
-PACKAGE_STRING='libiconv 0'
|
|
||||||
+PACKAGE_STRING='libiconv0'
|
|
||||||
PACKAGE_BUGREPORT=''
|
|
||||||
PACKAGE_URL=''
|
|
||||||
|
|
|
@ -56,8 +56,6 @@ endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(ICONV_LIBRARIES @prefix@/lib/libiconv.a)
|
|
||||||
|
|
||||||
SET(ZMQ_INCLUDE_PATH @prefix@/include)
|
SET(ZMQ_INCLUDE_PATH @prefix@/include)
|
||||||
SET(ZMQ_LIB @prefix@/lib/libzmq.a)
|
SET(ZMQ_LIB @prefix@/lib/libzmq.a)
|
||||||
|
|
||||||
|
|
2
monero
2
monero
|
@ -1 +1 @@
|
||||||
Subproject commit e39e3e68ba432846199634baca9c2d3ad0d926cd
|
Subproject commit 14d2ac095df656745e383258f4434ed4968b1c6b
|
|
@ -288,10 +288,6 @@ if(CHECK_UPDATES)
|
||||||
target_link_libraries(feather PRIVATE openpgp)
|
target_link_libraries(feather PRIVATE openpgp)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(DEPENDS)
|
|
||||||
target_link_libraries(feather PRIVATE ${ICONV_LIBRARIES})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(DEVICE_TREZOR_READY)
|
if(DEVICE_TREZOR_READY)
|
||||||
find_package(Protobuf CONFIG)
|
find_package(Protobuf CONFIG)
|
||||||
if (NOT Protobuf_FOUND)
|
if (NOT Protobuf_FOUND)
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#include <sodium/core.h>
|
#include <sodium/core.h>
|
||||||
#include <sodium/utils.h>
|
#include <sodium/utils.h>
|
||||||
#include <sodium/randombytes.h>
|
#include <sodium/randombytes.h>
|
||||||
#include <boost/locale.hpp>
|
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
@ -15,8 +14,6 @@
|
||||||
|
|
||||||
namespace polyseed {
|
namespace polyseed {
|
||||||
|
|
||||||
static std::locale locale;
|
|
||||||
|
|
||||||
static size_t utf8_nfc(const char* str, polyseed_str norm) {
|
static size_t utf8_nfc(const char* str, polyseed_str norm) {
|
||||||
auto Qstr = QString(str);
|
auto Qstr = QString(str);
|
||||||
auto Qs = Qstr.normalized(QString::NormalizationForm_C);
|
auto Qs = Qstr.normalized(QString::NormalizationForm_C);
|
||||||
|
@ -63,10 +60,6 @@ namespace polyseed {
|
||||||
throw std::runtime_error("sodium_init failed");
|
throw std::runtime_error("sodium_init failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::locale::generator gen;
|
|
||||||
gen.locale_cache_enabled(true);
|
|
||||||
locale = gen("");
|
|
||||||
|
|
||||||
sodium_memzero(seed, POLYSEED_RANDBYTES);
|
sodium_memzero(seed, POLYSEED_RANDBYTES);
|
||||||
|
|
||||||
polyseed_dependency pd;
|
polyseed_dependency pd;
|
||||||
|
|
Loading…
Reference in a new issue