[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] LibreOffice packaging repository branch, debian-experimental-3.4.0, updated. libreoffice_3.4.1-2-10-ga6970b1



The following commit has been merged in the debian-experimental-3.4.0 branch:
commit a6970b1f02bc131d1f95da712c3ab73f9209ee7d
Merge: 636e2d713e08857849e018b86403280c1e0b5493 fd7ccdced40de34911588b37e30f1318140b21f3
Author: Rene Engelhard <rene@debian.org>
Date:   Mon Jul 25 11:58:26 2011 +0000

    Merge remote branch 'origin/master' into debian-experimental-3.4.0

diff --combined changelog
index 033d643,9fd1e4a..fde1cc2
--- a/changelog
+++ b/changelog
@@@ -1,103 -1,28 +1,105 @@@
 -libreoffice (1:3.3.3-5) UNRELEASED; urgency=low
 +libreoffice (1:3.4.1-3) UNRELEASED; urgency=low
  
 -  * debian/patches/update-debian-opt.diff: call dpkg-buildflags correctly
    * debian/patches/fix-bridges-cpp-uno-depends.diff: fix mising depends in
      bridges' build.lst which can cause FTBFS on s390(x), arm, ia64, hppa, alpha
 +  * debian/patches/no-prctl-on-kfreebsd.diff: don't try to #include <sys/prctl.h>,
 +    it doesn't exist for FreeBSD
 + 
 +  * debian/rules: 
 +    - also set ON_BUILDD=y if $(CURDIR) begins with /build/buildd-
