[arch-commits] Commit in deepin-qt5dxcb-plugin/repos/community-x86_64 (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Feb 26 13:23:57 UTC 2019
Date: Tuesday, February 26, 2019 @ 13:23:55
Author: felixonmars
Revision: 436143
archrelease: copy trunk to community-x86_64
Added:
deepin-qt5dxcb-plugin/repos/community-x86_64/PKGBUILD
(from rev 436142, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
Deleted:
deepin-qt5dxcb-plugin/repos/community-x86_64/PKGBUILD
deepin-qt5dxcb-plugin/repos/community-x86_64/deepin-qt5dxcb-plugin-qt5.12.1.patch
--------------------------------------+
PKGBUILD | 68 +++++++++++++++------------------
deepin-qt5dxcb-plugin-qt5.12.1.patch | 36 -----------------
2 files changed, 32 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-26 13:23:31 UTC (rev 436142)
+++ PKGBUILD 2019-02-26 13:23:55 UTC (rev 436143)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-qt5dxcb-plugin
-pkgver=1.1.23
-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' 'libglvnd')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz"
- deepin-qt5dxcb-plugin-qt5.12.1.patch)
-sha512sums=('d53f5635cf852ee0a271caf057e68853eb8fa9b24819bbf87ccac53e29fc255925c8d5b3fde68a6cc6ef7e5d8ba208e53d95ad1d9916e9e0b326feeaea46e8f1'
- '67151ced9c91b86f04953675dbfcba237fdd7569001d2460ccafe1de0fc577dc9575b93ed2b534eec95bac48d764ce3a49ca57cc92a90aebbf5cb30cf10ad239')
-
-prepare() {
- cd qt5dxcb-plugin-$pkgver
-
- rm -r platformplugin/libqt5xcbqpa-dev
- sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += /usr/include/qtxcb-private|' platformplugin/linux.pri
-
- patch -p1 -i ../deepin-qt5dxcb-plugin-qt5.12.1.patch # Fix build with Qt 5.12.1
-}
-
-build() {
- cd qt5dxcb-plugin-$pkgver
- qmake-qt5 PREFIX=/usr
- make
-}
-
-package() {
- cd qt5dxcb-plugin-$pkgver
- make INSTALL_ROOT="$pkgdir" install
-}
Copied: deepin-qt5dxcb-plugin/repos/community-x86_64/PKGBUILD (from rev 436142, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-26 13:23:55 UTC (rev 436143)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5dxcb-plugin
+pkgver=1.1.24
+pkgrel=1
+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' 'libglvnd')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz")
+sha512sums=('cd555bad95a3b51f04f1d119f053c40aa48213073a13d88299a2d334ad6da8fec58a205c52e0fe7efc6f0879dcb7faf20e8ed345fc9b574621748d4a4cf63a19')
+
+prepare() {
+ cd qt5dxcb-plugin-$pkgver
+
+ rm -r platformplugin/libqt5xcbqpa-dev
+ sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += /usr/include/qtxcb-private|' platformplugin/linux.pri
+}
+
+build() {
+ cd qt5dxcb-plugin-$pkgver
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd qt5dxcb-plugin-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
Deleted: deepin-qt5dxcb-plugin-qt5.12.1.patch
===================================================================
--- deepin-qt5dxcb-plugin-qt5.12.1.patch 2019-02-26 13:23:31 UTC (rev 436142)
+++ deepin-qt5dxcb-plugin-qt5.12.1.patch 2019-02-26 13:23:55 UTC (rev 436143)
@@ -1,36 +0,0 @@
-From 1a9a05ef7942c91dafaf24023404aef9cbd77dbe Mon Sep 17 00:00:00 2001
-From: Felix Yan <felixonmars at archlinux.org>
-Date: Sat, 16 Feb 2019 00:14:39 +0800
-Subject: [PATCH] fix: compatibility with Qt 5.12.1
-
-Change-Id: I193b2c069e46251b6bed9fb0766d26287e46d0b4
----
-
-diff --git a/platformplugin/dplatformwindowhelper.cpp b/platformplugin/dplatformwindowhelper.cpp
-index d1b3772..09401e0 100644
---- a/platformplugin/dplatformwindowhelper.cpp
-+++ b/platformplugin/dplatformwindowhelper.cpp
-@@ -321,7 +321,11 @@
- Utility::setMotifWmHints(helper->m_nativeWindow->QNativeWindow::winId(), cw_hints);
-
- if (helper->m_nativeWindow->window()->modality() != Qt::NonModal) {
-+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 1)
- window->setNetWmStates(window->netWmStates() | QNativeWindow::NetWmStateModal);
-+#else
-+ window->setNetWmState(true, window->atom(QXcbAtom::_NET_WM_STATE_MODAL));
-+#endif
- }
- #endif
-
-@@ -362,7 +366,11 @@
- if (state == Qt::WindowMinimized
- && (window->m_windowState == Qt::WindowMaximized
- || window->m_windowState == Qt::WindowFullScreen)) {
-+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 1)
- window->changeNetWmState(true, Utility::internAtom("_NET_WM_STATE_HIDDEN"));
-+#else
-+ window->setNetWmState(true, Utility::internAtom("_NET_WM_STATE_HIDDEN"));
-+#endif
- Utility::XIconifyWindow(window->connection()->xlib_display(),
- window->m_window,
- window->connection()->primaryScreenNumber());
More information about the arch-commits
mailing list