while compiling libreoffice and having activated USE-flag gltf in work/libreoffice-5.3.4.2/configure will test: $PKG_CONFIG --exists --print-errors "libgltf-0.0 >= 0.0.1 and work/libreoffice-5.3.4.2/download.lst shows export LIBGLTF_TARBALL := libgltf-0.0.2.tar.bz2 configure fails having installed newest media-libs/libgltf-0.1.0 thus depends must be versionized
Could you please test the following patch over lo-5.3.4.2 (requires libepoxy as new dependency)? https://cgit.freedesktop.org/libreoffice/core/commit/configure.ac?id=482d7ce61b423600b41b459eb26a2cc221cd0acf
Created attachment 478232 [details, diff] libreoffice-5.3.4.2-lbgltf-0.1.patch enables new libgltf Now configure phase succeeds with above patch applied: --- checking whether to enable glTF support... yes checking for libgltf-0.1 >= 0.1.0 ... yes checking whether to enable COLLADA support... yes checking which OPENCOLLADA to use... external checking COLLADABU.h usability... yes checking COLLADABU.h presence... yes checking for COLLADABU.h... yes checking COLLADAFW.h usability... yes checking COLLADAFW.h presence... yes checking for COLLADAFW.h... yes checking COLLADASaxFWLLoader.h usability... yes checking COLLADASaxFWLLoader.h presence... yes checking for COLLADASaxFWLLoader.h... yes --- ... My old 2009 mac-mini needs some hours to fully compile libreoffice ...
Created attachment 478234 [details, diff] libreoffice-5.3.4.2-r1.diff ebuild diff - enable libepoxy when USE gltf - includes line with libreoffice-5.3.4.2-lbgltf-0.1.patch I did test configure without the libepoxy line in the ebuild, because I had it @world and I am unsure if that line is correct. I guess an -r1 revision is not needed, because everyone tried gltf/opencollada must have failed
Sorry, didn't realise the patch was much too big (it is more than just configure.ac), so I pinned down dependency for <=5.3.9999 to libgltf-0.0* in git commit 195cd95f931f552afe628263084704bccde34cba. Thanks for your report.
Created attachment 478250 [details, diff] complete upstream patch modified to work Note, that only two trivial changes were necessary to let the complete upstream patch apply cleanly on 5.3.4.2. This also replaces glew with libepoxy.