guix_mirror_bot pushed a commit to branch master in repository guix. commit 3f61a516f5b766e7c33231106618909a0c70805f Author: Zheng Junjie <z572@z572.online> AuthorDate: Mon Jul 21 23:26:19 2025 +0800
gnu: qtremoteobjects: Update to 6.9.2. * gnu/packages/qt.scm (qtremoteobjects): Update to 6.9.2. [#:phases] {set-display}: Combine with... {prepare-for-tests}: ... this. {check}: Move exclude regexp to... [#:test-exclude]: ... here. Change-Id: I89263e53bbfe5f6b9021c45a91e1a5ca0efc4f01 Co-authored-by: Maxim Cournoyer <ma...@guixotic.coop> --- gnu/packages/qt.scm | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 9d091c3eca..3d5b032d1d 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -142,6 +142,7 @@ #:use-module (gnu packages xiph) #:use-module (gnu packages xorg) #:use-module (gnu packages xml) + #:use-module (ice-9 format) #:use-module (ice-9 match) #:use-module (srfi srfi-1)) @@ -3066,35 +3067,37 @@ implementation of OAuth and OAuth2 authenticathon methods for Qt.") (define-public qtremoteobjects (package (name "qtremoteobjects") - (version "6.8.2") + (version "6.9.2") (source (origin (method url-fetch) (uri (qt-url name version)) (sha256 (base32 - "0adnbqdppawy4k8j5d87h59v9mdfhdrj4yfbhy0vy2qvw7nx6anh")))) + "09lby6dqc2sfig1krcszg6fkypgxlz2r7hgjjfi95g7g9gqlwqnz")))) (build-system cmake-build-system) (arguments (list + #:test-exclude (format + #f "(~{~a~^|~})" + ;; This test fails with "invalid index", but could + ;; pass in `guix shell --container'. + '("tst_modelview" + ;; This test fails in Guix and is known to be flaky + ;; (see: + ;; https://bugreports.qt.io/browse/QTBUG-105895). + "tst_external_IODevice")) #:phases #~(modify-phases %standard-phases - (add-before 'check 'set-display - (lambda _ - ;; Make Qt render "offscreen", required for tests. - (setenv "QT_QPA_PLATFORM" "offscreen"))) - (delete 'check) ;move after the install phase - (add-after 'install 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "ctest" "-E" - ;; This test fails with "invalid index", but could - ;; pass in `guix shell --container'. - "tst_modelview")))) (add-before 'check 'prepare-for-tests (lambda _ + ;; Make Qt render "offscreen", required for tests. + (setenv "QT_QPA_PLATFORM" "offscreen") (setenv "QML_IMPORT_PATH" (string-append #$output "/lib/qt6/qml:" - (getenv "QML_IMPORT_PATH")))))))) + (getenv "QML_IMPORT_PATH"))))) + (delete 'check) ;move after the install phase + (add-after 'install 'check + (assoc-ref %standard-phases 'check))))) (native-inputs (list perl vulkan-headers)) (inputs (list libxkbcommon qtbase qtdeclarative)) (synopsis "Qt Remote Objects module")