diff options
Diffstat (limited to 'extra/openoffice/Pkgfile')
-rw-r--r-- | extra/openoffice/Pkgfile | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/extra/openoffice/Pkgfile b/extra/openoffice/Pkgfile index 09e09123b..8429660f7 100644 --- a/extra/openoffice/Pkgfile +++ b/extra/openoffice/Pkgfile @@ -2,11 +2,11 @@ # URL: http://www.openoffice.org # Packager: lesibel at free dot fr # Maintainer: NuTyX packager team -# Depends on: libmspack, gconf, nss, pstoedit, poppler, openldap, kdelibs, qt, lpsolve, libmythes, hyphen, hunspell, redland, libgraphite, sane, xulrunner, unixodbc, vigra, lucene, hsqldb-java, beanshell, imagemagick, linux-pam, libart_lgpl, xorg-libxtst, p5-archive-zip, cairo, libwpd, cups, curl, python, xorg-libxaw, neon, dbus-glib, icu, libxslt, hicolor-icon-theme, desktop-file-utils, boost, gtk, libsndfile +# Depends on: rpmextract, libmspack, gconf, nss, pstoedit, poppler, openldap, kdelibs, qt, lpsolve, libmythes, hyphen, hunspell, redland, libgraphite, sane, xulrunner, unixodbc, vigra, lucene, hsqldb-java, beanshell, imagemagick, linux-pam, libart_lgpl, xorg-libxtst, p5-archive-zip, cairo, libwpd, cups, curl, python, xorg-libxaw, neon, dbus-glib, icu, libxslt, hicolor-icon-theme, desktop-file-utils, boost, gtk, libsndfile name=openoffice version=3.2.1 -release=1 +release=3 OOdir=OOO320_m19 CARCH=`uname -m` @@ -23,9 +23,18 @@ source=(http://download.services.openoffice.org/files/stable/$version/OOo_${vers http://cgit.freedesktop.org/ooo-build/ooo-build/plain/patches/dev300/vcl-system-graphite-with-stlport.diff http://cgit.freedesktop.org/ooo-build/ooo-build/plain/patches/dev300/fix-system-mythes-for-mythes-1.2.diff http://cgit.freedesktop.org/ooo-build/ooo-build/plain/patches/dev300/redland-remove-patches.diff?h=ooo-build-3-2-1 - openoffice.profile) + openoffice.profile + http://download.services.openoffice.org/files/localized/fr/$version/OOo_3.2.1_Linux_x86_langpack-rpm_fr.tar.gz) build() { + # Extraction langage pack + cd $SRC/OOO320_m18_native_packed-1_fr.9502/RPMS + for i in *; do sh rpmextract.sh $i; done + rm *.rpm + mkdir -p $SRC/fr + mv opt/ $SRC/fr/ + + # Debut cd $SRC/$OOdir # some speedups @@ -82,7 +91,7 @@ build() { ./configure --with-build-version="$version NuTyX build-$release ($OOdir)" \ --with-vendor="NuTyX"\ --prefix=/usr --exec-prefix=/usr\ - --with-lang="fr-FR"\ + --with-lang="fr"\ --with-dict=ALL\ --disable-gnome-vfs\ --disable-qadevooo\ @@ -143,7 +152,6 @@ build() { source LinuxX86-64Env.Set.sh else source LinuxX86Env.Set.sh fi - # Build dmake utility ./bootstrap @@ -174,6 +182,7 @@ build() { mv openoffice.org/basis3.2/ openoffice.org3/ cd openoffice.org3/ rm basis-link && mv basis3.2 basis-link + ## Step 3 cd $PKG/usr/lib/ rmdir $PKG/usr/lib/openoffice.org @@ -245,4 +254,7 @@ build() { mkdir -p $PKG/usr/lib/mozilla/plugins/ cd $PKG/usr/lib/mozilla/plugins/ ln -v -s /usr/lib/openoffice/program/libnpsoplugin.so . + + # Installation Interface fr + cp -a $SRC/fr/opt/openoffice.org/basis3.2/* $PKG/usr/lib/openoffice/basis-link/ } |