* [bug#28401] [PATCH 0/2] gnu: Add monero. @ 2017-09-09 16:35 Theodoros Foradis 2017-09-09 17:47 ` [bug#28401] [PATCH 1/2] " Theodoros Foradis 2017-09-11 8:39 ` [bug#28401] [PATCH 0/2] " Ludovic Courtès 0 siblings, 2 replies; 12+ messages in thread From: Theodoros Foradis @ 2017-09-09 16:35 UTC (permalink / raw) To: 28401 Hello Guix, this patch set adds clients (cli and gui) for Monero, a private digital currency. As I mention in comments in source, monero package bundles easylogging++ and lmdb. The bundled easylogging++ is modified, and the changes will not be upstreamed. The devs deem the lmdb driver too critical a consenus component, to use the system's dynamically linked library (plus there's not even the option in the build system to use it). The other bundled dependencies we delete and not use. As far as monero-core is concerned (the gui), I did not manage to get it to build with the modular qt. Should this be added in the source as a TODO item? Theodoros Foradis(2): gnu: Add monero-core. gnu: Add monero. gnu/packages/finance.scm | 183 ++++++++++++++++++++++++ 1 file changed, 183 insertions(+) -- Theodoros Foradis ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 1/2] gnu: Add monero. 2017-09-09 16:35 [bug#28401] [PATCH 0/2] gnu: Add monero Theodoros Foradis @ 2017-09-09 17:47 ` Theodoros Foradis 2017-09-09 17:47 ` [bug#28401] [PATCH 2/2] gnu: Add monero-core Theodoros Foradis 2017-09-11 8:17 ` [bug#28401] [PATCH 1/2] gnu: Add monero Ludovic Courtès 2017-09-11 8:39 ` [bug#28401] [PATCH 0/2] " Ludovic Courtès 1 sibling, 2 replies; 12+ messages in thread From: Theodoros Foradis @ 2017-09-09 17:47 UTC (permalink / raw) To: 28401 * gnu/packages/finance.scm (monero): New variable. --- gnu/packages/finance.scm | 108 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 6d6844fa7..6f589a76c 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au> +;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -29,11 +30,16 @@ #:use-module (guix build-system python) #:use-module (gnu packages base) #:use-module (gnu packages boost) + #:use-module (gnu packages check) #:use-module (gnu packages databases) + #:use-module (gnu packages documentation) + #:use-module (gnu packages dns) #:use-module (gnu packages emacs) + #:use-module (gnu packages graphviz) #:use-module (gnu packages groff) #:use-module (gnu packages libedit) #:use-module (gnu packages libevent) + #:use-module (gnu packages libunwind) #:use-module (gnu packages linux) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config) @@ -44,6 +50,8 @@ #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages upnp) + #:use-module (gnu packages web) + #:use-module (gnu packages xml) #:use-module (gnu packages gnuzilla)) (define-public bitcoin-core @@ -292,3 +300,103 @@ protocol. It supports Simple Payment Verification (SPV) and deterministic key generation from a seed. Your secret keys are encrypted and are never sent to other machines/servers. Electrum does not download the Bitcoin blockchain.") (license license:expat))) + +(define-public monero + ;; This package bundles easylogging++ and lmdb. + ;; The bundled easylogging++ is modified, and the changes will not be upstreamed. + ;; The devs deem the lmdb driver too critical a consenus component, to use + ;; the system's dynamically linked library. + (package + (name "monero") + (version "0.11.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/monero-project/monero/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete bundled dependencies. + (for-each + delete-file-recursively + '("external/miniupnpc" "external/rapidjson" + "external/unbound")) + #t)) + (sha256 + (base32 + "083w40a553c0r3i18020jcrv5s0b64vx3d8xrn9nwkb2237ighlk")))) + (build-system cmake-build-system) + (native-inputs + `(("doxygen" ,doxygen) + ("googletest" ,googletest) + ("graphviz" ,graphviz) + ("pkg-config" ,pkg-config))) + (inputs + `(("bind" ,isc-bind) + ("boost" ,boost) + ("expat" ,expat) + ("libunwind" ,libunwind) + ("lmdb" ,lmdb) + ("miniupnpc" ,miniupnpc) + ("openssl" ,openssl) + ("rapidjson" ,rapidjson) + ("unbound" ,unbound))) + (arguments + `(#:out-of-source? #t + #:configure-flags '("-DBUILD_TESTS=ON" + "-DBUILD_GUI_DEPS=ON") + #:phases + (modify-phases %standard-phases + ;; tests/core_tests need a valid HOME + (add-before 'configure 'set-home + (lambda _ + (setenv "HOME" (getcwd)) + #t)) + (add-after 'set-home 'fix-wallet-path-for-unit-tests + (lambda _ + (substitute* "tests/unit_tests/serialization.cpp" + (("\\.\\./\\.\\./\\.\\./\\.\\./") "../../")) + #t)) + (add-after 'fix-wallet-path-for-unit-tests 'change-log-path + (lambda _ + (substitute* "contrib/epee/src/mlog.cpp" + (("epee::string_tools::get_current_module_folder\\(\\)") + "\".bitmonero\"")) + (substitute* "contrib/epee/src/mlog.cpp" + (("return \\(") "return ((std::string(getenv(\"HOME\"))) / ")) + #t)) + (replace 'check + (lambda _ + (zero? + (system* "make" "ARGS=-E 'unit_tests|libwallet_api_tests'" + "test")))) + ;; The excluded unit tests need network access + (add-after 'check 'unit-tests + (lambda _ + (let ((excluded-unit-tests + (string-join + '("AddressFromURL.Success" + "AddressFromURL.Failure" + "DNSResolver.IPv4Success" + "DNSResolver.DNSSECSuccess" + "DNSResolver.DNSSECFailure" + "DNSResolver.GetTXTRecord") + ":"))) + (zero? + (system* "tests/unit_tests/unit_tests" + (string-append "--gtest_filter=-" + excluded-unit-tests)))))) + (add-after 'install 'install-blockchain-import-export + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "bin/monero-blockchain-import" bin) + (install-file "bin/monero-blockchain-export" bin))))))) + (home-page "https://getmonero.org/") + (synopsis "Monero command line client") + (description + "Monero is a secure, private, untraceable currency. This package provides the +Monero command line client and daemon.") + (license license:bsd-3))) -- 2.13.4 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 2/2] gnu: Add monero-core. 2017-09-09 17:47 ` [bug#28401] [PATCH 1/2] " Theodoros Foradis @ 2017-09-09 17:47 ` Theodoros Foradis 2017-09-11 8:21 ` bug#28401: " Ludovic Courtès 2017-09-11 8:17 ` [bug#28401] [PATCH 1/2] gnu: Add monero Ludovic Courtès 1 sibling, 1 reply; 12+ messages in thread From: Theodoros Foradis @ 2017-09-09 17:47 UTC (permalink / raw) To: 28401 * gnu/packages/finance.scm (monero-core): New variable. --- gnu/packages/finance.scm | 75 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 6f589a76c..938328c3d 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -400,3 +400,78 @@ other machines/servers. Electrum does not download the Bitcoin blockchain.") "Monero is a secure, private, untraceable currency. This package provides the Monero command line client and daemon.") (license license:bsd-3))) + +(define-public monero-core + (package + (name "monero-core") + (version "0.11.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/monero-project/monero-core/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0hnrkgwb1sva67pcjym2gvb4zifp2s849dfbnjzbxk3yczpcyqzg")))) + (build-system gnu-build-system) + (native-inputs + `(("doxygen" ,doxygen) + ("graphviz" ,graphviz) + ("pkg-config" ,pkg-config))) + (inputs + `(("boost" ,boost) + ("libunwind" ,libunwind) + ("openssl" ,openssl) + ("qt" ,qt) + ("unbound" ,unbound))) + (propagated-inputs + `(("monero" ,monero))) + (arguments + `(#:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (add-before 'build 'fix-makefile-vars + (lambda _ + (substitute* "src/zxcvbn-c/makefile" + (("\\?=") "=")) + #t)) + (add-after 'fix-makefile-vars 'fix-library-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "monero-wallet-gui.pro" + (("-L/usr/local/lib") "") + (("-L/usr/local/opt/openssl/lib") + (string-append "-L" + (assoc-ref inputs "openssl") + "/lib")) + (("-L/usr/local/opt/boost/lib") + (string-append "-L" + (assoc-ref inputs "boost") + "/lib"))) + #t)) + (add-after 'fix-library-paths 'fix-monerod-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/daemon/DaemonManager.cpp" + (("QApplication::applicationDirPath\\(\\) \\+ \"/monerod") + (string-append "\""(assoc-ref inputs "monero") + "/bin/monerod"))) + #t)) + (replace 'build + (lambda _ + (zero? (system* "./build.sh")))) + (add-after 'build 'fix-install-path + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "build/Makefile" + (("/opt/monero-wallet-gui") + (assoc-ref outputs "out"))) + #t)) + (add-before 'install 'change-dir + (lambda _ + (chdir "build")))))) + (home-page "https://getmonero.org/") + (synopsis "Monero GUI client") + (description + "Monero is a secure, private, untraceable currency. This package provides the +Monero GUI client.") + (license license:bsd-3))) -- 2.13.4 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* bug#28401: [PATCH 2/2] gnu: Add monero-core. 2017-09-09 17:47 ` [bug#28401] [PATCH 2/2] gnu: Add monero-core Theodoros Foradis @ 2017-09-11 8:21 ` Ludovic Courtès 0 siblings, 0 replies; 12+ messages in thread From: Ludovic Courtès @ 2017-09-11 8:21 UTC (permalink / raw) To: Theodoros Foradis; +Cc: 28401-done Theodoros Foradis <theodoros@foradis.org> skribis: > * gnu/packages/finance.scm (monero-core): New variable. Applied, thanks! Ludo'. ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 1/2] gnu: Add monero. 2017-09-09 17:47 ` [bug#28401] [PATCH 1/2] " Theodoros Foradis 2017-09-09 17:47 ` [bug#28401] [PATCH 2/2] gnu: Add monero-core Theodoros Foradis @ 2017-09-11 8:17 ` Ludovic Courtès 1 sibling, 0 replies; 12+ messages in thread From: Ludovic Courtès @ 2017-09-11 8:17 UTC (permalink / raw) To: Theodoros Foradis; +Cc: 28401 Theodoros Foradis <theodoros@foradis.org> skribis: > * gnu/packages/finance.scm (monero): New variable. I tweaked the synopsis to placate ‘guix lint’ and applied. Thanks! Ludo’. ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 0/2] gnu: Add monero. 2017-09-09 16:35 [bug#28401] [PATCH 0/2] gnu: Add monero Theodoros Foradis 2017-09-09 17:47 ` [bug#28401] [PATCH 1/2] " Theodoros Foradis @ 2017-09-11 8:39 ` Ludovic Courtès 2017-09-11 8:56 ` Theodoros Foradis 1 sibling, 1 reply; 12+ messages in thread From: Ludovic Courtès @ 2017-09-11 8:39 UTC (permalink / raw) To: Theodoros Foradis; +Cc: 28401, Efraim Flashner Hi, Theodoros Foradis <theodoros@foradis.org> skribis: > Hello Guix, > > this patch set adds clients (cli and gui) for Monero, a private digital > currency. > > As I mention in comments in source, monero package bundles easylogging++ > and lmdb. The bundled easylogging++ is modified, and the changes will > not be upstreamed. The devs deem the lmdb driver too critical a consenus > component, to use the system's dynamically linked library (plus there's > not even the option in the build system to use it). > > The other bundled dependencies we delete and not use. OK. Oh well. BTW, all tests pass (on x86_64), but the second test of “monero” takes ages: --8<---------------cut here---------------start------------->8--- Test project /tmp/guix-build-monero-0.11.0.0.drv-0/build Start 1: hash-target 1/11 Test #1: hash-target ...................... Passed 0.06 sec Start 2: coretests 2/11 Test #2: coretests ........................ Passed 1830.78 sec Start 3: cncrypto 3/11 Test #3: cncrypto ......................... Passed 8.22 sec Start 4: difficulty 4/11 Test #4: difficulty ....................... Passed 0.02 sec Start 5: hash-fast 5/11 Test #5: hash-fast ........................ Passed 0.01 sec Start 6: hash-slow 6/11 Test #6: hash-slow ........................ Passed 0.07 sec Start 7: hash-tree 7/11 Test #7: hash-tree ........................ Passed 0.00 sec Start 8: hash-extra-blake 8/11 Test #8: hash-extra-blake ................. Passed 0.00 sec Start 9: hash-extra-groestl 9/11 Test #9: hash-extra-groestl ............... Passed 0.01 sec Start 10: hash-extra-jh 10/11 Test #10: hash-extra-jh .................... Passed 0.01 sec Start 11: hash-extra-skein 11/11 Test #11: hash-extra-skein ................. Passed 0.00 sec --8<---------------cut here---------------end--------------->8--- > As far as monero-core is concerned (the gui), I did not manage to get it > to build with the modular qt. Should this be added in the source as a > TODO item? Could you be more specific at what you tried and failed to achieve? Perhaps Efraim (Cc’d) or someone else can provide guidance. Thanks, Ludo’. ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 0/2] gnu: Add monero. 2017-09-11 8:39 ` [bug#28401] [PATCH 0/2] " Ludovic Courtès @ 2017-09-11 8:56 ` Theodoros Foradis 2017-09-11 11:36 ` Ludovic Courtès 0 siblings, 1 reply; 12+ messages in thread From: Theodoros Foradis @ 2017-09-11 8:56 UTC (permalink / raw) To: Ludovic Courtès; +Cc: 28401, Efraim Flashner > BTW, all tests pass (on x86_64), but the second test of “monero” takes > ages: Maybe we should like to disable that specific test? >> As far as monero-core is concerned (the gui), I did not manage to get it >> to build with the modular qt. Should this be added in the source as a >> TODO item? > > Could you be more specific at what you tried and failed to achieve? > Perhaps Efraim (Cc’d) or someone else can provide guidance. The README file lists the following packages for other GNU/Linux distros: qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-xmllistmodel qttools5-dev-tools qml-module-qtquick-dialogs I tried using our: qtbase qtdeclarative qtquickcontrol qttools qtgraphicaleffects, with which the package won't build. But I can't find the equivalent for the qml-module-... packages, except for the qtquickcontrol one. Maybe I'm missing something? -- Theodoros Foradis ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 0/2] gnu: Add monero. 2017-09-11 8:56 ` Theodoros Foradis @ 2017-09-11 11:36 ` Ludovic Courtès 2017-09-11 13:51 ` Efraim Flashner 0 siblings, 1 reply; 12+ messages in thread From: Ludovic Courtès @ 2017-09-11 11:36 UTC (permalink / raw) To: Theodoros Foradis; +Cc: 28401, Efraim Flashner Theodoros Foradis <theodoros@foradis.org> skribis: >> BTW, all tests pass (on x86_64), but the second test of “monero” takes >> ages: > > Maybe we should like to disable that specific test? It does pass on time on x86_64, and supposedly it’s useful, so I would not disable it. However, we should keep an eye on it and check whether it takes too longer on ARM, for instance, and perhaps adjust ‘max-silent-time’ accordingly. >>> As far as monero-core is concerned (the gui), I did not manage to get it >>> to build with the modular qt. Should this be added in the source as a >>> TODO item? >> >> Could you be more specific at what you tried and failed to achieve? >> Perhaps Efraim (Cc’d) or someone else can provide guidance. > > The README file lists the following packages for other GNU/Linux > distros: > qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls > qml-module-qtquick-xmllistmodel qttools5-dev-tools > qml-module-qtquick-dialogs > > I tried using our: > qtbase > qtdeclarative > qtquickcontrol > qttools > qtgraphicaleffects, > with which the package won't build. How does it fail? > But I can't find the equivalent for the qml-module-... packages, except > for the qtquickcontrol one. Maybe I'm missing something? Dunno, you’re the expert! :-) Ludo’. ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 0/2] gnu: Add monero. 2017-09-11 11:36 ` Ludovic Courtès @ 2017-09-11 13:51 ` Efraim Flashner 2017-09-11 14:42 ` Theodoros Foradis 0 siblings, 1 reply; 12+ messages in thread From: Efraim Flashner @ 2017-09-11 13:51 UTC (permalink / raw) To: ludo, Theodoros Foradis; +Cc: 28401 On September 11, 2017 2:36:35 PM GMT+03:00, ludo@gnu.org wrote: >Theodoros Foradis <theodoros@foradis.org> skribis: > >>> BTW, all tests pass (on x86_64), but the second test of “monero” >takes >>> ages: >> >> Maybe we should like to disable that specific test? > >It does pass on time on x86_64, and supposedly it’s useful, so I would >not disable it. > >However, we should keep an eye on it and check whether it takes too >longer on ARM, for instance, and perhaps adjust ‘max-silent-time’ >accordingly. > I have a particularly slow machine that can probably aproximate a 'long enough' time. I'll test it out on aarch64 once I apply Leo's patch for libunwind; the current version is actually unsupported on aarch64. >>>> As far as monero-core is concerned (the gui), I did not manage to >get it >>>> to build with the modular qt. Should this be added in the source as >a >>>> TODO item? >>> >>> Could you be more specific at what you tried and failed to achieve? >>> Perhaps Efraim (Cc’d) or someone else can provide guidance. >> >> The README file lists the following packages for other GNU/Linux >> distros: >> qtbase5-dev qt5-default qtdeclarative5-dev >qml-module-qtquick-controls >> qml-module-qtquick-xmllistmodel qttools5-dev-tools >> qml-module-qtquick-dialogs >> >> I tried using our: >> qtbase >> qtdeclarative >> qtquickcontrol >> qttools >> qtgraphicaleffects, >> with which the package won't build. > >How does it fail? > >> But I can't find the equivalent for the qml-module-... packages, >except >> for the qtquickcontrol one. Maybe I'm missing something? > >Dunno, you’re the expert! :-) > >Ludo’. I sometimes have to search through to see which module provides which qt piece -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 0/2] gnu: Add monero. 2017-09-11 13:51 ` Efraim Flashner @ 2017-09-11 14:42 ` Theodoros Foradis 2017-09-11 14:44 ` Efraim Flashner 0 siblings, 1 reply; 12+ messages in thread From: Theodoros Foradis @ 2017-09-11 14:42 UTC (permalink / raw) To: Efraim Flashner; +Cc: 28401 > >>>>> As far as monero-core is concerned (the gui), I did not manage to >>get it >>>>> to build with the modular qt. Should this be added in the source as >>a >>>>> TODO item? >>>> >>>> Could you be more specific at what you tried and failed to achieve? >>>> Perhaps Efraim (Cc’d) or someone else can provide guidance. >>> >>> The README file lists the following packages for other GNU/Linux >>> distros: >>> qtbase5-dev qt5-default qtdeclarative5-dev >>qml-module-qtquick-controls >>> qml-module-qtquick-xmllistmodel qttools5-dev-tools >>> qml-module-qtquick-dialogs >>> >>> I tried using our: >>> qtbase >>> qtdeclarative >>> qtquickcontrol >>> qttools >>> qtgraphicaleffects, >>> with which the package won't build. >> >>How does it fail? >> >>> But I can't find the equivalent for the qml-module-... packages, >>except >>> for the qtquickcontrol one. Maybe I'm missing something? >> >>Dunno, you’re the expert! :-) >> >>Ludo’. > > I sometimes have to search through to see which module provides which qt piece There was an issue with the build system not finding lrelease from qt which I was able to find and patch. So I got the package to build with the forementioned modular qt packages. There are runtime issues though (ie, the program monero-wallet-gui won't run) with the following messages: app startd QQmlApplicationEngine failed to load component qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed qrc:///main.qml:34 module "Qt.labs.settings" is not installed qrc:///main.qml:31 module "QtQuick.Controls" is not installed qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed qrc:///main.qml:29 module "QtQuick" is not installed qrc:///main.qml:30 module "QtQuick.Window" is not installed qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed qrc:///main.qml:34 module "Qt.labs.settings" is not installed qrc:///main.qml:31 module "QtQuick.Controls" is not installed qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed qrc:///main.qml:29 module "QtQuick" is not installed qrc:///main.qml:30 module "QtQuick.Window" is not installed qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed qrc:///main.qml:34 module "Qt.labs.settings" is not installed qrc:///main.qml:31 module "QtQuick.Controls" is not installed qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed qrc:///main.qml:29 module "QtQuick" is not installed qrc:///main.qml:30 module "QtQuick.Window" is not installed qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed qrc:///main.qml:34 module "Qt.labs.settings" is not installed qrc:///main.qml:31 module "QtQuick.Controls" is not installed qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed qrc:///main.qml:29 module "QtQuick" is not installed qrc:///main.qml:30 module "QtQuick.Window" is not installed qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed qrc:///main.qml:34 module "Qt.labs.settings" is not installed qrc:///main.qml:31 module "QtQuick.Controls" is not installed qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed qrc:///main.qml:29 module "QtQuick" is not installed qrc:///main.qml:30 module "QtQuick.Window" is not installed qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed qrc:///main.qml:34 module "Qt.labs.settings" is not installed qrc:///main.qml:31 module "QtQuick.Controls" is not installed qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed qrc:///main.qml:29 module "QtQuick" is not installed qrc:///main.qml:30 module "QtQuick.Window" is not installed For one, there seems to be an issue with the package's build system because qml module "QtQuick.Dialogs" is included in our qtquickcontrol package. On the other hand, I think we don't have the qml modules for "Qt.labs" in any modular qt package. Is that correct? -- Theodoros Foradis ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 0/2] gnu: Add monero. 2017-09-11 14:42 ` Theodoros Foradis @ 2017-09-11 14:44 ` Efraim Flashner 2017-09-11 16:14 ` Theodoros Foradis 0 siblings, 1 reply; 12+ messages in thread From: Efraim Flashner @ 2017-09-11 14:44 UTC (permalink / raw) To: Theodoros Foradis; +Cc: 28401 On September 11, 2017 5:42:08 PM GMT+03:00, Theodoros Foradis <theodoros@foradis.org> wrote: >> >>>>>> As far as monero-core is concerned (the gui), I did not manage to >>>get it >>>>>> to build with the modular qt. Should this be added in the source >as >>>a >>>>>> TODO item? >>>>> >>>>> Could you be more specific at what you tried and failed to >achieve? >>>>> Perhaps Efraim (Cc’d) or someone else can provide guidance. >>>> >>>> The README file lists the following packages for other GNU/Linux >>>> distros: >>>> qtbase5-dev qt5-default qtdeclarative5-dev >>>qml-module-qtquick-controls >>>> qml-module-qtquick-xmllistmodel qttools5-dev-tools >>>> qml-module-qtquick-dialogs >>>> >>>> I tried using our: >>>> qtbase >>>> qtdeclarative >>>> qtquickcontrol >>>> qttools >>>> qtgraphicaleffects, >>>> with which the package won't build. >>> >>>How does it fail? >>> >>>> But I can't find the equivalent for the qml-module-... packages, >>>except >>>> for the qtquickcontrol one. Maybe I'm missing something? >>> >>>Dunno, you’re the expert! :-) >>> >>>Ludo’. >> >> I sometimes have to search through to see which module provides which >qt piece > >There was an issue with the build system not finding lrelease from qt >which I was able to find and patch. So I got the package to build with >the forementioned modular qt packages. > >There are runtime issues though (ie, the program monero-wallet-gui >won't >run) with the following messages: >app startd >QQmlApplicationEngine failed to load component >qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed >qrc:///main.qml:34 module "Qt.labs.settings" is not installed >qrc:///main.qml:31 module "QtQuick.Controls" is not installed >qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed >qrc:///main.qml:29 module "QtQuick" is not installed >qrc:///main.qml:30 module "QtQuick.Window" is not installed >qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed >qrc:///main.qml:34 module "Qt.labs.settings" is not installed >qrc:///main.qml:31 module "QtQuick.Controls" is not installed >qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed >qrc:///main.qml:29 module "QtQuick" is not installed >qrc:///main.qml:30 module "QtQuick.Window" is not installed >qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed >qrc:///main.qml:34 module "Qt.labs.settings" is not installed >qrc:///main.qml:31 module "QtQuick.Controls" is not installed >qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed >qrc:///main.qml:29 module "QtQuick" is not installed >qrc:///main.qml:30 module "QtQuick.Window" is not installed >qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed >qrc:///main.qml:34 module "Qt.labs.settings" is not installed >qrc:///main.qml:31 module "QtQuick.Controls" is not installed >qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed >qrc:///main.qml:29 module "QtQuick" is not installed >qrc:///main.qml:30 module "QtQuick.Window" is not installed >qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed >qrc:///main.qml:34 module "Qt.labs.settings" is not installed >qrc:///main.qml:31 module "QtQuick.Controls" is not installed >qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed >qrc:///main.qml:29 module "QtQuick" is not installed >qrc:///main.qml:30 module "QtQuick.Window" is not installed >qrc:///main.qml:32 module "QtQuick.Controls.Styles" is not installed >qrc:///main.qml:34 module "Qt.labs.settings" is not installed >qrc:///main.qml:31 module "QtQuick.Controls" is not installed >qrc:///main.qml:33 module "QtQuick.Dialogs" is not installed >qrc:///main.qml:29 module "QtQuick" is not installed >qrc:///main.qml:30 module "QtQuick.Window" is not installed This sounds a lot like the errors I got when trying to run gcompris-qt built with modular qt. IIRC Hartmut and someone else are working on improving our modular qt which might improve this situation. > >For one, there seems to be an issue with the package's build system >because qml module "QtQuick.Dialogs" is included in our qtquickcontrol >package. On the other hand, I think we don't have the qml modules for >"Qt.labs" in any modular qt package. Is that correct? I don't believe so. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#28401] [PATCH 0/2] gnu: Add monero. 2017-09-11 14:44 ` Efraim Flashner @ 2017-09-11 16:14 ` Theodoros Foradis 0 siblings, 0 replies; 12+ messages in thread From: Theodoros Foradis @ 2017-09-11 16:14 UTC (permalink / raw) To: Efraim Flashner; +Cc: 28401 > > This sounds a lot like the errors I got when trying to run gcompris-qt built with modular qt. IIRC Hartmut and someone else are working on improving our modular qt which might improve this situation. > So, I guess we should add a TODO comment at the "qt" input to revisit this when our modular qt is changed. -- Theodoros Foradis ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2017-09-11 16:16 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-09-09 16:35 [bug#28401] [PATCH 0/2] gnu: Add monero Theodoros Foradis 2017-09-09 17:47 ` [bug#28401] [PATCH 1/2] " Theodoros Foradis 2017-09-09 17:47 ` [bug#28401] [PATCH 2/2] gnu: Add monero-core Theodoros Foradis 2017-09-11 8:21 ` bug#28401: " Ludovic Courtès 2017-09-11 8:17 ` [bug#28401] [PATCH 1/2] gnu: Add monero Ludovic Courtès 2017-09-11 8:39 ` [bug#28401] [PATCH 0/2] " Ludovic Courtès 2017-09-11 8:56 ` Theodoros Foradis 2017-09-11 11:36 ` Ludovic Courtès 2017-09-11 13:51 ` Efraim Flashner 2017-09-11 14:42 ` Theodoros Foradis 2017-09-11 14:44 ` Efraim Flashner 2017-09-11 16:14 ` Theodoros Foradis
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.