How much help does LibreOffice's own documentation
offer? (For I
have
seen the ebuild, and it is an ugly beast with ~70 packages worth
of
dependencies. That's for the lightest configuration, which lacks
cups
support, any kind of scripting, and several other things. It
would be
much easier if we could just say, "follow this guide, but you'll
need to
pass this flag and this flag.")
As far as I can tell, something like the following is needed in the
build script:
====================
...
# Check for an installed Trinity and assume TQt.
# We need additional tests to ensure LO has been patched correctly.
TDEDIR=${TDEDIR:-""} # to avoid "TDEDIR: unbound variable"
if [ ! -z "$TDEDIR" ]; then
export TDEDIR="$TDEDIR"
export QTDIR="$QTDIR"
export QTINC="$QTDIR/include"
export QTLIB="$QTDIR/lib${LIBDIRSUFFIX}"
TDEOPTS="--enable-tde"
else
TDEOPTS="--disable-tde"
fi
...
./autogen.sh \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-${LOVER}${VERSION}${PKG_SUBVER} \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--mandir=/usr/man \
...
${GITOPTS} \
${KDEOPTS} \
${TDEOPTS} \
...
====================
My build attempt failed when I tried to build the latest stable,
4.1.4. I filed bug report 1799 showing the failure messages.
http://bugs.trinitydesktop.org/show_bug.cgi?id=1799
Seems the expected directory and file location has changed from
previous versions of LO. My guess is we need to push an appropriate
patch upstream to the LO folks.
Darrell