Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
e4350ef071
!8 fixed kf5-baloo build failure in openEuler-24.03-LTS-SP1:epol
From: @chenyanpanX 
Reviewed-by: @misaka00251 
Signed-off-by: @misaka00251
2024-11-18 07:51:37 +00:00
ChenYanpan
8bbc3b4758
adapt to the new CMake macros to fix build failure 2024-11-15 19:38:58 +08:00
openeuler-ci-bot
5d75525c9b
!5 Update package to version 5.113.0
From: @jxy_git 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2024-01-13 12:35:42 +00:00
jxy_git
89cd53aa79 Update package to version 5.113.0 2024-01-03 09:59:04 +08:00
openeuler-ci-bot
adfc31fe91
!3 upgrade to version 5.108.0
From: @leeffo 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2023-08-09 03:31:03 +00:00
leeffo
eb322fe0bd upgrade to version 5.108.0 2023-08-08 13:38:02 +08:00
openeuler-ci-bot
700c4ff0b3
!2 update version to 5.100.0
From: @peijiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
2023-03-15 07:58:59 +00:00
peijiankang
ae052640ef update version to 5.100.0 2023-02-16 23:16:36 +08:00
openeuler-ci-bot
b07704ee5d
!1 Init package
From: @misaka00251 
Reviewed-by: @panchenbo 
Signed-off-by: @panchenbo
2022-10-11 05:21:22 +00:00
misaka00251
f5369ca4b1
Init package 2022-09-07 17:36:44 +08:00
6 changed files with 220 additions and 0 deletions

View File

@ -0,0 +1 @@
fs.inotify.max_user_watches = 524288

BIN
baloo-5.113.0.tar.xz Normal file

Binary file not shown.

View File

@ -0,0 +1,21 @@
diff -ur baloo-5.67.0/src/lib/baloosettings.kcfg baloo-5.67.0-baloofile_config/src/lib/baloosettings.kcfg
--- baloo-5.67.0/src/lib/baloosettings.kcfg 2020-02-02 13:42:43.000000000 +0100
+++ baloo-5.67.0-baloofile_config/src/lib/baloosettings.kcfg 2020-02-03 22:19:59.824381582 +0100
@@ -31,11 +31,15 @@
</entry>
<entry name="excludedFolders" key="exclude folders" type="PathList">
<label>exclude folders</label>
- <default code="true">QStringList()</default>
+ <default code="true">QStringList() &lt;&lt; QDir::homePath()</default>
</entry>
<entry name="folders" type="PathList">
<label>folders</label>
- <default code="true">QStringList() &lt;&lt; QDir::homePath()</default>
+ <default code="true">QStringList() &lt;&lt;
+ QStandardPaths::standardLocations(QStandardPaths::DocumentsLocation) &lt;&lt;
+ QStandardPaths::standardLocations(QStandardPaths::MusicLocation) &lt;&lt;
+ QStandardPaths::standardLocations(QStandardPaths::MoviesLocation) &lt;&lt;
+ QStandardPaths::standardLocations(QStandardPaths::PicturesLocation)</default>
</entry>
<entry name="excludedMimetypes" key="exclude mimetypes" type="StringList">
<label>exclude mimetypes</label>

7
baloo_file_shutdown.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
# 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 ||:

187
kf5-baloo.spec Normal file
View File

