Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-10-01 08:13:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and      /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libqt5-qtbase"

Mon Oct  1 08:13:22 2018 rev:88 rq:638527 version:5.11.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes      
2018-09-18 11:41:22.244040294 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-10-01 08:13:44.506109565 +0200
@@ -1,0 +2,22 @@
+Wed Sep 26 14:16:33 UTC 2018 - [email protected]
+
+- Add patch to avoid lag on startup with the modesetting driver on
+  intel (QTBUG-70760):
+  * 0001-xcb-Don-t-get-initial-screen-rotation.patch
+
+-------------------------------------------------------------------
+Fri Sep 21 07:58:43 UTC 2018 - [email protected]
+
+- Update to 5.11.2
+  * New bugfix release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.11.2/?h=v5.11.2
+- Refresh patches:
+  * 0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
+  * tell-the-truth-about-private-api.patch
+- Remove patches, now upstream:
+  * 0001-Fix-qmake-build-with-glibc-2.28.patch
+- Add patch to fix build on 32-bit:
+  * Export-qt_open64-from-QtCore.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Fix-qmake-build-with-glibc-2.28.patch
  qtbase-everywhere-src-5.11.1.tar.xz

New:
----
  0001-xcb-Don-t-get-initial-screen-rotation.patch
  Export-qt_open64-from-QtCore.patch
  qtbase-everywhere-src-5.11.2.tar.xz

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

Other differences:
------------------
++++++ libqt5-qtbase.spec ++++++
--- /var/tmp/diff_new_pack.wD7kDC/_old  2018-10-01 08:13:46.506108275 +0200
+++ /var/tmp/diff_new_pack.wD7kDC/_new  2018-10-01 08:13:46.510108273 +0200
@@ -36,16 +36,16 @@
 %endif
 
 Name:           libqt5-qtbase
-Version:        5.11.1
+Version:        5.11.2
 Release:        0
 Summary:        C++ Program Library, Core Components
 License:        LGPL-2.1-with-Qt-Company-Qt-exception-1.1 or LGPL-3.0-only
 Group:          System/Libraries
 Url:            https://www.qt.io
 %define base_name libqt5
-%define real_version 5.11.1
-%define so_version 5.11.1
-%define tar_version qtbase-everywhere-src-5.11.1
+%define real_version 5.11.2
+%define so_version 5.11.2
+%define tar_version qtbase-everywhere-src-5.11.2
 Source:         
https://download.qt.io/official_releases/qt/5.11/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
 Source1:        libqt5-qtbase.changes
@@ -71,8 +71,8 @@
 # PATCH-FIX-UPSTREAM
 Patch19:        qapplication-emit-palettechanged.patch
 # patches 1000- 2000 and above from upstream 5.11 branch #
-# PATCH-FIX-UPSTREAM
-Patch1000:      0001-Fix-qmake-build-with-glibc-2.28.patch
+Patch1000:      Export-qt_open64-from-QtCore.patch
+Patch1001:      0001-xcb-Don-t-get-initial-screen-rotation.patch
 # patches 2000-3000 and above from upstream 5.12/dev branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel

++++++ 0001-xcb-Don-t-get-initial-screen-rotation.patch ++++++
>From 2283db90d8872df8cb3e1b2d6a3ba080b0bc687b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?B=C5=82a=C5=BCej=20Szczygie=C5=82?= <[email protected]>
Date: Tue, 25 Sep 2018 18:45:10 +0200
Subject: [PATCH] xcb: Don't get initial screen rotation

"xcb_randr_get_screen_info" can be slow and in some configurations can
cause short mouse cursor freezes (which will happen on Qt application
startup).

Initial rotation state (if differs than 0 degrees) is used only for
filtering first screen change notify event if nothing has changed.

Also remove unused variable.

Change-Id: I9f01325a045d2c82c4dd2fce91a18a34e54a4bcd
---
 src/plugins/platforms/xcb/qxcbscreen.cpp | 7 -------
 src/plugins/platforms/xcb/qxcbscreen.h   | 1 -
 2 files changed, 8 deletions(-)

diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp 
b/src/plugins/platforms/xcb/qxcbscreen.cpp
index 7f2793b2b7..a696e2a311 100644
--- a/src/plugins/platforms/xcb/qxcbscreen.cpp
+++ b/src/plugins/platforms/xcb/qxcbscreen.cpp
@@ -118,13 +118,6 @@ QXcbVirtualDesktop::QXcbVirtualDesktop(QXcbConnection 
*connection, xcb_screen_t
 
         xcb_depth_next(&depth_iterator);
     }
-
-    if (connection->hasXRandr()) {
-        xcb_connection_t *conn = connection->xcb_connection();
-        auto screen_info = Q_XCB_REPLY(xcb_randr_get_screen_info, conn, 
screen->root);
-        if (screen_info)
-            m_rotation = screen_info->rotation;
-    }
 }
 
 QXcbVirtualDesktop::~QXcbVirtualDesktop()
diff --git a/src/plugins/platforms/xcb/qxcbscreen.h 
b/src/plugins/platforms/xcb/qxcbscreen.h
index 6438669e7a..ae595dbda2 100644
--- a/src/plugins/platforms/xcb/qxcbscreen.h
+++ b/src/plugins/platforms/xcb/qxcbscreen.h
@@ -220,7 +220,6 @@ private:
     xcb_randr_crtc_t m_crtc;
     xcb_randr_mode_t m_mode = XCB_NONE;
     bool m_primary = false;
