mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 07:11:29 +02:00
build: remove libiconv
This commit is contained in:
+8
-6
@@ -138,16 +138,18 @@ if(MINGW)
|
||||
endif()
|
||||
|
||||
set(BOOST_COMPONENTS
|
||||
system
|
||||
filesystem
|
||||
thread
|
||||
date_time
|
||||
chrono
|
||||
date_time
|
||||
filesystem
|
||||
program_options
|
||||
regex
|
||||
serialization
|
||||
program_options
|
||||
locale
|
||||
system
|
||||
thread
|
||||
)
|
||||
if (WIN32)
|
||||
list(APPEND BOOST_COMPONENTS locale)
|
||||
endif()
|
||||
|
||||
if(STACK_TRACE AND UNIX AND NOT APPLE)
|
||||
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)_file_name=$(package)_$(subst .,_,$($(package)_version)).tar.gz
|
||||
$(package)_sha256_hash=be0d91732d5b0cc6fbb275c7939974457e79b54d6f07ce2e3dfdd68bef883b0b
|
||||
$(package)_dependencies=libiconv
|
||||
$(package)_patches=disable_addr2line.patch
|
||||
|
||||
define $(package)_set_vars
|
||||
@@ -21,7 +20,8 @@ $(package)_toolset_$(host_os)=gcc
|
||||
$(package)_archiver_$(host_os)=$($(package)_ar)
|
||||
$(package)_toolset_darwin=darwin
|
||||
$(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_linux=-fPIC
|
||||
$(package)_cxxflags_freebsd=-fPIC
|
||||
@@ -33,7 +33,7 @@ define $(package)_preprocess_cmds
|
||||
endef
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
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()
|
||||
|
||||
set(ICONV_LIBRARIES @prefix@/lib/libiconv.a)
|
||||
|
||||
SET(ZMQ_INCLUDE_PATH @prefix@/include)
|
||||
SET(ZMQ_LIB @prefix@/lib/libzmq.a)
|
||||
|
||||
|
||||
+1
-1
Submodule monero updated: e39e3e68ba...14d2ac095d
@@ -288,10 +288,6 @@ if(CHECK_UPDATES)
|
||||
target_link_libraries(feather PRIVATE openpgp)
|
||||
endif()
|
||||
|
||||
if(DEPENDS)
|
||||
target_link_libraries(feather PRIVATE ${ICONV_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(DEVICE_TREZOR_READY)
|
||||
find_package(Protobuf CONFIG)
|
||||
if (NOT Protobuf_FOUND)
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <sodium/core.h>
|
||||
#include <sodium/utils.h>
|
||||
#include <sodium/randombytes.h>
|
||||
#include <boost/locale.hpp>
|
||||
|
||||
#include <array>
|
||||
|
||||
@@ -15,8 +14,6 @@
|
||||
|
||||
namespace polyseed {
|
||||
|
||||
static std::locale locale;
|
||||
|
||||
static size_t utf8_nfc(const char* str, polyseed_str norm) {
|
||||
auto Qstr = QString(str);
|
||||
auto Qs = Qstr.normalized(QString::NormalizationForm_C);
|
||||
@@ -63,10 +60,6 @@ namespace polyseed {
|
||||
throw std::runtime_error("sodium_init failed");
|
||||
}
|
||||
|
||||
boost::locale::generator gen;
|
||||
gen.locale_cache_enabled(true);
|
||||
locale = gen("");
|
||||
|
||||
sodium_memzero(seed, POLYSEED_RANDBYTES);
|
||||
|
||||
polyseed_dependency pd;
|
||||
|
||||
Reference in New Issue
Block a user