public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kf6-baloo] rawhide: service: make sure to order After plasma-workspace.target
@ 2026-10-28  1:44 Steve Cossette
  0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-10-28  1:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/kf6-baloo
Branch : rawhide
Commit : db7c87f3da687beb350bcaf2d6b54c546c176d3b
Author : Steve Cossette <steve@ninjasinpajamas.ca>
Date   : 2026-10-27T21:43:43-04:00
Stats  : +44/-35 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/kf6-baloo/c/db7c87f3da687beb350bcaf2d6b54c546c176d3b?branch=rawhide

Log:
service: make sure to order After plasma-workspace.target

---
diff --git a/096b0d3f7166ed2bde0266cfad9f04ca50903090.patch b/096b0d3f7166ed2bde0266cfad9f04ca50903090.patch
deleted file mode 100644
index 3e34c01..0000000
--- a/096b0d3f7166ed2bde0266cfad9f04ca50903090.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-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 ddb698e58..e0f396060 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
-

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..4cdf177 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}
@@ -12,10 +12,9 @@ Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{f
 Source1: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz.sig
 
 # Upstream Patches
-# Service: Do not start too early
-# https://invent.kde.org/frameworks/baloo/-/commit/096b0d3f7166ed2bde0266cfad9f04ca50903090
-
-Patch1:   096b0d3f7166ed2bde0266cfad9f04ca50903090.patch
+# service: make sure to order After plasma-workspace.target
+# https://invent.kde.org/frameworks/baloo/-/merge_requests/334
+Patch1:   334.patch
 
 ## upstreamable patches
 # http://bugzilla.redhat.com/1235026
@@ -155,6 +154,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  1:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28  1:44 [rpms/kf6-baloo] rawhide: service: make sure to order After plasma-workspace.target Steve Cossette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox