Hello community,

here is the log from the commit of package kwayland for openSUSE:Factory 
checked in at 2020-10-12 13:56:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kwayland (Old)
 and      /work/SRC/openSUSE:Factory/.kwayland.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kwayland"

Mon Oct 12 13:56:34 2020 rev:79 rq:840852 version:5.75.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kwayland/kwayland.changes        2020-09-18 
14:43:45.704128785 +0200
+++ /work/SRC/openSUSE:Factory/.kwayland.new.3486/kwayland.changes      
2020-10-12 13:58:17.970190701 +0200
@@ -1,0 +2,11 @@
+Mon Oct  5 08:33:38 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.75.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/kde-frameworks-5.75.0
+- Changes since 5.74.0:
+  * fix compile, last() is no iterator
+  * Don't cache QList::end() iterator if erase() is used
+
+-------------------------------------------------------------------

Old:
----
  kwayland-5.74.0.tar.xz
  kwayland-5.74.0.tar.xz.sig

New:
----
  kwayland-5.75.0.tar.xz
  kwayland-5.75.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kwayland.spec ++++++
--- /var/tmp/diff_new_pack.IscENW/_old  2020-10-12 13:58:18.602190963 +0200
+++ /var/tmp/diff_new_pack.IscENW/_new  2020-10-12 13:58:18.606190966 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define _tar_path 5.74
+%define _tar_path 5.75
 # 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.74.0
+Version:        5.75.0
 Release:        0
 Summary:        KDE Wayland library
 License:        LGPL-2.1-or-later


++++++ kwayland-5.74.0.tar.xz -> kwayland-5.75.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kwayland-5.74.0/CMakeLists.txt 
new/kwayland-5.75.0/CMakeLists.txt
--- old/kwayland-5.74.0/CMakeLists.txt  2020-09-06 11:33:03.000000000 +0200
+++ new/kwayland-5.75.0/CMakeLists.txt  2020-10-04 11:58:05.000000000 +0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.74.0") # handled by release scripts
+set(KF5_VERSION "5.75.0") # handled by release scripts
 project(KWayland VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.74.0  NO_MODULE)
+find_package(ECM 5.75.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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kwayland-5.74.0/src/client/outputdevice.cpp 
new/kwayland-5.75.0/src/client/outputdevice.cpp
--- old/kwayland-5.74.0/src/client/outputdevice.cpp     2020-09-06 
11:33:03.000000000 +0200
+++ new/kwayland-5.75.0/src/client/outputdevice.cpp     2020-10-04 
11:58:05.000000000 +0200
@@ -214,11 +214,11 @@
     if (flags & WL_OUTPUT_MODE_PREFERRED) {
         mode.flags |= Mode::Flag::Preferred;
     }
-    auto currentIt = modes.insert(modes.end(), mode);
+
     bool existing = false;
     if (flags & WL_OUTPUT_MODE_CURRENT) {
         auto it = modes.begin();
-        while (it != currentIt) {
+        while (it != modes.end()) {
             auto &m = (*it);
             if (m.flags.testFlag(Mode::Flag::Current)) {
                 m.flags &= ~Mode::Flags(Mode::Flag::Current);
@@ -231,8 +231,14 @@
                 it++;
             }
         }
-        currentMode = currentIt;
     }
+
+    // insert new mode after erase all repeat old mode
+    const auto last = modes.insert(modes.end(), mode);
+    if (flags & WL_OUTPUT_MODE_CURRENT) {
+        currentMode = last;
+    }
+
     if (existing) {
         emit q->modeChanged(mode);
     } else {


Reply via email to