[arch-commits] Commit in deepin-qt5integration/trunk (PKGBUILD qt5.7.1.patch)

Felix Yan felixonmars at archlinux.org
Thu Oct 26 04:28:09 UTC 2017


    Date: Thursday, October 26, 2017 @ 04:28:08
  Author: felixonmars
Revision: 264335

upgpkg: deepin-qt5integration 0.2.6-1

Modified:
  deepin-qt5integration/trunk/PKGBUILD
Deleted:
  deepin-qt5integration/trunk/qt5.7.1.patch

---------------+
 PKGBUILD      |    9 +++------
 qt5.7.1.patch |   24 ------------------------
 2 files changed, 3 insertions(+), 30 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-26 04:23:31 UTC (rev 264334)
+++ PKGBUILD	2017-10-26 04:28:08 UTC (rev 264335)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=deepin-qt5integration
-pkgver=0.2.5
+pkgver=0.2.6
 pkgrel=1
 pkgdesc='Deepin Qt5 platform plugin'
 arch=('i686' 'x86_64')
@@ -13,14 +13,11 @@
 replaces=('qt5dxcb-plugin')
 conflicts=('qt5dxcb-plugin')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5integration/archive/$pkgver.tar.gz"
-        qt5.7.1.patch)
-sha512sums=('70127543e5b14efd1960793513889b948662128148c6eb9c6bf95f3e950d6d030f59e0f3c3707d83ad1f43599057dcd132b7fcae1d4985ad2354c2db5fd14685'
-            '1f94c0925deb6659721ced265d690b5d058c8e8482cadfad572efe4a0d1888ba42bb214de5d8c29236087d96c4ab7266c5fb1c8eeeb7b30cef6c3708744e1f0a')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5integration/archive/$pkgver.tar.gz")
+sha512sums=('fe4e48ff384572e9097f13dd82ab99bfc9af6ed2dbb08534e264aa33faa9dec02b3f96c158a952aa2b838bba05a0b019d6c7d6a5ae509a531e428b4961a783bd')
 
 prepare() {
   cd qt5integration-$pkgver
-  patch -p1 -i ../qt5.7.1.patch
 
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += /usr/include/qtxcb-private|' platformplugin/linux.pri

Deleted: qt5.7.1.patch
===================================================================
--- qt5.7.1.patch	2017-10-26 04:23:31 UTC (rev 264334)
+++ qt5.7.1.patch	2017-10-26 04:28:08 UTC (rev 264335)
@@ -1,24 +0,0 @@
-commit 774ffb89733232b8728b897b58db3eab6c7a6e05
-Author: Felix Yan <felixonmars at archlinux.org>
-Date:   Wed Oct 25 21:48:23 2017 +0800
-
-    fix: compatibility with Qt 5.7.1+
-    
-    Change-Id: I484234a2008597a728dbe167f578e84c550602c3
-
-diff --git a/platformplugin/dplatformintegration.cpp b/platformplugin/dplatformintegration.cpp
-index caa36c4..ca84e4a 100644
---- a/platformplugin/dplatformintegration.cpp
-+++ b/platformplugin/dplatformintegration.cpp
-@@ -543,7 +543,11 @@ static void overrideChangeCursor(QPlatformCursor *cursorHandle, QCursor * cursor
-             it = xcb_cursor->m_cursorHash.insert(key, overrideCreateFontCursor(xcb_cursor, cursor, widget));
-         }
-         c = it.value();
-+#if QT_VERSION < QT_VERSION_CHECK(5, 7, 1)
-         w->setCursor(c);
-+#else
-+        w->setCursor(c, false);
-+#endif
-     }
- 
-     VtableHook::callOriginalFun(cursorHandle, &QPlatformCursor::changeCursor, cursor, widget);



More information about the arch-commits mailing list