[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2020-04-25 Thread Felix Yan via arch-commits
Date: Sunday, April 26, 2020 @ 03:52:06
  Author: felixonmars
Revision: 621342

upgpkg: deepin-qt5dxcb-plugin 5.0.11-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-26 03:51:36 UTC (rev 621341)
+++ PKGBUILD2020-04-26 03:52:06 UTC (rev 621342)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=5.0.1
-pkgrel=6
+pkgver=5.0.11
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('6ef1e6cf771fb68a907f76ecf779fe7daaa8891d5263c0c89365d3f5bc67f6d30550e40103f5909cdc7392c9653f2baf5f85287565535c177ff35e01f8be31a7')
+sha512sums=('a53a9445b8c84de47c3a1f50e111de11d43f3998638b0ead7deffc6766e0cc3f989f01835e77ac6dc78415805d49a6d17ca061783b9ced8617ded2d0849b808c')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver
@@ -18,6 +18,8 @@
 
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' platformplugin/linux.pri
+
+  sed -i 's/active = VtableHook::overrideVfptrFun.*/active = 1;/' 
platformplugin/dhighdpi.cpp
 }
 
 build() {


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-07-29 Thread Felix Yan via arch-commits
Date: Tuesday, July 30, 2019 @ 01:42:07
  Author: felixonmars
Revision: 494751

upgpkg: deepin-qt5dxcb-plugin 5.0.1-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-07-30 01:41:29 UTC (rev 494750)
+++ PKGBUILD2019-07-30 01:42:07 UTC (rev 494751)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.2.6
+pkgver=5.0.1
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('504ff833a09d48f374058d0426ae79b468417366c1378e518834f874f299dfd940c0e98a1f6a8da6dd0e7341422b5aac6983998e7928881b94af3389a98131c1')
+sha512sums=('6ef1e6cf771fb68a907f76ecf779fe7daaa8891d5263c0c89365d3f5bc67f6d30550e40103f5909cdc7392c9653f2baf5f85287565535c177ff35e01f8be31a7')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-06-27 Thread Felix Yan via arch-commits
Date: Thursday, June 27, 2019 @ 08:19:49
  Author: felixonmars
Revision: 484807

upgpkg: deepin-qt5dxcb-plugin 1.2.5-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-27 08:19:42 UTC (rev 484806)
+++ PKGBUILD2019-06-27 08:19:49 UTC (rev 484807)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.2.2
-pkgrel=3
+pkgver=1.2.5
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -12,7 +12,7 @@
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
 deepin-qt5dxcb-plugin-qt5.13.patch)
-sha512sums=('1889804d45fbb325be0dec6f40150a7190c1850a8343b8e3964c51fe1354455a88707ca684d1db28baa910aef9e5218129b6159a079d82f29adbb1a24e754daa'
+sha512sums=('3dfcf74ed749ccffb2986430908fba93cd77a7626c649a7c51b0b32e407571b1b7d82ebf9866777070ff25357e4378f041da0ce7481ee4d4e63a08b583685feb'
 
'6ff5dc34d32a923a390b65e01270e7fa186dac3dd1562a1d9be3a292666ef2392574105483c8f8150a7ab9a98ffcaa21c0b65ad44f2e8314804bed28aa0b8073')
 
 prepare() {


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-05-29 Thread Felix Yan via arch-commits
Date: Wednesday, May 29, 2019 @ 16:30:57
  Author: felixonmars
Revision: 474384

upgpkg: deepin-qt5dxcb-plugin 1.2.2-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-29 16:29:15 UTC (rev 474383)
+++ PKGBUILD2019-05-29 16:30:57 UTC (rev 474384)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.2.1
+pkgver=1.2.2
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('6e37cb55cf878adaab73bb97944e1958b58c76f4e56c08130be22d2b388536be67a0707e930d186ee5576470b4efdda00a4c4bdccee0f0776d114507133bc828')
+sha512sums=('1889804d45fbb325be0dec6f40150a7190c1850a8343b8e3964c51fe1354455a88707ca684d1db28baa910aef9e5218129b6159a079d82f29adbb1a24e754daa')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-05-23 Thread Felix Yan via arch-commits
Date: Thursday, May 23, 2019 @ 13:41:58
  Author: felixonmars
Revision: 469346

upgpkg: deepin-qt5dxcb-plugin 1.2.1-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-23 13:40:34 UTC (rev 469345)
+++ PKGBUILD2019-05-23 13:41:58 UTC (rev 469346)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.2.0
+pkgver=1.2.1
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('e924e60a6e3b80ba40b7ca2b4c38ac07f3b23bfa7f9357893a826e545bd87f230b366162f9aaa4e7b4ca2493483e7b51771bd6fa4040f96356a005c021ff69c5')
+sha512sums=('6e37cb55cf878adaab73bb97944e1958b58c76f4e56c08130be22d2b388536be67a0707e930d186ee5576470b4efdda00a4c4bdccee0f0776d114507133bc828')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-05-09 Thread Felix Yan via arch-commits
Date: Thursday, May 9, 2019 @ 06:24:08
  Author: felixonmars
Revision: 463891

upgpkg: deepin-qt5dxcb-plugin 1.2.0-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-05-09 06:24:04 UTC (rev 463890)
+++ PKGBUILD2019-05-09 06:24:08 UTC (rev 463891)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.27
+pkgver=1.2.0
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('2048a66cb1eb3253ebdd84f7f7196823483f080cd3c3e92e693e468a8930e1178b29ad91fa1e297632855e2ad037233a348d916b9c8516ee2b8182e9397e1244')
+sha512sums=('e924e60a6e3b80ba40b7ca2b4c38ac07f3b23bfa7f9357893a826e545bd87f230b366162f9aaa4e7b4ca2493483e7b51771bd6fa4040f96356a005c021ff69c5')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt-5.12.patch)

2019-04-23 Thread Felix Yan via arch-commits
Date: Tuesday, April 23, 2019 @ 18:29:12
  Author: felixonmars
Revision: 453196

upgpkg: deepin-qt5dxcb-plugin 1.1.27-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD
Deleted:
  deepin-qt5dxcb-plugin/trunk/qt-5.12.patch

---+
 PKGBUILD  |   11 +++--
 qt-5.12.patch |   68 
 2 files changed, 4 insertions(+), 75 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-23 18:25:04 UTC (rev 453195)
+++ PKGBUILD2019-04-23 18:29:12 UTC (rev 453196)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.26.1
-pkgrel=2
+pkgver=1.1.27
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -10,14 +10,11 @@
 depends=('cairo' 'qt5-x11extras')
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
-qt-5.12.patch)
-sha512sums=('2ea04b16b24f8284df7a76bf15c361a134bc326ac674d5e85fc9a5aaa34cf4026746e5d62374c0381a6e30fb87d5c4ce051ff42195a73f5b7707cf6b9282db0f'
-
'0fc5d30bd9541e79db8991a2332ad0db6640d95067416f7b11c4cd7b6c1be2788e8f13f1ef989ddcd5ca57e3b798ac76d15d0f3081a811b6a7b6af7e0d39b691')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
+sha512sums=('2048a66cb1eb3253ebdd84f7f7196823483f080cd3c3e92e693e468a8930e1178b29ad91fa1e297632855e2ad037233a348d916b9c8516ee2b8182e9397e1244')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver
-  patch -p1 -i ../qt-5.12.patch
 
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' platformplugin/linux.pri

Deleted: qt-5.12.patch
===
--- qt-5.12.patch   2019-04-23 18:25:04 UTC (rev 453195)
+++ qt-5.12.patch   2019-04-23 18:29:12 UTC (rev 453196)
@@ -1,68 +0,0 @@
-commit 1caec58eff37ae23a9461c74362a1c31ef0d2d86
-Author: Felix Yan 
-Date:   Sun Apr 21 03:01:16 2019 +0800
-
-fix: compatibility with Qt 5.12+
-
-Change-Id: Ied6745da56fa3a873d66a2d8e5385cd17c2fb273
-
-diff --git a/platformplugin/xcbnativeeventfilter.cpp 
b/platformplugin/xcbnativeeventfilter.cpp
-index 9df7d33..fc3045a 100644
 a/platformplugin/xcbnativeeventfilter.cpp
