add explicit shutdown script for baloo_file (parent bug #1861700)

epel9
Rex Dieter 4 years ago
parent 5314c93800
commit 3105292c3a

@ -0,0 +1,7 @@
# workaround for baloo_file processes persisting
# after logout, parent bug:
# https://bugzilla.redhat.com/show_bug.cgi?id=1861700
qdbus-qt5 org.kde.baloo >& /dev/null && \
qdbus-qt5 org.kde.baloo / org.kde.baloo.quit ||:

@ -11,7 +11,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Summary: A Tier 3 KDE Frameworks 5 module that provides indexing and search functionality Summary: A Tier 3 KDE Frameworks 5 module that provides indexing and search functionality
Version: 5.73.0 Version: 5.73.0
Release: 1%{?dist} Release: 2%{?dist}
# libs are LGPL, tools are GPL # libs are LGPL, tools are GPL
# KDE e.V. may determine that future LGPL/GPL versions are accepted # KDE e.V. may determine that future LGPL/GPL versions are accepted
@ -29,6 +29,8 @@ URL: https://community.kde.org/Baloo
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
Source1: 97-kde-baloo-filewatch-inotify.conf Source1: 97-kde-baloo-filewatch-inotify.conf
# shutdown script to explictly stop baloo_file on logout
Source2: baloo_file_shutdown.sh
## upstreamable patches ## upstreamable patches
# http://bugzilla.redhat.com/1235026 # http://bugzilla.redhat.com/1235026
@ -126,6 +128,7 @@ License: LGPLv2 or LGPLv3
rm -fv %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/baloodb5.* rm -fv %{buildroot}%{_datadir}/locale/*/LC_MESSAGES/baloodb5.*
install -p -m644 -D %{SOURCE1} %{buildroot}%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf install -p -m644 -D %{SOURCE1} %{buildroot}%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf
install -p -m644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/shutdown/baloo_file.sh
%find_lang kio5_baloosearch %find_lang kio5_baloosearch
%find_lang kio5_tags %find_lang kio5_tags
@ -168,6 +171,7 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%files file -f %{name}-file.lang %files file -f %{name}-file.lang
%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf %{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf
%{_sysconfdir}/xdg/plasma-workspace/shutdown/baloo_file.sh
%{_kf5_bindir}/baloo_file %{_kf5_bindir}/baloo_file
%{_kf5_bindir}/baloo_file_extractor %{_kf5_bindir}/baloo_file_extractor
%{_kf5_sysconfdir}/xdg/autostart/baloo_file.desktop %{_kf5_sysconfdir}/xdg/autostart/baloo_file.desktop
@ -200,6 +204,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%changelog %changelog
* Mon Sep 14 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.73.0-2
- add explicit shutdown script for baloo_file (parent bug #1861700)
* Mon Aug 03 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.73.0-1 * Mon Aug 03 2020 Rex Dieter <rdieter@fedoraproject.org> - 5.73.0-1
- 5.73.0 - 5.73.0

Loading…
Cancel
Save