extra/libreoffice-fresh to 5.4.0-1

This commit is contained in:
Kevin Mihelich 2017-08-01 12:55:01 +00:00
parent 0ca027aaef
commit b670d61e05

View file

@ -3,7 +3,6 @@
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - make build-nocheck: unit tests take a huge amount of time on ARM
# - disable firebird until libfbclient is updated
buildarch=28
@ -18,8 +17,8 @@ _google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
pkgbase=libreoffice-fresh
pkgname=('libreoffice-fresh-sdk' 'libreoffice-fresh')
_LOver=5.3.4.2
pkgver=5.3.4
_LOver=5.4.0.3
pkgver=5.4.0
pkgrel=1
arch=('i686' 'x86_64')
license=('LGPL3')
@ -34,18 +33,17 @@ makedepends=('curl>=7.20.0' 'hunspell>=1.2.8' 'python>=3.6' 'libwpd>=0.9.2' 'lib
'gperf' 'kdelibs' 'gtk3' 'cppunit' 'beanshell' 'clucene'
'junit' 'libmythes' 'libwpg' 'java-environment' 'postgresql-libs' 'libgl'
'bluez-libs' 'gdb' 'doxygen' 'libatomic_ops' 'mdds' 'glew'
'apr' 'serf' 'ttf-liberation' 'glm' 'libxinerama' 'libpagemaker'
'apr' 'serf' 'ttf-liberation' 'ttf-dejavu' 'glm' 'libxinerama' 'libpagemaker'
'libabw' 'libmwaw' 'libe-book' 'coin-or-mp' 'liblangtag' 'liborcus'
'libexttextcat' 'libcmis' 'gobject-introspection' #'libfbclient'
'libtommath' 'libzmf')
'libtommath' 'libzmf' 'gpgme' 'xmlsec' 'rxvt-unicode')
_mirror="https://download.documentfoundation.org/libreoffice/src/${pkgver}"
#_mirror="http://dev-builds.libreoffice.org/pre-releases/src"
#_mirror="https://dev-builds.libreoffice.org/pre-releases/src"
_additional_source_url="http://dev-www.libreoffice.org/src"
_additional_source_url2="http://dev-www.libreoffice.org/extern"
source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz{,.asc}
${_additional_source_url}/boost_1_60_0.tar.bz2
${_additional_source_url}/86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz
${_additional_source_url}/boost_1_63_0.tar.bz2
${_additional_source_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
${_additional_source_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
${_additional_source_url}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
@ -64,19 +62,19 @@ source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz{,.asc}
${_additional_source_url}/4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
${_additional_source_url}/OpenCOLLADA-master-6509aa13af.tar.bz2
${_additional_source_url}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
${_additional_source_url}/libgltf/libgltf-0.0.2.tar.bz2
${_additional_source_url}/libgltf/libgltf-0.1.0.tar.gz
${_additional_source_url}/d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
${_additional_source_url}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
${_additional_source_url}/libfreehand-0.1.1.tar.bz2
${_additional_source_url}/libstaroffice-0.0.2.tar.bz2
${_additional_source_url}/libstaroffice-0.0.3.tar.xz
${_additional_source_url}/Firebird-3.0.0.32483-0.tar.bz2
${_additional_source_url}/pdfium-3064.tar.bz2
${_additional_source_url2}/8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar # for test suite
${_additional_source_url2}/a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar # for test suite
${_additional_source_url2}/185d60944ea767075d27247c3162b3bc-unowinreg.dll
make-pyuno-work-with-system-wide-module-install.diff
libreoffice-fresh.sh libreoffice-fresh.csh)
noextract=(boost_1_60_0.tar.bz2
86b1daaa438f5a7bea9a52d7b9799ac0-xmlsec1-1.2.23.tar.gz
noextract=(boost_1_63_0.tar.bz2
35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
@ -95,25 +93,25 @@ noextract=(boost_1_60_0.tar.bz2
4b87018f7fff1d054939d19920b751a0-collada2gltf-master-cb1d97788a.tar.bz2
OpenCOLLADA-master-6509aa13af.tar.bz2
17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
libgltf-0.0.2.tar.bz2
libgltf-0.1.0.tar.gz
d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
libfreehand-0.1.1.tar.bz2
libstaroffice-0.0.2.tar.bz2
libstaroffice-0.0.3.tar.xz
Firebird-3.0.0.32483-0.tar.bz2
pdfium-3064.tar.bz2
8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar
a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar
976734806026a4ef8bdd17937c8898b9-icu4c-57_1-src.tgz
185d60944ea767075d27247c3162b3bc-unowinreg.dll)
validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # LibreOffice Build Team (CODE SIGNING KEY) <build@documentfoundation.org>
sha256sums=('1d75393fd8b02b1e2e2e001bc0262359c7452e29a0fff35cb152717246f02379'
sha256sums=('17b29d05349b0db15f606f2d630e84c0969c89af6bd06aad8d75a074ee2add94'
'SKIP'
'ab8600dc99e09d90fec83bcc505c42556156730f78973cecd74fa377fe8de91a'
'e1460aee386733725e0d734bb5fed4866c93b0342a49936eb45ec350e45e27d9'
'SKIP'
'0f5acb29e93ab8a75a216e82c87192aabcf29fe8bada8e968cc7b255fcdf81af'
'579f79ba01e6e9046ce99895540cef6d8987e2445cedba4fb78d2969e593145e'
'SKIP'
'686affff989ac2488f79a97b9479efb9f2abae035b5ed4d8226de6857933fd3b'
'41d463d16c9894cd3317098d027c038039c6d896b9cbb9bad9c4e29959e10e9f'
'beae2529f759f6b3bf3f4969a19c2e9d6f0c503edcb2de4a61d1428519fcb3b0'
'64585ac36a81291a58269ec5347e7e3e2e8596dbacb9221015c208191333c6e1'
'1fb458d6aab06932693cc8a9b6e4e70944ee1ff052fa63606e3131df34e21753'
'75823776fb51a9c526af904f1503a7afaaab900fba83eda64f8a41073724c870'
@ -132,12 +130,13 @@ sha256sums=('1d75393fd8b02b1e2e2e001bc0262359c7452e29a0fff35cb152717246f02379'
'b0adb8e71aef80751b999c9c055e419a625c4a05184e407aef2aee28752ad8cb'
'8f25d429237cde289a448c82a0a830791354ccce5ee40d77535642e46367d6c4'
'd30b13f4ba2e3b6a2d4f020c0dee0a9fb9fc6fbcc2d561f36b78da4bf3802370'
'd1cc7297ed1921aa969e26413b4c4e18afc882ce4d2f5a2aa2a2905706f7206b'
'119e730fbf002dd0eaafa4930167267d7d910aa17f29979ca9ca8b66625fd2da'
'1b5b24f7bc543c0362b667692f78db8bab4ed6dafc6172f104d0bd3757d8a133'
'233f66e8d25c5dd971716d4200203a612a407649686ef3b52075d04b4c9df0dd'
'45dab0e5d632eb51eeb00847972ca03835d6791149e9e714f093a9df2b445877'
'f06eb29d13357f1aa1944de0be1162de05d9f9333b5f54e9bf762415029a8899'
'bedeec104b4cc3896b3dfd1976dda5ce7392d1942bf8f5d2f7d796cc47e422c6'
'6994be3555e23226630c587444be19d309b25b0fcf1f87df3b4e3f88943e5860'
'ded806dc9e2a4005d8c0a6b7fcb232ab36221d72d9ff5b815e8244987299d883'
'f2443f27561af52324eee03a1892d9f569adc8db9e7bca55614898bc2a13a770'
'a0bd3e0186e043223bfb231a888e2bfb06c78ee2e07c2f0eca434236d173cf34'
'eafde646a7dbe46d20c291685b0beac2382174d78d66ee990e229a1bf6e6cec6'
@ -155,10 +154,10 @@ prepare() {
ln -s ${srcdir}/$source .
done
popd
# don't run broken tests on i686
[ "$CARCH" = "i686" ] && sed -i "/CppunitTest_sw_ooxmlexport7/d" sw/Module_sw.mk
# don't run broken tests
sed -i "/CppunitTest_sw_ooxmlexport9/d" sw/Module_sw.mk
# unowinreg.dll must be a file not a symlink or the result will become a broken symlink
# /usr/share/libreoffice/sdk/classes/win/unowinreg.dll -> /build/libreoffice/src/185d60944ea767075d27247c3162b3bc-unowinreg.dll
rm ${srcdir}/ext_sources/185d60944ea767075d27247c3162b3bc-unowinreg.dll
@ -203,11 +202,9 @@ build() {
--disable-gstreamer-0-10 \
--enable-openssl \
--enable-odk\
--enable-orcus \
--enable-python=system \
--enable-scripting-beanshell \
--enable-scripting-javascript \
--disable-telepathy \
--disable-dconf \
--enable-ext-wiki-publisher \
--enable-ext-nlpsolver \
@ -242,12 +239,12 @@ build() {
--with-system-beanshell \
--with-system-cppunit\
--with-system-graphite\
--with-system-glew \
--with-system-glm \
--with-system-libwpg \
--with-system-libwps \
--with-system-redland\
--with-system-libzmf \
--with-system-gpgmepp \
--without-system-libstaroffice \
--with-system-serf \
--with-jdk-home="/usr/lib/jvm/default" \
@ -266,7 +263,13 @@ build() {
--disable-dependency-tracking
touch src.downloaded
make build-nocheck
# many tests are broken when crossbuilding i686
if [ "$CARCH" = "x86_64" ]; then
make build
else
make build-nocheck
fi
mkdir ${srcdir}/fakeinstall
make DESTDIR=${srcdir}/fakeinstall distro-pack-install
@ -315,7 +318,7 @@ package_libreoffice-fresh() {
'desktop-file-utils' 'shared-mime-info' 'glu' 'libpagemaker'
'libxinerama' 'libabw' 'libmwaw' 'libe-book' 'libcups'
'liblangtag' 'libexttextcat' 'libfbclient' 'libcmis' 'liborcus'
'libtommath' 'libzmf' 'libatomic_ops')
'libtommath' 'libzmf' 'libatomic_ops' 'xmlsec')
optdepends=('java-runtime: adds java support'
'java-environment: required by extension-wiki-publisher and extension-nlpsolver'
'pstoedit: translates PostScript and PDF graphics into other vector formats'
@ -364,7 +367,7 @@ package_libreoffice-fresh() {
${pkgdir}/usr/lib/python3.6/site-packages/uno.py
ln -svf /usr/lib/libreoffice/program/unohelper.py \
${pkgdir}/usr/lib/python3.6/site-packages/unohelper.py
# add a symlink required for gnome-documents; FS#51887
# https://lists.freedesktop.org/archives/libreoffice/2016-March/073787.html
ln -svf /usr/lib/libreoffice/program/liblibreofficekitgtk.so \