summaryrefslogtreecommitdiffstats
path: root/libreoffice
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-06-25 12:47:55 +0000
committer Eric Hameleers <alien@slackware.com>2015-06-25 12:47:55 +0000
commitf1d461d110e3b4422f449338ed524a36df206503 (patch)
treeb0dc2415a016b8651592b42d0fc110b1b2ba219d /libreoffice
parent80095a39582098056da037aef9e7b05531a4f349 (diff)
downloadasb-f1d461d110e3b4422f449338ed524a36df206503.tar.gz
asb-f1d461d110e3b4422f449338ed524a36df206503.tar.xz
libreoffice: update to 5.0.0.rc1
Diffstat (limited to 'libreoffice')
-rwxr-xr-xlibreoffice/build/libreoffice.SlackBuild226
1 files changed, 177 insertions, 49 deletions
diff --git a/libreoffice/build/libreoffice.SlackBuild b/libreoffice/build/libreoffice.SlackBuild
index f4188beb..4531a84d 100755
--- a/libreoffice/build/libreoffice.SlackBuild
+++ b/libreoffice/build/libreoffice.SlackBuild
@@ -197,6 +197,8 @@
# * Update.
# 4.4.3-1: 23/apr/2015 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 5.0.0.rc1-1:24/jun/2015 by Eric Hameleers <alien@slackware.com>
+# * First release candidate for 5.0.0
#
# Run 'sh libreoffice.SlackBuild' to build a Slackware package.
# The package (.txz) and .txt file as well as build logs are created in /tmp .
@@ -222,13 +224,14 @@ TAG=${TAG:-alien}
# **
# ** NOTE: the script may be broken for GIT builds at the moment! **
# **
-#SRCVER=${SRCVER:-20101121}
+#SRCVER=${SRCVER:-20150621}
#SRCVER=${SRCVER:-HEAD}
-#SRCVER=${SRCVER:-3.3.0.4}
+#SRCVER=${SRCVER:-5.0.0.1git}
+#SRCVER=${SRCVER:-5.0.0.1}
-SRCVER=${SRCVER:-4.4.3}
+SRCVER=${SRCVER:-5.0.0}
SUBVER=".1"
-PKG_SUBVER=""
+PKG_SUBVER=".rc1"
# How many tarballs does this release consist of:
LO_TARBALLS=4
@@ -238,14 +241,22 @@ LO_TARBALLS=4
if [ "$SRCVER" = "HEAD" ]; then
VERSION=$(date +%Y%m%d)
USE_GIT="yes"
+ USE_LOVER="yes"
COMPR="xz"
elif [ "$(echo $SRCVER |cut -c1,2)" = "20" ]; then
VERSION=$SRCVER
USE_GIT="yes"
+ USE_LOVER="yes"
+ COMPR="xz"
+elif [ "${SRCVER%%git}" != "${SRCVER}" ]; then
+ VERSION=${SRCVER%%git}
+ USE_GIT="yes"
+ USE_LOVER="no"
COMPR="xz"
else
VERSION=$SRCVER
USE_GIT="no"
+ USE_LOVER="no"
COMPR="xz"
fi
@@ -269,8 +280,8 @@ DEF_LANG=${DEF_LANG:-"en_US"}
# The packagenames use official language code like 'en_US' while LibreOffice
# uses 'en-US'.
#
-#ADD_LANGUAGES=""
-ADD_LANGUAGES="$(cat $SRCDIR/languages |grep -v "^#" |cut -f1 -d= |tr '\n' ' ' |tr -s ' ' |sed -e 's/ *$//')"
+ADD_LANGUAGES=""
+#ADD_LANGUAGES="$(cat $SRCDIR/languages |grep -v "^#" |cut -f1 -d= |tr '\n' ' ' |tr -s ' ' |sed -e 's/ *$//')"
# Place to build (TMP) package (PKG) and output (OUTPUT) the program:
TMP=${TMP:-/tmp/build}
@@ -332,8 +343,11 @@ GITURI[3]="$GITBASE/translations"
# Two files that are used to determine what needs to be downloaded:
SOURCE[4]="$SRCDIR/sources/download.lst-${VERSION}${SUBVER}"
SRCURL[4]="http://cgit.freedesktop.org/libreoffice/core/plain/download.lst?id=libreoffice-${VERSION}${SUBVER}"
+GITURI[4]=""
+
SOURCE[5]="$SRCDIR/sources/Makefile.fetch-${VERSION}${SUBVER}"
SRCURL[5]="http://cgit.freedesktop.org/libreoffice/core/plain/Makefile.fetch?id=libreoffice-${VERSION}${SUBVER}"
+GITURI[5]=""
#
# Extra libraries / binaries required to build LibreOffice from source:
@@ -341,327 +355,432 @@ SRCURL[5]="http://cgit.freedesktop.org/libreoffice/core/plain/Makefile.fetch?id=
#
# --- Start of section generated by gensrc.sh ---
-# External sources for libreoffice-4.4.3.1
+# External sources for libreoffice-5.0.0.1
SOURCE[6]="$SRCDIR/sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll"
SRCURL[6]="http://dev-www.libreoffice.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll"
+GITURI[6]=""
SOURCE[7]="$SRCDIR/sources/libabw-0.1.1.tar.bz2"
SRCURL[7]="http://dev-www.libreoffice.org/src/libabw-0.1.1.tar.bz2"
+GITURI[7]=""
SOURCE[8]="$SRCDIR/sources/048751f3271906db5126ab76870444c4-commons-codec-1.9-src.zip"
SRCURL[8]="http://dev-www.libreoffice.org/src/048751f3271906db5126ab76870444c4-commons-codec-1.9-src.zip"
+GITURI[8]=""
SOURCE[9]="$SRCDIR/sources/2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz"
SRCURL[9]="http://dev-www.libreoffice.org/src/2c9b0f83ed5890af02c0df1c1776f39b-commons-httpclient-3.1-src.tar.gz"
+GITURI[9]=""
SOURCE[10]="$SRCDIR/sources/8ab049135b2d15313da5d9f0656894a1-commons-lang3-3.3.1-src.tar.gz"
SRCURL[10]="http://dev-www.libreoffice.org/src/8ab049135b2d15313da5d9f0656894a1-commons-lang3-3.3.1-src.tar.gz"
+GITURI[10]=""
SOURCE[11]="$SRCDIR/sources/commons-logging-1.2-src.tar.gz"
SRCURL[11]="http://dev-www.libreoffice.org/src/commons-logging-1.2-src.tar.gz"
+GITURI[11]=""
SOURCE[12]="$SRCDIR/sources/apr-1.4.8.tar.gz"
SRCURL[12]="http://dev-www.libreoffice.org/src/apr-1.4.8.tar.gz"
+GITURI[12]=""
SOURCE[13]="$SRCDIR/sources/apr-util-1.5.3.tar.gz"
SRCURL[13]="http://dev-www.libreoffice.org/src/apr-util-1.5.3.tar.gz"
+GITURI[13]=""
SOURCE[14]="$SRCDIR/sources/d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2"
SRCURL[14]="http://dev-www.libreoffice.org/src/d6eef4b4cacb2183f2bf265a5a03a354-boost_1_55_0.tar.bz2"
+GITURI[14]=""
-SOURCE[15]="$SRCDIR/sources/ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz"
-SRCURL[15]="http://dev-www.libreoffice.org/src/ea570af93c284aa9e5621cd563f54f4d-bsh-2.0b1-src.tar.gz"
+SOURCE[15]="$SRCDIR/sources/ec1941a74d3ef513c4ce57a9092b74e1-bsh-2.0b5-src.zip"
+SRCURL[15]="http://dev-www.libreoffice.org/src/ec1941a74d3ef513c4ce57a9092b74e1-bsh-2.0b5-src.zip"
+GITURI[15]=""
SOURCE[16]="$SRCDIR/sources/f101a9e88b783337b20b2e26dfd26d5f-cairo-1.10.2.tar.gz"
SRCURL[16]="http://dev-www.libreoffice.org/src/f101a9e88b783337b20b2e26dfd26d5f-cairo-1.10.2.tar.gz"
+GITURI[16]=""
SOURCE[17]="$SRCDIR/sources/libcdr-0.1.1.tar.bz2"
SRCURL[17]="http://dev-www.libreoffice.org/src/libcdr-0.1.1.tar.bz2"
+GITURI[17]=""
SOURCE[18]="$SRCDIR/sources/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz"
SRCURL[18]="http://dev-www.libreoffice.org/src/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz"
+GITURI[18]=""
SOURCE[19]="$SRCDIR/sources/5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz"
SRCURL[19]="http://dev-www.libreoffice.org/src/5821b806a98e6c38370970e682ce76e8-libcmis-0.5.0.tar.gz"
+GITURI[19]=""
SOURCE[20]="$SRCDIR/sources/CoinMP-1.7.6.tgz"
SRCURL[20]="http://dev-www.libreoffice.org/src/CoinMP-1.7.6.tgz"
+GITURI[20]=""
SOURCE[21]="$SRCDIR/sources/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2"
SRCURL[21]="http://dev-www.libreoffice.org/src/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2"
+GITURI[21]=""
SOURCE[22]="$SRCDIR/sources/cppunit-1.13.2.tar.gz"
SRCURL[22]="http://dev-www.libreoffice.org/src/cppunit-1.13.2.tar.gz"
+GITURI[22]=""
SOURCE[23]="$SRCDIR/sources/451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt"
SRCURL[23]="http://dev-www.libreoffice.org/src/451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt"
+GITURI[23]=""
SOURCE[24]="$SRCDIR/sources/curl-7.36.0.tar.bz2"
SRCURL[24]="http://dev-www.libreoffice.org/src/curl-7.36.0.tar.bz2"
+GITURI[24]=""
SOURCE[25]="$SRCDIR/sources/libe-book-0.1.2.tar.bz2"
SRCURL[25]="http://dev-www.libreoffice.org/src/libe-book-0.1.2.tar.bz2"
+GITURI[25]=""
SOURCE[26]="$SRCDIR/sources/3ade8cfe7e59ca8e65052644fed9fca4-epm-3.7.tar.gz"
SRCURL[26]="http://dev-www.libreoffice.org/src/3ade8cfe7e59ca8e65052644fed9fca4-epm-3.7.tar.gz"
+GITURI[26]=""
-SOURCE[27]="$SRCDIR/sources/libetonyek-0.1.1.tar.bz2"
-SRCURL[27]="http://dev-www.libreoffice.org/src/libetonyek-0.1.1.tar.bz2"
+SOURCE[27]="$SRCDIR/sources/libetonyek-0.1.2.tar.bz2"
+SRCURL[27]="http://dev-www.libreoffice.org/src/libetonyek-0.1.2.tar.bz2"
+GITURI[27]=""
SOURCE[28]="$SRCDIR/sources/dd7dab7a5fea97d2a6a43f511449b7cd-expat-2.1.0.tar.gz"
SRCURL[28]="http://dev-www.libreoffice.org/src/dd7dab7a5fea97d2a6a43f511449b7cd-expat-2.1.0.tar.gz"
+GITURI[28]=""
SOURCE[29]="$SRCDIR/sources/Firebird-2.5.2.26540-0.tar.bz2"
SRCURL[29]="http://dev-www.libreoffice.org/src/Firebird-2.5.2.26540-0.tar.bz2"
+GITURI[29]=""
SOURCE[30]="$SRCDIR/sources/77e15a92006ddc2adbb06f840d591c0e-fontconfig-2.8.0.tar.gz"
SRCURL[30]="http://dev-www.libreoffice.org/src/77e15a92006ddc2adbb06f840d591c0e-fontconfig-2.8.0.tar.gz"
+GITURI[30]=""
SOURCE[31]="$SRCDIR/sources/368f114c078f94214a308a74c7e991bc-crosextrafonts-20130214.tar.gz"
SRCURL[31]="http://dev-www.libreoffice.org/src/368f114c078f94214a308a74c7e991bc-crosextrafonts-20130214.tar.gz"
+GITURI[31]=""
SOURCE[32]="$SRCDIR/sources/c74b7223abe75949b4af367942d96c7a-crosextrafonts-carlito-20130920.tar.gz"
SRCURL[32]="http://dev-www.libreoffice.org/src/c74b7223abe75949b4af367942d96c7a-crosextrafonts-carlito-20130920.tar.gz"
+GITURI[32]=""
SOURCE[33]="$SRCDIR/sources/a4e565e220b5de082c23995e256e3c12-dejavu-fonts-ttf-2.34.zip"
SRCURL[33]="http://dev-www.libreoffice.org/src/a4e565e220b5de082c23995e256e3c12-dejavu-fonts-ttf-2.34.zip"
+GITURI[33]=""
SOURCE[34]="$SRCDIR/sources/35efabc239af896dfb79be7ebdd6e6b9-gentiumbasic-fonts-1.10.zip"
SRCURL[34]="http://dev-www.libreoffice.org/src/35efabc239af896dfb79be7ebdd6e6b9-gentiumbasic-fonts-1.10.zip"
+GITURI[34]=""
SOURCE[35]="$SRCDIR/sources/134d8262145fc793c6af494dcace3e71-liberation-fonts-ttf-1.07.4.tar.gz"
SRCURL[35]="http://dev-www.libreoffice.org/src/134d8262145fc793c6af494dcace3e71-liberation-fonts-ttf-1.07.4.tar.gz"
+GITURI[35]=""
SOURCE[36]="$SRCDIR/sources/5c781723a0d9ed6188960defba8e91cf-liberation-fonts-ttf-2.00.1.tar.gz"
SRCURL[36]="http://dev-www.libreoffice.org/src/5c781723a0d9ed6188960defba8e91cf-liberation-fonts-ttf-2.00.1.tar.gz"
+GITURI[36]=""
SOURCE[37]="$SRCDIR/sources/e7a384790b13c29113e22e596ade9687-LinLibertineG-20120116.zip"
SRCURL[37]="http://dev-www.libreoffice.org/src/e7a384790b13c29113e22e596ade9687-LinLibertineG-20120116.zip"
+GITURI[37]=""
SOURCE[38]="$SRCDIR/sources/7a15edea7d415ac5150ea403e27401fd-open-sans-font-ttf-1.10.tar.gz"
SRCURL[38]="http://dev-www.libreoffice.org/src/7a15edea7d415ac5150ea403e27401fd-open-sans-font-ttf-1.10.tar.gz"
+GITURI[38]=""
SOURCE[39]="$SRCDIR/sources/c3c1a8ba7452950636e871d25020ce0d-pt-serif-font-1.0000W.tar.gz"
SRCURL[39]="http://dev-www.libreoffice.org/src/c3c1a8ba7452950636e871d25020ce0d-pt-serif-font-1.0000W.tar.gz"
+GITURI[39]=""
SOURCE[40]="$SRCDIR/sources/0279a21fab6f245e85a6f85fea54f511-source-code-font-1.009.tar.gz"
SRCURL[40]="http://dev-www.libreoffice.org/src/0279a21fab6f245e85a6f85fea54f511-source-code-font-1.009.tar.gz"
+GITURI[40]=""
SOURCE[41]="$SRCDIR/sources/edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz"
SRCURL[41]="http://dev-www.libreoffice.org/src/edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz"
+GITURI[41]=""
-SOURCE[42]="$SRCDIR/sources/libfreehand-0.1.0.tar.bz2"
-SRCURL[42]="http://dev-www.libreoffice.org/src/libfreehand-0.1.0.tar.bz2"
+SOURCE[42]="$SRCDIR/sources/libfreehand-0.1.1.tar.bz2"
+SRCURL[42]="http://dev-www.libreoffice.org/src/libfreehand-0.1.1.tar.bz2"
+GITURI[42]=""
SOURCE[43]="$SRCDIR/sources/dbf2caca1d3afd410a29217a9809d397-freetype-2.4.8.tar.bz2"
SRCURL[43]="http://dev-www.libreoffice.org/src/dbf2caca1d3afd410a29217a9809d397-freetype-2.4.8.tar.bz2"
+GITURI[43]=""
SOURCE[44]="$SRCDIR/sources/594eb47b4b1210e25438d51825404d5a-glew-1.10.0.zip"
SRCURL[44]="http://dev-www.libreoffice.org/src/594eb47b4b1210e25438d51825404d5a-glew-1.10.0.zip"
+GITURI[44]=""
SOURCE[45]="$SRCDIR/sources/bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip"
SRCURL[45]="http://dev-www.libreoffice.org/src/bae83fa5dc7f081768daace6e199adc3-glm-0.9.4.6-libreoffice.zip"
+GITURI[45]=""
SOURCE[46]="$SRCDIR/sources/graphite2-1.2.4.tgz"
SRCURL[46]="http://dev-www.libreoffice.org/src/graphite2-1.2.4.tgz"
+GITURI[46]=""
-SOURCE[47]="$SRCDIR/sources/harfbuzz-0.9.23.tar.bz2"
-SRCURL[47]="http://dev-www.libreoffice.org/src/harfbuzz-0.9.23.tar.bz2"
+SOURCE[47]="$SRCDIR/sources/harfbuzz-0.9.40.tar.bz2"
+SRCURL[47]="http://dev-www.libreoffice.org/src/harfbuzz-0.9.40.tar.bz2"
+GITURI[47]=""
SOURCE[48]="$SRCDIR/sources/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip"
SRCURL[48]="http://dev-www.libreoffice.org/src/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip"
+GITURI[48]=""
SOURCE[49]="$SRCDIR/sources/4967da60b23413604c9e563beacc63b4-hunspell-1.3.3.tar.gz"
SRCURL[49]="http://dev-www.libreoffice.org/src/4967da60b23413604c9e563beacc63b4-hunspell-1.3.3.tar.gz"
+GITURI[49]=""
SOURCE[50]="$SRCDIR/sources/5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz"
SRCURL[50]="http://dev-www.libreoffice.org/src/5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz"
+GITURI[50]=""
-SOURCE[51]="$SRCDIR/sources/b73baa6fbdfef197608d1f69300919b9-icu4c-53_1-src.tgz"
-SRCURL[51]="http://dev-www.libreoffice.org/src/b73baa6fbdfef197608d1f69300919b9-icu4c-53_1-src.tgz"
+SOURCE[51]="$SRCDIR/sources/e844caed8f2ca24c088505b0d6271bc0-icu4c-54_1-src.tgz"
+SRCURL[51]="http://dev-www.libreoffice.org/src/e844caed8f2ca24c088505b0d6271bc0-icu4c-54_1-src.tgz"
+GITURI[51]=""
SOURCE[52]="$SRCDIR/sources/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip"
SRCURL[52]="http://dev-www.libreoffice.org/src/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip"
+GITURI[52]=""
SOURCE[53]="$SRCDIR/sources/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip"
SRCURL[53]="http://dev-www.libreoffice.org/src/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip"
+GITURI[53]=""
SOURCE[54]="$SRCDIR/sources/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip"
SRCURL[54]="http://dev-www.libreoffice.org/src/eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip"
+GITURI[54]=""
SOURCE[55]="$SRCDIR/sources/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip"
SRCURL[55]="http://dev-www.libreoffice.org/src/3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip"
+GITURI[55]=""
SOURCE[56]="$SRCDIR/sources/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip"
SRCURL[56]="http://dev-www.libreoffice.org/src/3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip"
+GITURI[56]=""
SOURCE[57]="$SRCDIR/sources/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip"
SRCURL[57]="http://dev-www.libreoffice.org/src/db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip"
+GITURI[57]=""
SOURCE[58]="$SRCDIR/sources/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip"
SRCURL[58]="http://dev-www.libreoffice.org/src/97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip"
+GITURI[58]=""
SOURCE[59]="$SRCDIR/sources/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip"
SRCURL[59]="http://dev-www.libreoffice.org/src/8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip"
+GITURI[59]=""
SOURCE[60]="$SRCDIR/sources/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip"
SRCURL[60]="http://dev-www.libreoffice.org/src/f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip"
+GITURI[60]=""
SOURCE[61]="$SRCDIR/sources/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip"
SRCURL[61]="http://dev-www.libreoffice.org/src/ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip"
+GITURI[61]=""
SOURCE[62]="$SRCDIR/sources/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip"
SRCURL[62]="http://dev-www.libreoffice.org/src/39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip"
+GITURI[62]=""
SOURCE[63]="$SRCDIR/sources/jpegsrc.v9a.tar.gz"
SRCURL[63]="http://dev-www.libreoffice.org/src/jpegsrc.v9a.tar.gz"
+GITURI[63]=""
SOURCE[64]="$SRCDIR/sources/libjpeg-turbo-1.3.1.tar.gz"
SRCURL[64]="http://dev-www.libreoffice.org/src/libjpeg-turbo-1.3.1.tar.gz"
+GITURI[64]=""
SOURCE[65]="$SRCDIR/sources/language-subtag-registry-2014-12-03.tar.bz2"
SRCURL[65]="http://dev-www.libreoffice.org/src/language-subtag-registry-2014-12-03.tar.bz2"
+GITURI[65]=""
SOURCE[66]="$SRCDIR/sources/b63e6340a02ff1cacfeadb2c42286161-JLanguageTool-1.7.0.tar.bz2"
SRCURL[66]="http://dev-www.libreoffice.org/src/b63e6340a02ff1cacfeadb2c42286161-JLanguageTool-1.7.0.tar.bz2"
+GITURI[66]=""
SOURCE[67]="$SRCDIR/sources/lcms2-2.6.tar.gz"
SRCURL[67]="http://dev-www.libreoffice.org/src/lcms2-2.6.tar.gz"
+GITURI[67]=""
SOURCE[68]="$SRCDIR/sources/libatomic_ops-7_2d.zip"
SRCURL[68]="http://dev-www.libreoffice.org/src/libatomic_ops-7_2d.zip"
+GITURI[68]=""
SOURCE[69]="$SRCDIR/sources/libeot-0.01.tar.bz2"
SRCURL[69]="http://dev-www.libreoffice.org/src/libeot-0.01.tar.bz2"
+GITURI[69]=""
SOURCE[70]="$SRCDIR/sources/10d61fbaa6a06348823651b1bd7940fe-libexttextcat-3.4.4.tar.bz2"
SRCURL[70]="http://dev-www.libreoffice.org/src/10d61fbaa6a06348823651b1bd7940fe-libexttextcat-3.4.4.tar.bz2"
+GITURI[70]=""
SOURCE[71]="$SRCDIR/sources/libgltf-0.0.2.tar.bz2"
SRCURL[71]="http://dev-www.libreoffice.org/src/libgltf/libgltf-0.0.2.tar.bz2"
+GITURI[71]=""
SOURCE[72]="$SRCDIR/sources/36271d3fa0d9dec1632029b6d7aac925-liblangtag-0.5.1.tar.bz2"
SRCURL[72]="http://dev-www.libreoffice.org/src/36271d3fa0d9dec1632029b6d7aac925-liblangtag-0.5.1.tar.bz2"
+GITURI[72]=""
SOURCE[73]="$SRCDIR/sources/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz"
SRCURL[73]="http://dev-www.libreoffice.org/src/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz"
+GITURI[73]=""
SOURCE[74]="$SRCDIR/sources/9c0cfef285d5c4a5c80d00904ddab380-libxml2-2.9.1.tar.gz"
SRCURL[74]="http://dev-www.libreoffice.org/src/9c0cfef285d5c4a5c80d00904ddab380-libxml2-2.9.1.tar.gz"
+GITURI[74]=""
SOURCE[75]="$SRCDIR/sources/9667bf6f9310b957254fdcf6596600b7-libxslt-1.1.28.tar.gz"
SRCURL[75]="http://dev-www.libreoffice.org/src/9667bf6f9310b957254fdcf6596600b7-libxslt-1.1.28.tar.gz"
+GITURI[75]=""
SOURCE[76]="$SRCDIR/sources/26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz"
SRCURL[76]="http://dev-www.libreoffice.org/src/26b3e95ddf3d9c077c480ea45874b3b8-lp_solve_5.5.tar.gz"
+GITURI[76]=""
SOURCE[77]="$SRCDIR/sources/a233181e03d3c307668b4c722d881661-mariadb_client-2.0.0-src.tar.gz"
SRCURL[77]="http://dev-www.libreoffice.org/src/a233181e03d3c307668b4c722d881661-mariadb_client-2.0.0-src.tar.gz"
+GITURI[77]=""
-SOURCE[78]="$SRCDIR/sources/cb4207cb913c7a5a8bfa5b91234618ee-mdds_0.11.2.tar.bz2"
-SRCURL[78]="http://dev-www.libreoffice.org/src/cb4207cb913c7a5a8bfa5b91234618ee-mdds_0.11.2.tar.bz2"
+SOURCE[78]="$SRCDIR/sources/17edb780d4054e4205cd956910672b83-mdds_0.12.0.tar.bz2"
+SRCURL[78]="http://dev-www.libreoffice.org/src/17edb780d4054e4205cd956910672b83-mdds_0.12.0.tar.bz2"
+GITURI[78]=""
SOURCE[79]="$SRCDIR/sources/libmspub-0.1.2.tar.bz2"
SRCURL[79]="http://dev-www.libreoffice.org/src/libmspub-0.1.2.tar.bz2"
+GITURI[79]=""
-SOURCE[80]="$SRCDIR/sources/libmwaw-0.3.4.tar.bz2"
-SRCURL[80]="http://dev-www.libreoffice.org/src/libmwaw-0.3.4.tar.bz2"
+SOURCE[80]="$SRCDIR/sources/libmwaw-0.3.5.tar.bz2"
+SRCURL[80]="http://dev-www.libreoffice.org/src/libmwaw-0.3.5.tar.bz2"
+GITURI[80]=""
SOURCE[81]="$SRCDIR/sources/7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz"
SRCURL[81]="http://dev-www.libreoffice.org/src/7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz"
+GITURI[81]=""
SOURCE[82]="$SRCDIR/sources/a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz"
SRCURL[82]="http://dev-www.libreoffice.org/src/a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz"
+GITURI[82]=""
SOURCE[83]="$SRCDIR/sources/ff369e69ef0f0143beb5626164e87ae2-neon-0.29.5.tar.gz"
SRCURL[83]="http://dev-www.libreoffice.org/src/ff369e69ef0f0143beb5626164e87ae2-neon-0.29.5.tar.gz"
+GITURI[83]=""
SOURCE[84]="$SRCDIR/sources/b279551b7638d0e36d1199548124c247-nss-3.16.5-with-nspr-4.10.6.tar.gz"
SRCURL[84]="http://dev-www.libreoffice.org/src/b279551b7638d0e36d1199548124c247-nss-3.16.5-with-nspr-4.10.6.tar.gz"
+GITURI[84]=""
-SOURCE[85]="$SRCDIR/sources/libodfgen-0.1.3.tar.bz2"
-SRCURL[85]="http://dev-www.libreoffice.org/src/libodfgen-0.1.3.tar.bz2"
+SOURCE[85]="$SRCDIR/sources/libodfgen-0.1.4.tar.bz2"
+SRCURL[85]="http://dev-www.libreoffice.org/src/libodfgen-0.1.4.tar.bz2"
+GITURI[85]=""
SOURCE[86]="$SRCDIR/sources/OpenCOLLADA-master-6509aa13af.tar.bz2"
SRCURL[86]="http://dev-www.libreoffice.org/src/OpenCOLLADA-master-6509aa13af.tar.bz2"
+GITURI[86]=""
SOURCE[87]="$SRCDIR/sources/804c6cb5698db30b75ad0ff1c25baefd-openldap-2.4.31.tgz"
SRCURL[87]="http://dev-www.libreoffice.org/src/804c6cb5698db30b75ad0ff1c25baefd-openldap-2.4.31.tgz"
+GITURI[87]=""
SOURCE[88]="$SRCDIR/sources/openssl-1.0.2a.tar.gz"
SRCURL[88]="http://dev-www.libreoffice.org/src/openssl-1.0.2a.tar.gz"
+GITURI[88]=""
SOURCE[89]="$SRCDIR/sources/7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2"
SRCURL[89]="http://dev-www.libreoffice.org/src/7681383be6ce489d84c1c74f4e7f9643-liborcus-0.7.0.tar.bz2"
+GITURI[89]=""
SOURCE[90]="$SRCDIR/sources/libpagemaker-0.0.2.tar.bz2"
SRCURL[90]="http://dev-www.libreoffice.org/src/libpagemaker-0.0.2.tar.bz2"
+GITURI[90]=""
SOURCE[91]="$SRCDIR/sources/c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2"
SRCURL[91]="http://dev-www.libreoffice.org/src/c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2"
+GITURI[91]=""
SOURCE[92]="$SRCDIR/sources/libpng-1.5.18.tar.gz"
SRCURL[92]="http://dev-www.libreoffice.org/src/libpng-1.5.18.tar.gz"
+GITURI[92]=""
SOURCE[93]="$SRCDIR/sources/poppler-0.26.4.tar.gz"
SRCURL[93]="http://dev-www.libreoffice.org/src/poppler-0.26.4.tar.gz"
+GITURI[93]=""
SOURCE[94]="$SRCDIR/sources/c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2"
SRCURL[94]="http://dev-www.libreoffice.org/src/c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2"
+GITURI[94]=""
SOURCE[95]="$SRCDIR/sources/Python-3.3.5.tgz"
SRCURL[95]="http://dev-www.libreoffice.org/src/Python-3.3.5.tgz"
+GITURI[95]=""
SOURCE[96]="$SRCDIR/sources/4ceb9316488b0ea01acf011023cf7fff-raptor2-2.0.9.tar.gz"
SRCURL[96]="http://dev-www.libreoffice.org/src/4ceb9316488b0ea01acf011023cf7fff-raptor2-2.0.9.tar.gz"
+GITURI[96]=""
SOURCE[97]="$SRCDIR/sources/b12c5f9cfdb6b04efce5a4a186b8416b-rasqal-0.9.30.tar.gz"
SRCURL[97]="http://dev-www.libreoffice.org/src/b12c5f9cfdb6b04efce5a4a186b8416b-rasqal-0.9.30.tar.gz"
+GITURI[97]=""
SOURCE[98]="$SRCDIR/sources/32f8e1417a64d3c6f2c727f9053f55ea-redland-1.0.16.tar.gz"
SRCURL[98]="http://dev-www.libreoffice.org/src/32f8e1417a64d3c6f2c727f9053f55ea-redland-1.0.16.tar.gz"
+GITURI[98]=""
SOURCE[99]="$SRCDIR/sources/librevenge-0.0.2.tar.bz2"
SRCURL[99]="http://dev-www.libreoffice.org/src/librevenge-0.0.2.tar.bz2"
+GITURI[99]=""
SOURCE[100]="$SRCDIR/sources/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip"
SRCURL[100]="http://dev-www.libreoffice.org/src/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip"
+GITURI[100]=""
SOURCE[101]="$SRCDIR/sources/serf-1.2.1.tar.bz2"
SRCURL[101]="http://dev-www.libreoffice.org/src/serf-1.2.1.tar.bz2"
+GITURI[101]=""
SOURCE[102]="$SRCDIR/sources/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip"
SRCURL[102]="http://dev-www.libreoffice.org/src/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip"
+GITURI[102]=""
SOURCE[103]="$SRCDIR/sources/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz"
SRCURL[103]="http://dev-www.libreoffice.org/src/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz"
+GITURI[103]=""
SOURCE[104]="$SRCDIR/sources/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
SRCURL[104]="http://dev-www.libreoffice.org/src/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
+GITURI[104]=""
SOURCE[105]="$SRCDIR/sources/libvisio-0.1.1.tar.bz2"
SRCURL[105]="http://dev-www.libreoffice.org/src/libvisio-0.1.1.tar.bz2"
+GITURI[105]=""
SOURCE[106]="$SRCDIR/sources/libwpd-0.10.0.tar.bz2"
SRCURL[106]="http://dev-www.libreoffice.org/src/libwpd-0.10.0.tar.bz2"
+GITURI[106]=""
SOURCE[107]="$SRCDIR/sources/libwpg-0.3.0.tar.bz2"
SRCURL[107]="http://dev-www.libreoffice.org/src/libwpg-0.3.0.tar.bz2"
+GITURI[107]=""
-SOURCE[108]="$SRCDIR/sources/libwps-0.3.1.tar.bz2"
-SRCURL[108]="http://dev-www.libreoffice.org/src/libwps-0.3.1.tar.bz2"
+SOURCE[108]="$SRCDIR/sources/libwps-0.4.0.tar.bz2"
+SRCURL[108]="http://dev-www.libreoffice.org/src/libwps-0.4.0.tar.bz2"
+GITURI[108]=""
SOURCE[109]="$SRCDIR/sources/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip"
SRCURL[109]="http://dev-www.libreoffice.org/src/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip"
+GITURI[109]=""
SOURCE[110]="$SRCDIR/sources/zlib-1.2.8.tar.gz"
SRCURL[110]="http://dev-www.libreoffice.org/src/zlib-1.2.8.tar.gz"
+GITURI[110]=""
# --- End of section generated by gensrc.sh ---
# Use the src_checkout() function if no downloadable tarball exists.
-# This function checks out sources from SVN/CVS and creates a tarball of them.
+# This function checks out sources from GIT and creates a tarball of them.
src_checkout() {
# Param #1 : index in the SOURCE[] array.
# Param #2 : full path to where SOURCE[$1] tarball should be created.
@@ -789,7 +908,7 @@ for (( i = 0; i < ${#SOURCE[*]}; i++ )) ; do
mkdir "$SRCDIR/sources" 2>/dev/null || true
[ -w "$SRCDIR/sources" ] || SOURCE[$i]="$OUTPUT/$(basename ${SOURCE[$i]})"
if [ -f ${SOURCE[$i]} ]; then echo "Ah, found it!"; continue; fi
- if ! [ "x${SRCURL[$i]}" == "x" ]; then
+ if [ "x${SRCURL[$i]}" != "x" -a "${USE_GIT}" == "no" ] || [ "x${SRCURL[$i]}" != "x" -a "x${GITURI[$i]}" == "x" ]; then
echo "Will download file to $(dirname $SOURCE[$i])"
wget -nv -T 20 -O "${SOURCE[$i]}" "${SRCURL[$i]}" || true
if [ $? -ne 0 -o ! -s "${SOURCE[$i]}" ]; then
@@ -798,7 +917,7 @@ for (( i = 0; i < ${#SOURCE[*]}; i++ )) ; do
exit 1
fi
else
- # Try if we have a SVN/CVS download routine for ${SOURCE[$i]}
+ # Try if we have a GIT download routine for ${SOURCE[$i]}
echo "Will checkout sources to $(dirname $SOURCE[$i])"
src_checkout $i "${SOURCE[$i]}" 2>&1 > $OUTPUT/checkout-$(basename ${SOURCE[$i]}).log
fi
@@ -862,28 +981,18 @@ cd $BUILDDIR
echo Building ...
-# Apply our own (borrowed) patches.
+# Apply our own (or borrowed) patches.
if [ "$P1" != "--oldbuild" ]; then
touch $OUTPUT/patch-$PRGNAM.log
- ## Add internal copies of Google's Carlito and Caladea fonts:
- ## (for 4.3.0 I expect that people install separate font packages instead)
- #cat $SRCDIR/patches/libreoffice.crosextra_fonts.patch | patch -p1 --verbose \
- # 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log
- ## Fix bug on KDE where application freezes:
- ## (fixed in 4.3.0)
- #cat $SRCDIR/patches/libreoffice.kde_qt_sessionmanager.patch \
- # | patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log
- ## Fix building with internal harfbuzz:
- #cat $SRCDIR/patches/libreoffice.harfbuzz.patch \
- # | patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log
# Remove failing unit test:
- cat $SRCDIR/patches/libreoffice.failing_unittest.patch \
+ cat $SRCDIR/patches/libreoffice5.failing_unittest.patch \
| patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log
fi
-if [ -z "$SRCURL[0]" ]; then
- # Git build; find out what this version of LibreOffice calls itself:
- # Look for something like: AC_INIT(libreoffice-build, 3.2.99.2)
+if [ "${USE_LOVER}" == "yes" ]; then
+ # Git build without a real VERSION; find out what this version of LibreOffice
+ # calls itself by looking for something like:
+ # AC_INIT(libreoffice-build, 3.2.99.2)
LOVER=$(cat configure.in | grep ^AC_INIT | sed -e 's/.*, \(.\+\))/\1/')_
else
LOVER=""
@@ -901,6 +1010,13 @@ else
KDEOPTS="--disable-kde4"
fi
+# Determine whether we will use gstreamer 0,10 or 1.0:
+if /usr/bin/pkg-config --exists gstreamer-1.0 ; then
+ GSTOPTS="--disable-gstreamer-0-10 --enable-gstreamer-1-0"
+else
+ GSTOPTS="--enable-gstreamer-0-10 --disable-gstreamer-1-0"
+fi
+
# Make it install into proper directories:
export OOInBase="/usr/lib${LIBDIRSUFFIX}/libreoffice"
export OOInstall="/usr/lib${LIBDIRSUFFIX}/libreoffice"
@@ -945,8 +1061,13 @@ case "$ARCH" in
ARCHOPTS=" " ;;
esac
-#enable_pam=no \
-./autogen.sh \
+# Never hurts:
+aclocal -I m4
+autoconf -v
+
+# Do not run autogen.sh on make:
+touch autogen.lastrun
+./configure \
--prefix=/usr \
--docdir=/usr/doc/$PRGNAM-${LOVER}${VERSION}${PKG_SUBVER} \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -959,12 +1080,12 @@ esac
--with-package-format="archive installed" \
--with-vendor="Slackware Team ($PACKAGER)" \
${GITOPTS} \
+ ${GSTOPTS} \
${KDEOPTS} \
${ARCHOPTS} \
${GDRIVEOPTS} \
--disable-gconf \
--disable-gnome-vfs \
- --disable-gstreamer-1-0 \
--disable-kde \
--disable-lockdown \
--enable-dbus \
@@ -973,7 +1094,6 @@ esac
--enable-ext-nlpsolver \
--enable-ext-wiki-publisher \
--enable-gltf \
- --enable-gstreamer-0-10 \
--enable-hardlink-deliver \
--enable-odk \
--enable-python=internal \
@@ -1018,12 +1138,15 @@ esac
--build=$TARGET \
2>&1 | tee $OUTPUT/configure-${PRGNAM}.log
-touch src.downloaded
+if [ "$USE_GIT" = "no" ]; then
+ touch src.downloaded
+fi
# Compile everything (takes many hours):
touch $OUTPUT/make-${PRGNAM}.log
echo "Starting $PRGNAM compilation (takes a long time)..."
#./bootstrap 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log
+# Using "make build" instead of just "make" will skip all unit tests:
make VERBOSE=yes 2>&1 | tee -a $OUTPUT/make-${PRGNAM}.log
# Compile the dictionaries from source.
@@ -1037,6 +1160,11 @@ echo "Starting the packaging stage for $PRGNAM..."
make DESTDIR=$PKG distro-pack-install \
2>&1 | tee $OUTPUT/install-${PRGNAM}.log
+# These files do not get installed (error during copy) although the target
+# directory does get created:
+echo "Installing XML files because 'make distro-pack-install' fails to do so..."
+install -m644 sysui/desktop/appstream-appdata/*.xml $PKG/usr/share/appdata/
+
# Remove cruft:
rm -f $PKG/gid_Module*