Hi Dominique,
Am 09.08.25 um 17:31 schrieb Dominique Dumont:
On Wednesday, 6 August 2025 14:52:03 Central European Summer Time D. Graef via
Pan-users wrote:
Pan tries to load this file:
/usr/local/share/pan/icons/icon_status_error.png
but it is located here:
/usr/share/pan/icons/icon_status_error.png
I'm using this statement in the RPM SPEC file:
%{_datadir}/pan/icons/*png
%{_datadir} is defined as: /usr/share
ok, let's backtrack a little.
[...]
In your spec file, the first call to cmake is done with:
cmake -B std-build
You should try this first step with -DCMAKE_INSTALL_PREFIX=/usr :
cmake -B std-build -DCMAKE_INSTALL_PREFIX=/usr
I think you can avoid running make directly. These lines look fine:
%install
cmake --install std-build --prefix %{buildroot}/usr
Thanks a lot for your help. Icons are loaded now. A new RPM is available.
pan-v0.163-2.fc42.x86_64.rpm
https://copr.fedorainfracloud.org/coprs/dgraef/Pan/
Best reagrds
Detlef
_______________________________________________
Pan-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/pan-users