Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwayland for openSUSE:Factory checked in at 2021-04-12 12:34:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwayland (Old) and /work/SRC/openSUSE:Factory/.kwayland.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwayland" Mon Apr 12 12:34:47 2021 rev:85 rq:884291 version:5.81.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kwayland/kwayland.changes 2021-03-16 15:42:37.736866698 +0100 +++ /work/SRC/openSUSE:Factory/.kwayland.new.2401/kwayland.changes 2021-04-12 12:36:57.389340803 +0200 @@ -1,0 +2,12 @@ +Mon Apr 5 07:12:50 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Update to 5.81.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.81.0 +- Changes since 5.80.0: + * Fixes DTD check errors and a typo + * Add the activity management protocol client implementation + * Bump plasma-wayland-protocols dependency to 1.2.1 + +------------------------------------------------------------------- Old: ---- kwayland-5.80.0.tar.xz kwayland-5.80.0.tar.xz.sig New: ---- kwayland-5.81.0.tar.xz kwayland-5.81.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwayland.spec ++++++ --- /var/tmp/diff_new_pack.eOyoz9/_old 2021-04-12 12:36:58.457342044 +0200 +++ /var/tmp/diff_new_pack.eOyoz9/_new 2021-04-12 12:36:58.461342049 +0200 @@ -16,7 +16,7 @@ # -%define _tar_path 5.80 +%define _tar_path 5.81 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -24,7 +24,7 @@ # Only needed for the package signature condition %bcond_without lang Name: kwayland -Version: 5.80.0 +Version: 5.81.0 Release: 0 Summary: KDE Wayland library License: LGPL-2.1-or-later @@ -41,7 +41,7 @@ BuildRequires: kf5-filesystem BuildRequires: libQt5Gui-private-headers-devel >= 5.14.0 BuildRequires: pkgconfig -BuildRequires: cmake(PlasmaWaylandProtocols) +BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.2.1 BuildRequires: cmake(Qt5Concurrent) >= 5.14.0 BuildRequires: cmake(Qt5Gui) >= 5.14.0 BuildRequires: cmake(Qt5Test) >= 5.14.0 ++++++ kwayland-5.80.0.tar.xz -> kwayland-5.81.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/CMakeLists.txt new/kwayland-5.81.0/CMakeLists.txt --- old/kwayland-5.80.0/CMakeLists.txt 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/CMakeLists.txt 2021-04-06 00:17:00.000000000 +0200 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.5) -set(KF_VERSION "5.80.0") # handled by release scripts +set(KF_VERSION "5.81.0") # handled by release scripts project(KWayland VERSION ${KF_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.80.0 NO_MODULE) +find_package(ECM 5.81.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/Modules) @@ -53,7 +53,7 @@ include(KDECMakeSettings) include(CheckIncludeFile) -find_package(PlasmaWaylandProtocols 1.1 CONFIG) +find_package(PlasmaWaylandProtocols 1.2.1 CONFIG) set_package_properties(PlasmaWaylandProtocols PROPERTIES TYPE REQUIRED) check_include_file("linux/input.h" HAVE_LINUX_INPUT_H) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/src/client/plasmawindowmanagement.cpp new/kwayland-5.81.0/src/client/plasmawindowmanagement.cpp --- old/kwayland-5.80.0/src/client/plasmawindowmanagement.cpp 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/src/client/plasmawindowmanagement.cpp 2021-04-06 00:17:00.000000000 +0200 @@ -89,6 +89,7 @@ QPointer<PlasmaWindow> parentWindow; QMetaObject::Connection parentWindowUnmappedConnection; QStringList plasmaVirtualDesktops; + QStringList plasmaActivities; QRect geometry; quint32 pid = 0; QString applicationMenuServiceName; @@ -109,6 +110,8 @@ static void virtualDesktopEnteredCallback(void *data, org_kde_plasma_window *org_kde_plasma_window, const char *id); static void virtualDesktopLeftCallback(void *data, org_kde_plasma_window *org_kde_plasma_window, const char *id); 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); void setActive(bool set); void setMinimized(bool set); void setMaximized(bool set); @@ -416,7 +419,9 @@ pidChangedCallback, virtualDesktopEnteredCallback, virtualDesktopLeftCallback, - appmenuChangedCallback + appmenuChangedCallback, + activityEnteredCallback, + activityLeftCallback, }; void PlasmaWindow::Private::appmenuChangedCallback(void *data, org_kde_plasma_window *window, const char *service_name, const char *object_path) @@ -563,6 +568,24 @@ } } +void PlasmaWindow::Private::activityEnteredCallback(void *data, org_kde_plasma_window *window, const char *id) +{ + auto p = cast(data); + Q_UNUSED(window); + const QString stringId(QString::fromUtf8(id)); + p->plasmaActivities << stringId; + Q_EMIT p->q->plasmaActivityEntered(stringId); +} + +void PlasmaWindow::Private::activityLeftCallback(void *data, org_kde_plasma_window *window, const char *id) +{ + auto p = cast(data); + Q_UNUSED(window); + const QString stringId(QString::fromUtf8(id)); + p->plasmaActivities.removeAll(stringId); + Q_EMIT p->q->plasmaActivityLeft(stringId); +} + void PlasmaWindow::Private::stateChangedCallback(void *data, org_kde_plasma_window *window, uint32_t state) { auto p = cast(data); @@ -1157,5 +1180,20 @@ return d->plasmaVirtualDesktops; } +void PlasmaWindow::requestEnterActivity(const QString &id) +{ + org_kde_plasma_window_request_enter_activity(d->window, id.toUtf8()); +} + +void PlasmaWindow::requestLeaveActivity(const QString &id) +{ + org_kde_plasma_window_request_leave_activity(d->window, id.toUtf8()); +} + +QStringList PlasmaWindow::plasmaActivities() const +{ + return d->plasmaActivities; +} + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/src/client/plasmawindowmanagement.h new/kwayland-5.81.0/src/client/plasmawindowmanagement.h --- old/kwayland-5.80.0/src/client/plasmawindowmanagement.h 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/src/client/plasmawindowmanagement.h 2021-04-06 00:17:00.000000000 +0200 @@ -556,6 +556,33 @@ QStringList plasmaVirtualDesktops() const; /** + * Ask the server to make the window enter an activity. + * The server may or may not consent. + * A window can enter more than one activity. + * + * @since 5.81 + */ + void requestEnterActivity(const QString &id); + + /** + * Ask the server to make the window exit an activity. + * The server may or may not consent. + * If it exits all activities it will be considered on all of them. + * + * @since 5.81 + */ + void requestLeaveActivity(const QString &id); + + /** + * Return all the activity ids this window is associated to. + * When an activity gets deleted, it will be automatically removed from this list. + * If this list is empty, assume it's on all activities. + * + * @since 5.81 + */ + QStringList plasmaActivities() const; + + /** * Return the D-BUS service name for a window's * application menu. * @@ -729,6 +756,21 @@ void plasmaVirtualDesktopLeft(const QString &id); /** + * This signal is emitted when the window has entered an activity. + * The window can be on more than one activity, or none: then is considered on all of them. + * @since 5.81 + */ + void plasmaActivityEntered(const QString &id); + + /** + * This signal is emitted when the window left an activity. + * If the window leaves all activities, it can be considered on all. + * + * @since 5.81 + */ + void plasmaActivityLeft(const QString &id); + + /** * This signal is emitted when either the D-BUS service name or * object path for the window's application menu changes. * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/src/client/protocols/fake-input.xml new/kwayland-5.81.0/src/client/protocols/fake-input.xml --- old/kwayland-5.80.0/src/client/protocols/fake-input.xml 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/src/client/protocols/fake-input.xml 2021-04-06 00:17:00.000000000 +0200 @@ -23,8 +23,8 @@ the user to decide whether the application should get granted access to this very privileged interface. </description> - <arg name="application" type="string" description="user visible name of the application"/> - <arg name="reason" type="string" description="reason why the application wants to use this interface"/> + <arg name="application" type="string" summary="user visible name of the application"/> + <arg name="reason" type="string" summary="reason why the application wants to use this interface"/> </request> <request name="pointer_motion"> <arg name="delta_x" type="fixed"/> @@ -43,23 +43,23 @@ A client should use this request to send touch down event at specific co-ordinates. </description> - <arg name="id" type="uint" description="unique id for touch down event"/> - <arg name="x" type="fixed" description="x coordinate for touch down event"/> - <arg name="y" type="fixed" description="y coordinate for touch down event"/> + <arg name="id" type="uint" summary="unique id for touch down event"/> + <arg name="x" type="fixed" summary="x coordinate for touch down event"/> + <arg name="y" type="fixed" summary="y coordinate for touch down event"/> </request> <request name="touch_motion" since="2"> <description summary="touch motion event"> A client should use this request to send touch motion to specific position. </description> - <arg name="id" type="uint" description="unique id for touch motion event"/> - <arg name="x" type="fixed" description="x coordinate for touch motion event"/> - <arg name="y" type="fixed" description="y coordinate for touch motion event"/> + <arg name="id" type="uint" summary="unique id for touch motion event"/> + <arg name="x" type="fixed" summary="x coordinate for touch motion event"/> + <arg name="y" type="fixed" summary="y coordinate for touch motion event"/> </request> <request name="touch_up" since="2"> <description summary="touch up event"> A client should use this request to send touch up event. </description> - <arg name="id" type="uint" description="unique id for touch up event"/> + <arg name="id" type="uint" summary="unique id for touch up event"/> </request> <request name="touch_cancel" since="2"> <description summary="touch cancel event"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/src/client/protocols/idle.xml new/kwayland-5.81.0/src/client/protocols/idle.xml --- old/kwayland-5.80.0/src/client/protocols/idle.xml 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/src/client/protocols/idle.xml 2021-04-06 00:17:00.000000000 +0200 @@ -18,7 +18,7 @@ <request name="get_idle_timeout"> <arg name="id" type="new_id" interface="org_kde_kwin_idle_timeout"/> <arg name="seat" type="object" interface="wl_seat"/> - <arg name="timeout" type="uint" description="The idle timeout in msec"/> + <arg name="timeout" type="uint" summary="The idle timeout in msec"/> </request> </interface> <interface name="org_kde_kwin_idle_timeout" version="1"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/src/client/protocols/plasma-shell.xml new/kwayland-5.81.0/src/client/protocols/plasma-shell.xml --- old/kwayland-5.80.0/src/client/protocols/plasma-shell.xml 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/src/client/protocols/plasma-shell.xml 2021-04-06 00:17:00.000000000 +0200 @@ -290,21 +290,28 @@ <!-- Flags --> <enum name="panel_behavior"> - <description summary="Behavior for panel surface"> - </description> + <description summary="Behavior for panel surface"/> <entry name="always_visible" value="1" summary="normal panel visibility"> - The panel is on top of other surfaces, windows cannot cover (full screen - windows excluded). + <description summary="normal panel visibility"> + The panel is on top of other surfaces, windows cannot cover (full screen + windows excluded). + </description> </entry> <entry name="auto_hide" value="2" summary="hide automatically"> - The panel is hidden automatically and restored when the mouse is over. + <description summary="hide automatically"> + The panel is hidden automatically and restored when the mouse is over. + </description> </entry> <entry name="windows_can_cover" value="3" summary="windows can cover"> - Windows can cover the panel. + <description summary="windows can cover"> + Windows can cover the panel. + </description> </entry> <entry name="windows_go_below" value="4" summary="windows go below"> - Maximized windows take the whole screen space but the panel is above - the windows. + <description summary="windows go below"> + Maximized windows take the whole screen space but the panel is above + the windows. + </description> </entry> </enum> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/src/client/protocols/server-decoration-palette.xml new/kwayland-5.81.0/src/client/protocols/server-decoration-palette.xml --- old/kwayland-5.80.0/src/client/protocols/server-decoration-palette.xml 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/src/client/protocols/server-decoration-palette.xml 2021-04-06 00:17:00.000000000 +0200 @@ -6,7 +6,7 @@ SPDX-License-Identifier: LGPL-2.1-or-later ]]></copyright> <interface name="org_kde_kwin_server_decoration_palette_manager" version="1"> -l <description summary="server side decoration palette manager interface"> + <description summary="server side decoration palette manager interface"> This interface allows a client to alter the palette of a server side decoration. </description> <request name="create"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.80.0/src/client/registry.cpp new/kwayland-5.81.0/src/client/registry.cpp --- old/kwayland-5.80.0/src/client/registry.cpp 2021-02-28 20:06:55.000000000 +0100 +++ new/kwayland-5.81.0/src/client/registry.cpp 2021-04-06 00:17:00.000000000 +0200 @@ -171,7 +171,7 @@ &Registry::plasmaVirtualDesktopManagementRemoved }}, {Registry::Interface::PlasmaWindowManagement, { - 13, + 14, QByteArrayLiteral("org_kde_plasma_window_management"), &org_kde_plasma_window_management_interface, &Registry::plasmaWindowManagementAnnounced,
