Hello community,
here is the log from the commit of package kwayland-integration for
openSUSE:Factory checked in at 2017-06-01 16:25:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwayland-integration (Old)
and /work/SRC/openSUSE:Factory/.kwayland-integration.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kwayland-integration"
Thu Jun 1 16:25:50 2017 rev:30 rq:498802 version:5.10.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/kwayland-integration/kwayland-integration.changes
2017-04-30 21:10:59.321903454 +0200
+++
/work/SRC/openSUSE:Factory/.kwayland-integration.new/kwayland-integration.changes
2017-06-01 16:25:51.313323517 +0200
@@ -1,0 +2,20 @@
+Fri May 26 14:10:30 CEST 2017 - [email protected]
+
+- Update to 5.10.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/plasma-5.10.0.php
+- Changes since 5.9.95:
+ * None
+
+-------------------------------------------------------------------
+Thu May 11 20:26:25 CEST 2017 - [email protected]
+
+- Update to 5.9.95
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/plasma-5.9.95.php
+- Changes since 5.9.5:
+ * Cleanup wayland resources used in kwindowsystem before they're deleted by
QPA (kde#374665)
+
+-------------------------------------------------------------------
Old:
----
kwayland-integration-5.9.5.tar.xz
New:
----
kwayland-integration-5.10.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kwayland-integration.spec ++++++
--- /var/tmp/diff_new_pack.vcAKst/_old 2017-06-01 16:25:52.285186479 +0200
+++ /var/tmp/diff_new_pack.vcAKst/_new 2017-06-01 16:25:52.289185915 +0200
@@ -17,17 +17,17 @@
Name: kwayland-integration
-Version: 5.9.5
+Version: 5.10.0
Release: 0
-# Full Plasma 5 version (e.g. 5.9.4)
+# Full Plasma 5 version (e.g. 5.8.95)
%{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}}
-# Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.4 in KUF)
+# Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.8.95 in KUF)
%{!?_plasma5_version: %global _plasma5_version %(echo %{_plasma5_bugfix} | awk
-F. '{print $1"."$2}')}
Summary: Integration plugins for various KDE frameworks for wayland
windowing system
License: LGPL-2.1+
Group: Development/Libraries/KDE
Url: http://www.kde.org
-Source:
http://download.kde.org/stable/plasma/%{version}/kwayland-integration-%{version}.tar.xz
+Source: kwayland-integration-%{version}.tar.xz
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 0.0.11
BuildRequires: kf5-filesystem
++++++ kwayland-integration-5.9.5.tar.xz -> kwayland-integration-5.10.0.tar.xz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kwayland-integration-5.9.5/CMakeLists.txt
new/kwayland-integration-5.10.0/CMakeLists.txt
--- old/kwayland-integration-5.9.5/CMakeLists.txt 2017-04-25
14:49:54.000000000 +0200
+++ new/kwayland-integration-5.10.0/CMakeLists.txt 2017-05-26
10:51:07.000000000 +0200
@@ -1,5 +1,5 @@
project(kwayland-integration)
-set(PROJECT_VERSION "5.9.5")
+set(PROJECT_VERSION "5.10.0")
set(PROJECT_VERSION_MAJOR 5)
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kwayland-integration-5.9.5/src/windowsystem/waylandintegration.cpp
new/kwayland-integration-5.10.0/src/windowsystem/waylandintegration.cpp
--- old/kwayland-integration-5.9.5/src/windowsystem/waylandintegration.cpp
2017-04-25 14:49:54.000000000 +0200
+++ new/kwayland-integration-5.10.0/src/windowsystem/waylandintegration.cpp
2017-05-26 10:51:07.000000000 +0200
@@ -26,6 +26,7 @@
#include <KWayland/Client/registry.h>
#include <KWayland/Client/compositor.h>
#include <KWayland/Client/plasmawindowmanagement.h>
+#include <KWayland/Client/plasmashell.h>
#include <KWayland/Client/surface.h>
#include <KWayland/Client/blur.h>
#include <KWayland/Client/contrast.h>
@@ -34,6 +35,8 @@
#include <KWindowSystem/KWindowSystem>
+#include <QGuiApplication>
+
class WaylandIntegrationSingleton
{
public:
@@ -63,6 +66,33 @@
m_registry->create(m_waylandConnection);
m_waylandCompositor = Compositor::fromApplication(this);
+ //when the Qt QPA closes it deletes the wl_display
+ //closing wl_display deletes the wl_registry
+ //when we destroy the kwayland wrapper we double delete
+ //as we're a singleton we're not deleted till after qApp
+ //we want to release our wayland parts first
+ connect(qApp, &QCoreApplication::aboutToQuit, this, [=]() {
+ if (m_waylandBlurManager) {
+ m_waylandBlurManager->release();
+ }
+ if (m_waylandContrastManager) {
+ m_waylandContrastManager->release();
+ }
+ if (m_waylandSlideManager) {
+ m_waylandSlideManager->release();
+ }
+ if (m_waylandCompositor) {
+ m_waylandCompositor->release();
+ }
+ if (m_wm) {
+ m_wm->release();
+ }
+ if (m_waylandPlasmaShell) {
+ m_waylandPlasmaShell->release();
+ }
+ m_registry->release();
+ });
+
m_registry->setup();
m_waylandConnection->roundtrip();
}