Date: Sunday, May 8, 2011 @ 11:39:57
  Author: andyrtr
Revision: 123115

prepare 3.4 branch builds; reenable all possible extensions, some cleanups

Modified:
  libreoffice/trunk/PKGBUILD

----------+
 PKGBUILD |  298 ++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 237 insertions(+), 61 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-05-08 13:46:35 UTC (rev 123114)
+++ PKGBUILD    2011-05-08 15:39:57 UTC (rev 123115)
@@ -2,19 +2,39 @@
 # Maintainer: AndyRTR <[email protected]>
 
 pkgbase="libreoffice"
-pkgname=('libreoffice' 'libreoffice-sdk' 'libreoffice-extension-nlpsolver' 
'libreoffice-extension-pdfimport' 
'libreoffice-extension-presentation-minimizer' 
'libreoffice-extension-presenter-screen' 
-         'libreoffice-extension-report-builder' 
'libreoffice-extension-wiki-publisher' 'libreoffice-extension-ct2n')
+pkgname=('libreoffice' 'libreoffice-sdk' 
+       #'libreoffice-extension-barcode' # 
+       'libreoffice-extension-diagram'
+       'libreoffice-extension-google-docs'
+       'libreoffice-extension-hunart'
+       #'libreoffice-extension-lightproof' # no source integration
+       #'libreoffice-extension-mysql-connector' # missing libmysqlcppconn-dev 
configure: error: mysql_driver.h not found. install MySQL C++ Connectivity
+       'libreoffice-extension-nlpsolver'
+       'libreoffice-extension-ct2n'
+       'libreoffice-extension-numbertext'      
+       #'libreoffice-extension-oooblogger' # no source integration
+       'libreoffice-extension-pdfimport'
+       'libreoffice-extension-presenter-screen'
+       'libreoffice-extension-presentation-minimizer'
+       'libreoffice-extension-report-builder'
+       'libreoffice-extension-scripting-beanshell'
+       'libreoffice-extension-scripting-javascript'
+       'libreoffice-extension-scripting-python'
+       'libreoffice-extension-typo'
+       'libreoffice-extension-validator'
+       'libreoffice-extension-watch-window'
+       'libreoffice-extension-wiki-publisher')
 _LOver=3.3.99.4
 pkgver=3.4beta4
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 #_LO_tree="3.4"
 _OFFICEUPD="300"
 license=('LGPL3')
 url="http://www.libreoffice.org/";
 makedepends=( # makedepends
-             'boost' 'sane' 'perl-archive-zip' 'zip' 'unzip' 'xulrunner' 
'unixodbc' 'hsqldb-java'
-             'apache-ant' 'gperf' 'poppler' 'kdelibs' 'gconf' 'cppunit'
+             'sane' 'perl-archive-zip' 'zip' 'unzip' 'xulrunner' 'unixodbc' 
'hsqldb-java' #'boost' - we use internal one for now that has some gcc4.6 fixes.
+             'apache-ant' 'gperf' 'poppler' 'kdelibs' 'gconf' 'cppunit' 
#'libmysqlclient'
              'beanshell'  'vigra' 'libldap' 'lucene' 'libmythes' 'junit' 
'libwpg' 'imagemagick'
             'mesa' 'gstreamer0.10-base'
               #'saxon' - currently broken 
@@ -24,7 +44,7 @@
              'redland' 'libgraphite' 'hyphen' 'lpsolve' 'gcc-libs' 'sh'  
'libtextcat'
              'hicolor-icon-theme' 'desktop-file-utils' 'shared-mime-info' 
'java-runtime' 'gtk2' # keep gtk2 for install script
             'ttf-dejavu') # to satisfy regression tests
-            # libwps translate-toolkit libtextcat - todo move them to extra to 
allow --with-system-foo builds
+            # translate-toolkit - todo move them to extra to allow 
--with-system-foo builds
 # http://download.documentfoundation.org/mirrors/all.html
 # http://wiki.documentfoundation.org/Mirrors
 _mirror="http://download.documentfoundation.org/libreoffice/src";
@@ -61,6 +81,15 @@
        
http://download.go-oo.org/src/451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt
        
http://download.go-oo.org/src/90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2
        
