quickshell-git: patch crash-relaunch env leak
After a crash relaunch, quickshell kept __QUICKSHELL_CRASH_* and the instance-info fd in its environment, so every child it spawned inherited them and any `qs` invocation from those children booted a duplicate shell instead of running its command (phantom instances on every menu-launched picker after a crash). Patch carried on the fix-crash-env-leak branch of https://github.com/omacom-io/quickshell Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
37234ee538
commit
8f6be53910
2 files changed
+95
-3
No files matched your search
@@ -3,7 +3,7 @@
|
||||
_pkgname=quickshell
|
||||
pkgname="$_pkgname-git"
|
||||
pkgver=0.3.0.r17.ge649d24
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Flexible toolkit for making desktop shells with QtQuick'
|
||||
arch=(x86_64 aarch64)
|
||||
url='https://git.outfoxxed.me/quickshell/quickshell'
|
||||
@@ -38,11 +38,22 @@ conflicts=("$_pkgname")
|
||||
|
||||
_pkgsrc="$_pkgname"
|
||||
source=("$_pkgsrc"::"git+$url.git#commit=e649d247498512464457aefcd05b73038c4e65a1"
|
||||
quickshell-check.hook)
|
||||
quickshell-check.hook
|
||||
0001-launch-clear-crash-relaunch-env.patch)
|
||||
sha256sums=('SKIP'
|
||||
'8543e21aeaaa5441b73a679160e7601a957f16c433e8d6bd9257e80bd0e94083')
|
||||
'8543e21aeaaa5441b73a679160e7601a957f16c433e8d6bd9257e80bd0e94083'
|
||||
'867f154dd3ea09ec751664e84fe9da47f6e0321b77abaa0cf3eb391a978de305')
|
||||
|
||||
|
||||
prepare() {
|
||||
cd "$_pkgsrc"
|
||||
# After a crash relaunch, quickshell leaks __QUICKSHELL_CRASH_* into the
|
||||
# environment of every child it spawns, so any `qs` call from those children
|
||||
# boots a duplicate shell instead of running its command.
|
||||
# Carried on the fix-crash-env-leak branch of https://github.com/omacom-io/quickshell
|
||||
patch -Np1 -i "$srcdir/0001-launch-clear-crash-relaunch-env.patch"
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgsrc"
|
||||
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
|
||||
|
||||
Reference in new issue
Block a user