!5 fixed konsole5 build failure in openEuler-24.03-LTS-SP1:epol
From: @chenyanpanX Reviewed-by: @misaka00251 Signed-off-by: @misaka00251
This commit is contained in:
commit
f9eb80397d
@ -10,7 +10,7 @@
|
|||||||
Name: konsole5
|
Name: konsole5
|
||||||
Summary: KDE Terminal emulator
|
Summary: KDE Terminal emulator
|
||||||
Version: 23.08.4
|
Version: 23.08.4
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2 and GFDL-1.2-or-later
|
License: GPLv2 and GFDL-1.2-or-later
|
||||||
URL: http://www.kde.org/applications/system/konsole/
|
URL: http://www.kde.org/applications/system/konsole/
|
||||||
|
|
||||||
@ -89,16 +89,12 @@ Summary: Konsole5 kpart plugin
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5}
|
||||||
pushd %{_target_platform}
|
%{cmake_build}
|
||||||
%{cmake_kf5} .. \
|
|
||||||
%{?tests:-DBUILD_TESTING:BOOL=ON}
|
|
||||||
popd
|
|
||||||
%make_build -C %{_target_platform}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
|
|
||||||
install -m644 -p -b -D %{SOURCE10} %{buildroot}%{_kf5_sysconfdir}/xdg/konsolerc
|
install -m644 -p -b -D %{SOURCE10} %{buildroot}%{_kf5_sysconfdir}/xdg/konsolerc
|
||||||
|
|
||||||
@ -109,15 +105,7 @@ desktop-file-edit --set-key=StartupWMClass --set-value=konsole %{buildroot}%{_kf
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.konsole.appdata.xml ||:
|
%{ctest}
|
||||||
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.konsole.desktop
|
|
||||||
%if 0%{?tests}
|
|
||||||
test "$(xvfb-run -a %{_target_platform}/src/konsole --version)" = "konsole %{version}" ||:
|
|
||||||
export CTEST_OUTPUT_ON_FAILURE=1
|
|
||||||
DBUS_SESSION_BUS_ADDRESS=
|
|
||||||
xvfb-run -a \
|
|
||||||
make test -C %{_target_platform} ARGS="--output-on-failure --timeout 30" ||:
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -f konsole.lang
|
%files -f konsole.lang
|
||||||
@ -153,6 +141,9 @@ make test -C %{_target_platform} ARGS="--output-on-failure --timeout 30" ||:
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 23.08.4-2
|
||||||
|
- adapt to the new CMake macros to fix build failure
|
||||||
|
|
||||||
* Mon Jan 08 2024 zhangxianting <zhangxianting@unintech.com> - 23.08.4-1
|
* Mon Jan 08 2024 zhangxianting <zhangxianting@unintech.com> - 23.08.4-1
|
||||||
- Update package to version 23.08.4
|
- Update package to version 23.08.4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user