Date: Tuesday, December 20, 2011 @ 06:05:27 Author: andyrtr Revision: 145252
prepare LibO 3.5 branch release - work on beta1, build is broken, see https://bugs.gentoo.org/show_bug.cgi?id=394599 Modified: libreoffice/trunk/PKGBUILD.next_stable ----------------------+ PKGBUILD.next_stable | 94 +++++++++---------------------------------------- 1 file changed, 19 insertions(+), 75 deletions(-) Modified: PKGBUILD.next_stable =================================================================== --- PKGBUILD.next_stable 2011-12-20 10:07:23 UTC (rev 145251) +++ PKGBUILD.next_stable 2011-12-20 11:05:27 UTC (rev 145252) @@ -36,7 +36,7 @@ # 'libreoffice-extension-watch-window' # 'libreoffice-extension-wiki-publisher' ) -_LOver=3.5.0.0 +_LOver=3.4.99.1 pkgver=3.5.0beta1 pkgrel=1 arch=('i686' 'x86_64') @@ -61,8 +61,9 @@ #_mirror="http://download.documentfoundation.org/libreoffice/src/${pkgver}" _mirror="http://dev-builds.libreoffice.org/pre-releases/src" _additional_source_url="http://dev-www.libreoffice.org/src" -source=(${_mirror}/${pkgbase}-{core,help,translations}-${_LOver}.tar.bz2 - ${_additional_source_url}/8f107ffb3fc9d9b920b7bbd0bc79c7e8-libvisio-0.0.10.tar.bz2 +source=(${_mirror}/${pkgbase}-{core,help,translations}-${_LOver}.tar.xz + #${_mirror}/${pkgbase}-{core,help,translations}-${_LOver}.tar.bz2 + ${_additional_source_url}/a8b25a0bf696fd126a08319d88998492-libvisio-0.0.11.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 @@ -89,6 +90,7 @@ ${_additional_source_url}/0ff7d225d087793c8c2c680d77aac3e7-mdds_0.5.3.tar.bz2 ${_additional_source_url}/e1c178b18f130b40494561f02bc1a948-libexttextcat-3.2.0.tar.bz2 ${_additional_source_url}/7c2549f6b0a8bb604e6c4c729ffdcfe6-libcmis-0.1.0.tar.gz + #${_additional_source_url}/cc8eb870d6a324d36575420efd856319-libcdr-0.0.0.tar.bz2 http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll # ${_additional_source_url}/451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt # http://ooo.itc.hu/oxygenoffice/download/libreoffice/4a433efb6d385264ebc1d5513782d51c-SmART_0.9.4.oxt @@ -109,7 +111,7 @@ # RemovetheoslSecuritygetHomeDircheck.diff::http://cgit.freedesktop.org/libreoffice/ure/patch/?id=bc9b86940a707e9e2e1076f2954f38075398b5d7 ) -noextract=(8f107ffb3fc9d9b920b7bbd0bc79c7e8-libvisio-0.0.10.tar.bz2 +noextract=(a8b25a0bf696fd126a08319d88998492-libvisio-0.0.11.tar.bz2 185d60944ea767075d27247c3162b3bc-unowinreg.dll 0ff7d225d087793c8c2c680d77aac3e7-mdds_0.5.3.tar.bz2 ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip @@ -136,23 +138,12 @@ ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip -# 18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz - #4a433efb6d385264ebc1d5513782d51c-SmART_0.9.4.oxt - #7e7efc5d4a03126bb9ae3ae9aa2c4e87-Barcode_1.3.1.0.oxt - #41c9b65ad60af4b3255bbecdfef11736-Diagram_1.1.0.0.oxt - #451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt - #bbdd5639ada63e3130761daaecae1a10-Validator_1.1.0.0.oxt - #23bd75552206dfcd8fd4e29137dcac84-WatchWindow_1.2.0.0.oxt - #b8cbca7b3363e6ca2d02bc0ba2b63904-numbertext_0.9.4.oxt - #b632bdd25649cc4067bcb410bae23d2b-hunart_0.3.oxt - #9d60b6cfa3ef1926848710bbcd11115b-typo_0.4.2.oxt - #dbaafd21de055e582d92d7d32fe9da13-gdocs_2.3.1.oxt - #b7b2d0e04e142f26dd96119c80757d1f-oooblogger_0.1.oxt +# cc8eb870d6a324d36575420efd856319-libcdr-0.0.0.tar.bz2 ) -md5sums=('bf6ce92d8d69f1dec4836a7249e10436' - 'a0b19441245d7627c299d7014d110b32' - 'b9dee0572120c87906ed6e2fb4696b69' - '8f107ffb3fc9d9b920b7bbd0bc79c7e8' +md5sums=('0f7969e4e1634df4d8737e760b0496bb' + 'd8c203e4441a7a01d611bee4984ec6b3' + '8a63aac2d623ab49d229b8dc97d1d1ed' + 'a8b25a0bf696fd126a08319d88998492' '1f24ab1d39f4a51faf22244c94a6203f' '35c94d2df8893241173de1d16b6034c0' '798b2ffdc8bcfe7bca2cf92b62caf685' @@ -197,24 +188,9 @@ ln -s ../libreoffice-help-$_LOver/helpcontent2 . ln -s ../libreoffice-translations-$_LOver/translations . + #ln -s ../libreoffice-dictionaries-$_LOver/dictionaries . -# ln -s ${srcdir}/ext_sources/*Barcode* solver/unxlngx6.pro/bin/Barcode.oxt -# ln -s ${srcdir}/ext_sources/*SmART* solver/unxlngx6.pro/bin/SmART.oxt -# ln -s ${srcdir}/ext_sources/*gdocs* solver/unxlngx6.pro/bin/gdocs.oxt -# ln -s ${srcdir}/ext_sources/*hunart* solver/unxlngx6.pro/bin/hunart.oxt -# ln -s ${srcdir}/ext_sources/*numbertext* solver/unxlngx6.pro/bin/numbertext.oxt -# ln -s ${srcdir}/ext_sources/*oooblogger* solver/unxlngx6.pro/bin/oooblogger.oxt -# ln -s ${srcdir}/ext_sources/*typo* solver/unxlngx6.pro/bin/typo.oxt -# ln -s ${srcdir}/ext_sources/*Validator* solver/unxlngx6.pro/bin/Validator.oxt -# ln -s ${srcdir}/ext_sources/*WatchWindow* solver/unxlngx6.pro/bin/WatchWindow.oxt - # buildfixes & bugfixes - #patch -Np1 -i ${srcdir}/buildfix_boost.diff -# patch -Np1 -i ${srcdir}/buildfix_ct2n.diff -# patch -Np0 -i ${srcdir}/vbahelper.visibility.patch -# patch -Np0 -i ${srcdir}/scp2-more-reasonable-file-access-rights.diff -# patch -Np1 -i ${srcdir}/oracle-recognition.diff -# patch -Np1 -i ${srcdir}/RemovetheoslSecuritygetHomeDircheck.diff # unset C(XX)FLAGS # http://www.openoffice.org/issues/show_bug.cgi?id=103205 @@ -232,27 +208,20 @@ # python2 fix export PYTHON=python2 - # http://wiki.documentfoundation.org/Development/How_to_build/Configure_options - -# if [ "$CARCH" = "x86_64" ]; then -# EXTRAOPTS="--without-stlport" -# else -# EXTRAOPTS="--with-stlport" # --without-system-boost" -# # # avoid problems with ixion for now -# sed -i '/fields-table-formula.diff/d' patches/dev300/apply || return 1 -# fi - # needed for 0003-distro-install-fix-en-US-only-installation.patch +# autoreconf -v # autoconf -f # non-SMP test build # 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 \ --with-max-jobs=${MAKEFLAGS/-j/} --with-num-cpus=${MAKEFLAGS/-j/} \ --with-external-tar="${srcdir}/ext_sources" \ + --disable-fetch-external \ --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \ --libdir=/usr/lib --mandir=/usr/share/man \ --disable-verbose \ @@ -310,33 +279,8 @@ --with-lucene-core-jar=/usr/share/java/lucene-core.jar\ --with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers.jar\ --with-java-target-version=1.5 \ - $EXTRAOPTS|| return 1 + $EXTRAOPTS -# --enable-ext-barcode \ -# --enable-ext-diagram \ -# --enable-ext-google-docs \ -# --enable-ext-hunart \ -# --enable-ext-nlpsolver \ -# --enable-ext-ct2n \ -# --enable-ext-numbertext \ -# --enable-ext-oooblogger \ -# --enable-ext-pdfimport \ -# --enable-ext-presenter-console \ -# --enable-ext-presenter-minimizer \ -# --enable-ext-report-builder \ -# --enable-ext-scripting-beanshell \ -# --enable-ext-scripting-javascript \ -# --enable-ext-typo \ -# --enable-ext-validator \ -# --enable-ext-watch-window \ -# --enable-ext-wiki-publisher \ - -# --disable-mozilla \ -# --enable-ldap \ -# --with-openldap\ - -# --with-system-mozilla\ - #--with-install-dirname="${pkgbase}" # --enable-cairo\ # --enable-ext-scripting-python \ @@ -358,12 +302,12 @@ touch src.downloaded #./download unset MAKEFLAGS - ./bootstrap +# ./bootstrap make - +echo "Make process sucessfully done!" # fake installation to create split file lists mkdir $srcdir/fakeinstall - make DESTDIR=${srcdir}/fakeinstall distro-pack-install + make -j1 DESTDIR=${srcdir}/fakeinstall distro-pack-install } #check() {