headless build doing something useful

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Thu May 31 14:33:30 PDT 2012


Hello,

Il 31/05/2012 22:50, Tomáš Chvátal ha scritto:
> Dne Čt 31. května 2012 21:04:21, Riccardo Magliocchetti napsal(a):
>> with the latest patches i pushed today i'm (finally :) able to compile /
>> install / convert some documents with --enable-headless switch.
>> [snip]
>> [1] https://wiki.documentfoundation.org/Development/HeadlessBuild
 >
> Just one question, are all the dependencies properly nested in the
> configure.in?

Nope, if you look at [1] above there are a ton of --disable switches, 
some of them have already a test_* variable in configure so we can do 
something for them.

> Lets say I am dumb and I want to call something like ./configure --enable-
> headless --enable-kde and expect the configure to pick for me that headless has
> priority there.

As Tor said you cannot avoid completely this kind of issues, my idea is 
towards making it easy to build headless but don't want clutter 
configure.in with tons of headless specific conditionals.

> Basically reason is that I want to implement this in our Gentoo ebuild and for
> that I have to trust the configure to decide it properly or patch it myself by
> use dependencies (eg stating "If having headless enabled you have to disable
> gtk, kde, gnome, ...") which in return requires users to do more work before
> getting the package to build.

I think it is a bit early for that kind of exposure :)

thanks,
riccardo


More information about the LibreOffice mailing list