diff options
Diffstat (limited to 'dev-qt/qtwayland')
6 files changed, 0 insertions, 402 deletions
diff --git a/dev-qt/qtwayland/Manifest b/dev-qt/qtwayland/Manifest index b2bce77eea50..1f0b11a3bcb1 100644 --- a/dev-qt/qtwayland/Manifest +++ b/dev-qt/qtwayland/Manifest @@ -1,11 +1,5 @@ -AUX qtwayland-5.12.4-client-make-handleupdate-aware-of-exposure-changes.patch 2537 BLAKE2B 7301dd0fa703cfcf49f991cbba80b87e7f90019a9ab2aaebfcf8e5f2314c54e32a1276692fcf97b139d0f5b44dc154bc2a46da12722c368208eaeeac7947675e SHA512 ff806e17083e12f585bb83a63717a547ac8a5c546c67a94579726cc32c28a123f6e739eb435895d49b6bdcbb9021989523a64aa30685b5ef605a095d82b02e26 -AUX qtwayland-5.12.4-client-no-fake-surfacecreated-destroyed-events.patch 3715 BLAKE2B 5da05822d6601f5abb660e0c6b94e92a9cdbedf8fdff91be4b7f8c65402aef3b375c72c915864c22d80008d005f2d472ea0ec73c593d67b2c19b4df8d8d03264 SHA512 3b037825ac73499bbdcb09e85e2a23aae4fa8dd41a1bd5b737004e44a4257a6fdc49f80a52ef162fbd1696d109bb4882aaa7c3fd3ac9092f9a3c6b4bcec80e61 -AUX qtwayland-5.12.4-client-reset-frame-callback-timer-when-window-hiding.patch 1344 BLAKE2B 50cfe27837a7a37463f0d2b8bd42392b447074f68b338e2d8e9042a0621da8dcbf9f3878b368cbdd40aa67d7a3307733b7d7d777110494c979d5aa61f5f2383a SHA512 4d1631a3a9ebc32e079e777fb467f65836a108795db766e8c0ca5437a76518b1db14801f2489359187a363e70996728da6ad213c270fb3eb8fc9ee955bef98fd -AUX qtwayland-5.12.4-fix-stuttering-when-gui-thread-busy.patch 5579 BLAKE2B 70113b9f5e9d8bbd0920f1222cd741d906c86f007a6cf3a1c26dcace2f3d277988969fc3e9375271b9b0be340e19e085e5a7210ae92354f185464a82f0b72433 SHA512 4aecb65f51c3c30a3acb92ff3284fe33f1cb73f53130eef1dfe530f152776e873fb4833b950868ad4c7366d2cf22c5fb8d4f7b551925f1cd114f5ad9b44cf19c DIST qtwayland-everywhere-src-5.12.3.tar.xz 432304 BLAKE2B eb2ba520c651467c8ed5f0d870a69c9b07047cb4c05a0c889b36abeab30149861b83ca693efb0bb93dce4f5da5913afc3c8b61933ef0e8307d22b64fce530d87 SHA512 e66f9f41c15cf84165e559a1ff09e20ec21bb3f909b57fab08b0e3f8f9eeacf75d49541b499b1a6514a34d1ba5dd426ec1ce77719910588afa12cb3a7980dc90 -DIST qtwayland-everywhere-src-5.12.4.tar.xz 434076 BLAKE2B f034080ec3ad8281c10edcdaa56bf2bcac2ea0002bb2b4780fce40cc28bcf30db713c736916f3382aa7ad0418f5ac424064d675c7001968378487d9cb40c619f SHA512 f3fd6644d7fa21ef042ecda807f6ede7853944de8908f8d390f0ebec258406ff4a4f3bfbb382b57a7a4684e19906b79b43c920f55c5fda75bacfc9a96fafa301 DIST qtwayland-everywhere-src-5.12.5.tar.xz 448064 BLAKE2B e9ec631d1ec0f19cc5ef9f3c9e9e12d327da8ad896e40bb172b98191947ff20ba33b0fc747a9009d4d9147dd1cdea2d5376a12f25362bfa499eca6d0c838f2d2 SHA512 19e19b3d6226839856f8e8792665eda1f09f0bbf95a38077bdf2831205ee09254c8df6a521ba3f5a228bcd98c4d1929a2bd9e9aa2f6f14c218d4d7458d1a866c EBUILD qtwayland-5.12.3.ebuild 1137 BLAKE2B 91803151e658e54b23668c5ae4d387a2510d26ae42fb204cd6b5e3fc9649293ea90da44cb4243c0df686d42ba29f5b4875b9c2fc193e87a3e53f9bb1d5373996 SHA512 83d2ae87f67d4937bfbe1d24ac621afe0134c307479660e35aa4a4195b8879b6e891432c7e4a93e8822ea7b44c7a024c6cf38504526dba3ed9d4bcaa33b2ac48 -EBUILD qtwayland-5.12.4-r1.ebuild 1446 BLAKE2B 1b10ce32f1b410c1864d06f0e7fb91d16d65882d7a0241442e6e9610a09cf28660439603062de5a221554970f14f60e8b995e205f8c53d0627041b828221ae05 SHA512 e0e8797eda3ddac09fe0b42560291a72f2c782ccbd720daa9c0e3eaaaace78521d664758b32b1a804319f5b4cb61ad07b786bf211fcf9ff7151e85242afbda74 EBUILD qtwayland-5.12.5.ebuild 1142 BLAKE2B c8c396f29cddee68c7612898769452304f3887c2c8d6037a321156fcf145c9d179eb5fc15bcb0012454a2235cfded99f0fb00ede1b8436ce699c692924b280af SHA512 26335eab9d60c8612d79d4462f3512e9b98607b756be06130fbd9d6c0b3eddb46372bc50fe410f5354d205ca33b73a5b12b1a186f8d1b03960adf1a1a3f02c1e MISC metadata.xml 593 BLAKE2B a6af5855403e860ee4a4900cef3019fea4552e8c9edc02ada1de5edc467ae9a8f9d86aff6bc656c4154ddb8018c8c8599b75f92d7b766c48e05e56e37999a009 SHA512 2603bc1d30993bf0d0b94784c7dca7c2cd2d15ff5fce4ca4bbdad4b2dc65a8ab7b7bb8cf207649ca4717ca6e4caaa8c75e079db81f0598511a1355c0f325a00d diff --git a/dev-qt/qtwayland/files/qtwayland-5.12.4-client-make-handleupdate-aware-of-exposure-changes.patch b/dev-qt/qtwayland/files/qtwayland-5.12.4-client-make-handleupdate-aware-of-exposure-changes.patch deleted file mode 100644 index 6aacad2a942e..000000000000 --- a/dev-qt/qtwayland/files/qtwayland-5.12.4-client-make-handleupdate-aware-of-exposure-changes.patch +++ /dev/null @@ -1,82 +0,0 @@ -From b13b595dc4f4fe6bdca7b69a21fd934ee233e149 Mon Sep 17 00:00:00 2001 -From: David Edmundson <davidedmundson@kde.org> -Date: Sun, 23 Jun 2019 14:48:30 +0200 -Subject: [PATCH] Client: Make handleUpdate aware of exposure changes - -The wl_surface can be destroyed whilst a render is happening. Calling -wl_surface::frame after the window is reset can crash as wl_surface is -null. - -Change-Id: I139a9b234cb6acba81d6c1d5fa58629904a25053 ---- - src/client/qwaylandwindow.cpp | 10 +++++++++- - src/client/qwaylandwindow_p.h | 4 ++++ - 2 files changed, 13 insertions(+), 1 deletion(-) - -diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp -index 5ea0dce1e..7e7a4929c 100644 ---- a/src/client/qwaylandwindow.cpp -+++ b/src/client/qwaylandwindow.cpp -@@ -79,6 +79,8 @@ Q_LOGGING_CATEGORY(lcWaylandBackingstore, "qt.qpa.wayland.backingstore") - - QWaylandWindow *QWaylandWindow::mMouseGrab = nullptr; - -+QReadWriteLock mSurfaceLock; -+ - QWaylandWindow::QWaylandWindow(QWindow *window) - : QPlatformWindow(window) - , mDisplay(waylandScreen()->display()) -@@ -210,6 +212,7 @@ void QWaylandWindow::initWindow() - - void QWaylandWindow::initializeWlSurface() - { -+ QWriteLocker lock(&mSurfaceLock); - init(mDisplay->createSurface(static_cast<QtWayland::wl_surface *>(this))); - } - -@@ -245,8 +248,10 @@ void QWaylandWindow::reset(bool sendDestroyEvent) - mShellSurface = nullptr; - delete mSubSurfaceWindow; - mSubSurfaceWindow = nullptr; -- if (isInitialized()) -+ if (isInitialized()) { -+ QWriteLocker lock(&mSurfaceLock); - destroy(); -+ } - mScreens.clear(); - - if (mFrameCallback) { -@@ -1145,6 +1150,9 @@ void QWaylandWindow::requestUpdate() - void QWaylandWindow::handleUpdate() - { - // TODO: Should sync subsurfaces avoid requesting frame callbacks? -+ QReadLocker lock(&mSurfaceLock); -+ if (!isInitialized()) -+ return; - - if (mFrameCallback) { - wl_callback_destroy(mFrameCallback); -diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h -index e8c9d5684..d3706442f 100644 ---- a/src/client/qwaylandwindow_p.h -+++ b/src/client/qwaylandwindow_p.h -@@ -53,6 +53,8 @@ - - #include <QtCore/QWaitCondition> - #include <QtCore/QMutex> -+#include <QtCore/QReadWriteLock> -+ - #include <QtGui/QIcon> - #include <QtCore/QVariant> - #include <QtCore/QLoggingCategory> -@@ -271,6 +273,8 @@ private: - static QMutex mFrameSyncMutex; - static QWaylandWindow *mMouseGrab; - -+ QReadWriteLock mSurfaceLock; -+ - friend class QWaylandSubSurface; - }; - --- -2.16.3 diff --git a/dev-qt/qtwayland/files/qtwayland-5.12.4-client-no-fake-surfacecreated-destroyed-events.patch b/dev-qt/qtwayland/files/qtwayland-5.12.4-client-no-fake-surfacecreated-destroyed-events.patch deleted file mode 100644 index c358e0f72de0..000000000000 --- a/dev-qt/qtwayland/files/qtwayland-5.12.4-client-no-fake-surfacecreated-destroyed-events.patch +++ /dev/null @@ -1,92 +0,0 @@ -From e6edc73942a76e57e7ac745217092333480f2c64 Mon Sep 17 00:00:00 2001 -From: David Edmundson <davidedmundson@kde.org> -Date: Sun, 23 Jun 2019 15:09:51 +0200 -Subject: [PATCH] Client: Don't send fake SurfaceCreated/Destroyed events - -QPlatformSurface relates to the backing store. Not the wl_surface. -They are emitted by QPlatformWindow. - -Due to a previously incorrect usage by KDE developers it was faked to -emit the events when the wl_surface is created/hidden to keep behavior. - -With QtBase a9246c7132a2c8864d3ae6cebd260bb9ee711fcb this now causes an -issue as now QWidgets react to this event in a breaking way. - -Change-Id: I2f003bc9da85f032a0053677fd281152099fc9eb ---- - .../wayland/custom-extension/client-common/customextension.cpp | 9 +++++++-- - src/client/qwaylandwindow.cpp | 10 ++-------- - src/client/qwaylandwindow_p.h | 2 +- - 3 files changed, 10 insertions(+), 11 deletions(-) - -diff --git a/examples/wayland/custom-extension/client-common/customextension.cpp b/examples/wayland/custom-extension/client-common/customextension.cpp -index aa0cb58a4..16f18fd7a 100644 ---- a/examples/wayland/custom-extension/client-common/customextension.cpp -+++ b/examples/wayland/custom-extension/client-common/customextension.cpp -@@ -81,8 +81,13 @@ QWindow *CustomExtension::windowForSurface(struct ::wl_surface *surface) - - bool CustomExtension::eventFilter(QObject *object, QEvent *event) - { -- if (event->type() == QEvent::PlatformSurface -- && static_cast<QPlatformSurfaceEvent*>(event)->surfaceEventType() == QPlatformSurfaceEvent::SurfaceCreated) { -+ if (event->type() == QEvent::Expose) { -+ auto ee = static_cast<QExposeEvent*>(event); -+ -+ if ((ee->region().isNull())) { -+ return false; -+ } -+ - QWindow *window = qobject_cast<QWindow*>(object); - Q_ASSERT(window); - window->removeEventFilter(this); -diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp -index ca7c8495c..a6331621d 100644 ---- a/src/client/qwaylandwindow.cpp -+++ b/src/client/qwaylandwindow.cpp -@@ -93,7 +93,7 @@ QWaylandWindow::~QWaylandWindow() - delete mWindowDecoration; - - if (isInitialized()) -- reset(false); -+ reset(); - - const QWindow *parent = window(); - foreach (QWindow *w, QGuiApplication::topLevelWindows()) { -@@ -119,8 +119,6 @@ void QWaylandWindow::initWindow() - - if (!isInitialized()) { - initializeWlSurface(); -- QPlatformSurfaceEvent e(QPlatformSurfaceEvent::SurfaceCreated); -- QGuiApplication::sendEvent(window(), &e); - } - - if (shouldCreateSubSurface()) { -@@ -227,12 +225,8 @@ bool QWaylandWindow::shouldCreateSubSurface() const - return QPlatformWindow::parent() != nullptr; - } - --void QWaylandWindow::reset(bool sendDestroyEvent) -+void QWaylandWindow::reset() - { -- if (isInitialized() && sendDestroyEvent) { -- QPlatformSurfaceEvent e(QPlatformSurfaceEvent::SurfaceAboutToBeDestroyed); -- QGuiApplication::sendEvent(window(), &e); -- } - delete mShellSurface; - mShellSurface = nullptr; - delete mSubSurfaceWindow; -diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h -index 121ad8219..ba69fd9dc 100644 ---- a/src/client/qwaylandwindow_p.h -+++ b/src/client/qwaylandwindow_p.h -@@ -263,7 +263,7 @@ private: - void initializeWlSurface(); - bool shouldCreateShellSurface() const; - bool shouldCreateSubSurface() const; -- void reset(bool sendDestroyEvent = true); -+ void reset(); - void sendExposeEvent(const QRect &rect); - static void closePopups(QWaylandWindow *parent); - QWaylandScreen *calculateScreenFromSurfaceEvents() const; --- -2.16.3 diff --git a/dev-qt/qtwayland/files/qtwayland-5.12.4-client-reset-frame-callback-timer-when-window-hiding.patch b/dev-qt/qtwayland/files/qtwayland-5.12.4-client-reset-frame-callback-timer-when-window-hiding.patch deleted file mode 100644 index 8d4378243412..000000000000 --- a/dev-qt/qtwayland/files/qtwayland-5.12.4-client-reset-frame-callback-timer-when-window-hiding.patch +++ /dev/null @@ -1,39 +0,0 @@ -From a4e6f88f50d1a1dd56df77ce8b07b98aceb20ddc Mon Sep 17 00:00:00 2001 -From: David Edmundson <davidedmundson@kde.org> -Date: Sun, 23 Jun 2019 13:25:16 +0200 -Subject: [PATCH] Client: Reset frame callback timer when hiding a window - -If we hide a window whilst a compositor has a pending frame to show, -it's possible the compositor will not render the frame and not return -the callback. - -If this happens on the next window expose we can be left with -mFrameCallbackTimedOut still true causing isExposed() to remain false -and us to not send the next buffer when we later show the window again. - -Change-Id: I507410415d1a930fd5fa736412055e68fdf6c1d3 -Reviewed-by: Johan Helsing <johan.helsing@qt.io> ---- - src/client/qwaylandwindow.cpp | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp -index 7c8ecadaa..2b243bc44 100644 ---- a/src/client/qwaylandwindow.cpp -+++ b/src/client/qwaylandwindow.cpp -@@ -254,6 +254,13 @@ void QWaylandWindow::reset(bool sendDestroyEvent) - mFrameCallback = nullptr; - } - -+ int timerId = mFrameCallbackTimerId.fetchAndStoreOrdered(-1); -+ if (timerId != -1) { -+ killTimer(timerId); -+ } -+ mWaitingForFrameCallback = false; -+ mFrameCallbackTimedOut = false; -+ - mMask = QRegion(); - mQueuedBuffer = nullptr; - } --- -2.16.3 diff --git a/dev-qt/qtwayland/files/qtwayland-5.12.4-fix-stuttering-when-gui-thread-busy.patch b/dev-qt/qtwayland/files/qtwayland-5.12.4-fix-stuttering-when-gui-thread-busy.patch deleted file mode 100644 index 794fb1275298..000000000000 --- a/dev-qt/qtwayland/files/qtwayland-5.12.4-fix-stuttering-when-gui-thread-busy.patch +++ /dev/null @@ -1,133 +0,0 @@ -From ec9057081f1094fbfeb11449bc533997731e4079 Mon Sep 17 00:00:00 2001 -From: Johan Klokkhammer Helsing <johan.helsing@qt.io> -Date: Wed, 19 Jun 2019 14:05:22 +0200 -Subject: [PATCH] Client: Fix stuttering when the GUI thread is busy - -When we did invokeMethod for handling the frame callbacks, we had to wait for -the GUI thread to finish whatever it's doing before we would stop blocking. - -Fix it by clearing the frame callback timer and stop blocking immediately, -while delaying the rest of the work until it can be run on the other thread. - -Fixes: QTBUG-76397 -Change-Id: I343e4feac4838926b4fa2ccac2948988bc6c3bb7 -Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> ---- - src/client/qwaylandwindow.cpp | 59 +++++++++++++++++++++++-------------------- - src/client/qwaylandwindow_p.h | 2 +- - 2 files changed, 32 insertions(+), 29 deletions(-) - -diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp -index cecdbda92..7c8ecadaa 100644 ---- a/src/client/qwaylandwindow.cpp -+++ b/src/client/qwaylandwindow.cpp -@@ -610,29 +610,34 @@ const wl_callback_listener QWaylandWindow::callbackListener = { - Q_UNUSED(callback); - Q_UNUSED(time); - auto *window = static_cast<QWaylandWindow*>(data); -- if (window->thread() != QThread::currentThread()) -- QMetaObject::invokeMethod(window, [=] { window->handleFrameCallback(); }, Qt::QueuedConnection); -- else -- window->handleFrameCallback(); -+ window->handleFrameCallback(); - } - }; - - void QWaylandWindow::handleFrameCallback() - { -- bool wasExposed = isExposed(); -+ // Stop the timer and stop waiting immediately -+ int timerId = mFrameCallbackTimerId.fetchAndStoreOrdered(-1); -+ mWaitingForFrameCallback = false; - -- if (mFrameCallbackTimerId != -1) { -- killTimer(mFrameCallbackTimerId); -- mFrameCallbackTimerId = -1; -- } -+ // The rest can wait until we can run it on the correct thread -+ auto doHandleExpose = [this, timerId]() { -+ if (timerId != -1) -+ killTimer(timerId); - -- mWaitingForFrameCallback = false; -- mFrameCallbackTimedOut = false; -+ bool wasExposed = isExposed(); -+ mFrameCallbackTimedOut = false; -+ if (!wasExposed && isExposed()) // Did setting mFrameCallbackTimedOut make the window exposed? -+ sendExposeEvent(QRect(QPoint(), geometry().size())); -+ if (wasExposed && hasPendingUpdateRequest()) -+ deliverUpdateRequest(); -+ }; - -- if (!wasExposed && isExposed()) -- sendExposeEvent(QRect(QPoint(), geometry().size())); -- if (wasExposed && hasPendingUpdateRequest()) -- deliverUpdateRequest(); -+ if (thread() != QThread::currentThread()) { -+ QMetaObject::invokeMethod(this, doHandleExpose); -+ } else { -+ doHandleExpose(); -+ } - } - - QMutex QWaylandWindow::mFrameSyncMutex; -@@ -654,11 +659,11 @@ bool QWaylandWindow::waitForFrameSync(int timeout) - } - - // Stop current frame timer if any, can't use killTimer directly, because we might be on a diffent thread -- if (mFrameCallbackTimerId != -1) { -- int id = mFrameCallbackTimerId; -- mFrameCallbackTimerId = -1; -- QMetaObject::invokeMethod(this, [=] { killTimer(id); }, Qt::QueuedConnection); -- } -+ // Ordered semantics is needed to avoid stopping the timer twice and not miss it when it's -+ // started by other writes -+ int fcbId = mFrameCallbackTimerId.fetchAndStoreOrdered(-1); -+ if (fcbId != -1) -+ QMetaObject::invokeMethod(this, [=] { killTimer(fcbId); }, Qt::QueuedConnection); - - return !mWaitingForFrameCallback; - } -@@ -1090,9 +1095,9 @@ void QWaylandWindow::timerEvent(QTimerEvent *event) - } - } - -- if (event->timerId() == mFrameCallbackTimerId) { -- killTimer(mFrameCallbackTimerId); -- mFrameCallbackTimerId = -1; -+ -+ if (mFrameCallbackTimerId.testAndSetOrdered(event->timerId(), -1)) { -+ killTimer(event->timerId()); - qCDebug(lcWaylandBackingstore) << "Didn't receive frame callback in time, window should now be inexposed"; - mFrameCallbackTimedOut = true; - mWaitingForUpdate = false; -@@ -1154,11 +1159,9 @@ void QWaylandWindow::handleUpdate() - mWaitingForUpdate = false; - - // Stop current frame timer if any, can't use killTimer directly, see comment above. -- if (mFrameCallbackTimerId != -1) { -- int id = mFrameCallbackTimerId; -- mFrameCallbackTimerId = -1; -- QMetaObject::invokeMethod(this, [=] { killTimer(id); }, Qt::QueuedConnection); -- } -+ int fcbId = mFrameCallbackTimerId.fetchAndStoreOrdered(-1); -+ if (fcbId != -1) -+ QMetaObject::invokeMethod(this, [=] { killTimer(fcbId); }, Qt::QueuedConnection); - - // Start a timer for handling the case when the compositor stops sending frame callbacks. - QMetaObject::invokeMethod(this, [=] { // Again; can't do it directly -diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h -index c47123dc9..e8c9d5684 100644 ---- a/src/client/qwaylandwindow_p.h -+++ b/src/client/qwaylandwindow_p.h -@@ -216,7 +216,7 @@ protected: - WId mWindowId; - bool mWaitingForFrameCallback = false; - bool mFrameCallbackTimedOut = false; // Whether the frame callback has timed out -- int mFrameCallbackTimerId = -1; // Started on commit, reset on frame callback -+ QAtomicInt mFrameCallbackTimerId = -1; // Started on commit, reset on frame callback - struct ::wl_callback *mFrameCallback = nullptr; - struct ::wl_event_queue *mFrameQueue = nullptr; - QWaitCondition mFrameSyncWait; --- -2.16.3 diff --git a/dev-qt/qtwayland/qtwayland-5.12.4-r1.ebuild b/dev-qt/qtwayland/qtwayland-5.12.4-r1.ebuild deleted file mode 100644 index 6bc4d61f2112..000000000000 --- a/dev-qt/qtwayland/qtwayland-5.12.4-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit qt5-build - -DESCRIPTION="Wayland platform plugin for Qt" - -if [[ ${QT5_BUILD_TYPE} == release ]]; then - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" -fi - -IUSE="+libinput xcomposite" - -DEPEND=" - >=dev-libs/wayland-1.6.0 - ~dev-qt/qtcore-${PV} - ~dev-qt/qtdeclarative-${PV} - ~dev-qt/qtgui-${PV}[egl,libinput=] - media-libs/mesa[egl] - >=x11-libs/libxkbcommon-0.2.0 - xcomposite? ( - x11-libs/libX11 - x11-libs/libXcomposite - ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-client-no-fake-surfacecreated-destroyed-events.patch - "${FILESDIR}"/${P}-fix-stuttering-when-gui-thread-busy.patch - "${FILESDIR}"/${P}-client-reset-frame-callback-timer-when-window-hiding.patch - "${FILESDIR}"/${P}-client-make-handleupdate-aware-of-exposure-changes.patch -) - -src_prepare() { - qt_use_disable_config libinput xkbcommon-evdev \ - src/client/client.pro \ - src/compositor/wayland_wrapper/wayland_wrapper.pri \ - src/plugins/shellintegration/ivi-shell/ivi-shell.pro \ - src/plugins/shellintegration/wl-shell/wl-shell.pro \ - src/plugins/shellintegration/xdg-shell/xdg-shell.pro \ - src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro \ - src/plugins/shellintegration/xdg-shell-v6/xdg-shell-v6.pro \ - tests/auto/compositor/compositor/compositor.pro - - use xcomposite || rm -r config.tests/xcomposite || die - - qt5-build_src_prepare -} |