forked from pool/libqt5-qtbase
Accepting request 508314 from KDE:Qt5
- Recommend libqt5-qttranslations in libQt5Core5 (boo#1027925) - Fix typo in description (boo#1043338) - 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 OBS-URL: https://build.opensuse.org/request/show/508314 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase?expand=0&rev=61
This commit is contained in:
parent
048abb8e9c
commit
82c1b4e916
26
0001-Fix-at-spi2-build.patch
Normal file
26
0001-Fix-at-spi2-build.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 54325809cc8e5e6939649f6c6f43fe13de0e0470 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||||
|
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/configure.json
|
||||||
|
@@ -434,7 +434,7 @@
|
||||||
|
"features": {
|
||||||
|
"accessibility-atspi-bridge": {
|
||||||
|
"label": "ATSPI Bridge",
|
||||||
|
- "condition": "features.accessibility && features.xcb && features.dbus && config.atspi",
|
||||||
|
+ "condition": "features.accessibility && features.xcb && features.dbus && libs.atspi",
|
||||||
|
"output": [ "privateFeature", "feature" ]
|
||||||
|
},
|
||||||
|
"angle": {
|
||||||
|
--
|
||||||
|
2.13.0
|
||||||
|
|
@ -14,11 +14,11 @@ Change-Id: I824025f54d6faf853da88e4dfcb092b577b4df04
|
|||||||
src/corelib/io/qsavefile.cpp | 3 ++-
|
src/corelib/io/qsavefile.cpp | 3 ++-
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/src/corelib/io/qsavefile.cpp b/src/corelib/io/qsavefile.cpp
|
Index: qtbase-opensource-src-5.9.1/src/corelib/io/qsavefile.cpp
|
||||||
index 5a325f8e2c..af90b96d82 100644
|
===================================================================
|
||||||
--- a/src/corelib/io/qsavefile.cpp
|
--- qtbase-opensource-src-5.9.1.orig/src/corelib/io/qsavefile.cpp
|
||||||
+++ b/src/corelib/io/qsavefile.cpp
|
+++ qtbase-opensource-src-5.9.1/src/corelib/io/qsavefile.cpp
|
||||||
@@ -216,7 +216,8 @@ bool QSaveFile::open(OpenMode mode)
|
@@ -232,7 +232,8 @@ bool QSaveFile::open(OpenMode mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
d->fileEngine = new QTemporaryFileEngine;
|
d->fileEngine = new QTemporaryFileEngine;
|
||||||
@ -28,6 +28,3 @@ index 5a325f8e2c..af90b96d82 100644
|
|||||||
// Same as in QFile: QIODevice provides the buffering, so there's no need to request it from the file engine.
|
// Same as in QFile: QIODevice provides the buffering, so there's no need to request it from the file engine.
|
||||||
if (!d->fileEngine->open(mode | QIODevice::Unbuffered)) {
|
if (!d->fileEngine->open(mode | QIODevice::Unbuffered)) {
|
||||||
QFileDevice::FileError err = d->fileEngine->error();
|
QFileDevice::FileError err = d->fileEngine->error();
|
||||||
--
|
|
||||||
2.12.2
|
|
||||||
|
|
||||||
|
@ -1,100 +0,0 @@
|
|||||||
From 32390f49291308eb85dcbcaa898bbf825a2eb229 Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?utf8?q?Tor=20Arne=20Vestb=C3=B8?= <tor.arne.vestbo@qt.io>
|
|
||||||
Date: Fri, 2 Jun 2017 11:09:55 +0200
|
|
||||||
Subject: [PATCH] xcb: Don't destroy foreign windows
|
|
||||||
|
|
||||||
We can't rely on virtual dispatch in the destructor.
|
|
||||||
|
|
||||||
Task-number: QTBUG-61140
|
|
||||||
Change-Id: Ib1026caf126095778c24254775cb5a0bfecf3a38
|
|
||||||
---
|
|
||||||
src/plugins/platforms/xcb/qxcbintegration.cpp | 18 +-----------------
|
|
||||||
src/plugins/platforms/xcb/qxcbwindow.cpp | 16 ++++++++++------
|
|
||||||
src/plugins/platforms/xcb/qxcbwindow.h | 12 ++++++++++++
|
|
||||||
3 files changed, 23 insertions(+), 23 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp b/src/plugins/platforms/xcb/qxcbintegration.cpp
|
|
||||||
index b414bee..8e3ee20 100644
|
|
||||||
--- a/src/plugins/platforms/xcb/qxcbintegration.cpp
|
|
||||||
+++ b/src/plugins/platforms/xcb/qxcbintegration.cpp
|
|
||||||
@@ -214,25 +214,9 @@ QPlatformWindow *QXcbIntegration::createPlatformWindow(QWindow *window) const
|
|
||||||
return xcbWindow;
|
|
||||||
}
|
|
||||||
|
|
||||||
-class QXcbForeignWindow : public QXcbWindow
|
|
||||||
-{
|
|
||||||
-public:
|
|
||||||
- QXcbForeignWindow(QWindow *window, WId nativeHandle)
|
|
||||||
- : QXcbWindow(window) { m_window = nativeHandle; }
|
|
||||||
- ~QXcbForeignWindow() {}
|
|
||||||
- bool isForeignWindow() const override { return true; }
|
|
||||||
-
|
|
||||||
-protected:
|
|
||||||
- // No-ops
|
|
||||||
- void create() override {}
|
|
||||||
- void destroy() override {}
|
|
||||||
-};
|
|
||||||
-
|
|
||||||
QPlatformWindow *QXcbIntegration::createForeignWindow(QWindow *window, WId nativeHandle) const
|
|
||||||
{
|
|
||||||
- QXcbWindow *xcbWindow = new QXcbForeignWindow(window, nativeHandle);
|
|
||||||
- xcbWindow->create();
|
|
||||||
- return xcbWindow;
|
|
||||||
+ return new QXcbForeignWindow(window, nativeHandle);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef QT_NO_OPENGL
|
|
||||||
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp
|
|
||||||
index 289d072..d6c69d5 100644
|
|
||||||
--- a/src/plugins/platforms/xcb/qxcbwindow.cpp
|
|
||||||
+++ b/src/plugins/platforms/xcb/qxcbwindow.cpp
|
|
||||||
@@ -597,13 +597,17 @@ QXcbWindow::~QXcbWindow()
|
|
||||||
}
|
|
||||||
|
|
||||||
destroy();
|
|
||||||
+}
|
|
||||||
|
|
||||||
- if (isForeignWindow()) {
|
|
||||||
- if (connection()->mouseGrabber() == this)
|
|
||||||
- connection()->setMouseGrabber(Q_NULLPTR);
|
|
||||||
- if (connection()->mousePressWindow() == this)
|
|
||||||
- connection()->setMousePressWindow(Q_NULLPTR);
|
|
||||||
- }
|
|
||||||
+QXcbForeignWindow::~QXcbForeignWindow()
|
|
||||||
+{
|
|
||||||
+ // Clear window so that destroy() does not affect it
|
|
||||||
+ m_window = 0;
|
|
||||||
+
|
|
||||||
+ if (connection()->mouseGrabber() == this)
|
|
||||||
+ connection()->setMouseGrabber(nullptr);
|
|
||||||
+ if (connection()->mousePressWindow() == this)
|
|
||||||
+ connection()->setMousePressWindow(nullptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
void QXcbWindow::destroy()
|
|
||||||
diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h
|
|
||||||
index 5662809..f38343b 100644
|
|
||||||
--- a/src/plugins/platforms/xcb/qxcbwindow.h
|
|
||||||
+++ b/src/plugins/platforms/xcb/qxcbwindow.h
|
|
||||||
@@ -278,6 +278,18 @@ protected:
|
|
||||||
xcb_cursor_t m_currentBitmapCursor = XCB_CURSOR_NONE;
|
|
||||||
};
|
|
||||||
|
|
||||||
+class QXcbForeignWindow : public QXcbWindow
|
|
||||||
+{
|
|
||||||
+public:
|
|
||||||
+ QXcbForeignWindow(QWindow *window, WId nativeHandle)
|
|
||||||
+ : QXcbWindow(window) { m_window = nativeHandle; }
|
|
||||||
+ ~QXcbForeignWindow();
|
|
||||||
+ bool isForeignWindow() const override { return true; }
|
|
||||||
+
|
|
||||||
+protected:
|
|
||||||
+ void create() override {} // No-op
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
QT_END_NAMESPACE
|
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QXcbWindow*)
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
|||||||
From cb4bc34cb150d02889f5be2e54074e4e864b18ae Mon Sep 17 00:00:00 2001
|
|
||||||
From: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
|
|
||||||
Date: Mon, 22 May 2017 11:17:28 +0200
|
|
||||||
Subject: [PATCH] fix module version number in qt modules' cmake config files
|
|
||||||
|
|
||||||
this actually just makes the code more straight-forward.
|
|
||||||
|
|
||||||
amends f8607045c.
|
|
||||||
|
|
||||||
Task-number: QTBUG-60936
|
|
||||||
Change-Id: Iaa05b474206cf29352f9bba516936ff30b90a778
|
|
||||||
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
|
|
||||||
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
||||||
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|
||||||
---
|
|
||||||
mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
|
||||||
index 4f342d6..17da8b9 100644
|
|
||||||
--- a/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
|
||||||
+++ b/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in
|
|
||||||
@@ -35,7 +35,7 @@ set(_qt5$${CMAKE_MODULE_NAME}_install_prefix \"$$[QT_INSTALL_PREFIX]\")
|
|
||||||
|
|
||||||
!!IF !equals(TEMPLATE, aux)
|
|
||||||
# For backwards compatibility only. Use Qt5$${CMAKE_MODULE_NAME}_VERSION instead.
|
|
||||||
-set(Qt5$${CMAKE_MODULE_NAME}_VERSION_STRING "$$eval(QT.$${MODULE}.MAJOR_VERSION).$$eval(QT.$${MODULE}.MINOR_VERSION).$$eval(QT.$${MODULE}.PATCH_VERSION)")
|
|
||||||
+set(Qt5$${CMAKE_MODULE_NAME}_VERSION_STRING "$$eval(QT.$${MODULE}.VERSION)")
|
|
||||||
|
|
||||||
set(Qt5$${CMAKE_MODULE_NAME}_LIBRARIES Qt5::$${CMAKE_MODULE_NAME})
|
|
||||||
!!ENDIF // TEMPLATE != aux
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -2,9 +2,11 @@
|
|||||||
src/gui/text/qtextengine.cpp | 1 +
|
src/gui/text/qtextengine.cpp | 1 +
|
||||||
1 file changed, 1 insertion(+)
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
--- a/src/gui/text/qtextengine.cpp
|
Index: qtbase-opensource-src-5.9.1/src/gui/text/qtextengine.cpp
|
||||||
+++ b/src/gui/text/qtextengine.cpp
|
===================================================================
|
||||||
@@ -1640,6 +1640,7 @@ void QTextEngine::itemize() const
|
--- qtbase-opensource-src-5.9.1.orig/src/gui/text/qtextengine.cpp
|
||||||
|
+++ qtbase-opensource-src-5.9.1/src/gui/text/qtextengine.cpp
|
||||||
|
@@ -1723,6 +1723,7 @@ void QTextEngine::itemize() const
|
||||||
case QChar::Script_Katakana:
|
case QChar::Script_Katakana:
|
||||||
case QChar::Script_Bopomofo:
|
case QChar::Script_Bopomofo:
|
||||||
case QChar::Script_Han:
|
case QChar::Script_Han:
|
||||||
|
@ -11,11 +11,11 @@ whether the connection is local/remote from display name is not 100% reliable,
|
|||||||
but worked fine for years in Qt4.
|
but worked fine for years in Qt4.
|
||||||
|
|
||||||
Signed-off-by: Michal Srb <msrb@suse.com>
|
Signed-off-by: Michal Srb <msrb@suse.com>
|
||||||
diff --git a/src/plugins/platforms/xcb/qxcbbackingstore.cpp b/src/plugins/platforms/xcb/qxcbbackingstore.cpp
|
Index: qtbase-opensource-src-5.9.1/src/plugins/platforms/xcb/qxcbbackingstore.cpp
|
||||||
index dc677cd..4cd249e 100644
|
===================================================================
|
||||||
--- a/src/plugins/platforms/xcb/qxcbbackingstore.cpp
|
--- qtbase-opensource-src-5.9.1.orig/src/plugins/platforms/xcb/qxcbbackingstore.cpp
|
||||||
+++ b/src/plugins/platforms/xcb/qxcbbackingstore.cpp
|
+++ qtbase-opensource-src-5.9.1/src/plugins/platforms/xcb/qxcbbackingstore.cpp
|
||||||
@@ -118,7 +118,8 @@ QXcbShmImage::QXcbShmImage(QXcbScreen *s
|
@@ -178,7 +178,8 @@ QXcbShmImage::QXcbShmImage(QXcbScreen *s
|
||||||
m_shm_info.shmseg = xcb_generate_id(xcb_connection());
|
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);
|
const xcb_query_extension_reply_t *shm_reply = xcb_get_extension_data(xcb_connection(), &xcb_shm_id);
|
||||||
@ -25,11 +25,11 @@ index dc677cd..4cd249e 100644
|
|||||||
xcb_generic_error_t *error = NULL;
|
xcb_generic_error_t *error = NULL;
|
||||||
if (shm_present)
|
if (shm_present)
|
||||||
error = xcb_request_check(xcb_connection(), xcb_shm_attach_checked(xcb_connection(), m_shm_info.shmseg, m_shm_info.shmid, false));
|
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: qtbase-opensource-src-5.9.1/src/plugins/platforms/xcb/qxcbobject.h
|
||||||
index 354984c..2ecb5e7 100644
|
===================================================================
|
||||||
--- a/src/plugins/platforms/xcb/qxcbobject.h
|
--- qtbase-opensource-src-5.9.1.orig/src/plugins/platforms/xcb/qxcbobject.h
|
||||||
+++ b/src/plugins/platforms/xcb/qxcbobject.h
|
+++ qtbase-opensource-src-5.9.1/src/plugins/platforms/xcb/qxcbobject.h
|
||||||
@@ -48,6 +48,7 @@ public:
|
@@ -54,6 +54,7 @@ public:
|
||||||
|
|
||||||
xcb_atom_t atom(QXcbAtom::Atom atom) const { return m_connection->atom(atom); }
|
xcb_atom_t atom(QXcbAtom::Atom atom) const { return m_connection->atom(atom); }
|
||||||
xcb_connection_t *xcb_connection() const { return m_connection->xcb_connection(); }
|
xcb_connection_t *xcb_connection() const { return m_connection->xcb_connection(); }
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
--- a/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
Index: qtbase-opensource-src-5.9.1/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
||||||
+++ b/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
===================================================================
|
||||||
@@ -766,9 +766,11 @@ QStringList QGenericUnixTheme::themeName
|
--- qtbase-opensource-src-5.9.1.orig/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
||||||
|
+++ qtbase-opensource-src-5.9.1/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
||||||
|
@@ -828,7 +828,9 @@ QStringList QGenericUnixTheme::themeName
|
||||||
result.push_back(QLatin1String(QKdeTheme::name));
|
result.push_back(QLatin1String(QKdeTheme::name));
|
||||||
#endif
|
#endif
|
||||||
} else if (gtkBasedEnvironments.contains(desktopName)) {
|
} else if (gtkBasedEnvironments.contains(desktopName)) {
|
||||||
@ -11,5 +13,3 @@
|
|||||||
result.push_back(QStringLiteral("gtk3"));
|
result.push_back(QStringLiteral("gtk3"));
|
||||||
// fallback to the generic Gnome theme if loading the GTK3 theme fails
|
// fallback to the generic Gnome theme if loading the GTK3 theme fails
|
||||||
result.push_back(QLatin1String(QGnomeTheme::name));
|
result.push_back(QLatin1String(QGnomeTheme::name));
|
||||||
} else {
|
|
||||||
// unknown, but lowercase the name (our standard practice) and
|
|
||||||
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 5 10:36:58 UTC 2017 - fabian@ritter-vogt.de
|
||||||
|
|
||||||
|
- Recommend libqt5-qttranslations in libQt5Core5 (boo#1027925)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 2 19:39:15 UTC 2017 - fabian@ritter-vogt.de
|
||||||
|
|
||||||
|
- Fix typo in description (boo#1043338)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 1 07:41:09 UTC 2017 - lbeltrame@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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 22 15:02:38 UTC 2017 - fabian@ritter-vogt.de
|
Thu Jun 22 15:02:38 UTC 2017 - fabian@ritter-vogt.de
|
||||||
|
|
||||||
|
@ -26,15 +26,15 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: libqt5-qtbase
|
Name: libqt5-qtbase
|
||||||
Version: 5.9.0
|
Version: 5.9.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ Program Library, Core Components
|
Summary: C++ Program Library, Core Components
|
||||||
License: GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
|
License: GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: https://www.qt.io
|
Url: https://www.qt.io
|
||||||
%define base_name libqt5
|
%define base_name libqt5
|
||||||
%define real_version 5.9.0
|
%define real_version 5.9.1
|
||||||
%define so_version 5.9.0
|
%define so_version 5.9.1
|
||||||
%define tar_version qtbase-opensource-src-%{real_version}
|
%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
|
Source: https://download.qt.io/official_releases/qt/5.9/%{real_version}/submodules/%{tar_version}.tar.xz
|
||||||
# to get mtime of file:
|
# to get mtime of file:
|
||||||
@ -58,13 +58,9 @@ Patch11: de63bbd2f806b0219a60775017899cedb121581f.patch
|
|||||||
Patch12: 0001-Add-remote-print-queue-support.patch
|
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
|
# 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
|
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 #
|
# 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 #
|
# patches 2000-3000 and above from upstream 5.10/dev branch #
|
||||||
BuildRequires: alsa-devel
|
BuildRequires: alsa-devel
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
@ -154,9 +150,7 @@ handling.
|
|||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p1
|
%patch12 -p1
|
||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
%patch1000 -p1
|
%patch14 -p1
|
||||||
%patch1001 -p1
|
|
||||||
%patch1002 -p1
|
|
||||||
|
|
||||||
# be sure not to use them
|
# be sure not to use them
|
||||||
rm -rf src/3rdparty/{libjpeg,freetype,zlib}
|
rm -rf src/3rdparty/{libjpeg,freetype,zlib}
|
||||||
@ -202,6 +196,7 @@ Summary: Qt 5 Core Library
|
|||||||
Group: Development/Libraries/X11
|
Group: Development/Libraries/X11
|
||||||
Provides: libqt5-qtbase = %{version}
|
Provides: libqt5-qtbase = %{version}
|
||||||
Obsoletes: libqt5-qtbase < %{version}
|
Obsoletes: libqt5-qtbase < %{version}
|
||||||
|
Recommends: libqt5-qttranslations
|
||||||
|
|
||||||
%description -n libQt5Core5
|
%description -n libQt5Core5
|
||||||
The Qt 5 Core library.
|
The Qt 5 Core library.
|
||||||
@ -256,7 +251,7 @@ Requires: libQt5Core-devel = %{version}
|
|||||||
Requires: libQt5DBus5 = %{version}
|
Requires: libQt5DBus5 = %{version}
|
||||||
|
|
||||||
%description -n libQt5DBus-devel
|
%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.
|
Qt5's qdbusxml2cpp and qdbuscpp2xml binaries.
|
||||||
|
|
||||||
%package -n libQt5DBus-private-headers-devel
|
%package -n libQt5DBus-private-headers-devel
|
||||||
@ -770,6 +765,7 @@ echo yes | ./configure $platform \
|
|||||||
%if %journald
|
%if %journald
|
||||||
-journald \
|
-journald \
|
||||||
%endif
|
%endif
|
||||||
|
-libproxy \
|
||||||
-xcb \
|
-xcb \
|
||||||
-egl \
|
-egl \
|
||||||
-eglfs \
|
-eglfs \
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
From 9ff4abfb4a2a76b2ed0f664876955a9ab3a5b726 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
||||||
Date: Thu, 1 Jun 2017 17:45:02 +0200
|
|
||||||
Subject: [PATCH] Adjust offset of native children according to device pixel
|
|
||||||
ratio
|
|
||||||
|
|
||||||
Otherwise the wrong background can be used.
|
|
||||||
|
|
||||||
Task-number: QTBUG-59017
|
|
||||||
Change-Id: Iccbe9cd9704bccbceda4c8dafe87435b68b5cf3e
|
|
||||||
---
|
|
||||||
src/gui/painting/qplatformbackingstore.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/gui/painting/qplatformbackingstore.cpp b/src/gui/painting/qplatformbackingstore.cpp
|
|
||||||
index b8bbdef..b88dd76 100644
|
|
||||||
--- a/src/gui/painting/qplatformbackingstore.cpp
|
|
||||||
+++ b/src/gui/painting/qplatformbackingstore.cpp
|
|
||||||
@@ -394,7 +394,7 @@ void QPlatformBackingStore::composeAndFlush(QWindow *window, const QRegion ®i
|
|
||||||
d_ptr->blitter->setRedBlueSwizzle(true);
|
|
||||||
// The backingstore is for the entire tlw.
|
|
||||||
// In case of native children offset tells the position relative to the tlw.
|
|
||||||
- const QRect srcRect = toBottomLeftRect(deviceWindowRect.translated(offset), d_ptr->textureSize.height());
|
|
||||||
+ const QRect srcRect = toBottomLeftRect(deviceWindowRect.translated(offset * window->devicePixelRatio()), d_ptr->textureSize.height());
|
|
||||||
const QMatrix3x3 source = QOpenGLTextureBlitter::sourceTransform(srcRect,
|
|
||||||
d_ptr->textureSize,
|
|
||||||
origin);
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:267eb2af1a203c087f2113f43b08014d0e2d2cb269295b8602d869a2fad5296c
|
|
||||||
size 44893232
|
|
3
qtbase-opensource-src-5.9.1.tar.xz
Normal file
3
qtbase-opensource-src-5.9.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bc9a21e9f6fff9629019fdf9f989f064751d5073c3a28dc596def92f4d4275c6
|
||||||
|
size 45350452
|
Loading…
Reference in New Issue
Block a user