repo/proj/guru:master commit in: gui-apps/quickshell/
"David Roman" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786000438.db18d4a86cd3cbaa39b1f1ae83edc3bd5e177e39.davidroman@gentoo> |
commit: db18d4a86cd3cbaa39b1f1ae83edc3bd5e177e39
Author: Emi <reedy.sailors.8t <AT> icloud <DOT> com>
AuthorDate: Thu Aug 6 07:13:58 2026 +0000
Commit: David Roman <stkw0 <AT> disroot <DOT> org>
CommitDate: Thu Aug 6 07:13:58 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db18d4a8
gui-apps/quickshell: force bfd if mold is used
Compiling quickshell with mold will cause issues in certain modules at
runtime
Signed-off-by: Emi <reedy.sailors.8t <AT> icloud.com>
.../{quickshell-0.2.1-r1.ebuild => quickshell-0.2.1-r2.ebuild} | 6 +++++-
.../{quickshell-0.3.0.ebuild => quickshell-0.3.0-r1.ebuild} | 6 +++++-
gui-apps/quickshell/quickshell-9999.ebuild | 6 +++++-
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/gui-apps/quickshell/quickshell-0.2.1-r1.ebuild b/gui-apps/quickshell/quickshell-0.2.1-r2.ebuild
similarity index 94%
rename from gui-apps/quickshell/quickshell-0.2.1-r1.ebuild
rename to gui-apps/quickshell/quickshell-0.2.1-r2.ebuild
index 48939e459f..002eed315a 100644
--- a/gui-apps/quickshell/quickshell-0.2.1-r1.ebuild
+++ b/gui-apps/quickshell/quickshell-0.2.1-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit branding cmake xdg
+inherit branding cmake xdg toolchain-funcs
GIT_REVISION=a1a150fab00a93ea983aaca5df55304bc837f51b
@@ -73,6 +73,10 @@ BDEPEND="
DOCS=( README.md changelog/ )
src_configure() {
+ if tc-ld-is-mold; then
+ ewarn "Using mold as a linker for quickshell will cause runtime issues"
+ tc-ld-force-bfd
+ fi
# hyprland controls all Hyprland sub-features as a group.
# i3 controls I3/Sway IPC.
# screencopy controls all screencopy backends (icc, wlr, hyprland-toplevel).
diff --git a/gui-apps/quickshell/quickshell-0.3.0.ebuild b/gui-apps/quickshell/quickshell-0.3.0-r1.ebuild
similarity index 95%
rename from gui-apps/quickshell/quickshell-0.3.0.ebuild
rename to gui-apps/quickshell/quickshell-0.3.0-r1.ebuild
index a2a850fa5b..847988cbe9 100644
--- a/gui-apps/quickshell/quickshell-0.3.0.ebuild
+++ b/gui-apps/quickshell/quickshell-0.3.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit branding cmake xdg
+inherit branding cmake xdg toolchain-funcs
GIT_REVISION=59e9c47b0eb48a9e4bcf9631fa062ee939bd2e83
@@ -79,6 +79,10 @@ DOCS=( README.md changelog/ )
PATCHES=( "${FILESDIR}/${P}-strict-aliasing.patch" )
src_configure() {
+ if tc-ld-is-mold; then
+ ewarn "Using mold as a linker for quickshell will cause runtime issues"
+ tc-ld-force-bfd
+ fi
# hyprland controls all Hyprland sub-features as a group.
# i3 controls I3/Sway IPC.
# screencopy controls all screencopy backends (icc, wlr, hyprland-toplevel).
diff --git a/gui-apps/quickshell/quickshell-9999.ebuild b/gui-apps/quickshell/quickshell-9999.ebuild
index a4eed5f146..4c5dd7550c 100644
--- a/gui-apps/quickshell/quickshell-9999.ebuild
+++ b/gui-apps/quickshell/quickshell-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit branding cmake flag-o-matic xdg
+inherit branding cmake flag-o-matic xdg toolchain-funcs
DESCRIPTION="Toolkit for building desktop widgets using QtQuick"
HOMEPAGE="https://quickshell.org/"
@@ -76,6 +76,10 @@ BDEPEND="
DOCS=( README.md changelog/ )
src_configure() {
+ if tc-ld-is-mold; then
+ ewarn "Using mold as a linker for quickshell will cause runtime issues"
+ tc-ld-force-bfd
+ fi
# -Werror=strict-aliasing
# https://github.com/quickshell-mirror/quickshell/issues/599
append-flags -fno-strict-aliasing