patch to fix path of kwalletd (kde4) in dbus legacy service [release 5.55.0-3mamba;Tue Mar 05 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 03:20:49 +01:00
parent d513676b83
commit 2471a96bba
2 changed files with 20 additions and 6 deletions

View File

@ -0,0 +1,9 @@
diff -Nru kwallet-5.55.0.orig/src/runtime/kwalletd/org.kde.kwalletd.service kwallet-5.55.0/src/runtime/kwalletd/org.kde.kwalletd.service
--- kwallet-5.55.0.orig/src/runtime/kwalletd/org.kde.kwalletd.service 2019-02-03 01:03:21.000000000 +0100
+++ kwallet-5.55.0/src/runtime/kwalletd/org.kde.kwalletd.service 2019-03-05 22:00:57.032133384 +0100
@@ -3,4 +3,4 @@
# that is because we have no means here, in KF5, to know about the KDE4 prefix
[D-BUS Service]
Name=org.kde.kwalletd
-Exec=/usr/bin/kwalletd
+Exec=/opt/kde/bin/kwalletd

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: kwallet
Version: 5.55.0
Release: 1mamba
Release: 3mamba
Summary: Safe desktop-wide storage for passwords
Group: System/Libraries
Vendor: openmamba
@ -9,6 +9,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/kwallet-%{version}.tar.xz
Patch0: kwallet-5.55.0-kwalletd-legacy-path.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -62,6 +63,7 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q
%patch0 -p1
%build
%cmake -d build
@ -71,10 +73,7 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang kwalletd5
%find_lang kwallet-query
cat kwallet-query.lang >> kwalletd5.lang
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -82,7 +81,7 @@ cat kwallet-query.lang >> kwalletd5.lang
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f kwalletd5.lang
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/kwallet.categories
%{_bindir}/kwalletd5
@ -113,6 +112,12 @@ cat kwallet-query.lang >> kwalletd5.lang
%doc README.md
%changelog
* Tue Mar 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.55.0-3mamba
- patch to fix path of kwalletd (kde4) in dbus legacy service
* Tue Mar 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.55.0-2mamba
- add link %{_bindir}/kwalletd
* Sat Feb 16 2019 Automatic Build System <autodist@mambasoft.it> 5.55.0-1mamba
- automatic version update by autodist