mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
kde-frameworks/baloo: Do not start service too early
Closes: https://bugs.gentoo.org/984337 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ECM_TEST="forceoptional"
|
||||
QTMIN=6.10.1
|
||||
inherit ecm frameworks.kde.org
|
||||
|
||||
DESCRIPTION="Framework for searching and managing metadata"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test" # bug 624250
|
||||
|
||||
DEPEND="
|
||||
>=dev-db/lmdb-0.9.17
|
||||
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:6
|
||||
=kde-frameworks/kconfig-${KDE_CATV}*:6
|
||||
=kde-frameworks/kcoreaddons-${KDE_CATV}*:6
|
||||
=kde-frameworks/kcrash-${KDE_CATV}*:6
|
||||
=kde-frameworks/kdbusaddons-${KDE_CATV}*:6
|
||||
=kde-frameworks/kfilemetadata-${KDE_CATV}*:6
|
||||
=kde-frameworks/ki18n-${KDE_CATV}*:6
|
||||
=kde-frameworks/kidletime-${KDE_CATV}*:6
|
||||
=kde-frameworks/kio-${KDE_CATV}*:6
|
||||
=kde-frameworks/solid-${KDE_CATV}*:6
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!${CATEGORY}/${PN}:5[-kf6compat(-)]
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-do-not-start-service-too-early.patch" ) # bug #984337
|
||||
@@ -0,0 +1,30 @@
|
||||
From 096b0d3f7166ed2bde0266cfad9f04ca50903090 Mon Sep 17 00:00:00 2001
|
||||
From: Harald Sitter <sitter@kde.org>
|
||||
Date: Tue, 13 Oct 2026 18:32:06 +0200
|
||||
Subject: [PATCH] service: do not start too early
|
||||
|
||||
previously the service got queued along with all the other early start
|
||||
units but in fact we a) don't need to be up ASAP and b) require a
|
||||
compositor to avoid crashing the extractor on neither working wayland or
|
||||
x11 sockets. as such, order the service after the core session target
|
||||
has been reached
|
||||
---
|
||||
src/file/kde-baloo.service.in | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/file/kde-baloo.service.in b/src/file/kde-baloo.service.in
|
||||
index ddb698e5..e0f39606 100644
|
||||
--- a/src/file/kde-baloo.service.in
|
||||
+++ b/src/file/kde-baloo.service.in
|
||||
@@ -1,6 +1,8 @@
|
||||
[Unit]
|
||||
Description=Baloo File Indexer Daemon
|
||||
PartOf=graphical-session.target
|
||||
+# We need the compositor to be running since we fork QGuiApplications.
|
||||
+After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@KDE_INSTALL_FULL_LIBEXECDIR_KF@/baloo_file
|
||||
--
|
||||
GitLab
|
||||
|
||||
Reference in New Issue
Block a user