aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2025-02-25 15:32:49 +0000
committertobtoht <tob@featherwallet.org>2025-02-25 15:32:49 +0000
commit1669a6402584c9dc2518e2efc3c089ff69bc6267 (patch)
treedf6384d465e2d2589cc6640c06f9065c3a811171
parent521fee91cd59c7186eade07b2464a28d17715bfe (diff)
parent413c0db7c03c8dbf2b232387fdd1e899e73ed3d7 (diff)
downloadmonzero-gui-1669a6402584c9dc2518e2efc3c089ff69bc6267.tar.gz
monzero-gui-1669a6402584c9dc2518e2efc3c089ff69bc6267.tar.xz
monzero-gui-1669a6402584c9dc2518e2efc3c089ff69bc6267.zip
Merge pull request #4416
413c0db7 ci: fix MSYS2 build (tobtoht)
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--CMakeLists.txt1
-rw-r--r--README.md2
-rw-r--r--cmake/Deploy.cmake10
4 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d712403d..68390f11 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -56,7 +56,7 @@ jobs:
- uses: eine/setup-msys2@v2
with:
update: true
- install: mingw-w64-x86_64-toolchain make mingw-w64-x86_64-pcre mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb mingw-w64-x86_64-unbound git mingw-w64-x86_64-qt5 mingw-w64-x86_64-libgcrypt
+ install: mingw-w64-x86_64-toolchain make mingw-w64-x86_64-pcre mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb mingw-w64-x86_64-unbound git mingw-w64-x86_64-qt5 mingw-w64-x86_64-libgcrypt mingw-w64-x86_64-angleproject
- name: build
run: DEV_MODE=ON make release-win64 -j2
- name: deploy
diff --git a/CMakeLists.txt b/CMakeLists.txt
index df41459f..d38fb377 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -68,6 +68,7 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
get_directory_property(ARCH_WIDTH DIRECTORY "monero" DEFINITION ARCH_WIDTH)
+get_directory_property(Boost_VERSION_STRING DIRECTORY "monero" DEFINITION Boost_VERSION_STRING)
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DQT_NO_DEBUG)
diff --git a/README.md b/README.md
index 16fa8a97..32759045 100644
--- a/README.md
+++ b/README.md
@@ -309,7 +309,7 @@ The Monero GUI on Windows is 64 bits only; 32-bit Windows GUI builds are not off
3. Install MSYS2 packages for Monero dependencies; the needed 64-bit packages have `x86_64` in their names
```
- pacman -S mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb mingw-w64-x86_64-libgcrypt mingw-w64-x86_64-unbound mingw-w64-x86_64-pcre
+ pacman -S mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb mingw-w64-x86_64-libgcrypt mingw-w64-x86_64-unbound mingw-w64-x86_64-pcre mingw-w64-x86_64-angleproject
```
You find more details about those dependencies in the [Monero documentation](https://github.com/monero-project/monero). Note that that there is no more need to compile Boost from source; like everything else, you can install it now with a MSYS2 package.
diff --git a/cmake/Deploy.cmake b/cmake/Deploy.cmake
index b972b3e5..b4d607a2 100644
--- a/cmake/Deploy.cmake
+++ b/cmake/Deploy.cmake
@@ -96,11 +96,11 @@ if(APPLE OR (WIN32 AND NOT STATIC))
libssl-3-x64.dll
libcrypto-3-x64.dll
#icu
- libicudt74.dll
- libicuin74.dll
- libicuio74.dll
- libicutu74.dll
- libicuuc74.dll
+ libicudt76.dll
+ libicuin76.dll
+ libicuio76.dll
+ libicutu76.dll
+ libicuuc76.dll
)
# Boost Regex is header-only since 1.77