qt6 new package
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import qt6
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
qt6.configure()
|
||||
|
||||
def build():
|
||||
qt6.make()
|
||||
|
||||
def install():
|
||||
qt6.install()
|
||||
|
||||
#I hope qtchooser will manage this issue
|
||||
for bin in shelltools.ls("%s/usr/lib/qt6/bin" % get.installDIR()):
|
||||
pisitools.dosym("/usr/lib/qt6/bin/%s" % bin, "/usr/bin/%s-qt6" % bin)
|
||||
|
||||
pisitools.dodoc("LICENSES/*")
|
||||
@@ -0,0 +1,122 @@
|
||||
From 36974955d13578071387695adb13a47be33e4d32 Mon Sep 17 00:00:00 2001
|
||||
From: David Edmundson <davidedmundson@kde.org>
|
||||
Date: Thu, 28 Nov 2019 02:31:17 +0100
|
||||
Subject: Avoid animating single frame cursors
|
||||
|
||||
Currently to determine if a cursor is animated or not we check the
|
||||
cursor theme delay.
|
||||
|
||||
This doesn't work in practice as by default many cursor themes have a
|
||||
delay of 50 set even if they don't animate.
|
||||
|
||||
This comes from xcursorgen which specifies a delay of 50ms if there
|
||||
isn't anything set in the config.
|
||||
(https://github.com/freedesktop/xcursorgen/blob/master/xcursorgen.c#L92)
|
||||
|
||||
Given many themes will have a delay we should also check the number of
|
||||
images in a given cursor.
|
||||
|
||||
In order to do that without a double lookup QWaylandCursor needed to
|
||||
return the native wl_cursor, not wl_cursor_image and move the relevant
|
||||
logic.
|
||||
|
||||
Change-Id: Ie782ace8054910ae76e61cab33ceca0377194929
|
||||
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
||||
---
|
||||
src/client/qwaylandcursor.cpp | 12 ++----------
|
||||
src/client/qwaylandcursor_p.h | 3 +--
|
||||
src/client/qwaylandinputdevice.cpp | 16 ++++++++++++----
|
||||
3 files changed, 15 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/src/client/qwaylandcursor.cpp b/src/client/qwaylandcursor.cpp
|
||||
index 4356b23a..1d3d88be 100644
|
||||
--- a/src/client/qwaylandcursor.cpp
|
||||
+++ b/src/client/qwaylandcursor.cpp
|
||||
@@ -219,7 +219,7 @@ wl_cursor *QWaylandCursorTheme::requestCursor(WaylandCursor shape)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
-::wl_cursor_image *QWaylandCursorTheme::cursorImage(Qt::CursorShape shape, uint millisecondsIntoAnimation)
|
||||
+::wl_cursor *QWaylandCursorTheme::cursor(Qt::CursorShape shape)
|
||||
{
|
||||
struct wl_cursor *waylandCursor = nullptr;
|
||||
|
||||
@@ -237,15 +237,7 @@ wl_cursor *QWaylandCursorTheme::requestCursor(WaylandCursor shape)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
- int frame = wl_cursor_frame(waylandCursor, millisecondsIntoAnimation);
|
||||
- ::wl_cursor_image *image = waylandCursor->images[frame];
|
||||
- ::wl_buffer *buffer = wl_cursor_image_get_buffer(image);
|
||||
- if (!buffer) {
|
||||
- qCWarning(lcQpaWayland) << "Could not find buffer for cursor";
|
||||
- return nullptr;
|
||||
- }
|
||||
-
|
||||
- return image;
|
||||
+ return waylandCursor;
|
||||
}
|
||||
|
||||
QWaylandCursor::QWaylandCursor(QWaylandDisplay *display)
|
||||
diff --git a/src/client/qwaylandcursor_p.h b/src/client/qwaylandcursor_p.h
|
||||
index a4605f3d..751ffa68 100644
|
||||
--- a/src/client/qwaylandcursor_p.h
|
||||
+++ b/src/client/qwaylandcursor_p.h
|
||||
@@ -75,7 +75,7 @@ class Q_WAYLAND_CLIENT_EXPORT QWaylandCursorTheme
|
||||
public:
|
||||
static QWaylandCursorTheme *create(QWaylandShm *shm, int size, const QString &themeName);
|
||||
~QWaylandCursorTheme();
|
||||
- ::wl_cursor_image *cursorImage(Qt::CursorShape shape, uint millisecondsIntoAnimation = 0);
|
||||
+ ::wl_cursor *cursor(Qt::CursorShape shape);
|
||||
|
||||
private:
|
||||
enum WaylandCursor {
|
||||
@@ -129,7 +129,6 @@ public:
|
||||
void setPos(const QPoint &pos) override;
|
||||
|
||||
static QSharedPointer<QWaylandBuffer> cursorBitmapBuffer(QWaylandDisplay *display, const QCursor *cursor);
|
||||
- struct wl_cursor_image *cursorImage(Qt::CursorShape shape);
|
||||
|
||||
private:
|
||||
QWaylandDisplay *mDisplay = nullptr;
|
||||
diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp
|
||||
index a4098edd..d812918e 100644
|
||||
--- a/src/client/qwaylandinputdevice.cpp
|
||||
+++ b/src/client/qwaylandinputdevice.cpp
|
||||
@@ -283,8 +283,8 @@ void QWaylandInputDevice::Pointer::updateCursorTheme()
|
||||
if (!mCursor.theme)
|
||||
return; // A warning has already been printed in loadCursorTheme
|
||||
|
||||
- if (auto *arrow = mCursor.theme->cursorImage(Qt::ArrowCursor)) {
|
||||
- int arrowPixelSize = qMax(arrow->width, arrow->height); // Not all cursor themes are square
|
||||
+ if (auto *arrow = mCursor.theme->cursor(Qt::ArrowCursor)) {
|
||||
+ int arrowPixelSize = qMax(arrow->images[0]->width, arrow->images[0]->height); // Not all cursor themes are square
|
||||
while (scale > 1 && arrowPixelSize / scale < cursorSize())
|
||||
--scale;
|
||||
} else {
|
||||
@@ -326,12 +326,20 @@ void QWaylandInputDevice::Pointer::updateCursor()
|
||||
|
||||
// Set from shape using theme
|
||||
uint time = seat()->mCursor.animationTimer.elapsed();
|
||||
- if (struct ::wl_cursor_image *image = mCursor.theme->cursorImage(shape, time)) {
|
||||
+
|
||||
+ if (struct ::wl_cursor *waylandCursor = mCursor.theme->cursor(shape)) {
|
||||
+ int frame = wl_cursor_frame(waylandCursor, time);
|
||||
+ ::wl_cursor_image *image = waylandCursor->images[frame];
|
||||
+
|
||||
struct wl_buffer *buffer = wl_cursor_image_get_buffer(image);
|
||||
+ if (!buffer) {
|
||||
+ qCWarning(lcQpaWayland) << "Could not find buffer for cursor" << shape;
|
||||
+ return;
|
||||
+ }
|
||||
int bufferScale = mCursor.themeBufferScale;
|
||||
QPoint hotspot = QPoint(image->hotspot_x, image->hotspot_y) / bufferScale;
|
||||
QSize size = QSize(image->width, image->height) / bufferScale;
|
||||
- bool animated = image->delay > 0;
|
||||
+ bool animated = waylandCursor->image_count > 1 && image->delay > 0;
|
||||
getOrCreateCursorSurface()->update(buffer, hotspot, size, bufferScale, animated);
|
||||
return;
|
||||
}
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
From ce15889614f87b5986f997beffd2826471adfe51 Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Fri, 13 Dec 2019 22:15:32 +0100
|
||||
Subject: Drive cursor animation with a timer
|
||||
|
||||
Using only wl_surface_frame callbacks to update the cursor does so much
|
||||
more often than needed. In addition, at least GNOME and Weston fire the
|
||||
callback for the cursor surface immediately, which ends up updating the
|
||||
cursor at over 3000 Hz here.
|
||||
|
||||
Use wl_cursor_frame_and_duration to drive a single shot timer. This
|
||||
function is also guaranteed to return 0 for single frame cursors, so we
|
||||
can avoid starting the timer at all.
|
||||
|
||||
We wait for both the surface frame callback and the timer to fire before
|
||||
updating the cursor for the next frame of animation. This reduces our
|
||||
update rate to the frame rate of the cursor or the rate requested by the
|
||||
compositor, whichever is lower.
|
||||
|
||||
Change-Id: I10277460ebe9b547ebaf7f73424b9ef17614107f
|
||||
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
||||
---
|
||||
src/client/qwaylandinputdevice.cpp | 34 +++++++++++++++++++++++++++++++---
|
||||
src/client/qwaylandinputdevice_p.h | 5 +++++
|
||||
2 files changed, 36 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp
|
||||
index 3b26dc42..3f0d61d6 100644
|
||||
--- a/src/client/qwaylandinputdevice.cpp
|
||||
+++ b/src/client/qwaylandinputdevice.cpp
|
||||
@@ -143,6 +143,12 @@ QWaylandWindow *QWaylandInputDevice::Keyboard::focusWindow() const
|
||||
QWaylandInputDevice::Pointer::Pointer(QWaylandInputDevice *seat)
|
||||
: mParent(seat)
|
||||
{
|
||||
+#if QT_CONFIG(cursor)
|
||||
+ mCursor.frameTimer.setSingleShot(true);
|
||||
+ mCursor.frameTimer.callOnTimeout([&]() {
|
||||
+ cursorTimerCallback();
|
||||
+ });
|
||||
+#endif
|
||||
}
|
||||
|
||||
QWaylandInputDevice::Pointer::~Pointer()
|
||||
@@ -224,7 +230,7 @@ public:
|
||||
if (animated) {
|
||||
m_frameCallback.reset(new WlCallback(frame(), [this](uint32_t time){
|
||||
Q_UNUSED(time);
|
||||
- m_pointer->updateCursor();
|
||||
+ m_pointer->cursorFrameCallback();
|
||||
}));
|
||||
}
|
||||
commit();
|
||||
@@ -328,7 +334,8 @@ void QWaylandInputDevice::Pointer::updateCursor()
|
||||
uint time = seat()->mCursor.animationTimer.elapsed();
|
||||
|
||||
if (struct ::wl_cursor *waylandCursor = mCursor.theme->cursor(shape)) {
|
||||
- int frame = wl_cursor_frame(waylandCursor, time);
|
||||
+ uint duration = 0;
|
||||
+ int frame = wl_cursor_frame_and_duration(waylandCursor, time, &duration);
|
||||
::wl_cursor_image *image = waylandCursor->images[frame];
|
||||
|
||||
struct wl_buffer *buffer = wl_cursor_image_get_buffer(image);
|
||||
@@ -339,7 +346,12 @@ void QWaylandInputDevice::Pointer::updateCursor()
|
||||
int bufferScale = mCursor.themeBufferScale;
|
||||
QPoint hotspot = QPoint(image->hotspot_x, image->hotspot_y) / bufferScale;
|
||||
QSize size = QSize(image->width, image->height) / bufferScale;
|
||||
- bool animated = waylandCursor->image_count > 1 && image->delay > 0;
|
||||
+ bool animated = duration > 0;
|
||||
+ if (animated) {
|
||||
+ mCursor.gotFrameCallback = false;
|
||||
+ mCursor.gotTimerCallback = false;
|
||||
+ mCursor.frameTimer.start(duration);
|
||||
+ }
|
||||
getOrCreateCursorSurface()->update(buffer, hotspot, size, bufferScale, animated);
|
||||
return;
|
||||
}
|
||||
@@ -354,6 +366,22 @@ CursorSurface *QWaylandInputDevice::Pointer::getOrCreateCursorSurface()
|
||||
return mCursor.surface.get();
|
||||
}
|
||||
|
||||
+void QWaylandInputDevice::Pointer::cursorTimerCallback()
|
||||
+{
|
||||
+ mCursor.gotTimerCallback = true;
|
||||
+ if (mCursor.gotFrameCallback) {
|
||||
+ updateCursor();
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+void QWaylandInputDevice::Pointer::cursorFrameCallback()
|
||||
+{
|
||||
+ mCursor.gotFrameCallback = true;
|
||||
+ if (mCursor.gotTimerCallback) {
|
||||
+ updateCursor();
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
#endif // QT_CONFIG(cursor)
|
||||
|
||||
QWaylandInputDevice::Touch::Touch(QWaylandInputDevice *p)
|
||||
diff --git a/src/client/qwaylandinputdevice_p.h b/src/client/qwaylandinputdevice_p.h
|
||||
index 60d6f2c1..a567c57b 100644
|
||||
--- a/src/client/qwaylandinputdevice_p.h
|
||||
+++ b/src/client/qwaylandinputdevice_p.h
|
||||
@@ -286,6 +286,8 @@ public:
|
||||
int idealCursorScale() const;
|
||||
void updateCursorTheme();
|
||||
void updateCursor();
|
||||
+ void cursorTimerCallback();
|
||||
+ void cursorFrameCallback();
|
||||
CursorSurface *getOrCreateCursorSurface();
|
||||
#endif
|
||||
QWaylandInputDevice *seat() const { return mParent; }
|
||||
@@ -325,6 +327,9 @@ public:
|
||||
QWaylandCursorTheme *theme = nullptr;
|
||||
int themeBufferScale = 0;
|
||||
QScopedPointer<CursorSurface> surface;
|
||||
+ QTimer frameTimer;
|
||||
+ bool gotFrameCallback = false;
|
||||
+ bool gotTimerCallback = false;
|
||||
} mCursor;
|
||||
#endif
|
||||
QPointF mSurfacePos;
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From c2105d8b7e16cc934b886537968228f6300bf4bc Mon Sep 17 00:00:00 2001
|
||||
From: Johan Klokkhammer Helsing <johan.helsing@qt.io>
|
||||
Date: Fri, 8 Nov 2019 13:58:04 +0100
|
||||
Subject: Fix compilation of linuxdmabuf compositor plugin
|
||||
|
||||
Mesa's eglext.h no longer includes eglmesaext.h, so copy over the typedefs we need.
|
||||
|
||||
Fixes: QTBUG-79709
|
||||
Change-Id: I3190ef56e0e162636efea440dff7e760cf11fcd0
|
||||
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
||||
---
|
||||
.../compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h b/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h
|
||||
index 8554721e..02b5b6f8 100644
|
||||
--- a/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h
|
||||
+++ b/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h
|
||||
@@ -58,6 +58,10 @@
|
||||
#define DRM_FORMAT_MOD_INVALID fourcc_mod_code(NONE, DRM_FORMAT_RESERVED)
|
||||
#endif
|
||||
|
||||
+// Copied from eglmesaext.h
|
||||
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
|
||||
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
|
||||
+
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QWaylandCompositor;
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From a2be69d47884dd995ac6e9004ba2855f354f7522 Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Sun, 15 Dec 2019 00:07:08 +0100
|
||||
Subject: Client: Fix detection of linux-dmabuf
|
||||
|
||||
Change I84c8c1008724b49b6bedb4fc3ef398e292f1c6c7 fixed the tests in
|
||||
compositor/configure.json but missed the test in client/configure.json.
|
||||
|
||||
Change-Id: I65ad424406438baa74ca80a9418e133510142118
|
||||
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
||||
---
|
||||
src/client/configure.json | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/client/configure.json b/src/client/configure.json
|
||||
index e9e16324..06213968 100644
|
||||
--- a/src/client/configure.json
|
||||
+++ b/src/client/configure.json
|
||||
@@ -74,7 +74,7 @@
|
||||
"label": "Linux dma-buf Buffer Sharing",
|
||||
"type": "compile",
|
||||
"test": "dmabuf_server_buffer",
|
||||
- "use": "egl"
|
||||
+ "use": "egl drm"
|
||||
},
|
||||
"vulkan-server-buffer": {
|
||||
"label": "Vulkan Buffer Sharing",
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
From 09861f0081e6729383808ac4803c7fd1f0ba6dd1 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Klokkhammer Helsing <johan.helsing@qt.io>
|
||||
Date: Fri, 15 Nov 2019 11:52:46 +0100
|
||||
Subject: Fix detection of linux-dmabuf
|
||||
|
||||
On some systems drm_fourcc.h is not in /usr/include, but in
|
||||
/usr/include/libdrm, and that path can be found through pkg-config. This is
|
||||
already done with the drm lib in qtbase/src/configure.json so this just tells
|
||||
the test (and the plugins) to use the include paths for the existing "drm" lib.
|
||||
|
||||
Fixes: QTBUG-80075
|
||||
Change-Id: I84c8c1008724b49b6bedb4fc3ef398e292f1c6c7
|
||||
Reviewed-by: Andreas Cord-Landwehr <cordlandwehr@kde.org>
|
||||
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
||||
---
|
||||
src/compositor/configure.json | 4 ++--
|
||||
src/hardwareintegration/compositor/dmabuf-server/dmabuf-server.pri | 2 +-
|
||||
.../compositor/linux-dmabuf-unstable-v1/linux-dmabuf-unstable-v1.pri | 2 +-
|
||||
3 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/compositor/configure.json b/src/compositor/configure.json
|
||||
index 46caceff..0dbb3364 100644
|
||||
--- a/src/compositor/configure.json
|
||||
+++ b/src/compositor/configure.json
|
||||
@@ -80,13 +80,13 @@
|
||||
"label": "Linux dma-buf Buffer Sharing",
|
||||
"type": "compile",
|
||||
"test": "dmabuf_server_buffer",
|
||||
- "use": "egl"
|
||||
+ "use": "egl drm"
|
||||
},
|
||||
"dmabuf-client-buffer": {
|
||||
"label": "Linux Client dma-buf Buffer Sharing",
|
||||
"type": "compile",
|
||||
"test": "dmabuf_client_buffer",
|
||||
- "use": "egl"
|
||||
+ "use": "egl drm"
|
||||
},
|
||||
"vulkan-server-buffer": {
|
||||
"label": "Vulkan Buffer Sharing",
|
||||
diff --git a/src/hardwareintegration/compositor/dmabuf-server/dmabuf-server.pri b/src/hardwareintegration/compositor/dmabuf-server/dmabuf-server.pri
|
||||
index 2df10109..41f483c4 100644
|
||||
--- a/src/hardwareintegration/compositor/dmabuf-server/dmabuf-server.pri
|
||||
+++ b/src/hardwareintegration/compositor/dmabuf-server/dmabuf-server.pri
|
||||
@@ -1,6 +1,6 @@
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
-QMAKE_USE_PRIVATE += egl wayland-server
|
||||
+QMAKE_USE_PRIVATE += egl drm wayland-server
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/dmabufserverbufferintegration.cpp
|
||||
diff --git a/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linux-dmabuf-unstable-v1.pri b/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linux-dmabuf-unstable-v1.pri
|
||||
index a7630040..4dbbae19 100644
|
||||
--- a/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linux-dmabuf-unstable-v1.pri
|
||||
+++ b/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linux-dmabuf-unstable-v1.pri
|
||||
@@ -1,6 +1,6 @@
|
||||
INCLUDEPATH += $$PWD
|
||||
|
||||
-QMAKE_USE_PRIVATE += egl wayland-server
|
||||
+QMAKE_USE_PRIVATE += egl drm wayland-server
|
||||
|
||||
CONFIG += wayland-scanner
|
||||
WAYLANDSERVERSOURCES += $$PWD/../../../3rdparty/protocol/linux-dmabuf-unstable-v1.xml
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
From fd9fec4fc7f43fb939e8e5a946c7858390bbd9d3 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Klokkhammer Helsing <johan.helsing@qt.io>
|
||||
Date: Thu, 8 Feb 2018 16:53:39 +0100
|
||||
Subject: [PATCH] Fix crash when connecting a new screen
|
||||
|
||||
In QWaylandWindow::virtualSiblings, don't include screens that have not been
|
||||
added yet. I.e. QWaylandScreens for which QPlatformIntegration::screenAdded has
|
||||
not yet been called.
|
||||
|
||||
There are two reasons why this crash wasn't covered by the
|
||||
removePrimaryScreen() test. First of all, the mock output didn't send
|
||||
wl_output.done events when updating the mode/geometry. These wayland events are
|
||||
what causes QWindowSystemInterface::handleScreenGeometryChange() to be called
|
||||
(where virtualSiblings are called).
|
||||
|
||||
Furthermore, virtualSiblings is only called when the geometry actually changes,
|
||||
so add a new test that changes the screen geometry of the existing screen while
|
||||
a new one is being added (i.e. moves it to the right).
|
||||
|
||||
Task-number: QTBUG-62044
|
||||
Change-Id: I623fbf8799d21c6b9293e7120ded301277639cc6
|
||||
Reviewed-by: David Edmundson <davidedmundson@kde.org>
|
||||
Reviewed-by: Aleix Pol
|
||||
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
||||
---
|
||||
src/client/qwaylandscreen.cpp | 6 ++++--
|
||||
tests/auto/client/client/tst_client.cpp | 25 +++++++++++++++++++++++++
|
||||
tests/auto/client/shared/mockcompositor.cpp | 8 ++++++++
|
||||
tests/auto/client/shared/mockcompositor.h | 2 ++
|
||||
tests/auto/client/shared/mockoutput.cpp | 27 +++++++++++++++++++++++++--
|
||||
tests/auto/client/shared/mockoutput.h | 1 +
|
||||
6 files changed, 65 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/client/qwaylandscreen.cpp b/src/client/qwaylandscreen.cpp
|
||||
index fba75557..1c9ce23b 100644
|
||||
--- a/src/client/qwaylandscreen.cpp
|
||||
+++ b/src/client/qwaylandscreen.cpp
|
||||
@@ -138,8 +138,10 @@ QList<QPlatformScreen *> QWaylandScreen::virtualSiblings() const
|
||||
QList<QPlatformScreen *> list;
|
||||
const QList<QWaylandScreen*> screens = mWaylandDisplay->screens();
|
||||
list.reserve(screens.count());
|
||||
- foreach (QWaylandScreen *screen, screens)
|
||||
- list << screen;
|
||||
+ for (QWaylandScreen *screen : qAsConst(screens)) {
|
||||
+ if (screen->screen())
|
||||
+ list << screen;
|
||||
+ }
|
||||
return list;
|
||||
}
|
||||
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
From e283cc059c83cbb4fe677beaca8aebb99156ccc5 Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Larrosa <alarrosa@suse.com>
|
||||
Date: Mon, 5 Mar 2018 13:56:15 +0100
|
||||
Subject: Test for null pointer before using it
|
||||
|
||||
Task-number: QTBUG-66867
|
||||
Change-Id: Ibbe407fa3ac32141b52fa0086e9f1ebfd27052ba
|
||||
Done-with: Fabian Vogt <fvogt@suse.de>
|
||||
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
|
||||
Reviewed-by: Jan Grulich <jgrulich@redhat.com>
|
||||
---
|
||||
src/client/qwaylandwindow.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
|
||||
index ecab8ffc..7d868b30 100644
|
||||
--- a/src/client/qwaylandwindow.cpp
|
||||
+++ b/src/client/qwaylandwindow.cpp
|
||||
@@ -785,7 +785,7 @@ static QWaylandWindow *closestShellSurfaceWindow(QWindow *window)
|
||||
{
|
||||
while (window) {
|
||||
auto w = static_cast<QWaylandWindow *>(window->handle());
|
||||
- if (w->shellSurface())
|
||||
+ if (w && w->shellSurface())
|
||||
return w;
|
||||
window = window->transientParent() ? window->transientParent() : window->parent();
|
||||
}
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
+91
@@ -0,0 +1,91 @@
|
||||
From 26a6372bb0c6528358e34f8175a14ff0be47fb12 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Klokkhammer Helsing <johan.helsing@qt.io>
|
||||
Date: Mon, 19 Mar 2018 10:21:47 +0100
|
||||
Subject: xdg-shell v5,v6 shell integrations: Fix crash when showing popups
|
||||
|
||||
If a popup was shown without any input events happening first, it would cause
|
||||
nullptr dereferences in both xdg-shell v5 and v6.
|
||||
|
||||
Fixes crashes in:
|
||||
|
||||
- tst_QAccessibility::comboBoxTest
|
||||
- tst_QAccessibility::menuTest
|
||||
- tst_QWindow::touchInterruptedByPopup
|
||||
- tst_QFocusEvent::checkReason_Popup
|
||||
|
||||
Task-number: QTBUG-67150
|
||||
Change-Id: Ib3e06326f71e4ab5f74727cb4f79626a21c34d55
|
||||
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
||||
---
|
||||
src/client/qwaylandxdgshell.cpp | 3 +--
|
||||
src/client/qwaylandxdgshell_p.h | 2 +-
|
||||
src/client/qwaylandxdgshellintegration.cpp | 5 +++--
|
||||
src/client/qwaylandxdgshellv6.cpp | 5 +++--
|
||||
4 files changed, 8 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/src/client/qwaylandxdgshell.cpp b/src/client/qwaylandxdgshell.cpp
|
||||
index 8b252b95..9a34e72d 100644
|
||||
--- a/src/client/qwaylandxdgshell.cpp
|
||||
+++ b/src/client/qwaylandxdgshell.cpp
|
||||
@@ -73,12 +73,11 @@ QWaylandXdgSurface *QWaylandXdgShell::createXdgSurface(QWaylandWindow *window)
|
||||
return new QWaylandXdgSurface(this, window);
|
||||
}
|
||||
|
||||
-QWaylandXdgPopup *QWaylandXdgShell::createXdgPopup(QWaylandWindow *window)
|
||||
+QWaylandXdgPopup *QWaylandXdgShell::createXdgPopup(QWaylandWindow *window, QWaylandInputDevice *inputDevice)
|
||||
{
|
||||
QWaylandWindow *parentWindow = m_popups.empty() ? window->transientParent() : m_popups.last();
|
||||
::wl_surface *parentSurface = parentWindow->object();
|
||||
|
||||
- QWaylandInputDevice *inputDevice = window->display()->lastInputDevice();
|
||||
if (m_popupSerial == 0)
|
||||
m_popupSerial = inputDevice->serial();
|
||||
::wl_seat *seat = inputDevice->wl_seat();
|
||||
diff --git a/src/client/qwaylandxdgshell_p.h b/src/client/qwaylandxdgshell_p.h
|
||||
index afbd9c59..761f2521 100644
|
||||
--- a/src/client/qwaylandxdgshell_p.h
|
||||
+++ b/src/client/qwaylandxdgshell_p.h
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
~QWaylandXdgShell() override;
|
||||
|
||||
QWaylandXdgSurface *createXdgSurface(QWaylandWindow *window);
|
||||
- QWaylandXdgPopup *createXdgPopup(QWaylandWindow *window);
|
||||
+ QWaylandXdgPopup *createXdgPopup(QWaylandWindow *window, QWaylandInputDevice *inputDevice);
|
||||
|
||||
private:
|
||||
void xdg_shell_ping(uint32_t serial) override;
|
||||
diff --git a/src/client/qwaylandxdgshellintegration.cpp b/src/client/qwaylandxdgshellintegration.cpp
|
||||
index 5fa4385d..ee72c2d5 100644
|
||||
--- a/src/client/qwaylandxdgshellintegration.cpp
|
||||
+++ b/src/client/qwaylandxdgshellintegration.cpp
|
||||
@@ -74,8 +74,9 @@ bool QWaylandXdgShellIntegration::initialize(QWaylandDisplay *display)
|
||||
|
||||
QWaylandShellSurface *QWaylandXdgShellIntegration::createShellSurface(QWaylandWindow *window)
|
||||
{
|
||||
- if (window->window()->type() == Qt::WindowType::Popup)
|
||||
- return m_xdgShell->createXdgPopup(window);
|
||||
+ QWaylandInputDevice *inputDevice = window->display()->lastInputDevice();
|
||||
+ if (window->window()->type() == Qt::WindowType::Popup && inputDevice)
|
||||
+ return m_xdgShell->createXdgPopup(window, inputDevice);
|
||||
else
|
||||
return m_xdgShell->createXdgSurface(window);
|
||||
}
|
||||
diff --git a/src/client/qwaylandxdgshellv6.cpp b/src/client/qwaylandxdgshellv6.cpp
|
||||
index c89c8316..a166a3bc 100644
|
||||
--- a/src/client/qwaylandxdgshellv6.cpp
|
||||
+++ b/src/client/qwaylandxdgshellv6.cpp
|
||||
@@ -165,8 +165,9 @@ void QWaylandXdgSurfaceV6::setAppId(const QString &appId)
|
||||
|
||||
void QWaylandXdgSurfaceV6::setType(Qt::WindowType type, QWaylandWindow *transientParent)
|
||||
{
|
||||
- if ((type == Qt::Popup || type == Qt::ToolTip) && transientParent) {
|
||||
- setPopup(transientParent, m_window->display()->lastInputDevice(), m_window->display()->lastInputSerial(), type == Qt::Popup);
|
||||
+ QWaylandDisplay *display = m_window->display();
|
||||
+ if ((type == Qt::Popup || type == Qt::ToolTip) && transientParent && display->lastInputDevice()) {
|
||||
+ setPopup(transientParent, display->lastInputDevice(), display->lastInputSerial(), type == Qt::Popup);
|
||||
} else {
|
||||
setToplevel();
|
||||
if (transientParent) {
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
From 80ed5501cf5dcc4b6ef2a1a126d9d564c1c73851 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Klokkhammer Helsing <johan.helsing@qt.io>
|
||||
Date: Mon, 9 Dec 2019 11:06:18 +0100
|
||||
Subject: Client: Fix inverse repeat rate implementation
|
||||
|
||||
The rate from wl_keyboard.repeat_info was used as if it was an interval. Fixed
|
||||
by converting from key strokes per second to milliseconds per key stroke.
|
||||
|
||||
This fixes a regression, as repeat rate used to be hard-coded to something
|
||||
sensible before.
|
||||
|
||||
[ChangeLog][QPA plugin] Fixed keyboard repeat rate being set inversely, so
|
||||
higher rates would actually result in fewer characters per second, and vice
|
||||
versa.
|
||||
|
||||
Fixes: QTBUG-80613
|
||||
Change-Id: Ie783b90cba13dde6f37c0cd1be584d352cddfe7c
|
||||
Reviewed-by: David Edmundson <davidedmundson@kde.org>
|
||||
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
||||
---
|
||||
src/client/qwaylandinputdevice.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp
|
||||
index d812918e..3b26dc42 100644
|
||||
--- a/src/client/qwaylandinputdevice.cpp
|
||||
+++ b/src/client/qwaylandinputdevice.cpp
|
||||
@@ -88,7 +88,7 @@ QWaylandInputDevice::Keyboard::Keyboard(QWaylandInputDevice *p)
|
||||
// or the server didn't send an enter event first.
|
||||
return;
|
||||
}
|
||||
- mRepeatTimer.setInterval(mRepeatRate);
|
||||
+ mRepeatTimer.setInterval(1000 / mRepeatRate);
|
||||
handleKey(mRepeatKey.time, QEvent::KeyRelease, mRepeatKey.key, mRepeatKey.modifiers,
|
||||
mRepeatKey.code, mRepeatKey.nativeVirtualKey, mRepeatKey.nativeModifiers,
|
||||
mRepeatKey.text, true);
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
From 7ce033cbf9a80d2ea5d687956da668cf4567d361 Mon Sep 17 00:00:00 2001
|
||||
From: Johan Klokkhammer Helsing <johan.helsing@qt.io>
|
||||
Date: Fri, 9 Mar 2018 10:30:52 +0100
|
||||
Subject: Don't try to create compatibility GL context when profile is unset
|
||||
|
||||
Context creation would sometimes fail because of this.
|
||||
|
||||
Change-Id: Icf73a42ee2bb984ebfc09b7ed98f094d544134b8
|
||||
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
|
||||
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
||||
---
|
||||
.../client/wayland-egl/qwaylandglcontext.cpp | 16 ++++++++++++----
|
||||
1 file changed, 12 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
|
||||
index 740e9641..6e48659d 100644
|
||||
--- a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
|
||||
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
|
||||
@@ -259,10 +259,18 @@ QWaylandGLContext::QWaylandGLContext(EGLDisplay eglDisplay, QWaylandDisplay *dis
|
||||
}
|
||||
// Profiles are OpenGL only and mandatory in 3.2+. The value is silently ignored for < 3.2.
|
||||
if (m_format.renderableType() == QSurfaceFormat::OpenGL) {
|
||||
- eglContextAttrs.append(EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR);
|
||||
- eglContextAttrs.append(format.profile() == QSurfaceFormat::CoreProfile
|
||||
- ? EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR
|
||||
- : EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR);
|
||||
+ switch (format.profile()) {
|
||||
+ case QSurfaceFormat::NoProfile:
|
||||
+ break;
|
||||
+ case QSurfaceFormat::CoreProfile:
|
||||
+ eglContextAttrs.append(EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR);
|
||||
+ eglContextAttrs.append(EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR);
|
||||
+ break;
|
||||
+ case QSurfaceFormat::CompatibilityProfile:
|
||||
+ eglContextAttrs.append(EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR);
|
||||
+ eglContextAttrs.append(EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR);
|
||||
+ break;
|
||||
+ }
|
||||
}
|
||||
}
|
||||
eglContextAttrs.append(EGL_NONE);
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
@@ -0,0 +1,176 @@
|
||||
From 57c4af2b18c0fb1d266b245a107fa6cb876b9d9e Mon Sep 17 00:00:00 2001
|
||||
From: Giulio Camuffo <giulio.camuffo@jollamobile.com>
|
||||
Date: Fri, 1 May 2015 17:12:22 +0300
|
||||
Subject: Implement basic key composition support
|
||||
|
||||
Use xkbcommon-compose to handle basic compose key support. We should expand on
|
||||
it in the future to handle things like resetting the compose state on text
|
||||
field switching.
|
||||
|
||||
Task-number: QTBUG-54792
|
||||
Task-number: QTBUG-64572
|
||||
Change-Id: I9d1d5ca4c9991928e12979f69eaa477e0cb28ada
|
||||
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
|
||||
---
|
||||
src/client/qwaylandinputdevice.cpp | 65 +++++++++++++++++++++++++++++++++++++-
|
||||
src/client/qwaylandinputdevice_p.h | 9 ++++++
|
||||
2 files changed, 73 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/client/qwaylandinputdevice.cpp b/src/client/qwaylandinputdevice.cpp
|
||||
index f6287ba8..115d6dbc 100644
|
||||
--- a/src/client/qwaylandinputdevice.cpp
|
||||
+++ b/src/client/qwaylandinputdevice.cpp
|
||||
@@ -70,6 +70,10 @@
|
||||
|
||||
#include <QtGui/QGuiApplication>
|
||||
|
||||
+#if QT_CONFIG(xkbcommon_evdev)
|
||||
+#include <xkbcommon/xkbcommon-compose.h>
|
||||
+#endif
|
||||
+
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
namespace QtWaylandClient {
|
||||
@@ -113,6 +117,7 @@ bool QWaylandInputDevice::Keyboard::createDefaultKeyMap()
|
||||
qWarning() << "xkb_map_new_from_names failed, no key input";
|
||||
return false;
|
||||
}
|
||||
+ createComposeState();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -125,11 +130,41 @@ void QWaylandInputDevice::Keyboard::releaseKeyMap()
|
||||
if (mXkbContext)
|
||||
xkb_context_unref(mXkbContext);
|
||||
}
|
||||
+
|
||||
+void QWaylandInputDevice::Keyboard::createComposeState()
|
||||
+{
|
||||
+ static const char *locale = nullptr;
|
||||
+ if (!locale) {
|
||||
+ locale = getenv("LC_ALL");
|
||||
+ if (!locale)
|
||||
+ locale = getenv("LC_CTYPE");
|
||||
+ if (!locale)
|
||||
+ locale = getenv("LANG");
|
||||
+ if (!locale)
|
||||
+ locale = "C";
|
||||
+ }
|
||||
+
|
||||
+ mXkbComposeTable = xkb_compose_table_new_from_locale(mXkbContext, locale, XKB_COMPOSE_COMPILE_NO_FLAGS);
|
||||
+ if (mXkbComposeTable)
|
||||
+ mXkbComposeState = xkb_compose_state_new(mXkbComposeTable, XKB_COMPOSE_STATE_NO_FLAGS);
|
||||
+}
|
||||
+
|
||||
+void QWaylandInputDevice::Keyboard::releaseComposeState()
|
||||
+{
|
||||
+ if (mXkbComposeState)
|
||||
+ xkb_compose_state_unref(mXkbComposeState);
|
||||
+ if (mXkbComposeTable)
|
||||
+ xkb_compose_table_unref(mXkbComposeTable);
|
||||
+ mXkbComposeState = nullptr;
|
||||
+ mXkbComposeTable = nullptr;
|
||||
+}
|
||||
+
|
||||
#endif
|
||||
|
||||
QWaylandInputDevice::Keyboard::~Keyboard()
|
||||
{
|
||||
#if QT_CONFIG(xkbcommon_evdev)
|
||||
+ releaseComposeState();
|
||||
releaseKeyMap();
|
||||
#endif
|
||||
if (mFocus)
|
||||
@@ -626,6 +661,7 @@ void QWaylandInputDevice::Keyboard::keyboard_keymap(uint32_t format, int32_t fd,
|
||||
|
||||
// Release the old keymap resources in the case they were already created in
|
||||
// the key event or when the compositor issues a new map
|
||||
+ releaseComposeState();
|
||||
releaseKeyMap();
|
||||
|
||||
mXkbContext = xkb_context_new(xkb_context_flags(0));
|
||||
@@ -634,6 +670,8 @@ void QWaylandInputDevice::Keyboard::keyboard_keymap(uint32_t format, int32_t fd,
|
||||
close(fd);
|
||||
|
||||
mXkbState = xkb_state_new(mXkbMap);
|
||||
+ createComposeState();
|
||||
+
|
||||
#else
|
||||
Q_UNUSED(format);
|
||||
Q_UNUSED(fd);
|
||||
@@ -717,12 +755,37 @@ void QWaylandInputDevice::Keyboard::keyboard_key(uint32_t serial, uint32_t time,
|
||||
return;
|
||||
}
|
||||
|
||||
- const xkb_keysym_t sym = xkb_state_key_get_one_sym(mXkbState, code);
|
||||
+ QString composedText;
|
||||
+ xkb_keysym_t sym = xkb_state_key_get_one_sym(mXkbState, code);
|
||||
+ if (mXkbComposeState) {
|
||||
+ if (isDown)
|
||||
+ xkb_compose_state_feed(mXkbComposeState, sym);
|
||||
+ xkb_compose_status status = xkb_compose_state_get_status(mXkbComposeState);
|
||||
+
|
||||
+ switch (status) {
|
||||
+ case XKB_COMPOSE_COMPOSED: {
|
||||
+ int size = xkb_compose_state_get_utf8(mXkbComposeState, nullptr, 0);
|
||||
+ QVarLengthArray<char, 32> buffer(size + 1);
|
||||
+ xkb_compose_state_get_utf8(mXkbComposeState, buffer.data(), buffer.size());
|
||||
+ composedText = QString::fromUtf8(buffer.constData());
|
||||
+ sym = xkb_compose_state_get_one_sym(mXkbComposeState);
|
||||
+ xkb_compose_state_reset(mXkbComposeState);
|
||||
+ } break;
|
||||
+ case XKB_COMPOSE_COMPOSING:
|
||||
+ case XKB_COMPOSE_CANCELLED:
|
||||
+ return;
|
||||
+ case XKB_COMPOSE_NOTHING:
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
|
||||
Qt::KeyboardModifiers modifiers = mParent->modifiers();
|
||||
|
||||
std::tie(qtkey, text) = QWaylandXkb::keysymToQtKey(sym, modifiers);
|
||||
|
||||
+ if (!composedText.isNull())
|
||||
+ text = composedText;
|
||||
+
|
||||
sendKey(window->window(), time, type, qtkey, modifiers, code, sym, mNativeModifiers, text);
|
||||
#else
|
||||
// Generic fallback for single hard keys: Assume 'key' is a Qt key code.
|
||||
diff --git a/src/client/qwaylandinputdevice_p.h b/src/client/qwaylandinputdevice_p.h
|
||||
index adff3f11..07d261f3 100644
|
||||
--- a/src/client/qwaylandinputdevice_p.h
|
||||
+++ b/src/client/qwaylandinputdevice_p.h
|
||||
@@ -77,6 +77,11 @@
|
||||
struct wl_cursor_image;
|
||||
#endif
|
||||
|
||||
+#if QT_CONFIG(xkbcommon_evdev)
|
||||
+struct xkb_compose_state;
|
||||
+struct xkb_compose_table;
|
||||
+#endif
|
||||
+
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
namespace QtWaylandClient {
|
||||
@@ -208,6 +213,8 @@ public:
|
||||
xkb_context *mXkbContext;
|
||||
xkb_keymap *mXkbMap;
|
||||
xkb_state *mXkbState;
|
||||
+ xkb_compose_table *mXkbComposeTable = nullptr;
|
||||
+ xkb_compose_state *mXkbComposeState = nullptr;
|
||||
#endif
|
||||
uint32_t mNativeModifiers;
|
||||
|
||||
@@ -229,6 +236,8 @@ private:
|
||||
#if QT_CONFIG(xkbcommon_evdev)
|
||||
bool createDefaultKeyMap();
|
||||
void releaseKeyMap();
|
||||
+ void createComposeState();
|
||||
+ void releaseComposeState();
|
||||
#endif
|
||||
|
||||
};
|
||||
--
|
||||
cgit v1.2.1
|
||||
|
||||
Executable
+88
@@ -0,0 +1,88 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qt6-wayland</Name>
|
||||
<Homepage>http://qt.digia.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<Summary>Provides APIs for Wayland</Summary>
|
||||
<Description>Provides APIs for Wayland</Description>
|
||||
<License>LGPLv2.1-linking-exception</License>
|
||||
<Archive sha1sum="b23128a1e2ca9aa92d91ef079cd8700c300d8f57" type="tarxz">https://download.qt.io/official_releases/qt/6.4/6.4.0/submodules/qtwayland-everywhere-src-6.4.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>wayland-devel</Dependency>
|
||||
<Dependency>vulkan-headers</Dependency>
|
||||
<Dependency>libxkbcommon-devel</Dependency> -->
|
||||
<Dependency>libXcomposite-devel</Dependency>
|
||||
<Dependency>xorg-xwayland-devel</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-base-devel</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-declarative-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="1">qt6-wayland-animate-cursor.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qt6-wayland</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>wayland</Dependency>
|
||||
<Dependency>wayland-client</Dependency>
|
||||
<Dependency>wayland-cursor</Dependency>
|
||||
<Dependency>libxkbcommon</Dependency>
|
||||
<Dependency>libXcomposite</Dependency>
|
||||
<Dependency>wayland-server</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-base</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-declarative</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="library">/usr/lib/qt6</Path>
|
||||
<Path fileType="executable">/usr/lib/qt6/bin</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/qt6/modules/*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>qt6-wayland-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">qt6-wayland</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-base-devel</Dependency>
|
||||
<Dependency versionFrom="6.4.0">qt6-declarative-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<!--Package>
|
||||
<Name>qt6-wayland-docs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency versionFrom="6.4.0">qt6-base</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package-->
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-10-06</Date>
|
||||
<Version>6.4.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qt5-wayland</Name>
|
||||
<Summary xml:lang="tr">Wayland için API'ler sağlar</Summary>
|
||||
<Description xml:lang="tr">Wayland için API'ler sağlar</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qt5-wayland-devel</Name>
|
||||
<Summary xml:lang="tr">qt5-wayland için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user