[REVIEW-3-5] fdo#42961 Don't let env vars interfere with internal bootstrap vars

Michael Meeks michael.meeks at suse.com
Thu Mar 15 09:20:35 PDT 2012

On Thu, 2012-03-15 at 11:42 +0200, Tor Lillqvist wrote:
> Just out of interest, could you explain a bit more verbosely what is
> going on, what is this ".override" thing? (Or point to some webpage
> documenting it...)

	The bootstrap stuff is (to put it mildly) horribly over-engineered and
not that readable; it does a ton of variable substitution, and it can
read other ini files and substitute variables from them recursively.
Some of those eg. ORIGIN are related to the location of the ini file
itself, and then there are other syntaxes laid on top of that to
interpret each variable:

UNO_SERVICES=${ORIGIN}/../share/misc/services.rdb ?file:///etc/opt/ure/services.rdb ?${SYSUSERHOME}/.ure/services.rdb ${URE_MORE_SERVICES}

	One consequence of this is 10 interlinked *rc files (on Linux, or .ini
IIRC on Windows) eg.


	Which - I assume loads that rc file and hooks the 'UserInstallation'
key out of it.

	In addition to override, there seems to be a .link thing in there as

	IMHO we would benefit from a -much- simpler set of (perhaps two)
LibreOffice + UNO bootstrap files, with fewer features and a simpler

	But - of course, that's just me :-)

	It's quite a powerful system anyhow,



michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot

More information about the LibreOffice mailing list