http://download.go-oo.org/src/f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/7e7efc5d4a03126bb9ae3ae9aa2c4e87-Barcode_1.3.1.0.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/41c9b65ad60af4b3255bbecdfef11736-Diagram_1.1.0.0.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/bbdd5639ada63e3130761daaecae1a10-Validator_1.1.0.0.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/23bd75552206dfcd8fd4e29137dcac84-WatchWindow_1.2.0.0.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/b8cbca7b3363e6ca2d02bc0ba2b63904-numbertext_0.9.4.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/b632bdd25649cc4067bcb410bae23d2b-hunart_0.3.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/9d60b6cfa3ef1926848710bbcd11115b-typo_0.4.2.oxt
+       
http://ooo.itc.hu/oxygenoffice/download/libreoffice/dbaafd21de055e582d92d7d32fe9da13-gdocs_2.3.1.oxt
        buildfix_i116795.diff
        buildfix_boost.diff
        buildfix_ct2n.diff)
@@ -90,7 +119,15 @@
        db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip
        ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip
        18f577b374d60b3c760a3a3350407632-STLport-4.5.tar.gz
+       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
        90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2
        f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2)
 md5sums=('0b13a4c15ce0c447ebf141c29343d4f6'
@@ -141,6 +178,15 @@
          '451ccf439a36a568653b024534669971'
          '90401bca927835b6fbae4a707ed187c8'
          'f02578f5218f217a9f20e9c30e119c6a'
+         '7e7efc5d4a03126bb9ae3ae9aa2c4e87'
+         '41c9b65ad60af4b3255bbecdfef11736'
+         '451ccf439a36a568653b024534669971'
+         'bbdd5639ada63e3130761daaecae1a10'
+         '23bd75552206dfcd8fd4e29137dcac84'
+         'b8cbca7b3363e6ca2d02bc0ba2b63904'
+         'b632bdd25649cc4067bcb410bae23d2b'
+         '9d60b6cfa3ef1926848710bbcd11115b'
+         'dbaafd21de055e582d92d7d32fe9da13'
          '0520d63c946e272ed3bdfc863fbdc42e'
          'bc228237108cab7745897a9f466b6d39'
          'eee273f501ff45dc5f1365e78c6d57c0')
@@ -179,10 +225,6 @@
        # python2 fix
        export PYTHON=python2
 
-       # fix dekstop menu entries
-#      sed -i -e "s/Exec=oo/Exec=lo/g" desktop/*.desktop.in.in
-#      sed -i -e "s/TryExec=oo/TryExec=lo/g" desktop/*.desktop.in.in
-#      
        # 
http://wiki.documentfoundation.org/Development/How_to_build/Configure_options
 
 #      if [ "$CARCH" = "x86_64" ]; then
@@ -192,7 +234,6 @@
 #            # # avoid problems with ixion for now
 #            sed -i '/fields-table-formula.diff/d' patches/dev300/apply || 
return 1
 #      fi
-#              --with-package-format="native" archive installed tardist" \
 
 #      autoconf -v -f
 
@@ -205,6 +246,7 @@
                --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc \
                --with-install-dirname="${pkgbase}" --libdir=/usr/lib 
--mandir=/usr/share/man \
                --with-lang="" \
+               --disable-verbose \
                --enable-cairo\
                --enable-crashdump \
                --enable-dbus \
@@ -219,19 +261,28 @@
                --enable-opengl \
                --enable-odk\
                --enable-opengl\
-               --enable-ext-presenter-minimizer \
-               --enable-ext-pdfimport \
-               --enable-ext-presenter-console \
-               --enable-ext-report-builder\
-               --enable-ext-wiki-publisher \
-               --enable-ext-ct2n \
+               --enable-ext-barcode \
+               --enable-ext-diagram \
+               --enable-ext-google-docs \
                --enable-ext-hunart \
+               --disable-ext-lightproof \
+               --disable-ext-mysql-connector \
+               --with-system-mysql \
                --enable-ext-nlpsolver \
+               --enable-ext-ct2n \
                --enable-ext-numbertext \
-               --enable-ext-oooblogger \
+               --disable-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-scripting-python \
                --enable-ext-typo \
+               --enable-ext-validator \
                --enable-ext-watch-window \
-               --enable-ext-diagram \
+               --enable-ext-wiki-publisher \
                --without-fonts\
                --without-afms\
                --without-ppds\
@@ -264,7 +315,6 @@
                
--with-lucene-analyzers-jar=/usr/share/java/lucene-analyzers.jar\
                $EXTRAOPTS || return 1
 
-#--enable-ext-mysql-connector
 #--with-system-graphite --enable-graohite ?
 #--with-servlet-api-jar=JARFILE 
 # see http://qa.openoffice.org/issues/show_bug.cgi?id=110136
@@ -311,22 +361,16 @@
              'unixodbc:         adds ODBC database support'
              'mesa:             for the OGLTrans extension'
              'gstreamer0.10-base: + some gstr-plugins to support multimedia 
