From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 58054@debbugs.gnu.org
Subject: [bug#58054] [PATCH 2/2] gnu: Add qtwayland, version 6.3.1.
Date: Sun, 25 Sep 2022 08:35:17 +0800 [thread overview]
Message-ID: <y76o7v4ffzu.wl-hako@ultrarare.space> (raw)
In-Reply-To: <y76pmfkfg0l.wl-hako@ultrarare.space>
* gnu/packages/qt.scm (qtwayland): New variable.
---
gnu/packages/qt.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index bf978eec50..25b246d7d4 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1500,6 +1500,55 @@ (define-public qtwayland-5
(description "The Qt Wayland module provides the QtWayland client and
compositor libraries.")))
+(define-public qtwayland
+ (package (inherit qtsvg)
+ (name "qtwayland")
+ (version "6.3.1")
+ (source (origin
+ (method url-fetch)
+ (uri (qt-urls name version))
+ (sha256
+ (base32
+ "1w60p1did7awdlzq5k8vnq2ncpskb07cpvz31cbv99bjs6igw53g"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments qtsvg)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ ;; FIXME: tst_seatv4::animatedCursor() fails for no good
+ ;; reason and breaks these two tests.
+ (substitute* "tests/auto/client/seatv4/tst_seatv4.cpp"
+ (((string-append "QVERIFY\\(!cursorSurface\\(\\)->"
+ "m_waitingFrameCallbacks\\.empty\\(\\)\\);"))
+ "")
+ (("QTRY_COMPARE\\(bufferSpy\\.count\\(\\), 1\\);")
+ ""))))
+ (add-before 'check 'set-test-environment
+ (lambda _
+ ;; Do not fail just because /etc/machine-id is missing.
+ (setenv "DBUS_FATAL_WARNINGS" "0")))
+ ;; No such directory anymore.
+ (delete 'delete-installed-tests)))))
+ (native-inputs
+ (list glib perl pkg-config qtdeclarative))
+ (inputs
+ (list fontconfig
+ freetype
+ libx11
+ libxcomposite
+ libxext
+ libxkbcommon
+ libxrender
+ mesa
+ mtdev
+ qtbase
+ vulkan-headers
+ wayland))
+ (synopsis "Qt Wayland module")
+ (description "The Qt Wayland module provides the QtWayland client and
+compositor libraries.")))
+
(define-public qtserialport
(package (inherit qtsvg-5)
(name "qtserialport")
--
2.37.3
next prev parent reply other threads:[~2022-09-25 0:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-25 0:32 [bug#58054] [PATCH 0/2] gnu: Add qtwayland, version 6.3.1 Hilton Chain via Guix-patches via
2022-09-25 0:34 ` [bug#58054] [PATCH 1/2] gnu: qtwayland: Rename to qtwayland-5 Hilton Chain via Guix-patches via
2022-09-25 0:35 ` Hilton Chain via Guix-patches via [this message]
2022-09-28 18:58 ` [bug#58054] [PATCH 0/2] gnu: Add qtwayland, version 6.3.1 Maxim Cournoyer
2022-09-29 13:52 ` [bug#58054] [PATCH v2 " Hilton Chain via Guix-patches via
2022-09-29 13:53 ` [bug#58054] [PATCH v2 1/2] gnu: qtwayland: Rename to qtwayland-5 Hilton Chain via Guix-patches via
2022-09-29 13:53 ` [bug#58054] [PATCH v2 2/2] gnu: Add qtwayland, version 6.3.1 Hilton Chain via Guix-patches via
2022-09-30 3:31 ` bug#58054: " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=y76o7v4ffzu.wl-hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=58054@debbugs.gnu.org \
--cc=hako@ultrarare.space \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).