[Libreoffice] PDF converter cross compilation general questions

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Thu Jan 26 06:42:35 PST 2012


Hi Andrzej,

Il 26/01/2012 15:01, Andrzej.Pacanowski at tieto.com ha scritto:
> Hi guys,
>
> I've been investigating a possibility of LibreOffice cross-compilation for Linux X-less device(ARM) and use it as document(writer/calc/impress) to pdf converter.

i'd like to do more or less the same :)

> 1)      Is it possible to compile LO without any graphic library (pure -headless)? Or how much work would that require?

AFAIK, not at the moment :)

> 5)      If we're about hacking the build process to our needs (removing dependencies) where should we start?

You can take a look at the embarassing attached patch (should apply to 
git master), that breaks compilation btw :), which i'm slowly trying to 
figure out how to fix.

You may also want to take a look at this ./autogen.sh invocation where 
you probably want to remove all the --without-system-* to reuse existing 
system libraries.

./autogen.sh --without-help --without-junit --without-java --disable-epm 
--disable-gtk --disable-gtk3 --disable-odk --disable-vba 
--disable-mozilla --disable-gstreamer --disable-randr --without-ppds 
--without-afms --disable-cairo-canvas --disable-neon --disable-dbus 
--disable-systray --disable-mathmldtd  --disable-extension-integration 
--with-system-libs --without-system-libvisio --without-system-libcmis 
--without-system-libwpd --without-system-cppunit --without-system-libwps 
--without-system-libwpg --without-system-graphite 
--without-system-sampleicc --without-system-redland 
--without-system-hunspell --without-system-mythes 
--without-system-altlinuxhyph --without-system-lpsolve 
--without-system-libexttextcat --without-system-poppler 
--enable-headless --disable-postgresql-sdbc

hth

-- 
Riccardo Magliocchetti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-hack.diff
Type: text/x-diff
Size: 4036 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120126/fa60bb6a/attachment.diff>


More information about the LibreOffice mailing list