From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/baloo/, kde-frameworks/baloo/files/
Date: Thu, 13 Feb 2020 23:20:08 +0000 (UTC) [thread overview]
Message-ID: <1581635966.500f1b0925996f5cf7d552a48443bdb52c0ca4bd.asturm@gentoo> (raw)
commit: 500f1b0925996f5cf7d552a48443bdb52c0ca4bd
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 13 21:51:28 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 23:19:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=500f1b09
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 <asturm <AT> gentoo.org>
kde-frameworks/baloo/baloo-5.67.0-r1.ebuild | 37 ++++++++++++++++++++++
.../baloo-5.67.0-sync-IndexerConfig-on-exit.patch | 37 ++++++++++++++++++++++
2 files changed, 74 insertions(+)
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 00000000000..c7b655229de
--- /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 00000000000..d18b7e2a169
--- /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 <kde@davidedmundson.co.uk>
+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
next reply other threads:[~2020-02-13 23:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-13 23:20 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-06 21:07 [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/baloo/, kde-frameworks/baloo/files/ Andreas Sturmlechner
2015-09-26 16:00 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1581635966.500f1b0925996f5cf7d552a48443bdb52c0ca4bd.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox