commit kwayland6 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwayland6 for openSUSE:Factory checked in at 2024-10-07 21:47:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwayland6 (Old) and /work/SRC/openSUSE:Factory/.kwayland6.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kwayland6" Mon Oct 7 21:47:31 2024 rev:12 rq:1205911 version:6.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kwayland6/kwayland6.changes 2024-09-11 16:55:32.702412827 +0200 +++ /work/SRC/openSUSE:Factory/.kwayland6.new.19354/kwayland6.changes 2024-10-07 21:47:57.567586507 +0200 @@ -1,0 +2,25 @@ +Sat Oct 5 10:44:19 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de> + +- Update to 6.2.0: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.2.0 +- Changes since 6.1.90: + * update version for new release + * Use Plasma Wayland Protocols 1.14 + +------------------------------------------------------------------- +Tue Sep 17 14:53:40 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de> + +- Update to 6.1.90: + * New feature release + * For more details see https://kde.org/announcements/plasma/6/6.1.90 +- Changes since 6.1.5: + * update version for new release + * Generate wayland code with PRIVATE_CODE + * plasmawindowmanagement: implement v18 + * gitignore: add VS Code dir + * Guard org_kde_plasma_window_management.get_stacking_order with proper version check + * Raise required plasma-wayland-procotols minimum version to 1.13 + * update version for new release + +------------------------------------------------------------------- Old: ---- kwayland-6.1.5.tar.xz kwayland-6.1.5.tar.xz.sig New: ---- kwayland-6.2.0.tar.xz kwayland-6.2.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwayland6.spec ++++++ --- /var/tmp/diff_new_pack.d9M7gw/_old 2024-10-07 21:47:58.095608476 +0200 +++ /var/tmp/diff_new_pack.d9M7gw/_new 2024-10-07 21:47:58.099608642 +0200 @@ -16,20 +16,20 @@ # -%define kf6_version 6.2.0 -%define qt6_version 6.6.0 +%define kf6_version 6.5.0 +%define qt6_version 6.7.0 %define rname kwayland %bcond_without released Name: kwayland6 -Version: 6.1.5 +Version: 6.2.0 Release: 0 Summary: KDE Wayland library License: LGPL-2.1-or-later URL: https://www.kde.org -Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz +Source: %{rname}-%{version}.tar.xz %if %{with released} -Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig +Source1: %{rname}-%{version}.tar.xz.sig Source2: plasma.keyring %endif BuildRequires: doxygen ++++++ kwayland-6.1.5.tar.xz -> kwayland-6.2.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-6.1.5/.gitignore new/kwayland-6.2.0/.gitignore --- old/kwayland-6.1.5/.gitignore 2024-09-10 10:50:42.000000000 +0200 +++ new/kwayland-6.2.0/.gitignore 2024-10-03 14:37:15.000000000 +0200 @@ -24,5 +24,6 @@ /compile_commands.json .clangd .idea +.vscode /cmake-build* .cache diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-6.1.5/CMakeLists.txt new/kwayland-6.2.0/CMakeLists.txt --- old/kwayland-6.1.5/CMakeLists.txt 2024-09-10 10:50:42.000000000 +0200 +++ new/kwayland-6.2.0/CMakeLists.txt 2024-10-03 14:37:15.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(PROJECT_VERSION "6.1.5") +set(PROJECT_VERSION "6.2.0") project(kwayland VERSION ${PROJECT_VERSION}) -set(QT_MIN_VERSION "6.6.0") -set(KF6_MIN_VERSION "6.2.0") +set(QT_MIN_VERSION "6.7.0") +set(KF6_MIN_VERSION "6.5.0") set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) @@ -59,7 +59,7 @@ find_package(EGL) set_package_properties(EGL PROPERTIES TYPE REQUIRED) -find_package(PlasmaWaylandProtocols 1.13.0 CONFIG) +find_package(PlasmaWaylandProtocols 1.14.0 CONFIG) set_package_properties(PlasmaWaylandProtocols PROPERTIES TYPE REQUIRED) # adjusting CMAKE_C_FLAGS to get wayland protocols to compile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-6.1.5/src/client/CMakeLists.txt new/kwayland-6.2.0/src/client/CMakeLists.txt --- old/kwayland-6.1.5/src/client/CMakeLists.txt 2024-09-10 10:50:42.000000000 +0200 +++ new/kwayland-6.2.0/src/client/CMakeLists.txt 2024-10-03 14:37:15.000000000 +0200 @@ -69,96 +69,117 @@ ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/plasma-shell.xml BASENAME plasma-shell + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/plasma-virtual-desktop.xml BASENAME plasma-virtual-desktop + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/plasma-window-management.xml BASENAME plasma-window-management + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml BASENAME fake-input + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/shadow.xml BASENAME shadow + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/blur.xml BASENAME blur + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/contrast.xml BASENAME contrast + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/slide.xml BASENAME slide + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/dpms.xml BASENAME dpms + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/text-input.xml BASENAME text-input-v0 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/text-input-unstable-v2.xml BASENAME text-input-v2 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/xdg-shell/xdg-shell-unstable-v6.xml BASENAME xdg-shell-v6 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/relative-pointer/relative-pointer-unstable-v1.xml BASENAME relativepointer-unstable-v1 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml BASENAME pointer-gestures-unstable-v1 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml BASENAME pointer-constraints-unstable-v1 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml BASENAME xdg-foreign-unstable-v2 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml BASENAME idle-inhibit-unstable-v1 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${PLASMA_WAYLAND_PROTOCOLS_DIR}/appmenu.xml BASENAME appmenu + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/xdg-output/xdg-output-unstable-v1.xml BASENAME xdg-output-unstable-v1 + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml BASENAME xdg-shell + PRIVATE_CODE ) ecm_add_wayland_client_protocol(CLIENT_LIB_SRCS PROTOCOL ${WaylandProtocols_DATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml BASENAME xdg-decoration-unstable-v1 + PRIVATE_CODE ) set(CLIENT_GENERATED_FILES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-6.1.5/src/client/plasmawindowmanagement.cpp new/kwayland-6.2.0/src/client/plasmawindowmanagement.cpp --- old/kwayland-6.1.5/src/client/plasmawindowmanagement.cpp 2024-09-10 10:50:42.000000000 +0200 +++ new/kwayland-6.2.0/src/client/plasmawindowmanagement.cpp 2024-10-03 14:37:15.000000000 +0200 @@ -100,6 +100,7 @@ QString resourceName; QString applicationMenuServiceName; QString applicationMenuObjectPath; + QRect clientGeometry; private: static void titleChangedCallback(void *data, org_kde_plasma_window *window, const char *title); @@ -119,6 +120,7 @@ static void appmenuChangedCallback(void *data, org_kde_plasma_window *org_kde_plasma_window, const char *service_name, const char *object_path); static void activityEnteredCallback(void *data, org_kde_plasma_window *org_kde_plasma_window, const char *id); static void activityLeftCallback(void *data, org_kde_plasma_window *org_kde_plasma_window, const char *id); + static void clientGeometryCallback(void *data, org_kde_plasma_window *window, int32_t x, int32_t y, uint32_t width, uint32_t height); void setActive(bool set); void setMinimized(bool set); void setMaximized(bool set); @@ -470,6 +472,7 @@ activityEnteredCallback, activityLeftCallback, resourceNameChangedCallback, + clientGeometryCallback, }; void PlasmaWindow::Private::appmenuChangedCallback(void *data, org_kde_plasma_window *window, const char *service_name, const char *object_path) @@ -1372,6 +1375,24 @@ } PlasmaActivation::~PlasmaActivation() = default; + +QRect PlasmaWindow::clientGeometry() const +{ + return d->clientGeometry; +} + +void PlasmaWindow::Private::clientGeometryCallback(void *data, org_kde_plasma_window *window, int32_t x, int32_t y, uint32_t width, uint32_t height) +{ + Q_UNUSED(window) + Private *p = cast(data); + const QRect geo(x, y, width, height); + if (p->clientGeometry == geo) { + return; + } + p->clientGeometry = geo; + Q_EMIT p->q->clientGeometryChanged(); +} + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-6.1.5/src/client/plasmawindowmanagement.h new/kwayland-6.2.0/src/client/plasmawindowmanagement.h --- old/kwayland-6.1.5/src/client/plasmawindowmanagement.h 2024-09-10 10:50:42.000000000 +0200 +++ new/kwayland-6.2.0/src/client/plasmawindowmanagement.h 2024-10-03 14:37:15.000000000 +0200 @@ -572,6 +572,13 @@ */ void sendToOutput(KWayland::Client::Output *output) const; + /** + * @returns The client geometry (i.e. without window borders) in absolute coordinates. + * @see clientGeometryChanged + * @since 6.2 + **/ + QRect clientGeometry() const; + Q_SIGNALS: /** * The window title changed. @@ -752,6 +759,13 @@ **/ void applicationMenuChanged(); + /** + * This signal is emitted whenever the client geometry changes. + * @see clientGeometry + * @since 6.2 + **/ + void clientGeometryChanged(); + private: friend class PlasmaWindowManagement; explicit PlasmaWindow(PlasmaWindowManagement *parent, org_kde_plasma_window *activation, quint32 internalId, const char *uuid); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-6.1.5/src/client/registry.cpp new/kwayland-6.2.0/src/client/registry.cpp --- old/kwayland-6.1.5/src/client/registry.cpp 2024-09-10 10:50:42.000000000 +0200 +++ new/kwayland-6.2.0/src/client/registry.cpp 2024-10-03 14:37:15.000000000 +0200 @@ -155,7 +155,7 @@ &Registry::plasmaVirtualDesktopManagementRemoved }}, {Registry::Interface::PlasmaWindowManagement, { - 17, + 18, QByteArrayLiteral("org_kde_plasma_window_management"), &org_kde_plasma_window_management_interface, &Registry::plasmaWindowManagementAnnounced,
participants (1)
-
Source-Sync