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