commit libqt5-qtbase for openSUSE:Factory

2020-11-03 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-11-03 15:15:37

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3463 (New)


Package is "libqt5-qtbase"

Tue Nov  3 15:15:37 2020 rev:113 rq:845064 version:5.15.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-10-18 16:30:07.608723305 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3463/libqt5-qtbase.changes
2020-11-03 15:15:50.135997888 +0100
@@ -1,0 +2,5 @@
+Wed Oct 28 13:22:24 UTC 2020 - Fabian Vogt 
+
+- Disable -reduce-relocations for now (boo#1175278, QTBUG-86173)
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.NDYiTv/_old  2020-11-03 15:15:51.615999313 +0100
+++ /var/tmp/diff_new_pack.NDYiTv/_new  2020-11-03 15:15:51.61317 +0100
@@ -834,6 +834,11 @@
 sed -i -e 's|^\(QMAKE_STRIP.*=\).*$|\1|g' mkspecs/common/linux.conf
 
 # -no-feature-relocatable is needed to support /usr/lib/sse2 etc., see 
QTBUG-78948
+# -reduce-relocations means copy relocations aren't allowed, and so special
+# flags like -fPIC need to be passed when building an application. This breaks
+# with LTO (PIE overrides that) and CMake (doesn't pass -fPIC when linking).
+# Due to a binutils bug/misunderstanding, this option didn't do as much before 
2.35,
+# so just disable it for now until a proper alternative appears.
 
 echo yes | ./configure \
-prefix %{_prefix} \
@@ -851,11 +856,7 @@
-sysconfdir %{libqt5_sysconfdir} \
-translationdir %{libqt5_translationdir} \
-verbose \
-%ifarch %ix86 x86_64
-   -reduce-relocations \
-%else
-no-reduce-relocations \
-%endif
 %ifarch %ix86
 %if 0%{?sle_version} < 15
-no-sse2 -no-pch \




commit libqt5-qtbase for openSUSE:Factory

2020-10-18 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-10-18 16:28:08

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3486 (New)


Package is "libqt5-qtbase"

Sun Oct 18 16:28:08 2020 rev:112 rq:841905 version:5.15.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-10-14 15:39:00.614358593 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3486/libqt5-qtbase.changes
2020-10-18 16:30:07.608723305 +0200
@@ -1,0 +2,6 @@
+Wed Oct 14 19:28:37 UTC 2020 - Stefan Brüns 
+
+- Silence xcb errors and qml connection warnings by default, see
+  boo#1115541 (xcb) and kde#418793.
+
+---

New:

  qtlogging.ini



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.eIO04K/_old  2020-10-18 16:30:08.684723784 +0200
+++ /var/tmp/diff_new_pack.eIO04K/_new  2020-10-18 16:30:08.688723785 +0200
@@ -51,6 +51,7 @@
 Source1:libqt5-qtbase.changes
 Source2:macros.qt5
 Source3:baselibs.conf
+Source4:qtlogging.ini
 Source99:   libqt5-qtbase-rpmlintrc
 # patches 0-1000 are openSUSE and/or non-upstream(able) patches #
 Patch1: 0001-Lower-required-version-of-OpenSSL-to-1.1.0.patch
@@ -966,6 +967,10 @@
 
 chmod 644 %{buildroot}%{libqt5_docdir}/global/template/images/*.png
 
+# Silence logging of xcb errors and qml deprecated connection
+# warnings by default
+install -Dm644 %{SOURCE4} %{buildroot}%{libqt5_datadir}/qtlogging.ini
+
 %post -n libQt5Core5 -p /sbin/ldconfig
 
 %post -n libQt5Concurrent5 -p /sbin/ldconfig
@@ -1048,6 +1053,8 @@
 %{libqt5_libdir}/sse2/libQt5Core.so.*
 %endif
 %endif
+%dir %{libqt5_datadir}
+%{libqt5_datadir}/qtlogging.ini
 
 %files -n libQt5Core-devel
 %license LICENSE.*

++ qtlogging.ini ++
[Rules]
qt.qpa.xcb.warning=false
qt.qml.connections.warning=false


commit libqt5-qtbase for openSUSE:Factory

2020-10-14 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-10-14 15:38:09

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3486 (New)


Package is "libqt5-qtbase"

Wed Oct 14 15:38:09 2020 rev:111 rq:841299 version:5.15.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-09-25 16:26:56.683646483 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3486/libqt5-qtbase.changes
2020-10-14 15:39:00.614358593 +0200
@@ -1,0 +2,6 @@
+Mon Oct 12 13:57:55 UTC 2020 - Stefan Brüns 
+
+- Remove some no longer required build dependencies: libpulse,
+  alsa (now used via QtMultimedia), libmng (obsolete).
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.80veur/_old  2020-10-14 15:39:01.986359071 +0200
+++ /var/tmp/diff_new_pack.80veur/_new  2020-10-14 15:39:01.990359072 +0200
@@ -71,12 +71,10 @@
 # patches 2000-3000 and above from upstream qt6/dev branch #
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
 Patch2001:  0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
-BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
-BuildRequires:  libmng-devel
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libproxy-devel
@@ -103,7 +101,6 @@
 BuildRequires:  pkgconfig(glesv2)
 %endif
 BuildRequires:  libicu-devel
-BuildRequires:  libpulse-devel
 BuildRequires:  tslib-devel
 %if %{vulkan}
 BuildRequires:  vulkan-devel




commit libqt5-qtbase for openSUSE:Factory

2020-09-25 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-09-25 16:24:17

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4249 (New)


Package is "libqt5-qtbase"

Fri Sep 25 16:24:17 2020 rev:110 rq:835995 version:5.15.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-09-14 12:07:21.839874805 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4249/libqt5-qtbase.changes
2020-09-25 16:26:56.683646483 +0200
@@ -1,0 +2,6 @@
+Mon Sep 21 09:55:25 UTC 2020 - Fabian Vogt 
+
+- Revert commit to fix screen geometry on startup (boo#1176750, QTBUG-86604):
+  * 0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch
+
+---

New:

  0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.HTMRmz/_old  2020-09-25 16:26:57.635647326 +0200
+++ /var/tmp/diff_new_pack.HTMRmz/_new  2020-09-25 16:26:57.639647329 +0200
@@ -66,6 +66,7 @@
 # PATCH-FIX-OPENSUSE
 Patch21:0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch
 Patch24:fix-fixqt4headers.patch
+Patch25:0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch
 # patches 1000-2000 and above from upstream 5.15 branch #
 # patches 2000-3000 and above from upstream qt6/dev branch #
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384

++ 0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch ++
>From b885b4a189db2889f3f934a18a9ffc17a9c9077f Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Sun, 20 Sep 2020 18:19:10 +0200
Subject: [PATCH] Revert "Emit QScreen::(availableG|g)eometryChanged() on
 logical DPI change"

This reverts commit 370289bef68d8505b66cb27150a3f596e23c5ed3.
---
 src/gui/kernel/qguiapplication.cpp | 10 --
 src/gui/kernel/qscreen.cpp | 24 +++-
 src/gui/kernel/qscreen_p.h |  2 --
 3 files changed, 11 insertions(+), 25 deletions(-)

diff --git a/src/gui/kernel/qguiapplication.cpp 
b/src/gui/kernel/qguiapplication.cpp
index 239a78313c..2eee145f27 100644
--- a/src/gui/kernel/qguiapplication.cpp
+++ b/src/gui/kernel/qguiapplication.cpp
@@ -3178,7 +3178,14 @@ void 
QGuiApplicationPrivate::processScreenGeometryChange(QWindowSystemInterfaceP
 updateFilteredScreenOrientation(s);
 }
 
-s->d_func()->emitGeometryChangeSignals(geometryChanged, 
availableGeometryChanged);
+if (availableGeometryChanged)
+emit s->availableGeometryChanged(s->availableGeometry());
+
+if (geometryChanged || availableGeometryChanged) {
+const auto siblings = s->virtualSiblings();
+for (QScreen* sibling : siblings)
+emit sibling->virtualGeometryChanged(sibling->virtualGeometry());
+}
 
 resetCachedDevicePixelRatio();
 }
@@ -3198,7 +3205,6 @@ void 
QGuiApplicationPrivate::processScreenLogicalDotsPerInchChange(QWindowSystem
 s->d_func()->logicalDpi = QDpi(e->dpiX, e->dpiY);
 
 emit s->logicalDotsPerInchChanged(s->logicalDotsPerInch());
-s->d_func()->updateGeometriesWithSignals();
 
 resetCachedDevicePixelRatio();
 }
diff --git a/src/gui/kernel/qscreen.cpp b/src/gui/kernel/qscreen.cpp
index df628fcc73..d5a4b7c027 100644
--- a/src/gui/kernel/qscreen.cpp
+++ b/src/gui/kernel/qscreen.cpp
@@ -77,33 +77,15 @@ QScreen::QScreen(QPlatformScreen *screen)
 d->setPlatformScreen(screen);
 }
 
-void QScreenPrivate::updateGeometriesWithSignals()
-{
-const QRect oldGeometry = geometry;
-const QRect oldAvailableGeometry = availableGeometry;
-updateHighDpi();
-emitGeometryChangeSignals(oldGeometry != geometry, oldAvailableGeometry != 
availableGeometry);
-}
-
-void QScreenPrivate::emitGeometryChangeSignals(bool geometryChanged, bool 
availableGeometryChanged)
-{
-Q_Q(QScreen);
-if (availableGeometryChanged)
-emit q->availableGeometryChanged(availableGeometry);
-
-if (geometryChanged || availableGeometryChanged) {
-const auto siblings = q->virtualSiblings();
-for (QScreen* sibling : siblings)
-emit sibling->virtualGeometryChanged(sibling->virtualGeometry());
-}
-}
-
 void QScreenPrivate::setPlatformScreen(QPlatformScreen *screen)
 {
 Q_Q(QScreen);
 platformScreen = screen;
 platformScreen->d_func()->screen = q;
 orientation = platformScreen->orientation();
+geometry = platformScreen->deviceIndependentGeometry();
+availableGeometry = 
QHighDpi::fromNative(platformScreen->availableGeometry(),
+QHighDpiScaling::factor(plat

commit libqt5-qtbase for openSUSE:Factory

2020-09-14 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-09-14 12:05:40

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4249 (New)


Package is "libqt5-qtbase"

Mon Sep 14 12:05:40 2020 rev:109 rq:833635 version:5.15.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-07-09 13:16:04.25267 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4249/libqt5-qtbase.changes
2020-09-14 12:07:21.839874805 +0200
@@ -1,0 +2,13 @@
+Thu Sep 10 07:57:00 UTC 2020 - Fabian Vogt 
+
+- Update to 5.15.1:
+  * New bugfix release
+  * Fixes CVE-2020-17507
+  * For more details please see:
+http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.15.1/?h=5.15.1
+- Drop patches, now upstream:
+  * 0001-Do-not-multithread-if-already-in-a-global-threadpool.patch
+  * 0001-Fix-QToolButton-menus-showing-on-primary-screens-in-.patch
+- Adjust fix-build-openssl-1.1.0.patch
+
+---

Old:

  0001-Do-not-multithread-if-already-in-a-global-threadpool.patch
  0001-Fix-QToolButton-menus-showing-on-primary-screens-in-.patch
  qtbase-everywhere-src-5.15.0.tar.xz

New:

  qtbase-everywhere-src-5.15.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.YwttoU/_old  2020-09-14 12:07:44.363897959 +0200
+++ /var/tmp/diff_new_pack.YwttoU/_new  2020-09-14 12:07:44.363897959 +0200
@@ -36,16 +36,16 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.15.0
+Version:5.15.1
 Release:0
 Summary:C++ Program Library, Core Components
 License:LGPL-3.0-only or GPL-3.0-with-Qt-Company-Qt-exception-1.1
 Group:  System/Libraries
 Url:https://www.qt.io
 %define base_name libqt5
-%define real_version 5.15.0
-%define so_version 5.15.0
-%define tar_version qtbase-everywhere-src-5.15.0
+%define real_version 5.15.1
+%define so_version 5.15.1
+%define tar_version qtbase-everywhere-src-5.15.1
 Source: 
https://download.qt.io/official_releases/qt/5.15/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
 Source1:libqt5-qtbase.changes
@@ -67,12 +67,9 @@
 Patch21:0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch
 Patch24:fix-fixqt4headers.patch
 # patches 1000-2000 and above from upstream 5.15 branch #
-Patch1000:  0001-Do-not-multithread-if-already-in-a-global-threadpool.patch
 # patches 2000-3000 and above from upstream qt6/dev branch #
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
 Patch2001:  0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
-# Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/303786
-Patch2002:  0001-Fix-QToolButton-menus-showing-on-primary-screens-in-.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++ fix-build-openssl-1.1.0.patch ++
--- /var/tmp/diff_new_pack.YwttoU/_old  2020-09-14 12:07:44.419898017 +0200
+++ /var/tmp/diff_new_pack.YwttoU/_new  2020-09-14 12:07:44.419898017 +0200
@@ -3,11 +3,21 @@
 
 Leap 15.1 still has it and we can't switch away without breaking the world.
 
-Index: 
qtbase-everywhere-src-5.15.0-rc/src/network/ssl/qsslsocket_openssl_symbols.cpp
+Index: 
qtbase-everywhere-src-5.15.1/src/network/ssl/qsslsocket_openssl_symbols.cpp
 ===
 
qtbase-everywhere-src-5.15.0-rc.orig/src/network/ssl/qsslsocket_openssl_symbols.cpp
-+++ 
qtbase-everywhere-src-5.15.0-rc/src/network/ssl/qsslsocket_openssl_symbols.cpp
-@@ -373,7 +373,7 @@ DEFINEFUNC3(void, SSL_set_bio, SSL *a, a
+--- 
qtbase-everywhere-src-5.15.1.orig/src/network/ssl/qsslsocket_openssl_symbols.cpp
 qtbase-everywhere-src-5.15.1/src/network/ssl/qsslsocket_openssl_symbols.cpp
+@@ -146,7 +146,9 @@ DEFINEFUNC2(int, BN_is_word, BIGNUM *a,
+ DEFINEFUNC(int, EVP_CIPHER_CTX_reset, EVP_CIPHER_CTX *c, c, return 0, return)
+ DEFINEFUNC(int, EVP_PKEY_up_ref, EVP_PKEY *a, a, return 0, return)
+ DEFINEFUNC2(EVP_PKEY_CTX *, EVP_PKEY_CTX_new, EVP_PKEY *pkey, pkey, ENGINE 
*e, e, return nullptr, return)
++#if OPENSSL_VERSION_NUMBER >= 0x10101000L
+ DEFINEFUNC(int, EVP_PKEY_param_check, EVP_PKEY_CTX *ctx, ctx, return 0, 
return)
++#endif
+ DEFINEFUNC(void, EVP_PKEY_CTX_free, EVP_PKEY_CTX *ctx, ctx, return, return)
+ DEFINEFUNC(int, EVP_PKEY_base_id, EVP_PKEY *a, a, return NID_undef, return)
+ DEFINEFUNC(int, RSA_bits, RSA *a, a, return 0, return)
+@@ -376,7 +378,7 @@ DEFINEFUNC3(void, SSL_set_bio, SSL *a, a
  DEFINEFUNC(void, SSL_set_accept_state,

commit libqt5-qtbase for openSUSE:Factory

2020-07-09 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-07-09 13:15:56

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3060 (New)


Package is "libqt5-qtbase"

Thu Jul  9 13:15:56 2020 rev:108 rq:818846 version:5.15.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-06-11 14:47:40.797903022 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3060/libqt5-qtbase.changes
2020-07-09 13:16:04.25267 +0200
@@ -1,0 +2,6 @@
+Sun Jul  5 10:16:48 UTC 2020 - Fabian Vogt 
+
+- Add patch to prevent stuck image conversion (boo#1172599, QTBUG-84619):
+  * 0001-Do-not-multithread-if-already-in-a-global-threadpool.patch
+
+---

New:

  0001-Do-not-multithread-if-already-in-a-global-threadpool.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.0X9yYl/_old  2020-07-09 13:16:06.348651072 +0200
+++ /var/tmp/diff_new_pack.0X9yYl/_new  2020-07-09 13:16:06.352651084 +0200
@@ -67,6 +67,7 @@
 Patch21:0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch
 Patch24:fix-fixqt4headers.patch
 # patches 1000-2000 and above from upstream 5.15 branch #
+Patch1000:  0001-Do-not-multithread-if-already-in-a-global-threadpool.patch
 # patches 2000-3000 and above from upstream qt6/dev branch #
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
 Patch2001:  0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch

++ 0001-Do-not-multithread-if-already-in-a-global-threadpool.patch ++
>From 5801eb483cce1a9c459b3e86d57dc6fe6f643480 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen 
Date: Tue, 2 Jun 2020 10:59:21 +0200
Subject: [PATCH] Do not multithread if already in a global threadpool thread

This can lead to a deadlock if we block all the worker threads, waiting
for the worker threads to finish.

Fixes: QTBUG-84619
Change-Id: I92b7f96007897d86ece0c34223bab0df4ccbed9a
Reviewed-by: Sona Kurazyan 
(cherry picked from commit 87d32424de2f471a520c1f3ba0c3035fbff7ee06)
Reviewed-by: Qt Cherry-pick Bot 
---
 src/corelib/thread/qthreadpool.cpp| 24 
 src/corelib/thread/qthreadpool.h  |  2 ++
 src/gui/image/qimage.cpp  |  7 ---
 src/gui/image/qimage_conversions.cpp  | 15 +--
 src/gui/painting/qimagescale.cpp  |  5 +++--
 src/gui/painting/qimagescale_neon.cpp |  5 +++--
 src/gui/painting/qimagescale_sse4.cpp |  5 +++--
 7 files changed, 48 insertions(+), 15 deletions(-)

diff --git a/src/corelib/thread/qthreadpool.cpp 
b/src/corelib/thread/qthreadpool.cpp
index 44cdf071df..a583298f01 100644
--- a/src/corelib/thread/qthreadpool.cpp
+++ b/src/corelib/thread/qthreadpool.cpp
@@ -52,6 +52,7 @@ Q_GLOBAL_STATIC(QThreadPool, theInstance)
 */
 class QThreadPoolThread : public QThread
 {
+Q_OBJECT
 public:
 QThreadPoolThread(QThreadPoolPrivate *manager);
 void run() override;
@@ -745,6 +746,28 @@ void QThreadPool::clear()
 d->clear();
 }
 
+#if QT_VERSION < QT_VERSION_CHECK(6,0,0)
+/*!
+\internal
+
+Returns \c true if \a thread is a thread managed by this thread pool.
+*/
+#else
+/*!
+\since 6.0
+
+Returns \c true if \a thread is a thread managed by this thread pool.
+*/
+#endif
+bool QThreadPool::contains(const QThread *thread) const
+{
+Q_D(const QThreadPool);
+const QThreadPoolThread *poolThread = qobject_cast(thread);
+if (!poolThread)
+return false;
+return d->allThreads.contains(const_cast(poolThread));
+}
+
 #if QT_DEPRECATED_SINCE(5, 9)
 /*!
 \since 5.5
@@ -766,3 +789,4 @@ void QThreadPool::cancel(QRunnable *runnable)
 QT_END_NAMESPACE
 
 #include "moc_qthreadpool.cpp"
+#include "qthreadpool.moc"
diff --git a/src/corelib/thread/qthreadpool.h b/src/corelib/thread/qthreadpool.h
index e3691ab010..004f76a240 100644
--- a/src/corelib/thread/qthreadpool.h
+++ b/src/corelib/thread/qthreadpool.h
@@ -93,6 +93,8 @@ public:
 
 void clear();
 
+bool contains(const QThread *thread) const;
+
 #if QT_DEPRECATED_SINCE(5, 9)
 QT_DEPRECATED_X("use tryTake(), but note the different deletion rules")
 void cancel(QRunnable *runnable);
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index 2646d298e9..17c31cd8ae 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -5047,15 +5047,16 @@ void QImage::applyColorTransform(const QColorTransform 
&transform)
 };
 }
 
-#if QT_CONFIG(thread)
+#if QT_CONFIG(thread) && !defined(Q_OS_WASM)
 int segments = sizeInBytes() / (1<<16);
 segments = std::min(segments, he

commit libqt5-qtbase for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-06-11 14:47:14

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3606 (New)


Package is "libqt5-qtbase"

Thu Jun 11 14:47:14 2020 rev:107 rq:813289 version:5.15.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-05-29 21:14:13.598487679 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3606/libqt5-qtbase.changes
2020-06-11 14:47:40.797903022 +0200
@@ -1,0 +2,6 @@
+Wed Jun 10 12:31:44 UTC 2020 - Fabian Vogt 
+
+- Add patch to fix tool menu placement (boo#1172754, QTBUG-84462):
+  * 0001-Fix-QToolButton-menus-showing-on-primary-screens-in-.patch
+
+---

New:

  0001-Fix-QToolButton-menus-showing-on-primary-screens-in-.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.nt6bsF/_old  2020-06-11 14:47:42.857909023 +0200
+++ /var/tmp/diff_new_pack.nt6bsF/_new  2020-06-11 14:47:42.861909035 +0200
@@ -66,10 +66,12 @@
 # PATCH-FIX-OPENSUSE
 Patch21:0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch
 Patch24:fix-fixqt4headers.patch
-# patches 1000-2000 and above from upstream 5.14 branch #
-# patches 2000-3000 and above from upstream 5.15/dev branch #
+# patches 1000-2000 and above from upstream 5.15 branch #
+# patches 2000-3000 and above from upstream qt6/dev branch #
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
 Patch2001:  0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
+# Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/303786
+Patch2002:  0001-Fix-QToolButton-menus-showing-on-primary-screens-in-.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++ 0001-Fix-QToolButton-menus-showing-on-primary-screens-in-.patch ++
>From f16d0e41bb638ffc1d83ca48321073eca1b86b42 Mon Sep 17 00:00:00 2001
From: Friedemann Kleint 
Date: Wed, 10 Jun 2020 11:26:00 +0200
Subject: [PATCH] Fix QToolButton menus showing on primary screens in
 multiscreen setups

Calculate an initial position based on the current size hint
and pass it to QMenuPrivate::exec(), which does screen checks
based on it.

Amends a78d66743171557d79b16c08be775e3ac15bb4ef.

Pick-to: 5.15
Fixes: QTBUG-84462
Task-number: QTBUG-78966
Change-Id: Icae8d2bc0fb50c4c853cfebaa2b2250fc06542e3
---
 src/widgets/widgets/qtoolbutton.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/widgets/widgets/qtoolbutton.cpp 
b/src/widgets/widgets/qtoolbutton.cpp
index edd4788806..0b090d2bac 100644
--- a/src/widgets/widgets/qtoolbutton.cpp
+++ b/src/widgets/widgets/qtoolbutton.cpp
@@ -805,7 +805,8 @@ void QToolButtonPrivate::popupTimerDone()
 // QTBUG-78966, Delay positioning until after aboutToShow().
 auto positionFunction = [q, horizontal](const QSize &sizeHint) {
 return positionMenu(q, horizontal, sizeHint); };
-actualMenu->d_func()->exec({}, nullptr, positionFunction);
+const auto initialPos = positionFunction(actualMenu->sizeHint());
+actualMenu->d_func()->exec(initialPos, nullptr, positionFunction);
 
 if (!that)
 return;
-- 
2.25.1




commit libqt5-qtbase for openSUSE:Factory

2020-05-29 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-05-29 21:13:53

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3606 (New)


Package is "libqt5-qtbase"

Fri May 29 21:13:53 2020 rev:106 rq:809287 version:5.15.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-04-29 20:42:29.499659742 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.3606/libqt5-qtbase.changes
2020-05-29 21:14:13.598487679 +0200
@@ -1,0 +2,30 @@
+Wed May 27 08:48:52 UTC 2020 - Fabian Vogt 
+
+- Add patch to avoid behaviour change causing crashes (kde#419526):
+  * 0001-Revert-QMenu-hide-when-a-QWidgetAction-fires-the-tri.patch
+
+---
+Tue May 26 09:44:55 UTC 2020 - Callum Farmer 
+
+- Update to 5.15.0:
+  * No changelog available
+
+---
+Wed May 20 15:38:18 UTC 2020 - Callum Farmer 
+
+- Update to 5.15.0-rc2
+  * No changelog available
+
+---
+Wed May  6 11:26:35 UTC 2020 - Fabian Vogt 
+
+- Update to 5.15.0-rc:
+  * New bugfix release
+  * For the changes between 5.14.2 and 5.15.0 please see:
+http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.15.0/?h=5.15.0
+- Drop patches, now upstream:
+  * 0001-QTextMarkdownImporter-fix-use-after-free-add-fuzz-ge.patch
+- Add patch to fix build on Leap 15.1:
+  * fix-build-openssl-1.1.0.patch
+
+---
@@ -5,0 +36,44 @@
+
+---
+Fri Apr 24 07:11:04 UTC 2020 - Fabian Vogt 
+
+- Update to 5.15.0-beta4:
+  * New bugfix release
+  * No changelog available
+
+---
+Tue Apr 14 06:47:19 UTC 2020 - Fabian Vogt 
+
+- Update to 5.15.0-beta3:
+  * New bugfix release
+  * No changelog available
+- Add patch to fix build on Leap 15.1:
+  * 0001-Lower-required-version-of-OpenSSL-to-1.1.0.patch
+
+---
+Tue Mar 24 12:13:29 UTC 2020 - Fabian Vogt 
+
+- Update to 5.15.0-beta2:
+  * New bugfix release
+  * No changelog available
+
+---
+Fri Feb 28 09:58:42 UTC 2020 - Fabian Vogt 
+
+- Update to 5.15.0-beta1:
+  * New bugfix release
+  * No changelog available
+
+---
+Wed Feb 19 10:16:14 UTC 2020 - Fabian Vogt 
+
+- Update to 5.15.0-alpha:
+  * New feature release
+  * For more details please see:
+https://wiki.qt.io/New_Features_in_Qt_5.15
+- Replace patches with single patch
+  0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch:
+  * 0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
+  * 0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch:
+  * 0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
+- Refresh 0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch

Old:

  0001-QTextMarkdownImporter-fix-use-after-free-add-fuzz-ge.patch
  0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
  0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
  0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
  qtbase-everywhere-src-5.14.1.tar.xz

New:

  0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch
  0001-Lower-required-version-of-OpenSSL-to-1.1.0.patch
  0001-Revert-QMenu-hide-when-a-QWidgetAction-fires-the-tri.patch
  fix-build-openssl-1.1.0.patch
  qtbase-everywhere-src-5.15.0.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.GqngZd/_old  2020-05-29 21:14:17.030498023 +0200
+++ /var/tmp/diff_new_pack.GqngZd/_new  2020-05-29 21:14:17.034498035 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -36,23 +36,26 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.14.1
+Version:5.15.0
 Release:0
 Summary:C++ Program Library, Co

commit libqt5-qtbase for openSUSE:Factory

2020-01-30 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-01-30 09:38:42

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.26092 (New)


Package is "libqt5-qtbase"

Thu Jan 30 09:38:42 2020 rev:104 rq:768104 version:5.14.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2020-01-19 20:57:06.292039764 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.26092/libqt5-qtbase.changes   
2020-01-30 09:39:15.237421171 +0100
@@ -1,0 +2,15 @@
+Mon Jan 27 13:13:57 UTC 2020 - Fabian Vogt 
+
+- Update to 5.14.1:
+  * New bugfix release
+  * Fixes CVE-2020-0570
+  * For more details please see:
+http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.14.1/?h=v5.14.1
+- Drop patch, should be addressed by applications meanwhile:
+  * 0001-Revert-Always-escape-the-table-names-when-creating-t.patch
+- Drop patches, now upstream:
+  * 0001-Revert-Fix-text-rendering-regression-on-semi-transpa.patch
+  * 0002-Revert-Fix-crash-with-gamma-corrected-text-blending-.patch
+  * 0003-Revert-Handle-transparent-pen-color-in-fast-text-pat.patch
+
+---

Old:

  0001-Revert-Always-escape-the-table-names-when-creating-t.patch
  0001-Revert-Fix-text-rendering-regression-on-semi-transpa.patch
  0002-Revert-Fix-crash-with-gamma-corrected-text-blending-.patch
  0003-Revert-Handle-transparent-pen-color-in-fast-text-pat.patch
  qtbase-everywhere-src-5.14.0.tar.xz

New:

  qtbase-everywhere-src-5.14.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.7zRCld/_old  2020-01-30 09:39:20.485423979 +0100
+++ /var/tmp/diff_new_pack.7zRCld/_new  2020-01-30 09:39:20.489423982 +0100
@@ -36,16 +36,16 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.14.0
+Version:5.14.1
 Release:0
 Summary:C++ Program Library, Core Components
 License:LGPL-3.0-only or GPL-3.0-with-Qt-Company-Qt-exception-1.1
 Group:  System/Libraries
 Url:https://www.qt.io
 %define base_name libqt5
-%define real_version 5.14.0
-%define so_version 5.14.0
-%define tar_version qtbase-everywhere-src-5.14.0
+%define real_version 5.14.1
+%define so_version 5.14.1
+%define tar_version qtbase-everywhere-src-5.14.1
 Source: 
https://download.qt.io/official_releases/qt/5.14/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
 Source1:libqt5-qtbase.changes
@@ -65,12 +65,6 @@
 Patch22:0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
 Patch23:0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
 Patch24:fix-fixqt4headers.patch
-# Revert to restore compatibility with akonadi and possibly other applications
-Patch30:0001-Revert-Always-escape-the-table-names-when-creating-t.patch
-# Reverts to avoid text rendering bug (QTBUG-80982)
-Patch40:  0001-Revert-Fix-text-rendering-regression-on-semi-transpa.patch
-Patch41:  0002-Revert-Fix-crash-with-gamma-corrected-text-blending-.patch
-Patch42:  0003-Revert-Handle-transparent-pen-color-in-fast-text-pat.patch
 # patches 1000-2000 and above from upstream 5.14 branch #
 # patches 2000-3000 and above from upstream 5.15/dev branch #
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384

++ qtbase-everywhere-src-5.14.0.tar.xz -> 
qtbase-everywhere-src-5.14.1.tar.xz ++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-everywhere-src-5.14.0.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new.26092/qtbase-everywhere-src-5.14.1.tar.xz
 differ: char 25, line 1




commit libqt5-qtbase for openSUSE:Factory

2020-01-19 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2020-01-19 20:55:21

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.26092 (New)


Package is "libqt5-qtbase"

Sun Jan 19 20:55:21 2020 rev:103 rq:759684 version:5.14.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-09-21 17:28:44.272735494 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.26092/libqt5-qtbase.changes   
2020-01-19 20:57:06.292039764 +0100
@@ -1,0 +2,92 @@
+Fri Dec 27 13:07:32 UTC 2019 - Fabian Vogt 
+
+- Update license tag
+
+---
+Thu Dec 26 00:05:29 UTC 2019 - Fabian Vogt 
+
+- Add patches to avoid regression with rendering of translucent text
+  (QTBUG-80982):
+  * 0001-Revert-Fix-text-rendering-regression-on-semi-transpa.patch
+  * 0002-Revert-Fix-crash-with-gamma-corrected-text-blending-.patch
+  * 0003-Revert-Handle-transparent-pen-color-in-fast-text-pat.patch
+
+---
+Thu Dec 12 12:40:51 UTC 2019 - Fabian Vogt 
+
+- Update to 5.14.0:
+  * New bugfix release
+  * For the changes between 5.13.2 and 5.14.0 please see:
+https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.14.0?h=v5.14.0
+  * For the changes between 5.13.1 and 5.13.2 please see:
+https://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.13.2?h=v5.14.0
+
+---
+Wed Dec  4 14:37:31 UTC 2019 - Fabian Vogt 
+
+- Update to 5.14.0-rc:
+  * New bugfix release
+  * No changelog available
+  * For more details please see:
+  * For more details about Qt 5.14 please see:
+https://wiki.qt.io/New_Features_in_Qt_5.14
+- Drop patch, Qt behaviour changed now and applications can deal with
+  it meanwhile:
+  * 0001-Revert-QWidgetWindow-Immediately-forward-close-event.patch
+
+---
+Tue Nov 12 13:00:31 UTC 2019 - Fabian Vogt 
+
+- Update to 5.14.0-beta3:
+  * New bugfix release
+  * No changelog available
+- Drop libqt5-Fix-Gujarati-font.patch, didn't apply anymore:
+  * Was probably fixed upstream a lng time ago (QTBUG-44568)
+
+---
+Thu Oct 24 13:22:25 UTC 2019 - Fabian Vogt 
+
+- Update to 5.14.0-beta2:
+  * New bugfix release
+  * No changelog available
+- Refresh patches:
+  * 0001-Revert-Always-escape-the-table-names-when-creating-t.patch
+
+---
+Tue Oct 15 12:34:20 UTC 2019 - Fabian Vogt 
+
+- Update to 5.14.0-beta1:
+  * New bugfix release
+  * No changelog available
+- Drop patches, now upstream:
+  * 0001-tslib-plugin-remove-debug-print-on-old-tslib-version.patch
+  * 0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch
+
+---
+Wed Oct  2 19:53:24 UTC 2019 - Fabian Vogt 
+
+- Disable relocatability, it breaks /usr/lib/sse2 (QTBUG-78948)
+
+---
+Mon Sep 30 13:29:55 UTC 2019 - Fabian Vogt 
+
+- Update to 5.14.0-alpha:
+  * New feature release
+  * No changelog available
+  * For more details about Qt 5.14 please see:
+https://wiki.qt.io/New_Features_in_Qt_5.14
+- Refresh patches:
+  * 0001-Add-remote-print-queue-support.patch
+- Drop patches, don't apply anymore after upstream refactoring and the
+  main bug for them seems fixed:
+  * 0001-Sanitize-QXcbScreen-s-pixelDensity-values.patch
+  * 0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
+- Drop patches, now upstream:
+  * 0001-Fix-notification-of-QDockWidget-when-it-gets-undocke.patch
+  * 0001-Fix-CMake-config-files-for-libdir-different-from-lib.patch
+  * 0001-Fix-qfloat16-methods-definition-without-declaration-.patch
+- Enable zstd support again, issues got fixed upstream meanwhile
+- Add patch to fix build against older tslib:
+  * 0001-tslib-plugin-remove-debug-print-on-old-tslib-version.patch
+
+---

Old:

  0001-Fix-CMake-config-files-for-libdir-different-from-lib.patch
  0001-Fix-notification-of-QDockWidget-when-it-gets-undocke.patch
  0001-Fix-qfloat16-methods-definition-without-declaration-.patch
  0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch
  0001-Revert-QWidgetWindow-Immediately-forward-close-event.patch
  0001-Sanitize-QXcbScreen-s-pixelDensity-values.patch
  0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
  libqt5-Fix-Gujarati-font.patch
  qtbase-everywhere-src-5.13.1.tar.xz

New:

  0001-Revert-Fix-text-rendering-regression-on-semi-transpa.pat

commit libqt5-qtbase for openSUSE:Factory

2019-09-21 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-09-21 17:28:42

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948 (New)


Package is "libqt5-qtbase"

Sat Sep 21 17:28:42 2019 rev:102 rq:731898 version:5.13.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-09-09 12:29:29.933625509 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948/libqt5-qtbase.changes
2019-09-21 17:28:44.272735494 +0200
@@ -1,0 +2,6 @@
+Thu Sep 19 08:08:00 UTC 2019 - Fabian Vogt 
+
+- Add patch to fix focus in some cases (QTBUG-77364):
+  * 0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch
+
+---
@@ -384 +390 @@
-- Add patches to improve OOTB experience with HiDPI:
+- Add patches to improve OOTB experience with HiDPI (boo#1089932):
@@ -431,0 +438,6 @@
+- Includes fix to prevent crash with pixmap cursors on XRender-less
+  X servers (bsc#1108889, QTBUG-66935)
+- Includes fix to load libGL.so.1 library if there's no libGL.so symlink
+  (boo#1099874, QTBUG-67537)
+- Includes fix to allow to disable logging of XCB errors (boo#1115541,
+  QTBUG-55167)
@@ -507 +519 @@
-  (QT_DISABLE_PRINTER_DISCOVERY is no longer used).
+  (QT_DISABLE_PRINTER_DISCOVERY is no longer used) (fixes boo#1064872)
@@ -617 +629 @@
-- Add patch to fix plugin loading with newer MariaDB versions:
+- Add patch to fix plugin loading with newer MariaDB versions (boo#1080048):
@@ -625 +637 @@
-  after dragging an icon on the desktop in plasma (QTBUG-66103).
+  after dragging an icon on the desktop in plasma (QTBUG-66103, boo#1080044).

New:

  0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.rEplxK/_old  2019-09-21 17:28:45.728735510 +0200
+++ /var/tmp/diff_new_pack.rEplxK/_new  2019-09-21 17:28:45.732735510 +0200
@@ -83,6 +83,8 @@
 Patch2001:  0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/273050
 Patch2002:  0001-Fix-CMake-config-files-for-libdir-different-from-lib.patch
+# Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/273365
+Patch2003:  0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++ 0001-QWidget-setFocusProxy-adjust-focus-widget-properly.patch ++
>From c09cf578bd7267b867326101cd2d0f39e7c814fe Mon Sep 17 00:00:00 2001
From: David Faure 
Date: Mon, 9 Sep 2019 18:12:26 +0200
Subject: [PATCH] QWidget::setFocusProxy: adjust focus widget properly

My commit 3e7463411e adjusted the focus widget by setting
QApplicationPrivate::focus_widget directly, while there is a method for
doing this properly, including setFocus_sys() and emitting signals.

Fixes: QTBUG-77364
Change-Id: I218acf7a9de39173d282ced46def4f65594f80b4
---
 src/widgets/kernel/qwidget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index cf5a81c204..6889c2e9e5 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -6204,7 +6204,7 @@ void QWidget::setFocusProxy(QWidget * w)
 
 if (changingAppFocusWidget) {
 QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
-QApplicationPrivate::focus_widget = newDeepestFocusProxy ? 
newDeepestFocusProxy : this;
+QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? 
newDeepestFocusProxy : this, Qt::NoFocusReason);
 }
 }
 
-- 
2.22.0




commit libqt5-qtbase for openSUSE:Factory

2019-09-09 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-09-09 12:29:28

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948 (New)


Package is "libqt5-qtbase"

Mon Sep  9 12:29:28 2019 rev:101 rq:729199 version:5.13.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-09-07 11:30:14.414458148 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948/libqt5-qtbase.changes
2019-09-09 12:29:29.933625509 +0200
@@ -1,0 +2,23 @@
+Fri Sep  6 08:03:13 UTC 2019 - Fabian Vogt 
+
+- Update to 5.13.1:
+  * New bugfix release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.13.1/?h=v5.13.1
+- Refresh patches:
+  * 0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
+- Drop patches, now upstream:
+  * 0001-Decrease-focusInTimer-timer-from-400-to-200.patch
+  * 0003-Add-an-ID-for-recognition-of-UGEE-tablets.patch
+  * 0001-Fix-crash-with-drag-cursor-handling.patch
+  * 0001-Fix-meta-file-replacements-if-matches-are-empty.patch
+  * 0002-Do-not-write-Libs-into-.pc-files-if-TEMPLATE-is-not-.patch
+  * 0003-Make-sure-.pc-.prl-and-.la-files-are-created-for-hea.patch
+- Replace reverts with upstream fix:
+  * D 0001-Revert-Fix-QMAKE_PRL_INSTALL_REPLACE-for-macOS.patch
+  * D 0001-Revert-qmake-link-qt-libraries-by-full-path.patch
+  * D 0002-Revert-Replace-absolute-Qt-lib-dir-in-.prl-files.patch
+  * D 0003-Revert-Fix-prl-replacements-if-libdir-is-in-QMAKE_DE.patch
+  * A 0001-Fix-CMake-config-files-for-libdir-different-from-lib.patch
+
+---

Old:

  0001-Decrease-focusInTimer-timer-from-400-to-200.patch
  0001-Fix-crash-with-drag-cursor-handling.patch
  0001-Fix-meta-file-replacements-if-matches-are-empty.patch
  0001-Revert-Fix-QMAKE_PRL_INSTALL_REPLACE-for-macOS.patch
  0001-Revert-qmake-link-qt-libraries-by-full-path.patch
  0002-Do-not-write-Libs-into-.pc-files-if-TEMPLATE-is-not-.patch
  0002-Revert-Replace-absolute-Qt-lib-dir-in-.prl-files.patch
  0003-Add-an-ID-for-recognition-of-UGEE-tablets.patch
  0003-Make-sure-.pc-.prl-and-.la-files-are-created-for-hea.patch
  0003-Revert-Fix-prl-replacements-if-libdir-is-in-QMAKE_DE.patch
  qtbase-everywhere-src-5.13.0.tar.xz

New:

  0001-Fix-CMake-config-files-for-libdir-different-from-lib.patch
  qtbase-everywhere-src-5.13.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.EA8K3o/_old  2019-09-09 12:29:35.085618830 +0200
+++ /var/tmp/diff_new_pack.EA8K3o/_new  2019-09-09 12:29:35.089618825 +0200
@@ -36,16 +36,16 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.13.0
+Version:5.13.1
 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.13.0
-%define so_version 5.13.0
-%define tar_version qtbase-everywhere-src-5.13.0
+%define real_version 5.13.1
+%define so_version 5.13.1
+%define tar_version qtbase-everywhere-src-5.13.1
 Source: 
https://download.qt.io/official_releases/qt/5.13/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
 Source1:libqt5-qtbase.changes
@@ -76,26 +76,13 @@
 Patch24:fix-fixqt4headers.patch
 # Revert to restore compatibility with akonadi and possibly other applications
 Patch30:0001-Revert-Always-escape-the-table-names-when-creating-t.patch
-# Reverting some commits in the hope to avoid QTBUG-76255
-Patch50:0001-Revert-Fix-QMAKE_PRL_INSTALL_REPLACE-for-macOS.patch
-Patch51:0002-Revert-Replace-absolute-Qt-lib-dir-in-.prl-files.patch
-Patch52:0003-Revert-Fix-prl-replacements-if-libdir-is-in-QMAKE_DE.patch
-Patch53:0001-Revert-qmake-link-qt-libraries-by-full-path.patch
-# Workaround for QTBUG-76742, boo#1140084
-Patch60:0001-Decrease-focusInTimer-timer-from-400-to-200.patch
 # patches 1000-2000 and above from upstream 5.13 branch #
-Patch1000:  0003-Add-an-ID-for-recognition-of-UGEE-tablets.patch
-Patch1001:  0001-Fix-crash-with-drag-cursor-handling.patch
 # patches 2000-3000 and above from upstream 5.14/dev branch #
 Patch2000:  0001-Fix-notification-of-QDockWidget-when-it-gets-undocke.patch
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
 Patch2001:  0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
-# PATCH-FIX-UPSTREAM 
https://code.qt.io/cgit/qt/qtbase.git/patch/?id=60136b1a846ca5aedeb588edaa178927abb

commit libqt5-qtbase for openSUSE:Factory

2019-09-07 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-09-07 11:30:12

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948 (New)


Package is "libqt5-qtbase"

Sat Sep  7 11:30:12 2019 rev:100 rq:727923 version:5.13.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-08-19 20:46:34.413108952 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.7948/libqt5-qtbase.changes
2019-09-07 11:30:14.414458148 +0200
@@ -1,0 +2,6 @@
+Mon Sep  2 08:26:30 UTC 2019 - Fabian Vogt 
+
+- Add patch to fix crash during Drag-and-Drop:
+  * 0001-Fix-crash-with-drag-cursor-handling.patch
+
+---

New:

  0001-Fix-crash-with-drag-cursor-handling.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.g5LRfg/_old  2019-09-07 11:30:18.742457607 +0200
+++ /var/tmp/diff_new_pack.g5LRfg/_new  2019-09-07 11:30:18.754457606 +0200
@@ -85,6 +85,7 @@
 Patch60:0001-Decrease-focusInTimer-timer-from-400-to-200.patch
 # patches 1000-2000 and above from upstream 5.13 branch #
 Patch1000:  0003-Add-an-ID-for-recognition-of-UGEE-tablets.patch
+Patch1001:  0001-Fix-crash-with-drag-cursor-handling.patch
 # patches 2000-3000 and above from upstream 5.14/dev branch #
 Patch2000:  0001-Fix-notification-of-QDockWidget-when-it-gets-undocke.patch
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384

++ 0001-Fix-crash-with-drag-cursor-handling.patch ++
>From d1141b6c90e53554f69fd6a7a272988211f5bd34 Mon Sep 17 00:00:00 2001
From: Joni Poikelin 
Date: Thu, 28 Feb 2019 09:54:20 +0200
Subject: [PATCH] Fix crash with drag cursor handling
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

7a7c722782a435f7c01b94f48df7a5f4ff4d599e caused a regresssion in some
cases.

Change-Id: I1089a79534d811b195de663ff664d9ba5a6ac6c5
Fixes: QTBUG-74110
Reviewed-by: Tor Arne Vestbø 
---
 src/gui/kernel/qsimpledrag.cpp | 14 +-
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/gui/kernel/qsimpledrag.cpp b/src/gui/kernel/qsimpledrag.cpp
index 9aab332ef5..bd409c124f 100644
--- a/src/gui/kernel/qsimpledrag.cpp
+++ b/src/gui/kernel/qsimpledrag.cpp
@@ -310,11 +310,15 @@ void QBasicDrag::updateCursor(Qt::DropAction action)
 m_dndHasSetOverrideCursor = true;
 } else {
 QCursor *cursor = QGuiApplication::overrideCursor();
-if (!pixmap.isNull()) {
-if (cursor->pixmap().cacheKey() != pixmap.cacheKey())
-QGuiApplication::changeOverrideCursor(QCursor(pixmap));
-} else if (cursorShape != cursor->shape()) {
-QGuiApplication::changeOverrideCursor(QCursor(cursorShape));
+if (!cursor) {
+QGuiApplication::changeOverrideCursor(pixmap.isNull() ? 
QCursor(cursorShape) : QCursor(pixmap));
+} else {
+if (!pixmap.isNull()) {
+if (cursor->pixmap().cacheKey() != pixmap.cacheKey())
+QGuiApplication::changeOverrideCursor(QCursor(pixmap));
+} else if (cursorShape != cursor->shape()) {
+QGuiApplication::changeOverrideCursor(QCursor(cursorShape));
+}
 }
 }
 #endif
-- 
2.22.0




commit libqt5-qtbase for openSUSE:Factory

2019-08-19 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-08-19 20:46:32

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.22127 (New)


Package is "libqt5-qtbase"

Mon Aug 19 20:46:32 2019 rev:99 rq:722618 version:5.13.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-07-13 13:59:49.314908555 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.22127/libqt5-qtbase.changes   
2019-08-19 20:46:34.413108952 +0200
@@ -1,0 +2,9 @@
+Sun Aug 11 20:57:31 UTC 2019 - Stefan Brüns 
+
+- Fix qmake pkconfig generation, broken .pc files become apparent
+  when switching from pkg-config to pkgconf. (QTBUG-75901)
+  * 0001-Fix-meta-file-replacements-if-matches-are-empty.patch
+  * 0002-Do-not-write-Libs-into-.pc-files-if-TEMPLATE-is-not-.patch
+  * 0003-Make-sure-.pc-.prl-and-.la-files-are-created-for-hea.patch
+
+---

New:

  0001-Fix-meta-file-replacements-if-matches-are-empty.patch
  0002-Do-not-write-Libs-into-.pc-files-if-TEMPLATE-is-not-.patch
  0003-Make-sure-.pc-.prl-and-.la-files-are-created-for-hea.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.BR90Ai/_old  2019-08-19 20:46:37.733108240 +0200
+++ /var/tmp/diff_new_pack.BR90Ai/_new  2019-08-19 20:46:37.749108237 +0200
@@ -89,6 +89,12 @@
 Patch2000:  0001-Fix-notification-of-QDockWidget-when-it-gets-undocke.patch
 # Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
 Patch2001:  0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
+# PATCH-FIX-UPSTREAM 
https://code.qt.io/cgit/qt/qtbase.git/patch/?id=60136b1a846ca5aedeb588edaa178927abb002ec
 -- https://bugreports.qt.io/browse/QTBUG-75901
+PATCH3000:  0001-Fix-meta-file-replacements-if-matches-are-empty.patch
+# PATCH-FIX-UPSTREAM 
https://code.qt.io/cgit/qt/qtbase.git/patch/?id=c64f8ca232cc1f2131282d9eb6279ef9b565be88
 -- https://bugreports.qt.io/browse/QTBUG-75901
+PATCH3001:  0002-Do-not-write-Libs-into-.pc-files-if-TEMPLATE-is-not-.patch
+# PATCH-FIX-UPSTREAM 
https://code.qt.io/cgit/qt/qtbase.git/patch/?id=4da47d0fba04e5d50bf6b63e73bc0de986560f42
 -- https://bugreports.qt.io/browse/QTBUG-75901
+PATCH3002:  0003-Make-sure-.pc-.prl-and-.la-files-are-created-for-hea.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++ 0001-Fix-meta-file-replacements-if-matches-are-empty.patch ++
>From 60136b1a846ca5aedeb588edaa178927abb002ec Mon Sep 17 00:00:00 2001
From: Joerg Bornemann 
Date: Mon, 3 Jun 2019 14:39:07 +0200
Subject: Fix meta file replacements if matches are empty

QMake code like
rplc.match =
QMAKE_PRL_INSTALL_REPLACE += rplc
led to the generation of invalid sed calls in the Makefile.

It is already actively checked for empty matches, but if *all* matches
are empty, the sed call looks like
sed foo > bar
which is invalid.

Task-number: QTBUG-75901
Change-Id: I173ed99826414dcf06253a15a247f7d067ee3977
Reviewed-by: Thiago Macieira 
---
 qmake/generators/makefile.cpp | 12 
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index bfef31f17e..6edaf1f70e 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -3437,19 +3437,23 @@ QString MakefileGenerator::installMetaFile(const ProKey 
&replace_rule, const QSt
 || project->isActiveConfig("no_sed_meta_install")) {
 ret += "-$(INSTALL_FILE) " + escapeFilePath(src) + ' ' + 
escapeFilePath(dst);
 } else {
-ret += "-$(SED)";
+QString sedargs;
 const ProStringList &replace_rules = project->values(replace_rule);
 for (int r = 0; r < replace_rules.size(); ++r) {
 const ProString match = project->first(ProKey(replace_rules.at(r) 
+ ".match")),
 replace = project->first(ProKey(replace_rules.at(r) + 
".replace"));
 if (!match.isEmpty() /*&& match != replace*/) {
-ret += " -e " + shellQuote("s," + match + "," + replace + 
",g");
+sedargs += " -e " + shellQuote("s," + match + "," + replace + 
",g");
 if (isWindowsShell() && 
project->first(ProKey(replace_rules.at(r) + ".CONFIG")).contains("path"))
-ret += " -e " + shellQuote("s," + 
windowsifyPath(match.toQString())
+sedargs += " -e " + shellQuote("s," + 
windowsifyPath(match.toQString())
+ "," + 
windowsifyPath(replace.toQString()) + ",gi");
 }

commit libqt5-qtbase for openSUSE:Factory

2019-07-13 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-07-13 13:45:20

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4615 (New)


Package is "libqt5-qtbase"

Sat Jul 13 13:45:20 2019 rev:98 rq:713347 version:5.13.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-06-28 16:32:04.954436952 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4615/libqt5-qtbase.changes
2019-07-13 13:59:49.314908555 +0200
@@ -1,0 +2,14 @@
+Wed Jul  3 18:57:26 UTC 2019 - Fabian Vogt 
+
+- Add patch to work around focus issues with VirtualBox
+  (boo#1140084, QTBUG-76742):
+  * 0001-Decrease-focusInTimer-timer-from-400-to-200.patch
+
+---
+Tue Jul  2 13:45:37 UTC 2019 - Fabian Vogt 
+
+- Link from Qt bindir into %_bindir, not the other way around to fix
+  applicationDirPath called from Qt binaries
+- Add -qt5 suffix to all binaries in %_bindir
+
+---

New:

  0001-Decrease-focusInTimer-timer-from-400-to-200.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.bRXkRA/_old  2019-07-13 13:59:50.646908148 +0200
+++ /var/tmp/diff_new_pack.bRXkRA/_new  2019-07-13 13:59:50.650908147 +0200
@@ -81,6 +81,8 @@
 Patch51:0002-Revert-Replace-absolute-Qt-lib-dir-in-.prl-files.patch
 Patch52:0003-Revert-Fix-prl-replacements-if-libdir-is-in-QMAKE_DE.patch
 Patch53:0001-Revert-qmake-link-qt-libraries-by-full-path.patch
+# Workaround for QTBUG-76742, boo#1140084
+Patch60:0001-Decrease-focusInTimer-timer-from-400-to-200.patch
 # patches 1000-2000 and above from upstream 5.13 branch #
 Patch1000:  0003-Add-an-ID-for-recognition-of-UGEE-tablets.patch
 # patches 2000-3000 and above from upstream 5.14/dev branch #
@@ -962,19 +964,18 @@
 # This is only for Apple platforms and has a python2 dep
 rm -r %{buildroot}%{libqt5_archdatadir}/mkspecs/features/uikit
 
-# put all the binaries to %{_bindir}, add -qt5 suffix, and symlink them back 
to %_qt5_bindir
+# Link all the binaries with -qt5 suffix to %{_bindir}
 mkdir -p %{buildroot}%{_bindir}
 pushd %{buildroot}%{libqt5_bindir}
 for i in * ; do
   case "${i}" in
 moc|qdbuscpp2xml|qdbusxml2cpp|qmake|rcc|syncqt|uic)
-  mv $i ../../../bin/${i}-qt5
-  ln -s ../../../bin/${i}-qt5 .
-  ln -s ../../../bin/${i}-qt5 $i
+  ln -s %{libqt5_bindir}/$i %{buildroot}%{_bindir}/${i}-qt5
   ;;
*)
-  mv $i ../../../bin/
-  ln -s ../../../bin/$i .
+  # No conflict with Qt4, so keep the original name for compatibility
+  ln -s %{libqt5_bindir}/$i %{buildroot}%{_bindir}/${i}-qt5
+  ln -s %{libqt5_bindir}/$i %{buildroot}%{_bindir}/${i}
   ;;
   esac
 done

++ 0001-Decrease-focusInTimer-timer-from-400-to-200.patch ++
>From 75a6b34e363f20664828f2e276de468a2ad4c9a6 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Wed, 3 Jul 2019 20:55:27 +0200
Subject: [PATCH] Decrease focusInTimer timer from 400 to 200

Workaround for focus issues with VirtualBox (QTBUG-76742).
---
 src/plugins/platforms/xcb/qxcbwindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp 
b/src/plugins/platforms/xcb/qxcbwindow.cpp
index 9382488b74..a449ad8349 100644
--- a/src/plugins/platforms/xcb/qxcbwindow.cpp
+++ b/src/plugins/platforms/xcb/qxcbwindow.cpp
@@ -848,7 +848,7 @@ void QXcbWindow::doFocusOut()
 connection()->setFocusWindow(nullptr);
 relayFocusToModalWindow();
 // Do not set the active window to nullptr if there is a FocusIn coming.
-connection()->focusInTimer().start(400);
+connection()->focusInTimer().start(200);
 }
 
 struct QtMotifWmHints {
-- 
2.22.0




commit libqt5-qtbase for openSUSE:Factory

2019-06-28 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-06-28 16:32:03

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4615 (New)


Package is "libqt5-qtbase"

Fri Jun 28 16:32:03 2019 rev:97 rq:712125 version:5.13.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-06-12 13:05:31.841202951 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4615/libqt5-qtbase.changes
2019-06-28 16:32:04.954436952 +0200
@@ -1,0 +2,65 @@
+Wed Jun 26 12:20:32 UTC 2019 - Fabian Vogt 
+
+- Add patch to restore compatibility with akonadi's PGSQL backend
+  (see https://bugs.archlinux.org/task/62997):
+  * 0001-Revert-Always-escape-the-table-names-when-creating-t.patch
+
+---
+Wed Jun 19 18:40:41 UTC 2019 - Fabian Vogt 
+
+- Disable libzstd support again, it breaks various existing codebases 
(QTBUG-76521)
+
+---
+Wed Jun 19 11:19:21 UTC 2019 - fab...@ritter-vogt.de
+
+- Update to 5.13.0:
+  * New bugfix release
+  * No changelog available
+  * For more details about Qt 5.13 please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.13.0/?h=5.13
+- Remove patches, now upstream:
+  * 0001-Add-quoting-to-deal-with-empty-CMAKE_CXX_STANDARD_LI.patch
+
+---
+Fri Jun 14 11:33:41 UTC 2019 - Fabian Vogt 
+
+- Add patches to improve compatibility with Krita:
+  * 0001-Fix-notification-of-QDockWidget-when-it-gets-undocke.patch
+  * 0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
+  * 0003-Add-an-ID-for-recognition-of-UGEE-tablets.patch
+
+---
+Fri Jun  7 11:32:21 UTC 2019 - Fabian Vogt 
+
+- Revert yet another commit to fix linker errors:
+  * 0001-Revert-qmake-link-qt-libraries-by-full-path.patch
+
+---
+Thu Jun  6 18:19:42 UTC 2019 - Fabian Vogt 
+
+- Enable libzstd support
+
+---
+Thu Jun  6 18:09:01 UTC 2019 - Fabian Vogt 
+
+- Revert some commits in the hope of fixing some broken paths (QTBUG-76255):
+  * 0001-Revert-Fix-QMAKE_PRL_INSTALL_REPLACE-for-macOS.patch
+  * 0002-Revert-Replace-absolute-Qt-lib-dir-in-.prl-files.patch
+  * 0003-Revert-Fix-prl-replacements-if-libdir-is-in-QMAKE_DE.patch
+
+---
+Thu Jun  6 13:26:09 UTC 2019 - Fabian Vogt 
+
+- Add patch to fix some cmake module config files (QTBUG-76244):
+  * 0001-Add-quoting-to-deal-with-empty-CMAKE_CXX_STANDARD_LI.patch
+
+---
+Tue Jun  4 07:24:16 UTC 2019 - fab...@ritter-vogt.de
+
+- Update to 5.13.0-rc:
+  * New bugfix release
+  * No changelog available
+- Remove patches, now upstream:
+  * 0001-Fix-page-breaking-with-large-images.patch
+
+---
@@ -7,0 +73,11 @@
+Mon Apr 29 09:16:09 UTC 2019 - fab...@ritter-vogt.de
+
+- Update to 5.13.0-beta2:
+  * New bugfix release
+  * No changelog available
+- Refresh Mesa multithreading whitelist revert:
+  * Add 0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
+  * Refresh 0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
+  * Refresh 0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
+
+---
@@ -26,0 +103,15 @@
+Thu Mar 21 10:24:28 UTC 2019 - fab...@ritter-vogt.de
+
+- Update to 5.13.0-beta1:
+  * New feature release
+  * For more details about Qt 5.13 please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.13.0/?h=5.13
+- Remove patches, now upstream:
+  * qapplication-emit-palettechanged.patch
+  * reproducible-qrc-time.patch
+- Refresh Mesa multithreading whitelist revert:
+  * Drop 0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
+  * Refresh 0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
+- libQt5XcbQpa is not static, move it to libQt5Gui-private-headers-devel
+
+---
@@ -2140,0 +2232 @@
+

Old:

  0001-Fix-page-breaking-with-large-images.patch
  qapplication-emit-palettechanged.patch
  qtbase-everywhere-src-5.12.3.tar.xz
  reproducible-qrc-time.patch

New:

  0001-Fix-notification-of-QDockWidget-when-it-gets-undocke.patch
  0001-Revert-Always-escape-the-table-names-when-creating-t.patch
  0001-Revert-Fix-QMAKE_PRL_INSTALL_REPLACE-for-macOS.patch
  0001-Revert-qmake-link-qt-libraries-by-ful

commit libqt5-qtbase for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-06-12 13:05:30

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4811 (New)


Package is "libqt5-qtbase"

Wed Jun 12 13:05:30 2019 rev:96 rq:706812 version:5.12.3

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-04-26 22:52:07.729404886 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.4811/libqt5-qtbase.changes
2019-06-12 13:05:31.841202951 +0200
@@ -1,0 +2,11 @@
+Fri May 31 22:33:07 UTC 2019 - Fabian Vogt 
+
+- Add patch to fix layouting of certain text documents (QTBUG-73730):
+  * 0001-Fix-page-breaking-with-large-images.patch
+
+---
+Thu Apr 25 07:37:27 UTC 2019 - Martin Liška 
+
+- Disable LTO (boo#1133242).
+
+---

New:

  0001-Fix-page-breaking-with-large-images.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.lgIwrX/_old  2019-06-12 13:05:35.269201511 +0200
+++ /var/tmp/diff_new_pack.lgIwrX/_new  2019-06-12 13:05:35.309201494 +0200
@@ -77,6 +77,7 @@
 Patch23:0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
 Patch24:fix-fixqt4headers.patch
 # patches 1000-2000 and above from upstream 5.12 branch #
+Patch1000:  0001-Fix-page-breaking-with-large-images.patch
 # patches 2000-3000 and above from upstream 5.13/dev branch #
 Patch2000:  reproducible-qrc-time.patch
 
@@ -823,6 +824,7 @@
 Examples for the libqt5-qtbase modules.
 
 %build
+%define _lto_cflags %{nil}
 %ifarch ppc64
   RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
 %endif

++ 0001-Fix-page-breaking-with-large-images.patch ++
>From 1d4523091db7e83e895f5a392bb43b02d0367658 Mon Sep 17 00:00:00 2001
From: Lars Knoll 
Date: Fri, 26 Apr 2019 09:15:52 +0200
Subject: [PATCH] Fix page breaking with large images

Don't go into an infinite loop breaking pages, when an image is about
as large as the page. Correctly take top and bottom margins into account
when calculating whether the image could fit on one page.

Amends change 416b4cf685030114837bd375664fd12047895a62.

Fixes: QTBUG-73730
Change-Id: Id311ddf05510be3b1d131702f4e17025a9861e58
Reviewed-by: Simon Hausmann 
---
 src/gui/text/qtextdocumentlayout.cpp  |  5 +-
 .../tst_qtextdocumentlayout.cpp   | 60 +++
 2 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/src/gui/text/qtextdocumentlayout.cpp 
b/src/gui/text/qtextdocumentlayout.cpp
index 2e1a2b5bff..bed0a2c450 100644
--- a/src/gui/text/qtextdocumentlayout.cpp
+++ b/src/gui/text/qtextdocumentlayout.cpp
@@ -145,6 +145,9 @@ struct QTextLayoutStruct {
 inline QFixed absoluteY() const
 { return frameY + y; }
 
+inline QFixed contentHeight() const
+{ return pageHeight - pageBottomMargin - pageTopMargin; }
+
 inline int currentPage() const
 { return pageHeight == 0 ? 0 : (absoluteY() / pageHeight).truncate(); }
 
@@ -2701,7 +2704,7 @@ void QTextDocumentLayoutPrivate::layoutBlock(const 
QTextBlock &bl, int blockPosi
 getLineHeightParams(blockFormat, line, scaling, &lineAdjustment, 
&lineBreakHeight, &lineHeight, &lineBottom);
 
 while (layoutStruct->pageHeight > 0 && layoutStruct->absoluteY() + 
lineBreakHeight > layoutStruct->pageBottom &&
-layoutStruct->pageHeight >= lineBreakHeight) {
+layoutStruct->contentHeight() >= lineBreakHeight) {
 layoutStruct->newPage();
 
 floatMargins(layoutStruct->y, layoutStruct, &left, &right);
diff --git 
a/tests/auto/gui/text/qtextdocumentlayout/tst_qtextdocumentlayout.cpp 
b/tests/auto/gui/text/qtextdocumentlayout/tst_qtextdocumentlayout.cpp
index c79f787547..f66b16b970 100644
--- a/tests/auto/gui/text/qtextdocumentlayout/tst_qtextdocumentlayout.cpp
+++ b/tests/auto/gui/text/qtextdocumentlayout/tst_qtextdocumentlayout.cpp
@@ -59,6 +59,8 @@ private slots:
 void imageAtRightAlignedTab();
 void blockVisibility();
 
+void largeImage();
+
 private:
 QTextDocument *doc;
 };
@@ -347,5 +349,63 @@ void tst_QTextDocumentLayout::blockVisibility()
 QCOMPARE(doc->size(), halfSize);
 }
 
+void tst_QTextDocumentLayout::largeImage()
+{
+ auto img = QImage(400, 500, QImage::Format_ARGB32_Premultiplied);
+ img.fill(Qt::black);
+
+ {
+ QTextDocument document;
+
+ document.addResource(QTextDocument::ImageResource,
+ QUrl("data://test.png"), QVariant(img));
+ document.setPageSize({500, 504});
+
+ auto html = "";
+ document.s

commit libqt5-qtbase for openSUSE:Factory

2019-04-26 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-04-26 22:51:59

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.5536 (New)


Package is "libqt5-qtbase"

Fri Apr 26 22:51:59 2019 rev:95 rq:697055 version:5.12.3

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-03-21 09:39:58.114985067 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.5536/libqt5-qtbase.changes
2019-04-26 22:52:07.729404886 +0200
@@ -1,0 +2,14 @@
+Thu Apr 18 07:26:30 UTC 2019 - fab...@ritter-vogt.de
+
+- Update to 5.12.3:
+  * New bugfix release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.12.3/?h=v5.12.3
+
+---
+Sat Apr 13 10:29:43 UTC 2019 - Christophe Giboudeaux 
+
+- Add fix-fixqt4headers.patch to use the include path used by our
+  Qt5 packages.
+
+---

Old:

  qtbase-everywhere-src-5.12.2.tar.xz

New:

  fix-fixqt4headers.patch
  qtbase-everywhere-src-5.12.3.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.uCT63J/_old  2019-04-26 22:52:11.285402594 +0200
+++ /var/tmp/diff_new_pack.uCT63J/_new  2019-04-26 22:52:11.289402592 +0200
@@ -36,16 +36,16 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.12.2
+Version:5.12.3
 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.12.2
-%define so_version 5.12.2
-%define tar_version qtbase-everywhere-src-5.12.2
+%define real_version 5.12.3
+%define so_version 5.12.3
+%define tar_version qtbase-everywhere-src-5.12.3
 Source: 
https://download.qt.io/official_releases/qt/5.12/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
 Source1:libqt5-qtbase.changes
@@ -75,6 +75,7 @@
 Patch21:0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
 Patch22:0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
 Patch23:0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
+Patch24:fix-fixqt4headers.patch
 # patches 1000-2000 and above from upstream 5.12 branch #
 # patches 2000-3000 and above from upstream 5.13/dev branch #
 Patch2000:  reproducible-qrc-time.patch

++ fix-fixqt4headers.patch ++
commit d57cd2570ef5580168b99d61fe6ce90ce879bac5
Author: Christophe Giboudeaux 
Date:   Sat Apr 13 12:20:28 2019 +0200

Fix the qmake command and the include subdir for openSUSE

diff --git a/bin/fixqt4headers.pl b/bin/fixqt4headers.pl
index b572f469dc..25478a03ac 100755
--- a/bin/fixqt4headers.pl
+++ b/bin/fixqt4headers.pl
@@ -139,14 +139,14 @@ sub findQtHeaders
 #  MAIN
 
 if ($qtdir) {
-$qtIncludeDir = $qtdir . '/include';
+$qtIncludeDir = $qtdir . '/include/qt5';
 } else {
-$qtIncludeDir = `qmake -query QT_INSTALL_HEADERS`;
+$qtIncludeDir = `qmake-qt5 -query QT_INSTALL_HEADERS`;
 chop($qtIncludeDir);
 }
 
 die "The location of the Qt 5 include files could not be determined.\n"
-."Please ensure qmake can be found in PATH or pass the command line 
option --qtdir.\n"
+."Please ensure qmake-qt5 can be found in PATH or pass the command 
line option --qtdir.\n"
 unless -d $qtIncludeDir;
 
 findQtHeaders('QtCore', $qtIncludeDir);
@@ -154,7 +154,7 @@ findQtHeaders('QtConcurrent', $qtIncludeDir);
 findQtHeaders('QtWidgets', $qtIncludeDir);
 findQtHeaders('QtPrintSupport', $qtIncludeDir);
 
-if (-d $qtIncludeDir . '/include/QtMultimedia') {
+if (-d $qtIncludeDir . '/include/qt5/QtMultimedia') {
 findQtHeaders('QtMultimedia', $qtIncludeDir);
 findQtHeaders('QtMultimediaWidgets', $qtIncludeDir);
 } elsif (-d $qtIncludeDir . '/../qtmultimedia' ) {
@@ -164,7 +164,7 @@ if (-d $qtIncludeDir . '/include/QtMultimedia') {
 }
 
 # Support porting from "Qt 4.99" QtDeclarative to QtQuick (QQuickItem et al)
-if (-d $qtIncludeDir . '/include/QtQuick') {
+if (-d $qtIncludeDir . '/include/qt5/QtQuick') {
 findQtHeaders('QtQuick', $qtIncludeDir);
 } elsif (-d $qtIncludeDir . '/../qtdeclarative' ) {
 # This is the case if QTDIR points to a source tree instead of an 
installed Qt
++ qtbase-everywhere-src-5.12.2.tar.xz -> 
qtbase-everywhere-src-5.12.3.tar.xz ++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-everywhere-src-5.12.2.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new.5536/qt

commit libqt5-qtbase for openSUSE:Factory

2019-03-21 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-03-21 09:39:56

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833 (New)


Package is "libqt5-qtbase"

Thu Mar 21 09:39:56 2019 rev:94 rq:685624 version:5.12.2

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-02-13 10:16:50.665369986 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833/libqt5-qtbase.changes   
2019-03-21 09:39:58.114985067 +0100
@@ -1,0 +2,43 @@
+Thu Mar 14 08:47:45 UTC 2019 - fab...@ritter-vogt.de
+
+- Update to 5.12.2:
+  * New bugfix release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.12.2/?h=5.12.2
+- Replace 0001-Revert-White-list-more-recent-Mesa-version-for-multi.patch with
+  * 0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
+  * 0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
+  * 0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
+- Remove 0002-Revert-QImage-merge-the-size-calculations-with-prope.patch,
+  fixed upstream
+
+---
+Tue Feb 12 19:33:11 UTC 2019 - Fabian Vogt 
+
+- Clean %install a bit
+- Use %license
+- Add patch to fix crashes with nouveau (QTBUG-73715):
+  * 0001-Revert-White-list-more-recent-Mesa-version-for-multi.patch
+- Add patch to fix apparent memory leaks (QTBUG-73731):
+  * 0002-Revert-QImage-merge-the-size-calculations-with-prope.patch
+
+---
+Mon Feb  4 07:23:09 UTC 2019 - wba...@tmo.at
+
+- Refresh tell-the-truth-about-private-api.patch to apply cleanly
+
+---
+Fri Feb  1 08:39:22 UTC 2019 - fab...@ritter-vogt.de
+
+- Update to 5.12.1:
+  * New bugfix release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.12.1/?h=v5.12.1
+- xkbcommon not bundled anymore, removed now obsolete option
+- Refresh patches:
+  * 0001-Add-remote-print-queue-support.patch
+  * 0001-Fix-qfloat16-methods-definition-without-declaration-.patch
+- Drop patches, now upstream:
+  * 0001-Fix-compile-issue-with-gcc-9.patch
+
+---

Old:

  0001-Fix-compile-issue-with-gcc-9.patch
  qtbase-everywhere-src-5.12.0.tar.xz

New:

  0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
  0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
  0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
  qtbase-everywhere-src-5.12.2.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.lNM3ie/_old  2019-03-21 09:40:03.054983929 +0100
+++ /var/tmp/diff_new_pack.lNM3ie/_new  2019-03-21 09:40:03.122983913 +0100
@@ -36,16 +36,16 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.12.0
+Version:5.12.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.12.0
-%define so_version 5.12.0
-%define tar_version qtbase-everywhere-src-5.12.0
+%define real_version 5.12.2
+%define so_version 5.12.2
+%define tar_version qtbase-everywhere-src-5.12.2
 Source: 
https://download.qt.io/official_releases/qt/5.12/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
 Source1:libqt5-qtbase.changes
@@ -71,10 +71,14 @@
 Patch19:qapplication-emit-palettechanged.patch
 # PATCH-FIX-UPSTREAM
 Patch20:0001-Fix-qfloat16-methods-definition-without-declaration-.patch
+# PATCH-FIX-OPENSUSE
+Patch21:0001-Revert-Blacklist-nouveau-and-llvmpipe-for-multithrea.patch
+Patch22:0002-Revert-qtlite-Fix-build-libs-with-no-feature-regular.patch
+Patch23:0003-Revert-White-list-more-recent-Mesa-version-for-multi.patch
 # patches 1000-2000 and above from upstream 5.12 branch #
-Patch1000:  0001-Fix-compile-issue-with-gcc-9.patch
 # patches 2000-3000 and above from upstream 5.13/dev branch #
 Patch2000:  reproducible-qrc-time.patch
+
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel
@@ -151,7 +155,6 @@
 %endif
 # to get cmake(...) autoprovides
 BuildRequires:  cmake
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Qt is a set of libraries for developing applications.
@@ -174,8 +177,7 @@
 %define libqt5_translationdir  %{libqt5_datadir}/tra

commit libqt5-qtbase for openSUSE:Factory

2019-02-13 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-02-13 10:16:48

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833 (New)


Package is "libqt5-qtbase"

Wed Feb 13 10:16:48 2019 rev:93 rq:670075 version:5.12.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2019-01-15 13:13:32.036491417 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833/libqt5-qtbase.changes   
2019-02-13 10:16:50.665369986 +0100
@@ -1,0 +2,20 @@
+Wed Jan 30 08:59:56 UTC 2019 - alarr...@suse.com
+
+- Add 0001-Fix-compile-issue-with-gcc-9.patch to fix building with
+  the latest libstdc++ (boo#1121561)
+
+---
+Fri Jan 18 19:53:40 UTC 2019 - Fabian Vogt 
+
+- Remove workaround patch as fixed in KWin meanwhile:
+  * 0001-Revert-xcb-Initialize-OpenGL-integration-only-when-r.patch
+
+---
+Thu Jan 17 14:01:50 UTC 2019 - Karl Cheng 
+
+- Add 0001-Revert-xcb-Initialize-OpenGL-integration-only-when-r.patch:
+  * Revert upstream commit 60cecc86f8 to work around display
+flickering issues with some display drivers
+(https://bugreports.qt.io/browse/QTBUG-73122, boo#1120090)
+
+---

New:

  0001-Fix-compile-issue-with-gcc-9.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.aattjf/_old  2019-02-13 10:16:53.273368992 +0100
+++ /var/tmp/diff_new_pack.aattjf/_new  2019-02-13 10:16:53.273368992 +0100
@@ -72,6 +72,7 @@
 # PATCH-FIX-UPSTREAM
 Patch20:0001-Fix-qfloat16-methods-definition-without-declaration-.patch
 # patches 1000-2000 and above from upstream 5.12 branch #
+Patch1000:  0001-Fix-compile-issue-with-gcc-9.patch
 # patches 2000-3000 and above from upstream 5.13/dev branch #
 Patch2000:  reproducible-qrc-time.patch
 BuildRequires:  alsa-devel

++ 0001-Fix-compile-issue-with-gcc-9.patch ++
>From 4bc9f80bb0875648a2f3eca5b14e4e9e56cfda4d Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen 
Date: Tue, 13 Nov 2018 16:00:23 +0100
Subject: [PATCH] Fix compile issue with gcc 9

It appears messenne_twisters in the latest libstdc++ has one more
requirement before it is willing to construct with our
SystemGenerator struct as an sseq provider.

Change-Id: If38151d1fa6f40a80274acc26d9ed6b4ac6049fe
Reviewed-by: Giuseppe D'Angelo 
Reviewed-by: Thiago Macieira 
---
 src/corelib/global/qrandom.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp
index 23e5e499b2..03534cf453 100644
--- a/src/corelib/global/qrandom.cpp
+++ b/src/corelib/global/qrandom.cpp
@@ -218,6 +218,7 @@ struct QRandomGenerator::SystemGenerator
 #endif // Q_OS_WINRT
 
 static SystemGenerator &self();
+typedef quint32 result_type;
 void generate(quint32 *begin, quint32 *end) 
Q_DECL_NOEXCEPT_EXPR(FillBufferNoexcept);
 
 // For std::mersenne_twister_engine implementations that use something



commit libqt5-qtbase for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2019-01-15 13:13:30

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833 (New)


Package is "libqt5-qtbase"

Tue Jan 15 13:13:30 2019 rev:92 rq:663360 version:5.12.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-12-27 00:22:31.475999534 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833/libqt5-qtbase.changes   
2019-01-15 13:13:32.036491417 +0100
@@ -1,0 +2,7 @@
+Mon Jan  7 13:56:29 UTC 2019 - bwiedem...@suse.com
+
+- Add reproducible-qrc-time.patch to use SOURCE_DATE_EPOCH
+  for qrc embedded timestamps to make bitcoin-qt build reproducible
+  (https://bugreports.qt.io/browse/QTBUG-62511, boo#1047218)
+
+---
@@ -8,0 +16,6 @@
+
+---
+Wed Dec 19 19:54:05 UTC 2018 - Todd R 
+
+- Use upstream-recommended %{_rpmconfigdir}/macros.d directory
+  for the rpm macros.

New:

  reproducible-qrc-time.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.PqEw9G/_old  2019-01-15 13:13:34.328489627 +0100
+++ /var/tmp/diff_new_pack.PqEw9G/_new  2019-01-15 13:13:34.328489627 +0100
@@ -73,6 +73,7 @@
 Patch20:0001-Fix-qfloat16-methods-definition-without-declaration-.patch
 # patches 1000-2000 and above from upstream 5.12 branch #
 # patches 2000-3000 and above from upstream 5.13/dev branch #
+Patch2000:  reproducible-qrc-time.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel
@@ -930,7 +931,7 @@
 %endif
 %endif
 
-install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.qt5
+install -D -m644 %{SOURCE2} %{buildroot}%{_rpmconfigdir}/macros.d/macros.qt5
 # argggh, qmake is such a piece of 
 find %{buildroot}%{libqt5_libdir} -type f -name '*prl' -exec perl -pi -e "s, 
-L$RPM_BUILD_DIR/\S+,,g" {} +
 find %{buildroot}%{libqt5_libdir} -type f -name '*prl' -exec sed -i -e 
"/^QMAKE_PRL_BUILD_DIR/d" {} +
@@ -1018,7 +1019,7 @@
 %files common-devel
 %defattr(-,root,root,755)
 %doc *.txt LICENSE.*
-%{_sysconfdir}/rpm/macros.qt5
+%{_rpmconfigdir}/macros.d/macros.qt5
 %{_bindir}/moc*
 %{libqt5_bindir}/moc*
 %{_bindir}/qmake*

++ reproducible-qrc-time.patch ++
commit aa0241031c93086737d82d5c3e917a8816a77fc4
Author: Bernhard M. Wiedemann 
Date:   Wed Jul 11 10:05:55 2018 +0200

Use SOURCE_DATE_EPOCH

Use the standard variable name in addition to the QT-specific one
to make builds reproducible out-of-the-box

Change-Id: I401a2a9d258e751b83ae7b83f4100d9088b9ad71

diff --git a/src/tools/rcc/rcc.cpp b/src/tools/rcc/rcc.cpp
index 1a7cab01df..26fc3efea2 100644
--- a/src/tools/rcc/rcc.cpp
+++ b/src/tools/rcc/rcc.cpp
@@ -211,6 +211,9 @@ void RCCFileInfo::writeDataInfo(RCCResourceLibrary &lib)
 static const quint64 sourceDate = 1000 * 
qgetenv("QT_RCC_SOURCE_DATE_OVERRIDE").toULongLong();
 if (sourceDate != 0)
 lastmod = sourceDate;
+static const quint64 sourceDate2 = 1000 * 
qgetenv("SOURCE_DATE_EPOCH").toULongLong();
+if (sourceDate2 != 0)
+lastmod = sourceDate2;
 lib.writeNumber8(lastmod);
 if (text || pass1)
 lib.writeChar('\n');




commit libqt5-qtbase for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-12-27 00:22:30

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833 (New)


Package is "libqt5-qtbase"

Thu Dec 27 00:22:30 2018 rev:91 rq:660518 version:5.12.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-12-14 20:54:47.252920143 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833/libqt5-qtbase.changes   
2018-12-27 00:22:31.475999534 +0100
@@ -1,0 +2,9 @@
+Thu Dec 20 17:37:42 UTC 2018 - Antonio Larrosa 
+
+- Add 0001-Fix-qfloat16-methods-definition-without-declaration-.patch
+  (a slightly different version of workaround-qdoc-failure.patch in
+  libqt5-qtdoc, which was submitted upstream to fix libqt5-qtdoc
+  building also when qt modules other than qtbase include qfloat16.h
+  from the system qtbase package (boo#1092425, qtbug#72725)
+
+---

New:

  0001-Fix-qfloat16-methods-definition-without-declaration-.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.nYgDT3/_old  2018-12-27 00:22:33.235998102 +0100
+++ /var/tmp/diff_new_pack.nYgDT3/_new  2018-12-27 00:22:33.239998098 +0100
@@ -69,6 +69,8 @@
 Patch18:0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
 # PATCH-FIX-UPSTREAM
 Patch19:qapplication-emit-palettechanged.patch
+# PATCH-FIX-UPSTREAM
+Patch20:0001-Fix-qfloat16-methods-definition-without-declaration-.patch
 # patches 1000-2000 and above from upstream 5.12 branch #
 # patches 2000-3000 and above from upstream 5.13/dev branch #
 BuildRequires:  alsa-devel

++ 0001-Fix-qfloat16-methods-definition-without-declaration-.patch ++
>From edc15323b4ef13a2a58ba4bebd46a78449b628ee Mon Sep 17 00:00:00 2001
From: Antonio Larrosa 
Date: Fri, 21 Dec 2018 12:33:39 +0100
Subject: [PATCH] Fix qfloat16 methods definition without declaration when
 using Q_QDOC

This fixes qtdoc failing to build on i586 because of an assertion in
libclang since Q_QDOC is defined and thus the declaration of the
qfloat16(float) constructor and operator float() are removed, thus
their definitions should be removed too, which is what this patch
does.

This patch was done together with Michal Srb .

Fixes: QTBUG-72725

Change-Id: I6424873425d46345e09f411f9ce88f2520825da4
---
 src/corelib/global/qfloat16.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h
index a8befd7adb..3e50ad8467 100644
--- a/src/corelib/global/qfloat16.h
+++ b/src/corelib/global/qfloat16.h
@@ -123,6 +123,7 @@ Q_REQUIRED_RESULT inline bool qIsNull(qfloat16 f) 
Q_DECL_NOTHROW
 inline int qIntCast(qfloat16 f) Q_DECL_NOTHROW
 { return int(static_cast(f)); }
 
+#ifndef Q_QDOC
 QT_WARNING_PUSH
 QT_WARNING_DISABLE_CLANG("-Wc99-extensions")
 QT_WARNING_DISABLE_GCC("-Wold-style-cast")
@@ -162,6 +163,7 @@ inline qfloat16::operator float() const Q_DECL_NOTHROW
 return f;
 #endif
 }
+#endif
 
 inline qfloat16 operator-(qfloat16 a) Q_DECL_NOTHROW
 {
-- 
2.19.2




commit libqt5-qtbase for openSUSE:Factory

2018-12-14 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-12-14 20:50:53

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833 (New)


Package is "libqt5-qtbase"

Fri Dec 14 20:50:53 2018 rev:90 rq:656557 version:5.12.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-10-15 09:17:51.592797746 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new.28833/libqt5-qtbase.changes   
2018-12-14 20:54:47.252920143 +0100
@@ -1,0 +2,82 @@
+Thu Dec  6 13:35:10 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0:
+  * New feature release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.12.0/?h=v5.12.0
+
+---
+Mon Dec  3 08:16:17 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0-rc2:
+  * New bugfix release
+  * Only important bugfixes
+- Changelog for Qt 5.12.0:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.12.0/?h=5.12.0
+- Remove patches, now upstream:
+  * 0001-Fix-build-with-OpenSSL-1.1.0.patch
+
+---
+Tue Nov 27 08:12:10 UTC 2018 - Fabian Vogt 
+
+- Remove uikit qmake spec to avoid automatic dep on python2
+
+---
+Thu Nov 22 13:38:47 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0-rc:
+  * New bugfix release
+  * No changelog available
+- Add patch to fix build with OpenSSL 1.1.0:
+  * 0001-Fix-build-with-OpenSSL-1.1.0.patch
+
+---
+Thu Nov  8 15:24:22 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0-beta4:
+  * New bugfix release
+  * No changelog available
+- Remove patches, now upstream:
+  * 0001-xcb-Don-t-get-initial-screen-rotation.patch
+
+---
+Fri Oct 26 07:20:17 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0-beta3:
+  * New bugfix release
+  * No changelog available
+- Refresh 0001-Sanitize-QXcbScreen-s-pixelDensity-values.patch
+
+---
+Wed Oct 17 08:22:23 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0-beta2:
+  * New bugfix release
+  * No changelog available
+
+---
+Fri Oct  5 18:54:41 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0-beta1:
+  * New bugfix release
+  * No changelog available
+- Remove patches, now upstream:
+  * Export-qt_open64-from-QtCore.patch
+
+---
+Tue Oct  2 07:33:10 UTC 2018 - fab...@ritter-vogt.de
+
+- Update to 5.12.0-alpha:
+  * New feature release
+  * For more details please see:
+  * http://wiki.qt.io/New_Features_in_Qt_5.12
+- Refresh patches:
+  * 0001-Add-remote-print-queue-support.patch
+  * 0001-xcb-Don-t-get-initial-screen-rotation.patch
+- Remove patches, now upstream:
+  * 0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
+  * 0001-Unix-print-dialog-Properly-initialize-duplex.patch
+- Rename -platformtheme-flatpak to platformtheme-xdgdesktopportal
+- Adjust libQt5PrintSupport-private-headers-devel Requires
+
+---

Old:

  0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
  0001-Unix-print-dialog-Properly-initialize-duplex.patch
  0001-xcb-Don-t-get-initial-screen-rotation.patch
  Export-qt_open64-from-QtCore.patch
  qtbase-everywhere-src-5.11.2.tar.xz

New:

  qtbase-everywhere-src-5.12.0.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.AOzjJv/_old  2018-12-14 20:54:58.904905683 +0100
+++ /var/tmp/diff_new_pack.AOzjJv/_new  2018-12-14 20:54:58.912905673 +0100
@@ -36,17 +36,17 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.11.2
+Version:5.12.0
 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.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
+%define real_version 5.12.0
+%define so_version 5.12.0
+%define tar_version qtbase-everywhere-src-5.12.0
+Source: 
https://download.qt.io/official_releases/qt/5.12/%{real_version}/submodules

commit libqt5-qtbase for openSUSE:Factory

2018-10-15 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-10-15 09:17:41

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Oct 15 09:17:41 2018 rev:89 rq:641330 version:5.11.2

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-10-01 08:13:44.506109565 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-10-15 09:17:51.592797746 +0200
@@ -1,0 +2,6 @@
+Thu Sep 27 11:34:31 UTC 2018 - mischa.sa...@gmail.com
+
+- Add patch to fix boo#1096328, printer settings not remembered:
+  * 0001-Unix-print-dialog-Properly-initialize-duplex.patch
+
+---

New:

  0001-Unix-print-dialog-Properly-initialize-duplex.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.HJ2w4k/_old  2018-10-15 09:17:55.628793944 +0200
+++ /var/tmp/diff_new_pack.HJ2w4k/_new  2018-10-15 09:17:55.632793940 +0200
@@ -74,6 +74,7 @@
 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 #
+Patch2000:  0001-Unix-print-dialog-Properly-initialize-duplex.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++ 0001-Unix-print-dialog-Properly-initialize-duplex.patch ++
>From 82f21f3d47cf4bb3be71bf2eda3f971b43acc76d Mon Sep 17 00:00:00 2001
From: Mischa Salle 
Date: Thu, 27 Sep 2018 13:22:47 +0200
Subject: [PATCH] Unix print dialog: Properly initialize duplex

This is a backport of https://codereview.qt-project.org/#/c/226881/ and fixes
https://bugzilla.suse.com/show_bug.cgi?id=1096328
---
 src/printsupport/dialogs/qprintdialog_unix.cpp | 32 ++
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/src/printsupport/dialogs/qprintdialog_unix.cpp 
b/src/printsupport/dialogs/qprintdialog_unix.cpp
index 86daea3b02..53d26bf9fc 100644
--- a/src/printsupport/dialogs/qprintdialog_unix.cpp
+++ b/src/printsupport/dialogs/qprintdialog_unix.cpp
@@ -240,6 +240,10 @@ public:
 QDialogButtonBox *buttons;
 QPushButton *collapseButton;
 QPrinter::OutputFormat printerOutputFormat;
+private:
+void setExplicitDuplexMode(QPrint::DuplexMode duplexMode);
+// duplex mode explicitly set by user, QPrint::DuplexAuto otherwise
+QPrint::DuplexMode explicitDuplexMode;
 };
 
 #if QT_CONFIG(cups)
@@ -479,7 +483,8 @@ void QPrintPropertiesDialog::accept()
 
 */
 QPrintDialogPrivate::QPrintDialogPrivate()
-: top(nullptr), bottom(nullptr), buttons(nullptr), collapseButton(nullptr)
+: top(nullptr), bottom(nullptr), buttons(nullptr), collapseButton(nullptr),
+  explicitDuplexMode(QPrint::DuplexAuto)
 {
 initResources();
 }
@@ -540,6 +545,10 @@ void QPrintDialogPrivate::init()
  q, SLOT(_q_togglePageSetCombo(bool)));
 
 QObject::connect(collapseButton, SIGNAL(released()), q, 
SLOT(_q_collapseOrExpandDialog()));
+
+QObject::connect(options.noDuplex, &QAbstractButton::clicked, q, [this] { 
setExplicitDuplexMode(QPrint::DuplexNone); });
+QObject::connect(options.duplexLong, &QAbstractButton::clicked, q, [this] 
{ setExplicitDuplexMode(QPrint::DuplexLongSide); });
+QObject::connect(options.duplexShort, &QAbstractButton::clicked, q, [this] 
{ setExplicitDuplexMode(QPrint::DuplexShortSide); });
 }
 
 // initialize printer options
@@ -559,13 +568,21 @@ void QPrintDialogPrivate::selectPrinter(const 
QPrinter::OutputFormat outputForma
 else
 options.grayscale->setChecked(true);
 
-switch (p->duplex()) {
-case QPrinter::DuplexNone:
+// keep duplex value explicitly set by user, if any, and selected 
printer supports it;
+// use device default otherwise
+QPrint::DuplexMode duplex;
+if (explicitDuplexMode != QPrint::DuplexAuto && 
supportedDuplexMode.contains(explicitDuplexMode))
+duplex = explicitDuplexMode;
+else
+duplex = top->d->m_currentPrintDevice.defaultDuplexMode();
+
+switch (duplex) {
+case QPrint::DuplexNone:
 options.noDuplex->setChecked(true); break;
-case QPrinter::DuplexLongSide:
+case QPrint::DuplexLongSide:
 case QPrinter::DuplexAuto:
 options.duplexLong->setChecked(true); break;
-case QPrinter::DuplexShortSide:
+case QPrint::DuplexShortSide:
 options.duplexShort->setChecked(true); break;
 }
 options.copies->setValue(p->copyCount());

commit libqt5-qtbase for openSUSE:Factory

2018-09-30 Thread root
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 - fab...@ritter-vogt.de
+
+- 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 - fab...@ritter-vogt.de
+
+- 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?= 
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/qxcbscr

commit libqt5-qtbase for openSUSE:Factory

2018-09-18 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-09-18 11:41:17

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Tue Sep 18 11:41:17 2018 rev:87 rq:635276 version:5.11.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-09-03 10:33:16.772387560 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-09-18 11:41:22.244040294 +0200
@@ -1,0 +2,5 @@
+Tue Sep 11 15:25:17 UTC 2018 - sch...@suse.de
+
+- 0001-Fix-qmake-build-with-glibc-2.28.patch: Fix qmake build with glibc 2.28
+
+---

New:

  0001-Fix-qmake-build-with-glibc-2.28.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.d0VDdF/_old  2018-09-18 11:41:24.240038198 +0200
+++ /var/tmp/diff_new_pack.d0VDdF/_new  2018-09-18 11:41:24.240038198 +0200
@@ -71,6 +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
 # patches 2000-3000 and above from upstream 5.12/dev branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel

++ 0001-Fix-qmake-build-with-glibc-2.28.patch ++
>From 25feee4e061b99edab79503d81f5bd045c6c8e3d Mon Sep 17 00:00:00 2001
From: Thiago Macieira 
Date: Tue, 7 Aug 2018 09:38:42 -0700
Subject: [PATCH] Fix qmake build with glibc 2.28
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We haven't yet run the configure checks to see if statx and renameat2
are present in glibc, so this fails when we redefine the structures and
functions.

linux/stat.h:56:8: error: redefinition of 'struct statx_timestamp'
bits/statx.h:25:8: note: previous definition of 'struct statx_timestamp'
qfilesystemengine_unix.cpp:110:12: error: 'int renameat2(int, const char*, int, 
const char*, unsigned int)' was declared 'extern' and later 'static' 
[-fpermissive]

Change-Id: Ia741b559c24d46c78fb2fffd1548a792d22e3368
Reviewed-by: Oswald Buddenhagen 
Reviewed-by: Jüri Valdmann 
---
 src/corelib/global/qconfig-bootstrapped.h | 12 ++--
 src/corelib/io/qfilesystemengine_unix.cpp |  2 +-
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/corelib/global/qconfig-bootstrapped.h 
b/src/corelib/global/qconfig-bootstrapped.h
index 3469ebe5e6..c5585ea32a 100644
--- a/src/corelib/global/qconfig-bootstrapped.h
+++ b/src/corelib/global/qconfig-bootstrapped.h
@@ -98,10 +98,18 @@
 #define QT_NO_QOBJECT
 #define QT_FEATURE_process -1
 #define QT_FEATURE_regularexpression -1
-#define QT_FEATURE_renameat2 -1
+#ifdef __GLIBC_PREREQ
+# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1)
+#else
+# define QT_FEATURE_renameat2 -1
+#endif
 #define QT_FEATURE_sharedmemory -1
 #define QT_FEATURE_slog2 -1
-#define QT_FEATURE_statx -1
+#ifdef __GLIBC_PREREQ
+# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1)
+#else
+# define QT_FEATURE_statx -1
+#endif
 #define QT_FEATURE_syslog -1
 #define QT_NO_SYSTEMLOCALE
 #define QT_FEATURE_systemsemaphore -1
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp 
b/src/corelib/io/qfilesystemengine_unix.cpp
index 0c9cdb8667..deb4a9f220 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -91,7 +91,6 @@ extern "C" NSString *NSTemporaryDirectory();
 #  include 
 #  include 
 #  include 
-#  include 
 
 // in case linux/fs.h is too old and doesn't define it:
 #ifndef FICLONE
@@ -112,6 +111,7 @@ static int renameat2(int oldfd, const char *oldpath, int 
newfd, const char *newp
 #endif
 
 #if !QT_CONFIG(statx) && defined(SYS_statx)
+#  include 
 static int statx(int dirfd, const char *pathname, int flag, unsigned mask, 
struct statx *statxbuf)
 { return syscall(SYS_statx, dirfd, pathname, flag, mask, statxbuf); }
 #elif !QT_CONFIG(statx) && !defined(SYS_statx)
-- 
2.18.0




commit libqt5-qtbase for openSUSE:Factory

2018-09-03 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-09-03 10:33:15

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Sep  3 10:33:15 2018 rev:86 rq:631990 version:5.11.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-07-04 23:55:09.631890164 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-09-03 10:33:16.772387560 +0200
@@ -1,0 +2,6 @@
+Mon Aug 27 20:34:33 UTC 2018 - fab...@ritter-vogt.de
+
+- Pass CFLAGS and CXXFLAGS to configure explicitly to ensure that
+  they are used
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.S4eAvB/_old  2018-09-03 10:33:18.288391461 +0200
+++ /var/tmp/diff_new_pack.S4eAvB/_new  2018-09-03 10:33:18.288391461 +0200
@@ -902,7 +902,9 @@
-plugin-sql-odbc \
-plugin-sql-mysql -I/usr/include/mysql/ \
-qpa "xcb;wayland" \
-   -v
+   -v \
+   QMAKE_CFLAGS+="$CFLAGS" \
+   QMAKE_CXXFLAGS+="$CXXFLAGS"
 
 make %{?_smp_mflags}
 




commit libqt5-qtbase for openSUSE:Factory

2018-07-04 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-07-04 23:54:39

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Wed Jul  4 23:54:39 2018 rev:85 rq:620458 version:5.11.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-07-01 21:24:33.132912468 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-07-04 23:55:09.631890164 +0200
@@ -7,0 +8,7 @@
+Sat Jun 23 14:03:04 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patches to improve OOTB experience with HiDPI:
+  * 0001-Sanitize-QXcbScreen-s-pixelDensity-values.patch
+  * 0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
+
+---

New:

  0001-Sanitize-QXcbScreen-s-pixelDensity-values.patch
  0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.7Vr1jx/_old  2018-07-04 23:55:10.883888783 +0200
+++ /var/tmp/diff_new_pack.7Vr1jx/_new  2018-07-04 23:55:10.887888778 +0200
@@ -66,8 +66,10 @@
 Patch13:0001-Revert-QWidgetWindow-Immediately-forward-close-event.patch
 # PATCH-FIX-OPENSUSE
 Patch16:0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
+Patch17:0001-Sanitize-QXcbScreen-s-pixelDensity-values.patch
+Patch18:0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch
 # PATCH-FIX-UPSTREAM
-Patch17:qapplication-emit-palettechanged.patch
+Patch19:qapplication-emit-palettechanged.patch
 # patches 1000- 2000 and above from upstream 5.11 branch #
 # patches 2000-3000 and above from upstream 5.12/dev branch #
 BuildRequires:  alsa-devel

++ 0001-Sanitize-QXcbScreen-s-pixelDensity-values.patch ++
>From 75bb439f45608b21781d18170a88aaa2aedefb04 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Fri, 9 Mar 2018 18:28:00 +0100
Subject: [PATCH 1/2] Sanitize QXcbScreen's pixelDensity values

When the monitor's EDID contains invalid values, we should catch that now
and fall back to 96dpi instead of returning unexpected values.
---
 src/plugins/platforms/xcb/qxcbscreen.cpp | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp 
b/src/plugins/platforms/xcb/qxcbscreen.cpp
index df458e85d7..7e898db17c 100644
--- a/src/plugins/platforms/xcb/qxcbscreen.cpp
+++ b/src/plugins/platforms/xcb/qxcbscreen.cpp
@@ -751,6 +751,16 @@ void QXcbScreen::updateGeometry(const QRect &geometry, 
uint8_t rotation)
 
 qreal dpi = geometry.width() / physicalSize().width() * qreal(25.4);
 m_pixelDensity = qMax(1, qRound(dpi/96));
+
+if(m_pixelDensity > 1 && 
qEnvironmentVariableIsEmpty("QT_XCB_FORCE_ACCEPT_DPI")) {
+// If we have no physical size or the resolution is untypical, fall 
back to 1x
+if (physicalSize().height() <= 0
+|| geometry.height() < 1440
+|| m_pixelDensity > 3) {
+m_pixelDensity = 1;
+}
+}
+
 m_geometry = geometry;
 m_availableGeometry = geometry & m_virtualDesktop->workArea();
 
QWindowSystemInterface::handleScreenGeometryChange(QPlatformScreen::screen(), 
m_geometry, m_availableGeometry);
-- 
2.17.1

++ 0002-xcb-Use-the-screen-s-physical-DPI-as-logical-DPI-unl.patch ++
>From 267ab09b87dd7e2ae7dd3e85a76398506e7f1ae9 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Wed, 25 Apr 2018 18:34:01 +0200
Subject: [PATCH 2/2] xcb: Use the screen's physical DPI as logical DPI, unless
 overwritten

The size of the virtual screen is most of the time meaningless, as X fakes it
to result in 96 DPI, irregardless of the actual monitor DPI.

This results in wrong font rendering on non-96 DPI monitors.

Task-number: QTBUG-67928
---
 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
 if (forcedDpi > 0) {
 return QDpi(forcedDpi, forcedDpi);
 }
-return virtualDpi();
+
+// 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();
+}
+
+return QDpi(m_pixelDensity * 96, m_pixelDensity * 96);
 }
 
 qreal QXcbScreen::

commit libqt5-qtbase for openSUSE:Factory

2018-07-01 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-07-01 21:24:30

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sun Jul  1 21:24:30 2018 rev:84 rq:619726 version:5.11.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-06-26 10:30:09.126824329 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-07-01 21:24:33.132912468 +0200
@@ -1,0 +2,6 @@
+Fri Jun 29 07:21:37 UTC 2018 - fab...@ritter-vogt.de
+
+- Revert upstream commit to avoid regressions (kde#395988):
+  * 0001-Revert-QWidgetWindow-Immediately-forward-close-event.patch
+
+---

New:

  0001-Revert-QWidgetWindow-Immediately-forward-close-event.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.9dvZ9j/_old  2018-07-01 21:24:34.020911312 +0200
+++ /var/tmp/diff_new_pack.9dvZ9j/_new  2018-07-01 21:24:34.024911307 +0200
@@ -63,6 +63,8 @@
 # PATCH-FEATURE-OPENSUSE 0001-Add-remote-print-queue-support.patch fate#322052 
-- Automatically recognize and allow printing to remote cups servers
 Patch12:0001-Add-remote-print-queue-support.patch
 # PATCH-FIX-OPENSUSE
+Patch13:0001-Revert-QWidgetWindow-Immediately-forward-close-event.patch
+# PATCH-FIX-OPENSUSE
 Patch16:0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
 # PATCH-FIX-UPSTREAM
 Patch17:qapplication-emit-palettechanged.patch

++ 0001-Revert-QWidgetWindow-Immediately-forward-close-event.patch ++
>From fa9728f19c8bf8ae925a1c99d056559b7bc84515 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Fri, 29 Jun 2018 09:15:51 +0200
Subject: [PATCH] Revert "QWidgetWindow: Immediately forward close events to
 QWindow"

This reverts commit e0b5ff4ad583befbecbcbe462998e3ed80899531.

References: kde#395988
References: QTBUG-43344
---
 src/widgets/kernel/qwidgetwindow.cpp  |  1 -
 .../widgets/kernel/qwidget/tst_qwidget.cpp| 28 ---
 2 files changed, 29 deletions(-)

diff --git a/src/widgets/kernel/qwidgetwindow.cpp 
b/src/widgets/kernel/qwidgetwindow.cpp
index 1f3057b008..24e0173ac1 100644
--- a/src/widgets/kernel/qwidgetwindow.cpp
+++ b/src/widgets/kernel/qwidgetwindow.cpp
@@ -237,7 +237,6 @@ bool QWidgetWindow::event(QEvent *event)
 switch (event->type()) {
 case QEvent::Close:
 handleCloseEvent(static_cast(event));
-QWindow::event(event);
 return true;
 
 case QEvent::Enter:
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp 
b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
index 6a049aedf1..c7dab650fe 100644
--- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
+++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
@@ -401,8 +401,6 @@ private slots:
 
 void tabletTracking();
 
-void closeEvent();
-
 private:
 bool ensureScreenSize(int width, int height);
 
@@ -10800,31 +10798,5 @@ void tst_QWidget::tabletTracking()
 QTRY_COMPARE(widget.moveEventCount, 3);
 }
 
-class CloseCountingWidget : public QWidget
-{
-public:
-int closeCount = 0;
-void closeEvent(QCloseEvent *ev) override;
-};
-
-void CloseCountingWidget::closeEvent(QCloseEvent *ev)
-{
-++closeCount;
-ev->accept();
-}
-
-void tst_QWidget::closeEvent()
-{
-CloseCountingWidget widget;
-widget.show();
-QVERIFY(QTest::qWaitForWindowExposed(&widget));
-// Yes we call the close() function twice. This mimics the behavior of 
QTBUG-43344 where
-// QApplication first closes all windows and then QCocoaApplication 
flushes window system
-// events, triggering more close events.
-widget.windowHandle()->close();
-widget.windowHandle()->close();
-QCOMPARE(widget.closeCount, 1);
-}
-
 QTEST_MAIN(tst_QWidget)
 #include "tst_qwidget.moc"
-- 
2.17.1




commit libqt5-qtbase for openSUSE:Factory

2018-06-26 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-06-26 10:30:04

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Tue Jun 26 10:30:04 2018 rev:83 rq:618663 version:5.11.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-06-22 13:16:05.881447438 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-06-26 10:30:09.126824329 +0200
@@ -1,0 +2,12 @@
+Tue Jun 19 10:49:46 CEST 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.1
+  * New bugfix release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.11.1/?h=v5.11.1
+- Drop patches, now upstream:
+  * force-cmake-private-headers.patch
+  * 0001-sqlite-Allow-for-duplicated-placeholders-with-just-o.patch
+  * xcb-fix-regression-with-remote-X11-clients.patch
+
+---

Old:

  0001-sqlite-Allow-for-duplicated-placeholders-with-just-o.patch
  force-cmake-private-headers.patch
  qtbase-everywhere-src-5.11.0.tar.xz
  xcb-fix-regression-with-remote-X11-clients.patch

New:

  qtbase-everywhere-src-5.11.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.MSWONa/_old  2018-06-26 10:30:14.158639519 +0200
+++ /var/tmp/diff_new_pack.MSWONa/_new  2018-06-26 10:30:14.162639372 +0200
@@ -36,16 +36,16 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.11.0
+Version:5.11.1
 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.0
-%define so_version 5.11.0
-%define tar_version qtbase-everywhere-src-5.11.0
+%define real_version 5.11.1
+%define so_version 5.11.1
+%define tar_version qtbase-everywhere-src-5.11.1
 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
@@ -63,14 +63,10 @@
 # PATCH-FEATURE-OPENSUSE 0001-Add-remote-print-queue-support.patch fate#322052 
-- Automatically recognize and allow printing to remote cups servers
 Patch12:0001-Add-remote-print-queue-support.patch
 # PATCH-FIX-OPENSUSE
-Patch15:force-cmake-private-headers.patch
-# PATCH-FIX-OPENSUSE
 Patch16:0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
 # PATCH-FIX-UPSTREAM
 Patch17:qapplication-emit-palettechanged.patch
 # patches 1000- 2000 and above from upstream 5.11 branch #
-Patch1000:  0001-sqlite-Allow-for-duplicated-placeholders-with-just-o.patch
-Patch1001:  xcb-fix-regression-with-remote-X11-clients.patch
 # patches 2000-3000 and above from upstream 5.12/dev branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel

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




commit libqt5-qtbase for openSUSE:Factory

2018-06-22 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-06-22 13:16:01

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Fri Jun 22 13:16:01 2018 rev:82 rq:616864 version:5.11.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-06-02 11:52:23.899449900 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-06-22 13:16:05.881447438 +0200
@@ -1,0 +2,20 @@
+Wed Jun 13 17:14:22 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch allow fallback from the xcb platform to others (QTBUG-68859):
+  * 0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
+- Use "xcb;wayland" as default platform plugin list
+
+---
+Tue Jun 12 15:00:37 UTC 2018 - wba...@tmo.at
+
+- Add patch to fix running Qt applications via ssh (boo#1096806,
+  boo#1097227):
+  * xcb-fix-regression-with-remote-X11-clients.patch
+
+---
+Thu May 24 08:33:09 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to fix yet another sqlite named placeholder issue:
+  * 0001-sqlite-Allow-for-duplicated-placeholders-with-just-o.patch
+
+---

New:

  0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
  0001-sqlite-Allow-for-duplicated-placeholders-with-just-o.patch
  xcb-fix-regression-with-remote-X11-clients.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.iDhsF8/_old  2018-06-22 13:16:07.841374762 +0200
+++ /var/tmp/diff_new_pack.iDhsF8/_new  2018-06-22 13:16:07.841374762 +0200
@@ -64,9 +64,13 @@
 Patch12:0001-Add-remote-print-queue-support.patch
 # PATCH-FIX-OPENSUSE
 Patch15:force-cmake-private-headers.patch
+# PATCH-FIX-OPENSUSE
+Patch16:0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch
 # PATCH-FIX-UPSTREAM
 Patch17:qapplication-emit-palettechanged.patch
 # patches 1000- 2000 and above from upstream 5.11 branch #
+Patch1000:  0001-sqlite-Allow-for-duplicated-placeholders-with-just-o.patch
+Patch1001:  xcb-fix-regression-with-remote-X11-clients.patch
 # patches 2000-3000 and above from upstream 5.12/dev branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
@@ -896,7 +900,9 @@
-plugin-sql-sqlite -nomake tests \
-plugin-sql-psql -I/usr/include/pgsql/ -I/usr/include/pgsql/server \
-plugin-sql-odbc \
-   -plugin-sql-mysql -I/usr/include/mysql/ -v
+   -plugin-sql-mysql -I/usr/include/mysql/ \
+   -qpa "xcb;wayland" \
+   -v
 
 make %{?_smp_mflags}
 

++ 0001-Hack-together-a-way-to-get-fallback-from-xcb-working.patch ++
>From 58426659165f3da4458ff370efe056ac17406422 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Thu, 14 Jun 2018 10:02:38 +0200
Subject: [PATCH] Hack together a way to get fallback from xcb working

QTBUG-68859
---
 src/plugins/platforms/xcb/qxcbintegration.cpp |  7 ++-
 src/plugins/platforms/xcb/qxcbintegration.h   |  1 +
 src/plugins/platforms/xcb/qxcbmain.cpp| 13 ++---
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp 
b/src/plugins/platforms/xcb/qxcbintegration.cpp
index 471287eb44..eb0607c6b6 100644
--- a/src/plugins/platforms/xcb/qxcbintegration.cpp
+++ b/src/plugins/platforms/xcb/qxcbintegration.cpp
@@ -206,7 +206,7 @@ QXcbIntegration::QXcbIntegration(const QStringList 
¶meters, int &argc, char
 
 if (m_connections.isEmpty()) {
 qCritical("Could not connect to any X display.");
-exit(1);
+return;
 }
 
 m_fontDatabase.reset(new QGenericUnixFontDatabase());
@@ -219,6 +219,11 @@ QXcbIntegration::QXcbIntegration(const QStringList 
¶meters, int &argc, char
 #endif
 }
 
+bool QXcbIntegration::connected() const
+{
+return !m_connections.isEmpty();
+}
+
 QXcbIntegration::~QXcbIntegration()
 {
 qDeleteAll(m_connections);
diff --git a/src/plugins/platforms/xcb/qxcbintegration.h 
b/src/plugins/platforms/xcb/qxcbintegration.h
index 186b6c5ddd..6fa2b1f25f 100644
--- a/src/plugins/platforms/xcb/qxcbintegration.h
+++ b/src/plugins/platforms/xcb/qxcbintegration.h
@@ -60,6 +60,7 @@ class Q_XCB_EXPORT QXcbIntegration : public 
QPlatformIntegration
 public:
 QXcbIntegration(const QStringList ¶meters, int &argc, char **argv);
 ~QXcbIntegration();
+bool connected() const;
 
 QPlatformPixmap *createPlatformPixmap(QPlatformPixmap::PixelType type) 
const override;
 QPlatformWindow *createPlatformWindow

commit libqt5-qtbase for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-06-02 11:52:22

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sat Jun  2 11:52:22 2018 rev:81 rq:611696 version:5.11.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-04-30 22:50:54.898027170 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-06-02 11:52:23.899449900 +0200
@@ -1,0 +2,20 @@
+Tue May 22 15:06:56 CEST 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.0
+  * New bugfix release
+  * For more details please see:
+  * http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.11.0/?h=v5.11.0
+- Remove patches, now upstream:
+  * 0001-Do-a-static_cast-in-bit-blasts-that-are-UB.patch
+  * 0001-sqlite-Check-that-there-are-values-to-be-set-when-bi.patch
+  * 0002-sqlite-Bind-duplicated-named-placeholders-correctly.patch
+  * 0003-sqlite-Prevent-a-crash-when-sqlite-does-not-detect-a.patch
+
+---
+Tue May  8 10:59:01 CEST 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.0-rc
+  * New bugfix release
+  * No changelog available
+
+---
@@ -9,0 +30,25 @@
+Mon Apr 23 08:55:13 CEST 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.0-beta4
+  * New bugfix release
+  * No changelog available
+- Refresh patches:
+  * force-cmake-private-headers.patch
+- Remove patches, now upstream:
+  * 0001-Extend-the-MariaDB-define-check-to-cover-the-later-v.patch
+
+---
+Wed Apr 11 09:13:30 CEST 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.0-beta3
+  * New bugfix release
+  * No changelog available
+
+---
+Wed Mar 28 09:17:05 CEST 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.0-beta2
+  * New bugfix release
+  * No changelog available
+
+---
@@ -15,0 +61,5 @@
+Tue Mar 13 13:40:37 UTC 2018 - christo...@krop.fr
+
+- Fix the license tag.
+
+---
@@ -40,0 +91,13 @@
+Thu Mar  1 09:54:43 CET 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.0-beta1
+  * New feature release
+  * For more details please see:
+  * 
http://code.qt.io/cgit/qt/qtbase.git/plain/dist/changes-5.11.0-beta1/?h=v5.11.0-beta1
+- Remove patches, now upstream:
+  * libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
+  * opengl-Bail-if-cached-shader-fails-to-load.patch
+  * 0001-Revert-QHeaderView-properly-restore-section-data-aft.patch
+  * 0002-Revert-QHeaderView-Simplify-and-fix-layoutChange-han.patch
+
+---
@@ -43,0 +107,69 @@
+
+---
+Tue Feb 20 14:27:51 CET 2018 - fab...@ritter-vogt.de
+
+- Update to 5.11.0-alpha
+  * New feature release
+  * For more details please see:
+  * https://wiki.qt.io/New_Features_in_Qt_5.11
+- Refresh patches:
+  * 0001-Add-remote-print-queue-support.patch
+  * 0001-Revert-QHeaderView-properly-restore-section-data-aft.patch
+- Remove patches, now upstream:
+  * 0001-QSimpleDrag-Fix-mouse-release-coords-for-delayed-eve.patch
+  * 0001-Remove-QPrintDialogPrivate-applyPrinterProperties-no.patch
+  * 0002-CUPS-Use-default-cups-job-priority-instead-of-50.patch
+  * 0002-Remove-QUnixPrintWidgetPrivate-applyPrinterPropertie.patch
+  * 0003-QPageSetupWidget-setPrinter-Use-printdevice-default-paper-size.patch
+  * 0003-Remove-QPrintPropertiesDialog-applyPrinterProperties.patch
+  * 0004-Fix-custom-page-size-handling-in-the-Unix-print-dial.patch
+  * 0004-Remove-QCupsJobWidget-setPrinter.patch
+  * 0005-CUPS-Refactor-the-code-a-bit.patch
+  * 0005-Remove-QPrintPropertiesDialog-selectPrinter.patch
+  * 0006-Refactor-QPPDOptionsModel-a-bit.patch
+  * 0006-Remove-QPageSetupWidget-selectPrinter.patch
+  * 0007-CUPS-Fix-advanced-options-cancel-of-the-print-properties-dialog.patch
+  * 0007-Introduce-QPrintDevice-property-setProperty.patch
+  * 0008-Allow-access-to-ppd-file-and-ppdMarkOption-via-QPpdP.patch
+  * 0008-CUPS-Fix-conflict-handling.patch
+  * 0009-CUPS-Use-printer-job-sheets-as-default-instead-of-none-none.patch
+  * 0009-QPlatformPrintDevice-use-QVector-not-QList-in-the-AP.patch
+  * 
0010-CUPS-Use-printer-job-billing-as-default-instead-of-the-empty-string.patch
+  * 0010-Reintroduce-the-Advanced-tab-in-the-QPrintProperties.patch
+  * 0011-CUPS-Use-printer-job-hold-until-as-default-instead-of-the-nohold.patch
+  * 0011-QtPrintSupport-Fix-build.patch
+  * 0012-Unix-Fix-usability-of-

commit libqt5-qtbase for openSUSE:Factory

2018-04-30 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-04-30 22:50:53

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Apr 30 22:50:53 2018 rev:80 rq:602103 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-03-30 12:02:49.619704441 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-04-30 22:50:54.898027170 +0200
@@ -1,0 +2,8 @@
+Fri Apr 27 16:25:43 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patches to fix crashes with certain sqlite queries:
+  * 0001-sqlite-Check-that-there-are-values-to-be-set-when-bi.patch
+  * 0002-sqlite-Bind-duplicated-named-placeholders-correctly.patch
+  * 0003-sqlite-Prevent-a-crash-when-sqlite-does-not-detect-a.patch
+
+---

New:

  0001-sqlite-Check-that-there-are-values-to-be-set-when-bi.patch
  0002-sqlite-Bind-duplicated-named-placeholders-correctly.patch
  0003-sqlite-Prevent-a-crash-when-sqlite-does-not-detect-a.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.nV3mlc/_old  2018-04-30 22:50:56.569966168 +0200
+++ /var/tmp/diff_new_pack.nV3mlc/_new  2018-04-30 22:50:56.573966022 +0200
@@ -102,6 +102,9 @@
 Patch2027:  0017-Cups-Print-Dialog-Change-the-message-box-titles-to-C.patch
 Patch2028:  0018-Fix-build-due-to-missing-QDebug-include.patch
 Patch2029:  0001-Do-a-static_cast-in-bit-blasts-that-are-UB.patch
+Patch2030:  0001-sqlite-Check-that-there-are-values-to-be-set-when-bi.patch
+Patch2031:  0002-sqlite-Bind-duplicated-named-placeholders-correctly.patch
+Patch2032:  0003-sqlite-Prevent-a-crash-when-sqlite-does-not-detect-a.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++ 0001-sqlite-Check-that-there-are-values-to-be-set-when-bi.patch ++
>From cd12671fac459b71d2f5f65d3e221e4e8fca25f1 Mon Sep 17 00:00:00 2001
From: Andy Shaw 
Date: Thu, 7 Dec 2017 16:01:48 +0100
Subject: [PATCH 1/3] sqlite: Check that there are values to be set when
 binding

If the values vector is empty then we know already that the paramCount
will still be invalid, so we should just accept that and not check the
reused named placeholders.

Task-number: QTBUG-64923
Change-Id: Ifaa755540c4574f1f76d3f9f129bf0f66b837b70
Reviewed-by: Edward Welbourne 
---
 src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp 
b/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
index e9f5ee9508..67dd1a6ee5 100644
--- a/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
+++ b/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
@@ -467,7 +467,7 @@ bool QSQLiteResult::exec()
 
 #if (SQLITE_VERSION_NUMBER >= 3003011)
 // In the case of the reuse of a named placeholder
-if (!paramCountIsValid) {
+if (paramCount < values.count()) {
 const auto countIndexes = [](int counter, const QList& indexList) 
{
   return counter + indexList.length();
   };
-- 
2.16.2

++ 0002-sqlite-Bind-duplicated-named-placeholders-correctly.patch ++
>From 0c8aa32d9a1b1952c5d53529655c485f5b34a695 Mon Sep 17 00:00:00 2001
From: Andy Shaw 
Date: Tue, 2 Jan 2018 09:33:48 +0100
Subject: [PATCH 2/3] sqlite: Bind duplicated named placeholders correctly

sqlite will reuse the index for bound parameters when the named
placeholder is duplicated so we only need to call bind one time for each
placeholder. Therefore we need to have just one instance of each value
when doing the bind.

Task-number: QTBUG-65150
Change-Id: I75c4bcc4563e43c180a59a7a4cbb770dbe994642
Reviewed-by: Jesus Fernandez 
---
 src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp | 16 ++-
 tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp | 25 +++
 2 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp 
b/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
index 67dd1a6ee5..444b18686a 100644
--- a/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
+++ b/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
@@ -446,7 +446,7 @@ static QString timespecToString(const QDateTime &dateTime)
 bool QSQLiteResult::exec()
 {
 Q_D(QSQLiteResult);
-const QVector values = boundValues();
+QVector values = boundValues();
 
 d->skippedStatus = false;
 d->skipRow = false;
@@ -478,6 +478,20 @@ bool QSQLiteResult::exec()
cou

commit libqt5-qtbase for openSUSE:Factory

2018-03-30 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-03-30 12:02:43

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Fri Mar 30 12:02:43 2018 rev:79 rq:591726 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-03-12 12:03:17.717574767 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-03-30 12:02:49.619704441 +0200
@@ -1,0 +2,6 @@
+Tue Mar 27 18:22:40 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to fix build with GCC 8 (boo#1087073):
+  * 0001-Do-a-static_cast-in-bit-blasts-that-are-UB.patch
+
+---

New:

  0001-Do-a-static_cast-in-bit-blasts-that-are-UB.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.doKUsA/_old  2018-03-30 12:02:51.227646298 +0200
+++ /var/tmp/diff_new_pack.doKUsA/_new  2018-03-30 12:02:51.231646153 +0200
@@ -101,6 +101,7 @@
 Patch2026:  0016-CUPS-Rework-set-clearCupsOption-API.patch
 Patch2027:  0017-Cups-Print-Dialog-Change-the-message-box-titles-to-C.patch
 Patch2028:  0018-Fix-build-due-to-missing-QDebug-include.patch
+Patch2029:  0001-Do-a-static_cast-in-bit-blasts-that-are-UB.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel

++ 0001-Do-a-static_cast-in-bit-blasts-that-are-UB.patch ++
>From 5a53a9893c50cf01fb3b93d256bbc669f99c16ea Mon Sep 17 00:00:00 2001
From: Ville Voutilainen 
Date: Fri, 12 Jan 2018 16:29:00 +0200
Subject: [PATCH] Do a static_cast in bit-blasts that are UB
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Without this, building Qt and Qt applications fails with GCC 8.
The errors look like this:
writing to an object of type ‘class QPointer’ with no 
trivial copy-assignment; use copy-assignment or copy-initialization instead 
[-Werror=class-memaccess]

Task-number: QTBUG-65691
Change-Id: Ie5a30814125deca7a160b9a61f5aa3f944ee1ac9
Reviewed-by: Qt CI Bot 
Reviewed-by: Thiago Macieira 
---
 src/gui/painting/qmatrix.h| 4 ++--
 src/gui/painting/qtransform.h | 6 +++---
 src/gui/text/qtextengine_p.h  | 8 
 src/gui/text/qtextobject.h| 4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/gui/painting/qmatrix.h b/src/gui/painting/qmatrix.h
index 15e0ab5be1..dafb746bc6 100644
--- a/src/gui/painting/qmatrix.h
+++ b/src/gui/painting/qmatrix.h
@@ -65,10 +65,10 @@ public:
 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
 // ### Qt 6: remove; the compiler-generated ones are fine!
 QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default
-{ memcpy(this, &other, sizeof(QMatrix)); return *this; }
+{ memcpy(static_cast(this), static_cast(&other), 
sizeof(QMatrix)); return *this; }
 QMatrix &operator=(const QMatrix &) Q_DECL_NOTHROW; // = default
 QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default
-{ memcpy(this, &other, sizeof(QMatrix)); }
+{ memcpy(static_cast(this), static_cast(&other), 
sizeof(QMatrix)); }
 QMatrix(const QMatrix &other) Q_DECL_NOTHROW; // = default
 #endif
 
diff --git a/src/gui/painting/qtransform.h b/src/gui/painting/qtransform.h
index 06ae611861..efb0fd7e83 100644
--- a/src/gui/painting/qtransform.h
+++ b/src/gui/painting/qtransform.h
@@ -78,14 +78,14 @@ public:
 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
 // ### Qt 6: remove; the compiler-generated ones are fine!
 QTransform &operator=(QTransform &&other) Q_DECL_NOTHROW // = default
-{ memcpy(this, &other, sizeof(QTransform)); return *this; }
+{ memcpy(static_cast(this), static_cast(&other), 
sizeof(QTransform)); return *this; }
 QTransform &operator=(const QTransform &) Q_DECL_NOTHROW; // = default
 QTransform(QTransform &&other) Q_DECL_NOTHROW // = default
 : affine(Qt::Uninitialized)
-{ memcpy(this, &other, sizeof(QTransform)); }
+{ memcpy(static_cast(this), static_cast(&other), 
sizeof(QTransform)); }
 QTransform(const QTransform &other) Q_DECL_NOTHROW // = default
 : affine(Qt::Uninitialized)
-{ memcpy(this, &other, sizeof(QTransform)); }
+{ memcpy(static_cast(this), static_cast(&other), 
sizeof(QTransform)); }
 #endif
 
 bool isAffine() const;
diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h
index 89f1328241..90c1a12acd 100644
--- a/src/gui/text/qtextengine_p.h
+++ b/src/gui/text/qtextengine_p.h
@@ -236,13 +236,13 @@ struct QGlyphLayout
 last = numGlyphs;
 if (first == 0 && last == numGlyphs
 && reint

commit libqt5-qtbase for openSUSE:Factory

2018-03-12 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-03-12 12:03:16

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Mar 12 12:03:16 2018 rev:78 rq:585167 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-03-04 11:54:51.033291000 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-03-12 12:03:17.717574767 +0100
@@ -1,0 +2,17 @@
+Fri Mar  9 15:15:25 UTC 2018 - crrodrig...@opensuse.org
+
+- Further review of build dependencies:
+  * pcre-devel is not required, only pcre2-devel, Remove
+from buildrequires
+  * add explicit buildrequires on pkgconfig(libdrm) and 
+pkgconfig(pango)
+  * sources do not use libtiff-devel at all, remove from
+buildrequires
+
+---
+Thu Mar  8 17:09:23 UTC 2018 - crrodrig...@opensuse.org
+
+- Replace xorg-x11-devel for a long list of individual
+  pkgconfig() buildrequires
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.hRvAz0/_old  2018-03-12 12:03:21.489439593 +0100
+++ /var/tmp/diff_new_pack.hRvAz0/_new  2018-03-12 12:03:21.497439307 +0100
@@ -111,9 +111,7 @@
 BuildRequires:  libpng-devel
 BuildRequires:  libproxy-devel
 BuildRequires:  lksctp-tools-devel
-BuildRequires:  libtiff-devel
 BuildRequires:  openssl-devel
-BuildRequires:  pcre-devel
 BuildRequires:  pcre2-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(mtdev)
@@ -140,11 +138,27 @@
 %if %{vulkan}
 BuildRequires:  vulkan-devel
 %endif
-BuildRequires:  xcb-util-image-devel
-BuildRequires:  xcb-util-keysyms-devel
-BuildRequires:  xcb-util-renderutil-devel
-BuildRequires:  xcb-util-wm-devel
-BuildRequires:  xorg-x11-devel
+
+BuildRequires:  pkgconfig(pango)
+BuildRequires:  pkgconfig(libdrm)
+BuildRequires:  pkgconfig(xcb-randr)
+BuildRequires:  pkgconfig(xcb-renderutil)
+BuildRequires:  pkgconfig(xcb-render)
+BuildRequires:  pkgconfig(xcb-shape)
+BuildRequires:  pkgconfig(xcb-shm)
+BuildRequires:  pkgconfig(xcb-sync)
+BuildRequires:  pkgconfig(xcb-xfixes)
+BuildRequires:  pkgconfig(xcb-xinerama)
+BuildRequires:  pkgconfig(xcb-xkb)
+BuildRequires:  pkgconfig(xcb)
+BuildRequires:  pkgconfig(xcb-glx)
+BuildRequires:  pkgconfig(xcb-image)
+BuildRequires:  pkgconfig(xcb-icccm)
+BuildRequires:  pkgconfig(xcb-keysyms)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xrender)
+BuildRequires:  pkgconfig(xi)
+BuildRequires:  pkgconfig(x11-xcb)
 BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-3.0)
@@ -155,6 +169,7 @@
 BuildRequires:  pkgconfig(sm)
 BuildRequires:  pkgconfig(xkbcommon) >= 0.4.1
 BuildRequires:  pkgconfig(xkbcommon-x11) >= 0.4.1
+BuildRequires:  pkgconfig(zlib)
 %if %journald
 BuildRequires:  pkgconfig(libsystemd)
 %endif




commit libqt5-qtbase for openSUSE:Factory

2018-03-04 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-03-04 11:54:46

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sun Mar  4 11:54:46 2018 rev:77 rq:581853 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-02-28 19:59:40.474601151 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-03-04 11:54:51.033291000 +0100
@@ -1,0 +2,8 @@
+Thu Mar  1 12:14:13 UTC 2018 - alarr...@suse.com
+
+- Rework 0001-Add-remote-print-queue-support.patch so now the remote
+  print queue discovery is disabled by default and is only enabled when
+  the QT_ENABLE_PRINTER_DISCOVERY environment variable is set
+  (QT_DISABLE_PRINTER_DISCOVERY is no longer used).
+
+---



Other differences:
--
++ 0001-Add-remote-print-queue-support.patch ++
--- /var/tmp/diff_new_pack.Z9ZIa0/_old  2018-03-04 11:54:52.717230382 +0100
+++ /var/tmp/diff_new_pack.Z9ZIa0/_new  2018-03-04 11:54:52.721230238 +0100
@@ -5,12 +5,12 @@
 
 Cups servers which announce themselves on avahi will be shown in
 the printer dialog. This adds a delay the first time the print dialog
-is opened in order to search for print queues . If you don't have any
-network printer queue and you find the delay too annoying, it can be
-disabled by setting the QT_DISABLE_PRINTER_DISCOVERY environment variable
-to 1
+is opened in order to search for print queues . Because of this delay,
+the remote print queue discovery is disabled by default and can be enabled
+by setting the QT_ENABLE_PRINTER_DISCOVERY environment variable to 1.
 
-Change-Id: Ib70715d331e8f380a3c9039011bb8521986652aa
+The commit to Qt (which enabled the discovery by default) has 
+a Change-Id: Ib70715d331e8f380a3c9039011bb8521986652aa
 ---
  src/plugins/printsupport/cups/qcupsprintengine.cpp | 35 +++-
  .../printsupport/cups/qcupsprintersupport.cpp  | 95 --
@@ -39,7 +39,7 @@
 +bool fallbackToLocal = false;
 +cups_dest_t *cupsDest = NULL;
 +
-+if (qEnvironmentVariableIsSet("QT_DISABLE_PRINTER_DISCOVERY")) {
++if (!qEnvironmentVariableIsSet("QT_ENABLE_PRINTER_DISCOVERY")) {
 +fallbackToLocal = true;
 +} else {
 +cupsDest = cupsGetDest(printerName.toLocal8Bit(), NULL, 
QCupsPrinterSupport::cupsPrintersCount(), QCupsPrinterSupport::cupsPrinters());
@@ -128,8 +128,8 @@
 -int count = cupsGetDests(&dests);
 -list.reserve(count);
 -for (int i = 0; i < count; ++i) {
-+bool disablePrinterDiscovery = 
qEnvironmentVariableIsSet("QT_DISABLE_PRINTER_DISCOVERY");
-+if (disablePrinterDiscovery) {
++bool enablePrinterDiscovery = 
qEnvironmentVariableIsSet("QT_ENABLE_PRINTER_DISCOVERY");
++if (!enablePrinterDiscovery) {
 +qt_cups_num_printers = cupsGetDests(&dests);
 +} else {
 +if (qt_cups_num_printers == 0)
@@ -146,7 +146,7 @@
  list.append(printerId);
  }
 -cupsFreeDests(count, dests);
-+if (disablePrinterDiscovery) {
++if (!enablePrinterDiscovery) {
 +cupsFreeDests(qt_cups_num_printers, dests);
 +}
 +
@@ -160,8 +160,8 @@
 -int count = cupsGetDests(&dests);
 -for (int i = 0; i < count; ++i) {
 +
-+bool disablePrinterDiscovery = 
qEnvironmentVariableIsSet("QT_DISABLE_PRINTER_DISCOVERY");
-+if (disablePrinterDiscovery) {
++bool enablePrinterDiscovery = 
qEnvironmentVariableIsSet("QT_ENABLE_PRINTER_DISCOVERY");
++if (!enablePrinterDiscovery) {
 +qt_cups_num_printers = cupsGetDests(&dests);
 +} else {
 +if (qt_cups_num_printers == 0)
@@ -179,7 +179,7 @@
  }
  }
 -cupsFreeDests(count, dests);
-+if (disablePrinterDiscovery) {
++if (!enablePrinterDiscovery) {
 +cupsFreeDests(qt_cups_num_printers, dests);
 +}
  return printerId;
@@ -250,12 +250,12 @@
  m_cupsDest = 0;
  }
  
-+bool disablePrinterDiscovery = 
qEnvironmentVariableIsSet("QT_DISABLE_PRINTER_DISCOVERY");
++bool enablePrinterDiscovery = 
qEnvironmentVariableIsSet("QT_ENABLE_PRINTER_DISCOVERY");
 +
  // Get the print instance and PPD file
 -m_cupsDest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, m_cupsName, 
m_cupsInstance);
 +
-+if (disablePrinterDiscovery) {
++if (!enablePrinterDiscovery) {
 +m_cupsDest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, m_cupsName, 
m_cupsInstance);
 +} else {
 +cups_dest_t *cupsDest = cupsGetDest( m_cupsName,
@@ -270,7 +270,7 @@
 +http_t *http = NULL;
 +const char *ppdFile = NULL;
 +
-+  

commit libqt5-qtbase for openSUSE:Factory

2018-02-28 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-02-28 19:59:38

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Wed Feb 28 19:59:38 2018 rev:76 rq:579468 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-02-19 12:59:25.709408180 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-02-28 19:59:40.474601151 +0100
@@ -1,0 +2,5 @@
+Fri Feb 23 09:00:44 UTC 2018 - fab...@ritter-vogt.de
+
+- Enable journald support (boo#1050461)
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.3f8ZjT/_old  2018-02-28 19:59:44.274463657 +0100
+++ /var/tmp/diff_new_pack.3f8ZjT/_new  2018-02-28 19:59:44.282463366 +0100
@@ -17,7 +17,7 @@
 
 
 %define qt5_snapshot 0
-%define journald 0
+%define journald 1
 
 %ifarch %arm aarch64
 %global gles 1
@@ -156,7 +156,7 @@
 BuildRequires:  pkgconfig(xkbcommon) >= 0.4.1
 BuildRequires:  pkgconfig(xkbcommon-x11) >= 0.4.1
 %if %journald
-BuildRequires:  pkgconfig(libsystemd-journal)
+BuildRequires:  pkgconfig(libsystemd)
 %endif
 # to get cmake(...) autoprovides
 BuildRequires:  cmake




commit libqt5-qtbase for openSUSE:Factory

2018-02-19 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-02-19 12:59:22

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Feb 19 12:59:22 2018 rev:75 rq:575865 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-02-12 10:09:36.385632352 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-02-19 12:59:25.709408180 +0100
@@ -1,0 +2,18 @@
+Mon Feb 12 14:21:22 UTC 2018 - msta...@suse.com
+
+- Add opengl-Bail-if-cached-shader-fails-to-load.patch:
+  Fixing broken OpenGL rendering with cached shaders.
+  This is especially systems with Mesa 18.0.0 or newer.
+
+  Many thanks to Michal Srb and Fabian Vogt for hunting this down.
+  This was truly a joint effort.
+
+  Fixes boo#1080578 and all duplicates of boo#1079465.
+
+---
+Mon Feb 12 09:23:59 UTC 2018 - fv...@suse.com
+
+- Add -force-debug-info to also generate debug info in release builds
+  (boo#1080551)
+
+---

New:

  opengl-Bail-if-cached-shader-fails-to-load.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.fmcCEX/_old  2018-02-19 12:59:29.105285710 +0100
+++ /var/tmp/diff_new_pack.fmcCEX/_new  2018-02-19 12:59:29.109285566 +0100
@@ -65,6 +65,8 @@
 Patch15:force-cmake-private-headers.patch
 # PATCH-FIX-UPSTREAM
 Patch17:qapplication-emit-palettechanged.patch
+# PATCH-FIX-UPSTREAM
+Patch18:opengl-Bail-if-cached-shader-fails-to-load.patch
 # patches 1000- 2000 and above from upstream 5.10 branch #
 Patch1000:  0001-xcb-verify-if-xrandr-present-before-using-xcb_randr-.patch
 Patch1001:  0001-Avoid-providing-bad-pixelDeltas-on-X11.patch
@@ -862,6 +864,7 @@
-no-strip \
-opensource \
-no-separate-debug-info \
+   -force-debug-info \
-shared \
-xkb \
-system-xkbcommon \

++ opengl-Bail-if-cached-shader-fails-to-load.patch ++
>From 3bb3ee936f27e9749bf1a2c4bd5ded2f5167663f Mon Sep 17 00:00:00 2001
From: Max Staudt 
Date: Mon, 12 Feb 2018 15:07:29 +0100
Subject: [PATCH] opengl: Bail if cached shader fails to load
References: boo#1080578, boo#1079465
Signed-off-by: Max Staudt 

QOpenGLProgramBinaryCache::setProgramBinary() should check
GL_LINK_STATUS after glProgramBinary(), but doesn't.

In practice, this means that SDDM is a white screen, and KDE is just
a gray task bar.

So far, Qt tries to check this using its internal ::link() function.
But in case the cached binary fails to load, Qt currently attempts to
link the inexistent program, resulting in a zero-length, fixed
pipeline shader.

Checking this already in ::setProgramBinary() makes the call to
::link() superfluous, so we remove that as well.

Many thanks to Michal Srb and Fabian Vogt for hunting this down.
This was truly a joint effort.

Cc: Michal Srb 
Cc: Fabian Vogt 
Signed-off-by: Max Staudt 
---
 src/gui/opengl/qopenglprogrambinarycache.cpp | 11 ++-
 src/gui/opengl/qopenglshaderprogram.cpp  |  8 +---
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/gui/opengl/qopenglprogrambinarycache.cpp 
b/src/gui/opengl/qopenglprogrambinarycache.cpp
index 06373e1113..f50878ab5c 100644
--- a/src/gui/opengl/qopenglprogrambinarycache.cpp
+++ b/src/gui/opengl/qopenglprogrambinarycache.cpp
@@ -161,10 +161,19 @@ bool QOpenGLProgramBinaryCache::setProgramBinary(uint 
programId, uint blobFormat
 QOpenGLExtraFunctions *funcs = 
QOpenGLContext::currentContext()->extraFunctions();
 while (funcs->glGetError() != GL_NO_ERROR) { }
 funcs->glProgramBinary(programId, blobFormat, p, blobSize);
+
 int err = funcs->glGetError();
+GLint link_status = 0;
+funcs->glGetProgramiv(programId, GL_LINK_STATUS, &link_status);
+if (link_status != GL_TRUE || err != GL_NO_ERROR) {
+qCDebug(DBG_SHADER_CACHE, "Program binary failed to load for program 
%u, size %d, format 0x%x, link_status = 0x%x, err = 0x%x",
+programId, blobSize, blobFormat, link_status, err);
+return false;
+}
+
 qCDebug(DBG_SHADER_CACHE, "Program binary set for program %u, size %d, 
format 0x%x, err = 0x%x",
 programId, blobSize, blobFormat, err);
-return err == 0;
+return true;
 }
 
 #ifdef Q_OS_UNIX
diff --git a/src/gui/opengl/qopenglshaderprogram.cpp 
b/src/gui/opengl/qopenglshaderprogram.cpp
index cc8af16bfe..3b82baccb3 100644
--- a/src/gui/opengl/qopenglshaderprogram.cpp
+++ b/src/gui/opengl/qopenglshaderprogram.cpp

commit libqt5-qtbase for openSUSE:Factory

2018-02-12 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-02-12 10:09:32

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Feb 12 10:09:32 2018 rev:74 rq:574122 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-02-03 15:38:04.249790773 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-02-12 10:09:36.385632352 +0100
@@ -1,0 +2,6 @@
+Thu Feb  8 08:48:37 UTC 2018 - fab...@ritter-vogt.de
+
+- Add patch to fix plugin loading with newer MariaDB versions:
+  * 0001-Extend-the-MariaDB-define-check-to-cover-the-later-v.patch
+
+---

New:

  0001-Extend-the-MariaDB-define-check-to-cover-the-later-v.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.jGHN5D/_old  2018-02-12 10:09:38.869542835 +0100
+++ /var/tmp/diff_new_pack.jGHN5D/_new  2018-02-12 10:09:38.873542690 +0100
@@ -69,6 +69,7 @@
 Patch1000:  0001-xcb-verify-if-xrandr-present-before-using-xcb_randr-.patch
 Patch1001:  0001-Avoid-providing-bad-pixelDeltas-on-X11.patch
 Patch1002:  0001-QSimpleDrag-Fix-mouse-release-coords-for-delayed-eve.patch
+Patch1003:  0001-Extend-the-MariaDB-define-check-to-cover-the-later-v.patch
 # patches 2000-3000 and above from upstream 5.11/dev branch #
 Patch2000:  0001-Remove-QPrintDialogPrivate-applyPrinterProperties-no.patch
 Patch2001:  0002-Remove-QUnixPrintWidgetPrivate-applyPrinterPropertie.patch
@@ -181,45 +182,7 @@
 
 %prep
 %setup -q -n %{tar_version}
-%patch3 -p1
-%patch5 -p1
-%patch6 -p1
-%patch8 -p1
-%patch10 -p1
-%patch12 -p1
-%patch15 -p1
-%patch17 -p1
-%patch1000 -p1
-%patch1001 -p1
-%patch1002 -p1
-%patch2000 -p1
-%patch2001 -p1
-%patch2002 -p1
-%patch2003 -p1
-%patch2004 -p1
-%patch2005 -p1
-%patch2006 -p1
-%patch2007 -p1
-%patch2008 -p1
-%patch2009 -p1
-%patch2010 -p1
-%patch2012 -p1
-%patch2013 -p1
-%patch2014 -p1
-%patch2015 -p1
-%patch2016 -p1
-%patch2017 -p1
-%patch2018 -p1
-%patch2019 -p1
-%patch2020 -p1
-%patch2021 -p1
-%patch2022 -p1
-%patch2023 -p1
-%patch2024 -p1
-%patch2025 -p1
-%patch2026 -p1
-%patch2027 -p1
-%patch2028 -p1
+%autopatch -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}

++ 0001-Extend-the-MariaDB-define-check-to-cover-the-later-v.patch ++
>From b2bd1eef198b9d4774e1f10c77d6622813938543 Mon Sep 17 00:00:00 2001
From: Andy Shaw 
Date: Wed, 27 Sep 2017 09:23:10 +0200
Subject: [PATCH] Extend the MariaDB define check to cover the later versions
 too

Change-Id: Ide89b4e07feb116bf152cbf3f5630d313e8ba0f1
---
 src/plugins/sqldrivers/mysql/qsql_mysql.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/sqldrivers/mysql/qsql_mysql.cpp 
b/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
index d9aebff700..7694698bff 100644
--- a/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
+++ b/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
@@ -1160,14 +1160,14 @@ static void qLibraryInit()
 # endif // MYSQL_VERSION_ID
 #endif // Q_NO_MYSQL_EMBEDDED
 
-#ifdef MARIADB_BASE_VERSION
+#if defined(MARIADB_BASE_VERSION) || defined(MARIADB_VERSION_ID)
 qAddPostRoutine(mysql_server_end);
 #endif
 }
 
 static void qLibraryEnd()
 {
-#if !defined(MARIADB_BASE_VERSION)
+#if !defined(MARIADB_BASE_VERSION) && !defined(MARIADB_VERSION_ID)
 # if !defined(Q_NO_MYSQL_EMBEDDED)
 #  if MYSQL_VERSION_ID > 4
 #   if (MYSQL_VERSION_ID >= 40110 && MYSQL_VERSION_ID < 5) || 
MYSQL_VERSION_ID >= 50003
-- 
2.16.1




commit libqt5-qtbase for openSUSE:Factory

2018-02-03 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-02-03 15:38:02

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sat Feb  3 15:38:02 2018 rev:73 rq:572065 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2018-01-02 16:32:55.053895202 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-02-03 15:38:04.249790773 +0100
@@ -1,0 +2,47 @@
+Fri Feb  2 08:10:28 UTC 2018 - alarr...@suse.com
+
+- Add 0001-QSimpleDrag-Fix-mouse-release-coords-for-delayed-eve.patch
+  to fix a bug causing the wrong desktop icon to look hovered
+  after dragging an icon on the desktop in plasma (QTBUG-66103).
+
+---
+Fri Jan 26 11:21:54 UTC 2018 - alarr...@suse.com
+
+- Moved 0001-Avoid-providing-bad-pixelDeltas-on-X11.patch to use a patch
+  number in the 1000-1999 range  since it was approved in the 5.9 branch
+  upstream.
+
+---
+Fri Jan 26 10:08:04 UTC 2018 - alarr...@suse.com
+
+- Add 0001-Avoid-providing-bad-pixelDeltas-on-X11.patch to avoid using
+  the hardcoded resolution that libinput is giving as a real pixel
+  delta (QTBUG-59261).
+
+---
+Tue Jan 25 10:13:15 UTC 2018 - alarr...@suse.com
+
+- Add patches to fix the custom page size handling in the print dialog as
+  well as other printer issues (QTBUG-58733, boo#994809):
+  * 0002-CUPS-Use-default-cups-job-priority-instead-of-50.patch
+  * 0003-QPageSetupWidget-setPrinter-Use-printdevice-default-paper-size.patch
+  * 0004-Fix-custom-page-size-handling-in-the-Unix-print-dial.patch
+  * 0005-CUPS-Refactor-the-code-a-bit.patch
+  * 0006-Refactor-QPPDOptionsModel-a-bit.patch
+  * 0007-CUPS-Fix-advanced-options-cancel-of-the-print-properties-dialog.patch
+  * 0008-CUPS-Fix-conflict-handling.patch
+  * 0009-CUPS-Use-printer-job-sheets-as-default-instead-of-none-none.patch
+  * 
0010-CUPS-Use-printer-job-billing-as-default-instead-of-the-empty-string.patch
+  * 0011-CUPS-Use-printer-job-hold-until-as-default-instead-of-the-nohold.patch
+  * 0012-Unix-Fix-usability-of-the-print-properties-dialog.patch
+  * 0013-cups-Dont-show-InstallableOptions-in-the-advanced-properties-tab.patch
+  * 0014-CUPS-Enable-printing-arbitrary-pages-and-page-ranges.patch
+  * 
0015-CUPS-Dont-show-choices-that-conflict-with-the-printer-installed-options.patch
+  * 0016-CUPS-Rework-set-clearCupsOption-API.patch
+  * 0017-Cups-Print-Dialog-Change-the-message-box-titles-to-C.patch
+  * 0018-Fix-build-due-to-missing-QDebug-include.patch
+
+- Dropped 0001-Fix-custom-page-size-handling-in-the-Unix-print-dial.patch
+  which is now included in the previous patchset with order 0004.
+
+---

Old:

  0001-Fix-custom-page-size-handling-in-the-Unix-print-dial.patch

New:

  0001-Avoid-providing-bad-pixelDeltas-on-X11.patch
  0001-QSimpleDrag-Fix-mouse-release-coords-for-delayed-eve.patch
  0002-CUPS-Use-default-cups-job-priority-instead-of-50.patch
  0003-QPageSetupWidget-setPrinter-Use-printdevice-default-paper-size.patch
  0004-Fix-custom-page-size-handling-in-the-Unix-print-dial.patch
  0005-CUPS-Refactor-the-code-a-bit.patch
  0006-Refactor-QPPDOptionsModel-a-bit.patch
  0007-CUPS-Fix-advanced-options-cancel-of-the-print-properties-dialog.patch
  0008-CUPS-Fix-conflict-handling.patch
  0009-CUPS-Use-printer-job-sheets-as-default-instead-of-none-none.patch
  0010-CUPS-Use-printer-job-billing-as-default-instead-of-the-empty-string.patch
  0011-CUPS-Use-printer-job-hold-until-as-default-instead-of-the-nohold.patch
  0012-Unix-Fix-usability-of-the-print-properties-dialog.patch
  0013-cups-Dont-show-InstallableOptions-in-the-advanced-properties-tab.patch
  0014-CUPS-Enable-printing-arbitrary-pages-and-page-ranges.patch
  
0015-CUPS-Dont-show-choices-that-conflict-with-the-printer-installed-options.patch
  0016-CUPS-Rework-set-clearCupsOption-API.patch
  0017-Cups-Print-Dialog-Change-the-message-box-titles-to-C.patch
  0018-Fix-build-due-to-missing-QDebug-include.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.zfUq9n/_old  2018-02-03 15:38:06.249697361 +0100
+++ /var/tmp/diff_new_pack.zfUq9n/_new  2018-02-03 15:38:06.253697174 +0100
@@ -67,6 +67,8 @@
 Patch17:qapplication-emit-palettechanged.patch
 # patches 1000- 2000 and above from upstream 5.10 branch #
 Patch1000:  0001-xcb-verify-if-xrandr-present-before-using-xcb_randr-.p

commit libqt5-qtbase for openSUSE:Factory

2018-01-02 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2018-01-02 16:32:51

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Tue Jan  2 16:32:51 2018 rev:72 rq:560601 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-12-23 12:15:53.318108733 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2018-01-02 16:32:55.053895202 +0100
@@ -1,0 +2,6 @@
+Fri Dec 29 18:19:46 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to fix crash if X RanR is not present (boo#1073572):
+  * 0001-xcb-verify-if-xrandr-present-before-using-xcb_randr-.patch
+
+---

New:

  0001-xcb-verify-if-xrandr-present-before-using-xcb_randr-.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.ZobT5j/_old  2018-01-02 16:32:57.784984468 +0100
+++ /var/tmp/diff_new_pack.ZobT5j/_new  2018-01-02 16:32:57.788983135 +0100
@@ -66,6 +66,7 @@
 # PATCH-FIX-UPSTREAM
 Patch17:qapplication-emit-palettechanged.patch
 # patches 1000- 2000 and above from upstream 5.10 branch #
+Patch1000:  0001-xcb-verify-if-xrandr-present-before-using-xcb_randr-.patch
 # patches 2000-3000 and above from upstream 5.11/dev branch #
 Patch2000:  0001-Remove-QPrintDialogPrivate-applyPrinterProperties-no.patch
 Patch2001:  0002-Remove-QUnixPrintWidgetPrivate-applyPrinterPropertie.patch
@@ -170,6 +171,7 @@
 %patch12 -p1
 %patch15 -p1
 %patch17 -p1
+%patch1000 -p1
 %patch2000 -p1
 %patch2001 -p1
 %patch2002 -p1

++ 0001-xcb-verify-if-xrandr-present-before-using-xcb_randr-.patch ++
>From 79d78d814acad4e183e281aea9b131f396abe3fb Mon Sep 17 00:00:00 2001
From: Gatis Paeglis 
Date: Thu, 7 Dec 2017 11:49:49 +0100
Subject: [PATCH] xcb: verify if xrandr present before using xcb_randr* APIs

Not doing so might break the connection. We have had similar
issues before, e.g. QTBUG-45312.

Change-Id: I95f15d24773fc92b052578bd72d1ba264d0a5f63
Reviewed-by: Laszlo Agocs 
Reviewed-by: Uli Schlachter 
---
 src/plugins/platforms/xcb/qxcbscreen.cpp | 35 +---
 1 file changed, 23 insertions(+), 12 deletions(-)

diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp 
b/src/plugins/platforms/xcb/qxcbscreen.cpp
index ec0f9ba561..67c96b2d80 100644
--- a/src/plugins/platforms/xcb/qxcbscreen.cpp
+++ b/src/plugins/platforms/xcb/qxcbscreen.cpp
@@ -446,17 +446,24 @@ QXcbScreen::QXcbScreen(QXcbConnection *connection, 
QXcbVirtualDesktop *virtualDe
 
 m_cursor = new QXcbCursor(connection, this);
 
-// Parse EDID
-if (m_edid.parse(getEdid()))
-qCDebug(lcQpaScreen, "EDID data for output \"%s\": identifier '%s', 
manufacturer '%s', model '%s', serial '%s', physical size: %.2fx%.2f",
-name().toLatin1().constData(),
-m_edid.identifier.toLatin1().constData(),
-m_edid.manufacturer.toLatin1().constData(),
-m_edid.model.toLatin1().constData(),
-m_edid.serialNumber.toLatin1().constData(),
-m_edid.physicalSize.width(), m_edid.physicalSize.height());
-else
-qCDebug(lcQpaScreen) << "Failed to parse EDID data for output" << 
name(); // keep this debug, not warning
+if (connection->hasXRandr()) { // Parse EDID
+QByteArray edid = getEdid();
+if (m_edid.parse(edid)) {
+qCDebug(lcQpaScreen, "EDID data for output \"%s\": identifier 
'%s', manufacturer '%s',"
+ "model '%s', serial '%s', physical size: 
%.2fx%.2f",
+name().toLatin1().constData(),
+m_edid.identifier.toLatin1().constData(),
+m_edid.manufacturer.toLatin1().constData(),
+m_edid.model.toLatin1().constData(),
+m_edid.serialNumber.toLatin1().constData(),
+m_edid.physicalSize.width(), m_edid.physicalSize.height());
+} else {
+// This property is defined by the xrandr spec. Parsing failure 
indicates a valid error,
+// but keep this as debug, for details see 
4f515815efc318ddc909a0399b71b8a684962f38.
+qCDebug(lcQpaScreen) << "Failed to parse EDID data for output" << 
name() <<
+"edid data: " << edid;
+}
+}
 }
 
 QXcbScreen::~QXcbScreen()
@@ -899,9 +906,13 @@ QByteArray QXcbScreen::getOutputProperty(xcb_atom_t atom) 
const
 
 QByteArray QXcbScreen::getEdid() const
 {
+QByteArray result;
+if (!connection()->hasXRandr())
+return result;
+

commit libqt5-qtbase for openSUSE:Factory

2017-12-23 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-12-23 12:15:29

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sat Dec 23 12:15:29 2017 rev:71 rq:558896 version:5.10.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-12-08 12:53:34.153960177 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-12-23 12:15:53.318108733 +0100
@@ -1,0 +2,50 @@
+Wed Dec 20 10:41:16 UTC 2017 - alarr...@suse.com
+
+- Add 0001-Fix-custom-page-size-handling-in-the-Unix-print-dial.patch
+  to fix custom page size handling in the Unix print dialog (QTBUG-58733) 
+
+---
+Fri Dec 15 17:08:31 UTC 2017 - alarr...@suse.com
+
+- Add patches from upstream to reintroduce the advanced tab in
+  the Qt printer properties dialog:
+  0001-Remove-QPrintDialogPrivate-applyPrinterProperties-no.patch 
+  0002-Remove-QUnixPrintWidgetPrivate-applyPrinterPropertie.patch
+  0003-Remove-QPrintPropertiesDialog-applyPrinterProperties.patch
+  0004-Remove-QCupsJobWidget-setPrinter.patch
+  0005-Remove-QPrintPropertiesDialog-selectPrinter.patch
+  0006-Remove-QPageSetupWidget-selectPrinter.patch
+  0007-Introduce-QPrintDevice-property-setProperty.patch
+  0008-Allow-access-to-ppd-file-and-ppdMarkOption-via-QPpdP.patch
+  0009-QPlatformPrintDevice-use-QVector-not-QList-in-the-AP.patch
+  0010-Reintroduce-the-Advanced-tab-in-the-QPrintProperties.patch
+  0011-QtPrintSupport-Fix-build.patch 
+- Small change in 0001-Add-remote-print-queue-support.patch so
+  0007-Allow-access-to-ppd-file-and-ppdMarkOption-via-QPpdP.patch
+  applies cleanly.
+
+---
+Fri Dec  8 23:11:00 UTC 2017 - christo...@krop.fr
+
+- Update the license tag (boo#967696)
+
+---
+Thu Dec  7 12:18:04 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10.0 final
+  * New bugfix release
+
+---
+Sun Dec  3 14:12:46 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10.0 RC 2
+  * New bugfix release
+
+---
+Thu Nov 30 09:47:10 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10.0 RC 1
+  * New bugfix release
+- Refresh tell-the-truth-about-private-api.patch
+
+---
@@ -11,0 +62,23 @@
+Wed Nov 15 11:41:32 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10 Beta 4
+- Contains bugfixes
+- Refresh tell-the-truth-about-private-api.patch
+
+---
+Thu Nov  2 07:22:12 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10 Beta 3
+- Contains bugfixes
+- Remove patches, now upstream:
+  * 0001-Cups-Check-the-created-QPrintDevice-is-valid-before-.patch
+
+---
+Mon Oct 30 16:19:18 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10 Beta 2
+- Contains bugfixes
+- Remove patches, now upstream:
+  * qglxconvenience-avoid-null-pointer-deref.patch
+
+---
@@ -16,0 +90,13 @@
+Tue Oct 24 18:26:45 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to potentially fix printing:
+  * 0001-Cups-Check-the-created-QPrintDevice-is-valid-before-.patch
+
+---
+Mon Oct  9 16:17:18 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10 Beta 1
+- For more information visit:
+https://blog.qt.io/blog/2017/10/09/qt-5-10-beta-released/
+
+---
@@ -33,0 +120,50 @@
+
+---
+Mon Sep 25 14:42:37 CEST 2017 - fab...@ritter-vogt.de
+
+- Update to 5.10 Alpha 1:
+  * Qt Core
++ Added rudimentary implementation of QStringView. It is missing some 
(important) const-QString functions, but is fully functional as an interface 
type. To be completed for Qt 5.11.
++ Added many more functions to QLatin1String, too, co-evolving 
QLatin1String as the const char*-Latin-1-version of QStringView.
++ Added QIODevice::skip() to improve performance in read operations.
++ Explicitly little and big-endian integer types exposed (for instance 
qint16_le, quint32_be) for machine-independent data-type parsing.
++ Added QRandomGenerator providing a simple API for high-quality 
(optionally seed-less) random numbers.
++ Added accessors for metadata time fields of files to QFileInfo.
++ Added QSemaphoreReleaser

commit libqt5-qtbase for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-12-08 12:53:32

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Fri Dec  8 12:53:32 2017 rev:70 rq:546006 version:5.9.3

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-10-29 20:23:57.868223008 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-12-08 12:53:34.153960177 +0100
@@ -1,0 +2,10 @@
+Sat Nov 25 12:46:32 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.9.3
+  * New bugfix release
+  * For more details, see:
+http://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.9.3/?h=v5.9.3
+- Drop patches, now upstream:
+  * qglxconvenience-avoid-null-pointer-deref.patch
+
+---

Old:

  qglxconvenience-avoid-null-pointer-deref.patch
  qtbase-opensource-src-5.9.2.tar.xz

New:

  qtbase-opensource-src-5.9.3.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.utcsvP/_old  2017-12-08 12:53:39.093781774 +0100
+++ /var/tmp/diff_new_pack.utcsvP/_new  2017-12-08 12:53:39.097781629 +0100
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.9.2
+Version:5.9.3
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:https://www.qt.io
 %define base_name libqt5
-%define real_version 5.9.2
-%define so_version 5.9.2
+%define real_version 5.9.3
+%define so_version 5.9.3
 %define tar_version qtbase-opensource-src-%{real_version}
 Source: 
https://download.qt.io/official_releases/qt/5.9/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
@@ -61,8 +61,6 @@
 # patches 1000-2000 and above from upstream 5.9 branch #
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 Patch2000:  0001-QSslSocket-OpenSSL-1.1-backend.patch
-# PATCH-FIX-UPSTREAM (https://codereview.qt-project.org/#/c/205268/)
-Patch4000:  qglxconvenience-avoid-null-pointer-deref.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel
@@ -150,7 +148,6 @@
 %patch12 -p1
 %patch13 -p1
 %patch2000 -p1
-%patch4000 -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}

++ qtbase-opensource-src-5.9.2.tar.xz -> qtbase-opensource-src-5.9.3.tar.xz 
++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-opensource-src-5.9.2.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new/qtbase-opensource-src-5.9.3.tar.xz
 differ: char 27, line 1




commit libqt5-qtbase for openSUSE:Factory

2017-10-29 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-10-29 20:23:58

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sun Oct 29 20:23:58 2017 rev:69 rq:537327 version:5.9.2

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-10-23 16:20:43.644142559 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-10-29 20:23:57.868223008 +0100
@@ -1,0 +2,5 @@
+Fri Oct 27 18:52:40 UTC 2017 - fab...@ritter-vogt.de
+
+- Update 0001-QSslSocket-OpenSSL-1.1-backend.patch from git
+
+---



Other differences:
--
++ 0001-QSslSocket-OpenSSL-1.1-backend.patch ++
--- /var/tmp/diff_new_pack.ZkewBR/_old  2017-10-29 20:23:59.944147357 +0100
+++ /var/tmp/diff_new_pack.ZkewBR/_new  2017-10-29 20:23:59.948147211 +0100
@@ -1,4 +1,4 @@
-From cfbe03a6e035ab3cce5f04962cddd06bd414dcea Mon Sep 17 00:00:00 2001
+From c181441ae0ab7ebc0bfa846eb46060ce12bd2112 Mon Sep 17 00:00:00 2001
 From: "Richard J. Moore" 
 Date: Thu, 23 Mar 2017 12:43:22 +0100
 Subject: [PATCH] QSslSocket: OpenSSL 1.1 backend
@@ -43,27 +43,27 @@
 Reviewed-by: André Klitzing 
 Reviewed-by: Allan Sandfeld Jensen 
 ---
- config.tests/unix/openssl11/openssl.cpp|  48 ++
+ config.tests/unix/openssl11/openssl.cpp|  48 +++
  config.tests/unix/openssl11/openssl.pro|   2 +
  src/network/configure.json |  11 +
  src/network/ssl/qsslcertificate_openssl.cpp|  57 +--
- src/network/ssl/qsslcontext_openssl.cpp| 309 +
- src/network/ssl/qsslcontext_openssl11.cpp  | 277 +++
- src/network/ssl/qsslcontext_opensslpre11.cpp   | 354 ++
+ src/network/ssl/qsslcontext_openssl.cpp| 309 +-
+ src/network/ssl/qsslcontext_openssl11.cpp  | 277 
+ src/network/ssl/qsslcontext_opensslpre11.cpp   | 354 
  .../ssl/qssldiffiehellmanparameters_openssl.cpp|  38 +-
  src/network/ssl/qsslellipticcurve.h|   1 +
  src/network/ssl/qsslellipticcurve_openssl.cpp  |   8 +-
  src/network/ssl/qsslkey_openssl.cpp|  79 ++--
- src/network/ssl/qsslsocket_openssl.cpp | 412 ++---
- src/network/ssl/qsslsocket_openssl11.cpp   | 285 
+ src/network/ssl/qsslsocket_openssl.cpp | 368 ++--
+ src/network/ssl/qsslsocket_openssl11.cpp   | 285 +
  src/network/ssl/qsslsocket_openssl11_symbols_p.h   | 132 ++
  src/network/ssl/qsslsocket_openssl_p.h |   8 +-
- src/network/ssl/qsslsocket_openssl_symbols.cpp | 509 +
- src/network/ssl/qsslsocket_openssl_symbols_p.h | 127 +
- src/network/ssl/qsslsocket_opensslpre11.cpp| 424 +
+ src/network/ssl/qsslsocket_openssl_symbols.cpp | 471 ++---
+ src/network/ssl/qsslsocket_openssl_symbols_p.h | 117 +
+ src/network/ssl/qsslsocket_opensslpre11.cpp| 424 +++
  .../ssl/qsslsocket_opensslpre11_symbols_p.h| 230 ++
  src/network/ssl/ssl.pri|  18 +-
- 20 files changed, 2282 insertions(+), 1047 deletions(-)
+ 20 files changed, 2280 insertions(+), 957 deletions(-)
  create mode 100644 config.tests/unix/openssl11/openssl.cpp
  create mode 100644 config.tests/unix/openssl11/openssl.pro
  create mode 100644 src/network/ssl/qsslcontext_openssl11.cpp
@@ -1451,7 +1451,52 @@
  ** Contact: https://www.qt.io/licensing/
  **
  ** This file is part of the QtNetwork module of the Qt Toolkit.
-@@ -181,8 +182,8 @@ int QSslKeyPrivate::length() const
+@@ -87,33 +88,30 @@ bool QSslKeyPrivate::fromEVP_PKEY(EVP_PK
+ if (pkey == nullptr)
+ return false;
+ 
+-if (pkey->type == EVP_PKEY_RSA) {
++#if QT_CONFIG(opensslv11)
++const int keyType = q_EVP_PKEY_type(q_EVP_PKEY_base_id(pkey));
++#else
++const int keyType = pkey->type;
++#endif
++if (keyType == EVP_PKEY_RSA) {
+ isNull = false;
+ algorithm = QSsl::Rsa;
+ type = QSsl::PrivateKey;
+-
+-rsa = q_RSA_new();
+-memcpy(rsa, q_EVP_PKEY_get1_RSA(pkey), sizeof(RSA));
+-
++rsa = q_EVP_PKEY_get1_RSA(pkey);
+ return true;
+-}
+-else if (pkey->type == EVP_PKEY_DSA) {
++} else if (keyType == EVP_PKEY_DSA) {
+ isNull = false;
+ algorithm = QSsl::Dsa;
+ type = QSsl::PrivateKey;
+-
+-dsa = q_DSA_new();
+-memcpy(dsa, q_EVP_PKEY_get1_DSA(pkey), sizeof(DSA));
+

commit libqt5-qtbase for openSUSE:Factory

2017-10-23 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-10-23 16:20:42

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Oct 23 16:20:42 2017 rev:68 rq:533833 version:5.9.2

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-10-01 17:00:24.082637720 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-10-23 16:20:43.644142559 +0200
@@ -1,0 +2,13 @@
+Sun Oct  8 13:54:30 UTC 2017 - lbeltr...@kde.org
+
+- Update to 5.9.2
+  * For more details please see:
+  https://blog.qt.io/blog/2017/10/06/qt-5-9-2-released/
+- Drop patches, now upstream:
+  * 0001-Fix-open-chmod-race-condition-in-QSaveFile.patch
+  * de63bbd2f806b0219a60775017899cedb121581f.patch
+  * 0001-Fix-at-spi2-build.patch
+  * 0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch
+  * dont-abort-missing-display.patch
+
+---

Old:

  0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch
  0001-Fix-at-spi2-build.patch
  0001-Fix-open-chmod-race-condition-in-QSaveFile.patch
  de63bbd2f806b0219a60775017899cedb121581f.patch
  dont-abort-missing-display.patch
  qtbase-opensource-src-5.9.1.tar.xz

New:

  qtbase-opensource-src-5.9.2.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.ZM8mFE/_old  2017-10-23 16:20:47.547959791 +0200
+++ /var/tmp/diff_new_pack.ZM8mFE/_new  2017-10-23 16:20:47.551959605 +0200
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.9.1
+Version:5.9.2
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:https://www.qt.io
 %define base_name libqt5
-%define real_version 5.9.1
-%define so_version 5.9.1
+%define real_version 5.9.2
+%define so_version 5.9.2
 %define tar_version qtbase-opensource-src-%{real_version}
 Source: 
https://download.qt.io/official_releases/qt/5.9/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
@@ -52,23 +52,13 @@
 Patch8: tell-the-truth-about-private-api.patch
 # PATCH-FIX-OPENSUSE libqt5-prioritise-gtk2-platformtheme.patch boo#1002900 -- 
Give Gtk2 Platform Theme (from qtstyleplugins) a priority over Gtk3 PT which 
currently lacks QGtk3Style.
 Patch10:libqt5-prioritise-gtk2-platformtheme.patch
-# PATCH-FIX-OPENSUSE de63bbd2f806b0219a60775017899cedb121581f.patch -- Revert 
upstream commit to workaround QTBUG-61197
-Patch11:de63bbd2f806b0219a60775017899cedb121581f.patch
 # PATCH-FEATURE-OPENSUSE 0001-Add-remote-print-queue-support.patch fate#322052 
-- Automatically recognize and allow printing to remote cups servers
-Patch12:0001-Add-remote-print-queue-support.patch
-# PATCH-FIX-UPSTREAM 0001-Fix-open-chmod-race-condition-in-QSaveFile.patch 
bsc#1034005 -- Fix a open file/change permission race condition in QSaveFile
-Patch13:0001-Fix-open-chmod-race-condition-in-QSaveFile.patch
-# PATCH-FIX-OPENSUSE (?)
-Patch14:0001-Fix-at-spi2-build.patch
+Patch11:0001-Add-remote-print-queue-support.patch
 # PATCH-FIX-OPENSUSE
-Patch15:force-cmake-private-headers.patch
-# PATCH-FIX-OPENSUSE
-Patch16:   dont-abort-missing-display.patch
+Patch12:force-cmake-private-headers.patch
 # PATCH-FIX-UPSTREAM
-Patch17:   qapplication-emit-palettechanged.patch
+Patch13:   qapplication-emit-palettechanged.patch
 # patches 1000-2000 and above from upstream 5.9 branch #
-# PATCH-FIX-UPSTREAM 0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch -- Skip 
automoc for generated headers
-Patch1000:  0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 Patch2000:  0001-QSslSocket-OpenSSL-1.1-backend.patch
 # PATCH-FIX-UPSTREAM (https://codereview.qt-project.org/#/c/205268/)
@@ -159,11 +149,6 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
-%patch1000 -p1
 %patch2000 -p1
 %patch4000 -p1
 

++ 0001-QSslSocket-OpenSSL-1.1-backend.patch ++
--- /var/tmp/diff_new_pack.ZM8mFE/_old  2017-10-23 16:20:47.591957731 +0200
+++ /var/tmp/diff_new_pack.ZM8mFE/_new  2017-10-23 16:20:47.591957731 +0200
@@ -73,10 +73,10 @@
  create mode 100644 src/network/ssl/qsslsocket_opensslpre11.cpp
  create mode 100644 src/network/ssl/qsslsocket_opensslpre11_symbols_p.h
 
-Index: qtbase-opensource-src-5.9.1/config.tests/unix/openssl11/openssl.cpp
+Index: qtbase-opensource-src-5.9.2/config.tests/unix/ope

commit libqt5-qtbase for openSUSE:Factory

2017-10-01 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-10-01 17:00:18

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sun Oct  1 17:00:18 2017 rev:67 rq:530012 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-09-15 21:08:35.082623720 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-10-01 17:00:24.082637720 +0200
@@ -1,0 +2,6 @@
+Fri Sep 29 15:16:44 UTC 2017 - jeng...@inai.de
+
+- Update package descriptions and grouping.
+- Use find -exec's "+" strategy
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.S3fVtd/_old  2017-10-01 17:00:27.090214617 +0200
+++ /var/tmp/diff_new_pack.S3fVtd/_new  2017-10-01 17:00:27.098213492 +0200
@@ -171,7 +171,7 @@
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}
 
 %package devel
-Summary:Qt Development Kit
+Summary:Development files for the Qt5 base library
 Group:  Development/Libraries/X11
 # External deps shall be found via pkgconfig
 Requires:   %{name}-common-devel
@@ -189,7 +189,7 @@
 Requires:   libQt5Xml-devel = %{version}
 
 %description devel
-You need this package, if you want to compile programs with Qt. It
+You need this package if you want to compile programs with Qt. It
 contains the "Qt Crossplatform Development Kit". It does contain
 include files and development applications like GUI designers,
 translator tools and code generators.
@@ -214,25 +214,34 @@
 Recommends: libqt5-qttranslations
 
 %description -n libQt5Core5
-The Qt 5 Core library.
+The Qt 5 Core library. It adds these features to C++:
+
+* a mechanism for object communication called signals and slots
+* queryable and designable object properties
+* hierarchical and queryable object trees that organize
+* object ownership in a natural way with guarded pointers (QPointer)
+* a dynamic cast that works across library boundaries
 
 %package -n libQt5Core-devel
-Summary:Qt 5 Core Library - development files
+Summary:Development files for the Qt5 core library
 Group:  Development/Libraries/X11
 Requires:   %{name}-common-devel = %{version}
 Requires:   libQt5Core5 = %{version}
 
 %description -n libQt5Core-devel
-Qt 5 Core Library - development files.
+Development files for the Qt5 core library.
 
 %package -n libQt5Core-private-headers-devel
-Summary:Qt 5 Core Library - Non-ABI stable development files
+Summary:Non-ABI stable experimental API for the Qt5 core library
 Group:  Development/Libraries/X11
 BuildArch:  noarch
 Requires:   libQt5Core-devel = %{version}
 
 %description -n libQt5Core-private-headers-devel
-Qt 5 Core Library - Non-ABI stable development files.
+This package provides private headers of libQt5Core that are normally
+not used by application development and that do not have any ABI or
+API guarantees. The packages that build against these have to require
+the exact Qt version.
 
 %package -n libQt5Concurrent5
 Summary:Qt 5 Concurrent Library
@@ -240,44 +249,57 @@
 Requires:   libQt5Core5 = %{version}
 
 %description -n libQt5Concurrent5
-The Qt 5 Concurrent library.
+The QtConcurrent namespace provides high-level APIs that help write
+multi-threaded programs without using low-level threading primitives
+such as mutexes, read-write locks, wait conditions, or semaphores.
+Programs written with QtConcurrent automatically adjust the number of
+threads used according to the number of processor cores available.
+
+QtConcurrent includes functional programming style APIs for parallel
+list processing, including a MapReduce and FilterReduce
+implementation for shared-memory (non-distributed) systems, and
+classes for managing asynchronous computations in GUI applications.
 
 %package -n libQt5Concurrent-devel
-Summary:Qt 5 Concurrent Library - development files
+Summary:Development files for the Qt5 Concurrent library
 Group:  Development/Libraries/X11
 Requires:   libQt5Concurrent5 = %{version}
 Requires:   libQt5Core-devel = %{version}
 
 %description -n libQt5Concurrent-devel
-The Qt 5 Concurrent library - development files.
+Development files for the Qt5 Concurrent library.
 
 %package -n libQt5DBus5
-Summary:Qt 5 DBus Library
+Summary:Qt5 D-Bus library
 Group:  Development/Libraries/X11
 Requires:   libQt5Core5 = %{version}
 
 %description -n libQt5DBus5
-The Qt 5 DBus library.
+The Qt D-Bus module is a library that can be used to pe

commit libqt5-qtbase for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-09-15 21:08:33

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Fri Sep 15 21:08:33 2017 rev:66 rq:525883 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-09-04 12:18:43.891904719 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-09-15 21:08:35.082623720 +0200
@@ -1,0 +2,13 @@
+Wed Sep 13 12:38:49 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to fix crash with XLIB_SKIP_ARGB_VISUALS set:
+  * qglxconvenience-avoid-null-pointer-deref.patch (boo#1057971, kde#384540)
+
+---
+Thu Aug 31 11:36:32 UTC 2017 - christo...@krop.fr
+
+- Add 0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch.
+  Fixes a race condition when building KMail due to the DBus
+  interface files being used in several places.
+
+---

New:

  0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch
  qglxconvenience-avoid-null-pointer-deref.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.ldTJ5C/_old  2017-09-15 21:08:36.858374406 +0200
+++ /var/tmp/diff_new_pack.ldTJ5C/_new  2017-09-15 21:08:36.862373844 +0200
@@ -67,8 +67,12 @@
 # PATCH-FIX-UPSTREAM
 Patch17:   qapplication-emit-palettechanged.patch
 # patches 1000-2000 and above from upstream 5.9 branch #
+# PATCH-FIX-UPSTREAM 0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch -- Skip 
automoc for generated headers
+Patch1000:  0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 Patch2000: 0001-QSslSocket-OpenSSL-1.1-backend.patch
+# PATCH-FIX-UPSTREAM (https://codereview.qt-project.org/#/c/205268/)
+Patch4000:  qglxconvenience-avoid-null-pointer-deref.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel
@@ -159,7 +163,9 @@
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
+%patch1000 -p1
 %patch2000 -p1
+%patch4000 -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}

++ 0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch ++
>From f7aaff01de9de333cedcbbc07236cd653d0a Mon Sep 17 00:00:00 2001
From: David Faure 
Date: Sun, 2 Jul 2017 18:10:39 +0200
Subject: [PATCH] Fix Qt5DBusMacros.cmake for CMake 3.9

CMake gained support for running AUTOMOC on generated headers,
so we need to mark them with SKIP_AUTOMOC since we're generating
moc files for those already. Otherwise we get duplicated symbols.

Change-Id: Iabd387832cfc74809fc5e6ff4782f4fc83cc07d8
Reviewed-by: Thiago Macieira 
Reviewed-by: Rolf Eike Beer 
Reviewed-by: Kevin Funk 
Reviewed-by: Stephen Kelly 
---
 src/dbus/Qt5DBusMacros.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/dbus/Qt5DBusMacros.cmake b/src/dbus/Qt5DBusMacros.cmake
index ef3eb73276..0bd7364637 100644
--- a/src/dbus/Qt5DBusMacros.cmake
+++ b/src/dbus/Qt5DBusMacros.cmake
@@ -62,6 +62,7 @@ function(QT5_ADD_DBUS_INTERFACE _sources _interface _basename)
 DEPENDS ${_infile} VERBATIM)
 
 set_source_files_properties("${_impl}" PROPERTIES SKIP_AUTOMOC TRUE)
+set_source_files_properties("${_header}" PROPERTIES SKIP_AUTOMOC TRUE)
 
 qt5_generate_moc("${_header}" "${_moc}")
 
@@ -147,6 +148,7 @@ function(QT5_ADD_DBUS_ADAPTOR _sources _xml_file _include 
_parentClass) # _optio
 
 qt5_generate_moc("${_header}" "${_moc}")
 set_source_files_properties("${_impl}" PROPERTIES SKIP_AUTOMOC TRUE)
+set_source_files_properties("${_header}" PROPERTIES SKIP_AUTOMOC TRUE)
 macro_add_file_dependencies("${_impl}" "${_moc}")
 
 list(APPEND ${_sources} "${_impl}" "${_header}" "${_moc}")
-- 
2.14.1

++ qglxconvenience-avoid-null-pointer-deref.patch ++
>From 37b279dda0387ad917da586c19c0605c0be10afc Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik 
Date: Tue, 12 Sep 2017 16:18:58 +0200
Subject: [PATCH] qglxconvenience: Avoid null pointer dereference
References: boo#1057971, kde#384540

glXGetVisualFromFBConfig according to documentation can return NULL [1].
This may result in a crash when running Qt applications using ARGB windows
with XLIB_SKIP_ARGB_VISUALS defined.

[1] 
https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glXGetVisualFromFBConfig.xml

Change-Id: Ie076a1e906ed632543bdab03ef365f699533a61a
---
 src/platformsupport/glxconvenience/qglxconvenience.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/platformsupport/glxconvenience/qglxconvenience.cpp 
b/src/platformsu

commit libqt5-qtbase for openSUSE:Factory

2017-09-04 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-09-04 12:18:42

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Mon Sep  4 12:18:42 2017 rev:65 rq:519305 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-08-29 11:40:08.757606360 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-09-04 12:18:43.891904719 +0200
@@ -1,0 +2,6 @@
+Tue Aug 29 10:46:47 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to fix runtime changes to the palette:
+  * qapplication-emit-palettechanged.patch
+
+---

New:

  qapplication-emit-palettechanged.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.42S4Uu/_old  2017-09-04 12:18:46.507537010 +0200
+++ /var/tmp/diff_new_pack.42S4Uu/_new  2017-09-04 12:18:46.515535884 +0200
@@ -64,6 +64,8 @@
 Patch15:force-cmake-private-headers.patch
 # PATCH-FIX-OPENSUSE
 Patch16:   dont-abort-missing-display.patch
+# PATCH-FIX-UPSTREAM
+Patch17:   qapplication-emit-palettechanged.patch
 # patches 1000-2000 and above from upstream 5.9 branch #
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 Patch2000: 0001-QSslSocket-OpenSSL-1.1-backend.patch
@@ -156,6 +158,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 %patch2000 -p1
 
 # be sure not to use them

++ qapplication-emit-palettechanged.patch ++
>From edc101a8d8adf29dc62dd5b64becaef972a45830 Mon Sep 17 00:00:00 2001
From: Kai Uwe Broulik 
Date: Mon, 9 Jan 2017 15:17:54 +0100
Subject: [PATCH] QApplication: Emit paletteChanged signal

This signal was added to QGuiApplication and QGuiApplication::setPalette.
Since this function is static QApplication has its own distinct implementation
which never emitted this signal. This results in items, such as QtQuick
SystemPalette, which listen to paletteChanged to not update when using
a QApplication.

Change-Id: I2b8108693743ec57934391025424ec9fee1c9c21
---
 src/widgets/kernel/qapplication.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/widgets/kernel/qapplication.cpp 
b/src/widgets/kernel/qapplication.cpp
index ef046f3e..045d3f7 100644
--- a/src/widgets/kernel/qapplication.cpp
+++ b/src/widgets/kernel/qapplication.cpp
@@ -1514,6 +1514,7 @@ void QApplicationPrivate::setPalette_helper(const 
QPalette &palette, const char*
 else
 *QApplicationPrivate::set_pal = palette;
 QCoreApplication::setAttribute(Qt::AA_SetPalette);
+emit qApp->paletteChanged(*QApplicationPrivate::set_pal);
 }
 }
 
-- 
2.7.4




commit libqt5-qtbase for openSUSE:Factory

2017-08-29 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-08-29 11:40:01

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Tue Aug 29 11:40:01 2017 rev:64 rq:518597 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-08-24 17:41:07.343711147 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-08-29 11:40:08.757606360 +0200
@@ -1,0 +2,7 @@
+Thu Aug 24 10:46:39 UTC 2017 - m...@suse.com
+
+- Backport patch from dev to 5.9 what implements a new QSslSocket
+  backend based on OpenSSL 1.1. (bsc#1042658)
+  * 0001-QSslSocket-OpenSSL-1.1-backend.patch
+
+---

New:

  0001-QSslSocket-OpenSSL-1.1-backend.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.Ldvs4o/_old  2017-08-29 11:40:12.681053189 +0200
+++ /var/tmp/diff_new_pack.Ldvs4o/_new  2017-08-29 11:40:12.693051498 +0200
@@ -66,6 +66,7 @@
 Patch16:   dont-abort-missing-display.patch
 # patches 1000-2000 and above from upstream 5.9 branch #
 # patches 2000-3000 and above from upstream 5.10/dev branch #
+Patch2000: 0001-QSslSocket-OpenSSL-1.1-backend.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  double-conversion-devel
@@ -155,6 +156,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch2000 -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}

++ 0001-QSslSocket-OpenSSL-1.1-backend.patch ++
 4256 lines (skipped)




commit libqt5-qtbase for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-08-24 17:41:06

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Thu Aug 24 17:41:06 2017 rev:63 rq:515720 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-08-08 11:57:28.690908738 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-08-24 17:41:07.343711147 +0200
@@ -1,0 +2,6 @@
+Wed Aug  9 13:01:22 UTC 2017 - m...@suse.com
+
+- Don't special case sse2 libs on i586 for SLE-15, it supports
+  only SSE2 capable CPUs.
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.qeLneZ/_old  2017-08-24 17:41:09.695380062 +0200
+++ /var/tmp/diff_new_pack.qeLneZ/_new  2017-08-24 17:41:09.707378372 +0200
@@ -738,8 +738,10 @@
-no-reduce-relocations \
 %endif
 %ifarch %ix86
+%if 0%{?sle_version:%sle_version} < 15
-no-sse2 -no-pch \
 %endif
+%endif
-optimized-qmake \
-accessibility \
-no-strip \
@@ -789,6 +791,7 @@
 make INSTALL_ROOT=%{buildroot} install
 
 %ifarch %ix86
+%if 0%{?sle_version:%sle_version} < 15
 install -d %{buildroot}%{libqt5_libdir}/sse2/
 
 pushd src/corelib; make clean ; ../../bin/qmake -config sse2; make 
%{?_smp_mflags}
@@ -799,6 +802,7 @@
 cp -av ../../lib/libQt5Gui.so.* %{buildroot}%{libqt5_libdir}/sse2/
 popd
 %endif
+%endif
 
 install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.qt5
 # argggh, qmake is such a piece of 
@@ -911,9 +915,11 @@
 %doc *.txt LICENSE.*
 %{libqt5_libdir}/libQt5Core.so.*
 %ifarch %ix86
+%if 0%{?sle_version:%sle_version} < 15
 %dir %{libqt5_libdir}/sse2
 %{libqt5_libdir}/sse2/libQt5Core.so.*
 %endif
+%endif
 
 %files -n libQt5Core-devel
 %defattr(-,root,root,755)
@@ -1058,8 +1064,10 @@
 %doc *.txt LICENSE.*
 %{libqt5_libdir}/libQt5Gui.so.*
 %ifarch %ix86
+%if 0%{?sle_version:%sle_version} < 15
 %{libqt5_libdir}/sse2/libQt5Gui.so.*
 %endif
+%endif
 %{libqt5_libdir}/libQt5EglFSDeviceIntegration.so.*
 %{libqt5_libdir}/libQt5EglFsKmsSupport.so.*
 %{libqt5_libdir}/libQt5XcbQpa.so.*




commit libqt5-qtbase for openSUSE:Factory

2017-08-08 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-08-08 11:57:28

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Tue Aug  8 11:57:28 2017 rev:62 rq:514205 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-07-08 12:25:21.842922770 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-08-08 11:57:28.690908738 +0200
@@ -1,0 +2,18 @@
+Thu Aug  3 08:56:09 UTC 2017 - m...@suse.com
+
+- Remove openSUSE specific %ifs (bsc#1051900)
+
+---
+Tue Jul 25 11:13:53 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to not abort if no $DISPLAY is available (boo#1050046)
+  * dont-abort-missing-display.patch
+
+---
+Mon Jul 24 19:26:00 UTC 2017 - fab...@ritter-vogt.de
+
+- Add patch to fix include path for private headers of modules
+  built in a shadow directory (QTBUG-37417)
+  * force-cmake-private-headers.patch
+
+---

New:

  dont-abort-missing-display.patch
  force-cmake-private-headers.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.x7F4Ib/_old  2017-08-08 11:57:30.670629909 +0200
+++ /var/tmp/diff_new_pack.x7F4Ib/_new  2017-08-08 11:57:30.686627656 +0200
@@ -60,6 +60,10 @@
 Patch13:0001-Fix-open-chmod-race-condition-in-QSaveFile.patch
 # PATCH-FIX-OPENSUSE (?)
 Patch14:0001-Fix-at-spi2-build.patch
+# PATCH-FIX-OPENSUSE
+Patch15:force-cmake-private-headers.patch
+# PATCH-FIX-OPENSUSE
+Patch16:   dont-abort-missing-display.patch
 # patches 1000-2000 and above from upstream 5.9 branch #
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 BuildRequires:  alsa-devel
@@ -104,9 +108,7 @@
 BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-3.0)
-%if 0%{?is_opensuse} 
 BuildRequires:  pkgconfig(harfbuzz)
-%endif
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(libinput)
 BuildRequires:  pkgconfig(libudev)
@@ -151,6 +153,8 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
+%patch16 -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}
@@ -750,9 +754,7 @@
-system-libjpeg \
-openssl-linked \
-system-libpng \
-%if 0%{?is_opensuse}
-system-harfbuzz \
-%endif
-fontconfig \
-system-freetype \
-cups \
@@ -1059,9 +1061,7 @@
 %{libqt5_libdir}/sse2/libQt5Gui.so.*
 %endif
 %{libqt5_libdir}/libQt5EglFSDeviceIntegration.so.*
-%if 0%{?is_opensuse}
 %{libqt5_libdir}/libQt5EglFsKmsSupport.so.*
-%endif
 %{libqt5_libdir}/libQt5XcbQpa.so.*
 %{libqt5_plugindir}/generic
 %{libqt5_plugindir}/imageformats
@@ -1083,10 +1083,8 @@
 %{libqt5_libdir}/libQt5Gui.prl
 %{libqt5_libdir}/libQt5EglFSDeviceIntegration.so
 %{libqt5_libdir}/libQt5EglFSDeviceIntegration.prl
-%if 0%{?is_opensuse}
 %{libqt5_libdir}/libQt5EglFsKmsSupport.prl
 %{libqt5_libdir}/libQt5EglFsKmsSupport.so
-%endif
 %{libqt5_libdir}/cmake/Qt5Gui/
 %{libqt5_libdir}/pkgconfig/Qt5Gui.pc
 %{libqt5_includedir}/QtGui/

++ dont-abort-missing-display.patch ++
From: Fabian Vogt 
Subject: Do not abort if no $DISPLAY available

This is annoying and also generates coredumps for no reason.

Index: qtbase-opensource-src-5.9.1/src/plugins/platforms/xcb/qxcbconnection.cpp
===
--- 
qtbase-opensource-src-5.9.1.orig/src/plugins/platforms/xcb/qxcbconnection.cpp
+++ qtbase-opensource-src-5.9.1/src/plugins/platforms/xcb/qxcbconnection.cpp
@@ -571,8 +571,10 @@ QXcbConnection::QXcbConnection(QXcbNativ
 m_connection = xcb_connect(m_displayName.constData(), 
&m_primaryScreenNumber);
 #endif //XCB_USE_XLIB
 
-if (Q_UNLIKELY(!m_connection || xcb_connection_has_error(m_connection)))
-qFatal("QXcbConnection: Could not connect to display %s", 
m_displayName.constData());
+if (Q_UNLIKELY(!m_connection || xcb_connection_has_error(m_connection))) {
+qCritical("QXcbConnection: Could not connect to display %s", 
m_displayName.constData());
+exit(1);
+}
 
 
 m_reader = new QXcbEventReader(this);
++ force-cmake-private-headers.patch ++
From: Fabian Vogt 
Subject: Forcee inclusion of _PRIVATE_INCLUDE_DIRS to CMakeConfig files
References: QTBUG-37417

This is broken for shadow builds otherwise.

Index: qtbase-opensource-src-5.9.1/mkspecs/features/create_cmake.prf
===

commit libqt5-qtbase for openSUSE:Factory

2017-07-08 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-07-08 12:25:20

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Sat Jul  8 12:25:20 2017 rev:61 rq:508314 version:5.9.1

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-06-29 15:00:14.119255084 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-07-08 12:25:21.842922770 +0200
@@ -1,0 +2,23 @@
+Wed Jul  5 10:36:58 UTC 2017 - fab...@ritter-vogt.de
+
+- Recommend libqt5-qttranslations in libQt5Core5 (boo#1027925)
+
+---
+Sun Jul  2 19:39:15 UTC 2017 - fab...@ritter-vogt.de
+
+- Fix typo in description (boo#1043338)
+
+---
+Sat Jul  1 07:41:09 UTC 2017 - lbeltr...@kde.org
+
+- Update to 5.9.1
+  * For more details please see:
+http://blog.qt.io/blog/2017/06/30/qt-5-9-1-released/
+- Drop upstreamed patches:
+  - fix-cmake-module-version.patch
+  - dont-destroy-foreign-windows.patch
+  - native-children-hidpi-offset.patch
+- Force use of libproxy, that switch got lost apparently
+- Add patch to allow build with at-spi2: 0001-Fix-at-spi2-build.patch
+
+---

Old:

  dont-destroy-foreign-windows.patch
  fix-cmake-module-version.patch
  native-children-hidpi-offset.patch
  qtbase-opensource-src-5.9.0.tar.xz

New:

  0001-Fix-at-spi2-build.patch
  qtbase-opensource-src-5.9.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.K8WqHr/_old  2017-07-08 12:25:26.186310087 +0200
+++ /var/tmp/diff_new_pack.K8WqHr/_new  2017-07-08 12:25:26.190309522 +0200
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.9.0
+Version:5.9.1
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:https://www.qt.io
 %define base_name libqt5
-%define real_version 5.9.0
-%define so_version 5.9.0
+%define real_version 5.9.1
+%define so_version 5.9.1
 %define tar_version qtbase-opensource-src-%{real_version}
 Source: 
https://download.qt.io/official_releases/qt/5.9/%{real_version}/submodules/%{tar_version}.tar.xz
 # to get mtime of file:
@@ -58,13 +58,9 @@
 Patch12:0001-Add-remote-print-queue-support.patch
 # PATCH-FIX-UPSTREAM 0001-Fix-open-chmod-race-condition-in-QSaveFile.patch 
bsc#1034005 -- Fix a open file/change permission race condition in QSaveFile
 Patch13:0001-Fix-open-chmod-race-condition-in-QSaveFile.patch
+# PATCH-FIX-OPENSUSE (?)
+Patch14:0001-Fix-at-spi2-build.patch
 # patches 1000-2000 and above from upstream 5.9 branch #
-# PATCH-FIX-UPSTREAM
-Patch1000:  native-children-hidpi-offset.patch
-# PATCH-FIX-UPSTREAM
-Patch1001:  dont-destroy-foreign-windows.patch
-# PATCH-FIX-UPSTREAM
-Patch1002:  fix-cmake-module-version.patch
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
@@ -154,9 +150,7 @@
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
-%patch1000 -p1
-%patch1001 -p1
-%patch1002 -p1
+%patch14 -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}
@@ -202,6 +196,7 @@
 Group:  Development/Libraries/X11
 Provides:   libqt5-qtbase = %{version}
 Obsoletes:  libqt5-qtbase < %{version}
+Recommends: libqt5-qttranslations
 
 %description -n libQt5Core5
 The Qt 5 Core library.
@@ -256,7 +251,7 @@
 Requires:   libQt5DBus5 = %{version}
 
 %description -n libQt5DBus-devel
-The Qt 5 DBus library - development files. Aditionally, it contains
+The Qt 5 DBus library - development files. Additionally, it contains
 Qt5's qdbusxml2cpp and qdbuscpp2xml binaries.
 
 %package -n libQt5DBus-private-headers-devel
@@ -770,6 +765,7 @@
 %if %journald
-journald \
 %endif
+   -libproxy \
-xcb \
-egl \
-eglfs \

++ 0001-Fix-at-spi2-build.patch ++
>From 54325809cc8e5e6939649f6c6f43fe13de0e0470 Mon Sep 17 00:00:00 2001
From: Fabian Vogt 
Date: Sat, 1 Jul 2017 13:52:32 +0200
Subject: [PATCH] Fix at-spi2 build

- Condition is wrong, always resulting in "Note: Disabling Linux Accessibility 
Bridge: D-Bus is missing."
---
 src/gui/configure.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/configure.json b/src/gui/configure.json
index 2fb03a452a..957316a51c 100644
--- a/src/gui/configure.json
+++ b/src/gui/conf

commit libqt5-qtbase for openSUSE:Factory

2017-06-29 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-06-29 14:59:43

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Thu Jun 29 14:59:43 2017 rev:60 rq:505943 version:5.9.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2017-06-13 16:06:03.024053118 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-06-29 15:00:14.119255084 +0200
@@ -1,0 +2,12 @@
+Thu Jun 22 15:02:38 UTC 2017 - fab...@ritter-vogt.de
+
+- Use the correct (edited) version of the revert to not break ABI:
+  * de63bbd2f806b0219a60775017899cedb121581f.patch
+
+---
+Tue Jun 20 15:07:06 UTC 2017 - fab...@ritter-vogt.de
+
+- Add upstream patch to fix version string of CMake modules (boo#1045102)
+  * fix-cmake-module-version.patch
+
+---

New:

  fix-cmake-module-version.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.78wdQG/_old  2017-06-29 15:00:20.618337434 +0200
+++ /var/tmp/diff_new_pack.78wdQG/_new  2017-06-29 15:00:20.618337434 +0200
@@ -61,8 +61,10 @@
 # patches 1000-2000 and above from upstream 5.9 branch #
 # PATCH-FIX-UPSTREAM
 Patch1000:  native-children-hidpi-offset.patch
-# PATCH-FIX-UPSTREAM Revert to workaround QTBUG-61140
+# PATCH-FIX-UPSTREAM
 Patch1001:  dont-destroy-foreign-windows.patch
+# PATCH-FIX-UPSTREAM
+Patch1002:  fix-cmake-module-version.patch
 # patches 2000-3000 and above from upstream 5.10/dev branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
@@ -154,6 +156,7 @@
 %patch13 -p1
 %patch1000 -p1
 %patch1001 -p1
+%patch1002 -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}

++ de63bbd2f806b0219a60775017899cedb121581f.patch ++
--- /var/tmp/diff_new_pack.78wdQG/_old  2017-06-29 15:00:20.714323881 +0200
+++ /var/tmp/diff_new_pack.78wdQG/_new  2017-06-29 15:00:20.726322187 +0200
@@ -16,78 +16,9 @@
 Change-Id: I6b56f68f37670962178693a8983d9fe550540856
 Reviewed-by: Tor Arne Vestbø 
 ---
- src/gui/kernel/qplatformtheme.cpp  | 13 +
- src/gui/kernel/qplatformtheme.h|  1 +
- src/plugins/platforms/cocoa/qcocoatheme.h  |  1 +
- src/plugins/platforms/cocoa/qcocoatheme.mm |  6 ++
  src/widgets/widgets/qdialogbuttonbox.cpp   |  7 +--
  5 files changed, 22 insertions(+), 6 deletions(-)
 
-Index: qtbase-opensource-src-5.9.0/src/gui/kernel/qplatformtheme.cpp
-===
 qtbase-opensource-src-5.9.0.orig/src/gui/kernel/qplatformtheme.cpp
-+++ qtbase-opensource-src-5.9.0/src/gui/kernel/qplatformtheme.cpp
-@@ -678,19 +678,6 @@ QString QPlatformTheme::standardButtonTe
- return QPlatformTheme::defaultStandardButtonText(button);
- }
- 
--/*!
--   Returns the mnemonic that should be used for a standard \a button.
--
--  \since 5.9
--  \sa QPlatformDialogHelper::StandardButton
-- */
--
--QKeySequence QPlatformTheme::standardButtonShortcut(int button) const
--{
--Q_UNUSED(button)
--return QKeySequence();
--}
--
- QString QPlatformTheme::defaultStandardButtonText(int button)
- {
- switch (button) {
-Index: qtbase-opensource-src-5.9.0/src/gui/kernel/qplatformtheme.h
-===
 qtbase-opensource-src-5.9.0.orig/src/gui/kernel/qplatformtheme.h
-+++ qtbase-opensource-src-5.9.0/src/gui/kernel/qplatformtheme.h
-@@ -312,7 +312,6 @@ public:
- #endif
- 
- virtual QString standardButtonText(int button) const;
--virtual QKeySequence standardButtonShortcut(int button) const;
- 
- static QVariant defaultThemeHint(ThemeHint hint);
- static QString defaultStandardButtonText(int button);
-Index: qtbase-opensource-src-5.9.0/src/plugins/platforms/cocoa/qcocoatheme.h
-===
 qtbase-opensource-src-5.9.0.orig/src/plugins/platforms/cocoa/qcocoatheme.h
-+++ qtbase-opensource-src-5.9.0/src/plugins/platforms/cocoa/qcocoatheme.h
-@@ -74,7 +74,6 @@ public:
- 
- QVariant themeHint(ThemeHint hint) const Q_DECL_OVERRIDE;
- QString standardButtonText(int button) const Q_DECL_OVERRIDE;
--QKeySequence standardButtonShortcut(int button) const Q_DECL_OVERRIDE;
- 
- static const char *name;
- 
-Index: qtbase-opensource-src-5.9.0/src/plugins/platforms/cocoa/qcocoatheme.mm
-===
 qtbase-opensource-src-5.9.0.orig/src/plugins/platforms/cocoa/qcocoathe

commit libqt5-qtbase for openSUSE:Factory

2017-06-13 Thread root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2017-06-13 16:06:00

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Tue Jun 13 16:06:00 2017 rev:59 rq:501456 version:5.9.0

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-12-22 16:06:07.401079872 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2017-06-13 16:06:03.024053118 +0200
@@ -1,0 +2,59 @@
+Tue Jun  6 10:19:48 UTC 2017 - alarr...@suse.com
+
+- Add 0001-Add-remote-print-queue-support.patch to support remote print
+  queues. This adds a delay the first time the print dialog is opened in
+  order to search for print queues. If you don't have any network printer
+  queue and you find the delay too annoying, it can be disabled by setting
+  the QT_DISABLE_PRINTER_DISCOVERY environment variable to 1 (fate#322052,
+  bsc#955432).
+- Add 0001-Fix-open-chmod-race-condition-in-QSaveFile.patch to fix
+  a potential info leak due to race condition in QSaveFile (bsc#1034005).
+
+---
+Fri Jun  2 21:11:41 UTC 2017 - fab...@ritter-vogt.de
+
+- Revert upstream commit to workaround QTBUG-61197:
+  * de63bbd2f806b0219a60775017899cedb121581f.patch
+
+---
+Fri Jun  2 17:57:54 UTC 2017 - fab...@ritter-vogt.de
+
+- Add upstream patch to fix QTBUG-61140:
+  * dont-destroy-foreign-windows.patch
+- Replaces c585802e946d97e7d177ea334a162dc7bc286b84.patch
+
+---
+Fri Jun  2 08:49:53 UTC 2017 - fab...@ritter-vogt.de
+
+- Add upstream patch to fix various HiDPI-related issues:
+  * native-children-hidpi-offset.patch (QTBUG-59017, kde#363548)
+
+---
+Wed May 31 19:46:07 UTC 2017 - fab...@ritter-vogt.de
+
+- Revert upstream commit to workaround QTBUG-61140:
+  c585802e946d97e7d177ea334a162dc7bc286b84.patch
+
+---
+Wed May 31 07:05:05 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.9.0 final
+
+---
+Wed May 24 19:16:41 UTC 2017 - fab...@ritter-vogt.de
+
+- Update to 5.9.0 RC:
+  * For more details please see: 
+http://lists.qt-project.org/pipermail/announce/2017-May/000115.html
+and https://wiki.qt.io/New_Features_in_Qt_5.9
+- Remove patches, now upstream:
+  * Stop-unloading-plugins-in-QPluginLoader-and-QFactoryLoader.patch
+  * Fix-some-QtDBus-crashes-during-application-destruction.patch
+  * Merge-the-QDBusMetaTypes-custom-information-to-QDBusConnectionManager.patch
+- Refresh patches:
+  * Fix-some-QtDBus-crashes-during-application-destruction.patch
+  * Merge-the-QDBusMetaTypes-custom-information-to-QDBusConnectionManager.patch
+  * libqt5-prioritise-gtk2-platformtheme.patch
+  * tell-the-truth-about-private-api.patch
+
+---

Old:

  Fix-some-QtDBus-crashes-during-application-destruction.patch
  Merge-the-QDBusMetaTypes-custom-information-to-QDBusConnectionManager.patch
  Stop-unloading-plugins-in-QPluginLoader-and-QFactoryLoader.patch
  qtbase-opensource-src-5.7.1.tar.xz

New:

  0001-Add-remote-print-queue-support.patch
  0001-Fix-open-chmod-race-condition-in-QSaveFile.patch
  de63bbd2f806b0219a60775017899cedb121581f.patch
  dont-destroy-foreign-windows.patch
  native-children-hidpi-offset.patch
  qtbase-opensource-src-5.9.0.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.iFnuzy/_old  2017-06-13 16:06:07.235459613 +0200
+++ /var/tmp/diff_new_pack.iFnuzy/_new  2017-06-13 16:06:07.239459049 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,17 +26,17 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.7.1
+Version:5.9.0
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
-Url:http://qt.digia.com
+Url:https://www.qt.io
 %define base_name libqt5
-%define real_version 5.7.1
-%define so_version 5.7.1
+%define real_version 5.9.0
+%define so_version 5.9.0
 %define tar

commit libqt5-qtbase for openSUSE:Factory

2016-10-18 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-10-18 09:57:06

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-10-01 23:50:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-10-18 09:57:07.0 +0200
@@ -1,0 +2,16 @@
+Sun Oct  9 16:57:18 UTC 2016 - sor.ale...@meowr.ru
+
+- Add libqt5-prioritise-gtk2-platformtheme.patch: Give
+  Gtk2 Platform Theme (from qtstyleplugins) a priority over
+  Gtk3 Platform Theme which currently lacks QGtk3Style
+  (boo#1002900).
+
+---
+Sun Oct  9 16:49:29 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Add some QtDBus fixes from upstream:
+  Make-QDBusConnectionPrivaterelaySignal-be-called-in-the-right-thread.patch
+  Merge-the-QDBusMetaTypes-custom-information-to-QDBusConnectionManager.patch
+  Fix-some-QtDBus-crashes-during-application-destruction.patch
+
+---
@@ -1265 +1280,0 @@
-

New:

  Fix-some-QtDBus-crashes-during-application-destruction.patch
  Make-QDBusConnectionPrivaterelaySignal-be-called-in-the-right-thread.patch
  Merge-the-QDBusMetaTypes-custom-information-to-QDBusConnectionManager.patch
  libqt5-prioritise-gtk2-platformtheme.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.vtBmRa/_old  2016-10-18 09:57:09.0 +0200
+++ /var/tmp/diff_new_pack.vtBmRa/_new  2016-10-18 09:57:09.0 +0200
@@ -54,12 +54,17 @@
 Patch7: tell-the-truth-about-private-api.patch
 Patch8: xcb-Dont-activate-bypassed-windows-on-mouse-press.patch
 Patch9: Fix-unwanted-cache-flush-in-Freetype-engine.patch
+# PATCH-FIX-OPENSUSE libqt5-prioritise-gtk2-platformtheme.patch boo#1002900 -- 
Give Gtk2 Platform Theme (from qtstyleplugins) a priority over Gtk3 PT which 
currently lacks QGtk3Style.
+Patch10:libqt5-prioritise-gtk2-platformtheme.patch
 # patches 1000-2000 and above from upstream 5.7 branch #
 Patch1000:  xcb-Send-also-text-plain-when-a-text-uri-list-is-dropped.patch
 Patch1001:  
xcb-Dont-send-QtWindowNoState-event-when-hiding-minimized-window.patch
 Patch1002:  XCB-Drop-from-external-app-fix-keyboard-modifier-state.patch
 Patch1003:  xcb-Use-the-state-of-the-key-event-to-process-it.patch
 Patch1004:  
Stop-unloading-plugins-in-QPluginLoader-and-QFactoryLoader.patch
+Patch1005:  
Make-QDBusConnectionPrivaterelaySignal-be-called-in-the-right-thread.patch
+Patch1006:  
Merge-the-QDBusMetaTypes-custom-information-to-QDBusConnectionManager.patch
+Patch1007:  Fix-some-QtDBus-crashes-during-application-destruction.patch
 # patches 2000-3000 and above from upstream 5.8 branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
@@ -148,11 +153,15 @@
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 %patch1000 -p1
 %patch1001 -p1
 %patch1002 -p1
 %patch1003 -p1
 %patch1004 -p1
+%patch1005 -p1
+%patch1006 -p1
+%patch1007 -p1
 
 # be sure not to use them
 rm -rf src/3rdparty/{libjpeg,freetype,zlib}
@@ -487,7 +496,7 @@
 Requires:   libQt5Core5 = %{version}
 Requires:   libQt5DBus5 = %{version}
 Provides:   libqt5-qtbase-platformtheme-gtk2 = %{version}
-Obsoletes:  libqt5-qtbase-platformtheme-gtk2 <= %{version}
+Obsoletes:  libqt5-qtbase-platformtheme-gtk2 < %{version}
 
 %description -n libQt5Gui5
 Qt 5 libraries which are depending on X11.

++ Fix-some-QtDBus-crashes-during-application-destruction.patch ++
>From d060b7aa5fc64902ea89416e58b57d6a90f5aea6 Mon Sep 17 00:00:00 2001
From: Thiago Macieira 
Date: Tue, 31 May 2016 17:33:03 -0300
Subject: [PATCH] Fix some QtDBus crashes during application destruction

It's possible that some code executes after QDBusConnectionManager is
destroyed and still tries to access QtDBus. Protect against such
crashes.

Change-Id: I87e17314d8b24ae983b1fffd1453c13fbd3cf48e
---
 src/dbus/qdbusconnection.cpp | 12 
 src/dbus/qdbusintegrator.cpp |  3 +++
 src/dbus/qdbusserver.cpp | 12 ++--
 3 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/src/dbus/qdbusconnection.cpp b/src/dbus/qdbusconnection.cpp
index 4db6396..c1c4f05 100644
--- a/src/dbus/qdbusconnection.cpp
+++ b/src/dbus/qdbusconnection.cpp
@@ -429,7 +429,7 @@ void QDBusConnectionManager::createServer(const QString 
&address, void *server)
 */
 QDBusConnection::QDBusConnection(const QString &name)
 {
-if (name.isEmpty()) {
+if (name.isEmpty() || _q_manager.is

commit libqt5-qtbase for openSUSE:Factory

2016-10-01 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-10-01 23:50:22

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-07-12 23:49:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-10-01 23:50:23.0 +0200
@@ -1,0 +2,40 @@
+Thu Sep 29 14:12:34 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Move gtk platformtheme again out of the libQt5Gui5 package (now
+  it's gtk-3 based)
+
+---
+Tue Sep 27 08:52:43 UTC 2016 - sch...@suse.de
+
+- Fix filelist for %gles configuration
+
+---
+Tue Sep 27 08:00:02 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Added Stop-unloading-plugins-in-QPluginLoader-and-QFactoryLoader.patch
+  (boo#1001362, boo#965653)
+
+---
+Sat Sep 24 18:39:00 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Update to 5.7.0
+  * For more details please see:
+https://www.qt.io/qt5-7/
+- Drop dead/absorbed patches:
+  xcb-Fix-drop-of-text-uri-list-and-text-html.patch and
+  xcb-Fix-dropping-URL-on-Firefox-window.patch
+- Added Fix-unwanted-cache-flush-in-Freetype-engine.patch
+  and xcb-Dont-activate-bypassed-windows-on-mouse-press.patch
+- Don't pass axed options to configure
+- Add double-conversion-devel, libproxy-devel and pkgconfig(gtk+-3.0)
+  (instead of pkgconfig(gtk+-2.0)) BuildRequires
+
+---
+Sat Sep 24 18:25:41 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Another set of upstream patches for the XCB plugin:
+  XCB-Drop-from-external-app-fix-keyboard-modifier-state.patch
+  xcb-Dont-send-QtWindowNoState-event-when-hiding-minimized-window.patch
+  xcb-Use-the-state-of-the-key-event-to-process-it.patch
+
+---

Old:

  qtbase-opensource-src-5.6.1.tar.xz
  xcb-Fix-drop-of-text-uri-list-and-text-html.patch
  xcb-Fix-dropping-URL-on-Firefox-window.patch

New:

  Fix-unwanted-cache-flush-in-Freetype-engine.patch
  Stop-unloading-plugins-in-QPluginLoader-and-QFactoryLoader.patch
  XCB-Drop-from-external-app-fix-keyboard-modifier-state.patch
  qtbase-opensource-src-5.7.0.tar.xz
  xcb-Dont-activate-bypassed-windows-on-mouse-press.patch
  xcb-Dont-send-QtWindowNoState-event-when-hiding-minimized-window.patch
  xcb-Use-the-state-of-the-key-event-to-process-it.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.kIrL97/_old  2016-10-01 23:50:27.0 +0200
+++ /var/tmp/diff_new_pack.kIrL97/_new  2016-10-01 23:50:27.0 +0200
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.6.1
+Version:5.7.0
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.6.1
-%define so_version 5.6.1
+%define real_version 5.7.0
+%define so_version 5.7.0
 %define tar_version qtbase-opensource-src-%{real_version}
 Source: %{tar_version}.tar.xz
 # to get mtime of file:
@@ -52,18 +52,24 @@
 # PATCH-FIX-OPENSUSE disable-rc4-ciphers-bnc865241.diff bnc#865241-- Exclude 
rc4 ciphers from being used by default
 Patch6: disable-rc4-ciphers-bnc865241.diff
 Patch7: tell-the-truth-about-private-api.patch
-# patches 1000-2000 and above from upstream 5.6 branch #
-Patch1000:  xcb-Fix-drop-of-text-uri-list-and-text-html.patch
-Patch1001:  xcb-Fix-dropping-URL-on-Firefox-window.patch
-Patch1002:  xcb-Send-also-text-plain-when-a-text-uri-list-is-dropped.patch
-# patches 2000-3000 and above from upstream 5.7 branch #
+Patch8: xcb-Dont-activate-bypassed-windows-on-mouse-press.patch
+Patch9: Fix-unwanted-cache-flush-in-Freetype-engine.patch
+# patches 1000-2000 and above from upstream 5.7 branch #
+Patch1000:  xcb-Send-also-text-plain-when-a-text-uri-list-is-dropped.patch
+Patch1001:  
xcb-Dont-send-QtWindowNoState-event-when-hiding-minimized-window.patch
+Patch1002:  XCB-Drop-from-external-app-fix-keyboard-modifier-state.patch
+Patch1003:  xcb-Use-the-state-of-the-key-event-to-process-it.patch
+Patch1004:  
Stop-unloading-plugins-in-QPluginLoader-and-QFactoryLoader.patch
+# patches 2000-3000 and above from upstream 5.8 branch #
 BuildRequires:  alsa-devel
 Build

commit libqt5-qtbase for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-07-12 23:49:38

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-06-25 01:51:06.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-07-12 23:49:39.0 +0200
@@ -1,0 +2,8 @@
+Sat Jul  2 18:52:10 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Add drag-and-drop fixes from upstream:
+  xcb-Fix-drop-of-text-uri-list-and-text-html.patch
+  xcb-Fix-dropping-URL-on-Firefox-window.patch
+  xcb-Send-also-text-plain-when-a-text-uri-list-is-dropped.patch
+
+---

New:

  xcb-Fix-drop-of-text-uri-list-and-text-html.patch
  xcb-Fix-dropping-URL-on-Firefox-window.patch
  xcb-Send-also-text-plain-when-a-text-uri-list-is-dropped.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.y6czK8/_old  2016-07-12 23:49:41.0 +0200
+++ /var/tmp/diff_new_pack.y6czK8/_new  2016-07-12 23:49:41.0 +0200
@@ -53,6 +53,9 @@
 Patch6: disable-rc4-ciphers-bnc865241.diff
 Patch7: tell-the-truth-about-private-api.patch
 # patches 1000-2000 and above from upstream 5.6 branch #
+Patch1000:  xcb-Fix-drop-of-text-uri-list-and-text-html.patch
+Patch1001:  xcb-Fix-dropping-URL-on-Firefox-window.patch
+Patch1002:  xcb-Send-also-text-plain-when-a-text-uri-list-is-dropped.patch
 # patches 2000-3000 and above from upstream 5.7 branch #
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
@@ -137,6 +140,9 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch1000 -p1
+%patch1001 -p1
+%patch1002 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}


++ xcb-Fix-drop-of-text-uri-list-and-text-html.patch ++
>From 1108291e1a2e7de23440c2b36b2fd31010ae3f51 Mon Sep 17 00:00:00 2001
From: Urs Fleisch 
Date: Tue, 3 May 2016 20:01:01 +0200
Subject: [PATCH] xcb: Fix drop of text/uri-list and text/html.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

When dropping URLs from Firefox or Chrome, the contents are encoded as
UTF16, but not correctly decoded. Moreover, the special handling of
"text/x-moz-url" drops does not work because this format is converted to
"text/uri-list" before. This fixes the handling for URL list and also
for UTF16 "text/html".

Task-number: QTBUG-47981
Change-Id: I1153f21ede07b2bfe4d104e0fe8bc8487ec5c165
Reviewed-by: Błażej Szczygieł 
Reviewed-by: Shawn Rutledge 
---
 src/plugins/platforms/xcb/qxcbmime.cpp | 42 +-
 1 file changed, 31 insertions(+), 11 deletions(-)

diff --git a/src/plugins/platforms/xcb/qxcbmime.cpp 
b/src/plugins/platforms/xcb/qxcbmime.cpp
index eeac561..cef2210 100644
--- a/src/plugins/platforms/xcb/qxcbmime.cpp
+++ b/src/plugins/platforms/xcb/qxcbmime.cpp
@@ -182,17 +182,37 @@ QVariant QXcbMime::mimeConvertToFormat(QXcbConnection 
*connection, xcb_atom_t a,
 a == connection->atom(QXcbAtom::TEXT))
 return QString::fromLatin1(data);
 }
-
-// special case for uri types
-if (format == QLatin1String("text/uri-list")) {
-if (atomName == QLatin1String("text/x-moz-url")) {
-// we expect this as utf16 
-// the first part is a url that should only contain ascci char
-// so it should be safe to check that the second char is 0
-// to verify that it is utf16
-if (data.size() > 1 && data.at(1) == 0)
-return QString::fromRawData((const QChar *)data.constData(),
-data.size() / 
2).split(QLatin1Char('\n')).first().toLatin1();
+// If data contains UTF16 text, convert it to a string.
+// Firefox uses UTF16 without BOM for text/x-moz-url, "text/html",
+// Google Chrome uses UTF16 without BOM for "text/x-moz-url",
+// UTF16 with BOM for "text/html".
+if ((format == QLatin1String("text/html") || format == 
QLatin1String("text/uri-list"))
+&& data.size() > 1) {
+const quint8 byte0 = data.at(0);
+const quint8 byte1 = data.at(1);
+if ((byte0 == 0xff && byte1 == 0xfe) || (byte0 == 0xfe && byte1 == 
0xff)
+|| (byte0 != 0 && byte1 == 0) || (byte0 == 0 && byte1 != 0)) {
+const QString str = QString::fromUtf16(
+  reinterpret_cast(data.constData()), 
data.size() / 2);
+if (!str.isNull()) {
+if (format == QLatin1String("text/uri-list")) {
+

commit libqt5-qtbase for openSUSE:Factory

2016-06-24 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-06-25 01:51:05

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-05-17 17:06:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-06-25 01:51:06.0 +0200
@@ -1,0 +2,27 @@
+Wed Jun  8 14:15:14 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Update to 5.6.1
+  * For more details please see:
+http://blog.qt.io/blog/2016/06/08/qt-5-6-1-released/
+- Drop upstreamed patches:
+  0005-xcb-Properly-initialize-available-geometry-when-XRan.patch
+  Fix-QtDBus-deadlock-inside-kded-kiod.patch
+  0007-xcb-Deliver-mouse-enter-event-to-window-when-closing.patch
+  0009-Expose-the-number-of-X-screen-through-the-QXcbScreen.patch
+  0001-xcb-XInput2-fixes-enter-leave-event-fixes.patch
+  0002-xcb-Correct-enter-leave-event-handling-when-mouse-bu.patch
+  0015-Use-the-state-of-the-key-event-to-process-it.patch
+  0012-xcb-Merge-_NET_WM_STATE-hints-instead-of-overwriting.patch
+  0004-xcb-Fix-drag-and-drop-between-xcb-screens.patch
+  QtDBus-finish-all-pending-call-with-error-if-disconnected.patch
+  0010-xcb-mark-mouse-events-from-tablet-devices-as-synthes.patch
+  0011-xcb-Initialize-all-xcb_client_message_event_t-member.patch
+  0008-xcb-resourceType-names-must-have-only-small-letters.patch
+  0016-xcb-Fix-drag-and-drop-to-applications-like-Emacs-and.patch
+  0013-xcb-Fix-interpretation-of-the-size-from-RRCrtcChange.patch
+  0006-xcb-properly-initialize-size-in-millimeters-if-XRand.patch
+  0003-xcb-Fix-not-delivering-focusIn-event-on-hide-show.patch
+  QtDBus-clean-up-signal-hooks-and-object-tree-in-closeConnection.patch
+  0014-xcb-Properly-process-enter-leave-events.patch
+
+---

Old:

  0001-xcb-XInput2-fixes-enter-leave-event-fixes.patch
  0002-xcb-Correct-enter-leave-event-handling-when-mouse-bu.patch
  0003-xcb-Fix-not-delivering-focusIn-event-on-hide-show.patch
  0004-xcb-Fix-drag-and-drop-between-xcb-screens.patch
  0005-xcb-Properly-initialize-available-geometry-when-XRan.patch
  0006-xcb-properly-initialize-size-in-millimeters-if-XRand.patch
  0007-xcb-Deliver-mouse-enter-event-to-window-when-closing.patch
  0008-xcb-resourceType-names-must-have-only-small-letters.patch
  0009-Expose-the-number-of-X-screen-through-the-QXcbScreen.patch
  0010-xcb-mark-mouse-events-from-tablet-devices-as-synthes.patch
  0011-xcb-Initialize-all-xcb_client_message_event_t-member.patch
  0012-xcb-Merge-_NET_WM_STATE-hints-instead-of-overwriting.patch
  0013-xcb-Fix-interpretation-of-the-size-from-RRCrtcChange.patch
  0014-xcb-Properly-process-enter-leave-events.patch
  0015-Use-the-state-of-the-key-event-to-process-it.patch
  0016-xcb-Fix-drag-and-drop-to-applications-like-Emacs-and.patch
  Fix-QtDBus-deadlock-inside-kded-kiod.patch
  QtDBus-clean-up-signal-hooks-and-object-tree-in-closeConnection.patch
  QtDBus-finish-all-pending-call-with-error-if-disconnected.patch
  qtbase-opensource-src-5.6.0.tar.xz

New:

  qtbase-opensource-src-5.6.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.l5hbbM/_old  2016-06-25 01:51:10.0 +0200
+++ /var/tmp/diff_new_pack.l5hbbM/_new  2016-06-25 01:51:10.0 +0200
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.6.0
+Version:5.6.1
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.6.0
-%define so_version 5.6.0
+%define real_version 5.6.1
+%define so_version 5.6.1
 %define tar_version qtbase-opensource-src-%{real_version}
 Source: %{tar_version}.tar.xz
 # to get mtime of file:
@@ -53,26 +53,7 @@
 Patch6: disable-rc4-ciphers-bnc865241.diff
 Patch7: tell-the-truth-about-private-api.patch
 # patches 1000-2000 and above from upstream 5.6 branch #
-Patch1000:  0001-xcb-XInput2-fixes-enter-leave-event-fixes.patch
-Patch1001:  0002-xcb-Correct-enter-leave-event-handling-when-mouse-bu.patch
-Patch1002:  0003-xcb-Fix-not-delivering-focusIn-event-on-hide-show.patch
-Patch1003:  0004-xcb-Fix-drag-and-drop-between-xcb-screens.patch
-Patch1004:  0005-xcb-Properly-initialize-available-geometry-when-XRan.patch
-Patch1005:  0006-xcb-properly-initialize-size-in-millimeters-if-XRand.patch
-Patch1006:  0007-xcb-Deliver-m

commit libqt5-qtbase for openSUSE:Factory

2016-05-17 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-05-17 17:06:30

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-03-18 21:28:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-05-17 17:06:31.0 +0200
@@ -1,0 +2,50 @@
+Sat Apr 23 18:04:33 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Add patches from upstream:
+  0001-xcb-XInput2-fixes-enter-leave-event-fixes.patch
+  0002-xcb-Correct-enter-leave-event-handling-when-mouse-bu.patch
+  0003-xcb-Fix-not-delivering-focusIn-event-on-hide-show.patch
+  0004-xcb-Fix-drag-and-drop-between-xcb-screens.patch
+  0005-xcb-Properly-initialize-available-geometry-when-XRan.patch
+  0006-xcb-properly-initialize-size-in-millimeters-if-XRand.patch
+  0007-xcb-Deliver-mouse-enter-event-to-window-when-closing.patch
+  0008-xcb-resourceType-names-must-have-only-small-letters.patch
+  0009-Expose-the-number-of-X-screen-through-the-QXcbScreen.patch
+  0010-xcb-mark-mouse-events-from-tablet-devices-as-synthes.patch
+  0011-xcb-Initialize-all-xcb_client_message_event_t-member.patch
+  0012-xcb-Merge-_NET_WM_STATE-hints-instead-of-overwriting.patch
+  0013-xcb-Fix-interpretation-of-the-size-from-RRCrtcChange.patch
+  0014-xcb-Properly-process-enter-leave-events.patch
+  0015-Use-the-state-of-the-key-event-to-process-it.patch
+  0016-xcb-Fix-drag-and-drop-to-applications-like-Emacs-and.patch
+
+---
+Fri Mar 18 19:03:01 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Update to 5.6.0
+  * For more details please see:
+http://blog.qt.io/blog/2016/03/16/qt-5-6-released/
+and https://wiki.qt.io/New_Features_in_Qt_5.6
+- Added patches for various QtDBus issues:
+  Fix-QtDBus-deadlock-inside-kded-kiod.patch,
+  QtDBus-clean-up-signal-hooks-and-object-tree-in-closeConnection.patch
+  and QtDBus-finish-all-pending-call-with-error-if-disconnected.patch
+- Added tell-the-truth-about-private-api.patch: mark private and QPA API
+  with symbols for only current patch release
+- Drop obsolete and/or upstreamed patches:
+  xcb-fix-yet-another-crash-when-screens-are-disconnected.patch,
+  xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch,
+  qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch,
+  protect-geometry-QTBUG-40584.patch,
+  move-the-official-Qt-version-from-qglobal-to-qmake-conf.patch,
+  QMimeDatabase-follow-symlinks-when-checking-for-FIFO.patch,
+  Fix-QtCore-compilation-with-clang.patch,
+  Add-option-to-disable-session-management-by-closing-windows.patch,
+  Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch,
+  Add-a-qt_version_tag-symbol-to-QtCore-that-uses-ELF-versions.patch,
+  Add-a-linker-version-script-to-Qt-libraries.patch,
+  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch,
+  0001-Fix-exclusion-of-anonymous-ciphers.patch and
+  0001-Fix-QWidget-setWindowRole.patch
+
+---

Old:

  0001-Fix-QWidget-setWindowRole.patch
  0001-Fix-exclusion-of-anonymous-ciphers.patch
  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch
  Add-a-linker-version-script-to-Qt-libraries.patch
  Add-a-qt_version_tag-symbol-to-QtCore-that-uses-ELF-versions.patch
  Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch
  Add-option-to-disable-session-management-by-closing-windows.patch
  Fix-QtCore-compilation-with-clang.patch
  QMimeDatabase-follow-symlinks-when-checking-for-FIFO.patch
  move-the-official-Qt-version-from-qglobal-to-qmake-conf.patch
  protect-geometry-QTBUG-40584.patch
  qtbase-opensource-src-5.5.1.tar.xz
  qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch
  xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
  xcb-fix-yet-another-crash-when-screens-are-disconnected.patch

New:

  0001-xcb-XInput2-fixes-enter-leave-event-fixes.patch
  0002-xcb-Correct-enter-leave-event-handling-when-mouse-bu.patch
  0003-xcb-Fix-not-delivering-focusIn-event-on-hide-show.patch
  0004-xcb-Fix-drag-and-drop-between-xcb-screens.patch
  0005-xcb-Properly-initialize-available-geometry-when-XRan.patch
  0006-xcb-properly-initialize-size-in-millimeters-if-XRand.patch
  0007-xcb-Deliver-mouse-enter-event-to-window-when-closing.patch
  0008-xcb-resourceType-names-must-have-only-small-letters.patch
  0009-Expose-the-number-of-X-screen-through-the-QXcbScreen.patch
  0010-xcb-mark-mouse-events-from-tablet-devices-as-synthes.patch
  0011-xcb-Initialize-all-xcb_client_message_event_t-member.patch
  0012-xcb-Me

commit libqt5-qtbase for openSUSE:Factory

2016-03-19 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-03-18 21:28:34

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-02-24 18:52:26.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-03-18 21:28:36.0 +0100
@@ -1,0 +2,6 @@
+Wed Mar  9 15:59:46 UTC 2016 - m...@suse.com
+
+- Merge libqt5-qtbase-platformtheme-gtk2 back into libQt5Gui5 (bsc#969935)
+  * align with old libQt5Gui5 where libqgtk2.so has provided
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.gzbB08/_old  2016-03-18 21:28:38.0 +0100
+++ /var/tmp/diff_new_pack.gzbB08/_new  2016-03-18 21:28:38.0 +0100
@@ -500,19 +500,12 @@
 Recommends: libqt5-qtimageformats = %{version}
 Requires:   libQt5Core5 = %{version}
 Requires:   libQt5DBus5 = %{version}
+Provides:   libqt5-qtbase-platformtheme-gtk2 = %{version}
+Obsoletes:  libqt5-qtbase-platformtheme-gtk2 <= %{version}
 
 %description -n libQt5Gui5
 Qt 5 libraries which are depending on X11.
 
-%package platformtheme-gtk2
-Summary:Qt 5 gtk2 plugin
-Group:  Development/Libraries/C and C++
-Supplements:packageand(libQt5Gui5:libgtk-2_0-0)
-Requires:   libQt5Gui5 = %{version}
-
-%description platformtheme-gtk2
-Qt 5 plugin for better integration with gtk2-based desktop enviroments.
-
 %package -n libQt5Gui-devel
 Summary:Qt 5 GUI related libraries - development files
 Group:  Development/Libraries/C and C++
@@ -1072,12 +1065,7 @@
 %{libqt5_plugindir}/platforms
 %{libqt5_plugindir}/egldeviceintegrations
 %{libqt5_plugindir}/xcbglintegrations
-
-%files platformtheme-gtk2
-%defattr(-,root,root,755)
-%doc *.txt LICENSE.*
-%dir %{libqt5_plugindir}/platformthemes
-%{libqt5_plugindir}/platformthemes/libqgtk2.so
+%{libqt5_plugindir}/platformthemes
 
 %files -n libQt5Gui-devel
 %defattr(-,root,root,755)





commit libqt5-qtbase for openSUSE:Factory

2016-02-24 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-02-24 18:52:25

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2016-02-17 12:14:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-02-24 18:52:26.0 +0100
@@ -1,0 +2,13 @@
+Sun Feb 21 00:52:42 UTC 2016 - wba...@tmo.at
+
+- Added QMimeDatabase-follow-symlinks-when-checking-for-FIFO.patch
+  to fix dolphin freeze when opening a folder containing symlinks
+  to special files (boo#957006, qtbug#48529)
+
+---
+Sat Feb 20 16:08:45 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Update Add-option-to-disable-session-management-by-closing-windows.patch
+  to version actually commited upstream
+
+---

New:

  QMimeDatabase-follow-symlinks-when-checking-for-FIFO.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.di2TJF/_old  2016-02-24 18:52:28.0 +0100
+++ /var/tmp/diff_new_pack.di2TJF/_new  2016-02-24 18:52:28.0 +0100
@@ -68,6 +68,7 @@
 Patch3006:  
xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
 Patch3007:  
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch
 Patch3008:  
Add-option-to-disable-session-management-by-closing-windows.patch
+Patch3009:  QMimeDatabase-follow-symlinks-when-checking-for-FIFO.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -163,6 +164,7 @@
 %patch3006 -p1
 %patch3007 -p1
 %patch3008 -p1
+%patch3009 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ Add-option-to-disable-session-management-by-closing-windows.patch ++
--- /var/tmp/diff_new_pack.di2TJF/_old  2016-02-24 18:52:28.0 +0100
+++ /var/tmp/diff_new_pack.di2TJF/_new  2016-02-24 18:52:28.0 +0100
@@ -1,180 +1,207 @@
-From 2722dd7bb544949ff8ca9fe2cfb7b41ceaaddc56 Mon Sep 17 00:00:00 2001
+From e7bf0edfd49de9a4d8285fbe8d878f8fda910e6d Mon Sep 17 00:00:00 2001
 From: Andreas Hartmetz 
 Date: Tue, 19 Jan 2016 14:30:18 +0100
-Subject: [PATCH 1/1] Add option to disable "session management by closing
- windows".
+Subject: Add option to disable "session management by closing windows".
 
 That feature is a poor man's session management for applications
 that do not implement any specific session management features.
 It badly interferes with proper session management support, so
 applications must be able to disable it.
 
-This fixes some KDE applications dying too early, before they are
-enumerated for the list of applications to restart on session
-restore, thus preventing them from being restored. See
+This enables fixing applications with
+QGuiApplication::quitOnLastWindowClosed() true - the default -
+dying too early, before they are enumerated for the list of
+applications to restart on session restore, thus preventing them
+from being restored. See
 https://bugs.kde.org/show_bug.cgi?id=354724
 
+[ChangeLog][QtGui] Qt asking to close windows on session exit as
+a fallback session management mechanism has been made optional.
+Disabling it fixes session management for applications that
+implement full session management. See
+QGuiApplication::isFallbackSessionManagementEnabled().
+
 Task-number: QTBUG-49667
 Change-Id: Ib22e58c9c64351dea8b7e2a74db91d26dd7ab7aa
+Reviewed-by: Oswald Buddenhagen 
+Reviewed-by: David Faure 
 ---
+ .../widgets/mainwindows/application/mainwindow.cpp | 16 ++
+ .../widgets/mainwindows/application/mainwindow.h   |  2 +
  .../code/src_gui_kernel_qguiapplication.cpp|  1 +
- src/gui/kernel/qguiapplication.cpp | 14 +-
- src/gui/kernel/qsessionmanager.cpp | 55 +-
- src/gui/kernel/qsessionmanager.h   |  3 ++
- src/gui/kernel/qsessionmanager_p.h |  1 +
- 5 files changed, 71 insertions(+), 3 deletions(-)
+ src/gui/kernel/qguiapplication.cpp | 60 +-
+ src/gui/kernel/qguiapplication.h   |  3 ++
+ src/gui/kernel/qguiapplication_p.h |  1 +
+ src/gui/kernel/qsessionmanager.cpp | 19 ---
+ 7 files changed, 90 insertions(+), 12 deletions(-)
 
 diff --git a/src/gui/doc/snippets/code/src_gui_kernel_qguiapplication.cpp 
b/src/gui/doc/snippets/code/src_gui_kernel_qguiapplication.cpp
-index 4ddf8c8..3006d19 100644
+index 4ddf8c8..6

commit libqt5-qtbase for openSUSE:Factory

2016-02-17 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2016-02-17 10:29:56

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-10-30 21:51:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2016-02-17 12:14:41.0 +0100
@@ -1,0 +2,15 @@
+Wed Feb 10 12:28:49 UTC 2016 - alarr...@suse.com
+
+- Added 0001-Fix-exclusion-of-anonymous-ciphers.patch from upstream
+  to disable exp-adh and aecdh ciphers.
+- Added disable-rc4-ciphers-bnc865241.diff to disable RC4 based ciphers
+  which are now considered insecure (bnc#865241)
+
+---
+Sat Jan 30 18:14:50 UTC 2016 - hrvoje.sen...@gmail.com
+
+- Added Add-option-to-disable-session-management-by-closing-windows.patch
+  API adition to QSessionManager as first step in resolving
+  kde#354724 and boo#955280
+
+---
@@ -10 +25 @@
-- Update to 5.5.1
+- Update to 5.5.1 (boo#954149)

New:

  0001-Fix-exclusion-of-anonymous-ciphers.patch
  Add-option-to-disable-session-management-by-closing-windows.patch
  disable-rc4-ciphers-bnc865241.diff



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.g5xDcr/_old  2016-02-17 12:14:43.0 +0100
+++ /var/tmp/diff_new_pack.g5xDcr/_new  2016-02-17 12:14:43.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -51,6 +51,10 @@
 Patch4: protect-geometry-QTBUG-40584.patch
 # Patch-FIX-SUSE libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch 
-- bnc#58
 Patch5: libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
+# PATCH-FIX-UPSTREAM 0001-Fix-exclusion-of-anonymous-ciphers.patch -- Exclude 
more ciphers from being used by default
+Patch6: 0001-Fix-exclusion-of-anonymous-ciphers.patch
+# PATCH-FIX-OPENSUSE disable-rc4-ciphers-bnc865241.diff bnc#865241-- Exclude 
rc4 ciphers from being used by default
+Patch7: disable-rc4-ciphers-bnc865241.diff
 # patches 1000-2000 and above from upstream 5.3 branch #
 # patches 2000-3000 and above from upstream 5.5 branch #
 Patch2010:  0001-Fix-QWidget-setWindowRole.patch
@@ -63,6 +67,7 @@
 Patch3005:  xcb-fix-yet-another-crash-when-screens-are-disconnected.patch
 Patch3006:  
xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
 Patch3007:  
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch
+Patch3008:  
Add-option-to-disable-session-management-by-closing-windows.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -145,6 +150,8 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
+%patch7 -p1
 %patch2010 -p1
 %patch2014 -p1
 %patch3000 -p1
@@ -155,6 +162,7 @@
 %patch3005 -p1
 %patch3006 -p1
 %patch3007 -p1
+%patch3008 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ 0001-Fix-exclusion-of-anonymous-ciphers.patch ++
>From 479e84dcbd0d7f1333105c495d7931f1bef3e63b Mon Sep 17 00:00:00 2001
From: "Richard J. Moore" 
Date: Sat, 18 Apr 2015 12:44:30 +0100
Subject: [PATCH] Fix exclusion of anonymous ciphers.

Qt attempted to exclude anonymous ciphers since they offer no MITM
protection, but missed export ADH ciphers and AECDH from the exclude
list.

Change-Id: Icdfa9b31643a0e9927010885c7c1d02c42460d79
Reviewed-by: Peter Hartmann 
---
 src/network/ssl/qsslsocket_openssl.cpp | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/network/ssl/qsslsocket_openssl.cpp 
b/src/network/ssl/qsslsocket_openssl.cpp
index 55762c9..00e13e4 100644
--- a/src/network/ssl/qsslsocket_openssl.cpp
+++ b/src/network/ssl/qsslsocket_openssl.cpp
@@ -662,8 +662,10 @@ void QSslSocketPrivate::resetDefaultCiphers()
 if (SSL_CIPHER *cipher = q_sk_SSL_CIPHER_value(supportedCiphers, i)) {
 QSslCipher ciph = 
QSslSocketBackendPrivate::QSslCipher_from_SSL_CIPHER(cipher);
 if (!ciph.isNull()) {
-// Unconditionally exclude ADH ciphers since they offer no 
MITM protection
-if (!ciph.name().toLower().startsWith(QLatin1String("adh")))
+// Unconditionally exclude ADH and AECDH ciph

commit libqt5-qtbase for openSUSE:Factory

2015-10-30 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-10-30 21:51:03

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-10-19 22:46:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-10-30 21:51:04.0 +0100
@@ -1,0 +2,6 @@
+Wed Oct 28 19:41:36 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added 
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch
+  (qtbug#48321)
+
+---

New:

  qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.bWQWsX/_old  2015-10-30 21:51:06.0 +0100
+++ /var/tmp/diff_new_pack.bWQWsX/_new  2015-10-30 21:51:06.0 +0100
@@ -62,6 +62,7 @@
 Patch3004:  Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch
 Patch3005:  xcb-fix-yet-another-crash-when-screens-are-disconnected.patch
 Patch3006:  
xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
+Patch3007:  
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -153,6 +154,7 @@
 %patch3004 -p1
 %patch3005 -p1
 %patch3006 -p1
+%patch3007 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}


++ 
qtwidgets_do_not-hide_show_via_WA_OutsideWSRange_for_native_widgets.patch ++
>From acb4f5cfb5efa053dd2d5dcd6490d610bb1f8c0e Mon Sep 17 00:00:00 2001
From: Ulf Hermann 
Date: Tue, 27 Oct 2015 15:25:42 +0100
Subject: [PATCH] QtWidgets: Do hide/show via WA_OutsideWSRange for native
 widgets

If a native widget has a width or height of 0 we don't have to
invalidate its backing store as that is done by the window
system. Certain applications rely on ... interesting ... behavior
of certain window systems in this case.

Task-number: QTBUG-48321
Change-Id: I78ef29975181ee22429c9bd4b11d96d9e68b7a9c
---
 src/widgets/kernel/qwidget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
index 7734715..4286130 100644
--- a/src/widgets/kernel/qwidget.cpp
+++ b/src/widgets/kernel/qwidget.cpp
@@ -7169,7 +7169,7 @@ void QWidgetPrivate::setGeometry_sys(int x, int y, int w, 
int h, bool isMove)
 
 bool needsShow = false;
 
-if (q->isWindow()) {
+if (q->isWindow() || q->windowHandle()) {
 if (!(data.window_state & Qt::WindowFullScreen) && (w == 0 || h == 0)) 
{
 q->setAttribute(Qt::WA_OutsideWSRange, true);
 if (q->isVisible() && q->testAttribute(Qt::WA_Mapped))
-- 
2.1.4



commit libqt5-qtbase for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-10-19 22:46:29

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-10-14 16:39:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-10-19 22:46:36.0 +0200
@@ -1,0 +2,22 @@
+Fri Oct 16 20:22:25 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Update to 5.5.1
+  * For more details please see:
+http://blog.qt.io/blog/2015/10/15/qt-5-5-1-released/
+- Drop patches merged upstream:
+  0002-xcb-Fix-getting-the-window-types-from-the-property-o.patch
+  0003-Fix-centering-dialogs.patch
+  0004-xcb-Set-_NET_WM_WINDOW_TYPE-from-a-single-place.patch
+  0006-xcb-set-SM_CLIENT_ID-property.patch
+  Fix-compile-error-on-big-endian.patch
+  Fix-shortcuts-with-keypad-keys.patch
+  QDate_QTime-fix-SiC-introduced-by-adding-new-non-explicit-ctors.patch
+  QMimeDatabase-use-QElapsedTimer.patch
+  ignore-disabling-of-outputs-in-the-middle-of-the-mode-switch.patch
+  when-a-screen-comes-back-online-the-windows-need-to-be-told-about-it.patch
+- Added Fix-QtCore-compilation-with-clang.patch and
+  move-the-official-Qt-version-from-qglobal-to-qmake-conf.patch in
+  order to remove link-time warnings (warning: type and size of dynamic
+  symbol `qt_version_tag@@Qt_5.5' are not defined)
+
+---

Old:

  0002-xcb-Fix-getting-the-window-types-from-the-property-o.patch
  0003-Fix-centering-dialogs.patch
  0004-xcb-Set-_NET_WM_WINDOW_TYPE-from-a-single-place.patch
  0006-xcb-set-SM_CLIENT_ID-property.patch
  Fix-compile-error-on-big-endian.patch
  Fix-shortcuts-with-keypad-keys.patch
  QDate_QTime-fix-SiC-introduced-by-adding-new-non-explicit-ctors.patch
  QMimeDatabase-use-QElapsedTimer.patch
  ignore-disabling-of-outputs-in-the-middle-of-the-mode-switch.patch
  qtbase-opensource-src-5.5.0.tar.xz
  when-a-screen-comes-back-online-the-windows-need-to-be-told-about-it.patch

New:

  Fix-QtCore-compilation-with-clang.patch
  move-the-official-Qt-version-from-qglobal-to-qmake-conf.patch
  qtbase-opensource-src-5.5.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.05c4Xo/_old  2015-10-19 22:46:44.0 +0200
+++ /var/tmp/diff_new_pack.05c4Xo/_new  2015-10-19 22:46:44.0 +0200
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.5.0
+Version:5.5.1
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.5.0
-%define so_version 5.5.0
+%define real_version 5.5.1
+%define so_version 5.5.1
 %define tar_version qtbase-opensource-src-%{real_version}
 Source: %{tar_version}.tar.xz
 # to get mtime of file:
@@ -51,26 +51,17 @@
 Patch4: protect-geometry-QTBUG-40584.patch
 # Patch-FIX-SUSE libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch 
-- bnc#58
 Patch5: libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
-# PATCH-FIX-OPENSUSE Fix-shortcuts-with-keypad-keys.patch -- 
https://codereview.qt-project.org/#/c/95219/
-Patch8: Fix-shortcuts-with-keypad-keys.patch
 # patches 1000-2000 and above from upstream 5.3 branch #
 # patches 2000-3000 and above from upstream 5.5 branch #
-Patch2000:  
ignore-disabling-of-outputs-in-the-middle-of-the-mode-switch.patch
-Patch2001:  
when-a-screen-comes-back-online-the-windows-need-to-be-told-about-it.patch
 Patch2010:  0001-Fix-QWidget-setWindowRole.patch
-Patch2011:  0002-xcb-Fix-getting-the-window-types-from-the-property-o.patch
-Patch2012:  0003-Fix-centering-dialogs.patch
-Patch2013:  0004-xcb-Set-_NET_WM_WINDOW_TYPE-from-a-single-place.patch
 Patch2014:  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch
-Patch2015:  0006-xcb-set-SM_CLIENT_ID-property.patch
-Patch2016:  QMimeDatabase-use-QElapsedTimer.patch
-Patch2017:  
QDate_QTime-fix-SiC-introduced-by-adding-new-non-explicit-ctors.patch
 Patch3000:  Add-a-linker-version-script-to-Qt-libraries.patch
 Patch3001:  
Add-a-qt_version_tag-symbol-to-QtCore-that-uses-ELF-versions.patch
-Patch3002:  Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch
-Patch3003:  Fix-compile-error-on-big-endian.patch
-Patch3004:  xcb-fix-yet-another-crash-when-screens-are-disconnected.patch
-Patch3005:  
xcb-d

commit libqt5-qtbase for openSUSE:Factory

2015-10-14 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-10-14 16:39:32

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-09-27 08:37:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-10-14 16:39:33.0 +0200
@@ -1,0 +2,23 @@
+Mon Oct 12 17:53:42 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
+  and xcb-fix-yet-another-crash-when-screens-are-disconnected.patch
+  (kde#341497, qtbug#47385)
+
+---
+Fri Oct  9 19:42:43 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added QDate_QTime-fix-SiC-introduced-by-adding-new-non-explicit-ctors.patch
+
+---
+Wed Oct  7 15:11:51 UTC 2015 - alarr...@suse.com
+
+- When in SLE12, use the internal Harfbuzz version instead of the system
+  one (which is too old for Qt's requirements)
+
+---
+Sun Sep 27 08:43:03 UTC 2015 - sch...@suse.de
+
+- Fix-compile-error-on-big-endian.patch: Fix compile error on big endian
+
+---

New:

  Fix-compile-error-on-big-endian.patch
  QDate_QTime-fix-SiC-introduced-by-adding-new-non-explicit-ctors.patch
  xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
  xcb-fix-yet-another-crash-when-screens-are-disconnected.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.DCTArW/_old  2015-10-14 16:39:35.0 +0200
+++ /var/tmp/diff_new_pack.DCTArW/_new  2015-10-14 16:39:35.0 +0200
@@ -64,9 +64,13 @@
 Patch2014:  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch
 Patch2015:  0006-xcb-set-SM_CLIENT_ID-property.patch
 Patch2016:  QMimeDatabase-use-QElapsedTimer.patch
+Patch2017:  
QDate_QTime-fix-SiC-introduced-by-adding-new-non-explicit-ctors.patch
 Patch3000:  Add-a-linker-version-script-to-Qt-libraries.patch
 Patch3001:  
Add-a-qt_version_tag-symbol-to-QtCore-that-uses-ELF-versions.patch
 Patch3002:  Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch
+Patch3003:  Fix-compile-error-on-big-endian.patch
+Patch3004:  xcb-fix-yet-another-crash-when-screens-are-disconnected.patch
+Patch3005:  
xcb-dont-crash-in-mapToNativemapFromNative-if-the-screen-is-null.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -107,7 +111,9 @@
 BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
+%if 0%{?is_opensuse} || 0%{?suse_version} != 1315 
 BuildRequires:  pkgconfig(harfbuzz)
+%endif
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(libinput)
 BuildRequires:  pkgconfig(libudev)
@@ -157,9 +163,13 @@
 %patch2014 -p1
 %patch2015 -p1
 %patch2016 -p1
+%patch2017 -p1
 %patch3000 -p1
 %patch3001 -p1
 %patch3002 -p1
+%patch3003 -p1
+%patch3004 -p1
+%patch3005 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -751,7 +761,9 @@
-system-libjpeg \
-openssl-linked \
-system-libpng \
+%if 0%{?is_opensuse} || 0%{?suse_version} != 1315 
-system-harfbuzz \
+%endif
-fontconfig \
-system-freetype \
-cups \

++ Fix-compile-error-on-big-endian.patch ++
>From 02ab210ea9bc5ee53fa4f1db2f068ce24272a6cd Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen 
Date: Fri, 3 Jul 2015 14:19:02 +0200
Subject: [PATCH] Fix compile error on big endian

DestFormat is not defined here but should be Format_RGBX

Change-Id: Ie33989a6fc31650434281a6b7b0f4806524268af
Reviewed-by: Konstantin Ritt 
Reviewed-by: Timo Jyrinki 
Reviewed-by: Simon Hausmann 
---
 src/gui/image/qimage_conversions.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: qtbase-opensource-src-5.5.0/src/gui/image/qimage_conversions.cpp
===
--- qtbase-opensource-src-5.5.0.orig/src/gui/image/qimage_conversions.cpp
+++ qtbase-opensource-src-5.5.0/src/gui/image/qimage_conversions.cpp
@@ -1103,7 +1103,7 @@ static bool mask_alpha_converter_rgbx_in
 }
 rgb_data += pad;
 }
-data->format = DestFormat;
+data->format = QImage::Format_RGBX;
 return true;
 #endif
 }
++ QDate_QTime-fix-SiC-introduced-by-adding-new-non-explicit-ctors.patch 
++
>From eda79a467ee7e45f3de63

commit libqt5-qtbase for openSUSE:Factory

2015-09-26 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-09-27 08:38:22

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-08-07 00:19:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-09-27 08:37:44.0 +0200
@@ -1,0 +2,30 @@
+Tue Aug 18 16:38:29 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added patches from upstream:
+  ignore-disabling-of-outputs-in-the-middle-of-the-mode-switch.patch
+  (qtbug#44158, qtbug#46786, qtbug#46822)
+  when-a-screen-comes-back-online-the-windows-need-to-be-told-about-it.patch
+  (qtbug#47041)
+
+---
+Sun Aug 16 08:31:58 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Update to 5.5.0
+  * For more details please see:
+http://blog.qt.io/blog/2015/07/01/qt-5-5-released/
+and https://wiki.qt.io/New_Features_in_Qt_5.5
+- Drop patches merged upstream:
+  0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch,
+  0002-Speed-up-application-startup-on-X11.patch,
+  Fix-regression-in-compose-table-parsing.patch,
+  libqt5-libtool-nodate.diff and
+  make-qdbusxml2cpp-output-reproducible.patch
+- Add patches from upstream:
+  Add-a-linker-version-script-to-Qt-libraries.patch,
+  Add-a-qt_version_tag-symbol-to-QtCore-that-uses-ELF-versions.patch
+  and Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch
+- Added tslib-devel and libinput-devel (Build)Requires
+- Drop all openSUSE 13.1 conditionals, we won't build Qt >= 5.5 on
+  that distro version anymore
+
+---

Old:

  0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
  0002-Speed-up-application-startup-on-X11.patch
  Fix-regression-in-compose-table-parsing.patch
  libqt5-libtool-nodate.diff
  make-qdbusxml2cpp-output-reproducible.patch
  qtbase-opensource-src-5.4.2.tar.xz

New:

  Add-a-linker-version-script-to-Qt-libraries.patch
  Add-a-qt_version_tag-symbol-to-QtCore-that-uses-ELF-versions.patch
  Add-an-automatic-use-of-the-ELF-versioned-QtCore-symbol.patch
  ignore-disabling-of-outputs-in-the-middle-of-the-mode-switch.patch
  qtbase-opensource-src-5.5.0.tar.xz
  when-a-screen-comes-back-online-the-windows-need-to-be-told-about-it.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.Jtuj2U/_old  2015-09-27 08:37:47.0 +0200
+++ /var/tmp/diff_new_pack.Jtuj2U/_new  2015-09-27 08:37:47.0 +0200
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.4.2
+Version:5.5.0
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.4.2
-%define so_version 5.4.2
+%define real_version 5.5.0
+%define so_version 5.5.0
 %define tar_version qtbase-opensource-src-%{real_version}
 Source: %{tar_version}.tar.xz
 # to get mtime of file:
@@ -43,8 +43,6 @@
 Source3:baselibs.conf
 Source99:   libqt5-qtbase-rpmlintrc
 # patches 0-1000 are openSUSE and/or non-upstream(able) patches #
-# PATCH-FIX-UPSTREAM libqt5-libtool-nodate.diff -- for ommiting date/time on 
build
-Patch0: libqt5-libtool-nodate.diff
 # PATCH-FIX-UPSTREAM use-freetype-default.patch -- allow using lcd-default 
filter regardless of how freetype2 library has been built (w/ & w/o subpixel)
 Patch2: use-freetype-default.patch
 # PATCH-FIX-SUSE libqt5-Fix-Gujarati-font.patch bnc#878292 fix broken Gujarati 
font rendering
@@ -53,18 +51,12 @@
 Patch4: protect-geometry-QTBUG-40584.patch
 # Patch-FIX-SUSE libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch 
-- bnc#58
 Patch5: libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
-# PATCH-FIX-OPENSUSE make-qdbusxml2cpp-output-reproducible.patch -- 
https://codereview.qt-project.org/#/c/105210/1
-Patch7: make-qdbusxml2cpp-output-reproducible.patch
 # PATCH-FIX-OPENSUSE Fix-shortcuts-with-keypad-keys.patch -- 
https://codereview.qt-project.org/#/c/95219/
 Patch8: Fix-shortcuts-with-keypad-keys.patch
 # patches 1000-2000 and above from upstream 5.3 branch #
 # patches 2000-3000 and above from upstream 5.5 branch #
-# PATCH-FIX-UPSTREAM 
0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
-Patch2007:  0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
-# PATCH-FIX-

commit libqt5-qtbase for openSUSE:Factory

2015-08-06 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-08-07 00:19:29

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-08-02 22:45:49.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-08-07 00:19:30.0 +0200
@@ -1,0 +2,5 @@
+Tue Aug  4 19:05:31 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Update QMimeDatabase-use-QElapsedTimer.patch to latest version
+
+---



Other differences:
--
++ QMimeDatabase-use-QElapsedTimer.patch ++
--- /var/tmp/diff_new_pack.VKNKZu/_old  2015-08-07 00:19:33.0 +0200
+++ /var/tmp/diff_new_pack.VKNKZu/_new  2015-08-07 00:19:33.0 +0200
@@ -23,7 +23,7 @@
  {
 -const QDateTime now = QDateTime::currentDateTime();
 -if (m_lastCheck.isValid() && m_lastCheck.secsTo(now) < 
qmime_secondsBetweenChecks)
-+if (m_lastCheck.isValid() && m_lastCheck.elapsed() < 
qmime_secondsBetweenChecks)
++if (m_lastCheck.isValid() && m_lastCheck.elapsed() < 
qmime_secondsBetweenChecks * 1000)
  return false;
 -m_lastCheck = now;
 +m_lastCheck.start();





commit libqt5-qtbase for openSUSE:Factory

2015-08-02 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-08-02 22:45:47

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-06-12 20:28:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-08-02 22:45:49.0 +0200
@@ -1,0 +2,13 @@
+Tue Jul 28 21:39:35 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added QMimeDatabase-use-QElapsedTimer.patch: reduces the number
+  of syscalls greatly, by avoiding the timezone conversion every time;
+  massively improves kbuildsycoca5 speed
+
+---
+Sun Jul 26 15:30:15 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Fix the suse_version condition checks - treat Leap equally as 13.2
+  wrt which system libs shall be used
+
+---

New:

  QMimeDatabase-use-QElapsedTimer.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.di3bhI/_old  2015-08-02 22:45:51.0 +0200
+++ /var/tmp/diff_new_pack.di3bhI/_new  2015-08-02 22:45:51.0 +0200
@@ -71,6 +71,7 @@
 Patch2013:  0004-xcb-Set-_NET_WM_WINDOW_TYPE-from-a-single-place.patch
 Patch2014:  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch
 Patch2015:  0006-xcb-set-SM_CLIENT_ID-property.patch
+Patch2016:  QMimeDatabase-use-QElapsedTimer.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -111,12 +112,12 @@
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(libudev)
-%if 0%{?suse_version} >= 1320
+%if 0%{?suse_version} > 1310
 BuildRequires:  pkgconfig(harfbuzz)
 %endif
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(sm)
-%if 0%{?suse_version} >= 1315
+%if 0%{?suse_version} > 1310
 BuildRequires:  pkgconfig(xkbcommon) >= 0.4.1
 BuildRequires:  pkgconfig(xkbcommon-x11) >= 0.4.1
 %else
@@ -167,6 +168,7 @@
 %patch2013 -p1
 %patch2014 -p1
 %patch2015 -p1
+%patch2016 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -759,7 +761,7 @@
-system-libjpeg \
-openssl-linked \
-system-libpng \
-%if 0%{?suse_version} >= 1320
+%if 0%{?suse_version} > 1310
-system-harfbuzz \
 %endif
-fontconfig \

++ QMimeDatabase-use-QElapsedTimer.patch ++
>From 3426ce9b8e62e8d76db0d9cc2899113c0c3cb073 Mon Sep 17 00:00:00 2001
From: David Faure 
Date: Mon, 27 Jul 2015 00:22:11 +0200
Subject: [PATCH 1/1] QMimeDatabase: use QElapsedTimer instead of
 QDateTime::currentDateTime()

This reduces the number of syscalls greatly, by avoiding the timezone
conversion every time.

Change-Id: I39a54def4b45f25c6e037ced6943b05ddc749c9d
---
 src/corelib/mimetypes/qmimeprovider.cpp | 5 ++---
 src/corelib/mimetypes/qmimeprovider_p.h | 3 ++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/corelib/mimetypes/qmimeprovider.cpp 
b/src/corelib/mimetypes/qmimeprovider.cpp
index 
cca9a40b9f28e1b45a6e5e0172f512c5880a10d6..9f6bdb30981f4f236ef422cfd16f6c1cd38c643f
 100644
--- a/src/corelib/mimetypes/qmimeprovider.cpp
+++ b/src/corelib/mimetypes/qmimeprovider.cpp
@@ -77,10 +77,9 @@ Q_CORE_EXPORT int qmime_secondsBetweenChecks = 5; // 
exported for the unit test
 
 bool QMimeProviderBase::shouldCheck()
 {
-const QDateTime now = QDateTime::currentDateTime();
-if (m_lastCheck.isValid() && m_lastCheck.secsTo(now) < 
qmime_secondsBetweenChecks)
+if (m_lastCheck.isValid() && m_lastCheck.elapsed() < 
qmime_secondsBetweenChecks)
 return false;
-m_lastCheck = now;
+m_lastCheck.start();
 return true;
 }
 
diff --git a/src/corelib/mimetypes/qmimeprovider_p.h 
b/src/corelib/mimetypes/qmimeprovider_p.h
index 
027fddd2c81ddb52fb3c383edfeda3a03f9ccaac..e4bc55a1a2deb5f4d030f451dd97729c2ca95bb8
 100644
--- a/src/corelib/mimetypes/qmimeprovider_p.h
+++ b/src/corelib/mimetypes/qmimeprovider_p.h
@@ -48,6 +48,7 @@
 #include 
 #include "qmimedatabase_p.h"
 #include 
+#include 
 
 QT_BEGIN_NAMESPACE
 
@@ -74,7 +75,7 @@ public:
 QMimeDatabasePrivate *m_db;
 protected:
 bool shouldCheck();
-QDateTime m_lastCheck;
+QElapsedTimer m_lastCheck;
 };
 
 /*
-- 
2.4.6





commit libqt5-qtbase for openSUSE:Factory

2015-06-12 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-06-12 20:28:30

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-06-06 09:50:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-06-12 20:28:31.0 +0200
@@ -1,0 +2,11 @@
+Tue Jun  9 19:04:26 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Add patches from upstream:
+  0001-Fix-QWidget-setWindowRole.patch
+  0002-xcb-Fix-getting-the-window-types-from-the-property-o.patch
+  0003-Fix-centering-dialogs.patch
+  0004-xcb-Set-_NET_WM_WINDOW_TYPE-from-a-single-place.patch
+  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch
+  0006-xcb-set-SM_CLIENT_ID-property.patch
+
+---

New:

  0001-Fix-QWidget-setWindowRole.patch
  0002-xcb-Fix-getting-the-window-types-from-the-property-o.patch
  0003-Fix-centering-dialogs.patch
  0004-xcb-Set-_NET_WM_WINDOW_TYPE-from-a-single-place.patch
  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch
  0006-xcb-set-SM_CLIENT_ID-property.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.u31VzZ/_old  2015-06-12 20:28:34.0 +0200
+++ /var/tmp/diff_new_pack.u31VzZ/_new  2015-06-12 20:28:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -58,13 +58,19 @@
 # PATCH-FIX-OPENSUSE Fix-shortcuts-with-keypad-keys.patch -- 
https://codereview.qt-project.org/#/c/95219/
 Patch8: Fix-shortcuts-with-keypad-keys.patch
 # patches 1000-2000 and above from upstream 5.3 branch #
-# patches 2000-3000 and above from upstream 5.4 branch #
+# patches 2000-3000 and above from upstream 5.5 branch #
 # PATCH-FIX-UPSTREAM 
0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
 Patch2007:  0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
 # PATCH-FIX-UPSTREAM 0002-Speed-up-application-startup-on-X11.patch
 Patch2008:  0002-Speed-up-application-startup-on-X11.patch
 # PATCH-FIX-UPSTREAM Fix-regression-in-compose-table-parsing.patch
 Patch2009:  Fix-regression-in-compose-table-parsing.patch
+Patch2010:  0001-Fix-QWidget-setWindowRole.patch
+Patch2011:  0002-xcb-Fix-getting-the-window-types-from-the-property-o.patch
+Patch2012:  0003-Fix-centering-dialogs.patch
+Patch2013:  0004-xcb-Set-_NET_WM_WINDOW_TYPE-from-a-single-place.patch
+Patch2014:  0005-Restore-documented-behavior-for-the-WA_X11NetWmWindo.patch
+Patch2015:  0006-xcb-set-SM_CLIENT_ID-property.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -155,6 +161,12 @@
 %patch2007 -p1
 %patch2008 -p1
 %patch2009 -p1
+%patch2010 -p1
+%patch2011 -p1
+%patch2012 -p1
+%patch2013 -p1
+%patch2014 -p1
+%patch2015 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ 0001-Fix-QWidget-setWindowRole.patch ++
>From 5944a751857de997ee674a90c2e35ff3adaa655b Mon Sep 17 00:00:00 2001
From: Alexander Volkov 
Date: Mon, 8 Jun 2015 14:35:22 +0300
Subject: [PATCH 1/1] Fix QWidget::setWindowRole()

Introduce QXcbWindowFunctions::setWmWindowRole() and call it either from
the implementation of QWidget::setWindowRole() or after the creation of
the corresponding QWidgetWindow.

Change-Id: I143450f4673dd707bb491c1d0f0e8b61d564283d
Task-number: QTBUG-45484
---
 .../xcbfunctions/qxcbwindowfunctions.h   | 11 +++
 src/plugins/platforms/xcb/qxcbnativeinterface.cpp|  3 +++
 src/plugins/platforms/xcb/qxcbwindow.cpp | 20 
 src/plugins/platforms/xcb/qxcbwindow.h   |  2 ++
 src/widgets/kernel/qwidget.cpp   | 12 +++-
 5 files changed, 43 insertions(+), 5 deletions(-)

diff --git a/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h 
b/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h
index 5227732..81cb32f 100644
--- a/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h
+++ b/src/platformheaders/xcbfunctions/qxcbwindowfunctions.h
@@ -72,6 +72,17 @@ public:
 if (func)
 func(window, type);
 }
+
+typedef void (*SetWmWindowRole)(QWindow *window, const QByteArray &role);
+static const QByteArray s

commit libqt5-qtbase for openSUSE:Factory

2015-06-06 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-06-06 09:50:37

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-05-19 23:22:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-06-06 09:50:38.0 +0200
@@ -1,0 +2,45 @@
+Wed Jun  3 22:55:30 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Update to 5.4.2
+ * Important Behavior Changes:
+   - EXIF orientation is no longer applied to JPEG images on read.
+ EXIF orientation on JPEG was introduced in 5.4.0, but due to
+ a bug the most common EXIF-format (big-endian) was not working
+ until 5.4.1. 5.4.2 restores the behavior of 5.4.0 and earlier
+ for most EXIF-tagged JPEGs.
+ EXIF orientation will be an opt-in starting with Qt 5.5.
+   - On x86 and x86-64 systems with ELF binaries (especially Linux),
+ due to a new optimization in GCC 5.x in combination with a recent
+ version of GNU binutils, compiling Qt applications with -fPIE
+ is no longer enough with GCC 5.x. Applications now need to be
+ compiled with the -fPIC option if Qt's option "reduce relocations"
+ is active. For backward compatibility only, Qt accepts the use
+ of -fPIE for GCC 4.x versions.
+ Note that Clang is known to generate incompatible code even
+ with -fPIC if the -flto option is active.
+ Applications using qmake or cmake >= 2.8.12 as their build
+ system will adapt automatically. Applications using an older
+ release of cmake in combination with GCC 5.x need to change
+ their CMakeLists.txt to add Qt5Core_EXECUTABLE_COMPILE_FLAGS
+ to CMAKE_CXX_FLAGS. In particular, applications using
+ cmake >= 2.8.9 and < 2.8.11 will continue to build   with the
+ -fPIE option and invoke the special compatibility mode
+ if using GCC 4.x.
+  * Bugfix release, for more details please see:
+http://blog.qt.io/blog/2015/06/02/qt-5-4-2-released/
+- Drop patches merged upstream:
+  Call-ofono-nm-Registered-delayed-in-constructor-othe.patch
+  Fix-Meta-shortcuts-on-XCB.patch
+  Fix-upload-corruptions-when-server-closes-connection.patch
+  Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch
+  Handle-SelectionWindowDestroy-in-QXcbClipboard.patch
+  Make-qglobal.h-complain-if-you-use-fPIE.patch
+  Make-sure-theres-a-scene-before-using-it.patch
+  QSystemTrayIcon-handle-submenus-correctly.patch
+  Require-fPIC-instead-of-just-fPIE-for-reduce-relocations.patch
+  Try-to-ensure-that-fPIC-is-used-in-CMake-builds.patch
+  Update-mouse-buttons-from-MotionNotify-events.patch
+  fix-a-division-by-zero-when-processing-malformed-BMP-files.patch
+- Added cmake (Build)Requires to get autoprovides for all Qt modules
+
+---

Old:

  Call-ofono-nm-Registered-delayed-in-constructor-othe.patch
  Fix-Meta-shortcuts-on-XCB.patch
  Fix-upload-corruptions-when-server-closes-connection.patch
  Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch
  Handle-SelectionWindowDestroy-in-QXcbClipboard.patch
  Make-qglobal.h-complain-if-you-use-fPIE.patch
  Make-sure-theres-a-scene-before-using-it.patch
  QSystemTrayIcon-handle-submenus-correctly.patch
  Require-fPIC-instead-of-just-fPIE-for-reduce-relocations.patch
  Try-to-ensure-that-fPIC-is-used-in-CMake-builds.patch
  Update-mouse-buttons-from-MotionNotify-events.patch
  fix-a-division-by-zero-when-processing-malformed-BMP-files.patch
  qtbase-opensource-src-5.4.1.tar.xz

New:

  qtbase-opensource-src-5.4.2.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.TdC4hx/_old  2015-06-06 09:50:41.0 +0200
+++ /var/tmp/diff_new_pack.TdC4hx/_new  2015-06-06 09:50:42.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,15 +26,15 @@
 %endif
 
 Name:   libqt5-qtbase
-Version:5.4.1
+Version:5.4.2
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.4.1
-%define so_version 5.4.1
+%define real_version 5.4.2
+%define so_version 5.4.2

commit libqt5-qtbase for openSUSE:Factory

2015-05-19 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-05-19 23:22:17

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-05-11 19:33:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-05-19 23:22:19.0 +0200
@@ -1,0 +2,15 @@
+Mon May 18 13:34:07 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added patches from upstream:
+  Try-to-ensure-that-fPIC-is-used-in-CMake-builds.patch,
+  Require-fPIC-instead-of-just-fPIE-for-reduce-relocations.patch
+  and Make-qglobal.h-complain-if-you-use-fPIE.patch
+  (qtbug#45755)
+
+---
+Sat May 16 08:24:36 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Add Fix-shortcuts-with-keypad-keys.patch
+  (qtbug#20191,qtbug#33093,kde#344638)
+
+---

New:

  Fix-shortcuts-with-keypad-keys.patch
  Make-qglobal.h-complain-if-you-use-fPIE.patch
  Require-fPIC-instead-of-just-fPIE-for-reduce-relocations.patch
  Try-to-ensure-that-fPIC-is-used-in-CMake-builds.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.RWErAE/_old  2015-05-19 23:22:21.0 +0200
+++ /var/tmp/diff_new_pack.RWErAE/_new  2015-05-19 23:22:21.0 +0200
@@ -55,6 +55,8 @@
 Patch5: libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
 # PATCH-FIX-OPENSUSE make-qdbusxml2cpp-output-reproducible.patch -- 
https://codereview.qt-project.org/#/c/105210/1
 Patch7: make-qdbusxml2cpp-output-reproducible.patch
+# PATCH-FIX-OPENSUSE Fix-shortcuts-with-keypad-keys.patch -- 
https://codereview.qt-project.org/#/c/95219/
+Patch8: Fix-shortcuts-with-keypad-keys.patch
 # patches 1000-2000 and above from upstream 5.3 branch #
 # patches 2000-3000 and above from upstream 5.4 branch #
 # PATCH-FIX-UPSTREAM QSystemTrayIcon-handle-submenus-correctly.patch
@@ -81,6 +83,12 @@
 Patch2010:  Fix-upload-corruptions-when-server-closes-connection.patch
 # PATCH-FIX-UPSTREAM Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch
 Patch2011:  Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch
+# PATCH-FIX-UPSTREAM 
Require-fPIC-instead-of-just-fPIE-for-reduce-relocations.patch
+Patch2012:  Require-fPIC-instead-of-just-fPIE-for-reduce-relocations.patch
+# PATCH-FIX-UPSTREAM Make-qglobal.h-complain-if-you-use-fPIE.patch
+Patch2013:  Make-qglobal.h-complain-if-you-use-fPIE.patch
+# PATCH-FIX-UPSTREAM Try-to-ensure-that-fPIC-is-used-in-CMake-builds.patch
+Patch2014:  Try-to-ensure-that-fPIC-is-used-in-CMake-builds.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -165,6 +173,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch7 -p0
+%patch8 -p1
 %patch2000 -p1
 %patch2001 -p1
 %patch2002 -p1
@@ -177,6 +186,9 @@
 %patch2009 -p1
 %patch2010 -p1
 %patch2011 -p1
+%patch2012 -p1
+%patch2013 -p1
+%patch2014 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ Fix-shortcuts-with-keypad-keys.patch ++
>From c137502c7fd7550c780c9531ec414098d8101757 Mon Sep 17 00:00:00 2001
From: Alexander Volkov 
Date: Thu, 18 Sep 2014 16:16:26 +0400
Subject: Fix shortcuts with keypad keys

The way of searching a shortcut match for a key without the keypad
modifier introduced in 547a1bea492954d828aa0798be93384669812489 is
not correct. QKeyEvent::setModifiers() doesn't change native scan code
so we get the incorrect QKeyEvent object which is eventually passed to
the implementation of QPlatformIntegration::possibleKeys().
And then QPlatformIntegration::possibleKeys() returns the same result
as for the original QKeyEvent object.

So to fix it we have to remove Qt::KeypadModifier from keys after
calling the implementation of QPlatformIntegration::possibleKeys(),
as it was before 547a1bea492954d828aa0798be93384669812489.

Task-number: QTBUG-33093
Task-number: QTBUG-20191
Change-Id: I5b33c9b6cf2c06b133166a31eba9aff9181c9483
---
 src/gui/kernel/qshortcutmap.cpp | 12 +---
 src/gui/kernel/qshortcutmap_p.h |  4 ++--
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/gui/kernel/qshortcutmap.cpp b/src/gui/kernel/qshortcutmap.cpp
index cad707a..83377af 100644
--- a/src/gui/kernel/qshortcutmap.cpp
+++ b/src/gui/kernel/qshortcutmap.cpp
@@ -380,9 +380,7 @@ QKeySequence::SequenceMatch 
QShortcutMap::nextState(QKeyEvent *e)
 result = find(e);
 if (result == QKeySequence::NoMatch && (e->modifiers() & 
Qt::KeypadModifier)) {
 // Try to find a mat

commit libqt5-qtbase for openSUSE:Factory

2015-05-11 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-05-11 19:33:03

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-04-22 01:12:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-05-11 19:33:05.0 +0200
@@ -1,0 +2,18 @@
+Tue May  5 01:05:55 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added patches from upstream:
+  Fix-upload-corruptions-when-server-closes-connection.patch and
+  Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch (qtbug#44771)
+
+---
+Sat Apr 25 01:30:11 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Fixup previous change to also handle arguments in specs using %qmake5
+- Also add QMAKE_LFLAGS to the macro
+
+---
+Fri Apr 24 07:41:31 UTC 2015 - joerg.loren...@ki.tng.de
+
+- Added QMAKE_CXXFLAGS and QMAKE_CFLAGS to macro %qmake5.
+
+---

New:

  Fix-upload-corruptions-when-server-closes-connection.patch
  Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.9fFbb0/_old  2015-05-11 19:33:06.0 +0200
+++ /var/tmp/diff_new_pack.9fFbb0/_new  2015-05-11 19:33:06.0 +0200
@@ -77,6 +77,10 @@
 Patch2008:  0002-Speed-up-application-startup-on-X11.patch
 # PATCH-FIX-UPSTREAM Fix-regression-in-compose-table-parsing.patch
 Patch2009:  Fix-regression-in-compose-table-parsing.patch
+# PATCH-FIX-UPSTREAM Fix-upload-corruptions-when-server-closes-connection.patch
+Patch2010:  Fix-upload-corruptions-when-server-closes-connection.patch
+# PATCH-FIX-UPSTREAM Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch
+Patch2011:  Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -171,6 +175,8 @@
 %patch2007 -p1
 %patch2008 -p1
 %patch2009 -p1
+%patch2010 -p1
+%patch2011 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ Fix-upload-corruptions-when-server-closes-connection.patch ++
 690 lines (skipped)

++ Fixed-a-deadlock-when-the-lock-file-is-corrupted.patch ++
>From f58e882b7594c59b6050d3c87562fcf836d10f60 Mon Sep 17 00:00:00 2001
From: Olivier Goffart 
Date: Tue, 14 Apr 2015 10:58:26 +0200
Subject: QLockFile: fix deadlock when the lock file is corrupted

[ChangeLog][QtCore][QLockFile] Fixed a deadlock when the lock file
is corrupted.

Task-number: QTBUG-44771
Change-Id: Ic490b09d70ff1cc1733b64949889a73720b2d0f3
Reviewed-by: David Faure 
---
 src/corelib/io/qlockfile_unix.cpp | 10 +-
 src/corelib/io/qlockfile_win.cpp  | 22 +++---
 tests/auto/corelib/io/qlockfile/tst_qlockfile.cpp | 17 +
 3 files changed, 33 insertions(+), 16 deletions(-)

diff --git a/src/corelib/io/qlockfile_unix.cpp 
b/src/corelib/io/qlockfile_unix.cpp
index bf1015a..dc9f8f7 100644
--- a/src/corelib/io/qlockfile_unix.cpp
+++ b/src/corelib/io/qlockfile_unix.cpp
@@ -181,11 +181,11 @@ bool QLockFilePrivate::isApparentlyStale() const
 {
 qint64 pid;
 QString hostname, appname;
-if (!getLockInfo(&pid, &hostname, &appname))
-return false;
-if (hostname.isEmpty() || hostname == 
QString::fromLocal8Bit(localHostName())) {
-if (::kill(pid, 0) == -1 && errno == ESRCH)
-return true; // PID doesn't exist anymore
+if (getLockInfo(&pid, &hostname, &appname)) {
+if (hostname.isEmpty() || hostname == 
QString::fromLocal8Bit(localHostName())) {
+if (::kill(pid, 0) == -1 && errno == ESRCH)
+return true; // PID doesn't exist anymore
+}
 }
 const qint64 age = 
QFileInfo(fileName).lastModified().msecsTo(QDateTime::currentDateTime());
 return staleLockTime > 0 && age > staleLockTime;
diff --git a/src/corelib/io/qlockfile_win.cpp b/src/corelib/io/qlockfile_win.cpp
index f9f2909..3587c7b 100644
--- a/src/corelib/io/qlockfile_win.cpp
+++ b/src/corelib/io/qlockfile_win.cpp
@@ -115,21 +115,21 @@ bool QLockFilePrivate::isApparentlyStale() const
 {
 qint64 pid;
 QString hostname, appname;
-if (!getLockInfo(&pid, &hostname, &appname))
-return false;
 
 // On WinRT there seems to be no way of obtaining information about other
 // processes due to sandboxing
 #ifndef Q_OS_WINRT
-if (hostname 

commit libqt5-qtbase for openSUSE:Factory

2015-04-21 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-04-22 01:12:14

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-03-01 15:27:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-04-22 01:12:16.0 +0200
@@ -1,0 +2,14 @@
+Wed Apr 15 12:53:21 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added patches from upstream:
+  0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
+  0002-Speed-up-application-startup-on-X11.patch and
+  Fix-regression-in-compose-table-parsing.patch
+
+---
+Thu Apr  9 17:29:15 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Add cleaning of QMAKE_PRL_BUILD_DIR from prl files in
+  %qmake5_install macro
+
+---

New:

  0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
  0002-Speed-up-application-startup-on-X11.patch
  Fix-regression-in-compose-table-parsing.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.E0EWvT/_old  2015-04-22 01:12:18.0 +0200
+++ /var/tmp/diff_new_pack.E0EWvT/_new  2015-04-22 01:12:18.0 +0200
@@ -71,6 +71,12 @@
 Patch2005:  Call-ofono-nm-Registered-delayed-in-constructor-othe.patch
 # PATCH-FIX-UPSTREAM 
fix-a-division-by-zero-when-processing-malformed-BMP-files.patch
 Patch2006:  
fix-a-division-by-zero-when-processing-malformed-BMP-files.patch
+# PATCH-FIX-UPSTREAM 
0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
+Patch2007:  0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch
+# PATCH-FIX-UPSTREAM 0002-Speed-up-application-startup-on-X11.patch
+Patch2008:  0002-Speed-up-application-startup-on-X11.patch
+# PATCH-FIX-UPSTREAM Fix-regression-in-compose-table-parsing.patch
+Patch2009:  Fix-regression-in-compose-table-parsing.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -162,6 +168,9 @@
 %patch2004 -p1
 %patch2005 -p1
 %patch2006 -p1
+%patch2007 -p1
+%patch2008 -p1
+%patch2009 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ 0001-Speed-up-compose-file-parsing-in-the-X11-composition.patch ++
>From 4e3b27ffc2f2d4d528abbbe58ee43acce0700fb2 Mon Sep 17 00:00:00 2001
From: Simon Hausmann 
Date: Fri, 10 Apr 2015 08:46:37 +0200
Subject: [PATCH 1/2] Speed up compose file parsing in the X11 composition
 input method plugin

There's no need to decode the string until the end of the line, it's
sufficient to stop at the end of the quotes.

Change-Id: Ie617d2538511e91d0e0146f98b7e5ea3213b8db2
Reviewed-by: Lars Knoll 
(cherry picked from commit 1aab68648d3aa38811be38b5bbd3a0704e17ccf8)
---
 src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp 
b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
index 
4e90f618765e7a9a0509af7282500c133f11d3e3..622c71e5b01219cd39d594557a9d3ca63eea8748
 100644
--- a/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
+++ b/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.cpp
@@ -399,7 +399,7 @@ void TableGenerator::parseKeySequence(char *line)
 // handle direct text encoded in the locale
 if (*composeValue == '\\')
 ++composeValue;
-elem.value = QString::fromLocal8Bit(composeValue).at(0).unicode();
+elem.value = QString::fromLocal8Bit(composeValue, composeValueEnd - 
composeValue).at(0).unicode();
 ++composeValue;
 }
 
-- 
2.3.5

++ 0002-Speed-up-application-startup-on-X11.patch ++
>From bf425e52923e84c93b74ec4644045014a2d5a9a1 Mon Sep 17 00:00:00 2001
From: Simon Hausmann 
Date: Fri, 10 Apr 2015 09:01:47 +0200
Subject: [PATCH 2/2] Speed up application startup on X11

Avoid parsing the composition tables on application startup. Instead let's
do that on-demand the first time a composition key is pressed.

Change-Id: I52feb36246a091b9a84d46e479ba2ad1f5cd1556
Reviewed-by: Lars Knoll 
(cherry picked from commit d11665b27ce3357fb30bff6ffc1379a4756ec8d1)
---
 .../compose/qcomposeplatforminputcontext.cpp   | 32 --
 .../compose/qcomposeplatforminputcontext.h |  1 +
 2 files changed, 19 insertions(+), 14 deletions(-)

diff --git 
a/src/plugins/platforminputcontexts/compose/qcomposep

commit libqt5-qtbase for openSUSE:Factory

2015-03-01 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-03-01 15:27:47

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-02-20 12:43:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-03-01 15:27:48.0 +0100
@@ -1,0 +2,110 @@
+Fri Feb 27 17:19:10 UTC 2015 - hrvoje.sen...@gmail.com
+
+-  Added fix-a-division-by-zero-when-processing-malformed-BMP-files.patch,
+   CVE-2015-0295
+
+---
+Tue Feb 24 16:10:10 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Update to 5.4.1:
+  * Important Behavior Changes:
+* Restored binary compatibility with Qt 5.3.2 on Windows when
+  using MSVC 2012 or MSVC 2013. This means that Qt 5.4.1 is no
+  longer binary compatible with Qt 5.4.0 when using either of
+  those compilers.
+* [QTBUG-42594] OS X binary package: fixed incorrect linking
+  to libraries in /opt/local/lib
+  * Library:
+* QtCore:
+  * [QTBUG-43893] Fixed memory leak in qSetMessagePattern
+  * [QTBUG-43513] QXmlStreamReader: Correctly parse XML
+containing NUL bytes in the input stream
+  * [QTBUG-43352] QTemporaryDirectory: Properly clean up in
+case of a failure
+  * [QTBUG-43827] Fixed regression in QSortFilterProxyModel
+which crashed when sorting a tree model
+* QtGui:
+  * [QTBUG-44273] Fixed misplacement of outlined text with
+native text rendering
+  * [QTBUG-44147] Fixed VNC not working on some VNC servers
+  * [QTBUG-43850] Fixed crash with multi-threaded font usage
+  * [QTBUG-43850] Made the old harfbuzz fallback available
+at runtime
+  * Improvements to the experimental high-dpi support
+  * [QTBUG-43318] Better resolving of GLES3 functions to
+avoid issues when deploying on systems with GLES 2.0 only
+* QtWidgets:
+  * [QTBUG-43830] Fixed crash in stylesheets when
+styling QProgressBar
+  * [QTBUG-43663] QColorDialog: Don't lose focus while
+color picking
+* QtNetwork:
+  * [QTBUG-43793] Fixed disconnections of QSSLSocket after
+starting encryption
+* QtSql:
+  * [QTBUG-36211] qpsql: Added timezone support for
+datetime fields.
+  * qodbc: Fixed converted string values on Microsoft SQL
+Server 2012
+  * [QTBUG-43874] QSqlQuery: Fixed failure of multiple
+execBatch() calls after  a single prepare() call
+* QtPrintSupport:
+  * [QTBUG-43124] Fixed QPrinter::{width,height} return values
+  *  Platform Specific Changes:
+* Linux/XCB:
+  * [QTBUG-43436] Fixed regression when drag and drop to
+other applications
+  * [QTBUG-43809] Turned off font hinting when doing
+high DPI scaling
+  * [QTBUG-43743] Fixed constantly resizing bigger window when
+devicePixelRatio is greater than 1
+  * [QTBUG-43713] Fixed problems with multiple screens with
+different device pixel ratios regarding window mapping
+and font sizes.
+  * [QTBUG-43688] Fixed physical DPI and size for
+rotated screens on X11
+  * [QTBUG-43049] Fixed grabKeyboard and grabMouse
+  * [QTBUG-36862] Now sends a leave event to the other window
+when a popup shows which grabs the input
+  * [QTBUG-41590] Turned off subpixel gamma-correction on XCB
+  * Added support for SelectionClientClose in QXcbClipboard
+  * Fixed -nograb and -dograb arguments
+  * [QTBUG-43623] Fixed use after free
+  * [QTBUG-43436] Fixed regression in DnD. Make sure to preserve
+the QDrag until all data has been received.
+  *  Tools:
+* configure & build system:
+  * configure will now reject invalid -no-feature-* options.
+  * pkg-config assisted libudev detection was fixed.
+  * [QTBUG-43302][Android] The Android style is included
+when cross-building on Windows as well.
+  * [QTBUG-43205][Unix] Fixed build D-Bus headers cannot be found.
+* qmake:
+  * [QTBUG-39690][Windows] Fixed file separators in 'make clean'.
+  * [QTBUG-40264][Unix] Fixed 'make distclean' for a dynamic
+library target.
+  * [QTBUG-42678] 'make distclean' now removes .qmake.{stash|super}.
+  * [QTBUG-43026][VS2010+] Fixed compilation of .rc files.
+  * [QTBUG-43457][MSVC] Fixed QMAKE_TARGET.arch for
+amd64_x86 x-build.
+  * INCLUDEPATH+=. is now unnecessary with all generators.
+  * For more details please see:
+http://blog.qt.io/blog/2015/02/24/qt-5-4-1-released/
+- Drop merged or obsolete patches:
+  qmake-

commit libqt5-qtbase for openSUSE:Factory

2015-02-20 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-02-20 12:43:00

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-02-06 10:19:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-02-20 12:43:01.0 +0100
@@ -1,0 +2,17 @@
+Wed Feb 18 01:41:07 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added patches from upstream:
+  Fix-Meta-shortcuts-on-XCB.patch (qtbug#43572),
+  Fix-detection-of-GCC5.patch,
+  Fix-physical-DPI-and-size-for-rotated-screens-on-X11.patch
+  (qtbug#43688), Fix-typo-in-Qt5CoreMacroscmake.patch,
+  Make-sure-theres-a-scene-before-using-it.patch (qtbug#44509),
+  Multi-screen-DPI-support-for-X11.patch (qtbug#43713),
+  QSystemTrayIcon-handle-submenus-correctly.patch,
+  Update-mouse-buttons-from-MotionNotify-events.patch
+  (qtbug#32609, qtbug#35065, qtbug#43776, qtbug#44166, qtbug#44231),
+  X11-devicePixelRatio-screen-mapping-fix.patch (qtbug#43713) and
+  xcb-Dont-return-0-from-QXcbKeyboard-possibleKeys.patch
+  (qtcreatorbug#9589)
+
+---

New:

  Fix-Meta-shortcuts-on-XCB.patch
  Fix-detection-of-GCC5.patch
  Fix-physical-DPI-and-size-for-rotated-screens-on-X11.patch
  Fix-typo-in-Qt5CoreMacroscmake.patch
  Make-sure-theres-a-scene-before-using-it.patch
  Multi-screen-DPI-support-for-X11.patch
  QSystemTrayIcon-handle-submenus-correctly.patch
  Update-mouse-buttons-from-MotionNotify-events.patch
  X11-devicePixelRatio-screen-mapping-fix.patch
  xcb-Dont-return-0-from-QXcbKeyboard-possibleKeys.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.4nUhxn/_old  2015-02-20 12:43:04.0 +0100
+++ /var/tmp/diff_new_pack.4nUhxn/_new  2015-02-20 12:43:04.0 +0100
@@ -67,7 +67,28 @@
 Patch2001:  qimage_conversions.cpp-Fix-build-on-big-endian-syste.patch
 # PATCH-FIX-UPSTREAM Fix-use-after-free-bug.patch
 Patch2002:  Fix-use-after-free-bug.patch
+# PATCH-FIX-UPSTREAM fix-drag-and-drop-regression.patch
 Patch2003:  fix-drag-and-drop-regression.patch
+# PATCH-FIX-UPSTREAM Fix-detection-of-GCC5.patch
+Patch2004:  Fix-detection-of-GCC5.patch
+# PATCH-FIX-UPSTREAM Fix-typo-in-Qt5CoreMacroscmake.patch
+Patch2005:  Fix-typo-in-Qt5CoreMacroscmake.patch
+# PATCH-FIX-UPSTREAM Fix-physical-DPI-and-size-for-rotated-screens-on-X11.patch
+Patch2006:  Fix-physical-DPI-and-size-for-rotated-screens-on-X11.patch
+# PATCH-FIX-UPSTREAM X11-devicePixelRatio-screen-mapping-fix.patch
+Patch2007:  X11-devicePixelRatio-screen-mapping-fix.patch
+# PATCH-FIX-UPSTREAM Multi-screen-DPI-support-for-X11.patch
+Patch2008:  Multi-screen-DPI-support-for-X11.patch
+# PATCH-FIX-UPSTREAM xcb-Dont-return-0-from-QXcbKeyboard-possibleKeys.patch
+Patch2009:  xcb-Dont-return-0-from-QXcbKeyboard-possibleKeys.patch
+# PATCH-FIX-UPSTREAM QSystemTrayIcon-handle-submenus-correctly.patch
+Patch2010:  QSystemTrayIcon-handle-submenus-correctly.patch
+# PATCH-FIX-UPSTREAM Fix-Meta-shortcuts-on-XCB.patch
+Patch2011:  Fix-Meta-shortcuts-on-XCB.patch
+# PATCH-FIX-UPSTREAM Update-mouse-buttons-from-MotionNotify-events.patch
+Patch2012:  Update-mouse-buttons-from-MotionNotify-events.patch
+# PATCH-FIX-UPSTREAM Make-sure-theres-a-scene-before-using-it.patch
+Patch2013:  Make-sure-theres-a-scene-before-using-it.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  gcc-c++
@@ -158,6 +179,16 @@
 %patch2001 -p1
 %patch2002 -p1
 %patch2003 -p1
+%patch2004 -p1
+%patch2005 -p1
+%patch2006 -p1
+%patch2007 -p1
+%patch2008 -p1
+%patch2009 -p1
+%patch2010 -p1
+%patch2011 -p1
+%patch2012 -p1
+%patch2013 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ Fix-Meta-shortcuts-on-XCB.patch ++
From: Kåre Särs 
Date: Thu, 22 Jan 2015 20:40:37 +
Subject: Fix Meta+... shortcuts on XCB
X-Git-Url: 
http://quickgit.kde.org/?p=qt%2Fqtbase.git&a=commitdiff&h=0d990b9ca117514fe83f53b39f25d6272304f2fb
---
Fix Meta+... shortcuts on XCB

If the window contains a widget that accepts text input, a Meta+...
shortcut will be interpreted as if no modifier was pressed. This fix
enables the usage of Meta+... shortcuts for the XCB platform plugin.

Change-Id: I80034b7e6bbbf18471c86fc77320d5038f5740be
Task-number: QTBUG-43572
Reviewed-by: Aleix Pol Gonzalez 
Reviewed-by: Milian Wolff 
Reviewed-by: David Edmundson 
Reviewed-by: Lars Knoll 
---


--- a/src/plugins/platforms/xcb/qxcbkeyboard.cpp
+++ b/src/plugins/platforms/xcb/

commit libqt5-qtbase for openSUSE:Factory

2015-02-06 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-02-06 10:19:34

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2015-01-15 16:00:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-02-06 10:19:35.0 +0100
@@ -1,0 +2,16 @@
+Tue Feb  3 13:48:49 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Fixed qt_instdate generation, so the Qt5Core library doesn't have
+  DATE embedded
+- Drop fdupes usage as it provides unpredictable results, and fools
+  build-compare
+- Add libqt5-qtbase-rpmlintrc due to duplicates waste warnings: we
+  rather have a few bytes more than to republish same binaries due
+  to fdupes
+- Added make-qdbusxml2cpp-output-reproducible.patch: don't include
+  date/time in the generated include guards; prevents unnecessary
+  rebuilds
+- Added fix-drag-and-drop-regression.patch from upstream,
+  fixes QTBUG-43436
+
+---

New:

  fix-drag-and-drop-regression.patch
  libqt5-qtbase-rpmlintrc
  make-qdbusxml2cpp-output-reproducible.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.6gCtCy/_old  2015-02-06 10:19:37.0 +0100
+++ /var/tmp/diff_new_pack.6gCtCy/_new  2015-02-06 10:19:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -41,6 +41,7 @@
 Source1:libqt5-qtbase.changes
 Source2:macros.qt5
 Source3:baselibs.conf
+Source99:   libqt5-qtbase-rpmlintrc
 # patches 0-1000 are openSUSE and/or non-upstream(able) patches #
 # PATCH-FIX-UPSTREAM libqt5-libtool-nodate.diff -- for ommiting date/time on 
build
 Patch0: libqt5-libtool-nodate.diff
@@ -56,6 +57,8 @@
 Patch5: libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
 # PATCH-FIX-OPENSUSE QTBUG41590.patch -- 
https://bugreports.qt-project.org/browse/QTBUG-40971 
https://bugreports.qt-project.org/browse/QTBUG-41590
 Patch6: QTBUG41590.patch
+# PATCH-FIX-OPENSUSE make-qdbusxml2cpp-output-reproducible.patch -- 
https://codereview.qt-project.org/#/c/105210/1
+Patch7: make-qdbusxml2cpp-output-reproducible.patch
 # patches 1000-2000 and above from upstream 5.3 branch #
 # patches 2000-3000 and above from upstream 5.4 branch #
 # PATCH-FIX-UPSTREAM Handle-SelectionClientClose-in-QXcbClipboard.patch -- 
kde#329174
@@ -64,9 +67,9 @@
 Patch2001:  qimage_conversions.cpp-Fix-build-on-big-endian-syste.patch
 # PATCH-FIX-UPSTREAM Fix-use-after-free-bug.patch
 Patch2002:  Fix-use-after-free-bug.patch
+Patch2003:  fix-drag-and-drop-regression.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
-BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
 BuildRequires:  libmng-devel
@@ -150,9 +153,11 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p0
 %patch2000 -p1
 %patch2001 -p1
 %patch2002 -p1
+%patch2003 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -677,8 +682,8 @@
 mkdir .git
 %endif
 # Record mtime of changes file instead of build time
-CHANGES=`stat --format="%y" %{SOURCE1}|cut --characters=1-10`
-sed -i -e "s/qt_instdate=\$TODAY/qt_instdate=$CHANGES/" configure
+export CHANGES=`stat --format="%y" %{SOURCE1}|cut --characters=1-10`
+sed -i 's|qt_instdate=`date +%Y-%m-%d`|qt_instdate=$CHANGES|g' configure
 # so non-qt5 apps/libs don't get stripped
 sed -i -e 's|^\(QMAKE_STRIP.*=\).*$|\1|g' mkspecs/common/linux.conf
 
@@ -819,15 +824,6 @@
 chmod -R 644 *.png
 popd
 
-# Only symlink mkspecs, as headers and cmake files are across different 
packages. If needed, call fdupes on every dir, as per package split
-%fdupes -s %{buildroot}%{libqt5_archdatadir}/mkspecs/
-
-%fdupes -s %{buildroot}%{libqt5_examplesdir}/
-
-for headers in QtCore QtConcurrent QtTest QtNetwork QtXml QtSql QtGui 
QtWidgets QtDBus QtPrintSupport QtOpenGL; do
-%fdupes -s %{buildroot}%{libqt5_includedir}/$headers
-done
-
 %post -n libQt5Core5 -p /sbin/ldconfig
 
 %post -n libQt5Concurrent5 -p /sbin/ldconfig


++ fix-drag-and-drop-regression.patch ++
From: Gatis Paeglis 
Date: Wed, 07 Jan 2015 12:51:38 +
Subject: Fix drag and drop regression
X-Git-Url: 
http://quickgit.kde.org/?p=qt%2Fq

commit libqt5-qtbase for openSUSE:Factory

2015-01-15 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2015-01-15 16:00:57

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-12-29 00:31:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2015-01-15 16:00:59.0 +0100
@@ -1,0 +2,6 @@
+Mon Jan 12 16:33:18 UTC 2015 - hrvoje.sen...@gmail.com
+
+- Added Fix-use-after-free-bug.patch from upstream
+  (qtbug#43623, boo#870151)
+
+---

New:

  Fix-use-after-free-bug.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.vBV7cg/_old  2015-01-15 16:01:01.0 +0100
+++ /var/tmp/diff_new_pack.vBV7cg/_new  2015-01-15 16:01:01.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -62,6 +62,8 @@
 Patch2000:  Handle-SelectionClientClose-in-QXcbClipboard.patch
 # PATCH-FIX-UPSTREAM qimage_conversions.cpp: Fix build on big endian systems
 Patch2001:  qimage_conversions.cpp-Fix-build-on-big-endian-syste.patch
+# PATCH-FIX-UPSTREAM Fix-use-after-free-bug.patch
+Patch2002:  Fix-use-after-free-bug.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -150,6 +152,7 @@
 %patch6 -p1
 %patch2000 -p1
 %patch2001 -p1
+%patch2002 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ Fix-use-after-free-bug.patch ++
From: Gatis Paeglis 
Date: Wed, 07 Jan 2015 13:50:41 +
Subject: Fix use-after-free bug
X-Git-Url: 
http://quickgit.kde.org/?p=qt%2Fqtbase.git&a=commitdiff&h=d40b66a8ef98777c69ac293dac9a332f88832c23
---
Fix use-after-free bug

xcb_image_destroy() calls free on m_xcb_image
and then few lines down we access member of
m_xcb_image. Swap order of these two actions.

Change-Id: I01fb43a066459cce462df6af22161c35cef524eb
Task-number: QTBUG-43623
Reviewed-by: Shawn Rutledge 
---


--- a/src/plugins/platforms/xcb/qxcbbackingstore.cpp
+++ b/src/plugins/platforms/xcb/qxcbbackingstore.cpp
@@ -145,8 +145,6 @@
 if (segmentSize && m_shm_info.shmaddr)
 Q_XCB_CALL(xcb_shm_detach(xcb_connection(), m_shm_info.shmseg));
 
-xcb_image_destroy(m_xcb_image);
-
 if (segmentSize) {
 if (m_shm_info.shmaddr) {
 shmdt(m_shm_info.shmaddr);
@@ -155,6 +153,8 @@
 free(m_xcb_image->data);
 }
 }
+
+xcb_image_destroy(m_xcb_image);
 
 if (m_gc)
 Q_XCB_CALL(xcb_free_gc(xcb_connection(), m_gc));

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-12-28 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-12-29 00:31:57

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-12-21 11:59:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-12-29 00:31:58.0 +0100
@@ -1,0 +2,6 @@
+Thu Dec 25 10:37:17 UTC 2014 - sch...@suse.de
+
+- qimage_conversions.cpp-Fix-build-on-big-endian-syste.patch: Fix build on
+  big endian systems
+
+---

New:

  qimage_conversions.cpp-Fix-build-on-big-endian-syste.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.VW9ARF/_old  2014-12-29 00:32:00.0 +0100
+++ /var/tmp/diff_new_pack.VW9ARF/_new  2014-12-29 00:32:00.0 +0100
@@ -60,6 +60,8 @@
 # patches 2000-3000 and above from upstream 5.4 branch #
 # PATCH-FIX-UPSTREAM Handle-SelectionClientClose-in-QXcbClipboard.patch -- 
kde#329174
 Patch2000:  Handle-SelectionClientClose-in-QXcbClipboard.patch
+# PATCH-FIX-UPSTREAM qimage_conversions.cpp: Fix build on big endian systems
+Patch2001:  qimage_conversions.cpp-Fix-build-on-big-endian-syste.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -147,6 +149,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch2000 -p1
+%patch2001 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}


++ qimage_conversions.cpp-Fix-build-on-big-endian-syste.patch ++
>From 404f4281fda764cafdaa5635db995dabc4f1de8c Mon Sep 17 00:00:00 2001
From: Dmitry Shachnev 
Date: Tue, 9 Dec 2014 09:27:53 +0300
Subject: [PATCH] qimage_conversions.cpp: Fix build on big endian systems

Change-Id: I8149eb2deaa101daf85a957ff48c3a7140c43bbc
Reviewed-by: Timo Jyrinki 
Reviewed-by: Allan Sandfeld Jensen 
---
 src/gui/image/qimage_conversions.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gui/image/qimage_conversions.cpp 
b/src/gui/image/qimage_conversions.cpp
index 17563b1..858a0d9 100644
--- a/src/gui/image/qimage_conversions.cpp
+++ b/src/gui/image/qimage_conversions.cpp
@@ -2252,7 +2252,7 @@ Image_Converter 
qimage_converter_map[QImage::NImageFormats][QImage::NImageFormat
 convert_ARGB_to_ARGB_PM,
 #else
 0,
-0
+0,
 #endif
 0, 0, 0, 0
 }, // Format_RGBA
@@ -2281,7 +2281,7 @@ Image_Converter 
qimage_converter_map[QImage::NImageFormats][QImage::NImageFormat
 #else
 0,
 0,
-0
+0,
 #endif
 0, 0, 0, 0
 }, // Format_RGBA_Premultiplied
-- 
2.2.0

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-12-21 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-12-21 11:59:22

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-11-18 22:55:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-12-21 11:59:25.0 +0100
@@ -1,0 +2,51 @@
+Tue Dec 16 09:17:05 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Don't override the shlib generator, but split gtk platformtheme
+  into platformtheme-gtk2 subpackage, the former approach is creating
+  problems with other dependant packages
+
+---
+Wed Dec 10 11:00:05 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.4 Final
+  * For more details please see:
+http://blog.qt.digia.com/blog/2014/12/10/qt-5-4-released/
+and http://qt-project.org/wiki/New-Features-in-Qt-5.4
+- Added Handle-SelectionClientClose-in-QXcbClipboard.patch, kde#329174
+
+---
+Thu Nov 27 15:46:15 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.4 RC
+  * For more details please see:
+
http://blog.qt.digia.com/blog/2014/11/27/qt-5-4-release-candidate-available/
+and http://qt-project.org/wiki/New-Features-in-Qt-5.4
+- New libQt5PlatformHeaders-devel subpackage
+- Use one global define for gles on arm and aarch
+- (Build)Require Mesa-libGLESv3-devel when building with gles
+- Use system harfbuzz on 13.2 and newer
+- Filter out requires obtained by dependency generators.
+  gtk platformtheme now won't pull in gtk libraries, so users can
+  have a gtk-free envirement if wanted. Those DE's that do need that
+  platformplugin will already have gtk present
+- Drop patches merged upstream:
+  0001-Add-QFont-strategy-to-disable-subpixel-antialiasing.patch
+  0001-Allow-panels-outside-of-availableGeometry.patch
+  0001-QFileDialog-emit-urlsSelected-urlSelected-in-accept.patch
+  0001-QKdeTheme-use-system-wide-kdeglobals-as-a-fallback.patch
+  00010-Replace-the-const-QString-global-static-with-a-QStri.patch
+  00011-Use-correct-signal-name-when-disconnecting.patch
+  0002-Always-lock-the-DBus-dispatcher-before-dbus_connecti.patch
+  0002-Move-SubpixelAntialiasingType-from-QFontEngineFT-to-.patch
+  0002-QUrl-fromLocalFile-QString-should-lead-to-an-empty-U.patch
+  0003-QDBusConnection-Merge-the-dispatch-and-the-watch-and.patch
+  0003-QFileDialog-turn-workingDirectory-into-a-QUrl.patch
+  0003-Support-autohint-and-lcdfilter-fontconfig-configurat.patch
+  0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
+  0004-Partially-revert-Fix-a-deadlock-introduced-by-the-ra.patch
+  0004-QFileDialog-implement-getOpenFileUrl-and-friends-for.patch
+  f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch
+  libqt5-add-support-for-byte-swapping.patch
+  libqt5-byte-order-byte-is-address0.patch
+
+---

Old:

  0001-Add-QFont-strategy-to-disable-subpixel-antialiasing.patch
  0001-Allow-panels-outside-of-availableGeometry.patch
  0001-QFileDialog-emit-urlsSelected-urlSelected-in-accept.patch
  0001-QKdeTheme-use-system-wide-kdeglobals-as-a-fallback.patch
  00010-Replace-the-const-QString-global-static-with-a-QStri.patch
  00011-Use-correct-signal-name-when-disconnecting.patch
  0002-Always-lock-the-DBus-dispatcher-before-dbus_connecti.patch
  0002-Move-SubpixelAntialiasingType-from-QFontEngineFT-to-.patch
  0002-QUrl-fromLocalFile-QString-should-lead-to-an-empty-U.patch
  0003-QDBusConnection-Merge-the-dispatch-and-the-watch-and.patch
  0003-QFileDialog-turn-workingDirectory-into-a-QUrl.patch
  0003-Support-autohint-and-lcdfilter-fontconfig-configurat.patch
  0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
  0004-Partially-revert-Fix-a-deadlock-introduced-by-the-ra.patch
  0004-QFileDialog-implement-getOpenFileUrl-and-friends-for.patch
  f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch
  libqt5-add-support-for-byte-swapping.patch
  libqt5-byte-order-byte-is-address0.patch
  qtbase-opensource-src-5.3.2.tar.xz

New:

  Handle-SelectionClientClose-in-QXcbClipboard.patch
  qtbase-opensource-src-5.4.0.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.JvECkf/_old  2014-12-21 11:59:28.0 +0100
+++ /var/tmp/diff_new_pack.JvECkf/_new  2014-12-21 11:59:28.0 +0100
@@ -19,16 +19,22 @@
 %define qt5_snapshot 0
 %define journald 0
 
+%ifarch %arm aarch64
+%define gles 1
+%else
+%define gles 0
+%endif
+
 Name:   libqt5-qtbase
-Version:

commit libqt5-qtbase for openSUSE:Factory

2014-11-18 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-11-18 22:55:37

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-11-11 09:59:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-11-18 22:55:38.0 +0100
@@ -1,0 +2,5 @@
+Tue Nov 11 19:34:51 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update QTBUG41590.patch for commit that was pushed upstream
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.cKNaxE/_old  2014-11-18 22:55:40.0 +0100
+++ /var/tmp/diff_new_pack.cKNaxE/_new  2014-11-18 22:55:40.0 +0100
@@ -172,7 +172,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p0
+%patch6 -p1
 %patch2000 -p1
 %patch2001 -p1
 %patch2002 -p1

++ QTBUG41590.patch ++
--- /var/tmp/diff_new_pack.cKNaxE/_old  2014-11-18 22:55:40.0 +0100
+++ /var/tmp/diff_new_pack.cKNaxE/_new  2014-11-18 22:55:40.0 +0100
@@ -1,11 +1,38 @@
 src/gui/kernel/qplatformintegration.cpp.orig   2014-10-21 
12:24:35.314606929 +0200
-+++ src/gui/kernel/qplatformintegration.cpp2014-10-21 12:24:45.668477488 
+0200
-@@ -360,7 +360,7 @@ QVariant QPlatformIntegration::styleHint
- case PasswordMaskCharacter:
- return 
QPlatformTheme::defaultThemeHint(QPlatformTheme::PasswordMaskCharacter);
- case FontSmoothingGamma:
--return qreal(1.7);
-+return qreal(1.4);
- case StartDragVelocity:
- return 
QPlatformTheme::defaultThemeHint(QPlatformTheme::StartDragVelocity);
- case UseRtlExtensions:
+From: Allan Sandfeld Jensen 
+Date: Tue, 11 Nov 2014 12:48:27 +
+Subject: Do not apply subpixel gamma-correction on XCB
+X-Git-Url: 
http://quickgit.kde.org/?p=qt%2Fqtbase.git&a=commitdiff&h=501c510cc3cb6215aed27af7599395480a049667
+---
+Do not apply subpixel gamma-correction on XCB
+
+To match rendering of subpixel antialiased text in Qt 4.8 and other
+toolkits on X11, we should not apply gamma-correction. This also
+makes the rendering of subpixel antialiased text closer to normal
+antialiased text.
+
+Task-number: QTBUG-41590
+Change-Id: I45ad3448334951353657b878d002eea429858f2d
+Reviewed-by: Samuel Rødal 
+Reviewed-by: Sérgio Martins 
+Reviewed-by: Eskil Abrahamsen Blomfeldt 

+---
+
+
+--- a/src/plugins/platforms/xcb/qxcbintegration.cpp
 b/src/plugins/platforms/xcb/qxcbintegration.cpp
+@@ -427,12 +427,14 @@
+ case QPlatformIntegration::StartDragTime:
+ case QPlatformIntegration::KeyboardAutoRepeatRate:
+ case QPlatformIntegration::PasswordMaskDelay:
+-case QPlatformIntegration::FontSmoothingGamma:
+ case QPlatformIntegration::StartDragVelocity:
+ case QPlatformIntegration::UseRtlExtensions:
+ case QPlatformIntegration::PasswordMaskCharacter:
+ // TODO using various xcb, gnome or KDE settings
+ break; // Not implemented, use defaults
++case QPlatformIntegration::FontSmoothingGamma:
++// Match Qt 4.8 text rendering, and rendering of other X11 toolkits.
++return qreal(1.0);
+ case QPlatformIntegration::StartDragDistance: {
+ // The default (in QPlatformTheme::defaultThemeHint) is 10 pixels, but
+ // on a high-resolution screen it makes sense to increase it.


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-11-11 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-11-11 09:59:19

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-10-14 13:25:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-11-11 09:59:23.0 +0100
@@ -1,0 +2,19 @@
+Wed Nov  5 16:51:36 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Added patches from upstream:
+  0001-Allow-panels-outside-of-availableGeometry.patch (kde#339846)
+  and 0002-Always-lock-the-DBus-dispatcher-before-dbus_connecti.patch,
+  0003-QDBusConnection-Merge-the-dispatch-and-the-watch-and.patch,
+  0004-Partially-revert-Fix-a-deadlock-introduced-by-the-ra.patch,
+  for QTBUG#42189
+
+---
+Wed Oct 29 19:09:33 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Don't install CMake files for plugins, they are useful only for
+  bundled Qt builds
+- Downgrade sql-plugins from libQt5Sql-devel's requires to suggests
+- Added QTBUG41590.patch, improve font rendering
+  (QTBUG41590,QTBUG40971)
+
+---

New:

  0001-Allow-panels-outside-of-availableGeometry.patch
  0002-Always-lock-the-DBus-dispatcher-before-dbus_connecti.patch
  0003-QDBusConnection-Merge-the-dispatch-and-the-watch-and.patch
  0004-Partially-revert-Fix-a-deadlock-introduced-by-the-ra.patch
  QTBUG41590.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.8ukJ13/_old  2014-11-11 09:59:25.0 +0100
+++ /var/tmp/diff_new_pack.8ukJ13/_new  2014-11-11 09:59:25.0 +0100
@@ -48,6 +48,8 @@
 Patch4: protect-geometry-QTBUG-40584.patch
 # Patch-FIX-SUSE libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch 
-- bnc#58
 Patch5: libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
+# PATCH-FIX-OPENSUSE QTBUG41590.patch -- 
https://bugreports.qt-project.org/browse/QTBUG-40971 
https://bugreports.qt-project.org/browse/QTBUG-41590
+Patch6: QTBUG41590.patch
 # patches 1000-2000 and above from upstream 5.3 branch #
 # patches 2000-3000 and above from upstream 5.4 branch #
 # PATCH-FIX-UPSTREAM f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch -- prefer 
QPA implementation in qsystemtrayicon_x11 if available
@@ -78,6 +80,14 @@
 Patch2012:  0003-Support-autohint-and-lcdfilter-fontconfig-configurat.patch
 # PATCH-FIX-UPSTREAM 
0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
 Patch2013:  0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
+# PATCH-FIX-UPSTREAM 0001-Allow-panels-outside-of-availableGeometry.patch
+Patch2014:  0001-Allow-panels-outside-of-availableGeometry.patch
+# PATCH-FIX-UPSTREAM 
0002-Always-lock-the-DBus-dispatcher-before-dbus_connecti.patch
+Patch2015:  0002-Always-lock-the-DBus-dispatcher-before-dbus_connecti.patch
+# PATCH-FIX-UPSTREAM 
0003-QDBusConnection-Merge-the-dispatch-and-the-watch-and.patch
+Patch2016:  0003-QDBusConnection-Merge-the-dispatch-and-the-watch-and.patch
+# PATCH-FIX-UPSTREAM 
0004-Partially-revert-Fix-a-deadlock-introduced-by-the-ra.patch
+Patch2017:  0004-Partially-revert-Fix-a-deadlock-introduced-by-the-ra.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -162,6 +172,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p0
 %patch2000 -p1
 %patch2001 -p1
 %patch2002 -p1
@@ -176,6 +187,10 @@
 %patch2011 -p1
 %patch2012 -p1
 %patch2013 -p1
+%patch2014 -p1
+%patch2015 -p1
+%patch2016 -p1
+%patch2017 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -541,10 +556,10 @@
 Group:  Development/Libraries/C and C++
 Requires:   libQt5Core-devel = %{version}
 Requires:   libQt5Sql5 = %{version}
-Requires:   libQt5Sql5-mysql = %{version}
-Requires:   libQt5Sql5-postgresql = %{version}
-Requires:   libQt5Sql5-sqlite = %{version}
-Requires:   libQt5Sql5-unixODBC = %{version}
+Suggests:   libQt5Sql5-mysql = %{version}
+Suggests:   libQt5Sql5-postgresql = %{version}
+Suggests:   libQt5Sql5-sqlite = %{version}
+Suggests:   libQt5Sql5-unixODBC = %{version}
 
 %description -n libQt5Sql-devel
 Qt 5 libraries which are used for connection with an SQL server. You
@@ -783,6 +798,10 @@
 find %{buildroot}/%{libqt5_libdir}/ -name 'lib*.a' -exec chmod -x -- {} \;
 # kill .la files
 rm -f %{buildroot}%{libqt5_libdir}/lib*.la
+
+# 
+rm -fv %{buildroot}%{libqt5_libdir}/cmake/Qt5*/Q*Plugin.cmake
+
 mkdir -p %{buildroot}/%{libq

commit libqt5-qtbase for openSUSE:Factory

2014-10-14 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-10-14 13:24:52

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-10-01 11:22:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-10-14 13:25:08.0 +0200
@@ -1,0 +2,17 @@
+Sun Oct 12 15:21:11 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Added 0001-QFileDialog-emit-urlsSelected-urlSelected-in-accept.patch,
+  0002-QUrl-fromLocalFile-QString-should-lead-to-an-empty-U.patch,
+  0003-QFileDialog-turn-workingDirectory-into-a-QUrl.patch and
+  0004-QFileDialog-implement-getOpenFileUrl-and-friends-for.patch
+  from upstream to improve QFileDialog behaviour with both local
+  and remote URL's
+- Added 0001-QKdeTheme-use-system-wide-kdeglobals-as-a-fallback.patch:
+  QTBUG-36184
+- Added 0001-Add-QFont-strategy-to-disable-subpixel-antialiasing.patch,
+  0002-Move-SubpixelAntialiasingType-from-QFontEngineFT-to-.patch,
+  0003-Support-autohint-and-lcdfilter-fontconfig-configurat.patch
+  and 0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
+  QTBUG-40396, QTBUG-32254, QTBUG-39643
+
+---

New:

  0001-Add-QFont-strategy-to-disable-subpixel-antialiasing.patch
  0001-QFileDialog-emit-urlsSelected-urlSelected-in-accept.patch
  0001-QKdeTheme-use-system-wide-kdeglobals-as-a-fallback.patch
  0002-Move-SubpixelAntialiasingType-from-QFontEngineFT-to-.patch
  0002-QUrl-fromLocalFile-QString-should-lead-to-an-empty-U.patch
  0003-QFileDialog-turn-workingDirectory-into-a-QUrl.patch
  0003-Support-autohint-and-lcdfilter-fontconfig-configurat.patch
  0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
  0004-QFileDialog-implement-getOpenFileUrl-and-friends-for.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.O7dAW9/_old  2014-10-14 13:25:09.0 +0200
+++ /var/tmp/diff_new_pack.O7dAW9/_new  2014-10-14 13:25:09.0 +0200
@@ -60,6 +60,24 @@
 Patch2003:  
00010-Replace-the-const-QString-global-static-with-a-QStri.patch
 # PATCH-FIX-UPSTREAM 00011-Use-correct-signal-name-when-disconnecting.patch
 Patch2004:  00011-Use-correct-signal-name-when-disconnecting.patch
+# PATCH-FIX-UPSTREAM 
0001-QFileDialog-emit-urlsSelected-urlSelected-in-accept.patch
+Patch2005:  0001-QFileDialog-emit-urlsSelected-urlSelected-in-accept.patch
+# PATCH-FIX-UPSTREAM 
0002-QUrl-fromLocalFile-QString-should-lead-to-an-empty-U.patch
+Patch2006:  0002-QUrl-fromLocalFile-QString-should-lead-to-an-empty-U.patch
+# PATCH-FIX-UPSTREAM 0003-QFileDialog-turn-workingDirectory-into-a-QUrl.patch
+Patch2007:  0003-QFileDialog-turn-workingDirectory-into-a-QUrl.patch
+# PATCH-FIX-UPSTREAM 
0004-QFileDialog-implement-getOpenFileUrl-and-friends-for.patch
+Patch2008:  0004-QFileDialog-implement-getOpenFileUrl-and-friends-for.patch
+# PATCH-FIX-UPSTREAM 
0001-QKdeTheme-use-system-wide-kdeglobals-as-a-fallback.patch
+Patch2009:  0001-QKdeTheme-use-system-wide-kdeglobals-as-a-fallback.patch
+# PATCH-FIX-UPSTREAM 
0001-Add-QFont-strategy-to-disable-subpixel-antialiasing.patch
+Patch2010:  0001-Add-QFont-strategy-to-disable-subpixel-antialiasing.patch
+# PATCH-FIX-UPSTREAM 
0002-Move-SubpixelAntialiasingType-from-QFontEngineFT-to-.patch
+Patch2011:  0002-Move-SubpixelAntialiasingType-from-QFontEngineFT-to-.patch
+# PATCH-FIX-UPSTREAM 
0003-Support-autohint-and-lcdfilter-fontconfig-configurat.patch
+Patch2012:  0003-Support-autohint-and-lcdfilter-fontconfig-configurat.patch
+# PATCH-FIX-UPSTREAM 
0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
+Patch2013:  0004-GTK2-theme-should-use-GTK-configured-font-variant.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -149,6 +167,15 @@
 %patch2002 -p1
 %patch2003 -p1
 %patch2004 -p1
+%patch2005 -p1
+%patch2006 -p1
+%patch2007 -p1
+%patch2008 -p1
+%patch2009 -p1
+%patch2010 -p1
+%patch2011 -p1
+%patch2012 -p1
+%patch2013 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ 0001-Add-QFont-strategy-to-disable-subpixel-antialiasing.patch ++
>From 820b20e593b7b0d92e6a78e7b23457f321aa0bc1 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen 
Date: Thu, 24 Jul 2014 14:33:00 +0200
Subject: [PATCH 1/4] Add QFont strategy to disable subpixel antialiasing

This patch adds the option to disable subpixel antialiasing on QFont
basis. This can be useful when painting to offscreen surfaces. On OS X
thi

commit libqt5-qtbase for openSUSE:Factory

2014-10-01 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-10-01 11:22:03

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-09-24 13:09:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-10-01 11:22:04.0 +0200
@@ -1,0 +2,9 @@
+Wed Sep 24 16:23:20 UTC 2014 - m...@suse.com
+
+- Add libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
+  from Michal Srb, bnc#58
+  * additional check the display name before use SHM, this patch is
+equivalent to what has been did in Qt4:
+
https://qt.gitorious.org/qt/qt/source/6a7f06d70e1267d3d995a3c863ba8f748d45e531:src/gui/kernel/qapplication_x11.cpp#L1986
+
+---

New:

  libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.t3wbDT/_old  2014-10-01 11:22:06.0 +0200
+++ /var/tmp/diff_new_pack.t3wbDT/_new  2014-10-01 11:22:06.0 +0200
@@ -46,6 +46,8 @@
 Patch3: libqt5-Fix-Gujarati-font.patch
 # PATCH-FIX-UPSTREAM protect-geometry-QTBUG-40584.patch -- 
https://bugreports.qt-project.org/browse/QTBUG-40584
 Patch4: protect-geometry-QTBUG-40584.patch
+# Patch-FIX-SUSE libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch 
-- bnc#58
+Patch5: libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch
 # patches 1000-2000 and above from upstream 5.3 branch #
 # patches 2000-3000 and above from upstream 5.4 branch #
 # PATCH-FIX-UPSTREAM f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch -- prefer 
QPA implementation in qsystemtrayicon_x11 if available
@@ -141,6 +143,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 %patch2000 -p1
 %patch2001 -p1
 %patch2002 -p1


++ libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch ++
Do not use SHM if display name doesn't look local.

Verifying availability of SHM only by using response of SHM Attach is not
reliable. There is always small chance that when we are a remote client of X
server, we'll get shmid that is already in use by some local X client. In that
case X server can not recognize that it is not accessing our shared memory but
the one of the other client and will report success.

This adds check for display name equivalent to one that was in Qt4. Determining
whether the connection is local/remote from display name is not 100% reliable,
but worked fine for years in Qt4.

Signed-off-by: Michal Srb 
diff --git a/src/plugins/platforms/xcb/qxcbbackingstore.cpp 
b/src/plugins/platforms/xcb/qxcbbackingstore.cpp
index dc677cd..4cd249e 100644
--- a/src/plugins/platforms/xcb/qxcbbackingstore.cpp
+++ b/src/plugins/platforms/xcb/qxcbbackingstore.cpp
@@ -117,7 +117,8 @@ QXcbShmImage::QXcbShmImage(QXcbScreen *screen, const QSize 
&size, uint depth, QI
 m_shm_info.shmseg = xcb_generate_id(xcb_connection());
 
 const xcb_query_extension_reply_t *shm_reply = 
xcb_get_extension_data(xcb_connection(), &xcb_shm_id);
-bool shm_present = shm_reply != NULL && shm_reply->present;
+bool is_local = (!displayName() || displayName()[0] == ':');
+bool shm_present = is_local && shm_reply != NULL && shm_reply->present;
 xcb_generic_error_t *error = NULL;
 if (shm_present)
 error = xcb_request_check(xcb_connection(), 
xcb_shm_attach_checked(xcb_connection(), m_shm_info.shmseg, m_shm_info.shmid, 
false));
diff --git a/src/plugins/platforms/xcb/qxcbobject.h 
b/src/plugins/platforms/xcb/qxcbobject.h
index 354984c..2ecb5e7 100644
--- a/src/plugins/platforms/xcb/qxcbobject.h
+++ b/src/plugins/platforms/xcb/qxcbobject.h
@@ -56,6 +56,7 @@ public:
 
 xcb_atom_t atom(QXcbAtom::Atom atom) const { return 
m_connection->atom(atom); }
 xcb_connection_t *xcb_connection() const { return 
m_connection->xcb_connection(); }
+const char *displayName() const { return m_connection->displayName(); }
 
 private:
 QXcbConnection *m_connection;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-09-24 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-09-24 13:09:12

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-09-18 07:56:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-09-24 13:09:18.0 +0200
@@ -1,0 +2,7 @@
+Mon Sep 22 17:36:17 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Build without sse2 instructions by default for %ix86 architecture,
+  and rebuild QtCore and QtuGui modules with sse2 (they are installed
+  to %_libdir/sse2 (bnc#897758)
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.xEr1Av/_old  2014-09-24 13:09:20.0 +0200
+++ /var/tmp/diff_new_pack.xEr1Av/_new  2014-09-24 13:09:20.0 +0200
@@ -664,6 +664,9 @@
 %else
-no-reduce-relocations \
 %endif
+%ifarch %ix86
+   -no-sse2 -no-pch \
+%endif
-optimized-qmake \
-accessibility \
-no-strip \
@@ -727,6 +730,19 @@
 
 %install
 make INSTALL_ROOT=%{buildroot} install
+
+%ifarch %ix86
+install -d %{buildroot}%{libqt5_libdir}/sse2/
+
+pushd src/corelib; make clean ; ../../bin/qmake -config sse2; make 
%{?_smp_mflags}
+cp -av ../../lib/libQt5Core.so.* %{buildroot}%{libqt5_libdir}/sse2/
+popd
+
+pushd src/gui; ../../bin/qmake -config sse2; make %{?_smp_mflags}
+cp -av ../../lib/libQt5Gui.so.* %{buildroot}%{libqt5_libdir}/sse2/
+popd
+%endif
+
 install -D -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/rpm/macros.qt5
 # argggh, qmake is such a piece of 
 find %{buildroot}/%{libqt5_libdir} -type f -name '*prl' -exec perl -pi -e "s, 
-L$RPM_BUILD_DIR/\S+,,g" {} \;
@@ -839,6 +855,10 @@
 %defattr(-,root,root,755)
 %doc *.txt LICENSE.*
 %{libqt5_libdir}/libQt5Core.so.*
+%ifarch %ix86
+%dir %{libqt5_libdir}/sse2
+%{libqt5_libdir}/sse2/libQt5Core.so.*
+%endif
 
 %files -n libQt5Core-devel
 %defattr(-,root,root,755)
@@ -982,6 +1002,9 @@
 %defattr(-,root,root,755)
 %doc *.txt LICENSE.*
 %{libqt5_libdir}/libQt5Gui.so.*
+%ifarch %ix86
+%{libqt5_libdir}/sse2/libQt5Gui.so.*
+%endif
 %{libqt5_plugindir}/generic
 %{libqt5_plugindir}/imageformats
 %{libqt5_plugindir}/platforminputcontexts


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-09-17 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-09-18 07:56:36

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-09-08 21:28:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-09-18 07:56:40.0 +0200
@@ -1,0 +2,7 @@
+Tue Sep 16 11:27:49 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.3.2 final
+  * No changes since previous snapshot
+  * Use official tars
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.bEWLXe/_old  2014-09-18 07:56:43.0 +0200
+++ /var/tmp/diff_new_pack.bEWLXe/_new  2014-09-18 07:56:43.0 +0200
@@ -16,11 +16,11 @@
 #
 
 
-%define qt5_snapshot 1
+%define qt5_snapshot 0
 %define journald 0
 
 Name:   libqt5-qtbase
-Version:5.3.2~git20140904
+Version:5.3.2
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1


++ qtbase-opensource-src-5.3.2.tar.xz ++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-opensource-src-5.3.2.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new/qtbase-opensource-src-5.3.2.tar.xz
 differ: char 17, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-09-08 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-09-08 21:28:18

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-09-04 07:56:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-09-08 21:28:26.0 +0200
@@ -1,0 +2,242 @@
+Thu Sep  4 20:37:34 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.3.2~git20140904 (r05670f5):
+  * Tip of the bugfix 5.3.2 branch:
+* Recreate child windows when changing screens
+* QCoreTextFontDatabase: Remove number type asserts.
+* QGLXContext survives screen removal
+* CoreWLan: terminate scan thread in QCoreWlanEngine destructor
+* Also print the class name in the QObject::killTimer error msg
+* Initialize textureId in platform backing store
+* Doc: corrected autolink errors corelib io
+* Avoid crash if querying device that has gone away
+* Doc: corrected autolink errors Qjsonvalue
+* Network: Fix NTLM (SSPI) with HTTP and HTTPS proxies
+* remove always ask option.
+* Fix handling QT_IM_MODULE=none
+* xcb: use keyboard event source window to determine
+  auto-repeat valuen
+* Fix invalid memcpy(dst, src) calls where dst == src
+* Fix several regressions in font selection
+* Detect wrongly labelled wheel buttons
+* Make QWindowContainer handle drag'n'drop
+* Resize correctly on orientation change.
+* Use correct size in fullscreen mode
+* Properly null-terminate ifreq::irf_name
+* fingerpaint example: be sensitive to pressure only
+  when supported
+* Fix a memory leak in QFseventsFileSystemWatcherEngine
+* Do not set QMAKE_{INC,LIB}DIR_{OPENGL,X11} in the
+  freebsd mkspecs.
+* refactor disconnectFromFtp to remove cached entries
+  when necessary
+* Remove reference to gdb_dwarf_index from the
+  freebsd-clang mkspec.
+* Fix mistake in function extraTryFontsForFamily
+* Fix rendering of fonts matched based on stretch
+* Fix x86/32-bit build when using an old version of gcc
+* Fix selection of fonts based on styleName
+* QFusionStyle paints sliders outside of clip
+* Set iMX device specific compiler flags to QMAKE_CFLAGS
+* Fix QPainter::drawPolyline() painting errors with
+  cosmetic pen
+* Let QImage::mirrored() retain dots-per-meter settings
+* Make sure we don't cache old file sizes prior to new writes
+* Correct the SYNC hint for the release barrier
+* Fix QT_NO_REGULAREXPRESSION build
+* Fix QT_NO_ANIMATION build
+* Fix build with QT_NO_MDIAREA
+* Show the correct cursor for QLineEdit's side buttons.
+* Fix disconnect()ing from signals declared in a base class
+* Fix rendering alpha-blended text which needs to be
+  clipped at the top.
+* Fix build due to missing include when using a minimal config.
+* Fix build with QT_NO_DRAGANDDROP
+* Font Database: Add support for private, system UI
+  font families
+* Apply upstream patch r1498 to our PCRE copy
+* Apply upstream patch r1495 to our PCRE copy
+* Initialize member.
+* Document missing QLatin1String methods
+* network tests: add manual test for auth / proxy auth
+* Uncomment some tests which accidently got commented
+* Both HiQualAA and normal AA should mean
+  antialiasing in rasterengine.
+* Check if Start/EndPage returns non-positive value
+  when error checking
+* GTK file dialog: pre-fill the filename if given to a
+  Save dialog
+* QFileDialog docs: remove misleading sentence about
+  static functions
+* Doc: Placed Qt OpenGL class convention in code block.
+* Undo: Fix state entry bug for parallel state groups
+* Do not add QOffscreenSurface windows to the global list
+* tst_QHash: check which of several equal keys is inserted
+* OpenGL: destroy QGLContext allocated by
+  QGLContext::fromOpenGLContext
+* tst_QSet: check which of several equal elements is inserted
+* fix paths in installed qtmain.prl
+* add /ENTRY:main only for target builds
+* avoid that CROSS_COMPILE affects host builds
+* Add missing power button keycode to keymap
+* Android: export ANDROID_SDK_BUILD_TOOLS_REVISION.
+* cocoa: Fix compiler warnings about unused functions.
+* Propagate swapInterval to QGLFormat
+* Fix double clicks in eglfs
+* Work around ICC bug in local static symbols for
+  Q_GLOBAL_STATIC
+* QCoreTextFontDatabase: Fix font weight value when
+  populating a family
+* Don't convert signed to unsigned when we need all 32bit
+* Fix compilat

commit libqt5-qtbase for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-09-04 07:56:02

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-07-13 14:06:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-09-04 07:56:24.0 +0200
@@ -1,0 +2,12 @@
+Fri Aug 29 06:57:03 UTC 2014 - m...@suse.com
+
+- Added upstream patches for bnc#890168
+  * libqt5-fix-leak-with-touch-devices-in-xcb.patch, QTBUG-39596
+  ** fixed a leak what did not free m_touchDevices.
+  * libqt5-listen-to-touch-events-on-the-master-device.patch, QTBUG-38625
+  ** listen to touch events on the master device instead of slave, was also
+ affects by fdo#78345
+  * libqt5-avoid-crash-during-querying-device.patch, QTBUG-40820
+  ** avoid crashes if querying device that has gone away
+
+---

New:

  libqt5-avoid-crash-during-querying-device.patch
  libqt5-fix-leak-with-touch-devices-in-xcb.patch
  libqt5-listen-to-touch-events-on-the-master-device.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.yHdsqM/_old  2014-09-04 07:56:26.0 +0200
+++ /var/tmp/diff_new_pack.yHdsqM/_new  2014-09-04 07:56:26.0 +0200
@@ -69,6 +69,12 @@
 Patch2000:  
00010-Replace-the-const-QString-global-static-with-a-QStri.patch
 # PATCH-FIX-UPSTREAM 00011-Use-correct-signal-name-when-disconnecting.patch
 Patch2001:  00011-Use-correct-signal-name-when-disconnecting.patch
+# PATCH-FIX-UPSTREAM libqt5-fix-leak-with-touch-devices-in-xcb.patch -- 
QTBUG-39596
+Patch2002:  libqt5-fix-leak-with-touch-devices-in-xcb.patch
+# PATCH-FIX-UPSTREAM libqt5-listen-to-touch-events-on-the-master-device.patch 
-- QTBUG-38625
+Patch2003:  libqt5-listen-to-touch-events-on-the-master-device.patch
+# PATCH-FIX-UPSTREAM libqt5-avoid-crash-during-querying-device.patch -- 
QTBUG-40820
+Patch2004:  libqt5-avoid-crash-during-querying-device.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -165,6 +171,9 @@
 %patch1004 -p1
 %patch2000 -p1
 %patch2001 -p1
+%patch2002 -p1
+%patch2003 -p1
+%patch2004 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}


++ libqt5-avoid-crash-during-querying-device.patch ++
>From f1bce3bc17ebb99b1512b07499988538465c78a2 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen 
Date: Thu, 21 Aug 2014 15:33:09 +0200
Subject: [PATCH] Avoid crash if querying device that has gone away

A device removed very fast after being inserted might disappear while
we are still seting it up. We must therefore check if we indeed still
get a matching device

Task-number: QTBUG-40820
Change-Id: I4372fb1932264e5799f37cea0d016795e28ebed6
Reviewed-by: Shawn Rutledge 
---
 src/plugins/platforms/xcb/qxcbconnection_xi2.cpp | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

--- 
qtbase-opensource-src-5.3.1.orig/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
+++ qtbase-opensource-src-5.3.1/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
@@ -328,10 +328,12 @@ XInput2DeviceData *QXcbConnection::devic
 {
 XInput2DeviceData *dev = m_touchDevices[id];
 if (!dev) {
-int unused = 0;
+int nrDevices = 0;
 QTouchDevice::Capabilities caps = 0;
 dev = new XInput2DeviceData;
-dev->xiDeviceInfo = XIQueryDevice(static_cast(m_xlib_display), id, &unused);
+dev->xiDeviceInfo = XIQueryDevice(static_cast(m_xlib_display), id, &nrDevices);
+if (nrDevices <= 0)
+return 0;
 int type = -1;
 int maxTouchPoints = 1;
 bool hasRelativeCoords = false;
++ libqt5-fix-leak-with-touch-devices-in-xcb.patch ++
>From e98c461d43ea07c73898c93debe9285029ba0416 Mon Sep 17 00:00:00 2001
From: Joni Poikelin 
Date: Thu, 12 Jun 2014 10:28:23 +0300
Subject: [PATCH] XCB: Fix leak with touch devices

Task-number: QTBUG-39596
Change-Id: I4225d5a1ab4939280640b35d30c283f056a56519
Reviewed-by: Laszlo Agocs 
---
 src/plugins/platforms/xcb/qxcbconnection_xi2.cpp | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp 
b/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
index c296618..a574dca 100644
--- a/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
+++ b/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
@@ -228,6 +228,11 @@ void QXcbConnection::xi2SetupDevices()
 
 void QXcbConnection::finalizeXInput2()
 {
+foreach (XInput2DeviceData *dev, m_touchDe

commit libqt5-qtbase for openSUSE:Factory

2014-07-13 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-07-13 14:05:56

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-06-30 21:50:27.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-07-13 14:06:32.0 +0200
@@ -1,0 +2,9 @@
+Thu Jul  3 19:17:01 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Added 00010-Replace-the-const-QString-global-static-with-a-QStri.patch,
+  fixes segfaulting in global destructor, for more details see:
+  http://mail.kde.org/pipermail/kde-frameworks-devel/2014-June/017086.html
+- Added 00011-Use-correct-signal-name-when-disconnecting.patch,
+  fixes crash on QtDBus unload
+
+---

New:

  00010-Replace-the-const-QString-global-static-with-a-QStri.patch
  00011-Use-correct-signal-name-when-disconnecting.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.HKO5yN/_old  2014-07-13 14:06:34.0 +0200
+++ /var/tmp/diff_new_pack.HKO5yN/_new  2014-07-13 14:06:34.0 +0200
@@ -65,6 +65,10 @@
 Patch1003:  0004-QDBus-fix-data-race-on-isDebugging-bool.patch
 # PATCH-FIX-UPSTREAM 0005-Translate-Super-Hyper-keys-to-MetaModifier.patch -- 
QTBUG-38428
 Patch1004:  0005-Translate-Super-Hyper-keys-to-MetaModifier.patch
+# PATCH-FIX-UPSTREAM 
00010-Replace-the-const-QString-global-static-with-a-QStri.patch
+Patch2000:  
00010-Replace-the-const-QString-global-static-with-a-QStri.patch
+# PATCH-FIX-UPSTREAM 00011-Use-correct-signal-name-when-disconnecting.patch
+Patch2001:  00011-Use-correct-signal-name-when-disconnecting.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -159,6 +163,8 @@
 %patch1002 -p1
 %patch1003 -p1
 %patch1004 -p1
+%patch2000 -p1
+%patch2001 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ 00010-Replace-the-const-QString-global-static-with-a-QStri.patch ++
>From eda5c8ede9fd35117146d13f1b55775c9007b672 Mon Sep 17 00:00:00 2001
From: Thiago Macieira 
Date: Mon, 30 Jun 2014 08:31:22 -0700
Subject: [PATCH 1/1] Replace the const QString global static with a
 QStringLiteral

It was originally created to avoid allocating memory for the QString at
every turn, but we have QStringLiteral for that today. It has also
served a very good run by catching qatomic.h implementations that had
bad cv qualifications.

Change-Id: Id6d952b8cce363015ec2611d346b4cccedecf137
---
 src/dbus/qdbusintegrator.cpp | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp
index d4079e8..bc28d50 100644
--- a/src/dbus/qdbusintegrator.cpp
+++ b/src/dbus/qdbusintegrator.cpp
@@ -76,15 +76,21 @@ QT_BEGIN_NAMESPACE
 static QBasicAtomicInt isDebugging = Q_BASIC_ATOMIC_INITIALIZER(-1);
 #define qDBusDebug  if (::isDebugging == 0); else qDebug
 
-Q_GLOBAL_STATIC_WITH_ARGS(const QString, orgFreedesktopDBusString, 
(QLatin1String(DBUS_SERVICE_DBUS)))
+QString orgFreedesktopDBusString()
+{
+return QStringLiteral(DBUS_SERVICE_DBUS);
+}
 
 static inline QString dbusServiceString()
-{ return *orgFreedesktopDBusString(); }
+{
+return orgFreedesktopDBusString();
+}
+
 static inline QString dbusInterfaceString()
 {
 // it's the same string, but just be sure
-Q_ASSERT(*orgFreedesktopDBusString() == 
QLatin1String(DBUS_INTERFACE_DBUS));
-return *orgFreedesktopDBusString();
+Q_ASSERT(orgFreedesktopDBusString() == QLatin1String(DBUS_INTERFACE_DBUS));
+return orgFreedesktopDBusString();
 }
 
 static inline QDebug operator<<(QDebug dbg, const QThread *th)
-- 
1.8.4.5

++ 00011-Use-correct-signal-name-when-disconnecting.patch ++
>From 2160e7e0b7842d4ef49fdd435b4a7f127d479b90 Mon Sep 17 00:00:00 2001
From: Jakub Adam 
Date: Wed, 4 Jun 2014 14:48:02 +0200
Subject: [PATCH] Use correct signal name when disconnecting "NameOwnerChanged"

A disconnectSignal() call with a wrong signal name caused that hook
wasn't found and thus kept in QDBusConnectionPrivate::signalHooks
forever.

Change-Id: Id7cda225be7580529fc835b377636226abb229f9
---
 src/dbus/qdbusintegrator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dbus/qdbusintegrator.cpp b/src/dbus/qdbusintegrator.cpp
index 1fef6d4..d4079e8 100644
--- a/src/dbus/qdbusintegrator.cpp
+++ b/src/dbus/qdbusintegrator.cpp
@@ -2272,7 +2272,7 @@ QDBusConnectionPrivate::disconnectSignal
 watch

commit libqt5-qtbase for openSUSE:Factory

2014-06-30 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-06-30 21:44:19

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-06-04 18:38:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-06-30 21:44:21.0 +0200
@@ -1,0 +2,14 @@
+Wed Jun 25 10:38:00 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.3.1
+  * Bugfix release, for more details please see:
+http://blog.qt.digia.com/blog/2014/06/25/qt-5-3-1-released/
+- Drop libqt5-fix-the-modal-dialogs-can-go-behind.patch, merged upstream
+- Added patches from upstream:
+  0001-Do-not-overwrite-existing-event-mask-of-root-window.patch -- QTBUG-39648
+  0002-Properly-check-which-OpenGL-features-are-supported.patch -- QTBUG-39730
+  0003-Fix-data-race-on-QLoggingCategory-when-using-qDebug-.patch -- Fix data 
race on QLoggingCategory
+  0004-QDBus-fix-data-race-on-isDebugging-bool.patch -- fix data race on 
isDebugging bool
+  0005-Translate-Super-Hyper-keys-to-MetaModifier.patch -- QTBUG-38428
+
+---

Old:

  libqt5-fix-the-modal-dialogs-can-go-behind.patch
  qtbase-opensource-src-5.3.0.tar.xz

New:

  0001-Do-not-overwrite-existing-event-mask-of-root-window.patch
  0002-Properly-check-which-OpenGL-features-are-supported.patch
  0003-Fix-data-race-on-QLoggingCategory-when-using-qDebug-.patch
  0004-QDBus-fix-data-race-on-isDebugging-bool.patch
  0005-Translate-Super-Hyper-keys-to-MetaModifier.patch
  qtbase-opensource-src-5.3.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.dWhYfX/_old  2014-06-30 21:44:26.0 +0200
+++ /var/tmp/diff_new_pack.dWhYfX/_new  2014-06-30 21:44:26.0 +0200
@@ -20,15 +20,15 @@
 %define journald 0
 
 Name:   libqt5-qtbase
-Version:5.3.0
+Version:5.3.1
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.3.0
-%define so_version 5.3.0
+%define real_version 5.3.1
+%define so_version 5.3.1
 %if %qt5_snapshot
 %define tar_version qtbase-%{real_version}
 %else
@@ -53,8 +53,18 @@
 Patch135:   libqt5-byte-order-byte-is-address0.patch
 # PATCH-FIX-SUSE libqt5-Fix-Gujarati-font.patch bnc#878292 fix broken Gujarati 
font rendering
 Patch136:   libqt5-Fix-Gujarati-font.patch
-# PATCH-FIX-UPSTREAM libqt5-fix-the-modal-dialogs-can-go-behind.patch -- fix 
that modal dialogs can go behind other process window
-Patch137:   libqt5-fix-the-modal-dialogs-can-go-behind.patch
+
+# patches 1000 and above from upstream 5.3 branch #
+# PATCH-FIX-UPSTREAM 
0001-Do-not-overwrite-existing-event-mask-of-root-window.patch -- QTBUG-39648
+Patch1000:  0001-Do-not-overwrite-existing-event-mask-of-root-window.patch
+# PATCH-FIX-UPSTREAM 
0002-Properly-check-which-OpenGL-features-are-supported.patch -- QTBUG-39730
+Patch1001:  0002-Properly-check-which-OpenGL-features-are-supported.patch
+# PATCH-FIX-UPSTREAM 
0003-Fix-data-race-on-QLoggingCategory-when-using-qDebug-.patch -- Fix data 
race on QLoggingCategory
+Patch1002:  0003-Fix-data-race-on-QLoggingCategory-when-using-qDebug-.patch
+# PATCH-FIX-UPSTREAM 0004-QDBus-fix-data-race-on-isDebugging-bool.patch -- fix 
data race on isDebugging bool
+Patch1003:  0004-QDBus-fix-data-race-on-isDebugging-bool.patch
+# PATCH-FIX-UPSTREAM 0005-Translate-Super-Hyper-keys-to-MetaModifier.patch -- 
QTBUG-38428
+Patch1004:  0005-Translate-Super-Hyper-keys-to-MetaModifier.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -144,7 +154,11 @@
 %patch134 -p1
 %patch135 -p1
 %patch136 -p1
-%patch137 -p1
+%patch1000 -p1
+%patch1001 -p1
+%patch1002 -p1
+%patch1003 -p1
+%patch1004 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}

++ 0001-Do-not-overwrite-existing-event-mask-of-root-window.patch ++
>From 075c36e39beedb33ec4b239d57075f54acb21acf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= 
Date: Mon, 16 Jun 2014 14:20:05 +0200
Subject: [PATCH 1/1] Do not overwrite existing event mask of root window

QXcbScreen installs its own event mask on the screen's root window.
This overwrites any existing event mask already set and by that
breaks applications when a new screen is added.

By first fetching the existing event mask and 

commit libqt5-qtbase for openSUSE:Factory

2014-06-04 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-06-04 18:38:26

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-06-01 18:55:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-06-04 18:38:28.0 +0200
@@ -1,0 +2,7 @@
+Sun Jun  1 23:43:25 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Improve baselibs
+- Improve situation with rpmlints duplicates warnings
+- Make private headers noarch
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.7xu8Pg/_old  2014-06-04 18:38:30.0 +0200
+++ /var/tmp/diff_new_pack.7xu8Pg/_new  2014-06-04 18:38:30.0 +0200
@@ -205,6 +205,7 @@
 %package -n libQt5Core-private-headers-devel
 Summary:Qt 5 Core Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-devel = %{version}
 
 %description -n libQt5Core-private-headers-devel
@@ -246,6 +247,7 @@
 %package -n libQt5DBus-private-headers-devel
 Summary:Qt 5 DBus Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5DBus-devel = %{version}
 
@@ -271,6 +273,7 @@
 %package -n libQt5Network-private-headers-devel
 Summary:Qt 5 Network Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Network-devel = %{version}
 
@@ -303,6 +306,7 @@
 %package -n libQt5OpenGL-private-headers-devel
 Summary:Qt 5 OpenGL Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Gui-private-headers-devel = %{version}
 Requires:   libQt5OpenGL-devel = %{version}
@@ -332,6 +336,7 @@
 %package -n libQt5PrintSupport-private-headers-devel
 Summary:Qt 5 Print Support Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Gui-private-headers-devel = %{version}
 Requires:   libQt5PrintSupport-devel = %{version}
@@ -375,6 +380,7 @@
 %package -n libQt5Test-private-headers-devel
 Summary:Qt 5 Test Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Test-devel = %{version}
 
@@ -401,6 +407,7 @@
 %package -n libQt5Widgets-private-headers-devel
 Summary:Qt 5 Widgets Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Gui-private-headers-devel = %{version}
 Requires:   libQt5Widgets-devel = %{version}
@@ -481,6 +488,7 @@
 %package -n libQt5Gui-private-headers-devel
 Summary:Qt 5 Gui Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Gui-devel = %{version}
 
@@ -514,6 +522,7 @@
 %package -n libQt5Sql-private-headers-devel
 Summary:Qt 5 SQL Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Sql-devel = %{version}
 
@@ -532,6 +541,7 @@
 %package private-headers-devel
 Summary:Non-ABI stable experimental API
 Group:  Development/Libraries/C and C++
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5DBus-private-headers-devel = %{version}
 Requires:   libQt5Gui-private-headers-devel = %{version}
@@ -592,6 +602,7 @@
 %package -n libQt5PlatformSupport-private-headers-devel
 Summary:Qt 5 PlatformSupport Library - Non-ABI stable development files
 Group:  Development/Libraries/X11
+BuildArch:  noarch
 Requires:   libQt5Core-private-headers-devel = %{version}
 Requires:   libQt5Gui-private-headers-devel = %{version}
 Requires:   libQt5PlatformS

commit libqt5-qtbase for openSUSE:Factory

2014-06-01 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-06-01 18:55:54

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-05-22 06:39:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-06-01 18:55:56.0 +0200
@@ -1,0 +2,17 @@
+Tue May 27 09:52:05 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Build with pkgconfig(libudev), not pkgconfig(udev)
+
+---
+Fri May 23 08:55:44 UTC 2014 - m...@suse.com
+
+- Fix the modal dialogs can go behind other process windows (QTBUG-35302)
+  * libqt5-fix-the-modal-dialogs-can-go-behind.patch
+
+---
+Thu May 22 12:57:48 CEST 2014 - ti...@suse.de
+
+- Fix broken Gujarati rendering (bnc#878292):
+  libqt5-Fix-Gujarati-font.patch
+
+---

New:

  libqt5-Fix-Gujarati-font.patch
  libqt5-fix-the-modal-dialogs-can-go-behind.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.TPKqQl/_old  2014-06-01 18:55:58.0 +0200
+++ /var/tmp/diff_new_pack.TPKqQl/_new  2014-06-01 18:55:58.0 +0200
@@ -51,6 +51,10 @@
 Patch134:   libqt5-add-support-for-byte-swapping.patch
 # PATCH-FIX-UPSTREAM libqt5-byte-order-byte-is-address0.patch -- the byte 
order byte is at address 0(bnc#866709), currently it's at the upstream dev 
branch
 Patch135:   libqt5-byte-order-byte-is-address0.patch
+# PATCH-FIX-SUSE libqt5-Fix-Gujarati-font.patch bnc#878292 fix broken Gujarati 
font rendering
+Patch136:   libqt5-Fix-Gujarati-font.patch
+# PATCH-FIX-UPSTREAM libqt5-fix-the-modal-dialogs-can-go-behind.patch -- fix 
that modal dialogs can go behind other process window
+Patch137:   libqt5-fix-the-modal-dialogs-can-go-behind.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -82,7 +86,6 @@
 %endif
 BuildRequires:  libicu-devel
 BuildRequires:  libpulse-devel
-BuildRequires:  libudev-devel
 BuildRequires:  xcb-util-image-devel
 BuildRequires:  xcb-util-keysyms-devel
 BuildRequires:  xcb-util-renderutil-devel
@@ -91,6 +94,7 @@
 BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
+BuildRequires:  pkgconfig(libudev)
 %if 0%{?suse_version} >= 1310
 BuildRequires:  pkgconfig(harfbuzz)
 %endif
@@ -139,6 +143,8 @@
 %patch133 -p1
 %patch134 -p1
 %patch135 -p1
+%patch136 -p1
+%patch137 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -574,8 +580,8 @@
 Requires:   pkgconfig(freetype2)
 Requires:   pkgconfig(gl)
 Requires:   pkgconfig(glib-2.0)
+Requires:   pkgconfig(libudev)
 Requires:   pkgconfig(mtdev)
-Requires:   pkgconfig(udev)
 Requires:   pkgconfig(x11)
 Requires:   pkgconfig(xext)
 Requires:   pkgconfig(xrender)


++ libqt5-Fix-Gujarati-font.patch ++
---
 src/gui/text/qtextengine.cpp |1 +
 1 file changed, 1 insertion(+)

--- a/src/gui/text/qtextengine.cpp
+++ b/src/gui/text/qtextengine.cpp
@@ -1549,6 +1549,7 @@ void QTextEngine::itemize() const
 case QChar::Script_Hiragana:
 case QChar::Script_Katakana:
 case QChar::Script_Bopomofo:
+case QChar::Script_Gujarati:
 analysis[i].script = QChar::Script_Common;
 break;
 default:
++ libqt5-fix-the-modal-dialogs-can-go-behind.patch ++
>From 50b8506eaccc3c9bc3d717b241193bc8be9708b0 Mon Sep 17 00:00:00 2001
From: Jorgen Lind 
Date: Thu, 3 Apr 2014 13:11:59 +0200
Subject: [PATCH] XCB: fix that modal dialogs can go behind other process
 windows

Task-number: QTBUG-35302
Change-Id: I1ad7a66e530710d5338a15057254360dae676451
Reviewed-by: Friedemann Kleint 
Reviewed-by: Laszlo Agocs 
---
 src/plugins/platforms/windows/qwindowscontext.cpp |8 +
 src/plugins/platforms/windows/qwindowswindow.cpp  |   22 ++--
 src/plugins/platforms/xcb/qxcbwindow.cpp  |  104 +---
 src/plugins/platforms/xcb/qxcbwindow.h|4 
 tests/auto/gui/kernel/qwindow/tst_qwindow.cpp |  113 ++
 5 files changed, 206 insertions(+), 45 deletions(-)

--- a/src/plugins/platforms/windows/qwindowscontext.cpp
+++ b/src/plugins/platforms/windows/qwindowscontext.cpp
@@ -49,11 +49,11 @@
 #include "qwindowsmime.h"
 #include "qwindowsinputcontext.h"
 #include "qwindowstabletsupport.h"
+#include 
 #ifndef QT_NO_ACCESSIBILITY
 # i

commit libqt5-qtbase for openSUSE:Factory

2014-05-21 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-05-22 06:38:30

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-05-14 20:25:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-05-22 06:39:26.0 +0200
@@ -1,0 +2,19 @@
+Wed May 21 00:32:51 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Only enable reducing relocations on x86 and x86_64 arches; fixes
+  build for arm, ppc, etc (QTBUG-36129)
+
+---
+Mon May 19 23:42:44 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.3.0 final
+  * Minor bugfixes over previous RC
+
+---
+Sat May 17 17:11:25 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Disable logging to journald for now, as it creates significant
+  performance penalty
+- Don't pass /usr/include to qmake, not needed
+
+---

Old:

  qtbase-opensource-src-5.3.0-RC.tar.xz

New:

  qtbase-opensource-src-5.3.0.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.RfFobB/_old  2014-05-22 06:39:31.0 +0200
+++ /var/tmp/diff_new_pack.RfFobB/_new  2014-05-22 06:39:31.0 +0200
@@ -17,16 +17,17 @@
 
 
 %define qt5_snapshot 0
+%define journald 0
 
 Name:   libqt5-qtbase
-Version:5.3.0~rc
+Version:5.3.0
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.3.0-RC
+%define real_version 5.3.0
 %define so_version 5.3.0
 %if %qt5_snapshot
 %define tar_version qtbase-%{real_version}
@@ -101,7 +102,9 @@
 %else
 BuildRequires:  xkeyboard-config
 %endif
+%if %journald
 BuildRequires:  pkgconfig(libsystemd-journal)
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -638,7 +641,11 @@
-sysconfdir %{libqt5_sysconfdir} \
-translationdir %{libqt5_translationdir} \
-verbose \
+%ifarch %ix86 x86_64
-reduce-relocations \
+%else
+   -no-reduce-relocations \
+%endif
-optimized-qmake \
-accessibility \
-no-strip \
@@ -677,7 +684,9 @@
-system-sqlite \
-no-sql-mysql \
-no-strip \
+%if %journald
-journald \
+%endif
-xsync \
-xinput \
-gtkstyle \
@@ -692,9 +701,9 @@
 %endif
 -release \
-plugin-sql-sqlite -nomake tests \
-   -plugin-sql-psql -I/usr/include -I/usr/include/pgsql/ 
-I/usr/include/pgsql/server \
+   -plugin-sql-psql -I/usr/include/pgsql/ -I/usr/include/pgsql/server \
-plugin-sql-odbc \
-   -plugin-sql-mysql -I/usr/include/mysql/ -I/usr/include -v
+   -plugin-sql-mysql -I/usr/include/mysql/ -v
 
 make %{?_smp_mflags}
 


++ qtbase-opensource-src-5.3.0-RC.tar.xz -> 
qtbase-opensource-src-5.3.0.tar.xz ++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-opensource-src-5.3.0-RC.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new/qtbase-opensource-src-5.3.0.tar.xz
 differ: char 26, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-05-14 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-05-14 20:25:38

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-04-15 07:34:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-05-14 20:25:40.0 +0200
@@ -1,0 +2,13 @@
+Thu May  8 17:50:59 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.3.0 RC
+  * For more details, please see
+  http://blog.qt.digia.com/blog/2014/05/08/qt-5-3-release-candidate-available/
+  and http://qt-project.org/wiki/New-Features-in-Qt-5.3
+- Drop libqt5-add-better-support-for-keymap-update-handling.patch,
+  libqt5-fix-build-failure-xcb.patch,
+  libqt5-fix-regression-in-key-handling.patch,
+  libqt5-improve-keymap-error-handling.patch and 
+  libqt5-update-bundled-libxkbcommon-version-to-041.patch; merged upstream
+
+---

Old:

  libqt5-add-better-support-for-keymap-update-handling.patch
  libqt5-fix-build-failure-xcb.patch
  libqt5-fix-regression-in-key-handling.patch
  libqt5-improve-keymap-error-handling.patch
  libqt5-update-bundled-libxkbcommon-version-to-041.patch
  qtbase-opensource-src-5.3.0-beta.tar.xz

New:

  qtbase-opensource-src-5.3.0-RC.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.bck6Hw/_old  2014-05-14 20:25:45.0 +0200
+++ /var/tmp/diff_new_pack.bck6Hw/_new  2014-05-14 20:25:45.0 +0200
@@ -19,14 +19,14 @@
 %define qt5_snapshot 0
 
 Name:   libqt5-qtbase
-Version:5.3.0~beta
+Version:5.3.0~rc
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.3.0-beta
+%define real_version 5.3.0-RC
 %define so_version 5.3.0
 %if %qt5_snapshot
 %define tar_version qtbase-%{real_version}
@@ -46,20 +46,10 @@
 Patch132:   use-freetype-default.patch
 # PATCH-FIX-UPSTREAM f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch -- prefer 
QPA implementation in qsystemtrayicon_x11 if available
 Patch133:   f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch
-# PATCH-FIX-UPSTREAM 
libqt5-add-better-support-for-keymap-update-handling.patch -- fixed keyboard 
remapping not applied(bnc#866051, qtbug#31527)
-Patch134:   libqt5-add-better-support-for-keymap-update-handling.patch
-# PATCH-FIX-UPSTREAM libqt5-improve-keymap-error-handling.patch -- improve 
keymap error handling
-Patch135:   libqt5-improve-keymap-error-handling.patch
-# PATCH-FIX-UPSTREAM libqt5-fix-build-failure-xcb.patch -- fix build failure 
in xcb(qtbug#37971)
-Patch136:   libqt5-fix-build-failure-xcb.patch
-# PATCH-FIX-UPSTREAM libqt5-update-bundled-libxkbcommon-version-to-041.patch 
-- updated bundled libxkbcommon also updated the minimal requirement version at 
build(qtbug#36281)
-Patch137:   libqt5-update-bundled-libxkbcommon-version-to-041.patch
-# PATCH-FIX-UPSTREAM libqt5-fix-regression-in-key-handling.patch -- introduced 
new function from libxkbcommon 0.4.1 to fix key handling regression(qtbug#36281)
-Patch138:   libqt5-fix-regression-in-key-handling.patch
 # PATCH-FIX-UPSTREAM libqt5-add-support-for-byte-swapping.patch -- add support 
for byte swapping(bnc#866709), currently it's at the upstream dev branch
-Patch139:   libqt5-add-support-for-byte-swapping.patch
+Patch134:   libqt5-add-support-for-byte-swapping.patch
 # PATCH-FIX-UPSTREAM libqt5-byte-order-byte-is-address0.patch -- the byte 
order byte is at address 0(bnc#866709), currently it's at the upstream dev 
branch
-Patch140:   libqt5-byte-order-byte-is-address0.patch
+Patch135:   libqt5-byte-order-byte-is-address0.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -146,11 +136,6 @@
 %patch133 -p1
 %patch134 -p1
 %patch135 -p1
-%patch136 -p1
-%patch137 -p1
-%patch138 -p1
-%patch139 -p1
-%patch140 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -687,7 +672,6 @@
-nis \
-system-zlib \
-iconv \
-   -sysconfdir /etc/settings \
-no-pch \
-glib \
-system-sqlite \


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-04-14 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-04-15 07:34:07

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-03-27 09:29:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-04-15 07:34:08.0 +0200
@@ -1,0 +2,19 @@
+Tue Apr  8 06:56:21 UTC 2014 - m...@suse.com
+
+- Add support for byte swapping, bnc#866709
+  * Add libqt5-add-support-for-byte-swapping.patch
+  * Add libqt5-byte-order-byte-is-address0.patch
+- Fix keyboard remapping not applied on Qt5, bnc#866051
+  * Add backported libqt5-add-better-support-for-keymap-update-handling.patch
+  * Add backported libqt5-improve-keymap-error-handling.patch
+  * Add backported libqt5-fix-build-failure-xcb.patch
+  * Add backported libqt5-update-bundled-libxkbcommon-version-to-041.patch
+  * Add backported libqt5-fix-regression-in-key-handling.patch
+
+---
+Fri Mar 28 08:22:53 UTC 2014 - hrvoje.sen...@gmail.com
+
+- The no-neon switch no longer exists with 5.3, so drop it: fixes
+  build on arm/aarch64
+
+---

New:

  libqt5-add-better-support-for-keymap-update-handling.patch
  libqt5-add-support-for-byte-swapping.patch
  libqt5-byte-order-byte-is-address0.patch
  libqt5-fix-build-failure-xcb.patch
  libqt5-fix-regression-in-key-handling.patch
  libqt5-improve-keymap-error-handling.patch
  libqt5-update-bundled-libxkbcommon-version-to-041.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.Tk8pRg/_old  2014-04-15 07:34:10.0 +0200
+++ /var/tmp/diff_new_pack.Tk8pRg/_new  2014-04-15 07:34:10.0 +0200
@@ -46,6 +46,20 @@
 Patch132:   use-freetype-default.patch
 # PATCH-FIX-UPSTREAM f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch -- prefer 
QPA implementation in qsystemtrayicon_x11 if available
 Patch133:   f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch
+# PATCH-FIX-UPSTREAM 
libqt5-add-better-support-for-keymap-update-handling.patch -- fixed keyboard 
remapping not applied(bnc#866051, qtbug#31527)
+Patch134:   libqt5-add-better-support-for-keymap-update-handling.patch
+# PATCH-FIX-UPSTREAM libqt5-improve-keymap-error-handling.patch -- improve 
keymap error handling
+Patch135:   libqt5-improve-keymap-error-handling.patch
+# PATCH-FIX-UPSTREAM libqt5-fix-build-failure-xcb.patch -- fix build failure 
in xcb(qtbug#37971)
+Patch136:   libqt5-fix-build-failure-xcb.patch
+# PATCH-FIX-UPSTREAM libqt5-update-bundled-libxkbcommon-version-to-041.patch 
-- updated bundled libxkbcommon also updated the minimal requirement version at 
build(qtbug#36281)
+Patch137:   libqt5-update-bundled-libxkbcommon-version-to-041.patch
+# PATCH-FIX-UPSTREAM libqt5-fix-regression-in-key-handling.patch -- introduced 
new function from libxkbcommon 0.4.1 to fix key handling regression(qtbug#36281)
+Patch138:   libqt5-fix-regression-in-key-handling.patch
+# PATCH-FIX-UPSTREAM libqt5-add-support-for-byte-swapping.patch -- add support 
for byte swapping(bnc#866709), currently it's at the upstream dev branch
+Patch139:   libqt5-add-support-for-byte-swapping.patch
+# PATCH-FIX-UPSTREAM libqt5-byte-order-byte-is-address0.patch -- the byte 
order byte is at address 0(bnc#866709), currently it's at the upstream dev 
branch
+Patch140:   libqt5-byte-order-byte-is-address0.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -91,9 +105,9 @@
 %endif
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(sm)
-%if 0%{?suse_version} >= 1320
-BuildRequires:  pkgconfig(xkbcommon)
-BuildRequires:  pkgconfig(xkbcommon-x11)
+%if 0%{?suse_version} >= 1315
+BuildRequires:  pkgconfig(xkbcommon) >= 0.4.1
+BuildRequires:  pkgconfig(xkbcommon-x11) >= 0.4.1
 %else
 BuildRequires:  xkeyboard-config
 %endif
@@ -130,6 +144,13 @@
 %patch131 -p1
 %patch132 -p1
 %patch133 -p1
+%patch134 -p1
+%patch135 -p1
+%patch136 -p1
+%patch137 -p1
+%patch138 -p1
+%patch139 -p1
+%patch140 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -640,7 +661,7 @@
-no-separate-debug-info \
-shared \
-xkb \
-%if 0%{?suse_version} >= 1320
+%if 0%{?suse_version} >= 1315
-system-xkbcommon \
 %else
-qt-xkbcommon \
@@ -686,9 +707,6 @@
-opengl desktop \
 %endif
 -release \
-%ifarch %arm aarch64
-  -no-neon \
-%endif
-plugin-sql-sqlite -nomake tests \
-plugin-sql-

commit libqt5-qtbase for openSUSE:Factory

2014-03-27 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-03-27 09:29:40

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-03-23 22:34:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-03-27 09:29:44.0 +0100
@@ -1,0 +2,20 @@
+Tue Mar 25 11:44:16 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.3.0 beta
+  * New feature release, please see
+  http://blog.qt.digia.com/blog/2014/03/25/qt-5-3-beta-released/
+  and http://qt-project.org/wiki/New-Features-in-Qt-5.3
+- Drop qtbase-qatomic-ppc.patch, merged upstream
+- Added f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch: prefer QPA
+  implementation in qsystemtrayicon_x11 if available
+- Added pkgconfig(libsystemd-journal) BuildRequires and activate
+  journald support
+- Added pkgconfig(xkbcommon-x11) BuildRequires with 13.2+: it's now
+  needed for full xkb support, for lower version added xkeyboard-config
+  BuildRequires
+- Ommit QMAKE_STRIP flags in mkspecs/common/linux.conf, otherwise no
+  debuginfo is generated for packages which use qmake buildsystem
+- Droped passing of -javascript-jit, as per upstream changes
+- Rebase libqt5-libtool-nodate.diff for this release
+
+---

Old:

  qtbase-opensource-src-5.2.1.tar.xz
  qtbase-qatomic-ppc.patch

New:

  f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch
  qtbase-opensource-src-5.3.0-beta.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.7GRBB5/_old  2014-03-27 09:29:48.0 +0100
+++ /var/tmp/diff_new_pack.7GRBB5/_new  2014-03-27 09:29:48.0 +0100
@@ -19,15 +19,15 @@
 %define qt5_snapshot 0
 
 Name:   libqt5-qtbase
-Version:5.2.1
+Version:5.3.0~beta
 Release:0
 Summary:C++ Program Library, Core Components
 License:GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
 Group:  System/Libraries
 Url:http://qt.digia.com
 %define base_name libqt5
-%define real_version 5.2.1
-%define so_version 5.2.1
+%define real_version 5.3.0-beta
+%define so_version 5.3.0
 %if %qt5_snapshot
 %define tar_version qtbase-%{real_version}
 %else
@@ -38,14 +38,14 @@
 Source1:libqt5-qtbase.changes
 Source2:macros.qt5
 Source3:baselibs.conf
-# PATCH-FIX-UPSTREAM qtbase-qatomic-ppc.patch -- fixes build on PPC
-Patch3: qtbase-qatomic-ppc.patch
 # PATCH-FIX-UPSTREAM libqt5-libtool-nodate.diff -- for ommiting date/time on 
build
 Patch109:   libqt5-libtool-nodate.diff
 # PATCH-FIX-UPSTREAM qmake-add-usr-include.diff -- explicitly include 
/usr/include path
 Patch131:   qmake-add-usr-include.diff
 # PATCH-FIX-UPSTREAM use-freetype-default.patch -- allow using lcd-default 
filter regardless of how freetype2 library has been built (w/ & w/o subpixel)
 Patch132:   use-freetype-default.patch
+# PATCH-FIX-UPSTREAM f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch -- prefer 
QPA implementation in qsystemtrayicon_x11 if available
+Patch133:   f1ee10f81ac18789e9a7dc715b464415ba2bc2b8.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -91,7 +91,13 @@
 %endif
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(sm)
-BuildRequires:  pkgconfig(xkbcommon) >= 0.2.0
+%if 0%{?suse_version} >= 1320
+BuildRequires:  pkgconfig(xkbcommon)
+BuildRequires:  pkgconfig(xkbcommon-x11)
+%else
+BuildRequires:  xkeyboard-config
+%endif
+BuildRequires:  pkgconfig(libsystemd-journal)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -120,10 +126,10 @@
 %else
 %setup -q -n qtbase-opensource-src-%{real_version}
 %endif
-%patch3 -p1
 %patch109 -p1
 %patch131 -p1
 %patch132 -p1
+%patch133 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -599,6 +605,7 @@
 %else
 platform=""
 %endif
+%define xkbconfigroot %(pkg-config --variable=xkb_base xkeyboard-config)
 %if %qt5_snapshot
 #force the configure script to generate the forwarding headers (it checks 
whether .git directory exists)
 mkdir .git
@@ -606,6 +613,8 @@
 # Record mtime of changes file instead of build time
 CHANGES=`stat --format="%y" %{SOURCE1}|cut --characters=1-10`
 sed -i -e "s/qt_instdate=\$TODAY/qt_instdate=$CHANGES/" configure
+# so non-qt5 apps/libs don't get stripped
+sed -i -e 's|^\(QMAKE_STRIP.*=\).*$|\1|g' mkspecs/common/linux.conf
 
 echo yes | ./configure $platform \
-prefix %{_prefix} \
@@ -631,6 +640,12 @@
-no-separate-debu

commit libqt5-qtbase for openSUSE:Factory

2014-03-23 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-03-23 22:32:44

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-03-04 13:14:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-03-23 22:34:07.0 +0100
@@ -1,0 +2,9 @@
+Thu Mar 20 22:58:47 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Added use-freetype-default.patch: allow using lcd-default filter
+  regardless of how freetype2 library has been built (w/ & w/o subpixel)
+- Build examples (added examples subpackage)
+- Make sure that Qt5Gui devel package requires libdrm-devel, as it
+  references it's includes in CMake config
+
+---

New:

  use-freetype-default.patch



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.A5KA8o/_old  2014-03-23 22:34:08.0 +0100
+++ /var/tmp/diff_new_pack.A5KA8o/_new  2014-03-23 22:34:08.0 +0100
@@ -44,6 +44,8 @@
 Patch109:   libqt5-libtool-nodate.diff
 # PATCH-FIX-UPSTREAM qmake-add-usr-include.diff -- explicitly include 
/usr/include path
 Patch131:   qmake-add-usr-include.diff
+# PATCH-FIX-UPSTREAM use-freetype-default.patch -- allow using lcd-default 
filter regardless of how freetype2 library has been built (w/ & w/o subpixel)
+Patch132:   use-freetype-default.patch
 BuildRequires:  alsa-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
@@ -121,6 +123,7 @@
 %patch3 -p1
 %patch109 -p1
 %patch131 -p1
+%patch132 -p1
 
 # be sure not to use them
 rm -r src/3rdparty/{libjpeg,freetype,libpng,zlib}
@@ -449,6 +452,7 @@
 Requires:   pkgconfig(gl)
 %endif
 Requires:   pkgconfig(egl)
+Requires:   pkgconfig(libdrm)
 
 %description -n libQt5Gui-devel
 Qt 5 libraries which are depending on X11 - development files.
@@ -574,6 +578,14 @@
 %description -n libQt5PlatformSupport-private-headers-devel
 Qt 5 PlatformSupport Library - Non-ABI stable development files.
 
+%package examples
+Summary:Qt5 base examples
+Group:  Development/Libraries/X11
+Recommends: libqt5-qtbase-devel
+
+%description examples
+Examples for libqt5-qtbase modules.
+
 %build
 export QMAKESPEC=$PWD/mkspecs/linux-g++
 %ifarch ppc64
@@ -664,7 +676,7 @@
 %ifarch %arm aarch64
   -no-neon \
 %endif
-   -plugin-sql-sqlite -nomake examples -nomake tests \
+   -plugin-sql-sqlite -nomake tests \
-plugin-sql-psql -I/usr/include -I/usr/include/pgsql/ 
-I/usr/include/pgsql/server \
-plugin-sql-odbc \
-plugin-sql-mysql -I/usr/include/mysql/ -I/usr/include -v
@@ -1062,4 +1074,9 @@
 %doc *.txt LICENSE.*
 %{libqt5_includedir}/QtWidgets/%{so_version}/
 
+%files examples
+%defattr(-,root,root,755)
+%doc *.txt LICENSE.*
+%{libqt5_examplesdir}/
+
 %changelog


++ use-freetype-default.patch ++
diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp
index 05bd014..a3d8edf 100644
--- a/src/gui/text/qfontengine_ft.cpp
+++ b/src/gui/text/qfontengine_ft.cpp
@@ -69,7 +69,7 @@
 #include FT_CONFIG_OPTIONS_H
 #endif
 
-#if defined(FT_LCD_FILTER_H) && defined(FT_CONFIG_OPTION_SUBPIXEL_RENDERING)
+#if defined(FT_LCD_FILTER_H)
 #define QT_USE_FREETYPE_LCDFILTER
 #endif
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-03-04 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-03-04 13:14:05

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-02-18 16:17:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-03-04 13:14:05.0 +0100
@@ -1,0 +2,11 @@
+Sat Mar  1 14:26:50 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Fix wrong libQt5OpenGLExtensions-devel-static requires:
+  pkgconfig(GL) -> pkgconfig(gl)
+
+---
+Thu Feb 27 11:08:39 UTC 2014 - sch...@suse.de
+
+- Enable jit only on supported archs
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.RCxkz4/_old  2014-03-04 13:14:07.0 +0100
+++ /var/tmp/diff_new_pack.RCxkz4/_new  2014-03-04 13:14:07.0 +0100
@@ -538,7 +538,7 @@
 Requires:   libQt5Core-devel = %{version}
 Requires:   libQt5Gui-devel = %{version}
 # List the below ones manually - they are private, but this is a static lib
-Requires:   pkgconfig(GL)
+Requires:   pkgconfig(gl)
 
 %description -n libQt5OpenGLExtensions-devel-static
 Qt OpenGLExtensions module.
@@ -648,7 +648,7 @@
-xsync \
-xinput \
-gtkstyle \
-%ifnarch ppc ppc64 ppc64le
+%ifarch %arm %ix86 x86_64
-javascript-jit \
 %endif
-xcb \


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-02-18 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-02-18 16:17:26

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2014-01-05 11:30:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-02-18 16:17:27.0 +0100
@@ -1,0 +2,28 @@
+Mon Feb 10 11:36:36 UTC 2014 - m...@suse.com
+
+- Update LICENSE files to %doc
+
+---
+Wed Feb  5 17:07:24 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 5.2.1:
+  * For more details please see:
+http://blog.qt.digia.com/blog/2014/02/05/qt-5-2-1-released/
+- Split out (private) devel packages for each library. Also added
+  common-devel package, which contains mkspecs, and basic binaries
+  (e.g. moc, qmake, rcc, syncqt and uic)
+- Only create qt5 symlinks for binaries which conflict with
+  Qt4 version
+- Remove libtool archives from packages
+- Apply conditionals for %arm also for aarch64
+- Removed unneeded or upstreamed patches:
+  * 0001-Remove-the-GLES-2-dependency-for-eglfs-and-kms.patch
+  * 0002-Fix-configure-script-to-not-dictate-OpenGL-ES-2-when.patch
+  * 0003-EGL-convenience-deal-with-DefaultRenderableType-when.patch
+  * 0004-Do-not-disable-egl-on-desktop-gl-automatically.patch
+  * qt-never-strip.diff
+  * qtbase-opensource-src-5.1.1-bigendian.patch
+- modified patches:
+  * qmake-add-usr-include.diff
+
+---

Old:

  0001-Remove-the-GLES-2-dependency-for-eglfs-and-kms.patch
  0002-Fix-configure-script-to-not-dictate-OpenGL-ES-2-when.patch
  0003-EGL-convenience-deal-with-DefaultRenderableType-when.patch
  0004-Do-not-disable-egl-on-desktop-gl-automatically.patch
  qt-never-strip.diff
  qtbase-opensource-src-5.1.1-bigendian.patch
  qtbase-opensource-src-5.2.0.tar.xz

New:

  qtbase-opensource-src-5.2.1.tar.xz



Other differences:
--
++ libqt5-qtbase.spec ++
 994 lines (skipped)
 between /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.spec
 and /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.spec


++ qmake-add-usr-include.diff ++
--- /var/tmp/diff_new_pack.fPxZ5P/_old  2014-02-18 16:17:29.0 +0100
+++ /var/tmp/diff_new_pack.fPxZ5P/_new  2014-02-18 16:17:29.0 +0100
@@ -1,11 +1,13 @@
 qtbase/qmake/generators/unix/unixmake2.cpp 2012/08/30 12:10:34 1.1
-+++ qtbase/qmake/generators/unix/unixmake2.cpp 2012/08/30 12:10:41
-@@ -128,7 +128,7 @@
+diff --git a/qmake/generators/unix/unixmake2.cpp 
b/qmake/generators/unix/unixmake2.cpp
+index e4d33e2..920ebe9 100644
+--- a/qmake/generators/unix/unixmake2.cpp
 b/qmake/generators/unix/unixmake2.cpp
+@@ -128,7 +128,7 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t)
<< varGlue("DEFINES","-D"," -D","") << endl;
  t << "CFLAGS= " << var("QMAKE_CFLAGS") << " $(DEFINES)\n";
  t << "CXXFLAGS  = " << var("QMAKE_CXXFLAGS") << " $(DEFINES)\n";
 -t << "INCPATH   = -I" << specdir();
-+t << "INCPATH   = " << "-I/usr/include -I" << specdir();
++t << "INCPATH   = -I/usr/include -I" << specdir();
  if(!project->isActiveConfig("no_include_pwd")) {
  QString pwd = escapeFilePath(fileFixify(qmake_getpwd()));
  if(pwd.isEmpty())

++ qtbase-opensource-src-5.2.0.tar.xz -> qtbase-opensource-src-5.2.1.tar.xz 
++
/work/SRC/openSUSE:Factory/libqt5-qtbase/qtbase-opensource-src-5.2.0.tar.xz 
/work/SRC/openSUSE:Factory/.libqt5-qtbase.new/qtbase-opensource-src-5.2.1.tar.xz
 differ: char 26, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2014-01-05 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2014-01-05 11:30:43

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2013-12-23 12:32:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2014-01-05 11:30:45.0 +0100
@@ -1,0 +2,10 @@
+Fri Jan  3 22:28:56 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Explicitly (Build)Require pkgconfig(harfbuzz) for 13.1+
+- Explicitly activate system-harfbuzz, system-freetype and
+  fontconfig options
+- Drop clucene-core-devel and giflib-devel Build(Requires): unused
+- Drop pkgconfig(atspi-2) (Build)Requires: external libatspi2 is not
+  used during build time (see qtbase commit 4c1c820)
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.cE0mxH/_old  2014-01-05 11:30:46.0 +0100
+++ /var/tmp/diff_new_pack.cE0mxH/_new  2014-01-05 11:30:46.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libqt5-qtbase
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,9 @@
 
 Name:   libqt5-qtbase
 BuildRequires:  alsa-devel
-BuildRequires:  at-spi2-core-devel
 BuildRequires:  cups-devel
 BuildRequires:  fdupes
-BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
-BuildRequires:  giflib-devel
 BuildRequires:  libjpeg-devel
 BuildRequires:  libmng-devel
 BuildRequires:  libmysqlclient-devel
@@ -37,17 +34,26 @@
 BuildRequires:  unixODBC-devel
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(egl)
+BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(gl)
 %ifarch %arm
 BuildRequires:  pkgconfig(gbm)
 BuildRequires:  pkgconfig(glesv2)
 %endif
+BuildRequires:  libicu-devel
+BuildRequires:  libpulse-devel
+BuildRequires:  libudev-devel
 BuildRequires:  xcb-util-image-devel
 BuildRequires:  xcb-util-keysyms-devel
 BuildRequires:  xcb-util-renderutil-devel
 BuildRequires:  xcb-util-wm-devel
+BuildRequires:  xorg-x11-devel
+BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
+%if 0%{?suse_version} >= 1310
+BuildRequires:  pkgconfig(harfbuzz)
+%endif
 BuildRequires:  pkgconfig(ice)
 BuildRequires:  pkgconfig(sm)
 BuildRequires:  pkgconfig(xkbcommon) >= 0.2.0
@@ -82,12 +88,6 @@
 Patch1001:  0002-Fix-configure-script-to-not-dictate-OpenGL-ES-2-when.patch
 Patch1002:  0003-EGL-convenience-deal-with-DefaultRenderableType-when.patch
 Patch1003:  0004-Do-not-disable-egl-on-desktop-gl-automatically.patch
-BuildRequires:  clucene-core-devel
-BuildRequires:  libicu-devel
-BuildRequires:  libpulse-devel
-BuildRequires:  libudev-devel
-BuildRequires:  xorg-x11-devel
-BuildRequires:  xz
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -131,11 +131,8 @@
 Summary:Qt Development Kit
 Group:  Development/Libraries/X11
 Requires:   alsa-devel
-Requires:   at-spi2-core-devel
 Requires:   c++_compiler
 Requires:   cups-devel
-Requires:   freetype2-devel
-Requires:   giflib-devel
 Requires:   libQt5Concurrent5 = %{version}
 Requires:   libQt5Core5 = %{version}
 Requires:   libQt5DBus5 = %{version}
@@ -161,6 +158,7 @@
 Requires:   sqlite3-devel
 Requires:   pkgconfig(dbus-1)
 Requires:   pkgconfig(egl)
+Requires:   pkgconfig(freetype2)
 Requires:   pkgconfig(gl)
 %ifarch %arm
 Requires:   pkgconfig(gbm)
@@ -176,6 +174,9 @@
 Requires:   xorg-x11-devel
 Requires:   zlib-devel
 Requires:   pkgconfig(glib-2.0)
+%if 0%{?suse_version} >= 1310
+Requires:   pkgconfig(harfbuzz)
+%endif
 Requires:   pkgconfig(ice)
 Requires:   pkgconfig(sm)
 Requires:   pkgconfig(xkbcommon) >= 0.2.0
@@ -378,6 +379,11 @@
-system-libjpeg \
-openssl-linked \
-system-libpng \
+%if 0%{?suse_version} >= 1310
+   -system-harfbuzz \
+%endif
+   -fontconfig \
+   -system-freetype \
-cups \
-nis \
-system-zlib \


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libqt5-qtbase for openSUSE:Factory

2013-12-23 Thread h_root
Hello community,

here is the log from the commit of package libqt5-qtbase for openSUSE:Factory 
checked in at 2013-12-23 12:32:29

Comparing /work/SRC/openSUSE:Factory/libqt5-qtbase (Old)
 and  /work/SRC/openSUSE:Factory/.libqt5-qtbase.new (New)


Package is "libqt5-qtbase"

Changes:

--- /work/SRC/openSUSE:Factory/libqt5-qtbase/libqt5-qtbase.changes  
2013-12-17 06:52:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.libqt5-qtbase.new/libqt5-qtbase.changes 
2013-12-23 12:32:30.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec 12 14:54:22 UTC 2013 - uweig...@de.ibm.com
+
+- Do not force -javascript-jit on ppc platforms that do not support it.
+
+---



Other differences:
--
++ libqt5-qtbase.spec ++
--- /var/tmp/diff_new_pack.T7pev3/_old  2013-12-23 12:32:31.0 +0100
+++ /var/tmp/diff_new_pack.T7pev3/_new  2013-12-23 12:32:31.0 +0100
@@ -390,7 +390,9 @@
-xsync \
-xinput \
-gtkstyle \
+%ifnarch ppc ppc64 ppc64le
-javascript-jit \
+%endif
-xcb \
-egl \
-eglfs \


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



  1   2   >