Vigra needs updating. It has been patched for Fedora, but I am not able to patch it to make it usable in my application. My app’s Flatpak won’t run on org.gnome.Platform runtime-version: “41” until that happens.
App currently depends on ilmbase which needs update as C++ version it runs on is 10 years old, but it appears to have been abandoned. I could instead use a later version of OpenEXR - OpenEXR3 which doesn’t need ilmbase, but that needs an update to Vigra.
I think that needs me to apply patches or something, which I don’t want to tackle.
you can also do this (as a regular user
This looks like worth trying, but fails on the first command, telling me I need superuser privileges, as I would expect. Perhaps some of these commands should use su and some must not. I’ll take a chance and run them as myself first then if it fails try su.
Sorry, yes – that first command (dnf install) needs root. I’ve edited it to add sudo to make that clear. Confession: I already have that tool installed, so I added that to the post at the last minute and clearly was a bit hasty.
Nothing else needs to run as root.
And actually, I could have left that out — if you don’t have a command installed on Fedora Workstation and type it anyway, you should get a prompt to install it. But I figured installing it explicitly was more deterministic. Sorry about the confusion.
Yep, that should be exactly what you want — a snapshot of the Fedora source with the patches applied.
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
near the top of the file, but after cmake_minimum_required().
and ending with:
-- Build files have been written to: /run/build/vigra
[1/22] Building CXX object impex/CMakeFiles/vigraimpex.dir/bmp.o
/usr/bin/c++ -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -MD -MT impex/CMakeFiles/vigraimpex.dir/bmp.o -MF impex/CMakeFiles/vigraimpex.dir/bmp.o.d -o impex/CMakeFiles/vigraimpex.dir/bmp.o -c /run/build/vigra/impex/bmp.cxx
/run/build/vigra/impex/bmp.cxx:38:10: fatal error: vigra/config.hxx: No such file or directory
38 | #include "vigra/config.hxx"
ninja: build stopped: subcommand failed.
Error: module vigra: Child process exited with code 1