mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
office/LibreOffice: Updated for version 5.2.2.2
Signed-off-by: Christoph Willing <chris.willing@iinet.net.au>
This commit is contained in:
parent
7f34e8407b
commit
40260794b9
4 changed files with 36 additions and 15 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
PRGNAM=LibreOffice
|
||||
SRCNAM=libreoffice
|
||||
VERSION=${VERSION:-5.2.1.2}
|
||||
VERSION=${VERSION:-5.2.2.2}
|
||||
SHORT_VERSION=${VERSION%.*.*}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -69,6 +69,7 @@ cd $TMP
|
|||
rm -rf $SRCNAM-$VERSION
|
||||
tar xvf $CWD/$SRCNAM-$VERSION.tar.xz
|
||||
cd $SRCNAM-$VERSION
|
||||
patch -p0 < $CWD/substitutepathvars.diff
|
||||
|
||||
if [ "$HAVE_SRCS_TARBALL" = "1" ]; then
|
||||
tar xvf $CWD/$SRCNAM-${VERSION}-srcs.tar.xz
|
||||
|
@ -82,8 +83,9 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Options
|
||||
avahi="" ; [ "${AVAHI:-yes}" != "no" ] && avahi="--enable-avahi"
|
||||
vlc="" ; [ "${VLC:-no}" != "no" ] && vlc="--enable-vlc"
|
||||
avahi="" ; [ "${AVAHI:-no}" != "no" ] && avahi="--enable-avahi"
|
||||
vlc="" ; [ "${VLC:-no}" != "no" ] && vlc="--enable-vlc"
|
||||
kde4="--enable-kde4" ; [ "${KDE4:-yes}" != "yes" ] && kde4="--disable-vlc"
|
||||
LOLANGS=${LOLANGS:-"de es fr id it ja nl vi zh-CN"}
|
||||
|
||||
# LibreOffice.info REQUIRES jdk
|
||||
|
@ -105,10 +107,10 @@ LOLANGS=${LOLANGS:-"de es fr id it ja nl vi zh-CN"}
|
|||
--enable-release-build=yes \
|
||||
--enable-python="system" \
|
||||
--enable-gio \
|
||||
--enable-kde4 \
|
||||
--enable-ext-mariadb-connector \
|
||||
$avahi \
|
||||
$vlc \
|
||||
$kde4 \
|
||||
--with-x \
|
||||
--with-tls="nss" \
|
||||
--without-krb5 \
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
PRGNAM="LibreOffice"
|
||||
VERSION="5.2.1.2"
|
||||
VERSION="5.2.2.2"
|
||||
HOMEPAGE="http://libreoffice.org"
|
||||
DOWNLOAD="http://download.documentfoundation.org/libreoffice/src/5.2.1/libreoffice-5.2.1.2.tar.xz \
|
||||
http://sourceforge.net/projects/slackbuildsdirectlinks/files/LibreOffice/libreoffice-5.2.1.2-srcs.tar.xz"
|
||||
MD5SUM="10c9de303065e877954ee3f9717b48ec \
|
||||
26fcf09f00b239cb8607d60fe77a9aaa"
|
||||
DOWNLOAD="http://download.documentfoundation.org/libreoffice/src/5.2.2/libreoffice-5.2.2.2.tar.xz \
|
||||
http://sourceforge.net/projects/slackbuildsdirectlinks/files/LibreOffice/libreoffice-5.2.2.2-srcs.tar.xz"
|
||||
MD5SUM="4a001b0b43e58a3e584cb703d72cf19d \
|
||||
332b160cfd23671a638a211f721ba10f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="avahi python3 apache-ant perl-Archive-Zip"
|
||||
REQUIRES="python3 apache-ant perl-Archive-Zip"
|
||||
MAINTAINER="Christoph Willing"
|
||||
EMAIL="chris.willing@linux.com"
|
||||
|
|
|
@ -8,12 +8,19 @@ and Math for editing mathematics.
|
|||
|
||||
This SlackBuild builds the entire project from its source code. In seeking a
|
||||
fully functional LibreOffice, most optional features are included by default.
|
||||
Build time environment variables that may set to vary features are as follows.
|
||||
1. enable (disabled by default) the experimental VLC avmedia backend with:
|
||||
Build time environment variables that may set to vary features are as follows:
|
||||
1. enable the experimental VLC avmedia backend (disabled by default) with:
|
||||
VLC="yes"
|
||||
2. disable (enabled by default) use of avahi with:
|
||||
AVAHI="no"
|
||||
3. support additional languages by overriding the LOLANGS variable, whose
|
||||
This requires the vlc package (available from SBo) to be installed.
|
||||
|
||||
2. enable avahi support (disabled by default) with:
|
||||
AVAHI="yes"
|
||||
This requires the avahi package (available from SBo) to be installed.
|
||||
|
||||
3. disable kde4 support (enabled by default) with:
|
||||
KDE4="no"
|
||||
|
||||
4. support additional languages by overriding the LOLANGS variable, whose
|
||||
default setting is LOLANGS="de es fr id it ja nl vi zh-CN". Note that en-US
|
||||
is always added to whatever LOLANGS is set. Thus building with, for example,
|
||||
LOLOANGS="de" sh LibreOffice
|
||||
|
|
12
office/LibreOffice/substitutepathvars.diff
Normal file
12
office/LibreOffice/substitutepathvars.diff
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- framework/source/services/substitutepathvars.cxx.orig 2016-09-22 01:12:13.000000000 +1000
|
||||
+++ framework/source/services/substitutepathvars.cxx 2016-09-30 10:54:26.208653704 +1000
|
||||
@@ -1095,7 +1095,8 @@
|
||||
if ( nPos >= 0 )
|
||||
{
|
||||
bool bMatch = true;
|
||||
- if ( i->eVariable == PREDEFVAR_LANGID ||
|
||||
+ if ( i->eVariable == PREDEFVAR_USERNAME ||
|
||||
+ i->eVariable == PREDEFVAR_LANGID ||
|
||||
i->eVariable == PREDEFVAR_VLANG )
|
||||
{
|
||||
// Special path variables as they can occur in the middle of a path. Only match if they
|
Loading…
Reference in a new issue