summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 01:05:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 18:25:53 +0200
commit7d43b45056d41f698cb39dc1fe96f1d0264a8604 (patch)
tree83eb39ae983e191cbd2bb9f0b806f2993a9fe6c6
parent9ee1529db2cfe395c122c9675476784e32893a55 (diff)
downloadkde-7d43b45056d41f698cb39dc1fe96f1d0264a8604.tar.gz
kde-7d43b45056d41f698cb39dc1fe96f1d0264a8604.tar.bz2
kde-7d43b45056d41f698cb39dc1fe96f1d0264a8604.zip
kde-apps/dolphin: Fix startup error message
This is a downstream hack for now. KDE-bug: https://bugs.kde.org/show_bug.cgi?id=435586 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/dolphin/dolphin-21.04.49.9999.ebuild3
-rw-r--r--kde-apps/dolphin/dolphin-9999.ebuild5
-rw-r--r--kde-apps/dolphin/files/dolphin-21.04.0-fix-no-semantic-desktop.patch23
3 files changed, 31 insertions, 0 deletions
diff --git a/kde-apps/dolphin/dolphin-21.04.49.9999.ebuild b/kde-apps/dolphin/dolphin-21.04.49.9999.ebuild
index 5e3e20bd11e..10e34f4c6d0 100644
--- a/kde-apps/dolphin/dolphin-21.04.49.9999.ebuild
+++ b/kde-apps/dolphin/dolphin-21.04.49.9999.ebuild
@@ -62,6 +62,9 @@ RDEPEND="${DEPEND}
>=kde-apps/kio-extras-${PVCUT}:5
"
+# TODO: Downstream hack, track upstream bug for better solution
+PATCHES=( "${FILESDIR}/${PN}-21.04.0-fix-no-semantic-desktop.patch" ) # KDE-bug 435586
+
src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
diff --git a/kde-apps/dolphin/dolphin-9999.ebuild b/kde-apps/dolphin/dolphin-9999.ebuild
index a469a25ca7f..530de3cad07 100644
--- a/kde-apps/dolphin/dolphin-9999.ebuild
+++ b/kde-apps/dolphin/dolphin-9999.ebuild
@@ -61,6 +61,11 @@ RDEPEND="${DEPEND}
>=kde-apps/kio-extras-${PVCUT}:5
"
+PATCHES=(
+ # TODO: Downstream hack, track upstream bug for better solution
+ "${FILESDIR}/${PN}-21.04.0-fix-no-semantic-desktop.patch" # KDE-bug 435586
+)
+
src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
diff --git a/kde-apps/dolphin/files/dolphin-21.04.0-fix-no-semantic-desktop.patch b/kde-apps/dolphin/files/dolphin-21.04.0-fix-no-semantic-desktop.patch
new file mode 100644
index 00000000000..4f97a53c523
--- /dev/null
+++ b/kde-apps/dolphin/files/dolphin-21.04.0-fix-no-semantic-desktop.patch
@@ -0,0 +1,23 @@
+diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp
+index d52d146a8..9f0078631 100644
+--- a/src/search/dolphinfacetswidget.cpp
++++ b/src/search/dolphinfacetswidget.cpp
+@@ -7,6 +7,8 @@
+
+ #include "dolphinfacetswidget.h"
+
++#include <config-baloo.h>
++
+ #include <KLocalizedString>
+
+ #include <QComboBox>
+@@ -257,7 +259,9 @@ void DolphinFacetsWidget::updateTagsSelector()
+ void DolphinFacetsWidget::updateTagsMenu()
+ {
+ updateTagsMenuItems({}, {});
++#ifdef HAVE_BALOO
+ m_tagsLister.openUrl(QUrl(QStringLiteral("tags:/")), KCoreDirLister::OpenUrlFlag::Reload);
++#endif
+ }
+
+ void DolphinFacetsWidget::updateTagsMenuItems(const QUrl&, const KFileItemList& items)