Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=aa8a210a9b7a76dd2155b5a7db64da7bfbe33d21
commit aa8a210a9b7a76dd2155b5a7db64da7bfbe33d21 Author: Miklos Vajna <vmik...@frugalware.org> Date: Sat Nov 20 15:08:53 2010 +0100 openoffice.org-3.2.1-6-i686 - USE_DEVEL: * use --with-system-libs and --with-system-headers, reducing the (compressed!) package size from 98M to 88M diff --git a/source/xapps/openoffice.org/FrugalBuild b/source/xapps/openoffice.org/FrugalBuild index 577f5c8..354678b 100644 --- a/source/xapps/openoffice.org/FrugalBuild +++ b/source/xapps/openoffice.org/FrugalBuild @@ -31,7 +31,7 @@ else else pkgver=3.2.99.3 fi - pkgrel=1 + pkgrel=2 fi if ! Fuse $USE_DEVEL; then pkgdesc="OpenOffice.org, a full office productivity suite." @@ -45,7 +45,8 @@ Finclude gnome-scriptlet mono kde unset install depends=('libxml2' 'libart_lgpl' 'libsndfile' 'libgcj-awt>=4.4.0-2' 'nas' 'fontconfig' 'libpng>=1.4.1' 'imagemagick' \ 'flex' 'neon>=0.26.1' 'bison' 'zip' 'unzip' 'expat' 'cups' 'desktop-file-utils' 'perl-archive-zip' \ - 'unixodbc' 'libxaw>=1.0.5' 'libxslt' 'startup-notification>=0.9-3' 'libwpd>=0.8.13' 'poppler' 'libboost-mt') + 'unixodbc' 'libxaw>=1.0.5' 'libxslt' 'startup-notification>=0.9-3' 'libwpd>=0.8.13' 'poppler' 'libboost-mt' \ + 'sane-backends' 'lp_solve' 'silgraphite' 'libtextcat') # this is here as gstreamer is only a makedepend rodepends=('flac' 'dejavu-ttf') # lucene can be any 2.x version actually @@ -53,7 +54,8 @@ makedepends=('curl>=7.20.0-2' 'intltool' 'tcsh' 'pam-headers' 'gcc-gcj' 'ecj' 'a 'boost' 'icu' 'hunspell' 'imake' 'gccmakedep' 'xalan-j' \ 'patch>=2.5.9' 'openclipart' 'xorg-server' 'gstreamer>=0.10.30-2' 'gst-plugins-base' \ 'procps' 'openldap' 'gperf' 'xulrunner' 'kdelibs-compiletime' 'libwps' \ - 'libwpg' 'mdbtools' 'mdds' 'junit' 'lucene=2.9.3') + 'libwpg' 'mdbtools' 'mdds' 'junit' 'lucene=2.9.3' 'cppunit' 'hsqldb' 'bsh' 'vigra' \ + 'mythes' 'hyphen') groups=('xapps') archs=('i686' 'x86_64') if Fuse $USE_DEVEL; then @@ -94,8 +96,19 @@ else $mirror/libreoffice-testing-$pkgver.tar.bz2 $mirror/libreoffice-ure-$pkgver.tar.bz2 $mirror/libreoffice-writer-$pkgver.tar.bz2 - $mirror/libreoffice-build-$pkgver.tar.gz) - sha1sums=('d6ca6a0d48b2ee035edf9bc00cb8771b93bd4503' \ + $mirror/libreoffice-build-$pkgver.tar.gz \ + http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll) + ext_source=(18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz \ + fdb27bfe2dbe2e7b57ae194d9bf36bab-SampleICC-1.3.2.tar.gz \ + ada24d37d8d638b3d8a9985e80bc2978-source-9.0.0.7-bj.zip \ + 1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz \ + 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip \ + 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip) + for i in ${ext_sour...@]} + do + source=(${sour...@]} http://hg.services.openoffice.org/binaries/$i) + done + sha1sums=('d6ca6a0d48b2ee035edf9bc00cb8771b93bd4503' \ 'd6fd9f9152cbbe12fb2f8cc68a2f8022e5c32f3f' \ 'd55393569d1c53ab8b2f5f17f626544742f57844' \ '3dde56c5090493be39bb19fc1f4cd32313e8ccdc' \ @@ -301,9 +314,23 @@ build() Fconf --with-git=http://frugalware.org/git/pub/other/sources/libreoffice else # mono-2.8 not yet supported - Fconf --without-git --disable-mono + Fconf --without-git --disable-mono \ + --with-additional-sections="UnstableLibwpd" \ + --with-system-libs --with-system-headers --without-system-saxon \ + --with-external-tar=`pwd`/ext_source \ + --without-afms --with-system-libtextcat --with-system-libtextcat-data \ + --with-system-mythes \ + --with-system-dicts --with-external-dict-dir=/usr/share/myspell --without-myspell-dicts # avoid problems with ixion for now sed -i '/fields-table-formula.diff/d' patches/dev300/apply || return 1 + # don't download external sources + sed -i '/download_external_sources();/d' download || return 1 + mkdir -p ext_source + for i in ${ext_sour...@]} + do + ln -sf $Fsrcdir/$i ext_source/ + done + ln -sf $Fsrcdir/unowinreg.dll ext_source/185d60944ea767075d27247c3162b3bc-unowinreg.dll fi fi _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git