unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38147] [PATCH 0/3] Update monero to 0.15.0.0.
@ 2019-11-09 10:49 Guillaume Le Vaillant
  2019-11-09 10:54 ` [bug#38147] [PATCH 1/3] gnu: Remove monero-miniupnpc Guillaume Le Vaillant
  2019-11-10  0:20 ` bug#38147: [PATCH 0/3] Update monero " Marius Bakke
  0 siblings, 2 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-11-09 10:49 UTC (permalink / raw)
  To: 38147

Patches:
 1 - gnu: Remove monero-miniupnpc.
 2 - gnu: monero: Update to 0.15.0.0.
 3 - gnu: monero-gui: Update to 0.15.0.0.

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

* [bug#38147] [PATCH 1/3] gnu: Remove monero-miniupnpc.
  2019-11-09 10:49 [bug#38147] [PATCH 0/3] Update monero to 0.15.0.0 Guillaume Le Vaillant
@ 2019-11-09 10:54 ` Guillaume Le Vaillant
  2019-11-09 10:54   ` [bug#38147] [PATCH 2/3] gnu: monero: Update to 0.15.0.0 Guillaume Le Vaillant
  2019-11-09 10:54   ` [bug#38147] [PATCH 3/3] gnu: monero-gui: " Guillaume Le Vaillant
  2019-11-10  0:20 ` bug#38147: [PATCH 0/3] Update monero " Marius Bakke
  1 sibling, 2 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-11-09 10:54 UTC (permalink / raw)
  To: 38147; +Cc: Guillaume Le Vaillant

This package was only needed for an older version of monero; nothing else
depends on it.

* gnu/packages/upnp.scm (monero-miniupnpc): Remove variable.
---
 gnu/packages/upnp.scm | 43 -------------------------------------------
 1 file changed, 43 deletions(-)

diff --git a/gnu/packages/upnp.scm b/gnu/packages/upnp.scm
index d78ffdd486..390a3387ab 100644
--- a/gnu/packages/upnp.scm
+++ b/gnu/packages/upnp.scm
@@ -89,49 +89,6 @@ over IRC, instant messaging, network games, and most server software.")
     (license
      (x11-style "file://LICENSE" "See 'LICENSE' file in the distribution"))))
 
-(define-public monero-miniupnpc
-  ;; This package is the bundled version of miniupnpc used with monero.
-  ;; Monero-project has been maintaining its own version of the package since
-  ;; release 0.12.2.0.  It includes security fixes not included in upstream
-  ;; releases.
-  (let ((revision "0")
-        (commit "6a63f9954959119568fbc4af57d7b491b9428d87"))
-    (package
-      (inherit miniupnpc)
-      (name "miniupnpc-monero")
-      (version (string-append "2.1-monero-0.12.3.0-" revision "."
-                              (string-take commit 7)))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/monero-project/miniupnp/")
-                      (commit commit)))
-                (sha256
-                 (base32
-                  "0s67zcz978iapjlq30yy9dl8qda9xhrl3jdi5f99cnbglh5gy16a"))
-                (file-name (string-append name "-" version "-checkout"))
-                (modules '((guix build utils)))
-                (snippet
-                 '(begin
-                    ;; Delete miniupnp subprojects except for miniupnpc.
-                    (for-each
-                     delete-file-recursively
-                     '("minissdpd" "miniupnpc-async" "miniupnpc-libevent"
-                       "miniupnpd" ))
-                    #t))))
-      (arguments
-       (substitute-keyword-arguments (package-arguments miniupnpc)
-         ((#:phases phases)
-          `(modify-phases ,phases
-             (add-before 'build 'change-directory
-               (lambda _
-                 (chdir "miniupnpc")
-                 #t))
-             (add-after 'change-directory 'chmod-header-file
-               (lambda _
-                 (chmod "miniupnpc.h" #o644)
-                 #t)))))))))
-
 (define-public libupnp
   (package
     (name "libupnp")
-- 
2.24.0

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

* [bug#38147] [PATCH 2/3] gnu: monero: Update to 0.15.0.0.
  2019-11-09 10:54 ` [bug#38147] [PATCH 1/3] gnu: Remove monero-miniupnpc Guillaume Le Vaillant
@ 2019-11-09 10:54   ` Guillaume Le Vaillant
  2019-11-09 10:54   ` [bug#38147] [PATCH 3/3] gnu: monero-gui: " Guillaume Le Vaillant
  1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-11-09 10:54 UTC (permalink / raw)
  To: 38147; +Cc: Guillaume Le Vaillant

* gnu/packages/finance.scm (monero): Update to 0.15.0.0.
  [arguments]: Add 'install-librandomx' phase.
  [home-page]: Update url.
---
 gnu/packages/finance.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c9a1637412..d7e56f5bb6 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -477,7 +477,7 @@ other machines/servers.  Electroncash does not download the Bitcoin Cash blockch
   ;; the system's dynamically linked library.
   (package
     (name "monero")
-    (version "0.14.1.2")
+    (version "0.15.0.0")
     (source
      (origin
        (method git-fetch)
@@ -498,7 +498,7 @@ other machines/servers.  Electroncash does not download the Bitcoin Cash blockch
            #t))
        (sha256
         (base32
-         "00zl883c7lcd9z7g4y3vv7rxmr7ppzrxdblnhk32r9l3qzyw55r6"))))
+         "19y4kcj4agws7swfa3draysb1y18c3xb13r8cg0faxx1dlm0zbnr"))))
     (build-system cmake-build-system)
     (native-inputs
      `(("doxygen" ,doxygen)
@@ -571,13 +571,18 @@ other machines/servers.  Electroncash does not download the Bitcoin Cash blockch
                (invoke "tests/unit_tests/unit_tests"
                        (string-append "--gtest_filter=-"
                                       excluded-unit-tests)))))
+         (add-after 'install 'install-librandomx
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((lib (string-append (assoc-ref outputs "out") "/lib")))
+               (install-file "external/randomx/librandomx.a" lib)
+               #t)))
          (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/")
+    (home-page "https://web.getmonero.org/")
     (synopsis "Command-line interface to the Monero currency")
     (description
      "Monero is a secure, private, untraceable currency.  This package provides
-- 
2.24.0

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

* [bug#38147] [PATCH 3/3] gnu: monero-gui: Update to 0.15.0.0.
  2019-11-09 10:54 ` [bug#38147] [PATCH 1/3] gnu: Remove monero-miniupnpc Guillaume Le Vaillant
  2019-11-09 10:54   ` [bug#38147] [PATCH 2/3] gnu: monero: Update to 0.15.0.0 Guillaume Le Vaillant
@ 2019-11-09 10:54   ` Guillaume Le Vaillant
  1 sibling, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2019-11-09 10:54 UTC (permalink / raw)
  To: 38147; +Cc: Guillaume Le Vaillant

* gnu/packages/finance.scm (monero-gui): Update to 0.15.0.0.
  [home-page]: Update url.
---
 gnu/packages/finance.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index d7e56f5bb6..56bdacc9c4 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -592,7 +592,7 @@ the Monero command line client and daemon.")
 (define-public monero-gui
   (package
     (name "monero-gui")
-    (version "0.14.1.2")
+    (version "0.15.0.0")
     (source
      (origin
        (method git-fetch)
@@ -602,7 +602,7 @@ the Monero command line client and daemon.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1rm043r6y2mzy8pclnzbjjfxgps8pkfa2b92p66k8y8rdmgq6m1k"))))
+         "1shpnly2dym5jhvk8zk10p69mz062dihx979djg74q6hgkhhhqsh"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
@@ -704,7 +704,7 @@ the Monero command line client and daemon.")
              (let ((out (assoc-ref outputs "out")))
                (wrap-qt-program out "monero-wallet-gui"))
              #t)))))
-    (home-page "https://getmonero.org/")
+    (home-page "https://web.getmonero.org/")
     (synopsis "Graphical user interface for the Monero currency")
     (description
      "Monero is a secure, private, untraceable currency.  This package provides
-- 
2.24.0

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

* bug#38147: [PATCH 0/3] Update monero to 0.15.0.0.
  2019-11-09 10:49 [bug#38147] [PATCH 0/3] Update monero to 0.15.0.0 Guillaume Le Vaillant
  2019-11-09 10:54 ` [bug#38147] [PATCH 1/3] gnu: Remove monero-miniupnpc Guillaume Le Vaillant
@ 2019-11-10  0:20 ` Marius Bakke
  1 sibling, 0 replies; 5+ messages in thread
From: Marius Bakke @ 2019-11-10  0:20 UTC (permalink / raw)
  To: Guillaume Le Vaillant, 38147-done

[-- Attachment #1: Type: text/plain, Size: 208 bytes --]

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

> Patches:
>  1 - gnu: Remove monero-miniupnpc.
>  2 - gnu: monero: Update to 0.15.0.0.
>  3 - gnu: monero-gui: Update to 0.15.0.0.

Applied all three, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2019-11-10  0:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-09 10:49 [bug#38147] [PATCH 0/3] Update monero to 0.15.0.0 Guillaume Le Vaillant
2019-11-09 10:54 ` [bug#38147] [PATCH 1/3] gnu: Remove monero-miniupnpc Guillaume Le Vaillant
2019-11-09 10:54   ` [bug#38147] [PATCH 2/3] gnu: monero: Update to 0.15.0.0 Guillaume Le Vaillant
2019-11-09 10:54   ` [bug#38147] [PATCH 3/3] gnu: monero-gui: " Guillaume Le Vaillant
2019-11-10  0:20 ` bug#38147: [PATCH 0/3] Update monero " Marius Bakke

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).