From: Andreas Sturmlechner Date: Thu, 13 Feb 2020 21:51:28 +0000 (+0100) Subject: kde-frameworks/baloo: Sync IndexerConfig on exit X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=500f1b0925996f5cf7d552a48443bdb52c0ca4bd;p=gentoo.git kde-frameworks/baloo: Sync IndexerConfig on exit See also: https://mail.kde.org/pipermail/plasma-devel/2020-February/111114.html KDE-Bug: https://bugs.kde.org/show_bug.cgi?id=417127 Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- diff --git a/kde-frameworks/baloo/baloo-5.67.0-r1.ebuild b/kde-frameworks/baloo/baloo-5.67.0-r1.ebuild new file mode 100644 index 000000000000..c7b655229de9 --- /dev/null +++ b/kde-frameworks/baloo/baloo-5.67.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_TEST="forceoptional" +PVCUT=$(ver_cut 1-2) +QTMIN=5.12.3 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="Framework for searching and managing metadata" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="" + +DEPEND=" + >=dev-db/lmdb-0.9.17 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + =kde-frameworks/kconfig-${PVCUT}*:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/kcrash-${PVCUT}*:5 + =kde-frameworks/kdbusaddons-${PVCUT}*:5 + =kde-frameworks/kfilemetadata-${PVCUT}*:5 + =kde-frameworks/ki18n-${PVCUT}*:5 + =kde-frameworks/kidletime-${PVCUT}*:5 + =kde-frameworks/kio-${PVCUT}*:5 + =kde-frameworks/solid-${PVCUT}*:5 +" +RDEPEND="${DEPEND}" + +RESTRICT+=" test" # bug 624250 + +PATCHES=( "${FILESDIR}/${P}-sync-IndexerConfig-on-exit.patch" ) diff --git a/kde-frameworks/baloo/files/baloo-5.67.0-sync-IndexerConfig-on-exit.patch b/kde-frameworks/baloo/files/baloo-5.67.0-sync-IndexerConfig-on-exit.patch new file mode 100644 index 000000000000..d18b7e2a1694 --- /dev/null +++ b/kde-frameworks/baloo/files/baloo-5.67.0-sync-IndexerConfig-on-exit.patch @@ -0,0 +1,37 @@ +From a0f8e748159b6bc0b8e5eaa1f9eb58a18ca736fa Mon Sep 17 00:00:00 2001 +From: David Edmundson +Date: Thu, 13 Feb 2020 16:52:40 +0000 +Subject: Sync IndexerConfig on exit + +Summary: +KCoreConfigSkeleton, unlike KConfig does not automagically save on exit. + +BUG: 417127 + +Test Plan: +balooctl disable +balooctl enable + +Subscribers: kde-frameworks-devel, #baloo + +Tags: #frameworks, #baloo + +Differential Revision: https://phabricator.kde.org/D27376 +--- + src/lib/indexerconfig.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lib/indexerconfig.cpp b/src/lib/indexerconfig.cpp +index 66786b9..19ae342 100644 +--- a/src/lib/indexerconfig.cpp ++++ b/src/lib/indexerconfig.cpp +@@ -43,6 +43,7 @@ IndexerConfig::IndexerConfig() + + IndexerConfig::~IndexerConfig() + { ++ d->m_settings.save(); + delete d; + } + +-- +cgit v1.1