summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-13 01:57:35 +0100
committerSam James <sam@gentoo.org>2024-06-13 01:58:32 +0100
commit3c18c4e47fdf33fc3ade6415e554a5e7bb4b2776 (patch)
tree6402453ba95fd20c9d4217f2d97242b7c56a28a2
parentc5e4b1e0bddea173523fb5492fe1742ae50f580a (diff)
downloadkde-3c18c4e47fdf33fc3ade6415e554a5e7bb4b2776.tar.gz
kde-3c18c4e47fdf33fc3ade6415e554a5e7bb4b2776.tar.bz2
kde-3c18c4e47fdf33fc3ade6415e554a5e7bb4b2776.zip
kde-plasma/plasma-meta: add ewarn for libc++
I still need to find someone to speak to about if we should implement the libc++ setting distro-wide (or someone else is free to do that). Bug: https://bugs.kde.org/479679 Bug: https://bugs.gentoo.org/923292 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--kde-plasma/plasma-meta/plasma-meta-6.1.49.9999.ebuild13
-rw-r--r--kde-plasma/plasma-meta/plasma-meta-9999.ebuild13
2 files changed, 26 insertions, 0 deletions
diff --git a/kde-plasma/plasma-meta/plasma-meta-6.1.49.9999.ebuild b/kde-plasma/plasma-meta/plasma-meta-6.1.49.9999.ebuild
index 45bd81968ec..d1451302054 100644
--- a/kde-plasma/plasma-meta/plasma-meta-6.1.49.9999.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-6.1.49.9999.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit toolchain-funcs
+
DESCRIPTION="Merge this to pull in all Plasma 6 packages"
HOMEPAGE="https://kde.org/plasma-desktop/"
@@ -118,6 +120,17 @@ RDEPEND="${RDEPEND}
"
pkg_postinst() {
+ if [[ $(tc-get-cxx-stdlib) == "libc++" ]] ; then
+ # Workaround for bug #923292 (KDE-bug 479679)
+ ewarn "plasmashell and other KDE Plasma components are known to misbehave"
+ ewarn "when built with sys-libs/libcxx, e.g. crashing when right-clicking"
+ ewarn "on a panel. See bug #923292."
+ ewarn ""
+ ewarn "A possible (no warranty!) workaround is building sys-libs/libcxx and"
+ ewarn "sys-libs/libcxxabi with the following in package.env:"
+ ewarn " MYCMAKEARGS=\"-DLIBCXX_TYPEINFO_COMPARISON_IMPLEMENTATION=1\""
+ fi
+
if ! use qt5 && has_version dev-qt/qtgui; then
ewarn "KF5- and Qt5-based applications will exhibit various integration bugs"
ewarn "and generally look out of place in Plasma 6 without the dependencies"
diff --git a/kde-plasma/plasma-meta/plasma-meta-9999.ebuild b/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
index 45bd81968ec..d1451302054 100644
--- a/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
+++ b/kde-plasma/plasma-meta/plasma-meta-9999.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit toolchain-funcs
+
DESCRIPTION="Merge this to pull in all Plasma 6 packages"
HOMEPAGE="https://kde.org/plasma-desktop/"
@@ -118,6 +120,17 @@ RDEPEND="${RDEPEND}
"
pkg_postinst() {
+ if [[ $(tc-get-cxx-stdlib) == "libc++" ]] ; then
+ # Workaround for bug #923292 (KDE-bug 479679)
+ ewarn "plasmashell and other KDE Plasma components are known to misbehave"
+ ewarn "when built with sys-libs/libcxx, e.g. crashing when right-clicking"
+ ewarn "on a panel. See bug #923292."
+ ewarn ""
+ ewarn "A possible (no warranty!) workaround is building sys-libs/libcxx and"
+ ewarn "sys-libs/libcxxabi with the following in package.env:"
+ ewarn " MYCMAKEARGS=\"-DLIBCXX_TYPEINFO_COMPARISON_IMPLEMENTATION=1\""
+ fi
+
if ! use qt5 && has_version dev-qt/qtgui; then
ewarn "KF5- and Qt5-based applications will exhibit various integration bugs"
ewarn "and generally look out of place in Plasma 6 without the dependencies"