Sorry to bother you again... here we have the reverse problem, any chance of a small patch for 1.9? /var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp: In member function ‘virtual bool Digikam::PGFLoader::save(const QString&, Digikam::DImgLoaderObserver*)’: /var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp:438:70: error: no matching function for call to ‘CPGFImage::Write(CPGFFileStream*, int, bool (&)(double, bool, void*), UINT32*, Digikam::PGFLoader* const)’ /usr/include/libpgf/PGFimage.h:209:7: note: candidates are: void CPGFImage::Write(CPGFStream*, UINT32*, bool (*)(double, bool, void*), void*) /usr/include/libpgf/PGFimage.h:236:9: note: UINT32 CPGFImage::Write(int, bool (*)(double, bool, void*), void*)
No 1.9.0 is now maintained. You can patch your local code with this : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/8be95a0925627b9e0c371573756bd0462685dcb5/diff/libs/dimg/loaders/pgfloader.cpp and this : https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/cb9435fae37f32553e8e354705e9abfe77783dad/diff/libs/threadimageio/pgfutils.cpp Gilles Caulier
Thanks Gilles, that's all I needed and wanted! :)
Created attachment 61619 [details] full patch for digikam-1.9 Just for reference, here's the full patch to make digikam-1.9 compile on both libpgf versions.
This problem is not reproducible using current 5.8.0 pre-release bundle available here : https://files.kde.org/digikam/ I close this file now. Re-open it if necessary. Gilles Caulier