all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#37303] [PATCH 0/3] Improvements for monero and monero-gui
@ 2019-09-04 14:55 Guillaume Le Vaillant
  2019-09-04 14:58 ` [bug#37303] [PATCH 1/3] gnu: monero: Fix detection of readline library Guillaume Le Vaillant
  2019-09-09 22:35 ` bug#37303: [PATCH 0/3] Improvements for monero and monero-gui Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-09-04 14:55 UTC (permalink / raw)
  To: 37303

Patches:
 1 - Fix detection of readline library.
 2 - Activate Trezor support.
 3 - Update monero-gui to 0.14.1.2.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#37303] [PATCH 1/3] gnu: monero: Fix detection of readline library.
  2019-09-04 14:55 [bug#37303] [PATCH 0/3] Improvements for monero and monero-gui Guillaume Le Vaillant
@ 2019-09-04 14:58 ` Guillaume Le Vaillant
  2019-09-04 14:58   ` [bug#37303] [PATCH 2/3] gnu: monero: Activate Trezor support Guillaume Le Vaillant
  2019-09-04 14:58   ` [bug#37303] [PATCH 3/3] gnu: monero-gui: Update to 0.14.1.2 Guillaume Le Vaillant
  2019-09-09 22:35 ` bug#37303: [PATCH 0/3] Improvements for monero and monero-gui Ludovic Courtès
  1 sibling, 2 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-09-04 14:58 UTC (permalink / raw)
  To: 37303; +Cc: Guillaume Le Vaillant

* gnu/packages/finance.scm (monero)[arguments]: Define 'Readline_ROOT_DIR'
  in 'configure-flags'.
---
 gnu/packages/finance.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 377cb3a405..5824a14c33 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -490,9 +490,12 @@ other machines/servers.  Electroncash does not download the Bitcoin Cash blockch
        ("zeromq" ,zeromq)))
     (arguments
      `(#:out-of-source? #t
-       #:configure-flags '("-DARCH=default"
-                           "-DBUILD_TESTS=ON"
-                           "-DBUILD_GUI_DEPS=ON")
+       #:configure-flags
+       (list "-DARCH=default"
+             "-DBUILD_TESTS=ON"
+             "-DBUILD_GUI_DEPS=ON"
+             (string-append "-DReadline_ROOT_DIR="
+                            (assoc-ref %build-inputs "readline")))
        #:phases
        (modify-phases %standard-phases
          ;; tests/core_tests need a valid HOME
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#37303] [PATCH 2/3] gnu: monero: Activate Trezor support.
  2019-09-04 14:58 ` [bug#37303] [PATCH 1/3] gnu: monero: Fix detection of readline library Guillaume Le Vaillant
@ 2019-09-04 14:58   ` Guillaume Le Vaillant
  2019-09-04 14:58   ` [bug#37303] [PATCH 3/3] gnu: monero-gui: Update to 0.14.1.2 Guillaume Le Vaillant
  1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-09-04 14:58 UTC (permalink / raw)
  To: 37303; +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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#37303] [PATCH 3/3] gnu: monero-gui: Update to 0.14.1.2.
  2019-09-04 14:58 ` [bug#37303] [PATCH 1/3] gnu: monero: Fix detection of readline library Guillaume Le Vaillant
  2019-09-04 14:58   ` [bug#37303] [PATCH 2/3] gnu: monero: Activate Trezor support Guillaume Le Vaillant
@ 2019-09-04 14:58   ` Guillaume Le Vaillant
  1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-09-04 14:58 UTC (permalink / raw)
  To: 37303; +Cc: Guillaume Le Vaillant

* gnu/packages/finance.scm (monero-gui): Update to 0.14.1.2.
---
 gnu/packages/finance.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 30ea797daf..3fa0a4d331 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -555,7 +555,7 @@ the Monero command line client and daemon.")
 (define-public monero-gui
   (package
     (name "monero-gui")
-    (version "0.14.1.0")
+    (version "0.14.1.2")
     (source
      (origin
        (method git-fetch)
@@ -565,7 +565,7 @@ the Monero command line client and daemon.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0ilx47771faygf97wilm64xnqxgxa3b43q0g9v014npk0qj8pc31"))))
+         "1rm043r6y2mzy8pclnzbjjfxgps8pkfa2b92p66k8y8rdmgq6m1k"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#37303: [PATCH 0/3] Improvements for monero and monero-gui
  2019-09-04 14:55 [bug#37303] [PATCH 0/3] Improvements for monero and monero-gui Guillaume Le Vaillant
  2019-09-04 14:58 ` [bug#37303] [PATCH 1/3] gnu: monero: Fix detection of readline library Guillaume Le Vaillant
@ 2019-09-09 22:35 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-09-09 22:35 UTC (permalink / raw)
  To: Guillaume Le Vaillant; +Cc: 37303-done

Hi Guillaume,

Guillaume Le Vaillant <glv@posteo.net> skribis:

> Patches:
>  1 - Fix detection of readline library.
>  2 - Activate Trezor support.
>  3 - Update monero-gui to 0.14.1.2.

Applied all three patches, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-09 22:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-04 14:55 [bug#37303] [PATCH 0/3] Improvements for monero and monero-gui Guillaume Le Vaillant
2019-09-04 14:58 ` [bug#37303] [PATCH 1/3] gnu: monero: Fix detection of readline library Guillaume Le Vaillant
2019-09-04 14:58   ` [bug#37303] [PATCH 2/3] gnu: monero: Activate Trezor support Guillaume Le Vaillant
2019-09-04 14:58   ` [bug#37303] [PATCH 3/3] gnu: monero-gui: Update to 0.14.1.2 Guillaume Le Vaillant
2019-09-09 22:35 ` bug#37303: [PATCH 0/3] Improvements for monero and monero-gui Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.