GNU bug report logs -
#28401
[PATCH 0/2] gnu: Add monero.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28401 in the body.
You can then email your comments to 28401 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Sat, 09 Sep 2017 17:29:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Theodoros Foradis <theodoros <at> foradis.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 09 Sep 2017 17:29:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Sat, 09 Sep 2017 17:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28401 <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Sat, 09 Sep 2017 17:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 28401 <at> debbugs.gnu.org (full text, mbox):
* 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 <at> ajgrf.com>
;;; Copyright © 2016 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;; Copyright © 2017 Carlo Zancanaro <carlo <at> zancanaro.id.au>
+;;; Copyright © 2017 Theodoros Foradis <theodoros <at> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 08:19:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 28401 <at> debbugs.gnu.org (full text, mbox):
Theodoros Foradis <theodoros <at> foradis.org> skribis:
> * gnu/packages/finance.scm (monero): New variable.
I tweaked the synopsis to placate ‘guix lint’ and applied.
Thanks!
Ludo’.
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Mon, 11 Sep 2017 08:22:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Theodoros Foradis <theodoros <at> foradis.org>
:
bug acknowledged by developer.
(Mon, 11 Sep 2017 08:22:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 28401-done <at> debbugs.gnu.org (full text, mbox):
Theodoros Foradis <theodoros <at> foradis.org> skribis:
> * gnu/packages/finance.scm (monero-core): New variable.
Applied, thanks!
Ludo'.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 08:40:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 28401 <at> debbugs.gnu.org (full text, mbox):
Hi,
Theodoros Foradis <theodoros <at> 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’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 08:57:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 28401 <at> debbugs.gnu.org (full text, mbox):
> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 11:37:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 28401 <at> debbugs.gnu.org (full text, mbox):
Theodoros Foradis <theodoros <at> 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’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 13:53:03 GMT)
Full text and
rfc822 format available.
Message #31 received at 28401 <at> debbugs.gnu.org (full text, mbox):
On September 11, 2017 2:36:35 PM GMT+03:00, ludo <at> gnu.org wrote:
>Theodoros Foradis <theodoros <at> 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.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 14:43:01 GMT)
Full text and
rfc822 format available.
Message #34 received at 28401 <at> debbugs.gnu.org (full text, mbox):
>
>>>>> 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 14:46:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 28401 <at> debbugs.gnu.org (full text, mbox):
On September 11, 2017 5:42:08 PM GMT+03:00, Theodoros Foradis <theodoros <at> 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.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#28401
; Package
guix-patches
.
(Mon, 11 Sep 2017 16:16:01 GMT)
Full text and
rfc822 format available.
Message #40 received at 28401 <at> debbugs.gnu.org (full text, mbox):
>
> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 10 Oct 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.