summaryrefslogtreecommitdiff
path: root/gnu/packages/qt.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2023-03-20 18:21:47 +0100
committerAndreas Enge <andreas@enge.fr>2023-03-20 18:49:06 +0100
commitccb62d8feb50e2859d7c41429a9e3d9e0fe30bfe (patch)
tree4ab573cee33f277828ad553a22579175b1dda22d /gnu/packages/qt.scm
parent098bd280f82350073e8280e37d56a14162eed09c (diff)
parentf80215c7c4ae5ea0c316f4766e6c05ae4218ede3 (diff)
Merge remote-tracking branch 'origin/master' into core-updates
Diffstat (limited to 'gnu/packages/qt.scm')
-rw-r--r--gnu/packages/qt.scm99
1 files changed, 46 insertions, 53 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 22a33341bf..1b94b9866e 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -19,7 +19,7 @@
;;; Copyright © 2020 TomZ <tomz@freedommail.ch>
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
-;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
@@ -592,13 +592,13 @@ developers using C++ or QML, a CSS & JavaScript like language.")
(define-public qtbase
(package/inherit qtbase-5
(name "qtbase")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(inherit (package-source qtbase-5))
(uri (qt-urls name version))
(sha256
(base32
- "00sfya41ihqb0zwg6wf1kiy02iymj6mk584hhk2c4s94khfl4r0a"))
+ "19m9r8sf9mvyrwipn44if3nhding4ljys2mwf04b7dkhz16vlabr"))
(modules '((guix build utils)))
(snippet
;; corelib uses bundled harfbuzz, md4, md5, sha3
@@ -614,8 +614,7 @@ developers using C++ or QML, a CSS & JavaScript like language.")
(substitute-keyword-arguments (package-arguments qtbase-5)
((#:configure-flags _ ''())
`(let ((out (assoc-ref %outputs "out")))
- (list "-GNinja" ;the build fails otherwise
- "-DQT_BUILD_TESTS=ON"
+ (list "-DQT_BUILD_TESTS=ON"
(string-append "-DINSTALL_ARCHDATADIR=" out "/lib/qt6")
(string-append "-DINSTALL_DATADIR=" out "/share/qt6")
(string-append "-DINSTALL_DOCDIR=" out "/share/doc/qt6")
@@ -706,12 +705,6 @@ developers using C++ or QML, a CSS & JavaScript like language.")
"/usr/bin/env python3"))))
(replace 'configure
(assoc-ref %standard-phases 'configure))
- (replace 'build
- (lambda* (#:key parallel-build? #:allow-other-keys)
- (apply invoke "cmake" "--build" "."
- (if parallel-build?
- `("--parallel" ,(number->string (parallel-job-count)))
- '()))))
(delete 'check) ;move after patch-prl-files
(add-after 'patch-prl-files 'check
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
@@ -814,9 +807,6 @@ developers using C++ or QML, a CSS & JavaScript like language.")
"tst_qcompleter"
"tst_qfiledialog") "|")
")")))))
- (replace 'install
- (lambda _
- (invoke "cmake" "--install" ".")))
(replace 'patch-mkspecs
(lambda* (#:key outputs #:allow-other-keys)
(let* ((archdata (search-input-directory outputs "lib/qt6"))
@@ -857,8 +847,7 @@ developers using C++ or QML, a CSS & JavaScript like language.")
(("\\$\\$\\[QT_HOST_DATA/src\\]") archdata)))))))))
(native-inputs
(modify-inputs (package-native-inputs qtbase-5)
- (prepend ninja
- wayland-protocols
+ (prepend wayland-protocols
xvfb-run)))
(inputs
(modify-inputs (package-inputs qtbase-5)
@@ -947,13 +936,13 @@ HostData=lib/qt5"
(define-public qt5compat
(package
(name "qt5compat")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "1zbcaswpl79ixcxzj85qzjq73962s4c7316pibwfrskqswmwcgm4"))))
+ "1k30hnwnlbay1hnkdavgf6plsdzrryzcqd2qz8x11r477w7sr8wi"))))
(build-system cmake-build-system)
(arguments
(list
@@ -1045,13 +1034,13 @@ HostData=lib/qt5
(define-public qtsvg
(package
(name "qtsvg")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "1xvxz2jfpr1al85rhwss7ji5vkxa812d0b888hry5f7pwqcg86bv"))))
+ "14i3f23k9k0731akpwa6zzhw5m3c0m2l5r7irvim4h4faah445ac"))))
(build-system cmake-build-system)
(arguments
(list
@@ -1150,7 +1139,7 @@ from within Qt 5.")))
(invoke "make" "-j" (number->string (parallel-job-count)))
(invoke "./TestExcel"))))))))
(inputs
- (list qtbase-5))
+ (list libxkbcommon qtbase vulkan-headers))
(home-page "https://qtexcel.github.io/QXlsx/")
(synopsis "C++ library to read/write Excel XLSX files using Qt")
(description
@@ -1158,6 +1147,13 @@ from within Qt 5.")))
XLSX document format.")
(license license:expat)))
+(define-public qxlsx-qt5
+ (package/inherit qxlsx
+ (name "qxlsx-qt5")
+ (inputs
+ (list qtbase-5))
+ (synopsis "Qt5 build for the qxlsx library.")))
+
(define-public qtxmlpatterns
(package (inherit qtsvg-5)
(name "qtxmlpatterns")
@@ -1238,18 +1234,20 @@ with JavaScript and C++.")))
(define-public qtdeclarative
(package
(name "qtdeclarative")
- (version "6.3.1")
+ (version "6.3.2")
;; TODO: Package 'masm' and unbundle from sources.
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "1s268fha3650dn1lqxf8jfa07wxpw09f6p7rjyiwq3w24d0nkrq3"))))
+ "1hbw63828pp8vm9b46i2pkcbcpr4mq9nblhmpwrw2pflq0fi24xq"))))
(build-system cmake-build-system)
(arguments
(list
- #:configure-flags #~(list "-GNinja" ;about twice as fast!
+ ;; The build takes 12 minutes on a Ryzen 3900X when building with Ninja,
+ ;; compared to 24 minutes with Make.
+ #:configure-flags #~(list "-GNinja"
"-DQT_BUILD_TESTS=ON")
#:phases
#~(modify-phases %standard-phases
@@ -1290,7 +1288,6 @@ with JavaScript and C++.")))
(when tests?
;; The tests expect to find the modules provided by this
;; package; extend the environment variables needed to do so.
- ;(setenv "CMAKE_PREFIX_PATH" #$output)
(setenv "QML2_IMPORT_PATH"
(string-append #$output "/lib/qt6/qml"))
(setenv "QT_PLUGIN_PATH"
@@ -1328,10 +1325,6 @@ with JavaScript and C++.")))
;; qrc). Import paths used:
;; /gnu/store/...-qtbase-6.3.1/lib/qt6/qml"
"tst_qmltc_qprocess"
- ;; This test is non-deterministic; may fail under high
- ;; load (see:
- ;; https://bugreports.qt.io/browse/QTBUG-111008).
- "tst_qqmlprofilerservice"
;; This one also causes non-determinstic failures (see:
;; https://bugreports.qt.io/browse/QTBUG-101488).
"tst_qquickfolderdialogimpl"
@@ -1414,13 +1407,13 @@ consume data received from the server, or both.")))
(define-public qtwebsockets
(package
(name "qtwebsockets")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "06hj0pkdzjicmbiinjp1dk1ziz8cb3fgcwy7a0dxxjvzr680v64z"))))
+ "1smbvidaybphvsmaap9v1pbkibwmng11hb925g0ww4ghwzpxkb8q"))))
(build-system cmake-build-system)
(arguments
(list
@@ -1526,7 +1519,7 @@ set of plugins for interacting with pulseaudio and GStreamer.")))
(define-public qtshadertools
(package
(name "qtshadertools")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
@@ -1534,7 +1527,7 @@ set of plugins for interacting with pulseaudio and GStreamer.")))
;; sources.
(sha256
(base32
- "0nj35s2z5n438q7nqf6bnj3slwz2am3169ck1ixwqa0mjrv73dsr"))))
+ "1bmkrpk414clx8pnyrdslqlsnfmsdldmwrdcqzz6rwi8ymk2ggpn"))))
(build-system cmake-build-system)
(arguments
(list
@@ -1555,13 +1548,13 @@ Vulkan, OpenGL and other main graphic APIs.")
(define-public qtmultimedia
(package
(name "qtmultimedia")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "0dkk3lmzi2fs13cnj8q1lpcs6gghj219826gkwnzyd6nmlm280vy"))
+ "0hqwq0ad6z8c5kyyvbaddj00mciijn2ns2r60jc3mqh98nm2js3z"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -1670,13 +1663,13 @@ compositor libraries.")))
(define-public qtwayland
(package
(name "qtwayland")
- (version "6.3.1")
+ (version "6.3.2")
(source
(origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
- (base32 "1w60p1did7awdlzq5k8vnq2ncpskb07cpvz31cbv99bjs6igw53g"))))
+ (base32 "0rwiirkibgpvx05pg2842j4dcq9ckxmcqxhaf50xx2i55z64ll83"))))
(build-system cmake-build-system)
(arguments
(list #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")
@@ -1797,13 +1790,13 @@ popular web engines, Qt WebKit 2 and Qt WebEngine.")))
(define-public qtwebchannel
(package
(name "qtwebchannel")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "0s16zx3qn3byldvhmsnwijm8rmizk8vpqj7fnwhjg6c67z10m8ma"))))
+ "0gqm09yqdq27kgb02idx5ycj14k5mjhh10ddp9jfs8lblimlgfni"))))
(build-system cmake-build-system)
(arguments
(list
@@ -1907,13 +1900,13 @@ positioning and geolocation plugins.")))
(define-public qtlottie
(package
(name "qtlottie")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "1x8wmc6gwmxk92zjcsrbhrbqbfvnk7302ggghld5wk8jk5lsf2vl"))))
+ "1c092hmf114r8jfdhkhxnn3vywj93mg33whzav47gr9mbza44icq"))))
(build-system cmake-build-system)
(arguments
(list
@@ -1961,13 +1954,13 @@ that helps in Qt development.")))
(define-public qttools
(package
(name "qttools")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "1h96w4bzkbd80vr7lh6hnypdlmbzc1y52c2zrqzvkgm3587pa4n4"))))
+ "1lmfk5bhgg4daxkqrhmx4iyln7pyiz40c9cp6plyp35nz8ppvc75"))))
(build-system cmake-build-system)
(arguments
(list
@@ -2001,13 +1994,13 @@ that helps in Qt development.")
(define-public qttranslations
(package
(name "qttranslations")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "15yvvxw1vngnjlly6cady05ljamg01qiaqn2vh0xkph855gdbgfp"))))
+ "1h66n9cx4g65c9wrgp32h9gm3r47gyh1nrcn3ivbfbvngfawqxpg"))))
(build-system cmake-build-system)
(arguments (list #:tests? #f))
(native-inputs (list qtbase qttools))
@@ -2167,13 +2160,13 @@ also contains functionality to support data models and executable content.")))
(define-public qtpositioning
(package
(name "qtpositioning")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "0v78wamvdw02kf9rq7m5v24q2g6jmgq4ch0fnfa014p1r978wy06"))))
+ "0zh45lf164nzwl1hh96qm64nyw9wzzrnm5s7sx761glz54q6l5xz"))))
(build-system cmake-build-system)
(arguments
(list
@@ -2281,13 +2274,13 @@ implementation of OAuth and OAuth2 authenticathon methods for Qt.")))
(define-public qtnetworkauth
(package
(name "qtnetworkauth")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "0apvsb2ip1m3kw8vi9spvf6f6q72ys8vr40rpyysi7shsjwm83yn"))))
+ "0mjnz87splyxq7jwydi5ws2aqb6j7czscrkns193w425x0dgy94l"))))
(build-system cmake-build-system)
(arguments (list #:configure-flags #~(list "-DQT_BUILD_TESTS=ON")))
(native-inputs (list perl))
@@ -2769,14 +2762,14 @@ and binaries removed, and adds modular support for using system libraries.")
(define-public qtwebengine
(package
(name "qtwebengine")
- (version "6.3.1")
+ (version "6.3.2")
(source
(origin
(method url-fetch)
(uri (qt-urls name version))
(sha256
(base32
- "0ivfsqd5c0cxsnssj6z37901cf6a47w50zaqgjiysvcm3ar36ymd"))
+ "09j4w9ax8242d1yx3hmic7jcwidwdrn8sp7k89hj4l0n8mzkkd35"))
(modules '((ice-9 ftw)
(ice-9 match)
(srfi srfi-1)
@@ -4022,7 +4015,7 @@ color-related widgets.")
(package
(inherit python-shiboken-2)
(name "python-shiboken-6")
- (version "6.3.1")
+ (version "6.3.2")
(source (origin
(method url-fetch)
(uri (string-append "https://download.qt.io/official_releases"
@@ -4031,7 +4024,7 @@ color-related widgets.")
version ".tar.xz"))
(sha256
(base32
- "0xwri69nnbhn6fajm7l045r0s0qv8nlq6qj8wcj87srli3b5xa75"))))
+ "14k8lm0h45jy6cinfwh1r503pdsslw6sq0ay3f74hil9krc7k6fi"))))
(build-system cmake-build-system)
(inputs
(modify-inputs (package-inputs python-shiboken-2)