mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/kpeoplevcard: EAPI-8 bump, missing DEPEND, upstream fix
Upstream commit 778d03445f41c536f2ca9116ee6acb5f4f01b868 KDE-bug: https://bugs.kde.org/show_bug.cgi?id=423845 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From 778d03445f41c536f2ca9116ee6acb5f4f01b868 Mon Sep 17 00:00:00 2001
|
||||
From: Dimitar Petrovski <dimeptr@gmail.com>
|
||||
Date: Mon, 6 Jul 2020 18:36:31 +0200
|
||||
Subject: [PATCH] Emit the Initial Fetch Complete signal
|
||||
|
||||
BUG: 423845
|
||||
The plugin does not emit the initialFetchComplete signal which seems
|
||||
needed by AllContactsMonitor and PersonsModel does not get initialized
|
||||
since it waitd for the signal from all plugins
|
||||
---
|
||||
src/kpeoplevcard.cpp | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/kpeoplevcard.cpp b/src/kpeoplevcard.cpp
|
||||
index bfaf71e..20531f6 100644
|
||||
--- a/src/kpeoplevcard.cpp
|
||||
+++ b/src/kpeoplevcard.cpp
|
||||
@@ -153,6 +153,8 @@ KPeopleVCard::KPeopleVCard()
|
||||
|
||||
processDirectory(QFileInfo(*vcardsLocation));
|
||||
|
||||
+ emitInitialFetchComplete(true);
|
||||
+
|
||||
connect(m_fs, &KDirWatch::dirty, this, [this](const QString& path) {
|
||||
const QFileInfo fi(path);
|
||||
if (fi.isFile())
|
||||
--
|
||||
GitLab
|
||||
|
||||
34
dev-libs/kpeoplevcard/kpeoplevcard-0.1-r1.ebuild
Normal file
34
dev-libs/kpeoplevcard/kpeoplevcard-0.1-r1.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KDE_ORG_CATEGORY="pim"
|
||||
KFMIN=5.82.0
|
||||
QTMIN=5.15.2
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Library to expose vcards to KPeople"
|
||||
HOMEPAGE="https://invent.kde.org/pim/kpeoplevcard"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="5"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=kde-frameworks/kcontacts-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kpeople-${KFMIN}:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-emit-initial-fetch-complete-signal.patch" # KDE-bug 423845
|
||||
)
|
||||
Reference in New Issue
Block a user