Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kwayland for openSUSE:Factory checked in at 2022-05-16 18:07:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kwayland (Old) and /work/SRC/openSUSE:Factory/.kwayland.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwayland" Mon May 16 18:07:13 2022 rev:99 rq:977204 version:5.94.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kwayland/kwayland.changes 2022-04-11 23:49:04.967180570 +0200 +++ /work/SRC/openSUSE:Factory/.kwayland.new.1538/kwayland.changes 2022-05-16 18:09:20.529317534 +0200 @@ -1,0 +2,14 @@ +Tue May 10 08:18:11 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.94.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.94.0 +- Changes since 5.93.0: + * client: implement plasma-surface openUnderCursor + * Fix since version + * Fix include path in the generated pkgconfig file + * [plasmawindowmanagement] Add resourceName + * client: Bump plasmashell version to 7 (kde#453578) + +------------------------------------------------------------------- Old: ---- kwayland-5.93.0.tar.xz kwayland-5.93.0.tar.xz.sig New: ---- kwayland-5.94.0.tar.xz kwayland-5.94.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kwayland.spec ++++++ --- /var/tmp/diff_new_pack.J3Zb5p/_old 2022-05-16 18:09:21.109317995 +0200 +++ /var/tmp/diff_new_pack.J3Zb5p/_new 2022-05-16 18:09:21.113317998 +0200 @@ -16,7 +16,7 @@ # -%define _tar_path 5.93 +%define _tar_path 5.94 # 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 released Name: kwayland -Version: 5.93.0 +Version: 5.94.0 Release: 0 Summary: KDE Wayland library License: LGPL-2.1-or-later ++++++ kwayland-5.93.0.tar.xz -> kwayland-5.94.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.93.0/CMakeLists.txt new/kwayland-5.94.0/CMakeLists.txt --- old/kwayland-5.93.0/CMakeLists.txt 2022-04-02 12:04:14.000000000 +0200 +++ new/kwayland-5.94.0/CMakeLists.txt 2022-05-12 11:50:17.000000000 +0200 @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.93.0") # handled by release scripts +set(KF_VERSION "5.94.0") # handled by release scripts project(KWayland VERSION ${KF_VERSION}) # ECM setup @@ -110,7 +110,7 @@ if (NOT WIN32) ecm_generate_pkgconfig_file(BASE_NAME KF5WaylandClient - INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF} + INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF}/KWayland DEPS Qt${QT_MAJOR_VERSION}Gui INSTALL) endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.93.0/src/client/plasmashell.cpp new/kwayland-5.94.0/src/client/plasmashell.cpp --- old/kwayland-5.93.0/src/client/plasmashell.cpp 2022-04-02 12:04:14.000000000 +0200 +++ new/kwayland-5.94.0/src/client/plasmashell.cpp 2022-05-12 11:50:17.000000000 +0200 @@ -239,6 +239,11 @@ org_kde_plasma_surface_set_position(d->surface, point.x(), point.y()); } +void PlasmaShellSurface::openUnderCursor() +{ + org_kde_plasma_surface_open_under_cursor(d->surface); +} + void PlasmaShellSurface::setRole(PlasmaShellSurface::Role role) { Q_ASSERT(isValid()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.93.0/src/client/plasmashell.h new/kwayland-5.94.0/src/client/plasmashell.h --- old/kwayland-5.93.0/src/client/plasmashell.h 2022-04-02 12:04:14.000000000 +0200 +++ new/kwayland-5.94.0/src/client/plasmashell.h 2022-05-12 11:50:17.000000000 +0200 @@ -251,6 +251,14 @@ void setPosition(const QPoint &point); /** + * Request that the initial position of this surface will be under the cursor + * + * Has to be called before attaching any buffer to the corresponding surface. + * @since 5.94 + **/ + void openUnderCursor(); + + /** * Describes how a PlasmaShellSurface with role @c Role::Panel should behave. * @see Role **/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.93.0/src/client/plasmawindowmanagement.cpp new/kwayland-5.94.0/src/client/plasmawindowmanagement.cpp --- old/kwayland-5.93.0/src/client/plasmawindowmanagement.cpp 2022-04-02 12:04:14.000000000 +0200 +++ new/kwayland-5.94.0/src/client/plasmawindowmanagement.cpp 2022-05-12 11:50:17.000000000 +0200 @@ -91,6 +91,7 @@ QStringList plasmaActivities; QRect geometry; quint32 pid = 0; + QString resourceName; QString applicationMenuServiceName; QString applicationMenuObjectPath; @@ -98,6 +99,7 @@ static void titleChangedCallback(void *data, org_kde_plasma_window *window, const char *title); static void appIdChangedCallback(void *data, org_kde_plasma_window *window, const char *app_id); static void pidChangedCallback(void *data, org_kde_plasma_window *window, uint32_t pid); + static void resourceNameChangedCallback(void *data, org_kde_plasma_window *window, const char *resourceName); static void stateChangedCallback(void *data, org_kde_plasma_window *window, uint32_t state); static void virtualDesktopChangedCallback(void *data, org_kde_plasma_window *window, int32_t number); static void themedIconNameChangedCallback(void *data, org_kde_plasma_window *window, const char *name); @@ -436,6 +438,7 @@ appmenuChangedCallback, activityEnteredCallback, activityLeftCallback, + resourceNameChangedCallback, }; void PlasmaWindow::Private::appmenuChangedCallback(void *data, org_kde_plasma_window *window, const char *service_name, const char *object_path) @@ -534,6 +537,18 @@ p->pid = pid; } +void PlasmaWindow::Private::resourceNameChangedCallback(void *data, org_kde_plasma_window *window, const char *resourceName) +{ + Q_UNUSED(window) + Private *p = cast(data); + const QString s = QString::fromUtf8(resourceName); + if (s == p->resourceName) { + return; + } + p->resourceName = s; + Q_EMIT p->q->resourceNameChanged(); +} + void PlasmaWindow::Private::virtualDesktopChangedCallback([[maybe_unused]] void *data, [[maybe_unused]] org_kde_plasma_window *window, [[maybe_unused]] int32_t number) @@ -925,6 +940,11 @@ return d->pid; } +QString PlasmaWindow::resourceName() const +{ + return d->resourceName; +} + QString PlasmaWindow::title() const { return d->title; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.93.0/src/client/plasmawindowmanagement.h new/kwayland-5.94.0/src/client/plasmawindowmanagement.h --- old/kwayland-5.93.0/src/client/plasmawindowmanagement.h 2022-04-02 12:04:14.000000000 +0200 +++ new/kwayland-5.94.0/src/client/plasmawindowmanagement.h 2022-05-12 11:50:17.000000000 +0200 @@ -418,6 +418,12 @@ * @since 5.35 */ quint32 pid() const; + /** + * @returns The X11 resource name for this window. + * This is only set for X11 windows. + * @since 5.94 + */ + QString resourceName() const; /** * Requests to activate the window. @@ -756,6 +762,13 @@ void geometryChanged(); /** + * This signal is emitted whenever the resource name changes. + * @see resourceName + * @since 5.94 + **/ + void resourceNameChanged(); + + /** * This signal is emitted when the window has entered a new virtual desktop. * The window can be on more than one desktop, or none: then is considered on all of them. * @since 5.46 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kwayland-5.93.0/src/client/registry.cpp new/kwayland-5.94.0/src/client/registry.cpp --- old/kwayland-5.93.0/src/client/registry.cpp 2022-04-02 12:04:14.000000000 +0200 +++ new/kwayland-5.94.0/src/client/registry.cpp 2022-05-12 11:50:17.000000000 +0200 @@ -158,7 +158,7 @@ &Registry::subCompositorRemoved }}, {Registry::Interface::PlasmaShell, { - 6, + 7, QByteArrayLiteral("org_kde_plasma_shell"), &org_kde_plasma_shell_interface, &Registry::plasmaShellAnnounced,