-    uint8_t m_rotation = XCB_RANDR_ROTATION_ROTATE_0;
 
     QString m_outputName;
     QSizeF m_outputSizeMillimeters;
-- 
2.18.0

++++++ 0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch ++++++
--- /var/tmp/diff_new_pack.wD7kDC/_old  2018-10-01 08:13:46.542108252 +0200
+++ /var/tmp/diff_new_pack.wD7kDC/_new  2018-10-01 08:13:46.542108252 +0200
@@ -14,27 +14,24 @@
  src/plugins/platforms/xcb/qxcbscreen.cpp | 10 +++++++++-
  1 file changed, 9 insertions(+), 1 deletion(-)
 
-diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp 
b/src/plugins/platforms/xcb/qxcbscreen.cpp
-index 7e898db17c..21076a0812 100644
---- a/src/plugins/platforms/xcb/qxcbscreen.cpp
-+++ b/src/plugins/platforms/xcb/qxcbscreen.cpp
-@@ -606,7 +606,15 @@ QDpi QXcbScreen::logicalDpi() const
+Index: qtbase-everywhere-src-5.11.2/src/plugins/platforms/xcb/qxcbscreen.cpp
+===================================================================
+--- qtbase-everywhere-src-5.11.2.orig/src/plugins/platforms/xcb/qxcbscreen.cpp
++++ qtbase-everywhere-src-5.11.2/src/plugins/platforms/xcb/qxcbscreen.cpp
+@@ -681,7 +681,15 @@ QDpi QXcbScreen::logicalDpi() const
      if (forcedDpi > 0) {
          return QDpi(forcedDpi, forcedDpi);
      }
--    return virtualDpi();
+-    return m_virtualDesktop->dpi();
 +
 +    // By default, X fakes the virtual size to be 96 dpi (+-rounding),
 +    // so if it's different the user overwrote it.
-+    if (qRound(virtualDpi().first) != 96 ||
-+        qRound(virtualDpi().second) != 96) {
-+        return virtualDpi();
++    if (qRound(m_virtualDesktop->dpi().first) != 96 ||
++        qRound(m_virtualDesktop->dpi().second) != 96) {
++        return m_virtualDesktop->dpi();
 +    }
 +
 +    return QDpi(m_pixelDensity * 96, m_pixelDensity * 96);
  }
  
  qreal QXcbScreen::pixelDensity() const
--- 
-2.17.1
-

++++++ Export-qt_open64-from-QtCore.patch ++++++
>From ba22a6731377c8604d13e3855204c03652c0a2e3 Mon Sep 17 00:00:00 2001
From: Thiago Macieira <[email protected]>
Date: Fri, 21 Sep 2018 09:04:24 -0700
Subject: [PATCH] Export qt_open64 from QtCore

Other libs use qcore_unix_p.h.

qopenglprogrambinarycache.cpp:function 
QOpenGLProgramBinaryCache::load(QByteArray const&, unsigned int): error: 
undefined reference to 'qt_open64(char const*, int, unsigned int)'

Change-Id: I44e7d800c68141bdaae0fffd155675d15eded2e4
---
 src/corelib/kernel/qcore_unix_p.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/corelib/kernel/qcore_unix_p.h 
b/src/corelib/kernel/qcore_unix_p.h
index cb98bef3476..5a2a29a3273 100644
--- a/src/corelib/kernel/qcore_unix_p.h
+++ b/src/corelib/kernel/qcore_unix_p.h
@@ -178,7 +178,7 @@ inline void qt_ignore_sigpipe()
 
 #if defined(Q_PROCESSOR_X86_32) && defined(__GLIBC__)
 #  if !__GLIBC_PREREQ(2, 22)
-int qt_open64(const char *pathname, int flags, mode_t);
+Q_CORE_EXPORT int qt_open64(const char *pathname, int flags, mode_t);
 #    undef QT_OPEN
 #    define QT_OPEN qt_open64
 #  endif
-- 
2.16.3

++++++ qtbase-everywhere-src-5.11.1.tar.xz -> 
qtbase-everywhere-src-5.11.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-everywhere-src-5.11.1.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new/qtbase-everywhere-src-5.11.2.tar.xz
 differ: char 27, line 1

++++++ tell-the-truth-about-private-api.patch ++++++
--- /var/tmp/diff_new_pack.wD7kDC/_old  2018-10-01 08:13:46.610108209 +0200
+++ /var/tmp/diff_new_pack.wD7kDC/_new  2018-10-01 08:13:46.610108209 +0200
@@ -1,8 +1,8 @@
-Index: qtbase-everywhere-src-5.10.0-rc1/mkspecs/features/qt_module.prf
+Index: qtbase-everywhere-src-5.11.2/mkspecs/features/qt_module.prf
 ===================================================================
---- qtbase-everywhere-src-5.10.0-rc1.orig/mkspecs/features/qt_module.prf
-+++ qtbase-everywhere-src-5.10.0-rc1/mkspecs/features/qt_module.prf
-@@ -216,9 +216,9 @@ android: CONFIG += qt_android_deps no_li
+--- qtbase-everywhere-src-5.11.2.orig/mkspecs/features/qt_module.prf
++++ qtbase-everywhere-src-5.11.2/mkspecs/features/qt_module.prf
+@@ -217,9 +217,9 @@ android: CONFIG += qt_android_deps no_li
      QMAKE_LFLAGS += $${QMAKE_LFLAGS_VERSION_SCRIPT}$$verscript
  
      internal_module {


Reply via email to