- Add patch to fix deps in Qt5WaylandClient.pc and .cmake:

* 0001-Fix-use-of-private-dependency.patch

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.13/libqt5-qtwayland?expand=0&rev=11
This commit is contained in:
Fabian Vogt 2019-08-15 11:31:16 +00:00 committed by Git OBS Bridge
parent d7866249c2
commit 4f952e275d
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,36 @@
From ce8fd1f97984476b3638569e7a7f0ab379d891ae Mon Sep 17 00:00:00 2001
From: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Date: Wed, 24 Jul 2019 23:40:55 +0200
Subject: [PATCH] Fix use of private dependency
With 0761173a, Linux SPI Accessibility bridge was added to
the Wayland QPA plugin, but this had a bad side-effect to
QtWaylandClient.
Linux Accessibility support is a private module, this means we have
to link to it with QT_PRIVATE not QT, otherwise CMake and pkg-config
files for Qt5WaylandClient will depend on it.
Change-Id: I6182267f97adc2cd5bd66895df148a6a45614f45
Fixes: QTBUG-76042
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
---
src/client/client.pro | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/client/client.pro b/src/client/client.pro
index db91bd69..4233ac95 100644
--- a/src/client/client.pro
+++ b/src/client/client.pro
@@ -20,7 +20,7 @@ qtConfig(xkbcommon) {
}
qtHaveModule(linuxaccessibility_support_private): \
- QT += linuxaccessibility_support_private
+ QT_PRIVATE += linuxaccessibility_support_private
QMAKE_USE += wayland-client
--
2.22.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 15 11:30:28 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to fix deps in Qt5WaylandClient.pc and .cmake:
* 0001-Fix-use-of-private-dependency.patch
-------------------------------------------------------------------
Wed Jul 3 08:50:36 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -42,6 +42,8 @@ Patch3: 0003-Client-Don-t-send-fake-SurfaceCreated-Destroyed-even.patch
Patch4: 0004-Client-Make-handleUpdate-aware-of-exposure-changes.patch
# https://codereview.qt-project.org/c/qt/qtwayland/+/265997
Patch5: 0005-Client-Reset-frame-callback-timer-when-hiding-a-wind.patch
# PATCH-FIX-UPSTREAM
Patch6: 0001-Fix-use-of-private-dependency.patch
# PATCH-FIX-OPENSUSE
Patch100: workaround-null-object.patch
BuildRequires: fdupes