From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55247) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i5WlS-0006P3-4C for guix-patches@gnu.org; Wed, 04 Sep 2019 11:00:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i5WlQ-0000Hl-Q8 for guix-patches@gnu.org; Wed, 04 Sep 2019 11:00:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i5WlQ-0000Hd-Ld for guix-patches@gnu.org; Wed, 04 Sep 2019 11:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i5WlQ-0002SQ-IY for guix-patches@gnu.org; Wed, 04 Sep 2019 11:00:04 -0400 Subject: [bug#37303] [PATCH 2/3] gnu: monero: Activate Trezor support. Resent-Message-ID: From: Guillaume Le Vaillant Date: Wed, 4 Sep 2019 16:58:56 +0200 Message-Id: <20190904145857.30682-2-glv@posteo.net> In-Reply-To: <20190904145857.30682-1-glv@posteo.net> References: <20190904145857.30682-1-glv@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37303@debbugs.gnu.org Cc: Guillaume Le Vaillant * gnu/packages/finance.scm (monero): [native-inputs]: Add python and protobuf. [inputs]: Add libusb and protobuf. [arguments]: Add delete-dead-links phase. (monero-gui)[inputs]: Add libusb and protobuf. --- gnu/packages/finance.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 5824a14c33..30ea797daf 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -473,16 +473,20 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch ("git" ,git) ("graphviz" ,graphviz) ("pkg-config" ,pkg-config) + ("protobuf" ,protobuf) + ("python" ,python) ("qttools" ,qttools))) (inputs `(("boost" ,boost) ("cppzmq" ,cppzmq) ("expat" ,expat) ("hidapi" ,hidapi) - ("libunwind" ,libunwind) ("libsodium" ,libsodium) + ("libunwind" ,libunwind) + ("libusb" ,libusb) ("miniupnpc" ,miniupnpc) ("openssl" ,openssl) + ("protobuf" ,protobuf) ("rapidjson" ,rapidjson) ("readline" ,readline) ("unbound" ,unbound) @@ -534,7 +538,13 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch ":"))) (invoke "tests/unit_tests/unit_tests" (string-append "--gtest_filter=-" - excluded-unit-tests)))))))) + excluded-unit-tests))))) + (add-after 'install 'delete-dead-links + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (delete-file (string-append out "/lib/libprotobuf.so")) + (delete-file (string-append out "/lib/libusb-1.0.so")) + #t)))))) (home-page "https://getmonero.org/") (synopsis "Command-line interface to the Monero currency") (description @@ -563,9 +573,11 @@ the Monero command line client and daemon.") (inputs `(("boost" ,boost) ("hidapi" ,hidapi) - ("libunwind" ,libunwind) ("libsodium" ,libsodium) + ("libunwind" ,libunwind) + ("libusb" ,libusb) ("openssl" ,openssl) + ("protobuf" ,protobuf) ("qtbase" ,qtbase) ("qtdeclarative" ,qtdeclarative) ("qtgraphicaleffects" ,qtgraphicaleffects) -- 2.23.0