[Libreoffice] PATCH - change default KDE from 3 to 4

Wols Lists antlists at youngman.org.uk
Mon Oct 25 10:50:30 PDT 2010


On 25/10/10 17:19, Michael Meeks wrote:
> On Mon, 2010-10-25 at 15:37 +0200, Rene Engelhard wrote:
>>> 	My ideal is to have neither an enable or disable flag for any of the
>>> optional pieces: KDE3 / KDE4 / GNOME etc. - but have a default of
>>> auto-detection, so we only build if they are there.
>> I disagree. Even if you had auto-detection you still need those
>> options to *explicitely* en/dissable the features. There's reasons
>> you want to build without that stuff even when present.
> 	Ah ! you mistake me; for the developers profile (the default build) we
> should simply pass no configure option - and the default there should be
> to auto-detect.

So. I'll try and improve my autoconf-fu :-)

First thing to check - I presume if no config is specified then the
variables get set to null, so I need to check for three states ie yes,
no and null.

If no, it gets left out.
If yes, it gets compiled in.
If null, it is autodetected and compiled if it's there.

>> Everything auto-detected is a sure way to break
> 	Certainly - so packagers should explicitly pass --enable-foo or
> --disable-foo depending on what they want, and if foo is not there it
> should then break horribly :-)

So if it's yes but not there, then die like at present :-)

> 	Surely that doesn't create problems for distros ? [ it is easy to add
> the explicit flags to the distro configs ]

Yup.

> 	HTH,
>
> 		Michael.
>

I will accept the mission :-) I may be a long time ... (and I'll try and
document what I learn on the wiki build page :-)

Cheers,
Wol


More information about the LibreOffice mailing list