++    - build-depend on javahelper >= 0.37~ instead of >= 0.37 to help
++      squeeze-backpors
 +
 + -- Rene Engelhard <rene@debian.org>  Fri, 22 Jul 2011 16:06:11 +0000
 +
 +libreoffice (1:3.4.1-2) experimental; urgency=low
 +
 +  [ Rene Engelhard ]
 +  * debian/patches/vbaobj-visibility-fix.diff: fix sc build on i386, imported
 +    from Fedora
 +
 +  * debian/libreoffice-common.postinst.in, libreoffice-core.postinst.in,
 +    debian/shell-lib-components.sh:
 +    check for /@OOBASISDIR@/program/.services.rdb before using it
 +    (closes: #633396) and replace manual call of the function by
 +    dpkg-trigger. Also run the trigger in -cores postinst
 +    (thanks Jonathan Nieder)
 +  * debian/control.in:
 +    - make new -common break old -evolution/-filter-binfilter
 +  * debian/rules:
 +    - also -Xlibreoffice-dbg on jh_depends... (closes: #633540)
 +    - update ENABLE_OPENGL configure flags, now --enable-opengl is default
 +      upstream
 +    - fix build with make 3.82: remove space after, in $(call; build-depend
 +      on make >= 3.82 if PARALLEL_BUILD=y
 +    - fix -javafilter.destop Exec=
 +    - remove obsolete libstlport4.6-dev build-conflict, thanks Björn
 +      Michaelsen
 +    - fix conditional for translate-toolkit
 +    - explicitely specify --without-stlport
 +    - temporarily build with internal graphite2 until the system graphite2
 +      package is ready for use
 +  * debian/copyright: s/Specificatin/Specification/, thanks Jakub Wilk
 +  * merge from ubuntu-oneiric-3.4:
 +    - gconf also needs liborbit2-dev
 +    - bump libebook so name to allow for libebook-1.2.so-11 too
 +    - disable --dynamic-list-cpp-new/--dynamic-list-cpp-typeino
 +      as they SIGSEGV ld from binutils-2.21.52.20110707
 +
 +  [ Nelson A. de Oliveira ]
 +  * debian/*menu.in, debian/*mime:
 +    - Fix deprecated options when calling soffice and libreoffice
 +      (closes: #634001)
 + 
 + -- Rene Engelhard <rene@debian.org>  Wed, 20 Jul 2011 22:28:52 +0200
 +
 +libreoffice (1:3.4.1-1) experimental; urgency=low
  
 +  * new upstream release
 +    - handles various table columns differing in case correct
 +      (closes: #617596)
 +    - should fix embedding of (some) fonts in PDFs (closes: #616117)
 +    - (still) use libreoffice-build for now; not tagged,
 +      use 069b0a4b4f052255c97ece23f0e37be85921fe27
 +
 +  * debian/patches/debian-debug.diff: readd option to build with small
 +    symbols (removed upstream), otherwise we get a too big -dbg (760M, 2G I-S)
 +  * debian/patches/update-debian-opt.diff: call dpkg-buildflags correctly
 + 
 +  * debian/rules:
 +    - bump build-dep on libmdds-dev to >= 0.5.0
 +    - build-depend on libgraphite2-dev instead of libgraphite-dev
 +    - update for new extension and mingw configure switches
 +    - temprarily don't install gengal, not built anymore since the switch to
 +      GNU Make...
 +    - install .component files to registered-components
 +    - build-dep on translate-toolkit, now needed for translations module
 +  * debian/control.sdk.in, debian/rules: 
 +    - stop building with STLport on i386, just create a symlink in ure.
 +      Should suffice for compat with binary-only OOo extensions
 +  * debian/control.in, debian/rules:
 +     - the script providers are now extensions. split js and bsh out into
 +       extra packages (also closes: #603595)
 +  * debian/uno-libs3.symbols: update 
 +  * debian/rules, debian/patches/packcomponents-remove-split-components.diff: 
 +    remove evoab, binfilter and kdeab deregistering into patch patching
 +    the new packcomponents
 +  * debian/shell-lib-components.sh: add new update_services_rdb() merging
 +    "default" services.rdb and the .component files from registered-components
 +  * debian/libreoffice-common.triggers.in, libreoffice-*.p*.in:
 +    new trigger running update_services_rdb, remove obsolete maintainer scripts
    * debian/changelog: mention VU#953183/CVE-2011-2685 in 1:3.3.3-1
    * debian/control.in:
      - fix description: s/libreoffice-hyphenation/hyphen/,
        s/libreoffice-thesaurus/mythes/
    * debian/rules:
      - don't try to change libreoffice-base when we don't built it
 -    - build-depend on javahelper (>= 0.37~) and use -s
 -    - fix build with make 3.82: remove space after, in $(call
 -    - also set ON_BUILDD=y if $(CURDIR) begins with /build/buildd-
 +    - build-depend on javahelper (>= 0.37) and use -s
    * debian/source.lintian-overrides:
      - override new libreoffice source: dh_pycentral-is-obsolete line 3214
        and libreoffice source: dh_python-is-obsolete line 3223
 -    - also -Xlibreoffice-dbg on jh_depends...
 -  * debian/copyright: s/Specificatin/Specification/, thanks Jakub Wilk
 -  * merge from ubuntu-oneiric-3.4:
 -    - gconf also needs liborbit2-dev
 -    - bump libebook so name to allow for libebook-1.2.so-11 too
  
 - -- Rene Engelhard <rene@debian.org>  Mon, 18 Jul 2011 11:39:49 +0000
 + -- Rene Engelhard <rene@debian.org>  Wed, 06 Jul 2011 16:00:18 +0200
  
  libreoffice (1:3.3.3-4) unstable; urgency=low
  
@@@ -136,7 -61,7 +138,7 @@@ libreoffice (1:3.3.3-2) unstable; urgen
      - move evolocal.odb into -evolution proper
      - use OpenJDK on mips(el), seems to work. (ia64 still SIGSEGVs)
    * debian/libreoffice-filter-binfilter.links.in: actually create symlink
 -    for libbindet*so in registered-components 
 +    for libbindet*so in registered-components
    * debian/control.in:
      - move libpaper-utils from Suggests to Recommends
      - fix libreoffice Description: - -filter-binfilter is not installed
@@@ -144,7 -69,7 +146,7 @@@
    * debian/control.in, debian/rules: move libpq-dev builddep to a
      conditional
    * debian/rules, debian/control*in:
 -    - run jh_depends and add ${java:Depends} where we have Java 
 +    - run jh_depends and add ${java:Depends} where we have Java
  
   -- Rene Engelhard <rene@debian.org>  Wed, 29 Jun 2011 10:03:21 +0200
  
@@@ -159,7 -84,7 +161,7 @@@ libreoffice (1:3.3.3-1) unstable; urgen
      toolbars work in e.g. Base edit forms (closes: #617319)
  
    * debian/rules:
 -    - disable -sdbc-postgresql until fixed (closes: #620100) 
 +    - disable -sdbc-postgresql until fixed (closes: #620100)
      - stop moving vbaevents*.uno.so to -calc. Move libvbaswobj*uno.so
        to -writer
      - make -l10n-sw (if enabled) depend on locales (>= 2.13-5)
diff --combined control
index 5a12252,9eb0eed..7d19b80
--- a/control
+++ b/control
@@@ -3,9 -3,9 +3,9 @@@ Section: editor
  Priority: optional
  Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
  Uploaders: Rene Engelhard <rene@debian.org>
- Build-Depends: lsb-release, bzip2, bison, flex | flex-old, libxaw7-dev, unzip, zip, autoconf, automake, sharutils, pkg-config, libfontconfig1-dev, libc0.1 (>= 2.10.2-7) [kfreebsd-i386 kfreebsd-amd64], zlib1g-dev, libfreetype6-dev, libx11-dev, libsm-dev, libxt-dev, libxext-dev, libxtst-dev, libice-dev, libsane-dev, libxrender-dev, libcups2-dev, libarchive-zip-perl, libpng12-dev, libjpeg-dev, libxml2-dev, libexpat1-dev, fastjar, xsltproc, libxkbfile-dev, libxinerama-dev, x11proto-render-dev, unixodbc-dev (>= 2.2.11), libxml-parser-perl, gperf, po-debconf, bc, wget | curl, dpkg-dev (>= 1.15.1), libgl1-mesa-dev [!armel !mips !mipsel], libglu1-mesa-dev [!armel !mips !mipsel], libpoppler-dev (>= 0.8.0), libtextcat-dev (>= 2.2-8), libcurl4-gnutls-dev, libssl-dev, libdb-dev, python (>= 2.6.6-3+squeeze4), python-dev, debhelper (>= 7.2.3~), libcppunit-dev (>= 1.12), openjdk-6-jdk [alpha amd64 armel armhf i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc], gcj-native-helper [
 !powerpc !powerpcspe !ppc64], libgcj-common (>= 1:4.4.1) [!powerpc !powerpcspe !ppc64], ant (>= 1.7.0), ant-optional (>= 1.7.0), gcc-mingw32, mingw32-runtime, libcommons-codec-java, libcommons-httpclient-java, libcommons-lang-java, libcommons-logging-java, libservlet2.5-java, libbase-java-openoffice.org [!armel], libsac-java [!armel], libxml-java-openoffice.org [!armel], libflute-java-openoffice.org [!armel], libpentaho-reporting-flow-engine-java-openoffice.org [!armel], liblayout-java-openoffice.org [!armel], libloader-java-openoffice.org [!armel], libformula-java-openoffice.org [!armel], librepository-java-openoffice.org [!armel], libfonts-java-openoffice.org [!armel], libserializer-java-openoffice.org [!armel], libcommons-logging-java, libservlet2.5-java, javahelper (>= 0.37), xulrunner-dev, libnss3-dev (>= 3.12.3), dmake (>= 1:4.11), mono-devel (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], libmono-dev (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i
 386], mono-utils (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], cli-common-dev (>= 0.5.7) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], libhunspell-dev (>= 1.1.5-2), libhyphen-dev (>= 2.4), libstlport4.6-dev (>= 4.6.2-3) [i386], libboost-dev (>= 1.38), libmdds-dev (>= 0.5.0), libvigraimpex-dev, libwpd-dev (>= 0.9.0), libmythes-dev (>= 2:1.2), libwps-dev (>= 0.2.0), libwpg-dev (>= 0.2.0), libicu-dev (>= 4.0), libxslt1-dev, libcairo2-dev, kdelibs5-dev (>= 4:4.3.4), libqt4-dev (>= 4.5), libmysqlclient-dev, libmysqlcppconn-dev (>= 1.1.0~r791), libebook1.2-dev [!armel], libxrandr-dev, liblucene2-java (>= 2.3.2), libhsqldb-java (>> 1.8.0.10), bsh (>= 2.0b4), liblpsolve55-dev (>= 5.5.0.13-5+b1), lp-solve (>= 5.5.0.13-5+b1), libsuitesparse-dev (>= 1:3.4.0), libdbus-glib-1-dev (>= 0.60), libgstreamer-plugins-base0.10-dev, libneon27-gnutls-dev, librdf0-dev (>= 1.0.8), libgtk2.0-dev (>= 2.10), libgnomevfs2-dev, libgconf2-dev, liborbit2-dev, libldap2-dev
 -Build-Depends: lsb-release, bzip2, bison, flex | flex-old, libxaw7-dev, unzip, zip, autoconf, automake, sharutils, pkg-config, libfontconfig1-dev, libc0.1 (>= 2.10.2-7) [kfreebsd-i386 kfreebsd-amd64], zlib1g-dev, libfreetype6-dev, libx11-dev, libsm-dev, libxt-dev, libxext-dev, libxtst-dev, libice-dev, libsane-dev, libxrender-dev, libcups2-dev, libarchive-zip-perl, libpng12-dev, libjpeg-dev, libxml2-dev, libexpat1-dev, fastjar, xsltproc, libxkbfile-dev, libxinerama-dev, x11proto-render-dev, unixodbc-dev (>= 2.2.11), libxml-parser-perl, gperf, po-debconf, bc, wget | curl, dpkg-dev (>= 1.15.1), libgl1-mesa-dev [!armel !mips !mipsel], libglu1-mesa-dev [!armel !mips !mipsel], libpoppler-dev (>= 0.8.0), libgraphite-dev, libtextcat-dev (>= 2.2-8), libcurl4-gnutls-dev, libssl-dev, libdb-dev, python (>= 2.6.6-3+squeeze4), python-dev, debhelper (>= 7.2.3~), epm, libcppunit-dev (>= 1.12), openjdk-6-jdk [alpha amd64 armel armhf i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc
 ], gcj-native-helper [!powerpc !powerpcspe !ppc64], libgcj-common (>= 1:4.4.1) [!powerpc !powerpcspe !ppc64], ant (>= 1.7.0), ant-optional (>= 1.7.0), gcc-mingw32, mingw32-runtime, libcommons-codec-java, libcommons-httpclient-java, libcommons-lang-java, libcommons-logging-java, libservlet2.5-java, libbase-java-openoffice.org [!armel], libsac-java [!armel], libxml-java-openoffice.org [!armel], libflute-java-openoffice.org [!armel], libpentaho-reporting-flow-engine-java-openoffice.org [!armel], liblayout-java-openoffice.org [!armel], libloader-java-openoffice.org [!armel], libformula-java-openoffice.org [!armel], librepository-java-openoffice.org [!armel], libfonts-java-openoffice.org [!armel], libserializer-java-openoffice.org [!armel], libcommons-logging-java, libservlet2.5-java, javahelper (>= 0.37~), xulrunner-dev, libnss3-dev (>= 3.12.3), dmake (>= 1:4.11), mono-devel (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], libmono-dev (>= 2.4.2.3) [amd64 i386 ia64 kf
 reebsd-amd64 kfreebsd-i386], mono-utils (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], cli-common-dev (>= 0.5.7) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], libhunspell-dev (>= 1.1.5-2), libhyphen-dev (>= 2.4), libstlport4.6-dev (>= 4.6.2-3) [i386], libboost-dev (>= 1.38), libmdds-dev, libvigraimpex-dev, libwpd-dev (>= 0.9.0), libmythes-dev (>= 2:1.2), libwps-dev (>= 0.2.0), libwpg-dev (>= 0.2.0), libicu-dev (>= 4.0), libxslt1-dev, libcairo2-dev, kdelibs5-dev (>= 4:4.3.4), libqt4-dev (>= 4.5), libmysqlclient-dev, libmysqlcppconn-dev (>= 1.1.0~r791), libebook1.2-dev [!armel], libxrandr-dev, liblucene2-java (>= 2.3.2), libhsqldb-java (>> 1.8.0.10), bsh (>= 2.0b4), liblpsolve55-dev (>= 5.5.0.13-5+b1), lp-solve (>= 5.5.0.13-5+b1), libsuitesparse-dev (>= 1:3.4.0), libdbus-glib-1-dev (>= 0.60), libgstreamer-plugins-base0.10-dev, libneon27-gnutls-dev, librdf0-dev (>= 1.0.8), libgtk2.0-dev (>= 2.10), libgnomevfs2-dev, libgconf2-dev, liborbit2-dev, libldap2-dev
 -Build-Depends-Indep: fdupes, xml-core, imagemagick, fontforge
 -Build-Conflicts: libcairo2 (= 1.4.8-1), libxul-dev (= 1.8.0.13~pre070720-0etch1), gjdoc (= 0.7.8-2), libc6-dev (= 2.6.1-3) [i386 amd64], libc6-dev (= 2.6.1-4) [i386 amd64], nvidia-glx-dev, nvidia-glx-legacy-dev, libmono-dev (= 1.2.6+dfsg-1), libmono-dev (= 1.2.6+dfsg-2), libmono-dev (= 1.2.6+dfsg-3), libmono-dev (= 1.2.6+dfsg-4), libmono-dev (= 2.4+dfsg-2) [sparc], gcj-4.2 (= 4.2.2-6), flex (= 2.5.34-1) [amd64], libboost1.39-dev (<< 1.39.0-2), graphicsmagick-imagemagick-compat (<< 1.3.9~), qt3-dev-tools, ant (= 1.8.0-1) [hppa ia64 kfreebsd-i386 kfreebsd-amd64], ant (= 1.8.0-2) [hppa ia64 kfreebsd-i386 kfreebsd-amd64], ant (= 1.8.0-3) [hppa ia64 kfreebsd-i386 kfreebsd-amd64], libmdds-dev (>= 0.4.0), base-files (= 6.0), base-files (= 6.0squeeze1), libhsqldb-java (>= 1.8.1~)
++Build-Depends: lsb-release, bzip2, bison, flex | flex-old, libxaw7-dev, unzip, zip, autoconf, automake, sharutils, pkg-config, libfontconfig1-dev, libc0.1 (>= 2.10.2-7) [kfreebsd-i386 kfreebsd-amd64], zlib1g-dev, libfreetype6-dev, libx11-dev, libsm-dev, libxt-dev, libxext-dev, libxtst-dev, libice-dev, libsane-dev, libxrender-dev, libcups2-dev, libarchive-zip-perl, libpng12-dev, libjpeg-dev, libxml2-dev, libexpat1-dev, fastjar, xsltproc, libxkbfile-dev, libxinerama-dev, x11proto-render-dev, unixodbc-dev (>= 2.2.11), libxml-parser-perl, gperf, po-debconf, bc, wget | curl, dpkg-dev (>= 1.15.1), libgl1-mesa-dev [!armel !mips !mipsel], libglu1-mesa-dev [!armel !mips !mipsel], libpoppler-dev (>= 0.8.0), libtextcat-dev (>= 2.2-8), libcurl4-gnutls-dev, libssl-dev, libdb-dev, python (>= 2.6.6-3+squeeze4), python-dev, debhelper (>= 7.2.3~), libcppunit-dev (>= 1.12), openjdk-6-jdk [alpha amd64 armel armhf i386 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc], gcj-native-helper [
 !powerpc !powerpcspe !ppc64], libgcj-common (>= 1:4.4.1) [!powerpc !powerpcspe !ppc64], ant (>= 1.7.0), ant-optional (>= 1.7.0), gcc-mingw32, mingw32-runtime, libcommons-codec-java, libcommons-httpclient-java, libcommons-lang-java, libcommons-logging-java, libservlet2.5-java, libbase-java-openoffice.org [!armel], libsac-java [!armel], libxml-java-openoffice.org [!armel], libflute-java-openoffice.org [!armel], libpentaho-reporting-flow-engine-java-openoffice.org [!armel], liblayout-java-openoffice.org [!armel], libloader-java-openoffice.org [!armel], libformula-java-openoffice.org [!armel], librepository-java-openoffice.org [!armel], libfonts-java-openoffice.org [!armel], libserializer-java-openoffice.org [!armel], libcommons-logging-java, libservlet2.5-java, javahelper (>= 0.37~), xulrunner-dev, libnss3-dev (>= 3.12.3), dmake (>= 1:4.11), mono-devel (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], libmono-dev (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-
 i386], mono-utils (>= 2.4.2.3) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], cli-common-dev (>= 0.5.7) [amd64 i386 ia64 kfreebsd-amd64 kfreebsd-i386], libhunspell-dev (>= 1.1.5-2), libhyphen-dev (>= 2.4), libboost-dev (>= 1.38), libmdds-dev (>= 0.5.0), libvigraimpex-dev, libwpd-dev (>= 0.9.0), libmythes-dev (>= 2:1.2), libwps-dev (>= 0.2.0), libwpg-dev (>= 0.2.0), libicu-dev (>= 4.0), libxslt1-dev, libcairo2-dev, kdelibs5-dev (>= 4:4.3.4), libqt4-dev (>= 4.5), libmysqlclient-dev, libmysqlcppconn-dev (>= 1.1.0~r791), libebook1.2-dev [!armel], libxrandr-dev, liblucene2-java (>= 2.3.2), libhsqldb-java (>> 1.8.0.10), bsh (>= 2.0b4), liblpsolve55-dev (>= 5.5.0.13-5+b1), lp-solve (>= 5.5.0.13-5+b1), libsuitesparse-dev (>= 1:3.4.0), libdbus-glib-1-dev (>= 0.60), libgstreamer-plugins-base0.10-dev, libneon27-gnutls-dev, librdf0-dev (>= 1.0.8), libgtk2.0-dev (>= 2.10), libgnomevfs2-dev, libgconf2-dev, liborbit2-dev, libldap2-dev
 +Build-Depends-Indep: fdupes, xml-core, imagemagick, fontforge, translate-toolkit
 +Build-Conflicts: libcairo2 (= 1.4.8-1), libxul-dev (= 1.8.0.13~pre070720-0etch1), gjdoc (= 0.7.8-2), libc6-dev (= 2.6.1-3) [i386 amd64], libc6-dev (= 2.6.1-4) [i386 amd64], nvidia-glx-dev, nvidia-glx-legacy-dev, libmono-dev (= 1.2.6+dfsg-1), libmono-dev (= 1.2.6+dfsg-2), libmono-dev (= 1.2.6+dfsg-3), libmono-dev (= 1.2.6+dfsg-4), libmono-dev (= 2.4+dfsg-2) [sparc], gcj-4.2 (= 4.2.2-6), flex (= 2.5.34-1) [amd64], libboost1.39-dev (<< 1.39.0-2), graphicsmagick-imagemagick-compat (<< 1.3.9~), qt3-dev-tools, ant (= 1.8.0-1) [hppa ia64 kfreebsd-i386 kfreebsd-amd64], ant (= 1.8.0-2) [hppa ia64 kfreebsd-i386 kfreebsd-amd64], ant (= 1.8.0-3) [hppa ia64 kfreebsd-i386 kfreebsd-amd64], base-files (= 6.0), base-files (= 6.0squeeze1), libhsqldb-java (>= 1.8.1~)
  Standards-Version: 3.9.1
  XS-Python-Version: current
  Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-openoffice/libreoffice.git
@@@ -67,7 -67,7 +67,7 @@@ Description: office productivity suit
  Package: libreoffice-l10n-za
  Section: localization
  Architecture: all
 -Depends: libreoffice-l10n-af, libreoffice-l10n-en-za, libreoffice-l10n-nr, libreoffice-l10n-ns, libreoffice-l10n-ss, libreoffice-l10n-st, libreoffice-l10n-tn, libreoffice-l10n-ts, libreoffice-l10n-ve, libreoffice-l10n-xh, libreoffice-l10n-zu, ${misc:Depends}
 +Depends: libreoffice-l10n-af, libreoffice-l10n-en-za, libreoffice-l10n-nr, libreoffice-l10n-nso, libreoffice-l10n-ss, libreoffice-l10n-st, libreoffice-l10n-tn, libreoffice-l10n-ts, libreoffice-l10n-ve, libreoffice-l10n-xh, libreoffice-l10n-zu, ${misc:Depends}
  Description: office productivity suite -- South African language packages
   LibreOffice is a full-featured office productivity suite that provides
   a near drop-in replacement for Microsoft(R) Office.
@@@ -91,7 -91,7 +91,7 @@@ Package: libreoffice-cor
  Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
  Depends: libreoffice-common (>> ${base-version}), ttf-opensymbol (>= 1:3.0), ${shlibs:Depends}, ure (>= 1.5.1+OOo3.1.1-15), fontconfig, ${mozilla-nss-depends}, ${misc:Depends}
  Conflicts: libreoffice-calc (<< ${binary:Version}), libreoffice-writer (<< ${binary:Version}), libreoffice-impress (<< ${binary:Version}), libreoffice-draw (<< ${binary:Version}), libreoffice-base (<< ${binary:Version}), libreoffice-gtk (<< ${binary:Version}), libreoffice-gnome (<< ${binary:Version}), libreoffice-kde (<< ${binary:Version}), libreoffice-evolution (<< ${binary:Version}), libreoffice-filter-so52 (<< ${binary:Version}), libreoffice-officebean (<< ${binary:Version}), libreoffice-dev (<< ${binary:Version}), libreoffice-style-crystal (<< 1:3.3.0-1), libreoffice-style-oxygen (<< 1:3.3.0-1), libreoffice-style-tango (<< 1:3.3.0-1), libreoffice-style-hicontrast (<< 1:3.3.0-1), libreoffice-style-galaxy (<< 1:3.3.0-1), libreoffice-style-andromeda (<< 1:3.3.0-1), libcairo2 (= 1.4.8-1), libicu38 (= 3.8~d01-1), cli-uno-bridge (<< 1:3.0.0~dev300m22), cacao-oj6-jre, mozilla-plugin-vlc (<< 1.0)
 -Breaks: myspell-ru (<< 0.99g5-8.1), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-fi (<< 0.7-17.2), myspell-cs-cz (<< 20040229-4.1), myspell-el-gr (<< 0.3-1.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1), hunspell-ar (<< 0.0.0+20080110-1.1), myspell-hu (<< 0.99.4-1.2), hunspell-gl-es (<< 2.2a-6), myspell-gv (<< 0.50-8), myspell-en-au (<< 2.1-5), myspell-fa (<< 0.20070816-2), hunspell-uz (<< 0.6-3.1), hunspell-ko (<< 0.3.3-1), hunspell-se (<< 1.0~beta6.20081222-1.1), hunspell-de-med (<< 20090825-1), hunspell-en-us (<< 20070829-3), myspell-sv-se (<< 1.3.8-6-2.2), myspell-sk (<< 0.5.5a-2.1), myspell-fo (<< 0.2.36-3), myspell-nl (<< 1:1.10-3), myspell-pt-br (<< 2009.03.30-1.1), myspell-pl (<< 20090830-1), myspell-pt-pt (<< 20090309-1.1), myspell-ga (<< 2.0-19), myspell-gd (<< 0.50-7), myspell-ku (<< 0.20.0-1.1), myspell-hr (<< 20060617-2), myspell-fr-gut (<< 1:1.0-26.1), myspell-eo (<< 2.1.2000.02.25-41), myspell-de-de-oldspell (<< 1:2-25.1), m
 yspell-da (<< 1.6.18-1.1), myspell-es (<< 1.10-7), myspell-de-at (<< 20071211-2), myspell-de-ch (<< 20071211-2), myspell-de-de (<< 20071211-2), hunspell-de-at (<< 20071211-2), hunspell-de-ch (<< 20071211-2), hunspell-de-de (<< 20071211-2), myspell-ca (<< 0.6-8), myspell-tl (<< 0.4-0-5), myspell-ne (<< 1.0-4.1), myspell-fr (<< 1.4-25), myspell-hy (<< 0.10.1-1.1), myspell-en-us (<< 1:3.1.0-3), myspell-en-gb (<< 1:3.1.0-3), myspell-en-za (<< 1:3.1.0-3), myspell-af (<< 1:3.1.0-3), myspell-it (<< 1:3.1.0-3), myspell-sw (<< 1:3.1.0-3), myspell-th (<< 1:3.1.0-3), hunspell-en-ca (<< 1:3.1.0-3), hunspell-ne (<< 1:3.1.0-3), hunspell-da (<< 1:3.1.0-3), hunspell-fr (<< 1:3.1.0-3), hunspell-vi (<< 1:3.1.0-3), hunspell-hu (<< 1:3.1.0-3), hunspell-sr (<< 1:3.1.0-3), hunspell-sh (<< 1:3.1.0-3), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1)
 +Breaks: myspell-ru (<< 0.99g5-8.1), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-fi (<< 0.7-17.2), myspell-cs-cz (<< 20040229-4.1), myspell-el-gr (<< 0.3-1.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1), hunspell-ar (<< 0.0.0+20080110-1.1), myspell-hu (<< 0.99.4-1.2), hunspell-gl-es (<< 2.2a-6), myspell-gv (<< 0.50-8), myspell-en-au (<< 2.1-5), myspell-fa (<< 0.20070816-2), hunspell-uz (<< 0.6-3.1), hunspell-ko (<< 0.3.3-1), hunspell-se (<< 1.0~beta6.20081222-1.1), hunspell-de-med (<< 20090825-1), hunspell-en-us (<< 20070829-3), myspell-sv-se (<< 1.3.8-6-2.2), myspell-sk (<< 0.5.5a-2.1), myspell-fo (<< 0.2.36-3), myspell-nl (<< 1:1.10-3), myspell-pt-br (<< 2009.03.30-1.1), myspell-pl (<< 20090830-1), myspell-pt-pt (<< 20090309-1.1), myspell-ga (<< 2.0-19), myspell-gd (<< 0.50-7), myspell-ku (<< 0.20.0-1.1), myspell-hr (<< 20060617-2), myspell-fr-gut (<< 1:1.0-26.1), myspell-eo (<< 2.1.2000.02.25-41), myspell-de-de-oldspell (<< 1:2-25.1), m
 yspell-da (<< 1.6.18-1.1), myspell-es (<< 1.10-7), myspell-de-at (<< 20071211-2), myspell-de-ch (<< 20071211-2), myspell-de-de (<< 20071211-2), hunspell-de-at (<< 20071211-2), hunspell-de-ch (<< 20071211-2), hunspell-de-de (<< 20071211-2), myspell-ca (<< 0.6-8), myspell-tl (<< 0.4-0-5), myspell-ne (<< 1.0-4.1), myspell-fr (<< 1.4-25), myspell-hy (<< 0.10.1-1.1), myspell-en-us (<< 1:3.1.0-3), myspell-en-gb (<< 1:3.1.0-3), myspell-en-za (<< 1:3.1.0-3), myspell-af (<< 1:3.1.0-3), myspell-it (<< 1:3.1.0-3), myspell-sw (<< 1:3.1.0-3), myspell-th (<< 1:3.1.0-3), hunspell-en-ca (<< 1:3.1.0-3), hunspell-ne (<< 1:3.1.0-3), hunspell-da (<< 1:3.1.0-3), hunspell-fr (<< 1:3.1.0-3), hunspell-vi (<< 1:3.1.0-3), hunspell-hu (<< 1:3.1.0-3), hunspell-sr (<< 1:3.1.0-3), hunspell-sh (<< 1:3.1.0-3), myspell-lv (<< 0.7.3-3.1), myspell-et (<< 1:20030606-12.1), myspell-nn (<< 2.0.10-3.1), myspell-nb (<< 2.0.10-3.1), libreoffice-filter-binfilter (<< 1:3.4.1~), libreoffice-evolution (<< 1:3.4.1~), li
 breoffice-kab (<< 1:3.4.1~)
  Provides: libreoffice-bundled
  Replaces: libreoffice-calc (<< 1:3.3.2-5)
  Description: office productivity suite -- arch-dependent files
@@@ -120,6 -120,7 +120,6 @@@ Breaks: libreoffice-style-crystal (<< 1
   libreoffice-style-tango (>= 1:${next-basis-version}~),
   libreoffice-style-hicontrast (>= 1:${next-basis-version}~),
   libreoffice-style-galaxy (>= 1:${next-basis-version}~),
 - libreoffice-style-andromeda (>= 1:${next-basis-version}~)
  Replaces: openoffice.org-common (<< 1:3.3.0~)
  Description: office productivity suite -- arch-independent files
   LibreOffice is a full-featured office productivity suite that provides
@@@ -131,6 -132,7 +131,6 @@@
  Package: libreoffice-java-common
  Architecture: all
  Depends: libreoffice-common, ${java:Depends}, ${misc:Depends}
 -Suggests: ${common-bsh-depends}
  Description: office productivity suite -- arch-independent Java support files
   LibreOffice is a full-featured office productivity suite that provides
   a near drop-in replacement for Microsoft(R) Office.
@@@ -291,6 -293,20 +291,6 @@@ Description: office productivity suite 
   MS Windows (tm) and when not using GNOME or KDE, needs to be manually
   enabled in the LibreOffice option menu.
  
 -Package: libreoffice-style-andromeda
 -Architecture: all
 -Depends: ${misc:Depends}, libreoffice-core
 -Provides: libreoffice-style
 -Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
 -Description: office productivity suite -- Andromeda (Classic) symbol style
 - LibreOffice is a full-featured office productivity suite that provides
 - a near drop-in replacement for Microsoft(R) Office.
 - .
 - This package contains the "Andromeda" symbol style from Sun; the "Classic"
 - symbol style used by LibreOffice before 3.0 on MS Windows (tm) and when
 - not using GNOME or KDE, needs to be manually enabled in the LibreOffice
 - option menu.
 -
  Package: libreoffice-gtk
  Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
  Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
@@@ -338,7 -354,7 +338,7 @@@ Description: office productivity suite 
   to E-Mail.
  
  Package: python-uno
 -Provides: ${python:Provides}
 +Provides: ${python:Provides}, libreoffice-script-provider-python
  XB-Python-Version: ${python:Versions}
  Section: python
  Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
@@@ -363,6 -379,23 +363,6 @@@ Description: office productivity suite 
   This package contains the LibreOffice Office Bean for embedding
   LibreOffice in custom Java applications.
  
 -Package: libreoffice-filter-binfilter
 -Section: misc
 -Architecture: alpha amd64 hppa i386 ia64 powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
 -Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 -Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
 -Description: office productivity suite -- legacy filters (e.g. StarOffice 5.2)
 - LibreOffice is a full-featured office productivity suite that provides
 - a near drop-in replacement for Microsoft(R) Office.
 - .
 - This package contains the "binfilters", legacy filters for
 -  - the old StarOffice 5.2 formats
 -  - StarWriter 1.0/2.0
 -  - StarWriter/DOS
 -  - *Writer* filters for
 -    + Excel
 -    + Lotus
 -
  Package: libreoffice-filter-mobiledev
  Section: misc
  Architecture: all
@@@ -391,38 -424,6 +391,38 @@@ Description: office productivity suite 
   This package contains the Document Type Definition (DTD) of the
   OpenOffice.org 1.x(!) XML file format.
  
 +Package: libreoffice-script-provider-bsh
 +Architecture: all
 +Section: java
 +Depends: libreoffice-java-common, ${java-runtime-depends}, ${bsh-depends}, ${misc:Depends}
 +Replaces: libreoffice-java-common (<< 1:3.4~)
 +Description: BeanShell script support provider for LibreOffice scripting framework
 + LibreOffice is a full-featured office productivity suite that provides
 + a near drop-in replacement for Microsoft(R) Office.
 + .
 + The Scripting Framework allows LibreOffice users to write and run macros
 + in multiple languages including LibreOffice Basic, Python, Java, BeanShell
 + and JavaScript. These macros can then be assigned to menus, toolbars,
 + keyboard shortcuts, events and embedded objects. 
 + .
 + This package contains the script provider to support BeanShell.
 +
 +Package: libreoffice-script-provider-js
 +Architecture: all
 +Section: web
 +Replaces: libreoffice-common (<< 1:3.4~)
 +Depends: libreoffice-java-common, ${java-runtime-depends}, ${misc:Depends}
 +Description: JavaScript script support provider for LibreOffice scripting framework
 + LibreOffice is a full-featured office productivity suite that provides
 + a near drop-in replacement for Microsoft(R) Office.
 + .
 + The Scripting Framework allows LibreOffice users to write and run macros
 + in multiple languages including LibreOffice Basic, Python, Java, BeanShell
 + and JavaScript. These macros can then be assigned to menus, toolbars,
 + keyboard shortcuts, events and embedded objects. 
 + .
 + This package contains the script provider to support JavaScript.
 +
  Package: libreoffice-l10n-af
  Section: localization
  Architecture: all
@@@ -523,13 -524,13 +523,13 @@@ Description: office productivity suite 
   install extra dictionaries/hyphenation patterns/thesauri independently of
   the language packs.
  
 -Package: libreoffice-l10n-be-by
 +Package: libreoffice-l10n-be
  Section: localization
  Architecture: all
  Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
  Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-be
  Provides: libreoffice-l10n-${help-l10n-virtual-version}
 -Suggests: hunspell-dictionary-be-by | myspell-dictionary-be-by, hyphen-be-by, mythes-be-by, libreoffice-help-be-by
 +Suggests: hunspell-dictionary-be | myspell-dictionary-be, hyphen-be, mythes-be, libreoffice-help-be
  Description: office productivity suite -- Belarussian language package
   LibreOffice is a full-featured office productivity suite that provides
   a near drop-in replacement for Microsoft(R) Office.
@@@ -1698,19 -1699,19 +1698,19 @@@ Description: office productivity suite 
   install extra dictionaries/hyphenation patterns/thesauri independently of
   the language packs.
  
 -Package: libreoffice-l10n-ns
 +Package: libreoffice-l10n-nso
  Section: localization
  Architecture: all
 -Depends: locales (>= 2.3.5-12) | belocs-locales-data | locales-all, ${misc:Depends}
 -Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ns
 +Depends: locales | belocs-locales-data | locales-all, ${misc:Depends}
 +Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nso
  Provides: libreoffice-l10n-${help-l10n-virtual-version}
 -Suggests: hunspell-dictionary-ns | myspell-dictionary-ns, hyphen-ns, mythes-ns, libreoffice-help-ns
 -Description: office productivity suite -- Northernsotho language package
 +Suggests: hunspell-dictionary-nso | myspell-dictionary-nso, hyphen-nso, mythes-nso, libreoffice-help-nso
 +Description: office productivity suite -- Northern_sotho language package
   LibreOffice is a full-featured office productivity suite that provides
   a near drop-in replacement for Microsoft(R) Office.
   .
   This package contains the localization of LibreOffice in
 - Northernsotho. 
 + Northern_sotho. 
   It contains the user interface, the templates and the autotext features.
   (please note that not all this is available for all possible languages). 
   You can switch user interface language using the locales system.
@@@ -3314,7 -3315,7 +3314,7 @@@ Description: office productivity suite 
  Package: libreoffice-dev
  Section: devel
  Architecture: alpha amd64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
 -Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${dev-stl-depends}, ${misc:Depends}
 +Depends: libreoffice-core (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
  Recommends: dmake, g++, ${java-runtime-depends}, ${java-common-depends}
  Suggests: libreoffice-dev-doc, libmythes-dev, c-shell
  Description: office productivity suite -- SDK
@@@ -3380,7 -3381,7 +3380,7 @@@ Description: MySQL Connector extension 
  Package: libreoffice-evolution
  Architecture: alpha amd64 armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
  Section: gnome
 -Depends: libreoffice-core (= ${binary:Version}), libreoffice-base, ${shlibs:Depends}, ${libebook-dep}, ${misc:Depends}
 +Depends: libreoffice-core (= ${binary:Version}), libreoffice-common (>= 1:3.4.0~), libreoffice-base, ${shlibs:Depends}, ${libebook-dep}, ${misc:Depends}
  Recommends: evolution
  Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
  Replaces: libreoffice-common (<< 1:3.3.3-2~)
@@@ -3391,20 -3392,3 +3391,20 @@@ Description: office productivity suite 
   This package allows LibreOffice to access Evolution address books.
   You need to install evolution separately.
  
 +Package: libreoffice-filter-binfilter
 +Section: misc
 +Architecture: alpha amd64 hppa i386 ia64 powerpc powerpcspe ppc64 s390 s390x sparc kfreebsd-amd64 kfreebsd-i386
 +Depends: libreoffice-core (= ${binary:Version}), libreoffice-common (>= 1:3.4.0~), ${shlibs:Depends}, ${misc:Depends}
 +Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
 +Description: office productivity suite -- legacy filters (e.g. StarOffice 5.2)
 + LibreOffice is a full-featured office productivity suite that provides
 + a near drop-in replacement for Microsoft(R) Office.
 + .
 + This package contains the "binfilters", legacy filters for
 +  - the old StarOffice 5.2 formats
 +  - StarWriter 1.0/2.0
 +  - StarWriter/DOS
 +  - *Writer* filters for
 +    + Excel
 +    + Lotus
 +
diff --combined rules
index 64bf0d6,88aa836..ba6cf7a
--- a/rules
+++ b/rules
@@@ -24,10 -24,10 +24,10 @@@ BASE_VERSION:=$(shell echo $(SOURCE_VER
  BINARY_VERSION=$(SOURCE_VERSION)
  #BINARY_VERSION=1:2.4.0-$(shell dpkg-parsechangelog  | grep urgency \
  	| awk '{print $$2}' | sed -e s/"("// -e s/")"// | cut -d"-" -f2)
 -HELP_L10N_VIRTUAL_VERSION:=$(shell echo $(UPSTREAM_VERSION) | cut -d: -f2 | tr [~] [\\-])
 -#HELP_L10N_VIRTUAL_VERSION:=3.3
 +#HELP_L10N_VIRTUAL_VERSION:=$(shell echo $(UPSTREAM_VERSION) | cut -d: -f2 | tr [~] [\\-])
 +HELP_L10N_VIRTUAL_VERSION:=3.4
  #VER:=3
 -OOVER:=3.3
 +OOVER:=3.4
  BASIS_VERSION:=$(OOVER)
  NEXT_OOVER:=$(shell echo "$(OOVER) + 0.1" | bc)
  NEXT_BASIS_VERSION:=$(NEXT_OOVER)
@@@ -77,12 -77,12 +77,12 @@@ export QUILT_OPTIONS="-p1 -F0
  # work around tcsh bugs.debian.org/339034: tcsh: Unknown colorls variable `su'
  unexport LS_COLORS
  
 -MWS=OOO330
 -MILESTONE=m19
 +MWS=OOO340
 +MILESTONE=m1
  TAG=$(shell echo $(MWS) | tr A-Z a-z)-$(MILESTONE)
  GIT_TAG=$(MWS)_$(MILESTONE)
 -OOO_BUILD_BRANCH=libreoffice-3-3-3
 -OOO_BUILD_VERSION=3.3.3.1
 +OOO_BUILD_BRANCH=libreoffice-3-4-1
 +OOO_BUILD_VERSION=3.4.1.3
  # in ooo-build releases the same as OOO_BUILD_VERSION
  OOO_BUILD_TARBALL_VERSION=$(OOO_BUILD_VERSION)
  OOO_BUILD_TAG=libreoffice-$(OOO_BUILD_TARBALL_VERSION)
@@@ -109,9 -109,6 +109,9 @@@ BUILD_DEPS
  SYSTEM_STUFF = dicts
  
  BUILD_PYUNO=y
 +ifeq "$(BUILD_PYUNO)" "y"
 +  ENABLE_SCRIPT_PROVIDER_PYTHON=y
 +endif
  PYTHON_HELPER=dh_python2
  # THIS IS ONLY FOR TESTING. When building against a specified pythonX.Y
  # this will work inside OOo but *not* from outside OOo unless the user
@@@ -138,7 -135,7 +138,7 @@@ ifeq "$(ENABLE_JAVA)" "y
      JDK=gcj-jdk
    endif
  endif
- JAVAHELPER_MIN_VERSION= (>= 0.37)
+ JAVAHELPER_MIN_VERSION= (>= 0.37~)
  ENABLE_MONO=y
  MONO2=y
  ifeq "$(MONO2)" "y"
@@@ -154,6 -151,8 +154,6 @@@ LIBALTLINUXHYPH_MINVER= (>= 0.1.1-11
  LIBHYPHEN_MINVER= (>= 2.4)
  USE_AGG=n
  # SYSTEM_STUFF += agg
 -USE_STLPORT=n
 -USE_SYSTEM_STLPORT=y
  SYSTEM_STUFF += boost
  BOOST_VERSION=default
  ifeq "$(BOOST_VERSION)" "default"
@@@ -205,11 -204,18 +205,11 @@@ NEONSONR=2
  SYSTEM_STUFF += redland
  USE_OOO_BUILD_DESKTOPS=n
  PACKAGE_SDK=y
 +# FIXME: subsequenttests breaks with to high debug level 11
  ifeq "$(ENABLE_JAVA)" "y"
    ifeq "$(JDK)" "openjdk"
 -    ifneq "$(ARCH)" "sparc"
 -      RUN_SMOKETEST=y
 -    else
 -      RUN_SMOKETEST=n
 -    endif
 -    ifneq (,$(findstring $(ARCH),$(OOO_STLPORT_ARCHS)))
 -      RUN_SUBSEQUENT_TESTS=y
 -    else
 -      RUN_SUBSEQUENT_TESTS=n
 -    endif
 +    RUN_SMOKETEST=n
 +    RUN_SUBSEQUENT_TESTS=n
    else
      ifneq ($(ON_BUILDD),y)
        RUN_SMOKETEST=n
@@@ -218,7 -224,7 +218,7 @@@
    endif
  else
    RUN_SMOKETEST=n
 -  RUN_SUBSQUENT_TESTS=n
 +  RUN_SUBSEQUENT_TESTS=n
  endif
  # "Unfortunately, running the unoapi tests is still not stable enough to give
  # useful results. Therefore, running subsequenttests has been disabled in the
@@@ -239,19 -245,9 +239,19 @@@ ENABLE_OPENGL=
  SYSTEM_STUFF += openssl
  NEW_DPKG_SHLIBDEPS=y
  ifeq "$(ENABLE_JAVA)" "y"
 -  ENABLE_REPORTDESIGN=y
 +  ifeq (,$(findstring $(ARCH),$(OOO_GCJ_JDK_ARCHS)))
 +    ENABLE_REPORTDESIGN=y
 +    SYSTEM_STUFF += jfreereport
 +  else
 +    ENABLE_REPORTDESIGN=n
 +  endif
    ENABLE_MEDIAWIKI=y
 -  SYSTEM_STUFF += jfreereport apache-commons
 +  SYSTEM_STUFF += apache-commons
 +  # if you change these, add something like disable-rhino.diff and/or remove it as long
 +  # as we have the gcj/ant multiarch braekage. See
 +  # http://lists.debian.org/debian-java/2011/06/msg00108.html and replies
 +  ENABLE_SCRIPT_PROVIDER_BSH=y
 +  ENABLE_SCRIPT_PROVIDER_JS=n
  else
    ENABLE_REPORTDESIGN=n
    ENABLE_MEDIAWIKI=n
@@@ -274,7 -270,7 +274,7 @@@ ifeq "$(BUILD_GTK)" "y
  endif
  PACKAGE_BASE=y
  ENABLE_GRAPHITE=y
 -SYSTEM_STUFF += graphite
 +#SYSTEM_STUFF += graphite
  ALLOC=system
  SYSTEM_STUFF += libtextcat
  USE_SYSTEM_TEXTCAT_DATA=y
@@@ -285,7 -281,7 +285,7 @@@ SYSTEM_STUFF += cppuni
  # otherwise
  INTERNAL_STDLIBS=n
  DEFAULT_IMAGE=galaxy
 -IMAGES:=$(DEFAULT_IMAGE) crystal hicontrast tango oxygen classic
 +IMAGES:=$(DEFAULT_IMAGE) crystal hicontrast tango oxygen
  ENABLE_MYSQLNATIVE=y
  # cannot be disabled, unless you have a internal MySQL somewhere :-)
  SYSTEM_STUFF += mysql mysql-cppconn
@@@ -313,8 -309,7 +313,8 @@@ CONFIGURE_FLAGS= --disable-post-install
  		--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
  		--with-additional-sections="$(ADDITIONAL_SECTIONS)" \
  		--enable-broffice \
 -		--with-extension-integration
 +		--with-extension-integration \
 +		--disable-online-update
  
  ifeq "$(USE_SOURCE_TARBALLS)" "y"
    CONFIGURE_FLAGS += --without-git
@@@ -345,7 -340,7 +345,7 @@@ PLATFORMID := $(shell grep PLATFORMID d
  # ABI-compatability
  OOO_STLPORT_ARCHS= i386
  ifeq "$(ARCH)" "i386"
 -	USE_STLPORT=y
 +	LINK_TO_STLPORT=y
  endif
  
  ifeq "$(ENABLE_OPENGL)" "y"
@@@ -443,9 -438,8 +443,9 @@@ endi
  # Debian Squeeze
  ifeq "$(SQUEEZE_BACKPORT)" "y"
    BUGS=mailto:debian-backports@lists.debian.org
 -  SYSTEM_STUFF := $(filter-out libwpd libwpg libwps mythes libtextcat, $(SYSTEM_STUFF))
 +  SYSTEM_STUFF := $(filter-out libwpd libwpg libwps mythes mdds libtextcat graphite, $(SYSTEM_STUFF))
    JUNIT_MIN_VER=
 +  PARALLEL_BUILD=n
  endif
  
  CONFIGURE_FLAGS += $(foreach i, $(SYSTEM_STUFF),--with-system-$(i))
@@@ -495,9 -489,7 +495,9 @@@ ifneq "$(OOO_OGLTRANS_ARCHS)" "
  	BUILD_DEPS += , libgl1-mesa-dev$(OOO_NO_OGLTRANS_ARCHS), libglu1-mesa-dev$(OOO_NO_OGLTRANS_ARCHS)
  endif
  ifeq "$(ENABLE_OPENGL)" "y"
 -	CONFIGURE_FLAGS += --enable-opengl --with-system-mesa-headers
 +	CONFIGURE_FLAGS += --with-system-mesa-headers
 +else
 +	CONFIGURE_FLAGS += --disable-opengl
  endif
  
  ifneq "$(PACKAGE_SDK)" "y"
@@@ -505,19 -497,22 +505,19 @@@
  endif
  
  ifeq "$(ENABLE_MINIMIZER)" "y"
 -	CONFIGURE_FLAGS += --enable-minimizer
 +	CONFIGURE_FLAGS += --enable-ext-presenter-minimizer
  endif
  ifeq "$(ENABLE_PRESENTER_CONSOLE)" "y"
 -	CONFIGURE_FLAGS += --enable-presenter-console
 +	CONFIGURE_FLAGS += --enable-ext-presenter-console
  endif
  ifeq "$(ENABLE_PDFIMPORT)" "y"
 -	CONFIGURE_FLAGS += --enable-pdfimport
 +	CONFIGURE_FLAGS += --enable-ext-pdfimport
  	BUILD_DEPS += , libpoppler-dev (>= 0.8.0)
  endif
  
  ifeq "$(ENABLE_GRAPHITE)" "y"
    ifneq (,$(filter graphite, $(SYSTEM_STUFF)))
 -	BUILD_DEPS += , libgraphite-dev
 -    ifeq "$(USE_STLPORT)" "y"
 -	ADDITIONAL_SECTIONS += SystemBitsWithSTLport
 -    endif
 +	BUILD_DEPS += , libgraphite2-dev (>= 0.9.3)
    endif
  else
  	CONFIGURE_FLAGS += --disable-graphite
@@@ -552,6 -547,7 +552,6 @@@ ifneq "$(BUILD_DBG_PACKAGE)" "y
  else
    # -g gives a far too big deb (>400M, ca. 1GB I-S)
    ifeq (debug,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 -	# ooo-build defaults to --enable-symbols (without SMALL)
  	SMALL_SYMBOLS = n
    else
  	SMALL_SYMBOLS = y
@@@ -566,11 -562,6 +566,11 @@@ endi
  # Small symbols?
  ifeq "$(SMALL_SYMBOLS)" "y"
  	CONFIGURE_FLAGS += --enable-symbols=SMALL
 +	CFLAGS := $(shell echo $(CFLAGS) | sed -e "s/-g/-g1/")
 +	CXXFLAGS := $(shell echo $(CXXFLAGS) | sed -e "s/-g/-g1/")
 +export CFLAGS CXXFLAGS
 +else
 +	CONFIGURE_FLAGS += --enable-symbols
  endif
  
  ifeq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@@ -621,6 -612,9 +621,6 @@@ ifeq "$(RUN_TESTTOOL)" "y
  endif
  ifneq (,$(filter cppunit, $(SYSTEM_STUFF)))
  	BUILD_DEPS += , libcppunit-dev (>= 1.12)
 -  ifeq "$(USE_STLPORT)" "y"
 -	ADDITIONAL_SECTIONS += SystemBitsWithSTLport
 -  endif
  endif
  ifeq "$(RUN_SUBSEQUENT_TESTS)" "y"
  	BUILD_DEPS += , tcsh
@@@ -645,18 -639,18 +645,18 @@@ ifneq "$(BUILD_ONLY_EN_US)" "y
  	# one to that gid_Module_Root always is english and the other langpacks
  	# have gid_Module_Root.$iso
  	#ISOS=$(shell $(OOO_BUILD_TREE)/bin/openoffice-xlate-lang -i all')
 -	ISOS:=en-US af ar as ast be-BY bg bn br bs ca cs cy da de dz el \
 +	ISOS:=en-US af ar as ast be bg bn br bs ca cs cy da de dz el \
  	  en-GB en-ZA eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja \
 -	  ka km ko ku lt lv mk mn ml mr nb ne nl nn nr ns oc om or \
 +	  ka km ko ku lt lv mk mn ml mr nb ne nl nn nr nso oc om or \
  	  pa-IN pl pt pt-BR ro ru rw si sk sl sr ss st sv \
  	  ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu
  	#HELPISOS:=$(shell $(OOO_BUILD_TREE)/bin/openoffice-xlate-lang -i all') 
  	HELPISOS:=en-US ca cs da de dz el en-GB es et eu fi fr gl hi hu it \
  	  ja km ko nl om pl pt pt-BR ru sk sl sv zh-CN zh-TW
  	#LANGPACKISOS:=$(shell $(OOO_BUILD_TREE)/bin/openoffice-xlate-lang -i all')
 -	LANGPACKISOS:=en-US af ar as ast be-BY bg bn br bs ca cs cy da de dz el \
 +	LANGPACKISOS:=en-US af ar as ast be bg bn br bs ca cs cy da de dz el \
  	  en-GB en-ZA eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja \
 -	  ka km ko ku lt lv mk mn ml mr nb ne nl nn nr ns oc om or \
 +	  ka km ko ku lt lv mk mn ml mr nb ne nl nn nr nso oc om or \
  	  pa-IN pl pt pt-BR ro ru rw si sk sl sr ss st sv \
  	  ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu
    endif
@@@ -701,6 -695,7 +701,6 @@@ ifeq "$(ENABLE_JAVA)" "y
    endif
          TEST_JAVA_HOME=$(JAVA_HOME)
    ifeq "$(BUILD_JARS_NATIVE)" "y"
 -	CONFIGURE_FLAGS += --enable-gcjaot
  	BUILD_DEPS += , gcj-native-helper$(OOO_NO_GCJ_ARCHS), libgcj-common (>= 1:4.4.1)$(OOO_NO_GCJ_ARCHS)
    else
      ifneq "$(OOO_GCJ_JDK_ARCHS)" ""
@@@ -745,14 -740,11 +745,14 @@@ export JAVA_HOM
      ifeq "$(DIST)" "Debian"
  	BUILD_DEPS += , gcc-mingw32$(OOO_NO_JAVA_ARCHS), mingw32-runtime$(OOO_NO_JAVA_ARCHS)
  	CONFIGURE_FLAGS += --enable-build-unowinreg
 -	CONFIGURE_FLAGS += --with-mingwin=i586-mingw32msvc-g++
 +	CONFIGURE_FLAGS += --with-mingw=i586-mingw32msvc-g++
 +	# this normally is done in configure with sed -e s/[cg]++/strip/ but that somehow
 +	# doesn't work. Workaround. FIXME.
 +export MINGWSTRIP = i586-mingw32msvc-strip
      endif
    endif
    ifeq "$(ENABLE_MEDIAWIKI)" "y"
 -	CONFIGURE_FLAGS += --enable-wiki-publisher
 +	CONFIGURE_FLAGS += --enable-ext-wiki-publisher
      ifneq (,$(filter apache-commons, $(SYSTEM_STUFF)))
  	MEDIAWIKI_BUILD_DEPS += , libcommons-codec-java$(OOO_NO_JAVA_ARCHS), libcommons-httpclient-java$(OOO_NO_JAVA_ARCHS), libcommons-lang-java$(OOO_NO_JAVA_ARCHS), libcommons-logging-java$(OOO_NO_JAVA_ARCHS)
  	MEDIAWIKI_JAR_DEPENDS := , libcommons-codec-java, libcommons-httpclient-java, libcommons-lang-java, libcommons-logging-java
@@@ -777,13 -769,13 +777,13 @@@
  	CONFIGURE_FLAGS += --with-system-servlet-api --with-servlet-api-jar=$(shell dpkg -L `dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }'` | grep servlet-api.*\.jar$ | head -n 1)
  	BUILD_DEPS += , $(shell dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }')
      endif
 -	CONFIGURE_FLAGS += --enable-report-builder
 +	CONFIGURE_FLAGS += --enable-ext-report-builder
    endif
  	OOO_OFFICEBEAN_DEP = libreoffice$(VER)-officebean
  	BUILD_DEPS += , javahelper $(JAVAHELPER_MIN_VERSION)
  else
  	CONFIGURE_FLAGS += --without-java
 -	DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-officebean -Nlibreoffice$(VER)-java-common -Nlibreoffice$(VER)-filter-mobiledev -Nlibreoffice$(VER)-gcj
 +	DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-officebean -Nlibreoffice$(VER)-java-common -Nlibreoffice$(VER)-filter-mobiledev -Nlibreoffice$(VER)-gcj -Nlibreoffice$(VER)-script-provider-bsh -Nlibreoffice$(VER)-script-provider-js
  endif
  
  ifneq "$(MOZILLA)" ""
@@@ -863,10 -855,18 +863,10 @@@ ifeq "$(USE_AGG)" "y
  endif
  
  ifneq "$(OOO_STLPORT_ARCHS)" ""
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 +  ifeq "$(LINK_TO_STLPORT)" "y"
  	LIBSTLPORT_MINVER= (>= 4.6.2-3)
  	BUILD_DEPS += , libstlport4.6-dev $(LIBSTLPORT_MINVER) [$(OOO_STLPORT_ARCHS)]
 -	DEV_STL_DEPENDS=, libstlport4.6-dev $(LIBSTLPORT_MINVER) [$(OOO_STLPORT_ARCHS)]
 -   endif
 -endif
 -ifneq "$(USE_STLPORT)" "y"
  	CONFIGURE_FLAGS += --without-stlport
 -else
 -        CONFIGURE_FLAGS += --with-stlport
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 -	CONFIGURE_FLAGS+= --with-stlport=$(CURDIR)/stlport
    endif
  endif
  
@@@ -889,7 -889,7 +889,7 @@@ ifneq (,$(filter boost, $(SYSTEM_STUFF)
  endif
  
  ifneq (,$(filter mdds, $(SYSTEM_STUFF)))
 -	BUILD_DEPS += , libmdds-dev
 +	BUILD_DEPS += , libmdds-dev (>= 0.5.0)
  endif
  
  ifneq (,$(filter vigra, $(SYSTEM_STUFF)))
@@@ -946,7 -946,6 +946,7 @@@ ifeq "$(BUILD_KDE)" "n
  	CONFIGURE_FLAGS+= --with-images="$(IMAGES)"
  else
  	CONFIGURE_FLAGS += --disable-kde
 +	CONFIGURE_FLAGS += --enable-kde4
  	KDE_ICONSET_DEP=libreoffice$(VER)-style-oxygen
  	BUILD_DEPS += , kdelibs5-dev $(KDELIBS_MINVER)
  	BUILD_DEPS += , libqt4-dev $(QT_MINVER)
@@@ -960,7 -959,7 +960,7 @@@
  endif
  
  ifeq "$(ENABLE_MYSQLNATIVE)" "y"
 -	CONFIGURE_FLAGS += --enable-mysql-connector
 +	CONFIGURE_FLAGS += --enable-ext-mysql-connector
    ifneq (,$(filter mysql, $(SYSTEM_STUFF)))
  	BUILD_DEPS += , libmysqlclient-dev
    endif
@@@ -978,7 -977,6 +978,7 @@@ endi
  ifeq "$(ENABLE_EVO2)" "n"
  	CONFIGURE_FLAGS += --disable-evolution2
  else
 +	CONFIGURE_FLAGS += --enable-evolution2
  	BUILD_DEPS += , libebook1.2-dev$(OOO_NO_BASE_ARCHS)
  endif
  
@@@ -1000,15 -998,12 +1000,15 @@@ endi
  ifeq "$(BUILD_BINFILTERS)" "y"
  	CONFIGURE_FLAGS+= --enable-binfilter
  	OOO_BINFILTER_DEP = libreoffice$(VER)-filter-binfilter
 -else
 -	DEBHELPER_OPTIONS+= -Nlibreoffice$(VER)-filter-binfilter
  endif
  
  ifneq "$(BUILD_PYUNO)" "y"
  	DEBHELPER_OPTIONS+= -Npython-uno
 +	CONFIGURE_FLAGS += --disable-python
 +else
 +  ifeq "$(ENABLE_SCRIPT_PROVIDER_PYTHON)" "y"
 +        CONFIGURE_FLAGS += --enable-ext-scripting-python
 +  endif
  endif
  
  ifeq "$(ENABLE_JAVA)" "y"
@@@ -1024,20 -1019,10 +1024,20 @@@
  	BASE_HSQLDB_DEPENDS = libhsqldb-java $(HSQLDB_MINVER), libhsqldb-java (<< $(HSQLDB_TOONEWVER)~)
  	JAVA_GCJ_DEPENDS += , libhsqldb-java-gcj
    endif
 -  ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
 +  ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
 +    ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
  	BUILD_DEPS += , bsh (>= 2.0b4)$(OOO_NO_JAVA_ARCHS)
 -	COMMON_BSH_DEPENDS = bsh (>= 2.0b4)
 +	BSH_DEPENDS = bsh (>= 2.0b4)
  	JAVA_GCJ_DEPENDS += , bsh-gcj
 +    endif
 +	CONFIGURE_FLAGS += --enable-ext-scripting-beanshell
 +  else
 + 	DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-script-provider-bsh
 +  endif
 +  ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
 +	CONFIGURE_FLAGS += --enable-ext-scripting-javascript	
 +  else
 +	DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-script-provider-js
    endif
  endif
  
@@@ -1122,11 -1107,6 +1122,11 @@@ ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y
  	BUILD_DEPS_INDEP += , fontforge
  endif
  
 +ifneq "$(ISOS)" "en-US"
 +	CONFIGURE_FLAGS += --with-system-translate-toolkit
 +	BUILD_DEPS_INDEP += , translate-toolkit
 +endif
 +
  # Use compiler cache?  Include ccache in DEB_BUILD_OPTIONS for much faster rebuild times
  # A complete build uses about 200Mb of compiler cache.
  ifeq (ccache,$(findstring ccache,$(DEB_BUILD_OPTIONS)))
@@@ -1146,8 -1126,6 +1146,8 @@@ ifeq "$(NUM_CPUS)" "
      ifneq ($(AVAIL_CPUS),1)
  	NUM_CPUS := $(shell expr $(AVAIL_CPUS))
      endif
 +	# http://bugs.debian.org/622644
 +	BUILD_DEPS += , make (>= 3.82)
    endif
  else
    ifneq "$(PARALLEL_BUILD)" "y"
@@@ -1159,8 -1137,7 +1159,8 @@@
      endif
    endif
  endif
 -	CONFIGURE_FLAGS += --with-num-cpus=$(NUM_CPUS)
 +# disabled for now. needs fixed GNU make (#622644)
 +#	CONFIGURE_FLAGS += --with-num-cpus=$(NUM_CPUS)
  	# breaks. At least with 2
  #	CONFIGURE_FLAGS += --with-max-jobs=$(NUM_CPUS)
  
@@@ -1302,7 -1279,6 +1302,7 @@@ endi
  
  	rm -f $(OOO_BUILD_TREE)/src/libreoffice-$(OOO_BUILD_TARBAL_VERSION)*
  	rm -f $(OOO_BUILD_TREE)/src/GSI*
 +	rm -f $(OOO_BUILD_TREE)/src/*.log
  
  	for i in ext-sources-$(OOO_BUILD_TREE)/*; do \
  		rm -f $(OOO_BUILD_TREE)/src/`basename $$i`; \
@@@ -1318,11 -1294,6 +1318,11 @@@
  	rm -f $(OOO_BUILD_TREE)/download
  	rm -f $(OOO_BUILD_TREE)/distro-configs/*.conf
  	rm -f $(OOO_BUILD_TREE)/patches/apply.pl
 +	find $(OOO_BUILD_TREE) -name "Makefile" | xargs rm -f
 +	rm -f $(OOO_BUILD_TREE)/intltool-extract \
 +		$(OOO_BUILD_TREE)/intltool-merge \
 +		$(OOO_BUILD_TREE)/intltool-update
 +	rm -f $(OOO_BUILD_TREE)/scratch/place
  
  	# left-over from ooo-pack-sources
  	rm -rf .releases
@@@ -1504,10 -1475,6 +1504,10 @@@ ifeq "$(ENABLE_EVO2)" "y
  	sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
  		>> debian/control < debian/control.evolution.in
  endif
 +ifeq "$(BUILD_BINFILTERS)" "y"
 +	sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
 +		>> debian/control < debian/control.binfilter.in
 +endif
  ifeq "$(ENABLE_KDEAB)" "y"
  	sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
  		>> debian/control < debian/control.kab.in
@@@ -1550,6 -1517,11 +1550,6 @@@ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF
  	perl -pi -e "s/(Build-Conflicts: .*)/\1, libhsqldb-java (>= $(HSQLDB_TOONEWVER)~)/" debian/control
  endif
  
 -ifneq "$(USE_SYSTEM_STLPORT)" "y"
 -	# at least here it crashes the build in some funny way.
 -	perl -pi -e "s/(Build-Conflicts: .*)/\1, libstlport4.6-dev/" debian/control
 -endif
 -
  ifeq (4.4,$(SYSTEM_GCC_VERSION))
  	perl -pi -e 's/flex \|/flex (>= 2.5.25-7) |/' debian/control
  endif
@@@ -1643,6 -1615,17 +1643,6 @@@ ifneq ($(GCC_VERSION),
    endif
  endif
  
 -ifeq "$(USE_STLPORT)" "y"
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 -	# stlport home
 -	if [ ! -d stlport ]; then \
 -		mkdir -p stlport; \
 -		ln -sf /usr/include/stlport stlport/stlport; \
 -		ln -sf /usr/lib stlport/lib; \
 -	fi
 -  endif
 -endif
 -
  ifneq "$(BUILD_ONLY_EN_US)" "y"
    ifneq "$(LANGPACKISOS)" "en-US"
  	# copy and extract extra GSIs 
@@@ -1719,9 -1702,9 +1719,9 @@@ ifeq "$(BUILD_KDE)" "n
  endif
  
  ifeq ($(ON_BUILDD),y)
 -	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE)
 +	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) build
  else
 -	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 VERBOSE=true ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE)
 +	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 VERBOSE=true ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) build
  endif
  
  	# apparently setting this here globally doesn't work, so hack around.
@@@ -1808,18 -1791,10 +1808,18 @@@ $(STAMP_DIR)/install: $(STAMP_DIR)/buil
  	# somehow in the installer LD_LIBRARY_PATH doesn't contain
  	# /usr/lib/libfakeroot anymore, causiong loads of ERROR:'s from
  	# ld.so. Set LD_PRELOAD to the full path here manually.
 -	cd $(OOO_BUILD_TREE)/; PATH=$(BUILD_PATH) \
 +	cd $(SOURCE_TREE)/; \
 +		 . $(CURDIR)/$(SOURCE_TREE)/*Env*.sh; \
 +		 PATH=$(BUILD_PATH) \
  		 LD_LIBRARY_PATH="/usr/lib/libfakeroot:$(BUILD_LD_LIBRARY_PATH)" \
  		 LD_PRELOAD=/usr/lib/libfakeroot/libfakeroot-$(shell update-alternatives --query fakeroot | grep Value: | cut -d"-" -f2).so \
 -		 DESTDIR=$(CURDIR)/debian/tmp $(MAKE) install
 +		 DESTDIR=$(CURDIR)/debian/tmp \
 +		 solenv/bin/ooinstall /$(OOBRANDDIR)
 +	# FIXME: Move here so that we don't rely on libreoffice-build here.
 +	# Would also obsolete disable-ooinstall-in-package-ooo.diff
 +	cd $(OOO_BUILD_TREE)/bin; \
 +		export OODESTDIR=$(CURDIR)/debian/tmp; \
 +		./package-ooo
  
  	# prepare install/dir files for dh
  	for i in `cd $(CURDIR)/debian/tmp/pkg; ls -1 | xargs`; do \
@@@ -1902,6 -1877,9 +1902,6 @@@ ifeq (sk,$(findstring sk,$(HELPISOS))
  		$(PKGDIR)-help-sk/$(shell echo $(OOBASISDIR) | sed -e s/lib/share/)/help/sk
  endif
  
 -	# add registered-components dir
 -	mkdir -p $(PKGDIR)-core/$(OOBASISDIR)/registered-components
 -
  ifeq "$(ENABLE_JAVA)" "y"
  	# move officebean.jar into -officebean (They will be moved out of -core
  	# in the install-arch target). Do the /usr/share move here already
@@@ -1961,7 -1939,7 +1961,7 @@@ endi
  	rm -f $(PKGDIR)-common/$(OODIR)/program/.testtoolrc
  
  ifeq "$(BUILD_GTK)" "y"
 -	# Gtk quickstarter for the eggtrtray stuff, so to -gtk (via -gnome)
 +	# Gtk quickstarter, so to -gtk (via -gnome)
  	mkdir -p -m755 $(PKGDIR)-gnome/$(OOBRANDDIR)/share/xdg
  	mv $(PKGDIR)-common/$(OOBRANDDIR)/share/xdg/qstart.desktop \
  		$(PKGDIR)-gnome/$(OOBRANDDIR)/share/xdg
@@@ -1971,17 -1949,17 +1971,17 @@@
  		$(PKGDIR)-gnome/$(OODIR)/share/registry
  endif
  
 -ifeq "$(PACKAGE_SDK)" "y"
 -	# move gengal stuff into -dev
 -	mkdir -p $(PKGDIR)-dev/$(OODIR)/program
 -	mv $(PKGDIR)-core/$(OODIR)/program/gengal* \
 -		$(PKGDIR)-dev/$(OODIR)/program
 -	mv $(PKGDIR)-common/$(OODIR)/program/gengal  \
 -		$(PKGDIR)-dev/$(OODIR)/program
 -else
 -	rm -f $(PKGDIR)-core/$(OODIR)/program/gengal*
 -	rm -f $(PKGDIR)-common/$(OODIR)/program/gengal
 -endif
 +#ifeq "$(PACKAGE_SDK)" "y"
 +#	# move gengal stuff into -dev
 +#	mkdir -p $(PKGDIR)-dev/$(OODIR)/program
 +#	mv $(PKGDIR)-core/$(OODIR)/program/gengal* \
 +#		$(PKGDIR)-dev/$(OODIR)/program
 +#	mv $(PKGDIR)-common/$(OODIR)/program/gengal  \
 +#		$(PKGDIR)-dev/$(OODIR)/program
 +#else
 +#	rm -f $(PKGDIR)-core/$(OODIR)/program/gengal*
 +#	rm -f $(PKGDIR)-common/$(OODIR)/program/gengal
 +#endif
  
  ifeq "$(PACKAGE_SDK)" "y"
  	# move SDK documentation into own package
@@@ -2037,8 -2015,7 +2037,8 @@@ $(STAMP_DIR)/maintscripts: $(wildcard d
  	      echo "" >> $$MAINTSCRIPT; \
  	      if egrep -q "(add|remove|validate|sync)_extension" $$MAINTSCRIPT.in; then \
  		 cat debian/shell-lib-extensions.sh >> $$MAINTSCRIPT; \
 -	      elif grep -q services_rdb $$MAINTSCRIPT.in; then \
 +	      fi; \
 +	      if grep -q services_rdb $$MAINTSCRIPT.in; then \
  		 cat debian/shell-lib-components.sh >> $$MAINTSCRIPT; \
  	      fi; \
  	      sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >> $$MAINTSCRIPT; \
@@@ -2185,6 -2162,32 +2185,6 @@@ $(STAMP_DIR)/install-arch: $(STAMP_DIR)
  	dh_testroot
  	umask 022
  
 -ifeq "$(ENABLE_EVO2)" "y"
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libevoab$(LIBSUFFIX).so'
 -endif
 -ifeq "$(ENABLE_KDEAB)" "y"
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libkab1.so'
 -endif
 -ifeq "$(BUILD_BINFILTERS)" "y"
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libbf_migratefilter$(LIBSUFFIX).so'
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libbindet$(LIBSUFFIX).so'
 -endif
 -
 -	# the regcomps above fail after done once, force install again
 -	rm -f $(STAMP_DIR)/install
 -
  	# move the URE to /usr/lib/ure
  	mv debian/ure/$(OOBRANDDIR)/ure debian/ure/usr/lib
  	rmdir debian/ure/$(OOBRANDDIR)
@@@ -2255,9 -2258,6 +2255,9 @@@ ifeq "$(ENABLE_KDEAB)" "y
  	for f in libkab*so; do \
  	  mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-kab/$(OODIR)/program || exit 1 ;\
  	done
 +        mkdir -p $(PKGDIR)-kab/$(OODIR)/registered-components
 +        install -m644 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/xml/kab1.component \
 +                $(PKGDIR)-kab/$(OODIR)/registered-components/kab1.component
  endif
  
  	# move the GNOME stuff which are *not* in gid_Module_Optional_Gnome
@@@ -2268,7 -2268,9 +2268,7 @@@ ifeq "$(BUILD_GTK)" "y
  	for f in fps_gnome.uno.so libvclplug_gtk*.so; do \
  	  mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-gnome/$(OODIR)/program || exit 1;\
  	done
 -	for f in libeggtray* libqstart_gtk*; do \
 -	  mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-gnome/$(OODIR)/program || exit 1;\
 -	done
 +	mv $(PKGDIR)-core/$(OODIR)/program/libqstart_gtk* $(PKGDIR)-gnome/$(OODIR)/program || exit 1
  endif
  
  	# split out gtk stuff
@@@ -2296,17 -2298,6 +2296,17 @@@ endi
  ifeq "$(ENABLE_EVO2)" "y"
  	mkdir -p -m755 $(PKGDIR)-evolution/$(OODIR)/program
  	mv $(PKGDIR)-core/$(OODIR)/program/libevoab*.so $(PKGDIR)-evolution/$(OODIR)/program
 +	mkdir -p $(PKGDIR)-evolution/$(OODIR)/registered-components
 +	install -m644 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/xml/evoab.component \
 +		$(PKGDIR)-evolution/$(OODIR)/registered-components/evoab.component
 +endif
 +
 +ifeq "$(BUILD_BINFILTERS)" "y"
 +	mkdir -p $(PKGDIR)-filter-binfilter/$(OODIR)/registered-components
 +	for i in bf_migratefilter bindet; do \
 +		install -m644 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/xml/$$i.component \
 +                $(PKGDIR)-filter-binfilter/$(OODIR)/registered-components/$$i.component; \
 +	done
  endif
  
  ifeq "$(PACKAGE_NPSOPLUGIN)" "y"
@@@ -2362,10 -2353,10 +2362,10 @@@ endi
  		$(PKGDIR)-base/$(OODIR)/program; \
  
  	# linked (amongst others) to libsc*
 -	mv $(PKGDIR)-core/$(OODIR)/program/libvbaobj*uno.so \
 +	mv $(PKGDIR)-core/$(OODIR)/program/vbaobj*uno.so \
  			$(PKGDIR)-calc/$(OODIR)/program
  	# linked (amongst others) to libsw*
 -	mv $(PKGDIR)-core/$(OODIR)/program/libvbaswobj*uno.so \
 +	mv $(PKGDIR)-core/$(OODIR)/program/vbaswobj*uno.so \
  			$(PKGDIR)-writer/$(OODIR)/program
  
  ifeq "$(ENABLE_JAVA)" "y"
@@@ -2477,12 -2468,6 +2477,12 @@@ ifeq "$(BUILD_PYUNO)" "y
  	  echo 'PYTHONPATH=$$PYTHONHOME $$PYTHONHOME/site-packages $$PYTHONHOME/lib-dynload $$PYTHONHOME/lib-tk $$ORIGIN' \
  	) > debian/python-uno/$(OODIR)/program/pythonloader.unorc
  	chmod u-w debian/python-uno/$(OODIR)/program/pythonloader.unorc
 +  ifeq "$(ENABLE_SCRIPT_PROVIDER_PYTHON)" "y"
 +	mkdir -p debian/python-uno/$(OOBRANDDIR)/share/extensions
 +	mv debian/tmp/$(OOBRANDDIR)/share/extensions/script-provider-for-python \
 +		debian/python-uno/$(OOBRANDDIR)/share/extensions
 +	rm -f $debian/python-uno/$(OOBRANDDIR)/share/extensions/script-provider-for-python/registration/LICENSE
 +  endif
  
  	mkdir -p debian/python-uno/usr/share/doc/python-uno
  	cp -r $(SOURCE_TREE)/pyuno/demo \
@@@ -2499,6 -2484,8 +2499,6 @@@ ifeq "$(ENABLE_MONO)" "y
  	mkdir -p -m755 debian/cli-uno-bridge/$(OOUREDIR)/lib
  	mv $(PKGDIR)-core/$(OOBRANDDIR)/ure/lib/cli_uno_bridge.dll \
  		debian/cli-uno-bridge/$(OOUREDIR)/lib
 -	mv $(PKGDIR)-core/$(OOBRANDDIR)/ure/lib/cli_uno_bridge.dll.config \
 -		debian/cli-uno-bridge/$(OOUREDIR)/lib
  	mv $(PKGDIR)-core/$(OOBRANDDIR)/ure/lib/mono_loader*.uno.so \
  		debian/cli-uno-bridge/$(OOUREDIR)/lib
  
@@@ -2515,6 -2502,12 +2515,6 @@@ endi
  	rm -rf $(PKGDIR)-core/$(OOBRANDDIR)/ure
  
  ifeq "$(PACKAGE_SDK)" "y"
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 -	# when we use external stlport, we just can and should do a symlink
 -	# for the SDK includes
 -	cd $(PKGDIR)-dev/usr/include/$(OODIRNAME) && \
 -		rm -rf stl && ln -s /usr/include/stlport stl
 -  endif
    ifeq "$(ENABLE_JAVA)" "y"
  	# move SDK Java stuff into /usr/share/java
  	rm -f $(PKGDIR)-dev/$(OOSDKDIR)/classes
@@@ -2557,7 -2550,6 +2557,7 @@@
  		rm docs
  
  	# install gsicheck into -dev
 +	mkdir -p $(PKGDIR)-dev/$(OODIR)/program
  	install -m755 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/bin/gsicheck \
  		$(PKGDIR)-dev/$(OODIR)/program/gsicheck.bin
  	( \
@@@ -2585,10 -2577,12 +2585,10 @@@ ifeq "$(INTERNAL_STDLIBS)" "y
  	echo "libstdc++	$$LIBSTDCPP_SOVER" > debian/shlibs.override.stdlibs; \
  	echo "libgcc_s	$$LIBGCC_SOVER" >> debian/shlibs.override.stdlibs
  endif
 -ifeq "$(USE_STLPORT)" "y"
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 +ifeq "$(LINK_TO_STLPORT)" "y"
  	rm -f debian/ure/$(OOUREDIR)/lib/libstlport*
  	ln -s `readlink -f /usr/lib/libstlport_gcc.so` \
  		debian/ure/$(OOUREDIR)/lib/libstlport_gcc.so
 -  endif
  endif
  
  ifeq "$(ENABLE_JAVA)" "y"
@@@ -2688,12 -2682,10 +2688,12 @@@ ifeq "$(ENABLE_PDFIMPORT)" "y
  	rm -f $(PKGDIR)-pdfimport/$(OOBRANDDIR)/share/extensions/pdfimport/registration/LICENSE
  endif
  
 -	# move services.rdb to /var/lib/openoffice
 -	mkdir -p $(PKGDIR)-core/var/lib/$(OODIRNAME)/basis$(OOVER)/program
 +	# move "default" services.rdb to a hidden file
  	mv $(PKGDIR)-core/usr/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb \
 -		$(PKGDIR)-core/var/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb
 +		$(PKGDIR)-core/usr/lib/$(OODIRNAME)/basis$(OOVER)/program/.services.rdb
 +	# create dir for services.rdb which is read. like when we merged
 + 	# additional/optional components
 +	mkdir -p $(PKGDIR)-core/var/lib/$(OODIRNAME)/basis$(OOVER)/program
  	ln -s /var/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb \
  		$(PKGDIR)-core/usr/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb
  
@@@ -2852,7 -2844,7 +2852,7 @@@ ifeq "$(USE_OOO_BUILD_DESKTOPS)" "n
  	# menu files from sysui
  	dirname="`cd $(SOURCE_TREE)/sysui/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$OUTPATH$$PROEXT)/misc/desktopshare >/dev/null; pwd`" ;\
  	mkdir -p -m755 $(PKGDIR)-filter-mobiledev/usr/share/applications ;\
 -	sed -e 's,Exec=ooffice \(.*\) %U,Exec=libreoffice$(VER) \1 %U,' \
 +	sed -e 's,Exec=$${UNIXBASISROOTNAME} \(.*\) %U,Exec=libreoffice$(VER) \1 %U,' \
  		-e 's,Icon=$${WITHOUTDOTUNIXPRODUCTNAME},Icon=libreoffice,' \
  	   	-e 's,Name=$${PRODUCTNAME} $${PRODUCTVERSION},Name=LibreOffice $(VER),' \
  	   	-e 's,Name\[pt_BR\]=$${PRODUCTNAME_BR} $${PRODUCTVERSION},Name[pt_BR]=BrOffice $(VER),' \
@@@ -2915,10 -2907,15 +2915,10 @@@ endi
  	  for x in *.png; do convert $$x `basename $$x .png`.xpm; done
  
  ifeq "$(ENABLE_JAVA)" "y"
 -	# symlink jars we use externally
    ifneq (,$(filter saxon, $(SYSTEM_STUFF)))
  	ln -sf /usr/share/java/saxonb.jar \
  		$(PKGDIR)-java-common/$(OODIR)/program/classes/saxon9.jar
    endif
 -  ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
 -	ln -sf /usr/share/java/bsh.jar \
 -	        $(PKGDIR)-java-common/$(OODIR)/program/classes/bsh.jar
 -  endif
  endif
  	# remove extra license files
  	rm -rf $(PKGDIR)-common/$(OOBRANDDIR)/licenses
@@@ -3003,6 -3000,7 +3003,6 @@@ endi
  	for i in $(IMAGES); do \
  		z=images_$$i.zip; p=$$i; \
  		case "$$i" in $(DEFAULT_IMAGE)) z=images.zip; esac; \
 -		case "$$i" in classic) p=andromeda; esac; \
  		mkdir -p $(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config; \
  		mv $(PKGDIR)-common/$(OODIR)/share/config/$$z \
  			$(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/; \
@@@ -3045,33 -3043,6 +3045,33 @@@ ifeq "$(PACKAGE_SDK)" "y
  		ln -s /$(OOSDKDIR)/index.html index.html
  endif
  
 +ifeq "$(ENABLE_JAVA)" "y"
 +  ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
 +	rm -rf $(PKGDIR)-script-provider-bsh
 +	mkdir -p $(PKGDIR)-script-provider-bsh/$(OOBRANDDIR)/share/extensions
 +	mv debian/tmp/$(OOBRANDDIR)/share/extensions/script-provider-for-beanshell \
 +		$(PKGDIR)-script-provider-bsh/$(OOBRANDDIR)/share/extensions
 +	rm -f $(PKGDIR)-script-provider-bsh/$(OOBRANDDIR)/share/extensions/script-provider-for-beanshell/registration/LICENSE
 +    ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
 +	ln -sf /usr/share/java/bsh.jar \
 +	        $(PKGDIR)-script-provider-bsh/$(OOBRANDDIR)/share/extensions/script-provider-for-beanshell/bsh.jar
 +    endif
 +	mkdir -p $(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
 +	mv $(PKGDIR)-common/$(OODIR)/share/Scripts/beanshell \
 +		$(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
 +  endif
 +
 +  ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
 +	rm -rf $(PKGDIR)-script-provider-js
 +	mkdir -p $(PKGDIR)-script-provider-js/$(OOBRANDDIR)/share/extensions
 +	mv debian/tmp/$(OOBRANDDIR)/share/extensions/script-provider-for-javascript \
 +		$(PKGDIR)-script-provider-js/$(OOBRANDDIR)/share/extensions
 +	mkdir -p $(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
 +	mv $(PKGDIR)-common/$(OODIR)/share/Scripts/javascript \
 +		$(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
 +  endif
 +endif
 +
  ifeq "$(ENABLE_REPORTDESIGN)" "y"
    ifeq "$(ENABLE_JAVA)" "y"
  	rm -rf $(PKGDIR)-report-builder
@@@ -3138,13 -3109,16 +3138,13 @@@ ifeq "$(USE_OOO_BUILD_DESKTOPS)" "n
  	    -e 's/  / /' \
  	    < $$dirname/extension.desktop \
  	    > $(PKGDIR)-common/usr/share/mimelnk/application/vnd.openofficeorg.extension.desktop || exit 1
  	perl -pi -e "s/Icon=openofficeorg.*-extension/Icon=application-vnd.openofficeorg.extension.png/" $(PKGDIR)-common/usr/share/mimelnk/application/vnd.openofficeorg.extension.desktop
  endif
  
 -	# fix permission
 -	chmod 644 $(PKGDIR)-common/$(OODIR)/program/gengalrc
 +#ifeq "$(PACKAGE_SDK)" "y"
 +#	# fix permission
 +#	chmod 644 $(PKGDIR)-common/$(OODIR)/program/gengalrc
 +#endif
  
  	# install extension shell lib for use by extensions not from here
  	install -D -m644 debian/shell-lib-extensions.sh \
@@@ -3251,8 -3225,8 +3251,8 @@@ ifeq "$(ENABLE_MONO)" "y
  	dh_installcligac -s
  endif
  	dh_compress -s -X.py -X.mk -X.sxd
 -	dh_makeshlibs -puno-libs3 -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -c0 -v$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
 -	dh_makeshlibs -n -pure -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -v$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
 +	dh_makeshlibs -puno-libs3 -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -c0 -v`echo $(BINARY_VERSION) | cut -d: -f2`
 +	dh_makeshlibs -n -pure -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -v`echo $(BINARY_VERSION) | cut -d: -f2`
  	# ugly hack, but why does that happen? It's not in .symbols...
  	TMP=`mktemp -q`; \
  	grep -v PRIVATE debian/uno-libs3/DEBIAN/symbols > $$TMP && \
@@@ -3294,9 -3268,6 +3294,9 @@@ ifeq "$(ENABLE_JAVA)" "y
  			-ldebian/uno-libs3/$(OOUREDIR)/lib:debian/ure/$(OOUREDIR)/lib:$(PKGDIR)-core/$(OODIR)/program:$(GCJ_JAWT_DIR) \
  			$(SHLIBS_OVERRIDE)
  endif
 +ifeq "$(LINK_TO_STLPORT)" "y"
 +	perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/libstlport4.6*.shlibs | awk '{ print $$3,$$4,$$5 }')/' debian/ure.substvars
 +endif
  ifeq "$(ENABLE_MONO)" "y"
  	dh_makeclilibs -s
  	dh_clideps -s
@@@ -3322,9 -3293,10 +3322,9 @@@ endi
  		-Nlibreoffice$(VER)-pdfimport \
  		-Nlibreoffice$(VER)-sdbc-postgresql \
  		-Nlibreoffice$(VER)-mysql-connector -- \
 -		-V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`" \
 +		-V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')" \
  		-V'base-version=$(BASE_VERSION)' \
  		-V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
 -		-V'dev-stl-depends=$(DEV_STL_DEPENDS)' \
  		-V'base-hsqldb-depends=$(BASE_HSQLDB_DEPENDS)' \
  		-V'java-common-depends=$(JAVA_COMMON_DEPENDS) $(JAVA_COMMON_DEPENDS_VERSION)' \
  		-V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
@@@ -3370,9 -3342,9 +3370,9 @@@ ifeq "$(PACKAGE_BASE)" "y
  endif
  endif
  	dh_gencontrol -pure -pure-dbg -puno-libs3 -puno-libs3-dbg -- \
 -		-V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`" \
 -		-v$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
 -	dh_md5sums -s -X$(shell echo $(OOBASISDIR) | sed -e s/usr/var/)/program/services.rdb
 +		-V"ure:Version=`echo $(BINARY_VERSION) | cut -d: -f2`" \
 +		-v"`echo $(BINARY_VERSION) | cut -d: -f2`"
 +	dh_md5sums -s
  	dh_builddeb -s $(DEBHELPER_OPTIONS) $(BUILDDEB_OPTIONS)
  
  	touch $@
@@@ -3459,7 -3431,7 +3459,7 @@@ endi
  ifeq "$(ENABLE_JAVA)" "y"
  	# the help recommends lucene. this is enough. no need for a hard depend in
          # -common, IMHO
 -	jh_depends -i -Xbsh -Xlibreoffice$(VER)-gcj -Xlibreoffice$(VER)-dbg -Xliblucene2-java
 +	jh_depends -i -Xlibreoffice$(VER)-gcj -Xlibreoffice$(VER)-dbg -Xliblucene2-java
  endif
  	dh_gencontrol -i $(DEBHELPER_OPTIONS) \
  		-Nlibreoffice$(VER)-report-builder \
@@@ -3475,7 -3447,7 +3475,7 @@@
  		-V'basis-version=$(BASIS_VERSION)' \
  		-V'next-basis-version=$(NEXT_BASIS_VERSION)' \
  		-V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
 -		-V'common-bsh-depends=$(COMMON_BSH_DEPENDS)' \
 +		-V'bsh-depends=$(BSH_DEPENDS)' \
  		-V'java-common-depends=$(JAVA_COMMON_DEPENDS)' \
  		-V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
  		-V'lucene-depends=$(LUCENE_DEPENDS)' \

-- 
LibreOffice packaging repository


Reply to: