[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: bitcoin-core: Build with modular Qt.
From: |
Marius Bakke |
Subject: |
04/06: gnu: bitcoin-core: Build with modular Qt. |
Date: |
Fri, 22 Sep 2017 13:24:39 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 0193812a3d44cf982f868e2171386204fa7dbda6
Author: Marius Bakke <address@hidden>
Date: Fri Sep 22 19:00:08 2017 +0200
gnu: bitcoin-core: Build with modular Qt.
* gnu/packages/finance.scm (bitcoin-core)[native-inputs]: Add QTTOOLS.
[inputs]: Remove QT. Add QTBASE.
[arguments]: Specify paths to "lrelease" and "lupdate" in #:configure-flags.
---
gnu/packages/finance.scm | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 823eabf..9e346a6 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -70,7 +70,8 @@
(native-inputs
`(("pkg-config" ,pkg-config)
("python" ,python) ; for the tests
- ("util-linux" ,util-linux))) ; provides the hexdump command for tests
+ ("util-linux" ,util-linux) ; provides the hexdump command for tests
+ ("qttools" ,qttools)))
(inputs
`(("bdb" ,bdb-5.3) ; with 6.2.23, there is an error: ambiguous overload
("boost" ,boost)
@@ -78,8 +79,7 @@
("miniupnpc" ,miniupnpc)
("openssl" ,openssl)
("protobuf" ,protobuf)
- ;; TODO Build with the modular Qt.
- ("qt" ,qt)))
+ ("qtbase" ,qtbase)))
(arguments
`(#:configure-flags
(list
@@ -87,7 +87,16 @@
"--with-incompatible-bdb"
;; Boost is not found unless specified manually.
(string-append "--with-boost="
- (assoc-ref %build-inputs "boost")))
+ (assoc-ref %build-inputs "boost"))
+ ;; XXX: The configure script looks up Qt paths by
+ ;; `pkg-config --variable=host_bins Qt5Core`, which fails to pick
+ ;; up executables residing in 'qttools', so we specify them here.
+ (string-append "ac_cv_path_LRELEASE="
+ (assoc-ref %build-inputs "qttools")
+ "/bin/lrelease")
+ (string-append "ac_cv_path_LUPDATE="
+ (assoc-ref %build-inputs "qttools")
+ "/bin/lupdate"))
#:phases
(modify-phases %standard-phases
(add-before 'check 'set-home
- branch master updated (8a7d81a -> a4314af), Marius Bakke, 2017/09/22
- 02/06: gnu: libraw: Update to 0.18.5 [fixes CVE-2017-13735, CVE-2017-14265]., Marius Bakke, 2017/09/22
- 03/06: gnu: bitcoin-core: Update to 0.15.0.1., Marius Bakke, 2017/09/22
- 04/06: gnu: bitcoin-core: Build with modular Qt.,
Marius Bakke <=
- 05/06: gnu: xpra: Update to 2.1.2., Marius Bakke, 2017/09/22
- 01/06: gnu: libsodium: Update to 1.0.14., Marius Bakke, 2017/09/22
- 06/06: gnu: you-get: Update to 0.4.915., Marius Bakke, 2017/09/22