-+++ b/platformplugin/xcbnativeeventfilter.cpp
-@@ -90,7 +90,7 @@ bool XcbNativeEventFilter::nativeEventFilter(const 
QByteArray , void *
- #if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
- if (response_type == m_connection->xfixes_first_event + 
XCB_XFIXES_SELECTION_NOTIFY) {
- #else
--if (response_type == m_connection->m_xfixesFirstEvent + 
XCB_XFIXES_SELECTION_NOTIFY) {
-+if (m_connection->isXFixesType(response_type, 
XCB_XFIXES_SELECTION_NOTIFY)) {
- #endif
- xcb_xfixes_selection_notify_event_t *xsn = 
(xcb_xfixes_selection_notify_event_t *)event;
- 
-@@ -227,8 +227,13 @@ bool XcbNativeEventFilter::nativeEventFilter(const 
QByteArray , void *
- #endif
- default:
- static auto updateScaleLogcailDpi = 
qApp->property("_d_updateScaleLogcailDpi").toULongLong();
-+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
- if (updateScaleLogcailDpi && 
DPlatformIntegration::xcbConnection()->has_randr_extension
- && response_type == 
DPlatformIntegration::xcbConnection()->xrandr_first_event + XCB_RANDR_NOTIFY) {
-+#else
-+if (updateScaleLogcailDpi && 
DPlatformIntegration::xcbConnection()->hasXRender()
-+&& 
DPlatformIntegration::xcbConnection()->isXRandrType(response_type, 
XCB_RANDR_NOTIFY)) {
-+#endif
- xcb_randr_notify_event_t *e = 
reinterpret_cast(event);
- xcb_randr_output_change_t output = e->u.oc;
- 
-commit f5fe61fb6a641f8f34f6e916b6dda27657266646
-Author: Felix Yan 
-Date:   Sun Apr 21 03:15:51 2019 +0800
-
-fix: do not use methods because symbols are not exported
-
-Change-Id: Icfd0ad87bc01f69a8e9cc2ec9e38ee27be54c016
-
-diff --git a/platformplugin/xcbnativeeventfilter.cpp 
b/platformplugin/xcbnativeeventfilter.cpp
-index fc3045a..abf3d0a 100644
 a/platformplugin/xcbnativeeventfilter.cpp
-+++ b/platformplugin/xcbnativeeventfilter.cpp
-@@ -90,7 +90,8 @@ bool XcbNativeEventFilter::nativeEventFilter(const 
QByteArray , void *
- #if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
- if (response_type == m_connection->xfixes_first_event + 
XCB_XFIXES_SELECTION_NOTIFY) {
- #else
--if (m_connection->isXFixesType(response_type, 
XCB_XFIXES_SELECTION_NOTIFY)) {
-+// cannot use isXFixesType because symbols from QXcbBasicConnection are 
not exported
-+if (response_type == m_connection->m_xfixesFirstEvent + 
XCB_XFIXES_SELECTION_NOTIFY) {
- #endif
- xcb_xfixes_selection_notify_event_t *xsn = 

[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-04-22 Thread Felix Yan via arch-commits
Date: Monday, April 22, 2019 @ 09:17:33
  Author: felixonmars
Revision: 452876

upgpkg: deepin-qt5dxcb-plugin 1.1.26.1-2

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-22 09:17:14 UTC (rev 452875)
+++ PKGBUILD2019-04-22 09:17:33 UTC (rev 452876)
@@ -2,7 +2,7 @@
 
 pkgname=deepin-qt5dxcb-plugin
 pkgver=1.1.26.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-04-22 Thread Felix Yan via arch-commits
Date: Monday, April 22, 2019 @ 09:09:34
  Author: felixonmars
Revision: 452870

upgpkg: deepin-qt5dxcb-plugin 1.1.26.1-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-22 09:07:51 UTC (rev 452869)
+++ PKGBUILD2019-04-22 09:09:34 UTC (rev 452870)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.26
-pkgrel=3
+pkgver=1.1.26.1
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -12,7 +12,7 @@
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
 qt-5.12.patch)
-sha512sums=('8f796366d235437360c021c66c3532c2bb7e0f388acd89e1d4c20fbadf4734661d0aec19fdcf5ed4e299826d63cbdfb90def42305709ece10ba6efe55684e159'
+sha512sums=('2ea04b16b24f8284df7a76bf15c361a134bc326ac674d5e85fc9a5aaa34cf4026746e5d62374c0381a6e30fb87d5c4ce051ff42195a73f5b7707cf6b9282db0f'
 
'0fc5d30bd9541e79db8991a2332ad0db6640d95067416f7b11c4cd7b6c1be2788e8f13f1ef989ddcd5ca57e3b798ac76d15d0f3081a811b6a7b6af7e0d39b691')
 
 prepare() {


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt-5.12.patch)

2019-04-20 Thread Felix Yan via arch-commits
Date: Saturday, April 20, 2019 @ 19:17:17
  Author: felixonmars
Revision: 452278

upgpkg: deepin-qt5dxcb-plugin 1.1.26-2

fix patch

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD
  deepin-qt5dxcb-plugin/trunk/qt-5.12.patch

---+
 PKGBUILD  |4 ++--
 qt-5.12.patch |   33 +
 2 files changed, 35 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-20 19:16:51 UTC (rev 452277)
+++ PKGBUILD2019-04-20 19:17:17 UTC (rev 452278)
@@ -2,7 +2,7 @@
 
 pkgname=deepin-qt5dxcb-plugin
 pkgver=1.1.26
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -13,7 +13,7 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
 qt-5.12.patch)
 
sha512sums=('8f796366d235437360c021c66c3532c2bb7e0f388acd89e1d4c20fbadf4734661d0aec19fdcf5ed4e299826d63cbdfb90def42305709ece10ba6efe55684e159'
-
'cd7ee42ab6b46ecf13b1f6e14bb33f0c1f241017307f716d6e38f3d330bd56ce0d78690e9d606a1da6a32aa4ab3684d3a792abea3dc7b8fe8d43a1bc43d6f24e')
+
'0fc5d30bd9541e79db8991a2332ad0db6640d95067416f7b11c4cd7b6c1be2788e8f13f1ef989ddcd5ca57e3b798ac76d15d0f3081a811b6a7b6af7e0d39b691')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver

Modified: qt-5.12.patch
===
--- qt-5.12.patch   2019-04-20 19:16:51 UTC (rev 452277)
+++ qt-5.12.patch   2019-04-20 19:17:17 UTC (rev 452278)
@@ -33,3 +33,36 @@
  xcb_randr_notify_event_t *e = 
reinterpret_cast(event);
  xcb_randr_output_change_t output = e->u.oc;
  
+commit f5fe61fb6a641f8f34f6e916b6dda27657266646
+Author: Felix Yan 
+Date:   Sun Apr 21 03:15:51 2019 +0800
+
+fix: do not use methods because symbols are not exported
+
+Change-Id: Icfd0ad87bc01f69a8e9cc2ec9e38ee27be54c016
+
+diff --git a/platformplugin/xcbnativeeventfilter.cpp 
b/platformplugin/xcbnativeeventfilter.cpp
+index fc3045a..abf3d0a 100644
+--- a/platformplugin/xcbnativeeventfilter.cpp
 b/platformplugin/xcbnativeeventfilter.cpp
+@@ -90,7 +90,8 @@ bool XcbNativeEventFilter::nativeEventFilter(const 
QByteArray , void *
+ #if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
+ if (response_type == m_connection->xfixes_first_event + 
XCB_XFIXES_SELECTION_NOTIFY) {
+ #else
+-if (m_connection->isXFixesType(response_type, 
XCB_XFIXES_SELECTION_NOTIFY)) {
++// cannot use isXFixesType because symbols from QXcbBasicConnection are 
not exported
++if (response_type == m_connection->m_xfixesFirstEvent + 
XCB_XFIXES_SELECTION_NOTIFY) {
+ #endif
+ xcb_xfixes_selection_notify_event_t *xsn = 
(xcb_xfixes_selection_notify_event_t *)event;
+ 
+@@ -231,8 +232,9 @@ bool XcbNativeEventFilter::nativeEventFilter(const 
QByteArray , void *
+ if (updateScaleLogcailDpi && 
DPlatformIntegration::xcbConnection()->has_randr_extension
+ && response_type == 
DPlatformIntegration::xcbConnection()->xrandr_first_event + XCB_RANDR_NOTIFY) {
+ #else
++// cannot use isXRandrType because symbols from 
QXcbBasicConnection are not exported
+ if (updateScaleLogcailDpi && 
DPlatformIntegration::xcbConnection()->hasXRender()
+-&& 
DPlatformIntegration::xcbConnection()->isXRandrType(response_type, 
XCB_RANDR_NOTIFY)) {
++&& response_type == 
DPlatformIntegration::xcbConnection()->m_xrandrFirstEvent + XCB_RANDR_NOTIFY) {
+ #endif
+ xcb_randr_notify_event_t *e = 
reinterpret_cast(event);
+ xcb_randr_output_change_t output = e->u.oc;


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt-5.12.patch)

2019-04-20 Thread Felix Yan via arch-commits
Date: Saturday, April 20, 2019 @ 19:03:48
  Author: felixonmars
Revision: 452262

upgpkg: deepin-qt5dxcb-plugin 1.1.26-1

Added:
  deepin-qt5dxcb-plugin/trunk/qt-5.12.patch
Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

---+
 PKGBUILD  |9 ++---
 qt-5.12.patch |   35 +++
 2 files changed, 41 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-04-20 19:03:32 UTC (rev 452261)
+++ PKGBUILD2019-04-20 19:03:48 UTC (rev 452262)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.25
+pkgver=1.1.26
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -10,11 +10,14 @@
 depends=('cairo' 'qt5-x11extras')
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('112ed64d9f0d6c1fd421edd1f401f22c03c31d793c51d1f7085c20ee63177cf579ad7c0ac9d602708e1bf3df3033096b19ec99e092299f9e39b0356ee25f389c')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
+qt-5.12.patch)
+sha512sums=('8f796366d235437360c021c66c3532c2bb7e0f388acd89e1d4c20fbadf4734661d0aec19fdcf5ed4e299826d63cbdfb90def42305709ece10ba6efe55684e159'
+
'cd7ee42ab6b46ecf13b1f6e14bb33f0c1f241017307f716d6e38f3d330bd56ce0d78690e9d606a1da6a32aa4ab3684d3a792abea3dc7b8fe8d43a1bc43d6f24e')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver
+  patch -p1 -i ../qt-5.12.patch
 
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' platformplugin/linux.pri

Added: qt-5.12.patch
===
--- qt-5.12.patch   (rev 0)
+++ qt-5.12.patch   2019-04-20 19:03:48 UTC (rev 452262)
@@ -0,0 +1,35 @@
+commit 1caec58eff37ae23a9461c74362a1c31ef0d2d86
+Author: Felix Yan 
+Date:   Sun Apr 21 03:01:16 2019 +0800
+
+fix: compatibility with Qt 5.12+
+
+Change-Id: Ied6745da56fa3a873d66a2d8e5385cd17c2fb273
+
+diff --git a/platformplugin/xcbnativeeventfilter.cpp 
b/platformplugin/xcbnativeeventfilter.cpp
+index 9df7d33..fc3045a 100644
+--- a/platformplugin/xcbnativeeventfilter.cpp
 b/platformplugin/xcbnativeeventfilter.cpp
+@@ -90,7 +90,7 @@ bool XcbNativeEventFilter::nativeEventFilter(const 
QByteArray , void *
+ #if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
+ if (response_type == m_connection->xfixes_first_event + 
XCB_XFIXES_SELECTION_NOTIFY) {
+ #else
+-if (response_type == m_connection->m_xfixesFirstEvent + 
XCB_XFIXES_SELECTION_NOTIFY) {
++if (m_connection->isXFixesType(response_type, 
XCB_XFIXES_SELECTION_NOTIFY)) {
+ #endif
+ xcb_xfixes_selection_notify_event_t *xsn = 
(xcb_xfixes_selection_notify_event_t *)event;
+ 
+@@ -227,8 +227,13 @@ bool XcbNativeEventFilter::nativeEventFilter(const 
QByteArray , void *
+ #endif
+ default:
+ static auto updateScaleLogcailDpi = 
qApp->property("_d_updateScaleLogcailDpi").toULongLong();
++#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
+ if (updateScaleLogcailDpi && 
DPlatformIntegration::xcbConnection()->has_randr_extension
+ && response_type == 
DPlatformIntegration::xcbConnection()->xrandr_first_event + XCB_RANDR_NOTIFY) {
++#else
++if (updateScaleLogcailDpi && 
DPlatformIntegration::xcbConnection()->hasXRender()
++&& 
DPlatformIntegration::xcbConnection()->isXRandrType(response_type, 
XCB_RANDR_NOTIFY)) {
++#endif
+ xcb_randr_notify_event_t *e = 
reinterpret_cast(event);
+ xcb_randr_output_change_t output = e->u.oc;
+ 


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-03-27 Thread Felix Yan via arch-commits
Date: Wednesday, March 27, 2019 @ 12:00:58
  Author: felixonmars
Revision: 444257

upgpkg: deepin-qt5dxcb-plugin 1.1.25-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-03-27 11:59:53 UTC (rev 444256)
+++ PKGBUILD2019-03-27 12:00:58 UTC (rev 444257)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.24
-pkgrel=2
+pkgver=1.1.25
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('cd555bad95a3b51f04f1d119f053c40aa48213073a13d88299a2d334ad6da8fec58a205c52e0fe7efc6f0879dcb7faf20e8ed345fc9b574621748d4a4cf63a19')
+sha512sums=('112ed64d9f0d6c1fd421edd1f401f22c03c31d793c51d1f7085c20ee63177cf579ad7c0ac9d602708e1bf3df3033096b19ec99e092299f9e39b0356ee25f389c')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-01-25 Thread Felix Yan via arch-commits
Date: Friday, January 25, 2019 @ 14:51:07
  Author: felixonmars
Revision: 427772

upgpkg: deepin-qt5dxcb-plugin 1.1.23-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-25 14:50:54 UTC (rev 427771)
+++ PKGBUILD2019-01-25 14:51:07 UTC (rev 427772)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.22
+pkgver=1.1.23
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('a186a4757fb066b102f23807a4cefef130fdfe49de29a341bcfb8241c65cbafff43256fa1b6c434b8a33f99e43acc48424ff0b43e9f0a75d866cdec0244eff5b')
+sha512sums=('d53f5635cf852ee0a271caf057e68853eb8fa9b24819bbf87ccac53e29fc255925c8d5b3fde68a6cc6ef7e5d8ba208e53d95ad1d9916e9e0b326feeaea46e8f1')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2019-01-03 Thread Felix Yan via arch-commits
Date: Thursday, January 3, 2019 @ 20:45:29
  Author: felixonmars
Revision: 420359

upgpkg: deepin-qt5dxcb-plugin 1.1.22-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-01-03 20:45:23 UTC (rev 420358)
+++ PKGBUILD2019-01-03 20:45:29 UTC (rev 420359)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.21
+pkgver=1.1.22
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('9a7bb606e6db80e421d241853065a63c12a25ed455f9669319ab38d783baf9210c725d4b56bb4ec4e765b5eac7e75366c3e4836285e45cf6bec720e61ca4d1ba')
+sha512sums=('a186a4757fb066b102f23807a4cefef130fdfe49de29a341bcfb8241c65cbafff43256fa1b6c434b8a33f99e43acc48424ff0b43e9f0a75d866cdec0244eff5b')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-12-28 Thread Felix Yan via arch-commits
Date: Friday, December 28, 2018 @ 15:50:20
  Author: felixonmars
Revision: 418653

upgpkg: deepin-qt5dxcb-plugin 1.1.21-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-28 15:34:24 UTC (rev 418652)
+++ PKGBUILD2018-12-28 15:50:20 UTC (rev 418653)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.20
+pkgver=1.1.21
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('b13ad5d6f8d6956b9fe4cd294f67ee2310e6c6dc3503c8d9b5822328f5f8c23ec398da9a43611ecb8b89c8f82b112a13eca7d0c73b68c104460cb1d709442da0')
+sha512sums=('9a7bb606e6db80e421d241853065a63c12a25ed455f9669319ab38d783baf9210c725d4b56bb4ec4e765b5eac7e75366c3e4836285e45cf6bec720e61ca4d1ba')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt5.12.patch)

2018-12-09 Thread Felix Yan via arch-commits
Date: Monday, December 10, 2018 @ 00:32:01
  Author: felixonmars
Revision: 413551

upgpkg: deepin-qt5dxcb-plugin 1.1.15-4

update the qt patch

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD
  deepin-qt5dxcb-plugin/trunk/qt5.12.patch

--+
 PKGBUILD |4 ++--
 qt5.12.patch |   41 -
 2 files changed, 22 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-10 00:31:57 UTC (rev 413550)
+++ PKGBUILD2018-12-10 00:32:01 UTC (rev 413551)
@@ -2,7 +2,7 @@
 
 pkgname=deepin-qt5dxcb-plugin
 pkgver=1.1.15
-pkgrel=3
+pkgrel=4
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -13,7 +13,7 @@
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
 qt5.12.patch)
 
sha512sums=('1abe72003872b63a202e83476e3cb15ad838b92fad050e669b963b33abb90681a312a2cac2f24996675b4e6a7d8ab77589eceebb5f72b83d3268cec681f13644'
-
'd90ea080bae5fd8ec4068a942d48548ba3284b1553e7fa2d0eb8f3de7e84b75b630a438d4d433fc9b794f0aeee99145f9d3a22c2ecf5c3076b29bb634858e551')
+
'7a2446c7f7b5176eb8119eef252fd620988b9cf1b2a0907651b3e0646cf5450f921a3dcb74a2d3fee9c85e17a4c9cfc89c490ffee4ab8aac6399d11599759dc9')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver

Modified: qt5.12.patch
===
--- qt5.12.patch2018-12-10 00:31:57 UTC (rev 413550)
+++ qt5.12.patch2018-12-10 00:32:01 UTC (rev 413551)
@@ -1,21 +1,23 @@
-commit 509c540aae4c8af46d8b38b2e971194f345fa6e3
-Author: Felix Yan 
-Date:   Thu Dec 6 18:32:05 2018 +0800
+From 5e6c084c90f16e2ff245dffe36202eadda8aaa44 Mon Sep 17 00:00:00 2001
+From: Felix Yan 
+Date: Thu, 06 Dec 2018 18:32:05 +0800
+Subject: [PATCH] Fix compilation under Qt 5.12
 
-Fix compilation under Qt 5.12
-
-Change-Id: I73566dc0686fe8607731dbb1b918429b8b15bd2a
+Change-Id: I73566dc0686fe8607731dbb1b918429b8b15bd2a
+---
 
 diff --git a/platformplugin/dforeignplatformwindow_x11.cpp 
b/platformplugin/dforeignplatformwindow_x11.cpp
-index 330f1d0..d9cc3e9 100644
+index 330f1d0..e4b10a5 100644
 --- a/platformplugin/dforeignplatformwindow_x11.cpp
 +++ b/platformplugin/dforeignplatformwindow_x11.cpp
-@@ -148,7 +148,9 @@ void 
DForeignPlatformWindow::handleConfigureNotifyEvent(const xcb_configure_noti
+@@ -148,7 +148,11 @@
  // will make the comparison later.
  QWindowSystemInterface::handleWindowScreenChanged(window(), 
newScreen->screen());
  
 +#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
  if (m_usingSyncProtocol && m_syncState == SyncReceived)
++#else
++if (connection()->hasXSync() && m_syncState == SyncReceived)
 +#endif
  m_syncState = SyncAndConfigureReceived;
  
@@ -24,7 +26,7 @@
 index 1a1dc33..70ae12a 100644
 --- a/platformplugin/dplatformbackingstorehelper.cpp
 +++ b/platformplugin/dplatformbackingstorehelper.cpp
-@@ -169,7 +169,12 @@ void DPlatformBackingStoreHelper::resize(const QSize 
, const QRegion 
+@@ -169,7 +169,12 @@
  VtableHook::callOriginalFun(this->backingStore(), 
::resize, size, staticContents);
  
  QXcbBackingStore *bs = static_cast(backingStore());
@@ -3830,7 +3832,7 @@
 index bfe8d41..59113c1 100644
 --- a/platformplugin/linux.pri
 +++ b/platformplugin/linux.pri
-@@ -28,14 +28,27 @@ contains(QT_CONFIG, xcb-xlib)|qtConfig(xcb-xlib) {
+@@ -28,14 +28,27 @@
  DEFINES += XCB_USE_XLIB
  QMAKE_USE += xcb_xlib
  
@@ -3866,10 +3868,10 @@
  }
  }
 diff --git a/platformplugin/windoweventhook.cpp 
b/platformplugin/windoweventhook.cpp
-index 14196e4..f0efcef 100644
+index 14196e4..cc01757 100644
 --- a/platformplugin/windoweventhook.cpp
 +++ b/platformplugin/windoweventhook.cpp
-@@ -275,8 +275,8 @@ void WindowEventHook::handleClientMessageEvent(const 
xcb_client_message_event_t
+@@ -275,8 +275,8 @@
  const QUrl  = dropData->property("DirectSaveUrl").toUrl();
  
  if (url.isValid() && drag->xdnd_dragsource) {
@@ -3880,7 +3882,7 @@
  QByteArray basename = 
Utility::windowProperty(drag->xdnd_dragsource, XdndDirectSaveAtom, textAtom, 
1024);
  QByteArray fileUri = url.toString().toLocal8Bit() + "/" + 
basename;
  
-@@ -538,7 +538,11 @@ void WindowEventHook::handleXIEnterLeave(xcb_ge_event_t 
*event)
+@@ -538,7 +538,11 @@
  me->QXcbWindow::handleXIEnterLeave(event);
  }
  
@@ -3892,15 +3894,12 @@
  {
  switch (event->type()) {
  case QEvent::DragEnter:
-@@ -557,7 +561,11 @@ void WindowEventHook::windowEvent(QEvent *event)
+@@ -557,7 +561,7 @@
  
  QXcbWindow *window = 
static_cast(reinterpret_cast(this));
  
-+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
- window->QXcbWindow::windowEvent(event);
-+#else
+-window->QXcbWindow::windowEvent(event);
 +return window->QXcbWindow::windowEvent(event);
-+#endif
  }
  #endif
  
@@ -3908,7 +3907,7 @@
 

[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt5.12.patch)

2018-12-06 Thread Felix Yan via arch-commits
Date: Thursday, December 6, 2018 @ 10:33:35
  Author: felixonmars
Revision: 411693

upgpkg: deepin-qt5dxcb-plugin 1.1.15-2

Added:
  deepin-qt5dxcb-plugin/trunk/qt5.12.patch
Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   11 ++--
 qt5.12.patch |  143 +
 2 files changed, 150 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-12-06 09:20:28 UTC (rev 411692)
+++ PKGBUILD2018-12-06 10:33:35 UTC (rev 411693)
@@ -2,7 +2,7 @@
 
 pkgname=deepin-qt5dxcb-plugin
 pkgver=1.1.15
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -10,14 +10,17 @@
 depends=('cairo' 'qt5-x11extras')
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('1abe72003872b63a202e83476e3cb15ad838b92fad050e669b963b33abb90681a312a2cac2f24996675b4e6a7d8ab77589eceebb5f72b83d3268cec681f13644')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
+qt5.12.patch)
+sha512sums=('1abe72003872b63a202e83476e3cb15ad838b92fad050e669b963b33abb90681a312a2cac2f24996675b4e6a7d8ab77589eceebb5f72b83d3268cec681f13644'
+
'5ffe224a6aa6e5f215362af93b3faa2f1902092460469cafd82ea434f1127cc3f0f8b782dee55d3c8fd223e898f5c94f2fe93222ce69b8519a29d003b39d9f48')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver
+  patch -p1 -i ../qt5.12.patch
+
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' platformplugin/linux.pri
-  sed -e 's|xinput2|xcb-xinput|g' -e 's|QMAKE_USE += xcb-xinput|QMAKE_USE += 
xcb_xinput|' -i platformplugin/linux.pri # Fix build with Qt 5.12
 }
 
 build() {

Added: qt5.12.patch
===
--- qt5.12.patch(rev 0)
+++ qt5.12.patch2018-12-06 10:33:35 UTC (rev 411693)
@@ -0,0 +1,143 @@
+diff --git a/platformplugin/dforeignplatformwindow_x11.cpp 
b/platformplugin/dforeignplatformwindow_x11.cpp
+index 330f1d0..d9cc3e9 100644
+--- a/platformplugin/dforeignplatformwindow_x11.cpp
 b/platformplugin/dforeignplatformwindow_x11.cpp
+@@ -148,7 +148,9 @@ void 
DForeignPlatformWindow::handleConfigureNotifyEvent(const xcb_configure_noti
+ // will make the comparison later.
+ QWindowSystemInterface::handleWindowScreenChanged(window(), 
newScreen->screen());
+ 
++#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
+ if (m_usingSyncProtocol && m_syncState == SyncReceived)
++#endif
+ m_syncState = SyncAndConfigureReceived;
+ 
+ m_dirtyFrameMargins = true;
+diff --git a/platformplugin/dplatformbackingstorehelper.cpp 
b/platformplugin/dplatformbackingstorehelper.cpp
+index 1a1dc33..70ae12a 100644
+--- a/platformplugin/dplatformbackingstorehelper.cpp
 b/platformplugin/dplatformbackingstorehelper.cpp
+@@ -169,7 +169,12 @@ void DPlatformBackingStoreHelper::resize(const QSize 
, const QRegion 
+ VtableHook::callOriginalFun(this->backingStore(), 
::resize, size, staticContents);
+ 
+ QXcbBackingStore *bs = static_cast(backingStore());
++#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
+ QXcbShmImage *shm_image = reinterpret_cast(bs->m_image);
++#else
++struct _QXcbBackingStore { QImage *m_image; }; // Expose m_image
++QXcbShmImage *shm_image = 
reinterpret_cast(reinterpret_cast<_QXcbBackingStore*>(  
)->m_image);
++#endif
+ 
+ if (shm_image->m_shm_info.shmaddr) {
+ DPlatformWindowHelper *window_helper = 
DPlatformWindowHelper::mapped.value(bs->window()->handle());
+diff --git a/platformplugin/linux.pri b/platformplugin/linux.pri
+index bfe8d41..81224c3 100644
+--- a/platformplugin/linux.pri
 b/platformplugin/linux.pri
+@@ -28,14 +28,27 @@ contains(QT_CONFIG, xcb-xlib)|qtConfig(xcb-xlib) {
+ DEFINES += XCB_USE_XLIB
+ QMAKE_USE += xcb_xlib
+ 
+-contains(QT_CONFIG, xinput2)|qtConfig(xinput2) {
+-DEFINES += XCB_USE_XINPUT2
+-QMAKE_USE += xinput2
++greaterThan(QT_MINOR_VERSION, 11) {
++contains(QT_CONFIG, xcb-xinput)|qtConfig(xcb-xinput) {
++DEFINES += XCB_USE_XINPUT2
++QMAKE_USE += xcb_xinput
+ 
+-!isEmpty(QMAKE_LIBXI_VERSION_MAJOR) {
+-DEFINES += LIBXI_MAJOR=$$QMAKE_LIBXI_VERSION_MAJOR \
+-   LIBXI_MINOR=$$QMAKE_LIBXI_VERSION_MINOR \
+-   LIBXI_PATCH=$$QMAKE_LIBXI_VERSION_PATCH
++!isEmpty(QMAKE_LIBXI_VERSION_MAJOR) {
++DEFINES += LIBXI_MAJOR=$$QMAKE_LIBXI_VERSION_MAJOR \
++   LIBXI_MINOR=$$QMAKE_LIBXI_VERSION_MINOR \
++   LIBXI_PATCH=$$QMAKE_LIBXI_VERSION_PATCH
++}
++}
++} else 

[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-11-30 Thread Felix Yan via arch-commits
Date: Friday, November 30, 2018 @ 15:04:46
  Author: felixonmars
Revision: 410624

upgpkg: deepin-qt5dxcb-plugin 1.1.15-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-30 15:04:37 UTC (rev 410623)
+++ PKGBUILD2018-11-30 15:04:46 UTC (rev 410624)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.14
+pkgver=1.1.15
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('4be9265620d4f97348a440ac56e999c41c78f70adb7442bb410e2f90d8e656bb72e8e36f9a2f0c7a1ab51150bd97fde220f24bd3b641f7182a70ca4cfb2a54f0')
+sha512sums=('1abe72003872b63a202e83476e3cb15ad838b92fad050e669b963b33abb90681a312a2cac2f24996675b4e6a7d8ab77589eceebb5f72b83d3268cec681f13644')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-11-19 Thread Felix Yan via arch-commits
Date: Monday, November 19, 2018 @ 08:15:43
  Author: felixonmars
Revision: 408760

upgpkg: deepin-qt5dxcb-plugin 1.1.14-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-19 08:15:28 UTC (rev 408759)
+++ PKGBUILD2018-11-19 08:15:43 UTC (rev 408760)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.13
+pkgver=1.1.14
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('19a013069e74eb5d797334bf91c10a27e2868d6a1715bb1fbdf1fe5fcbefd401bef9c7d0310433aa360c9605bb9c61d34055edc6091f63481a6eb0593a18c05c')
+sha512sums=('4be9265620d4f97348a440ac56e999c41c78f70adb7442bb410e2f90d8e656bb72e8e36f9a2f0c7a1ab51150bd97fde220f24bd3b641f7182a70ca4cfb2a54f0')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-11-08 Thread Felix Yan via arch-commits
Date: Thursday, November 8, 2018 @ 17:29:40
  Author: felixonmars
Revision: 404135

upgpkg: deepin-qt5dxcb-plugin 1.1.13-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-11-08 17:29:22 UTC (rev 404134)
+++ PKGBUILD2018-11-08 17:29:40 UTC (rev 404135)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.12
+pkgver=1.1.13
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('81fa45c6136cd8f6d8221652b9f4dbf5dc1ea9bcf5e01c14495e2b144f6d4502f6b8b8fdcd7c01c109590acd06ddafdfd68b073c0577318a4278a20162f3aca0')
+sha512sums=('19a013069e74eb5d797334bf91c10a27e2868d6a1715bb1fbdf1fe5fcbefd401bef9c7d0310433aa360c9605bb9c61d34055edc6091f63481a6eb0593a18c05c')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-10-25 Thread Felix Yan via arch-commits
Date: Thursday, October 25, 2018 @ 13:39:26
  Author: felixonmars
Revision: 398949

upgpkg: deepin-qt5dxcb-plugin 1.1.12-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-10-25 13:39:22 UTC (rev 398948)
+++ PKGBUILD2018-10-25 13:39:26 UTC (rev 398949)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.11
-pkgrel=2
+pkgver=1.1.12
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -11,7 +11,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('f0c5c9ea7c3b7e8a60efdd47c2d29f75de791c54a7a37bd9f80161b5607b650d83646e7728c1c2e00854be859d07a35443659fe292d7c0a4cf7dcaac0d5d8cbc')
+sha512sums=('81fa45c6136cd8f6d8221652b9f4dbf5dc1ea9bcf5e01c14495e2b144f6d4502f6b8b8fdcd7c01c109590acd06ddafdfd68b073c0577318a4278a20162f3aca0')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-08-06 Thread Felix Yan via arch-commits
Date: Tuesday, August 7, 2018 @ 03:16:48
  Author: felixonmars
Revision: 369989

upgpkg: deepin-qt5dxcb-plugin 1.1.11-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-08-07 03:15:52 UTC (rev 369988)
+++ PKGBUILD2018-08-07 03:16:48 UTC (rev 369989)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.10
+pkgver=1.1.11
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('18cf0f9b2c9bc27000ba7868316d8c6107a256ed2c43282c4df8aab28db6c7df7bed2cdd616e866e080e35a46b15df2740c693fc6cab212ddc0fb7445f17b2f9')
+sha512sums=('f0c5c9ea7c3b7e8a60efdd47c2d29f75de791c54a7a37bd9f80161b5607b650d83646e7728c1c2e00854be859d07a35443659fe292d7c0a4cf7dcaac0d5d8cbc')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-07-31 Thread Felix Yan via arch-commits
Date: Tuesday, July 31, 2018 @ 06:38:10
  Author: felixonmars
Revision: 365047

upgpkg: deepin-qt5dxcb-plugin 1.1.10-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-31 06:36:37 UTC (rev 365046)
+++ PKGBUILD2018-07-31 06:38:10 UTC (rev 365047)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.9.2
+pkgver=1.1.10
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('080511ca67b88cc1535700ef1aff1da7ab0645f6ebcae251351301bcb983ca093f82f7cda2c6db614fa9098ae5e7f83869f023b8abc7f94969a4c2b842d6319a')
+sha512sums=('18cf0f9b2c9bc27000ba7868316d8c6107a256ed2c43282c4df8aab28db6c7df7bed2cdd616e866e080e35a46b15df2740c693fc6cab212ddc0fb7445f17b2f9')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-07-19 Thread Felix Yan via arch-commits
Date: Thursday, July 19, 2018 @ 10:35:57
  Author: felixonmars
Revision: 362392

upgpkg: deepin-qt5dxcb-plugin 1.1.9.2-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-19 10:22:47 UTC (rev 362391)
+++ PKGBUILD2018-07-19 10:35:57 UTC (rev 362392)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.9.1
+pkgver=1.1.9.2
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('75c721a2016979a8b05c082426ff8e139df2106e86b482a447dcc5cf4e0339cce85710da5e4819d9d040ce796d9832cb47117594cb464253b395dd94d254fd3c')
+sha512sums=('080511ca67b88cc1535700ef1aff1da7ab0645f6ebcae251351301bcb983ca093f82f7cda2c6db614fa9098ae5e7f83869f023b8abc7f94969a4c2b842d6319a')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-06-25 Thread Felix Yan via arch-commits
Date: Tuesday, June 26, 2018 @ 04:10:39
  Author: felixonmars
Revision: 346054

upgpkg: deepin-qt5dxcb-plugin 1.1.9.1-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-26 04:09:20 UTC (rev 346053)
+++ PKGBUILD2018-06-26 04:10:39 UTC (rev 346054)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.9
+pkgver=1.1.9.1
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('98cef971790e24b894a3468710449e50de78b753720ef2f4144208cff55456064fdf8cc689cb373c8379da76c634deab2cd340a4bbc3ea64dd77f6368b5bbcdb')
+sha512sums=('75c721a2016979a8b05c082426ff8e139df2106e86b482a447dcc5cf4e0339cce85710da5e4819d9d040ce796d9832cb47117594cb464253b395dd94d254fd3c')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt5.10.patch)

2018-06-22 Thread Felix Yan via arch-commits
Date: Friday, June 22, 2018 @ 15:13:37
  Author: felixonmars
Revision: 344642

upgpkg: deepin-qt5dxcb-plugin 1.1.8.8-3

fix qt 5.10+ compatibility

Added:
  deepin-qt5dxcb-plugin/trunk/qt5.10.patch
Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   11 ++
 qt5.10.patch |   60 +
 2 files changed, 67 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-22 15:04:17 UTC (rev 344641)
+++ PKGBUILD2018-06-22 15:13:37 UTC (rev 344642)
@@ -3,19 +3,22 @@
 
 pkgname=deepin-qt5dxcb-plugin
 pkgver=1.1.8.8
-pkgrel=2
+pkgrel=3
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
 license=('GPL3')
 depends=('cairo' 'qt5-x11extras')
-makedepends=('qt5-xcb-private-headers')
+makedepends=('qt5-xcb-private-headers' 'libglvnd')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('0b083cf60e4765f3e402b29b1f3b29e17e0b957609868eac3292dbe2796c6ab5cda98a28b85572083c9aae35ab7a99d4579ec6681827516c6bd610de79d6ccc6')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
+qt5.10.patch)
+sha512sums=('0b083cf60e4765f3e402b29b1f3b29e17e0b957609868eac3292dbe2796c6ab5cda98a28b85572083c9aae35ab7a99d4579ec6681827516c6bd610de79d6ccc6'
+
'e3a661f0a14f19f66372cd9bc4326c246373422ea3ccae5158fb32501458f3717b3b4c7cca65f4268e1a9f03df950bf239ff481e47565414c804a951efa4a9cd')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver
+  patch -p1 -i ../qt5.10.patch
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' platformplugin/linux.pri
 }

Added: qt5.10.patch
===
--- qt5.10.patch(rev 0)
+++ qt5.10.patch2018-06-22 15:13:37 UTC (rev 344642)
@@ -0,0 +1,60 @@
+From ee6ebb4a416c386ec1d32460a2caa0d486d7547b Mon Sep 17 00:00:00 2001
+From: zccrs 
+Date: Tue, 19 Jun 2018 16:57:26 +0800
+Subject: [PATCH] fix: crash when add scroll device
+
+Qt Version >= 5.10.0
+
+Change-Id: I03dd073031f68c34061d817d2610b6dfd4316062
+---
+
+diff --git a/platformplugin/xcbnativeeventfilter.cpp 
b/platformplugin/xcbnativeeventfilter.cpp
+index 62018c9..d032631 100644
+--- a/platformplugin/xcbnativeeventfilter.cpp
 b/platformplugin/xcbnativeeventfilter.cpp
+@@ -181,6 +181,7 @@
+ return false;
+ }
+ 
++#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
+ xXIDeviceChangedEvent *xiDCEvent = 
reinterpret_cast(xiEvent);
+ QHash::iterator device 
= xcb_connect->m_scrollingDevices.find(xiDCEvent->sourceid);
+ 
+@@ -191,23 +192,22 @@
+ return false;
+ }
+ 
+-
+ for (int c = 0; c < xiDeviceInfo->num_classes; ++c) {
+ if (xiDeviceInfo->classes[c]->type == XIScrollClass) {
+ XIScrollClassInfo *sci = 
reinterpret_cast(xiDeviceInfo->classes[c]);
+ 
+ if (sci->scroll_type == XIScrollTypeVertical) {
+-device->legacyOrientations = device->orientations;
+-device->orientations |= Qt::Vertical;
+-device->verticalIndex = sci->number;
++//device->legacyOrientations = 
device->orientations;
++//device->orientations |= Qt::Vertical;
++//device->verticalIndex = sci->number;
+ device->verticalIncrement = 
std::signbit(sci->increment)
+ ? -std::abs(device->verticalIncrement)
+ : std::abs(device->verticalIncrement);
+ }
+ else if (sci->scroll_type == XIScrollTypeHorizontal) {
+-device->legacyOrientations = device->orientations;
+-device->orientations |= Qt::Horizontal;
+-device->horizontalIndex = sci->number;
++//device->legacyOrientations = 
device->orientations;
++//device->orientations |= Qt::Horizontal;
++//device->horizontalIndex = sci->number;
+ device->horizontalIncrement = 
std::signbit(sci->increment)
+ ? -std::abs(device->horizontalIncrement)
+ : std::abs(device->horizontalIncrement);
+@@ -216,6 +216,7 @@
+ }
+ 
+ XIFreeDeviceInfo(xiDeviceInfo);
++#endif
+ }
+ break;
+ }


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt-5.11.patch)

2018-06-06 Thread Felix Yan via arch-commits
Date: Thursday, June 7, 2018 @ 04:26:00
  Author: felixonmars
Revision: 341575

upgpkg: deepin-qt5dxcb-plugin 1.1.8.8-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD
Deleted:
  deepin-qt5dxcb-plugin/trunk/qt-5.11.patch

---+
 PKGBUILD  |   12 
 qt-5.11.patch |   49 -
 2 files changed, 4 insertions(+), 57 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-06-07 04:25:52 UTC (rev 341574)
+++ PKGBUILD2018-06-07 04:26:00 UTC (rev 341575)
@@ -2,8 +2,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.8.6
-pkgrel=2
+pkgver=1.1.8.8
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -11,15 +11,11 @@
 depends=('cairo' 'qt5-x11extras')
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
-qt-5.11.patch)
-sha512sums=('c8fd99d299e4867a69c4c846ea444861a5bdf8c711d7d9015ec8626f3cd2d3471b7cf78c60aa22a93d318bf82bc42598ca59f784cc29793b70c9f49ec5c7a0b2'
-
'e076c590a15f43df729eb28d92c510d80ffbdd312b769179b53ca0b364d9b8232d0f14927b11a6626bcd14bea952d07a24505fb82bd0867174a76f9c937a2c32')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
+sha512sums=('0b083cf60e4765f3e402b29b1f3b29e17e0b957609868eac3292dbe2796c6ab5cda98a28b85572083c9aae35ab7a99d4579ec6681827516c6bd610de79d6ccc6')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver
-  patch -p1 -i ../qt-5.11.patch
-
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' platformplugin/linux.pri
 }

Deleted: qt-5.11.patch
===
--- qt-5.11.patch   2018-06-07 04:25:52 UTC (rev 341574)
+++ qt-5.11.patch   2018-06-07 04:26:00 UTC (rev 341575)
@@ -1,49 +0,0 @@
-diff --git a/platformplugin/dplatformintegration.cpp 
b/platformplugin/dplatformintegration.cpp
-index 4785057..cbb470e 100644
 a/platformplugin/dplatformintegration.cpp
-+++ b/platformplugin/dplatformintegration.cpp
-@@ -583,8 +583,11 @@ static void overrideChangeCursor(QPlatformCursor 
*cursorHandle, QCursor * cursor
- c = it.value();
- #if QT_VERSION < QT_VERSION_CHECK(5, 7, 1)
- w->setCursor(c);
--#else
-+#elif QT_VERSION < QT_VERSION_CHECK(5, 11, 0)
- w->setCursor(c, false);
-+#else
-+
xcb_change_window_attributes(DPlatformIntegration::xcbConnection()->xcb_connection(),
 w->xcb_window(), XCB_CW_CURSOR, );
-+xcb_flush(DPlatformIntegration::xcbConnection()->xcb_connection());
- #endif
- }
- 
-diff --git a/platformplugin/windoweventhook.cpp 
b/platformplugin/windoweventhook.cpp
-index 2855ba0..ccf887a 100644
 a/platformplugin/windoweventhook.cpp
-+++ b/platformplugin/windoweventhook.cpp
-@@ -431,6 +431,7 @@ void WindowEventHook::handleXIEnterLeave(xcb_ge_event_t 
*event)
- const int root_x = fixed1616ToInt(ev->root_x);
- const int root_y = fixed1616ToInt(ev->root_y);
- 
-+#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0)
- if (buttons.testFlag(b)) {
- if (!isSet) {
- QGuiApplicationPrivate::lastCursorPosition = 
DHighDpi::fromNativePixels(QPointF(root_x, root_y), me->window());
-@@ -442,6 +443,19 @@ void WindowEventHook::handleXIEnterLeave(xcb_ge_event_t 
*event)
- me->handleButtonPressEvent(event_x, event_y, root_x, 
root_y,
-0, modifiers, ev->time);
- }
-+#else
-+if (buttons.testFlag(b)) {
-+if (!isSet) {
-+QGuiApplicationPrivate::lastCursorPosition = 
DHighDpi::fromNativePixels(QPointF(root_x, root_y), me->window());
-+me->handleButtonReleaseEvent(event_x, event_y, 
root_x, root_y,
-+ 0, modifiers, ev->time, 
QEvent::MouseButtonRelease);
-+}
-+} else if (isSet) {
-+QGuiApplicationPrivate::lastCursorPosition = 
DHighDpi::fromNativePixels(QPointF(root_x, root_y), me->window());
-+me->handleButtonPressEvent(event_x, event_y, root_x, 
root_y,
-+   0, modifiers, ev->time, 
QEvent::MouseButtonRelease);
-+}
-+#endif
- }
- }
- }


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD qt-5.11.patch)

2018-05-22 Thread Felix Yan via arch-commits
Date: Tuesday, May 22, 2018 @ 12:35:04
  Author: felixonmars
Revision: 327577

upgpkg: deepin-qt5dxcb-plugin 1.1.8.6-2

rebuild for qt 5.11

Added:
  deepin-qt5dxcb-plugin/trunk/qt-5.11.patch
Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

---+
 PKGBUILD  |9 ++---
 qt-5.11.patch |   49 +
 2 files changed, 55 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-22 12:27:35 UTC (rev 327576)
+++ PKGBUILD2018-05-22 12:35:04 UTC (rev 327577)
@@ -3,7 +3,7 @@
 
 pkgname=deepin-qt5dxcb-plugin
 pkgver=1.1.8.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -11,11 +11,14 @@
 depends=('cairo' 'qt5-x11extras')
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('c8fd99d299e4867a69c4c846ea444861a5bdf8c711d7d9015ec8626f3cd2d3471b7cf78c60aa22a93d318bf82bc42598ca59f784cc29793b70c9f49ec5c7a0b2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;
+qt-5.11.patch)
+sha512sums=('c8fd99d299e4867a69c4c846ea444861a5bdf8c711d7d9015ec8626f3cd2d3471b7cf78c60aa22a93d318bf82bc42598ca59f784cc29793b70c9f49ec5c7a0b2'
+
'e076c590a15f43df729eb28d92c510d80ffbdd312b769179b53ca0b364d9b8232d0f14927b11a6626bcd14bea952d07a24505fb82bd0867174a76f9c937a2c32')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver
+  patch -p1 -i ../qt-5.11.patch
 
   rm -r platformplugin/libqt5xcbqpa-dev
   sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += 
/usr/include/qtxcb-private|' platformplugin/linux.pri

Added: qt-5.11.patch
===
--- qt-5.11.patch   (rev 0)
+++ qt-5.11.patch   2018-05-22 12:35:04 UTC (rev 327577)
@@ -0,0 +1,49 @@
+diff --git a/platformplugin/dplatformintegration.cpp 
b/platformplugin/dplatformintegration.cpp
+index 4785057..cbb470e 100644
+--- a/platformplugin/dplatformintegration.cpp
 b/platformplugin/dplatformintegration.cpp
+@@ -583,8 +583,11 @@ static void overrideChangeCursor(QPlatformCursor 
*cursorHandle, QCursor * cursor
+ c = it.value();
+ #if QT_VERSION < QT_VERSION_CHECK(5, 7, 1)
+ w->setCursor(c);
+-#else
++#elif QT_VERSION < QT_VERSION_CHECK(5, 11, 0)
+ w->setCursor(c, false);
++#else
++
xcb_change_window_attributes(DPlatformIntegration::xcbConnection()->xcb_connection(),
 w->xcb_window(), XCB_CW_CURSOR, );
++xcb_flush(DPlatformIntegration::xcbConnection()->xcb_connection());
+ #endif
+ }
+ 
+diff --git a/platformplugin/windoweventhook.cpp 
b/platformplugin/windoweventhook.cpp
+index 2855ba0..ccf887a 100644
+--- a/platformplugin/windoweventhook.cpp
 b/platformplugin/windoweventhook.cpp
+@@ -431,6 +431,7 @@ void WindowEventHook::handleXIEnterLeave(xcb_ge_event_t 
*event)
+ const int root_x = fixed1616ToInt(ev->root_x);
+ const int root_y = fixed1616ToInt(ev->root_y);
+ 
++#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0)
+ if (buttons.testFlag(b)) {
+ if (!isSet) {
+ QGuiApplicationPrivate::lastCursorPosition = 
DHighDpi::fromNativePixels(QPointF(root_x, root_y), me->window());
+@@ -442,6 +443,19 @@ void WindowEventHook::handleXIEnterLeave(xcb_ge_event_t 
*event)
+ me->handleButtonPressEvent(event_x, event_y, root_x, 
root_y,
+0, modifiers, ev->time);
+ }
++#else
++if (buttons.testFlag(b)) {
++if (!isSet) {
++QGuiApplicationPrivate::lastCursorPosition = 
DHighDpi::fromNativePixels(QPointF(root_x, root_y), me->window());
++me->handleButtonReleaseEvent(event_x, event_y, 
root_x, root_y,
++ 0, modifiers, ev->time, 
QEvent::MouseButtonRelease);
++}
++} else if (isSet) {
++QGuiApplicationPrivate::lastCursorPosition = 
DHighDpi::fromNativePixels(QPointF(root_x, root_y), me->window());
++me->handleButtonPressEvent(event_x, event_y, root_x, 
root_y,
++   0, modifiers, ev->time, 
QEvent::MouseButtonRelease);
++}
++#endif
+ }
+ }
+ }


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-05-11 Thread Felix Yan via arch-commits
Date: Friday, May 11, 2018 @ 07:53:00
  Author: felixonmars
Revision: 320580

upgpkg: deepin-qt5dxcb-plugin 1.1.8.6-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-05-11 07:52:45 UTC (rev 320579)
+++ PKGBUILD2018-05-11 07:53:00 UTC (rev 320580)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.8.4
+pkgver=1.1.8.6
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('9ab5a6c6af50b0a7fc427f85453f1b4f1aa8f059ea45363f1aa4dad858bd0a3e0797c93b024a2b73ee9e0197a44e8befa183b9e23dcb69b19803ae9cab5d0a66')
+sha512sums=('c8fd99d299e4867a69c4c846ea444861a5bdf8c711d7d9015ec8626f3cd2d3471b7cf78c60aa22a93d318bf82bc42598ca59f784cc29793b70c9f49ec5c7a0b2')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-03-22 Thread Felix Yan via arch-commits
Date: Thursday, March 22, 2018 @ 09:14:25
  Author: felixonmars
Revision: 310302

upgpkg: deepin-qt5dxcb-plugin 1.1.8.4-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-22 08:33:01 UTC (rev 310301)
+++ PKGBUILD2018-03-22 09:14:25 UTC (rev 310302)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.8.3
+pkgver=1.1.8.4
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('b2f561114f4efa0518aac536efd844215b6d2a842aee39c84728aede2d6367dc9019ec918ee750345adddbd9a59b24f25a187e52bf8100cfeb90b9abf2d11e0e')
+sha512sums=('9ab5a6c6af50b0a7fc427f85453f1b4f1aa8f059ea45363f1aa4dad858bd0a3e0797c93b024a2b73ee9e0197a44e8befa183b9e23dcb69b19803ae9cab5d0a66')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-03-15 Thread Felix Yan via arch-commits
Date: Friday, March 16, 2018 @ 04:06:04
  Author: felixonmars
Revision: 308745

upgpkg: deepin-qt5dxcb-plugin 1.1.8.3-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-16 04:05:00 UTC (rev 308744)
+++ PKGBUILD2018-03-16 04:06:04 UTC (rev 308745)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.8.2
+pkgver=1.1.8.3
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('601dce7f40fd4233384578b1a16f1609a8699b89e6b942144c11786d5c497c2752c853c629cb2db1e90dc361ee9c30442dca9e24b1733deef6f163033808b7a7')
+sha512sums=('b2f561114f4efa0518aac536efd844215b6d2a842aee39c84728aede2d6367dc9019ec918ee750345adddbd9a59b24f25a187e52bf8100cfeb90b9abf2d11e0e')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-03-15 Thread Felix Yan via arch-commits
Date: Thursday, March 15, 2018 @ 08:52:00
  Author: felixonmars
Revision: 308399

upgpkg: deepin-qt5dxcb-plugin 1.1.8.2-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-15 08:51:41 UTC (rev 308398)
+++ PKGBUILD2018-03-15 08:52:00 UTC (rev 308399)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.8.1
+pkgver=1.1.8.2
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('efd57feb9cba0d77614252cf09a925e5b052b818a2d83f50aebdcff022eec7e26b0441abb4a801ffbdbf0bf9d7668a227753fa560a86a6df5b3e9172370682fc')
+sha512sums=('601dce7f40fd4233384578b1a16f1609a8699b89e6b942144c11786d5c497c2752c853c629cb2db1e90dc361ee9c30442dca9e24b1733deef6f163033808b7a7')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-03-07 Thread Felix Yan via arch-commits
Date: Thursday, March 8, 2018 @ 07:37:39
  Author: felixonmars
Revision: 304331

upgpkg: deepin-qt5dxcb-plugin 1.1.8.1-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-03-08 07:37:24 UTC (rev 304330)
+++ PKGBUILD2018-03-08 07:37:39 UTC (rev 304331)
@@ -2,8 +2,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.8
-pkgrel=2
+pkgver=1.1.8.1
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('e9ee2d3ca79ba5879b283dae9b256b47b6f7867a376e873c064e8a1f43dd5cdabe0ba36801e19d185af80bd92b9aea19121dd004bd7e997dd0b8c5973b06')
+sha512sums=('efd57feb9cba0d77614252cf09a925e5b052b818a2d83f50aebdcff022eec7e26b0441abb4a801ffbdbf0bf9d7668a227753fa560a86a6df5b3e9172370682fc')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2018-02-09 Thread Felix Yan via arch-commits
Date: Friday, February 9, 2018 @ 18:09:51
  Author: felixonmars
Revision: 290488

upgpkg: deepin-qt5dxcb-plugin 1.1.8-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-02-09 18:09:41 UTC (rev 290487)
+++ PKGBUILD2018-02-09 18:09:51 UTC (rev 290488)
@@ -2,17 +2,17 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.6
+pkgver=1.1.8
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
 license=('GPL3')
-depends=('qt5-x11extras')
+depends=('cairo' 'qt5-x11extras')
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('c1863f4dd1242e8b78f63e6fbb0d9897bfbc48275a1924600b1ba6a7365a7b04199880789aaf05393d5d02714f665ee40361cb96f905733a3a27023904230434')
+sha512sums=('e9ee2d3ca79ba5879b283dae9b256b47b6f7867a376e873c064e8a1f43dd5cdabe0ba36801e19d185af80bd92b9aea19121dd004bd7e997dd0b8c5973b06')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-12-27 Thread Felix Yan via arch-commits
Date: Thursday, December 28, 2017 @ 02:09:27
  Author: felixonmars
Revision: 276316

upgpkg: deepin-qt5dxcb-plugin 1.1.6-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |   11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-28 02:05:07 UTC (rev 276315)
+++ PKGBUILD2017-12-28 02:09:27 UTC (rev 276316)
@@ -2,8 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.5.20171208
-_commit=75486e3006f3af473d80fa51396c535f218e226c
+pkgver=1.1.6
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,12 +11,10 @@
 depends=('qt5-x11extras')
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
-source=("$pkgname-$_commit.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$_commit.tar.gz;)
-sha512sums=('ab454e5751790ebb4edc840225fc237723573371da641006fd76059f0ce9a3a496fd36f00b648bccb0c9203de74f0707f31561b46877a6cabecfd1d9de29296d')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
+sha512sums=('c1863f4dd1242e8b78f63e6fbb0d9897bfbc48275a1924600b1ba6a7365a7b04199880789aaf05393d5d02714f665ee40361cb96f905733a3a27023904230434')
 
 prepare() {
-  mv qt5dxcb-plugin-{$_commit,$pkgver}
-
   cd qt5dxcb-plugin-$pkgver
 
   rm -r platformplugin/libqt5xcbqpa-dev
@@ -26,7 +23,7 @@
 
 build() {
   cd qt5dxcb-plugin-$pkgver
-  qmake-qt5 QMAKE_CFLAGS_ISYSTEM= PREFIX=/usr
+  qmake-qt5 PREFIX=/usr
   make
 }
 


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-12-08 Thread Felix Yan via arch-commits
Date: Friday, December 8, 2017 @ 08:13:54
  Author: felixonmars
Revision: 273252

upgpkg: deepin-qt5dxcb-plugin 1.1.5.20171208-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-08 08:13:13 UTC (rev 273251)
+++ PKGBUILD2017-12-08 08:13:54 UTC (rev 273252)
@@ -2,7 +2,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.5
+pkgver=1.1.5.20171208
+_commit=75486e3006f3af473d80fa51396c535f218e226c
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -11,10 +12,12 @@
 depends=('qt5-x11extras')
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('6c3a1ad6403b0707b11875c543b84dfea8cdcc9cb066c5b2201ce42c0bba60f38e8ff84f00b30333f470af88ef6923afd24af94a589f52ae8afc220893da203a')
+source=("$pkgname-$_commit.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$_commit.tar.gz;)
+sha512sums=('ab454e5751790ebb4edc840225fc237723573371da641006fd76059f0ce9a3a496fd36f00b648bccb0c9203de74f0707f31561b46877a6cabecfd1d9de29296d')
 
 prepare() {
+  mv qt5dxcb-plugin-{$_commit,$pkgver}
+
   cd qt5dxcb-plugin-$pkgver
 
   rm -r platformplugin/libqt5xcbqpa-dev


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-12-07 Thread Felix Yan via arch-commits
Date: Thursday, December 7, 2017 @ 12:15:03
  Author: felixonmars
Revision: 272979

upgpkg: deepin-qt5dxcb-plugin 1.1.5-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-07 12:14:48 UTC (rev 272978)
+++ PKGBUILD2017-12-07 12:15:03 UTC (rev 272979)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.4
+pkgver=1.1.5
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('06934134f8bcb51c2ca8893fa328bd0e71732af7a638d7acb30163aa570a8cc3564df6ced1198dede445aa68657b760e9e7e8ec089feb1bde67ce7c23f03ee9d')
+sha512sums=('6c3a1ad6403b0707b11875c543b84dfea8cdcc9cb066c5b2201ce42c0bba60f38e8ff84f00b30333f470af88ef6923afd24af94a589f52ae8afc220893da203a')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-12-06 Thread Felix Yan via arch-commits
Date: Wednesday, December 6, 2017 @ 09:22:49
  Author: felixonmars
Revision: 272466

upgpkg: deepin-qt5dxcb-plugin 1.1.4-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-12-06 09:21:35 UTC (rev 272465)
+++ PKGBUILD2017-12-06 09:22:49 UTC (rev 272466)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.3
+pkgver=1.1.4
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('70feae322ad36db25e04cf4472b4b8dd9d7fded05b5f73813bf548c55600fd3258d570635b830ee285771f0c2058955eede78e468a303b28f4405c0ddb0ca72e')
+sha512sums=('06934134f8bcb51c2ca8893fa328bd0e71732af7a638d7acb30163aa570a8cc3564df6ced1198dede445aa68657b760e9e7e8ec089feb1bde67ce7c23f03ee9d')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-11-28 Thread Felix Yan via arch-commits
Date: Tuesday, November 28, 2017 @ 10:59:01
  Author: felixonmars
Revision: 270481

upgpkg: deepin-qt5dxcb-plugin 1.1.3-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-28 10:57:55 UTC (rev 270480)
+++ PKGBUILD2017-11-28 10:59:01 UTC (rev 270481)
@@ -2,8 +2,8 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.2
-pkgrel=2
+pkgver=1.1.3
+pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('dffea2608764bbf3252787b3826793165fe7feb93cbc9acae097f083e954068ffe3869ef8d99623cb50892862a835c4b98f6d42f428feb69018d1e0a86d1aa12')
+sha512sums=('70feae322ad36db25e04cf4472b4b8dd9d7fded05b5f73813bf548c55600fd3258d570635b830ee285771f0c2058955eede78e468a303b28f4405c0ddb0ca72e')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-11-22 Thread Antonio Rojas
Date: Wednesday, November 22, 2017 @ 18:45:04
  Author: arojas
Revision: 268094

Qt 5.9.3 rebuild

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-22 18:42:34 UTC (rev 268093)
+++ PKGBUILD2017-11-22 18:45:04 UTC (rev 268094)
@@ -3,7 +3,7 @@
 
 pkgname=deepin-qt5dxcb-plugin
 pkgver=1.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-11-16 Thread Felix Yan
Date: Thursday, November 16, 2017 @ 09:18:17
  Author: felixonmars
Revision: 266935

upgpkg: deepin-qt5dxcb-plugin 1.1.2-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-16 09:17:06 UTC (rev 266934)
+++ PKGBUILD2017-11-16 09:18:17 UTC (rev 266935)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.1
+pkgver=1.1.2
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('bcfe261f33fc2958f9c1f1c70bc90addd6792977cff53e6c773ec7707a2b753c7dbb2399422495bb0f074d40b46ad727c8a09b6eea17ab5ad024a42e1e2f7f4e')
+sha512sums=('dffea2608764bbf3252787b3826793165fe7feb93cbc9acae097f083e954068ffe3869ef8d99623cb50892862a835c4b98f6d42f428feb69018d1e0a86d1aa12')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-11-10 Thread Felix Yan
Date: Friday, November 10, 2017 @ 14:45:53
  Author: felixonmars
Revision: 266115

upgpkg: deepin-qt5dxcb-plugin 1.1.1-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-10 14:39:16 UTC (rev 266114)
+++ PKGBUILD2017-11-10 14:45:53 UTC (rev 266115)
@@ -2,10 +2,10 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1
+pkgver=1.1.1
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
-arch=('i686' 'x86_64')
+arch=('x86_64')
 url="https://github.com/linuxdeepin/qt5dxcb-plugin;
 license=('GPL3')
 depends=('qt5-x11extras')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('a65ca2fd02187b8c083425c3a6bf550d48801902c4f3f3a164f7fb65f8037034d0963ac72193c3dab141bda0b5aaee9a8247180d3bca5b46751a82bd33ce1b29')
+sha512sums=('bcfe261f33fc2958f9c1f1c70bc90addd6792977cff53e6c773ec7707a2b753c7dbb2399422495bb0f074d40b46ad727c8a09b6eea17ab5ad024a42e1e2f7f4e')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver


[arch-commits] Commit in deepin-qt5dxcb-plugin/trunk (PKGBUILD)

2017-11-06 Thread Felix Yan
Date: Monday, November 6, 2017 @ 15:01:38
  Author: felixonmars
Revision: 265575

upgpkg: deepin-qt5dxcb-plugin 1.1-1

Modified:
  deepin-qt5dxcb-plugin/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-06 14:59:30 UTC (rev 265574)
+++ PKGBUILD2017-11-06 15:01:38 UTC (rev 265575)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan 
 
 pkgname=deepin-qt5dxcb-plugin
-pkgver=1.0
+pkgver=1.1
 pkgrel=1
 pkgdesc='Qt platform plugins for DDE'
 arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@
 makedepends=('qt5-xcb-private-headers')
 groups=('deepin')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz;)
-sha512sums=('9e8bf5a34cd1844cedd877fab895e1df803db12ac1a148d75d570ab26b9cdab18c8406094d2e0f10413c6bcf0dc7f82c04b6dcb7e0a3d193b0b934f08d5d1dec')
+sha512sums=('a65ca2fd02187b8c083425c3a6bf550d48801902c4f3f3a164f7fb65f8037034d0963ac72193c3dab141bda0b5aaee9a8247180d3bca5b46751a82bd33ce1b29')
 
 prepare() {
   cd qt5dxcb-plugin-$pkgver