Usage of ftgl requires several bundled tarballs: ADDONS_SRC+=" ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2" ADDONS_SRC+=" ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2" ADDONS_SRC+=" ${ADDONS_URI}/libgltf/3d9ea1f2828c46f8ba94b88a87b3326d-libgltf-0.0.0.tar.bz2" These should be possible to be build separately and libreoffice should allow its usage. Otherwise no linux distros will provide this.
(In reply to comment #0) > Usage of ftgl requires several bundled tarballs: > > ADDONS_SRC+=" > ${ADDONS_URI}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master- > cb1d97788a.tar.bz2" > ADDONS_SRC+=" ${ADDONS_URI}/OpenCOLLADA-master-6509aa13af.tar.bz2" > ADDONS_SRC+=" > ${ADDONS_URI}/libgltf/3d9ea1f2828c46f8ba94b88a87b3326d-libgltf-0.0.0.tar.bz2" > > These should be possible to be build separately and libreoffice should allow > its usage. Otherwise no linux distros will provide this. Bjoern -- What do you think about these bundled components. Should we provide the ability to build these separately?
I have taken the patch from commit 2378f45d70c9ce4a093fd6b09216c1cd4563ebe2 to build with system libgltf, however had to revert these parts of the patch concerning avmedia/source/opengl/ogl{framegrabber,player,window}.hxx in order to succeed: +#ifdef SYSTEM_LIBGLTF +#include <libgltf/libgltf.h> +#else #include <libgltf.h> +#endif http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-3&id=2378f45d70c9ce4a093fd6b09216c1cd4563ebe2
Now --with-system-libgltf is available thank to Rene Engelhard both on master and libreoffice-4.3 branch. Collada libraries still are boundled only, but there is an other option to disable collada libraries only (not libgltf): http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-3&id=6d239ee19a4b1d9068fbd04b5a692c859142f613
(In reply to comment #2) > I have taken the patch from commit 2378f45d70c9ce4a093fd6b09216c1cd4563ebe2 > to build with system libgltf, however had to revert these parts of the patch > concerning avmedia/source/opengl/ogl{framegrabber,player,window}.hxx in > order to succeed: > > +#ifdef SYSTEM_LIBGLTF > +#include <libgltf/libgltf.h> > +#else > #include <libgltf.h> > +#endif > > http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4- > 3&id=2378f45d70c9ce4a093fd6b09216c1cd4563ebe2 Which libgltf version do you use? These defines were necessary only for libgltf-0.0.0, but the current version (0.0.1) use simpler include path (<libgltf.h>). See libgltf-0.0.1 integration: http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-3&id=d431986bd49081581e86444af124d1d2ce90a407
(In reply to comment #3) > Now --with-system-libgltf is available thank to Rene Engelhard both on > master and libreoffice-4.3 branch. > Collada libraries still are boundled only, but there is an other option to > disable collada libraries only (not libgltf): > http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4- > 3&id=6d239ee19a4b1d9068fbd04b5a692c859142f613 The option is --disable-collada and with that you can make LibreOffice not to support COLLADA and KMZ formats, but support glTF format.
(In reply to comment #4) > Which libgltf version do you use? These defines were necessary only for > libgltf-0.0.0, but the current version (0.0.1) use simpler include path > (<libgltf.h>). > > See libgltf-0.0.1 integration: > http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4- > 3&id=d431986bd49081581e86444af124d1d2ce90a407 0.0.1 indeed, and I've already spotted the followup patches for the bump and collada to include them in my local copy - thx for the work :)
AFAIK this has been fixed.
Not quite - collada2gltf is still bundled only.
Ah, you are right.