From 2471a96bbab6962cff85b0b789042547a11ace51 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:20:49 +0100 Subject: [PATCH] patch to fix path of kwalletd (kde4) in dbus legacy service [release 5.55.0-3mamba;Tue Mar 05 2019] --- kwallet-5.55.0-kwalletd-legacy-path.patch | 9 +++++++++ kwallet.spec | 17 +++++++++++------ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 kwallet-5.55.0-kwalletd-legacy-path.patch diff --git a/kwallet-5.55.0-kwalletd-legacy-path.patch b/kwallet-5.55.0-kwalletd-legacy-path.patch new file mode 100644 index 0000000..fcb435f --- /dev/null +++ b/kwallet-5.55.0-kwalletd-legacy-path.patch @@ -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 diff --git a/kwallet.spec b/kwallet.spec index bf6ce7f..8539325 100644 --- a/kwallet.spec +++ b/kwallet.spec @@ -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 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 5.55.0-3mamba +- patch to fix path of kwalletd (kde4) in dbus legacy service + +* Tue Mar 05 2019 Silvan Calarco 5.55.0-2mamba +- add link %{_bindir}/kwalletd + * Sat Feb 16 2019 Automatic Build System 5.55.0-1mamba - automatic version update by autodist