Package: openoffice.org-dmaths Version: 3.2.dfsg.1-1 Severity: important Tags: patch
Hi, as outlined in http://lists.debian.org/debian-openoffice/2011/01/msg00120.html OpenOffice.org extensions need updates. I propose the attached patch. -- System Information: Debian Release: 6.0 APT prefers stable APT policy: (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Grüße/Regards, Rene
diff -Nru dmaths-3.2.dfsg.1/debian/changelog dmaths-3.2.dfsg.1/debian/changelog --- dmaths-3.2.dfsg.1/debian/changelog 2011-02-07 19:32:52.000000000 +0000 +++ dmaths-3.2.dfsg.1/debian/changelog 2011-02-07 19:32:52.000000000 +0000 @@ -1,3 +1,10 @@ +dmaths (3.2.dfsg.1-1.1) unstable; urgency=low + + * Non-maintainer upload. + * update for LibreOffice + + -- Rene Engelhard <r...@debian.org> Mon, 07 Feb 2011 19:31:31 +0000 + dmaths (3.2.dfsg.1-1) unstable; urgency=low * New mantainer (Closes: #595544). diff -Nru dmaths-3.2.dfsg.1/debian/control dmaths-3.2.dfsg.1/debian/control --- dmaths-3.2.dfsg.1/debian/control 2011-02-07 19:32:52.000000000 +0000 +++ dmaths-3.2.dfsg.1/debian/control 2011-02-07 19:32:52.000000000 +0000 @@ -6,11 +6,11 @@ Standards-Version: 3.8.0 Homepage: http://www.dmaths.org -Package: openoffice.org-dmaths +Package: libreoffice-dmaths Architecture: all -Depends: openoffice.org-writer, openoffice.org-draw, openoffice.org-common, zenity +Depends: libreoffice-writer, libreoffice-draw, libreoffice-common, zenity Suggests: dia, drgeo -Description: Formula editor improvements for OpenOffice.org +Description: Formula editor improvements for LibreOffice Dmaths is software that integrates with office suites OpenOffice (free), StarOffice and NeoOffice (Mac OS X) and which aids scientists and those who wish to edit mathematical formulas and / or scientists. It also directly diff -Nru dmaths-3.2.dfsg.1/debian/postinst dmaths-3.2.dfsg.1/debian/postinst --- dmaths-3.2.dfsg.1/debian/postinst 2011-02-07 19:32:52.000000000 +0000 +++ dmaths-3.2.dfsg.1/debian/postinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -add_extension() { - echo -n "Adding extension $1..." - INSTDIR=`mktemp -d` - /usr/lib/openoffice/program/unopkg add --shared $1 \ - "-env:UserInstallation=file:///$INSTDIR" \ - '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \ - "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" - if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi - echo " done." -} - -if [ "$1" = "configure" -o "$1" = "upgrade" ]; then - add_extension /usr/lib/openoffice/share/extension/install/DmathsAddon.oxt -fi - -#DEBHELPER# diff -Nru dmaths-3.2.dfsg.1/debian/preinst dmaths-3.2.dfsg.1/debian/preinst --- dmaths-3.2.dfsg.1/debian/preinst 2011-02-07 19:32:52.000000000 +0000 +++ dmaths-3.2.dfsg.1/debian/preinst 1970-01-01 00:00:00.000000000 +0000 @@ -1,30 +0,0 @@ -#!/bin/sh - -set -e - -flush_unopkg_cache() { - /usr/lib/openoffice/program/unopkg list --shared "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" > /dev/null 2>&1 -} - -remove_extension() { - if /usr/lib/openoffice/program/unopkg list --shared $1 >/dev/null; then - echo -n "Removing extension $1..." - INSTDIR=`mktemp -d` - /usr/lib/openoffice/program/unopkg remove --shared $1 \ - "-env:UserInstallation=file://$INSTDIR" \ - '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \ - "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" - if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi - echo " done." - flush_unopkg_cache - fi -} - -case "$1" in - upgrade) - id=`/usr/lib/openoffice/program/unopkg list --shared | egrep '^(Name|Identifier):.*Dmaths' | cut -d":" -f2` - remove_extension $id - ;; -esac - -#DEBHELPER# diff -Nru dmaths-3.2.dfsg.1/debian/prerm dmaths-3.2.dfsg.1/debian/prerm --- dmaths-3.2.dfsg.1/debian/prerm 2011-02-07 19:32:52.000000000 +0000 +++ dmaths-3.2.dfsg.1/debian/prerm 1970-01-01 00:00:00.000000000 +0000 @@ -1,29 +0,0 @@ -#!/bin/sh - -set -e - -flush_unopkg_cache() { - /usr/lib/openoffice/program/unopkg list --shared "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" > /dev/null 2>&1 -} - -remove_extension() { - if /usr/lib/openoffice/program/unopkg list --shared $1 >/dev/null; then - echo -n "Removing extension $1..." - INSTDIR=`mktemp -d` - /usr/lib/openoffice/program/unopkg remove --shared $1 \ - "-env:UserInstallation=file://$INSTDIR" \ - '-env:UNO_JAVA_JFW_INSTALL_DATA=$ORIGIN/../share/config/javasettingsunopkginstall.xml' \ - "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" - if [ -n $INSTDIR ]; then rm -rf $INSTDIR; fi - echo " done." - flush_unopkg_cache - fi -} - -case "$1" in - remove) - remove_extension Dmaths - ;; -esac - -#DEBHELPER# diff -Nru dmaths-3.2.dfsg.1/debian/rules dmaths-3.2.dfsg.1/debian/rules --- dmaths-3.2.dfsg.1/debian/rules 2011-02-07 19:32:52.000000000 +0000 +++ dmaths-3.2.dfsg.1/debian/rules 2011-02-07 19:32:52.000000000 +0000 @@ -40,7 +40,9 @@ dh_testroot dh_clean -k dh_installdirs - dh_install tmp/DmathsAddon.oxt usr/lib/openoffice/share/extension/install + mkdir -p debian/libreoffice-dmaths/usr/lib/libreoffice/share/extensions/DmathsAddon + cd debian/libreoffice-dmaths/usr/lib/libreoffice/share/extensions/DmathsAddon && \ + unzip -o $(CURDIR)/tmp/DmathsAddon.oxt # Build architecture-independent files here.