Mageia Bugzilla – Attachment 14441 Details for
Bug 32948
tuncel servicemenus path has to be adjusted for Plasma 6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
tuncel service menus patch
tuncel.spec.patch (text/plain), 1.13 KB, created by
Aurelian R
on 2024-03-07 23:30:50 CET
(
hide
)
Description:
tuncel service menus patch
Filename:
MIME Type:
Creator:
Aurelian R
Created:
2024-03-07 23:30:50 CET
Size:
1.13 KB
patch
obsolete
>--- tuncel/tuncel.spec 2024-03-07 20:11:29.042959659 +0200 >+++ SPECS/tuncel.spec 2024-03-08 00:09:11.314992824 +0200 >@@ -19,7 +19,7 @@ Source0: %{url}/releases/download/%{vers > Patch0: tuncel-2.0-python3.patch > > %if %{plasma} >-BuildRequires: kf5-rpm-macros >+BuildRequires: kf6-rpm-macros > %endif > %if %{gtk} > BuildRequires: zenity >@@ -94,6 +94,7 @@ Nemo-Actions actions for easy RPM packag > > %prep > %autosetup -p1 >+sed -i "s|PLASMA_SERVICE_MENU_DIR=$.*|PLASMA_SERVICE_MENU_DIR=\${datadir}/kio/servicemenus/|g" configure.ac > > %build > NOCONFIGURE=1 ./autogen.sh >@@ -114,8 +115,8 @@ export PYTHON=%{__python3} > %make_install > > %if %{plasma} >-mv %{buildroot}%{_kf5_services}/ServiceMenus/%{name}_plasma.desktop \ >- %{buildroot}%{_kf5_services}/ServiceMenus/%{name}.desktop >+mv %{buildroot}%{_datadir}/kio/servicemenus/%{name}_plasma.desktop \ >+ %{buildroot}%{_datadir}/kio/servicemenus/%{name}.desktop > %endif > > %find_lang %{name} >@@ -127,7 +128,7 @@ mv %{buildroot}%{_kf5_services}/ServiceM > > %if %{plasma} > %files -n %{name}-plasma >-%{_kf5_services}/ServiceMenus/%{name}.desktop >+%{_datadir}/kio/servicemenus/%{name}.desktop > %endif > > %if %{gtk}
--- tuncel/tuncel.spec 2024-03-07 20:11:29.042959659 +0200 +++ SPECS/tuncel.spec 2024-03-08 00:09:11.314992824 +0200 @@ -19,7 +19,7 @@ Source0: %{url}/releases/download/%{vers Patch0: tuncel-2.0-python3.patch %if %{plasma} -BuildRequires: kf5-rpm-macros +BuildRequires: kf6-rpm-macros %endif %if %{gtk} BuildRequires: zenity @@ -94,6 +94,7 @@ Nemo-Actions actions for easy RPM packag %prep %autosetup -p1 +sed -i "s|PLASMA_SERVICE_MENU_DIR=$.*|PLASMA_SERVICE_MENU_DIR=\${datadir}/kio/servicemenus/|g" configure.ac %build NOCONFIGURE=1 ./autogen.sh @@ -114,8 +115,8 @@ export PYTHON=%{__python3} %make_install %if %{plasma} -mv %{buildroot}%{_kf5_services}/ServiceMenus/%{name}_plasma.desktop \ - %{buildroot}%{_kf5_services}/ServiceMenus/%{name}.desktop +mv %{buildroot}%{_datadir}/kio/servicemenus/%{name}_plasma.desktop \ + %{buildroot}%{_datadir}/kio/servicemenus/%{name}.desktop %endif %find_lang %{name} @@ -127,7 +128,7 @@ mv %{buildroot}%{_kf5_services}/ServiceM %if %{plasma} %files -n %{name}-plasma -%{_kf5_services}/ServiceMenus/%{name}.desktop +%{_datadir}/kio/servicemenus/%{name}.desktop %endif %if %{gtk}
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32948
: 14441