gnu: monero-gui: Update to 0.14.1.0.
* gnu/packages/finance.scm (monero-gui): Update to 0.14.1.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
fc54da1d02
commit
1362e52907
|
@ -534,37 +534,48 @@ the Monero command line client and daemon.")
|
||||||
(define-public monero-gui
|
(define-public monero-gui
|
||||||
(package
|
(package
|
||||||
(name "monero-gui")
|
(name "monero-gui")
|
||||||
(version "0.12.2.0")
|
(version "0.14.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/monero-project/monero-gui")
|
(url "https://github.com/monero-project/monero-gui.git")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1cnrkwh7kp64lnzz1xfmkf1mhsgm5gls292gpqai3jr8jydpkahl"))))
|
"0ilx47771faygf97wilm64xnqxgxa3b43q0g9v014npk0qj8pc31"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("doxygen" ,doxygen)
|
`(("pkg-config" ,pkg-config)
|
||||||
("graphviz" ,graphviz)
|
|
||||||
("pkg-config" ,pkg-config)
|
|
||||||
("qttools" ,qttools)))
|
("qttools" ,qttools)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("boost" ,boost)
|
`(("boost" ,boost)
|
||||||
|
("hidapi" ,hidapi)
|
||||||
("libunwind" ,libunwind)
|
("libunwind" ,libunwind)
|
||||||
|
("libsodium" ,libsodium)
|
||||||
("openssl" ,openssl)
|
("openssl" ,openssl)
|
||||||
("qtbase" ,qtbase)
|
("qtbase" ,qtbase)
|
||||||
("qtdeclarative" ,qtdeclarative)
|
("qtdeclarative" ,qtdeclarative)
|
||||||
("qtgraphicaleffects" ,qtgraphicaleffects)
|
("qtgraphicaleffects" ,qtgraphicaleffects)
|
||||||
|
("qtlocation" ,qtlocation)
|
||||||
|
("qtmultimedia" ,qtmultimedia)
|
||||||
("qtquickcontrols" ,qtquickcontrols)
|
("qtquickcontrols" ,qtquickcontrols)
|
||||||
("readline" ,readline)
|
("qtquickcontrols2",qtquickcontrols2)
|
||||||
|
("qtsvg" ,qtsvg)
|
||||||
|
("qtwebchannel" ,qtwebchannel)
|
||||||
|
("qtx11extras" ,qtx11extras)
|
||||||
|
("qtxmlpatterns" ,qtxmlpatterns)
|
||||||
("unbound" ,unbound)))
|
("unbound" ,unbound)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("monero" ,monero)))
|
`(("monero" ,monero)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:modules ((guix build gnu-build-system)
|
||||||
|
(guix build qt-utils)
|
||||||
|
(guix build utils))
|
||||||
|
#:imported-modules (,@%gnu-build-system-modules
|
||||||
|
(guix build qt-utils))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
|
@ -576,32 +587,45 @@ the Monero command line client and daemon.")
|
||||||
(add-after 'fix-makefile-vars 'fix-library-paths
|
(add-after 'fix-makefile-vars 'fix-library-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "monero-wallet-gui.pro"
|
(substitute* "monero-wallet-gui.pro"
|
||||||
(("-L/usr/local/lib") "")
|
(("-L/usr/local/lib")
|
||||||
|
"")
|
||||||
(("-L/usr/local/opt/openssl/lib")
|
(("-L/usr/local/opt/openssl/lib")
|
||||||
(string-append "-L"
|
(string-append "-L" (assoc-ref inputs "openssl") "/lib"))
|
||||||
(assoc-ref inputs "openssl")
|
|
||||||
"/lib"))
|
|
||||||
(("-L/usr/local/opt/boost/lib")
|
(("-L/usr/local/opt/boost/lib")
|
||||||
(string-append "-L"
|
(string-append "-L" (assoc-ref inputs "boost") "/lib")))
|
||||||
(assoc-ref inputs "boost")
|
|
||||||
"/lib")))
|
|
||||||
#t))
|
#t))
|
||||||
(add-after 'fix-library-paths 'fix-monerod-path
|
(add-after 'fix-library-paths 'fix-monerod-path
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "src/daemon/DaemonManager.cpp"
|
(substitute* "src/daemon/DaemonManager.cpp"
|
||||||
(("QApplication::applicationDirPath\\(\\) \\+ \"/monerod")
|
(("QApplication::applicationDirPath\\(\\) \\+ \"/monerod")
|
||||||
(string-append "\""(assoc-ref inputs "monero")
|
(string-append "\"" (assoc-ref inputs "monero")
|
||||||
"/bin/monerod")))
|
"/bin/monerod")))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'fix-monerod-path 'fix-qt-paths
|
(add-after 'fix-monerod-path 'fix-qt-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((qttools (assoc-ref inputs "qttools"))
|
(substitute* "monero-wallet-gui.pro"
|
||||||
(lrelease (string-append qttools "/bin/lrelease"))
|
(("\\$\\$\\[QT_INSTALL_BINS\\]/lrelease")
|
||||||
(lupdate (string-append qttools "/bin/lupdate")))
|
(string-append (assoc-ref inputs "qttools") "/bin/lrelease"))
|
||||||
(substitute* "monero-wallet-gui.pro"
|
(("\\$\\$\\[QT_INSTALL_BINS\\]/lupdate")
|
||||||
(("\\$\\$\\[QT_INSTALL_BINS\\]/lrelease") lrelease)
|
(string-append (assoc-ref inputs "qttools") "/bin/lupdate")))
|
||||||
(("\\$\\$\\[QT_INSTALL_BINS\\]/lupdate") lupdate))
|
#t))
|
||||||
#t)))
|
(add-after 'fix-qt-paths 'make-qt-deterministic
|
||||||
|
(lambda _
|
||||||
|
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
|
||||||
|
#t))
|
||||||
|
(add-after 'make-qt-deterministic 'fix-version
|
||||||
|
(lambda _
|
||||||
|
(substitute* "build.sh"
|
||||||
|
(("echo .*> version.js")
|
||||||
|
""))
|
||||||
|
(with-output-to-file "version.js"
|
||||||
|
(lambda _
|
||||||
|
(format #t
|
||||||
|
"var GUI_VERSION = \"~a\"~@
|
||||||
|
var GUI_MONERO_VERSION = \"~a\"~%"
|
||||||
|
,version
|
||||||
|
,(package-version monero))))
|
||||||
|
#t))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "./build.sh")))
|
(invoke "./build.sh")))
|
||||||
|
@ -613,28 +637,18 @@ the Monero command line client and daemon.")
|
||||||
#t))
|
#t))
|
||||||
(add-before 'install 'change-dir
|
(add-before 'install 'change-dir
|
||||||
(lambda _
|
(lambda _
|
||||||
(chdir "build")))
|
(chdir "build")
|
||||||
(add-after 'install 'wrap-executable
|
#t))
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(add-after 'install 'wrap-program
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(wrap-program (string-append out "/bin/monero-wallet-gui")
|
(wrap-qt-program out "monero-wallet-gui"))
|
||||||
`("QT_PLUGIN_PATH" ":" prefix
|
#t)))))
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/plugins"))
|
|
||||||
'("qtbase" "qtdeclarative")))
|
|
||||||
`("QML2_IMPORT_PATH" ":" prefix
|
|
||||||
,(map (lambda (label)
|
|
||||||
(string-append (assoc-ref inputs label)
|
|
||||||
"/lib/qt5/qml"))
|
|
||||||
'("qtdeclarative" "qtgraphicaleffects"
|
|
||||||
"qtquickcontrols"))))
|
|
||||||
#t))))))
|
|
||||||
(home-page "https://getmonero.org/")
|
(home-page "https://getmonero.org/")
|
||||||
(synopsis "Graphical user interface for the Monero currency")
|
(synopsis "Graphical user interface for the Monero currency")
|
||||||
(description
|
(description
|
||||||
"Monero is a secure, private, untraceable currency. This package provides the
|
"Monero is a secure, private, untraceable currency. This package provides
|
||||||
Monero GUI client.")
|
the Monero GUI client.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public monero-core
|
(define-public monero-core
|
||||||
|
|
Loading…
Reference in New Issue