commit libqt5-qtwayland for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libqt5-qtwayland for openSUSE:Factory checked in at 2022-06-29 16:00:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtwayland (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtwayland.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libqt5-qtwayland" Wed Jun 29 16:00:45 2022 rev:45 rq:985498 version:5.15.5+kde39 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtwayland/libqt5-qtwayland.changes 2022-02-24 18:18:59.894729716 +0100 +++ /work/SRC/openSUSE:Factory/.libqt5-qtwayland.new.1548/libqt5-qtwayland.changes 2022-06-29 16:01:27.388630548 +0200 @@ -1,0 +2,23 @@ +Mon Jun 27 13:10:47 UTC 2022 - Fabian Vogt <fabian@ritter-vogt.de> + +- Update to version 5.15.5+kde39, rebased upstream: + * Fix build with libcxx (missing array include) + * Reduce memory leakage + * use poll(2) when reading from clipboard + * Fix race condition on mWaitingForUpdateDelivery + * Revert "Client: Remove mWaitingForUpdateDelivery" + * client: update button state and etc in pointer_leave() + * Docs: Add "instantiates" keywords + * Add missing define guards + * Fix touch being ignored when down and up are in the same frame + * Fix race condition when attaching client to text input + * Revert "Update commercial license headers" + * Update commercial license headers +- Commits dropped by the rebase: + * Fix backport, context destruction was omitted + * Fix compilation +- Drop 0001-Revert-Bump-version.patch, it's versioned correctly now +- Drop patches, no longer directly applicable: + * 0003-Fix-up-mutexes-for-frame-callbacks.patch + +------------------------------------------------------------------- Old: ---- 0001-Revert-Bump-version.patch 0003-Fix-up-mutexes-for-frame-callbacks.patch qtwayland-everywhere-src-5.15.2+kde54.obscpio New: ---- qtwayland-everywhere-src-5.15.5+kde39.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtwayland.spec ++++++ --- /var/tmp/diff_new_pack.f5dEQ0/_old 2022-06-29 16:01:29.368633184 +0200 +++ /var/tmp/diff_new_pack.f5dEQ0/_new 2022-06-29 16:01:29.372633189 +0200 @@ -22,11 +22,11 @@ %define qt5_snapshot 1 %define libname libQt5WaylandCompositor5 %define base_name libqt5 -%define real_version 5.15.2 -%define so_version 5.15.2 +%define real_version 5.15.5 +%define so_version 5.15.5 %define tar_version qtwayland-everywhere-src-%{version} Name: libqt5-qtwayland -Version: 5.15.2+kde54 +Version: 5.15.5+kde39 Release: 0 Summary: Qt 5 Wayland Addon # The wayland compositor files are GPL-3.0-or-later @@ -35,12 +35,8 @@ URL: https://www.qt.io Source: %{tar_version}.tar.xz Source1: baselibs.conf -# PATCH-FIX-OPENSUSE -Patch1: 0001-Revert-Bump-version.patch # https://codereview.qt-project.org/c/qt/qtwayland/+/393828/1 Patch3: 0002-Guard-mResizeDirty-by-the-correctMutex.patch -# https://codereview.qt-project.org/c/qt/qtwayland/+/393826/1 -Patch4: 0003-Fix-up-mutexes-for-frame-callbacks.patch BuildRequires: fdupes BuildRequires: libqt5-qtbase-private-headers-devel >= %{real_version} BuildRequires: libqt5-qtdeclarative-private-headers-devel >= %{real_version} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.f5dEQ0/_old 2022-06-29 16:01:29.408633237 +0200 +++ /var/tmp/diff_new_pack.f5dEQ0/_new 2022-06-29 16:01:29.412633241 +0200 @@ -1,12 +1,12 @@ <services> <service name="obs_scm" mode="disabled"> <param name="changesgenerate">enable</param> - <param name="versionformat">5.15.2+kde@TAG_OFFSET@</param> + <param name="versionformat">5.15.5+kde@TAG_OFFSET@</param> <param name="url">https://invent.kde.org/qt/qt/qtwayland.git</param> <param name="scm">git</param> <param name="filename">qtwayland-everywhere-src</param> <param name="revision">kde/5.15</param> - <param name="parent-tag">v5.15.2</param> + <param name="parent-tag">v5.15.5-lts-lgpl</param> <param name="changesgenerate">enable</param> </service> <service name="set_version" mode="disabled"/> ++++++ qtwayland-everywhere-src-5.15.2+kde54.obscpio -> qtwayland-everywhere-src-5.15.5+kde39.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/.qmake.conf new/qtwayland-everywhere-src-5.15.5+kde39/.qmake.conf --- old/qtwayland-everywhere-src-5.15.2+kde54/.qmake.conf 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/.qmake.conf 2022-06-20 22:17:21.000000000 +0200 @@ -4,4 +4,4 @@ DEFINES += QT_NO_JAVA_STYLE_ITERATORS DEFINES += QT_NO_LINKED_LIST -MODULE_VERSION = 5.15.3 +MODULE_VERSION = 5.15.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylanddataoffer.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylanddataoffer.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylanddataoffer.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylanddataoffer.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -188,17 +188,18 @@ int QWaylandMimeData::readData(int fd, QByteArray &data) const { - fd_set readset; - FD_ZERO(&readset); - FD_SET(fd, &readset); - struct timeval timeout; + struct pollfd readset; + readset.fd = fd; + readset.events = POLLIN; + struct timespec timeout; timeout.tv_sec = 1; - timeout.tv_usec = 0; + timeout.tv_nsec = 0; + Q_FOREVER { - int ready = select(FD_SETSIZE, &readset, nullptr, nullptr, &timeout); + int ready = qt_safe_poll(&readset, 1, &timeout); if (ready < 0) { - qWarning() << "QWaylandDataOffer: select() failed"; + qWarning() << "QWaylandDataOffer: qt_safe_poll() failed"; return -1; } else if (ready == 0) { qWarning("QWaylandDataOffer: timeout reading from pipe"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylanddisplay.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylanddisplay.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylanddisplay.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylanddisplay.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -379,6 +379,9 @@ #endif if (mDisplay) wl_display_disconnect(mDisplay); + + if (m_frameEventQueue) + wl_event_queue_destroy(m_frameEventQueue); } // Steps which is called just after constructor. This separates registry_global() out of the constructor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandinputcontext.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandinputcontext.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandinputcontext.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandinputcontext.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -412,8 +412,10 @@ void QWaylandInputContext::reset() { qCDebug(qLcQpaInputMethods) << Q_FUNC_INFO; +#if QT_CONFIG(xkbcommon) if (m_composeState) xkb_compose_state_reset(m_composeState); +#endif QPlatformInputContext::reset(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandinputdevice.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandinputdevice.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandinputdevice.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandinputdevice.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -685,6 +685,11 @@ void QWaylandInputDevice::Pointer::pointer_leave(uint32_t time, struct wl_surface *surface) { + invalidateFocus(); + mButtons = Qt::NoButton; + + mParent->mTime = time; + // The event may arrive after destroying the window, indicated by // a null surface. if (!surface) @@ -696,11 +701,6 @@ if (!QWaylandWindow::mouseGrab()) setFrameEvent(new LeaveEvent(window, mSurfacePos, mGlobalPos)); - - invalidateFocus(); - mButtons = Qt::NoButton; - - mParent->mTime = time; } class MotionEvent : public QWaylandPointerEvent @@ -1399,6 +1399,14 @@ it = mTouch->mPendingTouchPoints.insert(end, QWindowSystemInterface::TouchPoint()); it->id = id; } + // If the touch points were up and down in same frame, send out frame right away + else if ((it->state == Qt::TouchPointPressed && state == Qt::TouchPointReleased) + || (it->state == Qt::TouchPointReleased && state == Qt::TouchPointPressed)) { + mTouch->touch_frame(); + it = mTouch->mPendingTouchPoints.insert(mTouch->mPendingTouchPoints.end(), QWindowSystemInterface::TouchPoint()); + it->id = id; + } + QWindowSystemInterface::TouchPoint &tp = *it; // Only moved and pressed needs to update/set position diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandwindow.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandwindow.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandwindow.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandwindow.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -649,6 +649,7 @@ // The rest can wait until we can run it on the correct thread auto doHandleExpose = [this]() { + mWaitingForUpdateDelivery.storeRelease(false); bool wasExposed = isExposed(); mFrameCallbackTimedOut = false; if (!wasExposed && isExposed()) // Did setting mFrameCallbackTimedOut make the window exposed? @@ -657,9 +658,11 @@ deliverUpdateRequest(); }; - // Queued connection, to make sure we don't call handleUpdate() from inside waitForFrameSync() - // in the single-threaded case. - QMetaObject::invokeMethod(this, doHandleExpose, Qt::QueuedConnection); + if (mWaitingForUpdateDelivery.testAndSetAcquire(false, true)) { + // Queued connection, to make sure we don't call handleUpdate() from inside waitForFrameSync() + // in the single-threaded case. + QMetaObject::invokeMethod(this, doHandleExpose, Qt::QueuedConnection); + } mFrameSyncWait.notify_all(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandwindow_p.h new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandwindow_p.h --- old/qtwayland-everywhere-src-5.15.2+kde54/src/client/qwaylandwindow_p.h 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/client/qwaylandwindow_p.h 2022-06-20 22:17:21.000000000 +0200 @@ -228,6 +228,7 @@ WId mWindowId; bool mWaitingForFrameCallback = false; bool mFrameCallbackTimedOut = false; // Whether the frame callback has timed out + QAtomicInt mWaitingForUpdateDelivery = false; int mFrameCallbackCheckIntervalTimerId = -1; QElapsedTimer mFrameCallbackElapsedTimer; struct ::wl_callback *mFrameCallback = nullptr; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandclient.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandclient.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandclient.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandclient.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -79,6 +79,7 @@ /*! * \qmltype WaylandClient + * \instantiates QWaylandClient * \inqmlmodule QtWayland.Compositor * \since 5.8 * \brief Represents a client connecting to the WaylandCompositor. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandcompositor.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandcompositor.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandcompositor.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandcompositor.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -451,6 +451,7 @@ /*! \qmltype WaylandCompositor + \instantiates QWaylandCompositor \inqmlmodule QtWayland.Compositor \since 5.8 \brief Manages the Wayland display server. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandoutput.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandoutput.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandoutput.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandoutput.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -249,6 +249,7 @@ /*! \qmltype WaylandOutput + \instantiates QWaylandOutput \inqmlmodule QtWayland.Compositor \since 5.8 \brief Provides access to a displayable area managed by the compositor. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandquickitem.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandquickitem.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandquickitem.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandquickitem.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -319,6 +319,7 @@ /*! * \qmltype WaylandQuickItem + * \instantiates QWaylandQuickItem * \inqmlmodule QtWayland.Compositor * \since 5.8 * \brief Provides a Qt Quick item that represents a WaylandView. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandseat.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandseat.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandseat.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandseat.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -136,6 +136,7 @@ /*! * \qmltype WaylandSeat + * \instantiates QWaylandSeat * \inqmlmodule QtWayland.Compositor * \since 5.8 * \brief Provides access to keyboard, mouse, and touch input. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandsurface.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandsurface.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandsurface.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandsurface.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -335,6 +335,7 @@ /*! * \qmltype WaylandSurface + * \instantiates QWaylandSurface * \inqmlmodule QtWayland.Compositor * \since 5.8 * \brief Represents a rectangular area on an output device. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandview.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandview.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/compositor_api/qwaylandview.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/compositor_api/qwaylandview.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -54,6 +54,7 @@ /*! * \qmltype WaylandView + * \instantiates QWaylandView * \inqmlmodule QtWayland.Compositor * \since 5.8 * \brief Represents a view of a surface on an output. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandidleinhibitv1.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandidleinhibitv1.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandidleinhibitv1.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandidleinhibitv1.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -51,6 +51,7 @@ /*! \qmltype IdleInhibitManagerV1 + \instantiates QWaylandIdleInhibitManagerV1 \inqmlmodule QtWayland.Compositor \since 5.14 \brief Provides an extension that allows to inhibit the idle behavior of the compositor. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandiviapplication.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandiviapplication.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandiviapplication.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandiviapplication.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -40,6 +40,7 @@ /*! * \qmltype IviApplication * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandIviApplication * \since 5.8 * \brief Provides a shell extension for embedded-style user interfaces. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandivisurface.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandivisurface.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandivisurface.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandivisurface.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -46,6 +46,7 @@ /*! * \qmltype IviSurface * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandIviSurface * \since 5.8 * \brief Provides a simple way to identify and resize a surface. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandquickshellsurfaceitem.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -52,6 +52,7 @@ /*! * \qmltype ShellSurfaceItem + * \instantiates QWaylandQuickShellSurfaceItem * \inherits WaylandQuickItem * \inqmlmodule QtWayland.Compositor * \since 5.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandshellsurface.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandshellsurface.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandshellsurface.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandshellsurface.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -31,6 +31,7 @@ /*! * \qmltype ShellSurface + * \instantiates QWaylandShellSurface * \inqmlmodule QtWayland.Compositor * \since 5.8 * \brief Provides a common interface for surface roles specified by shell extensions. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandtextinputmanager.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandtextinputmanager.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandtextinputmanager.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandtextinputmanager.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -51,6 +51,8 @@ textInput = new QWaylandTextInput(seat, compositor); } textInput->add(resource->client(), id, wl_resource_get_version(resource->handle)); + if (!textInput->isInitialized()) + textInput->initialize(); } QWaylandTextInputManager::QWaylandTextInputManager() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandwlshell.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandwlshell.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandwlshell.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandwlshell.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -245,6 +245,7 @@ /*! * \qmltype WlShell * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandWlShell * \since 5.8 * \brief Provides an extension for desktop-style user interfaces. * @@ -414,6 +415,7 @@ /*! * \qmltype WlShellSurface * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandWlShellSurface * \since 5.8 * \brief Provides a \c wl_shell_surface that offers desktop-style compositor-specific features to a surface. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandxdgdecorationv1.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandxdgdecorationv1.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandxdgdecorationv1.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandxdgdecorationv1.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -40,6 +40,7 @@ /*! \qmltype XdgDecorationManagerV1 \inqmlmodule QtWayland.Compositor + \instantiates QWaylandXdgDecorationManagerV1 \since 5.12 \brief Provides an extension for negotiation of server-side and client-side window decorations. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandxdgoutputv1.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandxdgoutputv1.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandxdgoutputv1.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandxdgoutputv1.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -39,6 +39,7 @@ /*! * \qmltype XdgOutputManagerV1 * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandXdgOutputManagerV1 * \since 5.14 * \brief Provides an extension for describing outputs in a desktop oriented fashion. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandxdgshell.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandxdgshell.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/compositor/extensions/qwaylandxdgshell.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/compositor/extensions/qwaylandxdgshell.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -135,6 +135,7 @@ /*! * \qmltype XdgShell * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandXdgShell * \since 5.12 * \brief Provides an extension for desktop-style user interfaces. * @@ -455,6 +456,7 @@ /*! * \qmltype XdgSurface * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandXdgSurface * \since 5.12 * \brief XdgSurface provides desktop-style compositor-specific features to an xdg surface. * @@ -704,6 +706,7 @@ /*! * \qmltype XdgToplevel * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandXdgToplevel * \since 5.12 * \brief XdgToplevel represents the toplevel window specific parts of an xdg surface. * @@ -1541,6 +1544,7 @@ /*! * \qmltype XdgPopup * \inqmlmodule QtWayland.Compositor + * \instantiates QWaylandXdgPopup * \since 5.12 * \brief XdgPopup represents the popup specific parts of and xdg surface. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp new/qtwayland-everywhere-src-5.15.5+kde39/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp --- old/qtwayland-everywhere-src-5.15.2+kde54/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp 2022-06-20 22:17:21.000000000 +0200 @@ -406,10 +406,9 @@ QWaylandGLContext::~QWaylandGLContext() { delete m_blitter; - m_blitter = nullptr; - eglDestroyContext(m_eglDisplay, m_context); if (m_decorationsContext != EGL_NO_CONTEXT) eglDestroyContext(m_eglDisplay, m_decorationsContext); + eglDestroyContext(m_eglDisplay, m_context); } bool QWaylandGLContext::makeCurrent(QPlatformSurface *surface) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtwayland-everywhere-src-5.15.2+kde54/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h new/qtwayland-everywhere-src-5.15.5+kde39/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h --- old/qtwayland-everywhere-src-5.15.2+kde54/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h 2022-02-22 16:30:48.000000000 +0100 +++ new/qtwayland-everywhere-src-5.15.5+kde39/src/hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabuf.h 2022-06-20 22:17:21.000000000 +0200 @@ -41,6 +41,8 @@ #include <QtCore/QTextStream> #include <QtGui/QOpenGLTexture> +#include <array> + #include <EGL/egl.h> #include <EGL/eglext.h> ++++++ qtwayland-everywhere-src.obsinfo ++++++ --- /var/tmp/diff_new_pack.f5dEQ0/_old 2022-06-29 16:01:29.740633679 +0200 +++ /var/tmp/diff_new_pack.f5dEQ0/_new 2022-06-29 16:01:29.744633684 +0200 @@ -1,5 +1,5 @@ name: qtwayland-everywhere-src -version: 5.15.2+kde54 -mtime: 1645543848 -commit: 8f0c9169310344c8f179311bae446239cdb61f68 +version: 5.15.5+kde39 +mtime: 1655756241 +commit: 64fa557eb30fc1219bec50a45107ea1a983411ed
participants (1)
-
Source-Sync