qtile: update to 0.32.0.

This commit is contained in:
Kai Stian Olstad 2025-06-17 17:25:33 +02:00 committed by Duncan Overbruck
parent 57836461ad
commit 666be9b990
2 changed files with 3 additions and 19 deletions

View file

@ -1,16 +0,0 @@
musl doesn't have posix_spawn_file_actions_addclosefrom_np, so python doesn't
have os.POSIX_SPAWN_CLOSEFROM on musl.
see: https://github.com/qtile/qtile/issues/5210
--- a/libqtile/core/manager.py
+++ b/libqtile/core/manager.py
@@ -1331,7 +1331,7 @@
(os.POSIX_SPAWN_DUP2, 2, null.fileno()),
]
- if sys.version_info.major >= 3 and sys.version_info.minor >= 13:
+ if hasattr(os, "POSIX_SPAWN_CLOSEFROM"):
# we should close all fds so that child processes don't
# accidentally write to our x11 event loop or whatever; we never
# used to do this, so it seems fine to only do it on python 3.13 or

View file

@ -1,7 +1,7 @@
# Template file for 'qtile'
pkgname=qtile
version=0.31.0
revision=2
version=0.32.0
revision=1
build_style=python3-pep517
_wlroots=0.17
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
@ -14,7 +14,7 @@ license="MIT"
homepage="http://www.qtile.org/"
changelog="https://raw.githubusercontent.com/qtile/qtile/master/CHANGELOG"
distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
checksum=af32dfc518b20c731f2c3db38df44b37b62e5000e3caf7d4fe3003f2310f4a2e
checksum=05c9fcceebf9e0cec2a240824e003a1a4b6da13a9401a2b3b8d7d6b5b0483653
post_install() {
vinstall resources/qtile.desktop 644 usr/share/xsessions