digiKam do not have a CI build for FreeBSD operating system, as Krita project.
Thanks in advance
Gilles Caulier
digiKam do not have a CI build for FreeBSD operating system, as Krita project.
Thanks in advance
Gilles Caulier
@cgilles https://build.kde.org/job/Extragear/job/digikam/job/kf5-qt5%20FreeBSDQt5.13/8/console opencv has been installed -- failures are now the missing link directories (basically -L/usr/local/lib)
yes, right :
03:32:36 [ 42%] Linking CXX shared library libdigikamcore.so
03:32:36 ld: error: unable to find library -llqr-1
03:32:36 ld: error: unable to find library -lglib-2.0
03:32:36 ld: error: unable to find library -lintl
03:32:36 ld: error: unable to find library -llqr-1
03:32:36 ld: error: unable to find library -lglib-2.0
03:32:36 ld: error: unable to find library -lintl
03:32:36 c++: error: linker command failed with exit code 1 (use -v to see invocation)
03:32:36 gmake[2]: * [core/app/CMakeFiles/digikamcore.dir/build.make:1279: core/app/libdigikamcore.so.7.0.0] Error 1
03:32:36 gmake[1]: * [CMakeFiles/Makefile2:6377: core/app/CMakeFiles/digikamcore.dir/all] Error 2
03:32:36 gmake[1]: *** Waiting for unfinished jobs....
Probably cmake find script do not populate right path to shared libraries. I suspect a problem in FindLqr cmake script here :
https://invent.kde.org/kde/digikam/blob/master/core/cmake/modules/FindLqr-1.cmake
Gilles Caulier
We have it fixed like so in the tree:
https://github.com/freebsd/freebsd-ports-kde/blob/master/graphics/digikam/files/patch-core_CMakeLists.txt
As this is all sorted out now from a CI Infrastructure point of view, going to unsubscribe myself and Sysadmin.
Let us know if anything further needs to be sorted out.
Tobias,
Your lqr-1 patch is applied while digiKam is compiled for freebsd ?
Gilles Caulier
Yes, all the patch-* in the files direcotry in the above link get applied before building.
What's about if you disable liblqr-1 detection under FREEBSD. In fact it's only used with one plugin (liquid-rescale) which represent 0.1 % of code.
Just to see if all the rest compile fine.
Gilles Caulier
I think it would be preferable if the cmake were fixed to properly respect the values read via the find package call. It's an easy fix after all.
Mfg Tobias
The linking problem is the same under MacOS. All is installed into /opt/digikam, and when lqr-1 dependency is installed digiKam do not link as under FreeBSD
Gilles Caulier