Hello community,

here is the log from the commit of package kcompletion for openSUSE:Factory 
checked in at 2016-04-12 19:11:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcompletion (Old)
 and      /work/SRC/openSUSE:Factory/.kcompletion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcompletion"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcompletion/kcompletion.changes  2016-03-16 
10:28:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kcompletion.new/kcompletion.changes     
2016-04-12 19:11:49.000000000 +0200
@@ -1,0 +2,10 @@
+Mon Apr  4 14:19:11 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Update to 5.21.0 (boo#974793)
+  * KCompletionBox: force frameless window and don't set focus
+  * KCompletionBox should *not* be a tooltip
+  * Upgrade Qt version requirement to 5.4.0
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.21.0.php
+
+-------------------------------------------------------------------

Old:
----
  kcompletion-5.20.0.tar.xz

New:
----
  kcompletion-5.21.0.tar.xz

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

Other differences:
------------------
++++++ kcompletion.spec ++++++
--- /var/tmp/diff_new_pack.mWbaYd/_old  2016-04-12 19:11:50.000000000 +0200
+++ /var/tmp/diff_new_pack.mWbaYd/_new  2016-04-12 19:11:50.000000000 +0200
@@ -18,9 +18,9 @@
 
 %bcond_without lang
 %define lname   libKF5Completion5
-%define _tar_path 5.20
+%define _tar_path 5.21
 Name:           kcompletion
-Version:        5.20.0
+Version:        5.21.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 2.8.12
@@ -30,9 +30,9 @@
 BuildRequires:  kf5-filesystem
 BuildRequires:  kwidgetsaddons-devel >= %{_tar_path}
 %if %{with lang}
-BuildRequires:  cmake(Qt5LinguistTools) >= 5.3.0
+BuildRequires:  cmake(Qt5LinguistTools) >= 5.4.0
 %endif
-BuildRequires:  cmake(Qt5Widgets) >= 5.3.0
+BuildRequires:  cmake(Qt5Widgets) >= 5.4.0
 Summary:        Provides widgets with advanced completion support
 License:        LGPL-2.1+
 Group:          System/GUI/KDE
@@ -61,7 +61,7 @@
 Group:          Development/Libraries/KDE
 Requires:       %lname = %{version}
 Requires:       extra-cmake-modules
-Requires:       cmake(Qt5Widgets) >= 5.3.0
+Requires:       cmake(Qt5Widgets) >= 5.4.0
 
 %description devel
 KCompletion provides widgets with advanced completion support as well as a

++++++ kcompletion-5.20.0.tar.xz -> kcompletion-5.21.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.20.0/CMakeLists.txt 
new/kcompletion-5.21.0/CMakeLists.txt
--- old/kcompletion-5.20.0/CMakeLists.txt       2016-03-05 19:48:52.000000000 
+0100
+++ new/kcompletion-5.21.0/CMakeLists.txt       2016-04-03 22:46:12.000000000 
+0200
@@ -4,7 +4,7 @@
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.20.0  NO_MODULE)
+find_package(ECM 5.21.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
@@ -21,8 +21,8 @@
 
 include(ECMPoQmTools)
 
-set(KF5_VERSION "5.20.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.20.0") # handled by release scripts
+set(KF5_VERSION "5.21.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.21.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KCOMPLETION
   VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kcompletion_version.h"
@@ -30,7 +30,7 @@
   SOVERSION 5)
 
 # Dependencies
-set(REQUIRED_QT_VERSION "5.3.0")
+set(REQUIRED_QT_VERSION 5.4.0)
 
 find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Widgets)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcompletion-5.20.0/src/kcompletionbox.cpp 
new/kcompletion-5.21.0/src/kcompletionbox.cpp
--- old/kcompletion-5.20.0/src/kcompletionbox.cpp       2016-03-05 
19:48:52.000000000 +0100
+++ new/kcompletion-5.21.0/src/kcompletionbox.cpp       2016-04-03 
22:46:12.000000000 +0200
@@ -61,7 +61,11 @@
     upwardBox = false;
     emitSelected = true;
 
-    q->setWindowFlags(Qt::ToolTip);   // calls setVisible, so must be done 
after initializations
+    //we can't link to QXcbWindowFunctions::Combo
+    //also, q->setAttribute(Qt::WA_X11NetWmWindowTypeCombo); is broken in Qt 
xcb
+    q->setProperty("_q_xcb_wm_window_type", 0x001000);
+    q->setAttribute(Qt::WA_ShowWithoutActivating);
+    q->setWindowFlags(Qt::Window | Qt::FramelessWindowHint | 
Qt::BypassWindowManagerHint); // calls setVisible, so must be done after 
initializations
     q->setUniformItemSizes(true);
 
     q->setLineWidth(1);


Reply via email to