From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtgui/files/, dev-qt/qtgui/
Date: Tue, 4 Jul 2017 12:39:43 +0000 (UTC) [thread overview]
Message-ID: <1499171971.83c3cadf0bb3202448cf7a803a0139c34ff2b1a2.kensington@gentoo> (raw)
commit: 83c3cadf0bb3202448cf7a803a0139c34ff2b1a2
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 4 12:39:19 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Jul 4 12:39:31 2017 +0000
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=83c3cadf
dev-qt/qtgui: backport patch from upstream fixing accessibility
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-qt/qtgui/files/qtgui-5.9.1-atspi.patch | 37 ++++++++++++++++++++++++++++++
dev-qt/qtgui/qtgui-5.9.1.ebuild | 2 ++
2 files changed, 39 insertions(+)
diff --git a/dev-qt/qtgui/files/qtgui-5.9.1-atspi.patch b/dev-qt/qtgui/files/qtgui-5.9.1-atspi.patch
new file mode 100644
index 00000000..82acd839
--- /dev/null
+++ b/dev-qt/qtgui/files/qtgui-5.9.1-atspi.patch
@@ -0,0 +1,37 @@
+From: Bernhard Rosenkränzer <bero@linaro.org>
+Date: Fri, 30 Jun 2017 15:39:01 +0000 (+0200)
+Subject: Fix detection of AT-SPI
+X-Git-Url: https://codereview.qt-project.org/gitweb?p=qt%2Fqtbase.git;a=commitdiff_plain;h=386af91c57948b88ba98cb040430e4a3878e3e3b;hp=989b9da3007ff06c79ab7ee553acfce9177df5b6
+
+Fix detection of AT-SPI
+
+Building qtbase 5.9.1 on Linux always results in a build with
+accessibility support disabled.
+
+The problem is that the config option for accessibility-atspi-bridge
+checks for config.atspi, which isn't defined anywhere - it should
+check for libs.atspi (which is set if pkg-config finds atspi-2) instead.
+
+[ChangeLog][QtGui][Platform Specific Changes][Linux/XCB]
+Fixed detection of AT-SPI, allowing accessibility support to be built
+again.
+
+Task-number: QTBUG-61731
+Change-Id: If3bd5dfccda40158c566f8507e34b6877b59b6fb
+Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
+Reviewed-by: Bernhard Rosenkränzer <bero@lindev.ch>
+---
+
+diff --git a/src/gui/configure.json b/src/gui/configure.json
+index a2a78aa..ef7ba51 100644
+--- a/src/gui/configure.json
++++ b/src/gui/configure.json
+@@ -434,7 +434,7 @@
+ "features": {
+ "accessibility-atspi-bridge": {
+ "label": "ATSPI Bridge",
+- "condition": "features.accessibility && features.xcb && features.dbus && config.atspi",
++ "condition": "features.accessibility && features.xcb && features.dbus && libs.atspi",
+ "output": [ "privateFeature", "feature" ]
+ },
+ "angle": {
diff --git a/dev-qt/qtgui/qtgui-5.9.1.ebuild b/dev-qt/qtgui/qtgui-5.9.1.ebuild
index 53aa133b..3af03f98 100644
--- a/dev-qt/qtgui/qtgui-5.9.1.ebuild
+++ b/dev-qt/qtgui/qtgui-5.9.1.ebuild
@@ -71,6 +71,8 @@ PDEPEND="
ibus? ( app-i18n/ibus )
"
+PATCHES=( "${FILESDIR}/${P}-atspi.patch" )
+
QT5_TARGET_SUBDIRS=(
src/gui
src/openglextensions
next reply other threads:[~2017-07-04 12:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-04 12:39 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-02-22 22:19 [gentoo-commits] proj/qt:master commit in: dev-qt/qtgui/files/, dev-qt/qtgui/ Andreas Sturmlechner
2019-12-25 17:33 Andreas Sturmlechner
2020-02-09 19:24 Andreas Sturmlechner
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1499171971.83c3cadf0bb3202448cf7a803a0139c34ff2b1a2.kensington@gentoo \
--to=kensington@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox