public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kf6-baloo] rawhide: Adding second systemd service fix
@ 2026-10-28 14:23 Steve Cossette
0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-10-28 14:23 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/kf6-baloo
Branch : rawhide
Commit : f8b70c41635f85787f73a0868f6978990f214c8a
Author : Steve Cossette <steve@ninjasinpajamas.ca>
Date : 2026-10-28T10:23:28-04:00
Stats : +45/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/kf6-baloo/c/f8b70c41635f85787f73a0868f6978990f214c8a?branch=rawhide
Log:
Adding second systemd service fix
---
diff --git a/334.patch b/334.patch
new file mode 100644
index 0000000..12d54fc
--- /dev/null
+++ b/334.patch
@@ -0,0 +1,37 @@
+From a5431882c8cb36116907f59c97b0d2d92a7fe543 Mon Sep 17 00:00:00 2001
+From: Harald Sitter <sitter@kde.org>
+Date: Fri, 16 Oct 2026 10:50:37 +0200
+Subject: [PATCH] service: make sure to order After plasma-workspace.target
+
+plasma-workspace.target somewhat unfortunately sets up a Wants (with
+implicit After) relationship on kde-baloo.service. This then can lead to
+a dependency loop where graphical-session.target is After
+plasma-workspace.target is After kde-baloo.service is After
+graphical-session.target...
+
+resolve this dependency loop by **explicitly** putting us after
+plasma-workspace.target
+
+this is necessary to prevent breakage with older Plasma versions. 6.9
+onwards removes this unnecessary relationship from the Plasma side. we
+are already WantedBy=graphical-session.target anyway
+---
+ 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 e0f39606..dad53b93 100644
+--- a/src/file/kde-baloo.service.in
++++ b/src/file/kde-baloo.service.in
+@@ -3,6 +3,8 @@ Description=Baloo File Indexer Daemon
+ PartOf=graphical-session.target
+ # We need the compositor to be running since we fork QGuiApplications.
+ After=graphical-session.target
++# Plasma < 6.9 is implicitly ordering After us. Explicitly specify the correct order to avoid a dependency loop
++After=plasma-workspace.target
+
+ [Service]
+ ExecStart=@KDE_INSTALL_FULL_LIBEXECDIR_KF@/baloo_file
+--
+GitLab
+
diff --git a/kf6-baloo.spec b/kf6-baloo.spec
index c656068..5a2399e 100644
--- a/kf6-baloo.spec
+++ b/kf6-baloo.spec
@@ -3,7 +3,7 @@
Name: kf6-%{framework}
Summary: A Tier 3 KDE Frameworks 6 module that provides indexing and search functionality
Version: 6.31.0
-Release: 2%{?dist}
+Release: 3%{?dist}
License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND bzip2-1.0.6
URL: https://invent.kde.org/frameworks/%{framework}
@@ -14,8 +14,11 @@ Source1: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{f
# Upstream Patches
# Service: Do not start too early
# https://invent.kde.org/frameworks/baloo/-/commit/096b0d3f7166ed2bde0266cfad9f04ca50903090
-
Patch1: 096b0d3f7166ed2bde0266cfad9f04ca50903090.patch
+# Plus...
+# service: make sure to order After plasma-workspace.target
+# https://invent.kde.org/frameworks/baloo/-/merge_requests/334
+Patch2: 334.patch
## upstreamable patches
# http://bugzilla.redhat.com/1235026
@@ -155,6 +158,9 @@ cat baloo_file6.lang baloo_file_extractor6.lang \
%exclude %{_qt6_docdir}/*/*.index
%changelog
+* Wed Oct 28 2026 Steve Cossette <steve@ninjasinpajamas.com> - 6.31.0-3
+- service: make sure to order After plasma-workspace.target
+
* Tue Oct 20 2026 Steve Cossette <steve@ninjasinpajamas.com> - 6.31.0-2
- FIX: Service: do not start too early
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-28 14:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 14:23 [rpms/kf6-baloo] rawhide: Adding second systemd service fix Steve Cossette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox