Package Details: qadwaitadecorations-qt6 0.1.5-1

Git Clone URL: https://aur.archlinux.org/qadwaitadecorations.git (read-only, click to copy)
Package Base: qadwaitadecorations
Description: Qt6 decoration plugin implementing Adwaita-like client-side decorations
Upstream URL: https://github.com/FedoraQt/QAdwaitaDecorations
Licenses: LGPL2.1
Submitter: coolingtool
Maintainer: coolingtool
Last Packager: coolingtool
Votes: 14
Popularity: 1.41
First Submitted: 2023-09-12 21:56 (UTC)
Last Updated: 2024-03-23 07:11 (UTC)

Latest Comments

1 2 Next › Last »

marmis commented on 2024-12-24 04:45 (UTC) (edited on 2024-12-24 09:44 (UTC) by marmis)

@coolingtool, version 0.1.6 works without any changes. One thing I noticed is that license doesn't follow the SPDX specification, and namcap asks to explicitly declare qt5-base and qt6-base dependencies. Here's a patch for that, alongside the update:

Patch for the v0.1.6 update
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9881fec
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
index bb0f52a..8cf9f26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,15 +3,15 @@
 pkgbase=qadwaitadecorations
 _pkgname=QAdwaitaDecorations
 pkgname=(qadwaitadecorations-qt5 qadwaitadecorations-qt6)
-pkgver=0.1.5
+pkgver=0.1.6
 pkgrel=1
-pkgdesc=' Qt decoration plugin implementing Adwaita-like client-side decorations'
+pkgdesc='Qt decoration plugin implementing Adwaita-like client-side decorations'
 arch=('x86_64')
 url='https://github.com/FedoraQt/QAdwaitaDecorations'
-license=(LGPL2.1)
+license=(LGPL-2.1-or-later)
 makedepends=(make cmake qt5-wayland-decorations qt6-wayland qt5-svg qt6-svg)
 source=("https://github.com/FedoraQt/QAdwaitaDecorations/archive/$pkgver/$_pkgname-$pkgver.tar.gz")
-sha256sums=('9e3bde8332da156744f86ad09f9e0456dd63f6fcfdc330b4667f4fdc4faf7a6b')
+sha256sums=('dc413ddd27ea8f5bbbfd9640f5f2c25827c035d280dc271dd8dc18c88de905e1')

 build() {
   cmake -B build-$pkgver-qt5 -S $_pkgname-$pkgver \
@@ -28,14 +28,14 @@ build() {

 package_qadwaitadecorations-qt5() {
   pkgdesc='Qt5 decoration plugin implementing Adwaita-like client-side decorations'
-  depends=(qt5-wayland-decorations qt5-svg)
+  depends=(qt5-base qt5-wayland-decorations qt5-svg)

   DESTDIR="$pkgdir" make -C build-$pkgver-qt5 install
 }

 package_qadwaitadecorations-qt6() {
   pkgdesc='Qt6 decoration plugin implementing Adwaita-like client-side decorations'
-  depends=(qt6-wayland qt6-svg)
+  depends=(qt6-base qt6-wayland qt6-svg)

   DESTDIR="$pkgdir" make -C build-$pkgver-qt6 install
 }

ceg commented on 2024-04-14 11:34 (UTC)

Yep that fixed it, thanks Kfftuftur!

Kfftfuftur commented on 2024-04-13 08:52 (UTC)

I also had the issue of QT6 applications segfaulting when this package is installed. I tried debugging them with GDB and the segfaults seem to originate from QAdwaitaDecorations::forceRepaint()

This seems related to https://github.com/FedoraQt/QAdwaitaDecorations/issues/33

Simply deleting ~/.cache/yay/qadwaitadecorations and rebuilding the package fixed the issue for me.

yochananmarqos commented on 2024-04-12 21:21 (UTC) (edited on 2024-04-12 21:22 (UTC) by yochananmarqos)

@ceg:

❯ export QT_WAYLAND_DECORATION="adwaita" qt6ct

Well, that's invalid, so that's a thing. Remove 'qt6ct', that does not belong there.

FYI, changing environment variables will not take effect unless you logoff or reboot (depending if they're set per user or globally).

Again, this is not the place to troubleshoot issues with other packages. Please use the proper support channels like the Arch forums or IRC.

ceg commented on 2024-04-12 21:16 (UTC)

Unfortunately it still does not work, it crashes with this package installed

❯ export QT_WAYLAND_DECORATION="adwaita" qt6ct

❯ qt6ct ... [1] 47046 segmentation fault (core dumped) qt6ct

yochananmarqos commented on 2024-04-12 21:09 (UTC) (edited on 2024-04-12 21:10 (UTC) by yochananmarqos)

@ceg: Just in case, have you set the appropriate environment variable? Everything is working fine for me on GNOME:

export QT_WAYLAND_DECORATION="adwaita"

ceg commented on 2024-04-12 21:03 (UTC)

@yochananmarqos, removing this package seems to fix it, but I'll ask upstream to see if they are able to do anything in the meanwhile

yochananmarqos commented on 2024-04-12 20:56 (UTC)

@ceg: Does not compute. It seems you have some program that is crashing after the Qt 6.7 update and you're blaming it this package for some strange reason. Please check the output of the program that is crashing and submit an issue in the proper upstream channel.

ceg commented on 2024-04-12 20:46 (UTC)

The package is crashing with some other packages like prismlauncher and qt6ct.