summaryrefslogtreecommitdiff
path: root/extra/libreoffice/PKGBUILD.36
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libreoffice/PKGBUILD.36')
-rw-r--r--extra/libreoffice/PKGBUILD.3683
1 files changed, 49 insertions, 34 deletions
diff --git a/extra/libreoffice/PKGBUILD.36 b/extra/libreoffice/PKGBUILD.36
index 6a3d0fe0d..b5dc0bee1 100644
--- a/extra/libreoffice/PKGBUILD.36
+++ b/extra/libreoffice/PKGBUILD.36
@@ -21,9 +21,11 @@ pkgname=('libreoffice-common'
'libreoffice-extension-report-builder'
'libreoffice-scripting-beanshell'
'libreoffice-scripting-javascript'
- 'libreoffice-extension-scripting-python') # svn up -r 142692 (last one with all extensions built
-_LOver=3.6.0.0.beta2
-pkgver=3.6.0beta2
+ 'libreoffice-extension-scripting-python'
+ 'libreoffice-extension-wiki-publisher'
+ 'libreoffice-extension-nlpsolver') # svn up -r 142692 (last one with all extensions built
+_LOver=3.6.0.0.beta3
+pkgver=3.6.0beta3
pkgrel=1
arch=('i686' 'x86_64')
license=('LGPL3')
@@ -32,7 +34,7 @@ makedepends=( # makedepends
'sane' 'perl-archive-zip' 'zip' 'unzip' 'unixodbc' 'hsqldb-java' 'boost'
'apache-ant' 'gperf' 'poppler>=0.18.0' 'kdelibs' 'gconf' 'cppunit'
'beanshell' 'vigra' 'clucene' 'junit' 'libmythes' 'libwpg' 'imagemagick'
- 'mesa' 'gstreamer0.10-base' 'java-environment' 'postgresql-libs' 'doxygen'
+ 'mesa' 'gstreamer0.10-base' 'java-environment' 'postgresql-libs' 'doxygen' 'clucene'
#'saxon' - currently broken
# the runtime dependencies
"curl>=7.20.0" "hunspell>=1.2.8" "python2>=2.7" 'libwpd>=0.9.2' 'libwps' 'libxaw' "neon>=0.28.6"
@@ -50,8 +52,8 @@ _additional_source_url="http://dev-www.libreoffice.org/src"
_additional_source_url2="http://dev-www.libreoffice.org/extern"
source=(${_mirror}/${pkgbase}-{core,help,translations}-${_LOver}.tar.xz
${_additional_source_url}/18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
- ${_additional_source_url}/48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
- ${_additional_source_url}/90010e213dd25648e70f0cc12f8fed55-libvisio-0.0.17.tar.bz2
+ ${_additional_source_url}/f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2
+ ${_additional_source_url}/a9a1db27688bad49418667b434d29c1f-libvisio-0.0.18.tar.bz2
${_additional_source_url}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
${_additional_source_url}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
${_additional_source_url}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
@@ -76,14 +78,14 @@ source=(${_mirror}/${pkgbase}-{core,help,translations}-${_LOver}.tar.xz
${_additional_source_url}/ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
${_additional_source_url}/0ff7d225d087793c8c2c680d77aac3e7-mdds_0.5.3.tar.bz2
${_additional_source_url}/6097739c841f671cb21332b9cc593ae7-libexttextcat-3.3.1.tar.bz2
- ${_additional_source_url}/ce31ac7b92cb5e66459f67213bbb6168-libcmis-0.2.2.tar.gz
+ ${_additional_source_url}/0d2dcdfbf28d6208751b33057f5361f0-libcmis-0.2.3.tar.gz
${_additional_source_url}/ce5a1def34578b75959ac31210f031f6-libcdr-0.0.8.tar.bz2
${_additional_source_url2}/185d60944ea767075d27247c3162b3bc-unowinreg.dll
buildfix.diff
libreoffice-common.sh libreoffice-common.csh)
-noextract=(90010e213dd25648e70f0cc12f8fed55-libvisio-0.0.17.tar.bz2
+noextract=(a9a1db27688bad49418667b434d29c1f-libvisio-0.0.18.tar.bz2
18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
- 48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz
+ f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2
185d60944ea767075d27247c3162b3bc-unowinreg.dll
0ff7d225d087793c8c2c680d77aac3e7-mdds_0.5.3.tar.bz2
ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip
@@ -91,7 +93,7 @@ noextract=(90010e213dd25648e70f0cc12f8fed55-libvisio-0.0.17.tar.bz2
1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz
fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz
6097739c841f671cb21332b9cc593ae7-libexttextcat-3.3.1.tar.bz2
- ce31ac7b92cb5e66459f67213bbb6168-libcmis-0.2.2.tar.gz
+ 0d2dcdfbf28d6208751b33057f5361f0-libcmis-0.2.3.tar.gz
35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
2a177023f9ea8ec8bd00837605c5df1b-jakarta-tomcat-5.0.30-src.tar.gz
a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
@@ -111,12 +113,12 @@ noextract=(90010e213dd25648e70f0cc12f8fed55-libvisio-0.0.17.tar.bz2
db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
ce5a1def34578b75959ac31210f031f6-libcdr-0.0.8.tar.bz2
ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip)
-md5sums=('97183afb02576d5542a1eda3f29f9517'
- '3368bc1adfa9e7d6d6f3ce2cee9e164e'
- '7191e46a3f48ad7a7d5a21e985790e6a'
+md5sums=('2f471473f405a373e8d9ca5870d3861d'
+ '0db44b0cc908fe4288d40d3869137d76'
+ '4b2f46f015c1112f9b65f9ed8ba409b6'
'18f577b374d60b3c760a3a3350407632'
- '48d647fbd8ef8889e5a7f422c1bfda94'
- '90010e213dd25648e70f0cc12f8fed55'
+ 'f02578f5218f217a9f20e9c30e119c6a'
+ 'a9a1db27688bad49418667b434d29c1f'
'1f24ab1d39f4a51faf22244c94a6203f'
'35c94d2df8893241173de1d16b6034c0'
'798b2ffdc8bcfe7bca2cf92b62caf685'
@@ -141,7 +143,7 @@ md5sums=('97183afb02576d5542a1eda3f29f9517'
'ba2930200c9f019c2d93a8c88c651a0f'
'0ff7d225d087793c8c2c680d77aac3e7'
'6097739c841f671cb21332b9cc593ae7'
- 'ce31ac7b92cb5e66459f67213bbb6168'
+ '0d2dcdfbf28d6208751b33057f5361f0'
'ce5a1def34578b75959ac31210f031f6'
'185d60944ea767075d27247c3162b3bc'
'234e91ac65945ce1ab1e3839780e90f7'
@@ -180,12 +182,12 @@ build() {
# python2 fix
export PYTHON=python2
- autoconf -f
+ #autoconf -f
# non-SMP test build
- export MAKEFLAGS="-j1"
+ #export MAKEFLAGS="-j1"
#./configure --with-build-version="${_LOver} ArchLinux build-${pkgrel}" --with-vendor="ArchLinux" \
-# touch autogen.lastrun
+
./autogen.sh --with-build-version="${_LOver} ArchLinux build-${pkgrel}" --with-vendor="ArchLinux" \
--with-unix-wrapper="libreoffice" \
--enable-split-app-modules \
@@ -210,6 +212,8 @@ build() {
--enable-odk\
--enable-ext-scripting-beanshell \
--enable-ext-scripting-javascript \
+ --enable-ext-wiki-publisher \
+ --enable-ext-nlpsolver \
--disable-ext-mysql-connector \
--with-system-mysql \
--enable-librsvg=system \
@@ -240,31 +244,20 @@ build() {
--without-system-mozilla \
--without-system-mozilla-headers \
--with-ant-home="/usr/share/apache-ant"\
- --with-system-boost\
+ --without-system-boost\
--with-system-cairo\
--with-system-libs\
--with-system-mythes\
--with-system-headers\
--with-system-hsqldb \
--with-alloc=system\
- --without-system-clucene\
+ --with-system-clucene\
+ --without-system-servlet-api \
--with-java-target-version=1.5 \
$EXTRAOPTS
-# --disable-ext-lightproof \
-
-
-#--with-install-dirname="${pkgbase}"
-# --enable-cairo\
-# --with-system-libtextcat \
-# --with-external-libtextcat-data \
#--enable-split-opt-features Split file lists for some optional features, .e.g. pyuno, testtool
-#--with-servlet-api-jar=JARFILE
-# see http://qa.openoffice.org/issues/show_bug.cgi?id=110136
-# --with-system-saxon\
-# --with-saxon-jar=/usr/share/java/saxon/saxon9he.jar\
-
touch src.downloaded
#./download
make
@@ -349,7 +342,7 @@ package_libreoffice-common() {
}
package_libreoffice-base() {
- pkgdesc="GUI Spreadsheet Applicationdatabase front-end for LibreOffice. Allows creation and management of databases through a GUI."
+ pkgdesc="GUI database front-end for LibreOffice. Allows creation and management of databases through a GUI."
install=libreoffice-base.install
depends=('libreoffice-common' 'hsqldb-java')
optdepends=('libreoffice-postgresql-connector')
@@ -698,3 +691,25 @@ package_libreoffice-extension-scripting-python() {
install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
unzip -q ${srcdir}/libreoffice-core-$_LOver/solver/unxlng*/bin/script-provider-for-python.oxt -d ${pkgdir}/usr/lib/libreoffice/share/extensions/script-provider-for-python
}
+
+package_libreoffice-extension-wiki-publisher() {
+
+ pkgdesc="This extension enables you to create Wiki articles on MediaWiki servers without having to know the syntax of the MediaWiki markup language"
+ #arch=('any')
+ depends=('libreoffice-common' 'java-environment')
+ groups=('libreoffice-extensions')
+
+ install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+ unzip -q ${srcdir}/libreoffice-core-$_LOver/solver/unxlng*/bin/wiki-publisher.oxt -d ${pkgdir}/usr/lib/libreoffice/share/extensions/wiki-publisher
+}
+
+package_libreoffice-extension-nlpsolver() {
+
+ pkgdesc="This extension integrates into Calc and offers new Solver engines to use for optimizing nonlinear programming models"
+ #arch=('any')
+ depends=('libreoffice-common' 'java-environment')
+ groups=('libreoffice-extensions')
+
+ install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+ unzip -q ${srcdir}/libreoffice-core-$_LOver/solver/unxlng*/bin/nlpsolver.oxt -d ${pkgdir}/usr/lib/libreoffice/share/extensions/nlpsolver
+}