content, e.g. in impress')
-#             'mono:             allows UNO automation with Mono'
  backup=(etc/libreoffice/sofficerc
          etc/libreoffice/bootstraprc
          etc/libreoffice/psprint.conf)
- provides=('go-openoffice') #'openoffice-base' 
- conflicts=('go-openoffice') #'openoffice-base' 
+ provides=('go-openoffice')
+ conflicts=('go-openoffice')
  replaces=('go-openoffice' 'openoffice-base' )
 
        cd ${srcdir}/build
        make DESTDIR=${pkgdir} install
        
-       # workaround broken make $DESTDIR install :(
-#      install -dm755 ${pkgdir}/usr/lib/libreoffice
-#      mv 
instsetoo_native/unxlng*/LibreOffice/native/install/LibO_3.4.0beta3_Linux_x86-64_install_en-US/linux-2.6-x86_64/buildroot/opt/libreoffice/*
 ${pkgdir}/usr/lib/libreoffice
-#      chmod -R +w ${pkgdir}/usr/lib/libreoffice
-       
        # fix missing desktop integration
        install -dm755 ${pkgdir}/usr/bin
        pushd ${pkgdir}/usr/bin
@@ -344,14 +388,10 @@
        # move sysui desktop files into place we want to use - javafilter and 
qstarter, but not unneeded printeradmin
        install -dm755 
${pkgdir}/usr/share/{applications,icons,mime/packages,pixmaps}
        rm ${pkgdir}/usr/lib/libreoffice/share/xdg/printeradmin.desktop
-       #cp ${pkgdir}/usr/lib/libreoffice/share/xdg/*.desktop 
${pkgdir}/usr/share/applications/
        for i in base calc draw impress javafilter math qstart startcenter 
writer; do
          cp ${pkgdir}/usr/lib/libreoffice/share/xdg/$i.desktop 
${pkgdir}/usr/share/applications/libreoffice-$i.desktop
        done
-#      cp ${pkgdir}/usr/lib/libreoffice/share/xdg/*.desktop 
${pkgdir}/usr/share/applications/
-#      sed -i -e "s/Exec=oo/Exec=so/g" 
${pkgdir}/usr/share/applications/javafilter.desktop # 
https://bugs.archlinux.org/task/23361
        # remove version in menu entry and make it visible
-#      sed -i -e "s/3.4 Quickstarter/Quickstarter/g" 
${pkgdir}/usr/share/applications/qstart.desktop
        sed -i -e "s/3.4//g" ${pkgdir}/usr/share/applications/*.desktop
        sed -i -e "/NoDisplay=true/d" 
${pkgdir}/usr/share/applications/libreoffice-qstart.desktop
        echo "Icon=startcenter" >> 
${pkgdir}/usr/share/applications/libreoffice-qstart.desktop
@@ -395,17 +435,6 @@
        mkdir -p ${srcdir}/sdk-install/usr/lib/libreoffice/basis3.4/sdk
        mv ${pkgdir}/usr/lib/libreoffice/basis3.4/sdk 
${srcdir}/sdk-install/usr/lib/libreoffice/basis3.4/
 
-#      mkdir -p ${srcdir}/sdk-install/usr/share/doc/packages/libreoffice/sdk
-#      mv ${pkgdir}/usr/share/doc/packages/libreoffice/sdk 
${srcdir}/sdk-install/usr/share/doc/packages/libreoffice/
-#      mkdir -p ${srcdir}/sdk-install/usr/share/libreoffice/sdk
-#      mv ${pkgdir}/usr/share/libreoffice/sdk 
${srcdir}/sdk-install/usr/share/libreoffice/
-
-#      mkdir -p ${srcdir}/sdk-install/usr/share/idl/libreoffice
-#      mv ${pkgdir}/usr/share/idl/libreoffice 
${srcdir}/sdk-install/usr/share/idl/
-
-#      mkdir -p ${srcdir}/sdk-install/usr/include/libreoffice
-#      mv ${pkgdir}/usr/include/libreoffice ${srcdir}/sdk-install/usr/include/
-
        # cleanup gid_Module files
        mkdir ${srcdir}/splitlist
        mv -f ${pkgdir}/gid_Module* ${srcdir}/splitlist/
@@ -414,24 +443,85 @@
 package_libreoffice-sdk() {
 
  pkgdesc="Software development kit for LibreOffice"
- depends=('libreoffice')
+ depends=('libreoffice' 'gcc-libs' 'sh')
 
        cd ${srcdir}/sdk-install
        cp -r * ${pkgdir}
 
-#      cd ${srcdir}/build
-#      install -dm755 ${pkgdir}/usr/lib/libreoffice
-#      mv 
instsetoo_native/unxlng*/LibreOffice_SDK/native/install/LibO-SDK_3.4beta3_Linux_x86-64_install_en-US/linux-2.6-x86_64/buildroot/opt/libreoffice/*
 ${pkgdir}/usr/lib/libreoffice
-
        cd ${pkgdir}/usr/lib/libreoffice/basis3.4/sdk
-#      for file in setsdkenv_unix.csh setsdkenv_unix.sh ; do
-#          chmod 755 $file
-#      done
        mv setsdkenv_unix setsdkenv_unix.sh && chmod 755 setsdkenv_unix.sh
+       rm -f 
${pkgdir}/usr/lib/libreoffice/basis3.4/sdk/setsdkenv_unix.{csh,sh}.in
        #fix permissions
        find examples -type f -exec chmod -x {} \;
 }
 
+package_libreoffice-extension-barcode() {
+
+ pkgdesc="This extension generates UPC-A, EAN-13, ISBN and JAN barcodes in 
Draw "
+ #arch=('any')
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q ${srcdir}/7e7efc5d4a03126bb9ae3ae9aa2c4e87-Barcode_1.3.1.0.oxt 
-d ${pkgdir}/usr/lib/libreoffice/share/extensions/Barcode
+       chmod o-w -R ${pkgdir}/usr/lib/libreoffice/share/extensions/Barcode
+}
+
+package_libreoffice-extension-diagram() {
+
+ pkgdesc="An OOo Draw and Impress extension that creates your favorite 
diagrams with a few clicks"
+ #arch=('any')
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q ${srcdir}/41c9b65ad60af4b3255bbecdfef11736-Diagram_1.1.0.0.oxt 
-d ${pkgdir}/usr/lib/libreoffice/share/extensions/diagram
+}
+
+package_libreoffice-extension-google-docs() {
+
+ pkgdesc="Google Documents extension for LibreOffice"
+ #arch=('any')
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q ${srcdir}/dbaafd21de055e582d92d7d32fe9da13-gdocs_2.3.1.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/google-docs
+}
+
+package_libreoffice-extension-hunart() {
+
+ pkgdesc="Hungarian cross-reference toolbar extension"
+ #arch=('any')
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q ${srcdir}/b632bdd25649cc4067bcb410bae23d2b-hunart_0.3.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/hunart
+}
+
+#package_libreoffice-extension-lightproof() {
+
+# pkgdesc="Lightproof extension for LibreOffice"
+ #arch=('any')
+# depends=('libreoffice')
+# groups=('libreoffice-extensions')
+
+#      install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+#      unzip -q 
${srcdir}/${pkgbase}-build-${_LOver}/build/libreoffice-${_LOver}/solver/${_OFFICEUPD}/unxlng*/bin/Lightproof.oxt
 -d ${pkgdir}/usr/lib/libreoffice/share/extensions/lightproof