@ -0,0 +1,187 @@
%global framework baloo
# bootstrap mode
#%global bootstrap 1
%if !0%{?bootstrap}
%global tests 1
%endif
Name: kf5-%{framework}
Summary: A Tier 3 KDE Frameworks 5 module that provides indexing and search functionality
Version: 5.113.0
Release: 2
License: (LGPLv2 or LGPLv3) and (GPLv2 or GPLv3)
URL: https://community.kde.org/Baloo
%global majmin %majmin_ver_kf5
%global stable %stable_kf5
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
Source1: 97-kde-baloo-filewatch-inotify.conf
Source2: baloo_file_shutdown.sh
Patch100: baloo-5.67.0-baloofile_config.patch
BuildRequires: extra-cmake-modules >= %{majmin}
BuildRequires: kf5-kconfig-devel >= %{majmin}
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
BuildRequires: kf5-kcrash-devel >= %{majmin}
BuildRequires: kf5-kdbusaddons-devel >= %{majmin}
BuildRequires: kf5-kfilemetadata-devel >= %{majmin}
BuildRequires: kf5-ki18n-devel >= %{majmin}
BuildRequires: kf5-kidletime-devel >= %{majmin}
BuildRequires: kf5-kio-devel >= %{majmin}
BuildRequires: kf5-rpm-macros >= %{majmin}
BuildRequires: kf5-solid-devel >= %{majmin}
BuildRequires: lmdb-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
# for systemd-related macros
BuildRequires: systemd
%if 0%{?tests}
BuildRequires: dbus-x11
BuildRequires: time
BuildRequires: xorg-x11-server-Xvfb
%endif
Obsoletes: kf5-baloo-tools < 5.5.95-1
Provides: kf5-baloo-tools = %{version}-%{release}
Conflicts: baloo < 5
Obsoletes: kf5-baloo < 5.21.0-4
%description
%{summary}.
%package devel
Summary: Development files for %{name}
License: LGPLv2 or LGPLv3
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: kf5-kcoreaddons-devel >= %{majmin}
Requires: kf5-kfilemetadata-devel >= %{majmin}
Requires: qt5-qtbase-devel
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package file
Summary: File indexing and search for Baloo
License: LGPLv2 or LGPLv3
Conflicts: baloo-file < 5
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description file
%{summary}.
%package libs
Summary: Runtime libraries for %{name}
License: LGPLv2 or LGPLv3
%description libs
%{summary}.
%prep
%autosetup -n %{framework}-%{version} -p1
%build
%{cmake_kf5}
%{cmake_build}
%install
%{cmake_install}
%if 0%{?flatpak:1}
rm -fv %{buildroot}%{_userunitdir}/kde-baloo.service
%endif
# baloodb not installed unless BUILD_EXPERIMENTAL is enabled, so omit translations
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 -m755 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/shutdown/baloo_file.sh
%find_lang kio5_baloosearch
%find_lang kio5_tags
%find_lang kio5_timeline
%find_lang balooctl5
%find_lang balooengine5
%find_lang baloosearch5
%find_lang balooshow5
%find_lang baloo_file5
%find_lang baloo_file_extractor5
cat kio5_tags.lang kio5_baloosearch.lang kio5_timeline.lang \
balooctl5.lang balooengine5.lang baloosearch5.lang \
balooshow5.lang \
> %{name}.lang
cat baloo_file5.lang baloo_file_extractor5.lang \
> %{name}-file.lang
%check
%{ctest}
%files -f %{name}.lang
%license LICENSES/*.txt
%{_kf5_bindir}/baloosearch
%{_kf5_bindir}/balooshow
%{_kf5_bindir}/balooctl
%{_kf5_datadir}/qlogging-categories5/%{framework}*
%files file -f %{name}-file.lang
%{_prefix}/lib/sysctl.d/97-kde-baloo-filewatch-inotify.conf
%config(noreplace) %{_sysconfdir}/xdg/plasma-workspace/shutdown/baloo_file.sh
%{_kf5_bindir}/baloo_file
%{_kf5_bindir}/baloo_file_extractor
%config(noreplace) %{_kf5_sysconfdir}/xdg/autostart/baloo_file.desktop
%if ! 0%{?flatpak:1}
%{_userunitdir}/kde-baloo.service
%endif
%{_libexecdir}/baloo_file
%{_libexecdir}/baloo_file_extractor
%ldconfig_scriptlets libs
%files libs
%license LICENSES/*.txt
%{_kf5_libdir}/libKF5Baloo.so.*
%{_kf5_libdir}/libKF5BalooEngine.so.*
# multilib'd plugins and friends
%{_kf5_plugindir}/kio/baloosearch.so
%{_kf5_plugindir}/kio/tags.so
%{_kf5_plugindir}/kio/timeline.so
%{_kf5_plugindir}/kded/baloosearchmodule.so
%{_kf5_qmldir}/org/kde/baloo
%files devel
%{_kf5_libdir}/libKF5Baloo.so
%{_kf5_libdir}/cmake/KF5Baloo/
%{_kf5_libdir}/pkgconfig/Baloo.pc
%{_kf5_includedir}/Baloo/
%{_kf5_archdatadir}/mkspecs/modules/qt_Baloo.pri
%{_kf5_datadir}/dbus-1/interfaces/org.kde.baloo.*.xml
%{_kf5_datadir}/dbus-1/interfaces/org.kde.Baloo*.xml
%changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
- adapt to the new CMake macros to fix build failure
* Wed Jan 03 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
- Update package to version 5.113.0
* Thu Aug 03 2023 leeffo <liweiganga@uniontech.com> - 5.108.0-1
- upgrade to version 5.108.0
* Fri Feb 17 2023 peijiankang <peijiankang@kylinos.cn> - 5.100.0-1
- update verison to 5.100.0
* Wed Jul 13 2022 misaka00251 <misaka00251@misakanet.cn> - 5.97.0-1
- Init package

4
kf5-baloo.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: KDE/baloo
tag_prefix: "^v"
separator: "."