Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/kpeoplevcard/files/, dev-libs/kpeoplevcard/
Date: Mon, 21 Feb 2022 16:48:34
Message-Id: 1645461910.2bbd49c6468f673f89b5bc13dd842c0f3cb5b160.asturm@gentoo
1 commit: 2bbd49c6468f673f89b5bc13dd842c0f3cb5b160
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 21 15:06:19 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 21 16:45:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bbd49c6
7
8 dev-libs/kpeoplevcard: EAPI-8 bump, missing DEPEND, upstream fix
9
10 Upstream commit 778d03445f41c536f2ca9116ee6acb5f4f01b868
11 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=423845
12
13 Package-Manager: Portage-3.0.30, Repoman-3.0.3
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 ...rd-0.1-emit-initial-fetch-complete-signal.patch | 29 ++++++++++++++++++
17 dev-libs/kpeoplevcard/kpeoplevcard-0.1-r1.ebuild | 34 ++++++++++++++++++++++
18 2 files changed, 63 insertions(+)
19
20 diff --git a/dev-libs/kpeoplevcard/files/kpeoplevcard-0.1-emit-initial-fetch-complete-signal.patch b/dev-libs/kpeoplevcard/files/kpeoplevcard-0.1-emit-initial-fetch-complete-signal.patch
21 new file mode 100644
22 index 000000000000..3f16d9f5b674
23 --- /dev/null
24 +++ b/dev-libs/kpeoplevcard/files/kpeoplevcard-0.1-emit-initial-fetch-complete-signal.patch
25 @@ -0,0 +1,29 @@
26 +From 778d03445f41c536f2ca9116ee6acb5f4f01b868 Mon Sep 17 00:00:00 2001
27 +From: Dimitar Petrovski <dimeptr@×××××.com>
28 +Date: Mon, 6 Jul 2020 18:36:31 +0200
29 +Subject: [PATCH] Emit the Initial Fetch Complete signal
30 +
31 +BUG: 423845
32 +The plugin does not emit the initialFetchComplete signal which seems
33 +needed by AllContactsMonitor and PersonsModel does not get initialized
34 +since it waitd for the signal from all plugins
35 +---
36 + src/kpeoplevcard.cpp | 2 ++
37 + 1 file changed, 2 insertions(+)
38 +
39 +diff --git a/src/kpeoplevcard.cpp b/src/kpeoplevcard.cpp
40 +index bfaf71e..20531f6 100644
41 +--- a/src/kpeoplevcard.cpp
42 ++++ b/src/kpeoplevcard.cpp
43 +@@ -153,6 +153,8 @@ KPeopleVCard::KPeopleVCard()
44 +
45 + processDirectory(QFileInfo(*vcardsLocation));
46 +
47 ++ emitInitialFetchComplete(true);
48 ++
49 + connect(m_fs, &KDirWatch::dirty, this, [this](const QString& path) {
50 + const QFileInfo fi(path);
51 + if (fi.isFile())
52 +--
53 +GitLab
54 +
55
56 diff --git a/dev-libs/kpeoplevcard/kpeoplevcard-0.1-r1.ebuild b/dev-libs/kpeoplevcard/kpeoplevcard-0.1-r1.ebuild
57 new file mode 100644
58 index 000000000000..3f8700aecede
59 --- /dev/null
60 +++ b/dev-libs/kpeoplevcard/kpeoplevcard-0.1-r1.ebuild
61 @@ -0,0 +1,34 @@
62 +# Copyright 1999-2022 Gentoo Authors
63 +# Distributed under the terms of the GNU General Public License v2
64 +
65 +EAPI=8
66 +
67 +KDE_ORG_CATEGORY="pim"
68 +KFMIN=5.82.0
69 +QTMIN=5.15.2
70 +inherit ecm kde.org
71 +
72 +DESCRIPTION="Library to expose vcards to KPeople"
73 +HOMEPAGE="https://invent.kde.org/pim/kpeoplevcard"
74 +
75 +if [[ ${KDE_BUILD_TYPE} = release ]]; then
76 + SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
77 + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
78 +fi
79 +
80 +LICENSE="LGPL-2.1+"
81 +SLOT="5"
82 +
83 +DEPEND="
84 + >=dev-qt/qtgui-${QTMIN}:5
85 + >=dev-qt/qtwidgets-${QTMIN}:5
86 + >=kde-frameworks/kcontacts-${KFMIN}:5
87 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
88 + >=kde-frameworks/ki18n-${KFMIN}:5
89 + >=kde-frameworks/kpeople-${KFMIN}:5
90 +"
91 +RDEPEND="${DEPEND}"
92 +
93 +PATCHES=(
94 + "${FILESDIR}/${P}-emit-initial-fetch-complete-signal.patch" # KDE-bug 423845
95 +)