monero-{cli,gui}: 0.18.3.4 -> 0.18.4.0 (#404534)

authored by

Pavol Rusnak and committed by
GitHub
92c1e6d1 236c99e2

+25 -39
+15 -24
pkgs/applications/blockchains/monero-gui/default.nix pkgs/by-name/mo/monero-gui/package.nix
··· 10 miniupnpc, 11 monero-cli, 12 pkg-config, 13 - qtbase, 14 - qtdeclarative, 15 - qtgraphicaleffects, 16 - qtmacextras, 17 - qtmultimedia, 18 - qtquickcontrols, 19 - qtquickcontrols2, 20 - qttools, 21 - qtxmlpatterns, 22 quirc, 23 randomx, 24 rapidjson, 25 stdenv, 26 unbound, 27 - wrapQtAppsHook, 28 zeromq, 29 30 trezorSupport ? true, 31 hidapi, 32 libusb1, 33 - protobuf, 34 python3, 35 udev, 36 }: 37 38 stdenv.mkDerivation rec { 39 pname = "monero-gui"; 40 - version = "0.18.3.4"; 41 42 src = fetchFromGitHub { 43 owner = "monero-project"; 44 repo = "monero-gui"; 45 rev = "v${version}"; 46 - hash = "sha256-wnU24EmZig2W/psy4OhaQVy2WwR0CgljlyYwOg4bzwM="; 47 }; 48 49 nativeBuildInputs = [ 50 cmake 51 pkg-config 52 - wrapQtAppsHook 53 - (lib.getDev qttools) 54 ]; 55 56 buildInputs = ··· 60 libgpg-error 61 libsodium 62 miniupnpc 63 - qtbase 64 - qtdeclarative 65 - qtgraphicaleffects 66 - qtmultimedia 67 - qtquickcontrols 68 - qtquickcontrols2 69 - qtxmlpatterns 70 quirc 71 randomx 72 rapidjson 73 unbound 74 zeromq 75 ] 76 - ++ lib.optionals stdenv.hostPlatform.isDarwin [ qtmacextras ] 77 ++ lib.optionals trezorSupport [ 78 hidapi 79 libusb1 80 - protobuf 81 python3 82 ] 83 ++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [
··· 10 miniupnpc, 11 monero-cli, 12 pkg-config, 13 + qt5, 14 quirc, 15 randomx, 16 rapidjson, 17 stdenv, 18 unbound, 19 zeromq, 20 21 trezorSupport ? true, 22 hidapi, 23 libusb1, 24 + protobuf_21, 25 python3, 26 udev, 27 }: 28 29 stdenv.mkDerivation rec { 30 pname = "monero-gui"; 31 + version = "0.18.4.0"; 32 33 src = fetchFromGitHub { 34 owner = "monero-project"; 35 repo = "monero-gui"; 36 rev = "v${version}"; 37 + hash = "sha256-JwYx5TjGp3VPPSgjN0+w1A4RoZGm7A73Gpg44fre1/c="; 38 }; 39 40 nativeBuildInputs = [ 41 cmake 42 pkg-config 43 + qt5.wrapQtAppsHook 44 + (lib.getDev qt5.qttools) 45 ]; 46 47 buildInputs = ··· 51 libgpg-error 52 libsodium 53 miniupnpc 54 + qt5.qtbase 55 + qt5.qtdeclarative 56 + qt5.qtgraphicaleffects 57 + qt5.qtmultimedia 58 + qt5.qtquickcontrols 59 + qt5.qtquickcontrols2 60 + qt5.qtxmlpatterns 61 quirc 62 randomx 63 rapidjson 64 unbound 65 zeromq 66 ] 67 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ qt5.qtmacextras ] 68 ++ lib.optionals trezorSupport [ 69 hidapi 70 libusb1 71 + protobuf_21 72 python3 73 ] 74 ++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [
pkgs/applications/blockchains/monero-gui/move-log-file.patch pkgs/by-name/mo/monero-gui/move-log-file.patch
pkgs/applications/blockchains/monero-gui/use-system-libquirc.patch pkgs/by-name/mo/monero-gui/use-system-libquirc.patch
+5 -9
pkgs/by-name/mo/monero-cli/package.nix
··· 19 trezorSupport ? true, 20 hidapi, 21 libusb1, 22 - protobuf, 23 udev, 24 }: 25 ··· 40 in 41 stdenv.mkDerivation rec { 42 pname = "monero-cli"; 43 - version = "0.18.3.4"; 44 45 src = fetchFromGitHub { 46 owner = "monero-project"; 47 repo = "monero"; 48 rev = "v${version}"; 49 - hash = "sha256-nDiFJjhsISYM8kTgJUaPYL44iyccnz5+Pd5beBh+lsM="; 50 }; 51 52 patches = [ 53 ./use-system-libraries.patch 54 - # https://github.com/monero-project/monero/pull/9462 55 - (fetchpatch2 { 56 - url = "https://github.com/monero-project/monero/commit/65568d3a884857ce08d1170f5801a6891a5c187c.patch?full_index=1"; 57 - hash = "sha256-Btuy69y02UyVMmsOiCRPZhM7qW5+FRNujOZjNMRdACQ="; 58 - }) 59 ]; 60 61 postPatch = '' ··· 88 python3 89 hidapi 90 libusb1 91 - protobuf 92 ] 93 ++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [ udev ]; 94 ··· 99 # required by monero-gui 100 "-DBUILD_GUI_DEPS=ON" 101 "-DReadline_ROOT_DIR=${readline.dev}" 102 ] 103 ++ lib.optional stdenv.hostPlatform.isDarwin "-DBoost_USE_MULTITHREADED=OFF" 104 ++ lib.optional trezorSupport [
··· 19 trezorSupport ? true, 20 hidapi, 21 libusb1, 22 + protobuf_21, 23 udev, 24 }: 25 ··· 40 in 41 stdenv.mkDerivation rec { 42 pname = "monero-cli"; 43 + version = "0.18.4.0"; 44 45 src = fetchFromGitHub { 46 owner = "monero-project"; 47 repo = "monero"; 48 rev = "v${version}"; 49 + hash = "sha256-0byMtX2f+8FqNhLPN1oLxIUTWg5RSbHfwiL8pUIAcgQ="; 50 }; 51 52 patches = [ 53 ./use-system-libraries.patch 54 ]; 55 56 postPatch = '' ··· 83 python3 84 hidapi 85 libusb1 86 + protobuf_21 87 ] 88 ++ lib.optionals (trezorSupport && stdenv.hostPlatform.isLinux) [ udev ]; 89 ··· 94 # required by monero-gui 95 "-DBUILD_GUI_DEPS=ON" 96 "-DReadline_ROOT_DIR=${readline.dev}" 97 + "-Wno-dev" 98 ] 99 ++ lib.optional stdenv.hostPlatform.isDarwin "-DBoost_USE_MULTITHREADED=OFF" 100 ++ lib.optional trezorSupport [
+5 -4
pkgs/by-name/mo/monero-cli/use-system-libraries.patch
··· 1 diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt 2 - index 5b7f69a56..cc4b0a346 100644 3 --- a/external/CMakeLists.txt 4 +++ b/external/CMakeLists.txt 5 - @@ -35,25 +35,14 @@ 6 # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with 7 # others. 8 ··· 10 - 11 -message(STATUS "Using in-tree miniupnpc") 12 -set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE) 13 -add_subdirectory(miniupnp/miniupnpc) 14 -set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external") 15 -set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON) ··· 34 35 if(NOT UNBOUND_INCLUDE_DIR) 36 die("Could not find libunbound") 37 - @@ -69,4 +58,3 @@ endif() 38 add_subdirectory(db_drivers) 39 add_subdirectory(easylogging++) 40 add_subdirectory(qrcodegen) 41 -add_subdirectory(randomx EXCLUDE_FROM_ALL) 42 diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl 43 - index 71f5393e8..bb48083d0 100644 44 --- a/src/p2p/net_node.inl 45 +++ b/src/p2p/net_node.inl 46 @@ -60,9 +60,9 @@
··· 1 diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt 2 + index 538e4d215..cc4b0a346 100644 3 --- a/external/CMakeLists.txt 4 +++ b/external/CMakeLists.txt 5 + @@ -35,26 +35,14 @@ 6 # ...except for FreeBSD, because FreeBSD is a special case that doesn't play well with 7 # others. 8 ··· 10 - 11 -message(STATUS "Using in-tree miniupnpc") 12 -set(UPNPC_NO_INSTALL TRUE CACHE BOOL "Disable miniupnp installation" FORCE) 13 + -set(UPNPC_BUILD_SHARED OFF CACHE BOOL "Disable building shared library" FORCE) 14 -add_subdirectory(miniupnp/miniupnpc) 15 -set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external") 16 -set_property(TARGET libminiupnpc-static PROPERTY POSITION_INDEPENDENT_CODE ON) ··· 35 36 if(NOT UNBOUND_INCLUDE_DIR) 37 die("Could not find libunbound") 38 + @@ -70,4 +58,3 @@ endif() 39 add_subdirectory(db_drivers) 40 add_subdirectory(easylogging++) 41 add_subdirectory(qrcodegen) 42 -add_subdirectory(randomx EXCLUDE_FROM_ALL) 43 diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl 44 + index 884a7b5fc..24c10334e 100644 45 --- a/src/p2p/net_node.inl 46 +++ b/src/p2p/net_node.inl 47 @@ -60,9 +60,9 @@
-2
pkgs/top-level/all-packages.nix
··· 14855 14856 ledger-agent = with python3Packages; toPythonApplication ledger-agent; 14857 14858 - monero-gui = libsForQt5.callPackage ../applications/blockchains/monero-gui { }; 14859 - 14860 napari = with python3Packages; toPythonApplication napari; 14861 14862 nano-wallet = libsForQt5.callPackage ../applications/blockchains/nano-wallet { };
··· 14855 14856 ledger-agent = with python3Packages; toPythonApplication ledger-agent; 14857 14858 napari = with python3Packages; toPythonApplication napari; 14859 14860 nano-wallet = libsForQt5.callPackage ../applications/blockchains/nano-wallet { };