Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
treeland
Commits:
d0143363 by Antonio Rojas at 2026-01-29T22:19:49+01:00
upgpkg: 0.8.1-2: Qt 6.10.1 rebuild
- - - - -
4 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
- + qt-6.10.2.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = treeland
pkgdesc = New wayland compositer for DDE
pkgver = 0.8.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/linuxdeepin/treeland
arch = x86_64
groups = deepin
@@ -39,6 +39,8 @@ pkgbase = treeland
replaces = waylib
replaces = qwlroots
source = git+https://github.com/linuxdeepin/treeland.git#tag=0.8.1
+ source = qt-6.10.2.patch
sha256sums =
a2485cc32bd952d1041acc1d4801117a8ac8fb6e499e75e11f56ad28627470d1
+ sha256sums =
47090d70005a8913effc9a2cef59c5bc3a88cba6caec6b0e9b11148e110cef43
pkgname = treeland
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=treeland
pkgver=0.8.1
-pkgrel=1
+pkgrel=2
pkgdesc='New wayland compositer for DDE'
arch=('x86_64')
url="https://github.com/linuxdeepin/treeland"
@@ -17,8 +17,14 @@ makedepends=('git' 'cmake' 'ninja' 'qt6-tools'
'wayland-protocols' 'wlr-protocol
groups=('deepin')
replaces=('waylib' 'qwlroots')
conflicts=('waylib' 'qwlroots')
-source=("git+https://github.com/linuxdeepin/treeland.git#tag=$pkgver")
-sha256sums=('a2485cc32bd952d1041acc1d4801117a8ac8fb6e499e75e11f56ad28627470d1')
+source=("git+https://github.com/linuxdeepin/treeland.git#tag=$pkgver"
+ qt-6.10.2.patch)
+sha256sums=('a2485cc32bd952d1041acc1d4801117a8ac8fb6e499e75e11f56ad28627470d1'
+ '47090d70005a8913effc9a2cef59c5bc3a88cba6caec6b0e9b11148e110cef43')
+
+prepare() {
+ patch -d treeland -p1 < qt-6.10.2.patch
+}
build() {
cd treeland
=====================================
REUSE.toml
=====================================
@@ -6,10 +6,13 @@ path = [
"README.md",
"keys/**",
".SRCINFO",
+ ".gitignore",
".nvchecker.toml",
"*.install",
"*.sysusers",
+ "*sysusers.conf",
"*.tmpfiles",
+ "*tmpfiles.conf",
"*.logrotate",
"*.pam",
"*.service",
@@ -17,6 +20,7 @@ path = [
"*.timer",
"*.desktop",
"*.hook",
+ "qt-6.10.2.patch",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
=====================================
qt-6.10.2.patch
=====================================
@@ -0,0 +1,23 @@
+diff --git a/waylib/src/server/platformplugin/qwlrootsintegration.cpp
b/waylib/src/server/platformplugin/qwlrootsintegration.cpp
+index bdbafa4b..10f15276 100644
+--- a/waylib/src/server/platformplugin/qwlrootsintegration.cpp
++++ b/waylib/src/server/platformplugin/qwlrootsintegration.cpp
+@@ -287,6 +287,9 @@ bool QWlrootsIntegration::hasCapability(Capability cap)
const
+ case ApplicationState:
+ case ForeignWindows:
+ case NonFullScreenWindows:
++#if QT_VERSION >= QT_VERSION_CHECK(6, 10, 2)
++ case OffscreenSurface:
++#endif
+ case WindowManagement:
+ case WindowActivation:
+ case SyncState:
+@@ -504,7 +507,7 @@ QPlatformTheme
*QWlrootsIntegration::createPlatformTheme(const QString &name) co
+ QPlatformOffscreenSurface
*QWlrootsIntegration::createPlatformOffscreenSurface(QOffscreenSurface
*surface) const
+ {
+ if (QW::OffscreenSurface::check(surface))
+- return new OffscreenSurface(surface);
++ return new Waylib::Server::OffscreenSurface(surface);
+
+ return CALL_PROXY(createPlatformOffscreenSurface, surface);
+ }
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/treeland/-/commit/d014336304b9b783780d5c5903b20ef8b93ae098
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/treeland/-/commit/d014336304b9b783780d5c5903b20ef8b93ae098
You're receiving this email because of your account on gitlab.archlinux.org.