commit: 7d43b45056d41f698cb39dc1fe96f1d0264a8604 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat May 8 23:05:24 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun May 9 16:25:53 2021 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=7d43b450
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 <AT> gentoo.org> kde-apps/dolphin/dolphin-21.04.49.9999.ebuild | 3 +++ kde-apps/dolphin/dolphin-9999.ebuild | 5 +++++ .../dolphin-21.04.0-fix-no-semantic-desktop.patch | 23 ++++++++++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/kde-apps/dolphin/dolphin-21.04.49.9999.ebuild b/kde-apps/dolphin/dolphin-21.04.49.9999.ebuild index 5e3e20bd11..10e34f4c6d 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 a469a25ca7..530de3cad0 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 0000000000..4f97a53c52 --- /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)