+#}
+
+#package_libreoffice-extension-mysql-connector() {
+
+# pkgdesc="MySQL Connector extension for LibreOffice"
+ #arch=('any')
+# depends=('libreoffice')
+# groups=('libreoffice-extensions')
+
+#      install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+#      unzip -q 
${srcdir}/${pkgbase}-build-${_LOver}/build/libreoffice-${_LOver}/solver/${_OFFICEUPD}/unxlng*/bin/Mysql-connector.oxt
 -d ${pkgdir}/usr/lib/libreoffice/share/extensions/mysql-connector
+#}
+
 package_libreoffice-extension-nlpsolver() {
 
  pkgdesc="This extension integrates into Calc and offers new Solver engines to 
use for optimizing nonlinear programming models"
@@ -443,26 +533,49 @@
        unzip -q ${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/NLPSolver.oxt 
-d ${pkgdir}/usr/lib/libreoffice/share/extensions/nlpsolver
 }
 
-package_libreoffice-extension-pdfimport() {
+package_libreoffice-extension-ct2n() {
 
- pkgdesc="This extension allows you to import and modify PDF documents"
+ pkgdesc="This extension enables you to convert text-cells in Calc with 
numbers and dates, to real numbers and dates."
+ #arch=('any')
  depends=('libreoffice')
  groups=('libreoffice-extensions')
 
        install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
-       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/pdfimport/pdfimport.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/pdfimport
+       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/ConvertTextToNumber.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/ct2n
 }
 
-package_libreoffice-extension-presentation-minimizer() {
+package_libreoffice-extension-numbertext() {
 
- pkgdesc="This extension reduce the file size of the current presentation"
+ pkgdesc="NUMBERTEXT/MONEYTEXT extensions"
+ #arch=('any')
  depends=('libreoffice')
  groups=('libreoffice-extensions')
 
        install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
-       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/presentation-minimizer.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/presentation-minimizer
+       unzip -q 
${srcdir}/b8cbca7b3363e6ca2d02bc0ba2b63904-numbertext_0.9.4.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/numbertext
 }
 
+#package_libreoffice-extension-oooblogger() {
+
+# pkgdesc="An extensions for blogging"
+ #arch=('any')
+# depends=('libreoffice')
+# groups=('libreoffice-extensions')
+
+#      install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+#      unzip -q 
${srcdir}/${pkgbase}-build-${_LOver}/build/libreoffice-${_LOver}/solver/${_OFFICEUPD}/unxlng*/bin/oooblogger.oxt
 -d ${pkgdir}/usr/lib/libreoffice/share/extensions/oooblogger
+#}
+
+package_libreoffice-extension-pdfimport() {
+
+ pkgdesc="This extension allows you to import and modify PDF documents"
+ depends=('libreoffice' 'poppler')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/pdfimport/pdfimport.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/pdfimport
+}
+
 package_libreoffice-extension-presenter-screen() {
 
  pkgdesc="This extension provides more control over your slide show 
presentation, such as the ability to see the upcoming slide, the slide notes, 
and a presentation timer whereas the audience see only the current slide"
@@ -470,9 +583,19 @@
  groups=('libreoffice-extensions')
 
        install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
-       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/presenter/presenter-screen.oxt 
-d ${pkgdir}/usr/lib/libreoffice/share/extensions/presenter-screen
+       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/presenter-screen.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/presenter-screen
 }
 
+package_libreoffice-extension-presentation-minimizer() {
+
+ pkgdesc="This extension reduce the file size of the current presentation"
+ depends=('libreoffice' 'gcc-libs')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/presentation-minimizer.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/presentation-minimizer
+}
+
 package_libreoffice-extension-report-builder() {
 
  pkgdesc="This extension creates smart-looking database reports"
@@ -484,6 +607,59 @@
        unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/report-builder.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/report-builder
 }
 
+package_libreoffice-extension-scripting-beanshell() {
+
+ pkgdesc="LibreOffice extension - Enables support for scripts in BeanShell"
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/script-provider-for-beanshell.oxt
 -d ${pkgdir}/usr/lib/libreoffice/share/extensions/script-provider-for-beanshell
+}
+
+package_libreoffice-extension-scripting-javascript() {
+
+ pkgdesc="LibreOffice extension - Enables support for scripts in JavaScript"
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/script-provider-for-javascript.oxt
 -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/script-provider-for-javascript
+}
+
+package_libreoffice-extension-scripting-python() {
+
+ pkgdesc="LibreOffice extension - Enables support for scripts in Python"
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/script-provider-for-python.oxt 
-d ${pkgdir}/usr/lib/libreoffice/share/extensions/script-provider-for-python
+}
+
+package_libreoffice-extension-typo() {
+
+ pkgdesc="Typography toolbar extension"
+ #arch=('any')
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q ${srcdir}/9d60b6cfa3ef1926848710bbcd11115b-typo_0.4.2.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/typo
+       chmod o+r -R ${pkgdir}/usr/lib/libreoffice/share/extensions/typo
+}
+
+package_libreoffice-extension-validator() {
+
+ pkgdesc="Validator extension for LibreOffice"
+ #arch=('any')
+ depends=('libreoffice')
+ groups=('libreoffice-extensions')
+
+       install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
+       unzip -q 
${srcdir}/bbdd5639ada63e3130761daaecae1a10-Validator_1.1.0.0.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/validator
+}
+
 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"
@@ -495,13 +671,13 @@
        unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/wiki-publisher.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/wiki-publisher
 }
 
-package_libreoffice-extension-ct2n() {
+package_libreoffice-extension-watch-window() {
 
- pkgdesc="This extension enables you to convert text-cells in Calc with 
numbers and dates, to real numbers and dates."
+ pkgdesc="A OOo Calc extension to add a Watch Window, which keeps the value of 
the monitored cell on the screen."
  #arch=('any')
  depends=('libreoffice')
  groups=('libreoffice-extensions')
 
        install -dm755 ${pkgdir}/usr/lib/libreoffice/share/extensions
-       unzip -q 
${srcdir}/build/solver/${_OFFICEUPD}/unxlng*/bin/ConvertTextToNumber.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/ct2n
+       unzip -q 
${srcdir}/23bd75552206dfcd8fd4e29137dcac84-WatchWindow_1.2.0.0.oxt -d 
${pkgdir}/usr/lib/libreoffice/share/extensions/watch-window
 }

Reply via email to