Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
deepin-qt6platform-plugins
Commits:
840a6736 by Felix Yan at 2024-11-23T02:37:25+08:00
upgpkg: 6.0.17-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- − qt-6.7.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = deepin-qt6platform-plugins
pkgdesc = Qt 6 platform plugins for DDE
- pkgver = 6.0.16
+ pkgver = 6.0.17
pkgrel = 1
url = https://github.com/linuxdeepin/qt6platform-plugins
arch = x86_64
@@ -23,9 +23,7 @@ pkgbase = deepin-qt6platform-plugins
depends = xcb-util-wm
depends = glibc
depends = gcc-libs
- source =
git+https://github.com/linuxdeepin/qt6platform-plugins.git#tag=6.0.16
- source = qt-6.7.patch
- sha512sums =
6395c8b67243aa6e3ba6159d44fb59b506d1b29a2048123a78c690d9b81b77d3b51aff3282075a298788f6eaf5409fc27aba5bc23cce007fd7e0dc7151b70f4a
- sha512sums =
410bb56570e14abdb961bcc30505ee7a960a978af948bbdfa7130c228fb42d4c827f9bff10887305c62f96066750927bc2dcbceb511516340e893c73cdb4e45e
+ source =
git+https://github.com/linuxdeepin/qt6platform-plugins.git#tag=6.0.17
+ sha512sums =
7cf56faf089a65cd21267104a0000929f6f79fd6bffe2122e99065162006aa03478298cc7ea28ddbc02bc20cd6f94b8929eae535840caae6e47075f749cb4b68
pkgname = deepin-qt6platform-plugins
=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=deepin-qt6platform-plugins
-pkgver=6.0.16
+pkgver=6.0.17
pkgrel=1
pkgdesc='Qt 6 platform plugins for DDE'
arch=('x86_64')
@@ -11,15 +11,8 @@ depends=('qt6-base' 'libx11' 'libxi' 'libxcb' 'xcb-util-wm'
'glibc' 'gcc-libs')
makedepends=('git' 'cmake' 'ninja' 'qt6-tools' 'libglvnd' 'gtest'
'qt6-xcb-private-headers'
'extra-cmake-modules' 'dtkcommon' 'cairo')
groups=('deepin')
-source=("git+https://github.com/linuxdeepin/qt6platform-plugins.git#tag=$pkgver"
- qt-6.7.patch)
-sha512sums=('6395c8b67243aa6e3ba6159d44fb59b506d1b29a2048123a78c690d9b81b77d3b51aff3282075a298788f6eaf5409fc27aba5bc23cce007fd7e0dc7151b70f4a'
-
'410bb56570e14abdb961bcc30505ee7a960a978af948bbdfa7130c228fb42d4c827f9bff10887305c62f96066750927bc2dcbceb511516340e893c73cdb4e45e')
-
-prepare() {
- cd qt6platform-plugins
- patch -Np1 -i ../qt-6.7.patch
-}
+source=("git+https://github.com/linuxdeepin/qt6platform-plugins.git#tag=$pkgver")
+sha512sums=('7cf56faf089a65cd21267104a0000929f6f79fd6bffe2122e99065162006aa03478298cc7ea28ddbc02bc20cd6f94b8929eae535840caae6e47075f749cb4b68')
build() {
cd qt6platform-plugins
=====================================
qt-6.7.patch deleted
=====================================
@@ -1,30 +0,0 @@
-diff --git a/wayland/wayland-shell/dwaylandshellmanager.cpp
b/wayland/wayland-shell/dwaylandshellmanager.cpp
-index ab8d7e1..7868946 100644
---- a/wayland/wayland-shell/dwaylandshellmanager.cpp
-+++ b/wayland/wayland-shell/dwaylandshellmanager.cpp
-@@ -659,7 +659,7 @@ void
DWaylandShellManager::handleWindowStateChanged(QWaylandShellSurface *shellS
- STATE_CHANGED(activeChanged);
- QObject::connect(ddeShellSurface, &KCDFace::activeChanged, window,
[window, ddeShellSurface](){
- if (QWindow *w = ddeShellSurface->isActive() ? window->window() :
nullptr)
-- QWindowSystemInterface::handleWindowActivated(w,
Qt::FocusReason::ActiveWindowFocusReason);
-+ QWindowSystemInterface::handleFocusWindowChanged(w,
Qt::FocusReason::ActiveWindowFocusReason);
- });
-
- #define SYNC_FLAG(sig, enableFunc, flag)
\
-diff --git a/xcb/dplatformwindowhelper.cpp b/xcb/dplatformwindowhelper.cpp
-index 9e03d5c..f6de37a 100644
---- a/xcb/dplatformwindowhelper.cpp
-+++ b/xcb/dplatformwindowhelper.cpp
-@@ -586,10 +586,10 @@ bool DPlatformWindowHelper::eventFilter(QObject
*watched, QEvent *event)
- return true;
- }
- case QEvent::FocusIn:
--
QWindowSystemInterface::handleWindowActivated(m_nativeWindow->window(),
static_cast<QFocusEvent*>(event)->reason());
-+
QWindowSystemInterface::handleFocusWindowChanged(m_nativeWindow->window(),
static_cast<QFocusEvent*>(event)->reason());
- return true;
- case QEvent::WindowActivate:
--
QWindowSystemInterface::handleWindowActivated(m_nativeWindow->window(),
Qt::OtherFocusReason);
-+
QWindowSystemInterface::handleFocusWindowChanged(m_nativeWindow->window(),
Qt::OtherFocusReason);
- return true;
- case QEvent::Resize: {
- updateContentWindowGeometry();
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-qt6platform-plugins/-/commit/840a673680e819c3946e3bb7943e11303364fb8f
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-qt6platform-plugins/-/commit/840a673680e819c3946e3bb7943e11303364fb8f
You're receiving this email because of your account on gitlab.archlinux.org.