Import libreoffice_5.2.7-1+rpi1+deb9u2.debian.tar.xz
authorRaspbian forward porter <root@raspbian.org>
Thu, 15 Feb 2018 00:33:12 +0000 (00:33 +0000)
committerRaspbian forward porter <root@raspbian.org>
Thu, 15 Feb 2018 00:33:12 +0000 (00:33 +0000)
[dgit import tarball libreoffice 1:5.2.7-1+rpi1+deb9u2 libreoffice_5.2.7-1+rpi1+deb9u2.debian.tar.xz]

378 files changed:
debian/README [new file with mode: 0644]
debian/README.Debian [new file with mode: 0644]
debian/README.Debian-source [new file with mode: 0644]
debian/README.qa [new file with mode: 0644]
debian/branding/progress.conf [new file with mode: 0644]
debian/bug-presubj [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/control.debug.in [new file with mode: 0644]
debian/control.evolution.in [new file with mode: 0644]
debian/control.firebird.in [new file with mode: 0644]
debian/control.fonts.in [new file with mode: 0644]
debian/control.gcj.in [new file with mode: 0644]
debian/control.gtk2.in [new file with mode: 0644]
debian/control.gtk3.in [new file with mode: 0644]
debian/control.help.in [new file with mode: 0644]
debian/control.in [new file with mode: 0644]
debian/control.kde.in [new file with mode: 0644]
debian/control.lang.in [new file with mode: 0644]
debian/control.librelogo.in [new file with mode: 0644]
debian/control.lokit.in [new file with mode: 0644]
debian/control.mediawiki.in [new file with mode: 0644]
debian/control.mysql.in [new file with mode: 0644]
debian/control.nlpsolver.in [new file with mode: 0644]
debian/control.ogltrans.in [new file with mode: 0644]
debian/control.postgresql.in [new file with mode: 0644]
debian/control.reportdesign.in [new file with mode: 0644]
debian/control.sdk.in [new file with mode: 0644]
debian/control.subsequentcheckbase.in [new file with mode: 0644]
debian/control.systray.in [new file with mode: 0644]
debian/control.transitionals.in [new file with mode: 0644]
debian/control.ure.in [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/liblibreofficekitgtk.links [new file with mode: 0644]
debian/libreoffice-avmedia-backend-gstreamer.maintscript [new file with mode: 0644]
debian/libreoffice-avmedia-backend-vlc.maintscript [new file with mode: 0644]
debian/libreoffice-base-core.maintscript [new file with mode: 0644]
debian/libreoffice-base-drivers.maintscript [new file with mode: 0644]
debian/libreoffice-base.NEWS [new file with mode: 0644]
debian/libreoffice-base.bug-control [new file with mode: 0644]
debian/libreoffice-base.lintian-overrides [new file with mode: 0644]
debian/libreoffice-base.maintscript [new file with mode: 0644]
debian/libreoffice-base.manpages [new file with mode: 0644]
debian/libreoffice-base.mime [new file with mode: 0644]
debian/libreoffice-base.postrm.in [new file with mode: 0644]
debian/libreoffice-base.preinst.in [new file with mode: 0644]
debian/libreoffice-calc.bug-control [new file with mode: 0644]
debian/libreoffice-calc.lintian-overrides [new file with mode: 0644]
debian/libreoffice-calc.maintscript [new file with mode: 0644]
debian/libreoffice-calc.manpages [new file with mode: 0644]
debian/libreoffice-calc.mime [new file with mode: 0644]
debian/libreoffice-common.bug-control [new file with mode: 0644]
debian/libreoffice-common.links.in [new file with mode: 0644]
debian/libreoffice-common.maintscript [new file with mode: 0644]
debian/libreoffice-common.manpages [new file with mode: 0644]
debian/libreoffice-common.postinst.in [new file with mode: 0644]
debian/libreoffice-common.postrm.in [new file with mode: 0644]
debian/libreoffice-common.triggers.in [new file with mode: 0644]
debian/libreoffice-core.bug-control [new file with mode: 0644]
debian/libreoffice-core.bug-script.in [new file with mode: 0755]
debian/libreoffice-core.postrm.in [new file with mode: 0755]
debian/libreoffice-dbg.maintscript [new file with mode: 0644]
debian/libreoffice-dbg.postinst.debhelper [new file with mode: 0644]
debian/libreoffice-dbg.postrm.debhelper [new file with mode: 0644]
debian/libreoffice-dbg.preinst.debhelper [new file with mode: 0644]
debian/libreoffice-dbg.prerm.debhelper [new file with mode: 0644]
debian/libreoffice-dbg.substvars [new file with mode: 0644]
debian/libreoffice-dev-doc.links [new file with mode: 0644]
debian/libreoffice-dev.lintian-overrides [new file with mode: 0644]
debian/libreoffice-dev.maintscript [new file with mode: 0644]
debian/libreoffice-draw.bug-control [new file with mode: 0644]
debian/libreoffice-draw.lintian-overrides [new file with mode: 0644]
debian/libreoffice-draw.maintscript [new file with mode: 0644]
debian/libreoffice-draw.manpages [new file with mode: 0644]
debian/libreoffice-draw.mime [new file with mode: 0644]
debian/libreoffice-evolution.bug-control [new file with mode: 0644]
debian/libreoffice-evolution.maintscript [new file with mode: 0644]
debian/libreoffice-gcj.bug-control [new file with mode: 0644]
debian/libreoffice-gnome.maintscript [new file with mode: 0644]
debian/libreoffice-gtk.maintscript [new file with mode: 0644]
debian/libreoffice-gtk2.lintian-overrides [new file with mode: 0644]
debian/libreoffice-gtk3.maintscript [new file with mode: 0644]
debian/libreoffice-help-ca.maintscript [new file with mode: 0644]
debian/libreoffice-help-cs.maintscript [new file with mode: 0644]
debian/libreoffice-help-da.maintscript [new file with mode: 0644]
debian/libreoffice-help-de.maintscript [new file with mode: 0644]
debian/libreoffice-help-dz.maintscript [new file with mode: 0644]
debian/libreoffice-help-el.maintscript [new file with mode: 0644]
debian/libreoffice-help-en-gb.maintscript [new file with mode: 0644]
debian/libreoffice-help-en-us.maintscript [new file with mode: 0644]
debian/libreoffice-help-es.maintscript [new file with mode: 0644]
debian/libreoffice-help-et.maintscript [new file with mode: 0644]
debian/libreoffice-help-eu.maintscript [new file with mode: 0644]
debian/libreoffice-help-fi.maintscript [new file with mode: 0644]
debian/libreoffice-help-fr.maintscript [new file with mode: 0644]
debian/libreoffice-help-gl.maintscript [new file with mode: 0644]
debian/libreoffice-help-hi.maintscript [new file with mode: 0644]
debian/libreoffice-help-hu.maintscript [new file with mode: 0644]
debian/libreoffice-help-it.maintscript [new file with mode: 0644]
debian/libreoffice-help-ja.maintscript [new file with mode: 0644]
debian/libreoffice-help-km.maintscript [new file with mode: 0644]
debian/libreoffice-help-ko.maintscript [new file with mode: 0644]
debian/libreoffice-help-nl.maintscript [new file with mode: 0644]
debian/libreoffice-help-om.maintscript [new file with mode: 0644]
debian/libreoffice-help-pl.maintscript [new file with mode: 0644]
debian/libreoffice-help-pt-br.maintscript [new file with mode: 0644]
debian/libreoffice-help-pt.maintscript [new file with mode: 0644]
debian/libreoffice-help-ru.maintscript [new file with mode: 0644]
debian/libreoffice-help-sk.maintscript [new file with mode: 0644]
debian/libreoffice-help-sl.maintscript [new file with mode: 0644]
debian/libreoffice-help-sv.maintscript [new file with mode: 0644]
debian/libreoffice-help-tr.maintscript [new file with mode: 0644]
debian/libreoffice-help-vi.maintscript [new file with mode: 0644]
debian/libreoffice-help-zh-cn.maintscript [new file with mode: 0644]
debian/libreoffice-help-zh-tw.maintscript [new file with mode: 0644]
debian/libreoffice-impress.bug-control [new file with mode: 0644]
debian/libreoffice-impress.lintian-overrides [new file with mode: 0644]
debian/libreoffice-impress.maintscript [new file with mode: 0644]
debian/libreoffice-impress.manpages [new file with mode: 0644]
debian/libreoffice-impress.mime [new file with mode: 0644]
debian/libreoffice-java-common.maintscript [new file with mode: 0644]
debian/libreoffice-java-common.poms [new file with mode: 0644]
debian/libreoffice-kde.NEWS [new file with mode: 0644]
debian/libreoffice-kde.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-af.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ar.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-as.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ast.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-be.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-bg.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-bn.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-br.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-bs.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ca.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-cs.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-cy.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-da.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-de.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-dz.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-el.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-en-gb.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-en-za.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-eo.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-es.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-et.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-eu.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-fa.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-fi.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-fr.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ga.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-gd.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-gl.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-gu.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-he.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-hi.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-hr.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-hu.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-id.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-in.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-is.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-it.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ja.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ka.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-kk.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-km.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-kmr.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ko.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-lt.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-lv.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-mk.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ml.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-mn.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-mr.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-nb.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ne.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-nl.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-nn.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-nr.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-nso.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-oc.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-om.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-or.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-pa-in.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-pl.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-pt-br.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-pt.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ro.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ru.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-rw.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-si.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-sk.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-sl.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-sr.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ss.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-st.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-sv.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ta.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-te.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-tg.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-th.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-tn.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-tr.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ts.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ug.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-uk.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-uz.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-ve.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-vi.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-xh.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-za.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-zh-cn.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-zh-tw.maintscript [new file with mode: 0644]
debian/libreoffice-l10n-zu.maintscript [new file with mode: 0644]
debian/libreoffice-math.bug-control [new file with mode: 0644]
debian/libreoffice-math.lintian-overrides [new file with mode: 0644]
debian/libreoffice-math.maintscript [new file with mode: 0644]
debian/libreoffice-math.manpages [new file with mode: 0644]
debian/libreoffice-math.mime [new file with mode: 0644]
debian/libreoffice-mysql-connector.bug-script.in [new file with mode: 0755]
debian/libreoffice-mysql-connector.triggers.in [new file with mode: 0644]
debian/libreoffice-officebean.bug-control [new file with mode: 0644]
debian/libreoffice-officebean.maintscript [new file with mode: 0644]
debian/libreoffice-officebean.poms [new file with mode: 0644]
debian/libreoffice-ogltrans.bug-control [new file with mode: 0644]
debian/libreoffice-ogltrans.maintscript [new file with mode: 0644]
debian/libreoffice-pdfimport.maintscript [new file with mode: 0644]
debian/libreoffice-report-builder-bin.maintscript [new file with mode: 0644]
debian/libreoffice-report-builder.bug-control [new file with mode: 0644]
debian/libreoffice-report-builder.maintscript [new file with mode: 0644]
debian/libreoffice-script-provider-bsh.maintscript [new file with mode: 0644]
debian/libreoffice-script-provider-js.maintscript [new file with mode: 0644]
debian/libreoffice-script-provider-python.bug-control [new file with mode: 0644]
debian/libreoffice-script-provider-python.maintscript [new file with mode: 0644]
debian/libreoffice-sdbc-firebird.bug-script.in [new file with mode: 0644]
debian/libreoffice-sdbc-firebird.maintscript [new file with mode: 0644]
debian/libreoffice-sdbc-hsqldb.maintscript [new file with mode: 0644]
debian/libreoffice-sdbc-postgresql.maintscript [new file with mode: 0644]
debian/libreoffice-style-breeze.maintscript [new file with mode: 0644]
debian/libreoffice-style-galaxy.maintscript [new file with mode: 0644]
debian/libreoffice-style-hicontrast.maintscript [new file with mode: 0644]
debian/libreoffice-style-oxygen.maintscript [new file with mode: 0644]
debian/libreoffice-style-sifr.maintscript [new file with mode: 0644]
debian/libreoffice-style-tango.maintscript [new file with mode: 0644]
debian/libreoffice-subsequentcheckbase.maintscript [new file with mode: 0644]
debian/libreoffice-wiki-publisher.bug-script.in [new file with mode: 0755]
debian/libreoffice-wiki-publisher.lintian-overrides [new file with mode: 0644]
debian/libreoffice-wiki-publisher.triggers.in [new file with mode: 0644]
debian/libreoffice-writer.bug-control [new file with mode: 0644]
debian/libreoffice-writer.lintian-overrides [new file with mode: 0644]
debian/libreoffice-writer.maintscript [new file with mode: 0644]
debian/libreoffice-writer.manpages [new file with mode: 0644]
debian/libreoffice-writer.mime [new file with mode: 0644]
debian/libreoffice.bug-control [new file with mode: 0644]
debian/libreoffice.maintscript [new file with mode: 0644]
debian/libreofficekit-dev.docs [new file with mode: 0644]
debian/lo-cpp-ref.in [new file with mode: 0644]
debian/lo-idl-ref.in [new file with mode: 0644]
debian/lo-java-ref.in [new file with mode: 0644]
debian/patches/WEBSERVICE-DDE.diff [new file with mode: 0644]
debian/patches/aotcompile-256M-default.diff [new file with mode: 0644]
debian/patches/build-against-shared-lpsolve.diff [new file with mode: 0644]
debian/patches/build-connectivitytools.diff [new file with mode: 0644]
debian/patches/debian-branding.diff [new file with mode: 0644]
debian/patches/debian-debug.diff [new file with mode: 0644]
debian/patches/debian-hardened-buildflags-CPPFLAGS.diff [new file with mode: 0644]
debian/patches/debian-opt.diff [new file with mode: 0644]
debian/patches/disable-db-tests.diff [new file with mode: 0644]
debian/patches/disable-flaky-tests.diff [new file with mode: 0644]
debian/patches/dont-touch-urd.diff [new file with mode: 0644]
debian/patches/fix-internal-hsqldb-build.diff [new file with mode: 0644]
debian/patches/fix-system-lpsolve-build.diff [new file with mode: 0644]
debian/patches/gcj-no-bitness-check.diff [new file with mode: 0644]
debian/patches/gcj-safe-jni-h-include.diff [new file with mode: 0644]
debian/patches/gtk3-opengl-slideshow.diff [new file with mode: 0644]
debian/patches/help-msg-add-package-info.diff [new file with mode: 0644]
debian/patches/hppa-is-32bit.diff [new file with mode: 0644]
debian/patches/install-fixes.diff [new file with mode: 0644]
debian/patches/javadoc-optional.diff [new file with mode: 0644]
debian/patches/jdbc-driver-classpaths.diff [new file with mode: 0644]
debian/patches/jurt-soffice-location.diff [new file with mode: 0644]
debian/patches/layout-footnote-use-after-free.diff [new file with mode: 0644]
debian/patches/lo-xlate-lang-update.diff [new file with mode: 0644]
debian/patches/m68k-java-arch.diff [new file with mode: 0644]
debian/patches/make-package-modules-not-suck.diff [new file with mode: 0644]
debian/patches/mediwiki-oor-replace.diff [new file with mode: 0644]
debian/patches/mention-java-common-package.diff [new file with mode: 0644]
debian/patches/mysqlcppconn-libmysqlclient-SONAME.diff [new file with mode: 0644]
debian/patches/no-openssl.diff [new file with mode: 0644]
debian/patches/no-packagekit-per-default.diff [new file with mode: 0644]
debian/patches/odk-no-dot.diff [new file with mode: 0644]
debian/patches/reportdesign-mention-package.diff [new file with mode: 0644]
debian/patches/rhino-build-optional.diff [new file with mode: 0644]
debian/patches/rsc-no-error-about-unknown-switch.diff [new file with mode: 0644]
debian/patches/search-usr-share-for-images.diff [new file with mode: 0644]
debian/patches/sensible-lomua.diff [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/patches/smoketest-disable-extension-tests.diff [new file with mode: 0644]
debian/patches/sparc64.diff [new file with mode: 0644]
debian/patches/split-evoab.diff [new file with mode: 0644]
debian/patches/startcenter-grey-out-not-installed.diff [new file with mode: 0644]
debian/pycompat [new file with mode: 0644]
debian/python3-uno.NEWS [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/scripts/cleandupes [new file with mode: 0755]
debian/scripts/get_libebook_dep.sh [new file with mode: 0755]
debian/scripts/get_libvlc_dep.sh [new file with mode: 0755]
debian/scripts/get_ttf_version.pl [new file with mode: 0755]
debian/scripts/gid2pkgdirs.sh [new file with mode: 0755]
debian/scripts/gsistat.py [new file with mode: 0755]
debian/scripts/joinctrl.py [new file with mode: 0755]
debian/scripts/move-if-change [new file with mode: 0755]
debian/shell-lib-extensions.sh [new file with mode: 0644]
debian/shlibs.override.glew [new file with mode: 0644]
debian/shlibs.override.icu [new file with mode: 0644]
debian/shlibs.override.libc [new file with mode: 0644]
debian/shlibs.override.libcmis [new file with mode: 0644]
debian/shlibs.override.libetonyek [new file with mode: 0644]
debian/shlibs.override.liblangtag [new file with mode: 0644]
debian/shlibs.override.libmwaw [new file with mode: 0644]
debian/shlibs.override.libodfgen [new file with mode: 0644]
debian/shlibs.override.librevenge [new file with mode: 0644]
debian/shlibs.override.libvisio [new file with mode: 0644]
debian/shlibs.override.libwpd [new file with mode: 0644]
debian/shlibs.override.libwpg [new file with mode: 0644]
debian/shlibs.override.libwps [new file with mode: 0644]
debian/shlibs.override.orcus [new file with mode: 0644]
debian/soffice.sh [new file with mode: 0644]
debian/source/format [new file with mode: 0644]
debian/source/include-binaries [new file with mode: 0644]
debian/templates/debian-presentation-background.xcf [new file with mode: 0644]
debian/templates/debian-presentation.otp [new file with mode: 0644]
debian/templates/soffice-template.desktop.in [new file with mode: 0644]
debian/tests/control [new file with mode: 0644]
debian/tests/control.in [new file with mode: 0644]
debian/tests/junit-subsequentcheck [new file with mode: 0755]
debian/tests/patches/java-subsequentcheck-standalone.diff [new file with mode: 0644]
debian/tests/pyuno-import [new file with mode: 0755]
debian/tests/sdk-examples [new file with mode: 0755]
debian/uno-libs3-dbg.substvars [new file with mode: 0644]
debian/uno-libs3.lintian-overrides [new file with mode: 0644]
debian/uno-libs3.symbols [new file with mode: 0644]
debian/upstream/signing-key.asc [new file with mode: 0644]
debian/ure-dbg.substvars [new file with mode: 0644]
debian/ure.bug-script.in [new file with mode: 0644]
debian/ure.lintian-overrides [new file with mode: 0644]
debian/ure.poms [new file with mode: 0644]
debian/vars.alpha [new file with mode: 0644]
debian/vars.amd64 [new file with mode: 0644]
debian/vars.arm [new file with mode: 0644]
debian/vars.arm64 [new file with mode: 0644]
debian/vars.armel [new file with mode: 0644]
debian/vars.armhf [new file with mode: 0644]
debian/vars.hppa [new file with mode: 0644]
debian/vars.i386 [new file with mode: 0644]
debian/vars.ia64 [new file with mode: 0644]
debian/vars.kfreebsd-amd64 [new file with mode: 0644]
debian/vars.kfreebsd-i386 [new file with mode: 0644]
debian/vars.m68k [new file with mode: 0644]
debian/vars.mips [new file with mode: 0644]
debian/vars.mips64 [new file with mode: 0644]
debian/vars.mips64el [new file with mode: 0644]
debian/vars.mipsel [new file with mode: 0644]
debian/vars.powerpc [new file with mode: 0644]
debian/vars.powerpcspe [new file with mode: 0644]
debian/vars.ppc64 [new file with mode: 0644]
debian/vars.ppc64el [new file with mode: 0644]
debian/vars.s390 [new file with mode: 0644]
debian/vars.s390x [new file with mode: 0644]
debian/vars.solaris-i386 [new file with mode: 0644]
debian/vars.sparc [new file with mode: 0644]
debian/vars.sparc64 [new file with mode: 0644]
debian/watch [new file with mode: 0644]
debian/xmerge-javadoc.in [new file with mode: 0644]
tarballs/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip [new file with mode: 0644]
tarballs/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip [new file with mode: 0644]
tarballs/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip [new file with mode: 0644]
tarballs/ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz [new file with mode: 0644]

diff --git a/debian/README b/debian/README
new file mode 100644 (file)
index 0000000..91d1407
--- /dev/null
@@ -0,0 +1,84 @@
+LibreOffice build system
+------------------------
+
+Building the packages from source
+=================================
+Overview:
+  apt-get source libreoffice
+  apt-get build-dep libreoffice (to install build dependencies)
+    [ somehow broken yet, probably because of the various |'s ]
+  cd <source directory>
+  debuild
+
+Changing the build behaviour with DEB_BUILD_OPTIONS
+---------------------------------------------------
+These options are supported:
+
+  debug     - build with FULL debug symbols. Default is just to build
+             with SMALL ones since the deb otherwise gets too big
+             ((>400M, ca. 1GB I-S))
+
+  ccache    - enable the use of ccache during the build. This is highly
+             recommended if you plan on building the package more than
+              once, or doing any development on the packages. Be aware
+              that you need EXTRAPACKAGES="ccache" in /etc/pbuilderrc
+              when trying to build libreoffice with ccache in
+              $DEB_BUILD_OPTIONS under pbuilder (this has no effect
+              on speed, hough because the cache does not persist in
+              pbuilder)
+
+  parallel=<n>
+            - enable n projects to be built in parallel.
+              The log output can get a little confusing, and some projects
+             may fail still. You need to remove config.status if you
+             change this value after interrupting a build.
+             
+  lang=<code>
+           - Build only the specified language
+
+  nocheck
+           - disable run of tests when enabled in rules
+
+
+The targets that are built during the package build
+---------------------------------------------------
+
+- targets run during the package build -
+
+unpack             - Does prerequisites for the build: packing, unpacking etc.
+
+build              - as the name says
+
+install            - Copy files from debian/tmp/pkg into the correct locations
+                     for the final package layout in debian/libreoffice*
+                    where we need to do that here because it affects arch-dep
+                    and arch-indep stuff and therefore cannot be done in
+                    install-arch / install-indep.
+
+install-arch       - installs arch-dependent stuff into the arch-dep. packages
+install-indep      -  "       "-independent   "     "   "    "-indep. packages
+
+langpackgs         - Installs the language packgs
+helppkgs           - Installs the help packages
+
+maintscripts       - Generates  the maintainer scripts
+
+get-orig-source           - gets original source tarballs and unpacks them
+                     GIT_BASEURL can be set to a local mirror
+                     GIT_BRANCH is the branch to clone from the repos
+                     GIT_TAG is tag that should be packed 
+                     GIT_BRANCH and GIT_TAG can both be master
+
+Building the package from git master
+====================================
+To do a build from git master, do:
+  mkdir libreoffice-git
+  cd libreoffice-git
+  git clone git://anonscm.debian.org/pkg-openoffice/libreoffice.git debian
+  ./debian/rules unpack GIT_BRANCH=master GIT_TAG=master SOURCE_TARBALLS=n
+  dpkg-buildpackage
+
+Build system file layout
+========================
+debian/scripts:
+  Directory containing various debian-specific build-related scripts.
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..95ed2b2
--- /dev/null
@@ -0,0 +1,291 @@
+       Readme for libreoffice package for Debian
+       --------------------------------------------
+
+Contents
+========
+Introduction
+Quick start
+Printer setup
+  Native CUPS support
+  Non-CUPS systems
+Language support
+  Spellcheck dictionaries, Hyphenation patterns and Thesauri
+  Help packages
+Display and crashing problems
+  X server crashes
+Font problems
+  Why are the menu fonts smaller than in older versions?
+  Changing the default user interface font typeface for non-KDE/Gnome desktops
+Disabling the splash screen
+More information about LibreOffice in Debian
+  
+
+Introduction
+============
+Welcome to the LibreOffice packages for the Debian distribution.  These
+packages are of the release of LibreOffice with the following
+modifications:
+
+  * Packaged as libreoffice-core (architecture-dependent core files),
+    libreoffice-common (architecture-independent common files),
+    libreoffice-{calc,writer,draw,impress,base} (the LibreOffice modules)
+    libreoffice-l10n-<lang> and libreoffice-help-<lang> and
+    other subpackages (-filters-* for lesser used filters, -gtk/-gnome/-kde,
+    ttf-opensymbol for the OpenSymbol font, ...).
+
+  * Integration with other Debian packages:
+       - Global desktop integration for all users for KDE and Gnome desktops.
+         Menu entries for all window managers that support the Debian 'menu'
+         package.
+
+  * Some extra features not yet present in official releases:
+       - Many of the patches included in the Ximian edition
+
+  * Extra documentation - this README and man pages.
+
+
+Quick start
+===========
+
+To start using LibreOffice, execute the command
+
+   libreoffice
+
+as the user which you wish to start LibreOffice as.  This will create the
+necessary user files in ~/.libreoffice/3 for you.  Alternatively, you
+can start LibreOffice from the menus, if you have the menu package
+installed/use KDE or GNOME.
+
+Printing
+========
+
+Printing on CUPS systems
+------------------------
+The Debian packages include native CUPS support from version 1.1.1-3.  This
+is standard in all OpenOffice.org versions since 2.0.
+When LibreOffice detects a CUPS system, it will download printer settings for
+all CUPS queues, and these can be set from within the printer properties dialog.
+
+If you wish to add additional filters or print commands, you can add them
+using 'spadmin'.  Note that the 'Add a printer' option is disabled - you
+should add printers using your favourite CUPS frontend.
+
+When creating a new document, LibreOffice will use the default paper size of
+your default CUPS printer queue.  If your new documents have the wrong paper
+size, please check the configuration of your printer.
+
+Non-CUPS systems (lpr, lprng, SAL_DISABLE_CUPS=1)
+---------------------------------
+There is a tool supplied with LibreOffice for setting up printers.  You can
+execute this with the command
+
+  /usr/lib/openoffice/program/spadmin
+
+To change the page size and other default settings on non-CUPS systems,
+modify /etc/openoffice/psprint.conf.  The settings are documented in there.
+
+Language support
+================
+You can get foreign language support by installing the
+libreoffice-l10n-<lang> package for your language.  You will also need the
+'locales' (or belocs-locales-data for some locales, alternatively locales-all
+if you want all locales) package installed. 
+The user interface language is selected according to your locale(1) settings.  
+
+To change the user interface language for all users, run 
+
+  dpkg-reconfigure locales
+
+[ This is not needed when you install locales-all  ]
+
+To change the language for just one user, you must arrange for the LC_MESSAGES
+or LANG environment variable to be set.  You can list all available locales
+with the command 'locale -a'.
+For example, to run LibreOffice in German from the command line:
+
+  LANG=de_DE libreoffice
+
+Spellcheck dictionaries, Hyphenation patterns and Thesauri
+----------------------------------------------------------
+Currently, there are dictionaries available for Afrikaans, Arabic, Armenian,
+Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English (AUS/GB/US),
+Esperanto, Estonian, Farsi, Finnish, French, Galician, German (DE/CH/AT),
+Greek, Hebrew, Hungarian, Irish (Gaeilge), Italian, Kurdish, Latvian,
+Lithuanian, Manx Gaelic, Norwegian Bokmal, Norwegian Nynorsk, Polish,
+Portuguese, Portuguese (Brazilian), Russian, Scots Gaelic, Slovak, Slovenian,
+Spanish, Swahili, Swedish, Thai, Ukrainian and Uzbek.
+Dictionaries are packaged as myspell-<lang> (or, for newer ones improved
+for hunspell hunspell-<lang>).
+
+Currently, there are thesauri available for Czech, English (AUS/GB/US),
+German (DE/CH), Italian, Polish and Slovak.
+Thesauri are packaged as mythes-<lang>
+
+Currently, there are hyphenation patterns available for English (USA),
+Croatian, Estonian, German, Hungarian, Italian, Polish, Slovenian and
+Lithuanian.
+Hyphenation patterns are packaged as hyphen-<lang>.
+
+Help packages
+-------------
+Currently, there are localized help packages available for
+Bulgarian, Chinese, Czech, Danish, Dutch, English (GB), English (USA),
+Estonian, French, Galician, German, Hungarian, Italian, Japanese, Khmer,
+Macedonian, Polish, Portuguese (Brazil), Russian, Slovakian, Slovenian and
+Spanish and Swedish.
+They are packaged as libreoffice-help-<lang>.
+
+Problems
+================================
+
+Here are some problems that have been reported with this version.  If you do
+not see your problem here, please check for open bug reports:
+
+  http://bugs.debian.org/debian-openoffice@lists.debian.org
+
+1. If you are using NFS mounted file systems, you should make sure that locking
+is functioning:
+
+  'Make sure NFS lockd/statd is running on the client, or mount the NFS export
+  with the 'nolock' option.
+  
+  If /usr gets mounted from an initrd, check 'ps' output once the system is
+  fully booted to ensure that you see a [lockd] kernel process, or an
+  'rpc.lockd' / 'rpc.statd' userspace process. 
+  
+  If not, just issue your mount command again (no need to even -o remount it
+  seems!) and run /etc/init.d/nfs-common restart.' (Thanks to Gavin Hamill)
+
+  See this mailing list thread for more information:
+    http://lists.debian.org/debian-openoffice/2004/debian-openoffice-200402/msg00223.html
+
+X server crash with Matrox cards
+--------------------------------
+If your X server is using the mga driver, you may find that your X server
+crashes.  You can work around this problem by adding this line to the mga
+Device section:
+
+  Option "XaaNoScreenToScreenColorExpandFill"
+
+There is a bug already open against xserver-xfree86 for this problem.  Thanks
+to Philip Armstrong for this information.
+
+LibreOffice crash with nVidia cards
+--------------------------------------
+It seems that LibreOffice can trigger some obscure bugs in the X server
+drivers for Nvidia cards too, especially if you have more than one processor.
+Try updating your drivers to the latest version.
+
+Moreover LibreOffice may hang and takes X with it when RenderAccel
+is enabled when using the proprietary nVidia Drivers. Disabling this option
+helps then.
+
+Font problems
+=============
+
+Why are the menu fonts smaller than in older versions?
+------------------------------------------------------
+This is caused by a change in the way LibreOfffice inteprets your X server DPI
+setting.
+This setting, when correctly configured, means that software can display text
+at its true size on the display.
+
+The official OpenOffice.org version assumes that anyone who has their X server
+configured with a DPI of less than 96 has not actually configured it at all,
+and sets it back to 96.  Unfortunately, this has the side effect that 
+displays with a lower DPI setting, such as some LCD laptop displays, cannot
+display the page at its true size.
+
+So you can fix this by correctly setting the DPI for your X server.  Gnome
+users will find that it is set to 96 DPI by default; others may need to edit
+their X server configuration.
+
+The best way to get the correct DPI setting is to add a 'DisplaySize' entry to
+the Monitor section.  From the XF86Config-4 man page:
+
+  DisplaySize  width height
+    This optional entry gives the width and height, in millimetres, of the
+    picture area of the monitor. If given this is used to calculate the
+    horizontal and vertical pitch (DPI) of the screen.
+
+If you set this value correctly, X will calculate and use the correct DPI
+setting, even if you use several different display resolutions.
+
+From Nikita V. Youshchenko <yoush at cs.msu.su>:
+
+- Many display manager configurations pass the option "-dpi 100" to the X
+  server by default, overriding any autodetected DPI.  This has to be removed
+  for DisplaySize to work.  The file that you need to edit varies depending on
+  the way your X server is started:
+    xdm: /etc/X11/xdm/Xservers
+    kdm: /etc/kde3/kdm/Xservers
+    gdm: /etc/gdm/gdm.conf
+    startx: /etc/X11/xinit/xserverrc
+
+- Gnome's gconf overrides the autodetected DPI, by setting Xft.dpi to a value
+  entered in configuration dialog, 96 by default.  I don't know what is
+  the clean fix for this. Perhaps it should be fixed on the Gnome side.
+
+From Juergen Kreileder <jk at blackdown.de>:> 
+
+- Note that with most recent graphics cards and monitors XFree86 is able to
+  get the monitor size (and thus the correct dpi value) through ddc.
+    (**) NVIDIA(0): Validated modes for display device DFP-0:
+    (**) NVIDIA(0): Default mode "1600x1200": 189.0 MHz, 87.5 kHz, 70.0 Hz
+    (II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
+    (--) NVIDIA(0): Display dimensions: (410, 310) mm
+    (--) NVIDIA(0): DPI set to (99, 98) 
+  (That's with the proprietary NVIDIA drivers but other XFree86 drivers have
+  that support too.)
+
+If you use KDE or Gnome, LibreOffice will use the same font face and size as
+your desktop environment.  If you use another window manager, you can either
+let it pick a default font itself, or change the font to be used (see next
+section), or set the OOO_FORCE_DESKTOP environment variable to
+kde (for kde3)/kde4 or gnome, to use KDE or Gnome settings respectively.
+
+Changing the default user interface font typeface for non-KDE/Gnome desktops
+----------------------------------------------------------------------------
+If you do not want to use KDE or Gnome settings and want to change font sizes
+within LibreOffice, you can configure the user interface font as follows:
+
+- Font size -
+
+You can change the font scaling using the user interface:
+
+   Tools Menu -> Options -> View -> Scale
+
+- Font typeface -
+
+You can change the default font typeface by replacing it with a different font
+installed on your system. This can be done using the font replacement function.
+Choose Tools - Options - LibreOffice - Font Replacement to access this
+function.
+
+To change the font of the LibreOffice user interface, you have to replace
+the default font "Andale Sans UI" with another font and mark the "always"
+setting for this replacement.  "Andale Sans UI" is not selectable and has to be
+typed in. The replacement font has to be a font which supports the requested
+locale ( e.g for Korean language the replacement font has to be a font
+including Korean characters).
+
+Refer to the LibreOffice Help for a detailed explanation of the font
+replacement dialog.
+
+Disabling the splash screen
+===========================
+If you don't like the splash screen staying in front of other windows while
+LibreOffice is loading, you can disable it by editing
+/etc/openoffice/sofficerc.  Change Logo=1 to Logo=0.
+
+More information about LibreOffice in Debian
+===============================================
+Please read the official README.gz (in the same directory as this file), too.
+
+If you have questions, either post to our the mailing list:
+
+   http://lists.debian.org/debian-openoffice
+
+Or go to the the #debian-oo IRC channel on irc.debian.org
+
+The Debian LibreOffice team
diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644 (file)
index 0000000..bda793f
--- /dev/null
@@ -0,0 +1,78 @@
+Package directory modes
+=======================
+The packages can be built directly from a set of git checkouts (vcs mode),
+or from a set of release tarballs (tarball mode).
+
+Vcs mode is useful if you want to work on libreoffice during the development
+cycle. You can check out the latest sources and track them while you make
+changes.
+
+Tarball mode is used to prepare packages of official libreoffice releases
+from the tarballs created by upstream.
+
+Source package creation steps for tarball mode
+==============================================
+The .orig.tar.gz consists of the (separate) source tarballs available
+from The Document Foundation from
+http://download.documentfoundation.org/libreoffice/src/<version/
+
+The libreoffice-x.y.z.a.tar.xz is taken verbatim as original tarball:
+$ ln -s libreoffice-x.y.z.a.tar.xz libreoffice_x.y.z.orig.tar.xz
+$ tar xfvJ libreoffice-x.y.z.a.tar.xz
+
+For a full build you also need helpcontent2 and translations (and the external
+modules' tarballs) which normally are git submodules and/or downloaded during
+the build.
+
+As dpkg-source expects e.g. helpcontent2 as a subdir we can't directly
+symlink (as the tarball contains libreoffice-x.y.z.a/helpcontent2).
+We need to create them manually/repack them:
+
+$ tar xfvJ libreoffice-helpcontent2-x.y.z.a.tar.xz
+$ tar xfvJ libreoffice-translations-x.y.z.a.tar.xz
+$ cd libreoffice-x.y.z.a
+$ for i in helpcontent2 translations tarballs; do \
+       tar cfvJ ../libreoffice_5.2.1.orig-$i.tar.xz $i; \
+  done
+given those files are not in the tarballs above they need to be removed
+as otherwise dpkg complains
+$ rm ChangeLog-*
+
+We also need the "tarballs".
+A standard upstream build downloads it during the build, but we neither can't nor want it here of course. So:
+
+$ rm -rf tarballs
+$ mkdir -p tarballs
+$ ./autogen.sh $(filter-out --disable-fetch-external,$(CONFIGURE_FLAGS)) --with-all-tarballs
+$ make download gb_LO_VER=<version>
+
+or base on an old version and add/remove the files manually and/or symlink
+to the old version if this didn't change - see git diff of download.lst. This
+is even better given we probably want to add only needed stuff there, and not
+all tarballs (most of those we don't use)
+
+See the "Format: 3.0 (quilt)" section dpkg-source(1) for more details.
+
+Package directory layout - vcs mode
+===================================
+
+In vcs mode we are working directly from checkouts of the libreoffice sources.
+
+We pull in sources to these places:
+
+ "top" directory - checkout of LO's "core" repo
+ debian - git packaging repository from pkg-openoffice project on alioth
+ helpcontent2 - checkout of LO's "help" repo (git submodule)
+ translations - checkout of LO's "translations" repo (git submodule)
+ tarballs - see above in tarball mode
+
+$ git clone git://gerrit.libreoffice.org/core
+$ cd core
+$ git submodule init
+
+(maybe remove dictionaries again, see .git/config, we don't need it here.)
+
+./g pull -r (git pull -r, but also does the necessary steps for the submodules)
+
+For tarballs/, see above
+
diff --git a/debian/README.qa b/debian/README.qa
new file mode 100644 (file)
index 0000000..3da75a9
--- /dev/null
@@ -0,0 +1,59 @@
+LibreOffice QA Tools
+
+smoketest
+=========
+
+smoketest executes a set of macros that create a minimal document in
+each of LibreOffice's applications, tests cut&paste and
+saving/loading in various formats.
+
+Invoke it as oosmoketest.
+
+This program manipulates the LibreOffice user configuration, USE IT
+WITH A DEDICATED USER ACCOUNT if you value your settings.
+
+qadevOOo
+========
+
+qadevOOo is a framework for executing tests for the LibreOffice
+API.  It is documented at
+http://qa.openoffice.org/qadevOOo_doc/user-guide.html
+
+Predefined properties files exist in /usr/lib/openoffice/qadevOOo.
+
+Invoke it like e.g:
+
+  ootestapi -ini /usr/lib/openoffice/qadevOOo/java.props -o sd.SdMasterPage
+
+That properties files specify AppExecutionCommand, i.e. an office will
+be started if necessary. Some tests, however seem to work better if
+the office was started manually, as written in the user guide.
+
+  /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;"
+
+Use this invocation and not ooffice to prevent interference with the
+quickstarter code.
+
+testtool
+========
+
+testtool is a framework for executing tests by automating actions in
+LibreOffice's user interface. It is documented at
+http://qa.openoffice.org/qatesttool/index.html
+
+Test scripts for testtool are available in the
+libreoffice-qa-ui-tests package.
+
+Start it as ootesttool.
+
+If you're starting it for the first time, create a profile in
+Extras->Settings where you specify the location of test scripts and
+output path for log files. The default values point to the scripts
+from the libreoffice-qa-ui-tests package, so simply giving a name
+to the profile and pressing the "New" button is enough.
+
+Then open a test script and press F5 to start the test.
+
+Some test scripts may change your LibreOffice user
+configuration. USE IT WITH A DEDICATED USER ACCOUNT if you value your
+settings.
diff --git a/debian/branding/progress.conf b/debian/branding/progress.conf
new file mode 100644 (file)
index 0000000..59ff72c
--- /dev/null
@@ -0,0 +1 @@
+PROGRESSBARCOLOR=215,7,81
diff --git a/debian/bug-presubj b/debian/bug-presubj
new file mode 100644 (file)
index 0000000..602de78
--- /dev/null
@@ -0,0 +1,60 @@
+Reporting a bug against LibreOffice
+--------------------------------------
+I) Make sure it's a LibreOffice bug after all: #398923 and its friends for
+   example are not.
+   Set the Version: header right. If you found a bug in a specific version,
+   set that as version:, even if you in the meanwhile upgraded. If you are on
+   an up-to-date version and tried old versions and they have the bug, too, set
+   the Version: header to the earliest version you found it in (of course, if
+   versions inbetween don't have the bug use the version in which it reappeared
+   and sustained to the current version)
+
+II) Check on the BTS (http://bugs.debian.org/src:libreoffice) whether the
+   bug already is reported. Do *NOT* report a new one then. For judging whether
+   it's already reported, read *ALL* the bugs, think, try and use common sense.
+
+III) If you have crashes with a document, try another one. If only that or
+    similar docs causes problems please attach THIS (or a similar type one
+    causing it). Otherwise, don't file a bug, we can't look at it anyway.
+
+IV) Please attach more info if possible (see
+    https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux).
+    Install libreoffice-*-dbgsym or libreoffice-dbg before doing this (and maybe
+    the packages it Recommends and/or -dbgsym/-dbg of the libraries LO depends
+    on).
+    Please note that those *-dbgsym packages are not in the main archive; you
+    need to add the debug archive for that.
+    See https://wiki.debian.org/AutomaticDebugPackages
+    Please also read /usr/share/doc/libreoffice-common/README.gz for common
+    problems ("Problems During Program Startup")
+    If you have NFS/Samba/... file locking problems (i.e. files opened
+    read-only when they should be read-write), also see the "File Locking"
+    section in above file.
+
+V) If the bug is also in the version you can get from www.libreoffice.org, file
+   it there (see https://wiki.documentfoundation.org/QA/BugReport) in the first
+   place. If you really think this also should be a bug in the Debian BTS
+   (because it's (release-)critical or otherwise important) please file a bug
+   there too *BUT* note the TDF bug number in the bug or mark it forwarded
+   yourself if you can. Especially this is for feature requests.
+   If you tested other LibreOffice packages and the bug is (not) in version
+   foo from bar, mention that, too.
+
+VI) Only report bugs on completely up-to-date systems. Don't file bugs on a
+    obsolete version and neither on sid/testing systems really old. If bugs
+    got fixed in sid, it doesn't make sense to file them anymore. (Exception
+    is security bugs or really critical bugs which should be get fixed in
+    stable.) When you think a dependency is missing/wrong/too lax please be
+    *sure* that this is the case before reporting it. Most times it isn't.
+    Use common sense and the bug severities for judging here. When you think
+    you have an up-to-date system, check whether you really have one.
+    (And do a dist-upgrade, try to reproduce the bug again).
+    Also don't report bugs on broken mix systems unless you are sure about the
+    dependencies/conflicts (see above).
+
+VII) Please give as much info as possible (installed OOo packages, installed 
+     extensions, "special" configs, additions, changes, whatever). Better too
+     much than too less. (See #396225 for example which was caused by an
+     unsupportable, non-free extension)
+
+Thanks.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..a08691f
Binary files /dev/null and b/debian/changelog differ
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..badb0bd
--- /dev/null
@@ -0,0 +1,4633 @@
+Source: libreoffice
+Section: editors
+Priority: optional
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>, Chris Halls <halls@debian.org>
+Build-Depends: ant (>= 1.7.0) [!mips64],
+               ant-optional (>= 1.7.0) [!mips64],
+               autoconf,
+               automake,
+               bc,
+               binutils (>= 2.23) [mips mipsel],
+               bison,
+               bzip2,
+               coinor-libcoinmp-dev (>= 1.7.6+dfsg1-2),
+               coinor-libcoinutils-dev (>= 2.9.15-3.1),
+               debhelper (>= 9.20160114),
+               default-jdk (>= 1:1.7-48) [ia64],
+               default-jdk (>= 2:1.7-52.1) [kfreebsd-any],
+               default-jdk (>= 2:1.8-55) [sparc64],
+               default-jdk [!mips64],
+               default-libmysqlclient-dev,
+               dh-python,
+               dpkg-dev (>= 1.18.2~),
+               fastjar,
+               flex (>= 2.3.35),
+               fontconfig [!hppa !ia64 !kfreebsd-amd64 !kfreebsd-i386 !s390 !sparc !sparc64] <!nocheck>,
+               fonts-crosextra-carlito [!hppa !ia64 !kfreebsd-amd64 !kfreebsd-i386 !s390 !sparc !sparc64] <!nocheck>,
+               fonts-liberation [!hppa !ia64 !kfreebsd-amd64 !kfreebsd-i386 !s390 !sparc !sparc64] <!nocheck>,
+               g++- [hppa ia64 s390 sparc],
+               gcc- [hppa ia64 s390 sparc],
+               gcj-jdk [hppa ia64 s390 sparc],
+               gcj-native-helper [hppa ia64 s390 sparc],
+               gdb [!hppa !ia64 !kfreebsd-amd64 !kfreebsd-i386 !s390 !sparc !sparc64] <!nocheck>,
+               gettext,
+               gobject-introspection (>= 1.32.0),
+               gperf,
+               java-common (>= 0.49),
+               javahelper (>= 0.37~),
+               kdelibs5-dev (>= 4:4.3.4),
+               libabw-dev (>= 0.1),
+               libarchive-zip-perl,
+               libavahi-client-dev,
+               libbluetooth-dev [linux-any],
+               libboost-date-time-dev (>= 1.58),
+               libboost-dev (>= 1.58),
+               libboost-filesystem-dev (>= 1.58),
+               libboost-iostreams-dev (>= 1.58),
+               libboost-system-dev (>= 1.58),
+               libbz2-dev,
+               libc0.1 (>= 2.10.2-7) [kfreebsd-any],
+               libc6 (>= 2.17-6) [mips mipsel],
+               libcairo2-dev,
+               libcdr-dev (>= 0.1),
+               libclucene-dev (>= 2.3.3.4-4.1),
+               libcmis-dev (>= 0.5.0-3),
+               libcppunit-dev (>= 1.13.2-2.1),
+               libcups2-dev,
+               libcurl4-gnutls-dev,
+               libdbus-glib-1-dev (>= 0.70),
+               libdconf-dev,
+               libe-book-dev,
+               libebook1.2-dev,
+               libeot-dev,
+               libetonyek-dev,
+               libexpat1-dev,
+               libexttextcat-dev (>= 3.4.1),
+               libfontconfig1-dev,
+               libfreehand-dev (>= 0.1),
+               libfreetype6-dev (>= 2.2.0),
+               libgcj-common (>= 1:4.4.1) [hppa ia64 s390 sparc],
+               libgirepository1.0-dev (>= 1.32),
+               libgl1-mesa-dev,
+               libglew-dev,
+               libglib2.0-dev (>= 2.15.0),
+               libglm-dev (>= 0.9.6.3),
+               libgltf-dev (>= 0.0.2-4),
+               libgraphite2-dev (>= 0.9.3),
+               libgstreamer-plugins-base1.0-dev,
+               libgstreamer1.0-dev,
+               libgtk-3-dev (>= 3.8~),
+               libgtk2.0-dev (>= 2.10),
+               libharfbuzz-dev (>= 0.9.18),
+               libhsqldb1.8.0-java (>> 1.8.0.10) [!mips64],
+               libhunspell-dev (>= 1.1.5-2),
+               libhyphen-dev (>= 2.4),
+               libice-dev,
+               libicu-dev (>= 52),
+               libjpeg-dev,
+               liblangtag-dev (>= 0.4),
+               liblcms2-dev,
+               libldap2-dev,
+               liblpsolve55-dev (>= 5.5.0.13-5+b1),
+               libmdds-dev (>= 1.2),
+               libmspub-dev (>= 0.1),
+               libmwaw-dev (>= 0.3.1),
+               libmysqlcppconn-dev (>= 1.1.7-4),
+               libmythes-dev (>= 2:1.2),
+               libneon27-gnutls-dev,
+               libnss3-dev (>= 3.12.3),
+               libodfgen-dev (>= 0.1),
+               liborcus-dev (>= 0.11.2),
+               libpagemaker-dev,
+               libpng-dev,
+               libpoppler-cpp-dev,
+               libpoppler-dev (>= 0.12.0),
+               libpoppler-private-dev,
+               libpq-dev (>= 9.0~),
+               libqt4-dev (>= 4:4.8),
+               librdf0-dev (>= 1.0.16-2),
+               librevenge-dev,
+               libsane-dev,
+               libsm-dev,
+               libsuitesparse-dev (>= 1:3.4.0),
+               libvisio-dev (>= 0.1),
+               libvlc5,
+               libwpd-dev (>= 0.10),
+               libwpg-dev (>= 0.3),
+               libwps-dev (>= 0.4),
+               libx11-dev,
+               libxaw7-dev,
+               libxext-dev,
+               libxinerama-dev,
+               libxkbfile-dev,
+               libxml2-dev,
+               libxml2-utils,
+               libxrandr-dev,
+               libxrender-dev,
+               libxslt1-dev,
+               libxt-dev,
+               libxtst-dev,
+               lp-solve (>= 5.5.0.13-5+b1),
+               make (>= 3.81-8.2),
+               maven-repo-helper,
+               pkg-config,
+               python3,
+               python3-dev (>= 3.3),
+               ucpp,
+               unixodbc-dev (>= 2.2.11),
+               unzip,
+               x11proto-render-dev,
+               xsltproc,
+               zip,
+               zlib1g-dev
+Build-Depends-Indep: doxygen (>= 1.8.4) <!nodoc>,
+                     fdupes,
+                     libbase-java [!hppa !ia64 !mips64 !s390 !sparc],
+                     libbsh-java,
+                     libcommons-logging-java [!mips64],
+                     libflute-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
+                     libfonts-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
+                     libformula-java (>= 1.1.7) [!hppa !ia64 !mips64 !s390 !sparc],
+                     liblayout-java (>= 0.2.10) [!hppa !ia64 !mips64 !s390 !sparc],
+                     libloader-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
+                     libpentaho-reporting-flow-engine-java (>= 0.9.4) [!hppa !ia64 !mips64 !s390 !sparc],
+                     librepository-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
+                     libsac-java [!hppa !ia64 !mips64 !s390 !sparc],
+                     libserializer-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc],
+                     libxml-java (>= 1.1.6) [!hppa !ia64 !mips64 !s390 !sparc]
+Build-Conflicts: amd-libopencl1,
+                 ant (= 1.8.0-1) [hppa ia64 s390 sparc],
+                 ant (= 1.8.0-2) [hppa ia64 s390 sparc],
+                 ant (= 1.8.0-3) [hppa ia64 s390 sparc],
+                 flex (= 2.5.34-1) [amd64],
+                 g++-4.6 (= 4.6.1-10),
+                 g++-4.6 (= 4.6.1-11),
+                 g++-4.7 (<< 4.7.1-3),
+                 gcj-4.2 (= 4.2.2-6),
+                 gjdoc (= 0.7.8-2),
+                 libboost1.39-dev (<< 1.39.0-2),
+                 libc0.1-dev (= 2.13-26) [kfreebsd-i386 kfreebsd-amd64],
+                 libc6-dev (= 2.6.1-3) [i386 amd64],
+                 libc6-dev (= 2.6.1-4) [i386 amd64],
+                 libcairo2 (= 1.4.8-1),
+                 libxul-dev (= 1.8.0.13~pre070720-0etch1),
+                 nvidia-glx-dev,
+                 nvidia-glx-legacy-dev,
+                 nvidia-libopencl1,
+                 qt3-dev-tools
+Standards-Version: 3.9.4
+Vcs-Git: https://anonscm.debian.org/git/pkg-openoffice/libreoffice.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-openoffice/libreoffice.git
+Bugs: 
+Homepage: http://www.libreoffice.org
+
+Package: libreoffice
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Section: metapackages
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base [!mips64],
+         libreoffice-calc,
+         libreoffice-core (= ${binary:Version}),
+         libreoffice-draw,
+         libreoffice-impress,
+         libreoffice-math,
+         libreoffice-report-builder-bin [!hppa !ia64 !mips64 !s390 !sparc],
+         libreoffice-writer,
+         ${avmedia-be-depends},
+         ${dejavu-depends},
+         ${java-common-depends},
+         ${misc:Depends},
+         ${pyuno-depends}
+Recommends: fonts-crosextra-caladea,
+            fonts-crosextra-carlito,
+            fonts-linuxlibertine,
+            fonts-sil-gentium-basic,
+            libreoffice-librelogo,
+            libreoffice-nlpsolver,
+            libreoffice-ogltrans,
+            libreoffice-pdfimport,
+            libreoffice-report-builder [!hppa !ia64 !mips64 !s390 !sparc],
+            libreoffice-script-provider-bsh,
+            libreoffice-script-provider-js,
+            libreoffice-script-provider-python,
+            libreoffice-sdbc-postgresql,
+            libreoffice-wiki-publisher
+Suggests: cups-bsd,
+          hunspell-dictionary,
+          hyphen-hyphenation-patterns,
+          iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser,
+          imagemagick | graphicsmagick-imagemagick-compat,
+          libgl1,
+          libreoffice-gnome | libreoffice-kde,
+          libreoffice-grammarcheck,
+          libreoffice-help-${help-l10n-virtual-version},
+          libreoffice-l10n-${help-l10n-virtual-version},
+          libsane,
+          libxrender1,
+          myspell-dictionary,
+          mythes-thesaurus,
+          openclipart2-libreoffice | openclipart-libreoffice,
+          pstoedit,
+          unixodbc,
+          ${gstreamer-plugins-suggests},
+          ${java-runtime-depends},
+          ${ooo-officebean-dep}
+Conflicts: libreoffice-dev (<= 1:5.0.3~rc1-2),
+           libreoffice-dev-doc (<= 1:5.0.3~rc1-2)
+Description: office productivity suite (metapackage)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+  * libreoffice-writer: Word processor
+  * libreoffice-calc: Spreadsheet
+  * libreoffice-impress: Presentation
+  * libreoffice-draw: Drawing
+  * libreoffice-base: Database
+  * libreoffice-math: Equation editor
+ It also recommends additional packages (e.g. fonts) in order to match an
+ upstream LibreOffice install as closely as possible.
+ .
+ You can extend the functionality of LibreOffice by installing these
+ packages:
+  * hunspell-*/myspell-*: Hunspell/Myspell dictionaries
+    for use with LibreOffice
+  * libreoffice-l10n-*: UI interface translation
+  * libreoffice-help-*: User help
+  * mythes-*: Thesauri for the use with LibreOffice
+  * hyphen-*: Hyphenation patterns for LibreOffice
+  * libreoffice-gtk(2|3): Gtk UI Plugin, GNOME File Picker support
+  * libreoffice-gnome: GIO backend
+  * unixodbc: ODBC database support
+  * cups-bsd: Allows LibreOffice to detect your CUPS printer queues
+    automatically
+  * libsane: Use your sane-supported scanner with LibreOffice
+  * libxrender1: Speed up display by using Xrender library
+  * libgl1: OpenGL support
+  * openclipart-libreoffice: Open Clip Art Gallery with LibreOffice index
+    files
+  * iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser:
+    Mozilla profile with Certificates needed for XML Security...
+  * openjdk-6-jre | gcj-jre | java5-runtime:
+    Java Runtime Environment for use with LibreOffice
+  * pstoedit / imagemagick: helper tools for EPS thumbnails
+  * gstreamer0.10-plugins-*: GStreamer plugins for use with LibreOffices
+    media backend
+  * libpaper-utils: papersize detection support via paperconf
+  * bluez: Bluetooth support for Impress (slideshow remote control
+
+Package: libreoffice-l10n-za
+Section: metapackages
+Architecture: all
+Pre-Depends: ${misc:Pre-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.
+ .
+ This package is a metapackage installing l10n packages for all 11 South
+ African languages.
+
+Package: libreoffice-l10n-in
+Section: metapackages
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-as,
+         libreoffice-l10n-bn,
+         libreoffice-l10n-gu,
+         libreoffice-l10n-hi,
+         libreoffice-l10n-ml,
+         libreoffice-l10n-mr,
+         libreoffice-l10n-or,
+         libreoffice-l10n-pa-in,
+         libreoffice-l10n-ta,
+         libreoffice-l10n-te,
+         ${misc:Depends}
+Recommends: fonts-indic
+Description: office productivity suite -- Indic language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all available
+ indic languages.
+
+Package: libreoffice-core
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: fontconfig,
+         fonts-opensymbol,
+         libreoffice-common (>> ${base-version}),
+         ure (>= 4.2~),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libpaper-utils
+Breaks: browser-plugin-libreoffice,
+        cli-uno-bridge (<< 1:3.0.0~dev300m22),
+        hunspell-ar (<< 0.0.0+20080110-1.1),
+        hunspell-da (<< 1:3.1.0-3),
+        hunspell-de-at (<< 20071211-2),
+        hunspell-de-ch (<< 20071211-2),
+        hunspell-de-de (<< 20071211-2),
+        hunspell-de-med (<< 20090825-1),
+        hunspell-en-ca (<< 1:3.1.0-3),
+        hunspell-en-us (<< 20070829-3),
+        hunspell-fr (<< 1:3.1.0-3),
+        hunspell-gl-es (<< 2.2a-6),
+        hunspell-hu (<< 1:3.1.0-3),
+        hunspell-ko (<< 0.3.3-1),
+        hunspell-ne (<< 1:3.1.0-3),
+        hunspell-se (<< 1.0~beta6.20081222-1.1),
+        hunspell-sh (<< 1:3.1.0-3),
+        hunspell-sr (<< 1:3.1.0-3),
+        hunspell-uz (<< 0.6-3.1),
+        hunspell-vi (<< 1:3.1.0-3),
+        libcairo2 (= 1.4.8-1),
+        libicu38 (= 3.8~d01-1),
+        libreoffice-base (<< ${binary:Version}),
+        libreoffice-calc (<< ${binary:Version}),
+        libreoffice-common (<< 1:3.6.1~rc1),
+        libreoffice-dev (<< ${binary:Version}),
+        libreoffice-draw (<< ${binary:Version}),
+        libreoffice-evolution (<< ${binary:Version}),
+        libreoffice-evolution (<< 1:3.4.1~),
+        libreoffice-gnome (<< ${binary:Version}),
+        libreoffice-gtk2 (<< ${binary:Version}),
+        libreoffice-gtk3 (<< ${binary:Version}),
+        libreoffice-impress (<< ${binary:Version}),
+        libreoffice-kab (<< 1:3.4.1~),
+        libreoffice-kde (<< ${binary:Version}),
+        libreoffice-officebean (<< ${binary:Version}),
+        libreoffice-presentation-minimizer (<< 1:4.2~),
+        libreoffice-sdbc-postgresql (<< 0.8.1~),
+        libreoffice-style-andromeda (<< 1:3.3.0-1),
+        libreoffice-style-crystal (<< 1:3.3.0-1),
+        libreoffice-style-galaxy (<< 1:3.3.0-1),
+        libreoffice-style-hicontrast (<< 1:3.3.0-1),
+        libreoffice-style-oxygen (<< 1:3.3.0-1),
+        libreoffice-style-tango (<< 1:3.3.0-1),
+        libreoffice-writer (<< ${binary:Version}),
+        mozilla-libreoffice (<< 1:3.5.0~beta~),
+        mozilla-plugin-vlc (<< 1.0),
+        myspell-af (<< 1:3.1.0-3),
+        myspell-ca (<< 0.6-8),
+        myspell-cs-cz (<< 20040229-4.1),
+        myspell-da (<< 1.6.18-1.1),
+        myspell-de-at (<< 20071211-2),
+        myspell-de-ch (<< 20071211-2),
+        myspell-de-de (<< 20071211-2),
+        myspell-de-de-oldspell (<< 1:2-25.1),
+        myspell-el-gr (<< 0.3-1.1),
+        myspell-en-au (<< 2.1-5),
+        myspell-en-gb (<< 1:3.1.0-3),
+        myspell-en-us (<< 1:3.1.0-3),
+        myspell-en-za (<< 1:3.1.0-3),
+        myspell-eo (<< 2.1.2000.02.25-41),
+        myspell-es (<< 1.10-7),
+        myspell-et (<< 1:20030606-12.1),
+        myspell-fa (<< 0.20070816-2),
+        myspell-fi (<< 0.7-17.2),
+        myspell-fo (<< 0.2.36-3),
+        myspell-fr (<< 1.4-25),
+        myspell-fr-gut (<< 1:1.0-26.1),
+        myspell-ga (<< 2.0-19),
+        myspell-gd (<< 0.50-7),
+        myspell-gv (<< 0.50-8),
+        myspell-hr (<< 20060617-2),
+        myspell-hu (<< 0.99.4-1.2),
+        myspell-hy (<< 0.10.1-1.1),
+        myspell-it (<< 1:3.1.0-3),
+        myspell-ku (<< 0.20.0-1.1),
+        myspell-lv (<< 0.7.3-3.1),
+        myspell-nb (<< 2.0.10-3.1),
+        myspell-ne (<< 1.0-4.1),
+        myspell-nl (<< 1:1.10-3),
+        myspell-nn (<< 2.0.10-3.1),
+        myspell-pl (<< 20090830-1),
+        myspell-pt-br (<< 2009.03.30-1.1),
+        myspell-pt-pt (<< 20090309-1.1),
+        myspell-ru (<< 0.99g5-8.1),
+        myspell-sk (<< 0.5.5a-2.1),
+        myspell-sv-se (<< 1.3.8-6-2.2),
+        myspell-sw (<< 1:3.1.0-3),
+        myspell-th (<< 1:3.1.0-3),
+        myspell-tl (<< 0.4-0-5)
+Conflicts: cacao-oj6-jre, libreoffice-filter-binfilter, libreoffice-unbundled
+Provides: libreoffice-bundled
+Replaces: libreoffice-calc (<< 1:3.3.2-5),
+          libreoffice-common (<< 1:4.4.0~rc3-1),
+          uno-libs3 (<< 1:3.6.1-2),
+          ure (<< 1:3.6.1-2)
+Description: office productivity suite -- arch-dependent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice.  See the libreoffice package for more information.
+
+Package: libreoffice-common
+Architecture: all
+Pre-Depends: dpkg (>= 1.15.7.2~)
+Depends: libreoffice-style-default | libreoffice-style, ure, ${misc:Depends}
+Suggests: libreoffice-style-breeze,
+          libreoffice-style-hicontrast,
+          libreoffice-style-oxygen,
+          libreoffice-style-sifr,
+          libreoffice-style-tango
+Recommends: fonts-liberation | ttf-mscorefonts-installer,
+            ${pyuno-depends},
+            ${textcat-data-recommends}
+Conflicts: broffice,
+           libreoffice-filter-mobiledev,
+           libreoffice-l10n-4.3,
+           libreoffice-l10n-4.4,
+           openoffice-unbundled
+Provides: libreoffice-l10n-en-us
+Breaks: libreoffice-core (<< 1:${oover}~),
+        libreoffice-core (>= 1:${next-oover}~),
+        libreoffice-mysql-connector (<< 1.0.1+LibO3.6.5-1),
+        libreoffice-pdfimport (<< 1.0.6),
+        libreoffice-presentation-minimizer (<< 1.0.4),
+        libreoffice-presenter-console (<< 1.1.1),
+        libreoffice-report-builder (<< 1.2.3),
+        libreoffice-script-provider-bsh (<< 1:3.6~),
+        libreoffice-script-provider-js (<< 1:3.6~),
+        libreoffice-script-provider-python (<< 1:3.6~),
+        libreoffice-style-andromeda (<< 1:${oover}~),
+        libreoffice-style-crystal (<< 1:${oover}~),
+        libreoffice-style-crystal (>= 1:${next-oover}~),
+        libreoffice-style-galaxy (<< 1:${oover}~),
+        libreoffice-style-galaxy (>= 1:${next-oover}~),
+        libreoffice-style-hicontrast (<< 1:${oover}~),
+        libreoffice-style-hicontrast (>= 1:${next-oover}~),
+        libreoffice-style-oxygen (<< 1:${oover}~),
+        libreoffice-style-oxygen (>= 1:${next-oover}~),
+        libreoffice-style-tango (<< 1:${oover}~),
+        libreoffice-style-tango (>= 1:${next-oover}~),
+        libreoffice-wiki-publisher (<< 1.1.2),
+        libreoffice-writer2latex (<< 1.0.2-9),
+        libreoffice-writer2xhtml (<< 1.0.2-9),
+        libtextcat-data (<< 2.2-8),
+        openoffice.org-common (<< 1:3.3.0~),
+        zotero-libreoffice-integration (<= 3.0.11.1-26-g08fb709-1)
+Replaces: libreoffice-emailmerge (<< 1:4.0.2~rc1),
+          openoffice.org-common (<< 1:3.3.0~)
+Description: office productivity suite -- arch-independent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ LibreOffice.
+
+Package: libreoffice-java-common
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, ${java:Depends}, ${misc:Depends}
+Breaks: libjaxe-java (<= 3.5-2), libreoffice-accessodf (<= 0.1-4)
+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.
+ .
+ This package contains the architecture-independent files of
+ the Java support for LibreOffice (Java classes, scripts, config snippets).
+
+Package: libreoffice-writer
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base-core (= ${binary:Version}) [!mips64],
+         libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libreoffice-math
+Replaces: libreoffice-core (<< 1:3.3.2-5)
+Suggests: fonts-crosextra-caladea,
+          fonts-crosextra-carlito,
+          libreoffice-base,
+          libreoffice-gcj,
+          ${java-common-depends},
+          ${java-runtime-depends}
+Description: office productivity suite -- word processor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreoffice-calc
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base-core (= ${binary:Version}) [!mips64],
+         libreoffice-core (= ${binary:Version}),
+         ${lpsolve-dep},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Suggests: ${opencl-sug}
+Description: office productivity suite -- spreadsheet
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice.
+
+Package: libreoffice-impress
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         libreoffice-draw (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: ${avmedia-be-depends}
+Suggests: bluez
+Description: office productivity suite -- presentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreoffice-draw
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: libreoffice-impress (<< 1:5.2.0-2)
+Breaks: libreoffice-impress (<< 1:5.2.0-2)
+Description: office productivity suite -- drawing
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreoffice-math
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: fonts-opensymbol,
+         libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: office productivity suite -- equation editor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreoffice-base-core
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: libreoffice-base (<< 1:3.5.3~rc2-1)
+Suggests: libreoffice-base
+Description: office productivity suite -- shared library
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains libdba, a common library of the LibreOffice
+ suite used by Base, Writer and Calc.
+ .
+ If you need full Base functionality (or actual database drivers), please
+ install libreoffice-base.
+
+Package: libreoffice-base
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Pre-Depends: ${misc:Pre-Depends}
+Section: database
+Depends: libreoffice-base-core (= ${binary:Version}),
+         libreoffice-base-drivers (= ${binary:Version}),
+         libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Suggests: libreoffice-gcj, libreoffice-report-builder, unixodbc
+Recommends: libreoffice-writer, ${java-common-depends}, ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:4.3.0~beta1)
+Description: office productivity suite -- database
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+
+Package: libreoffice-style-oxygen
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-tango, ${misc:Depends}
+Suggests: kde-icons-oxygen, oxygencursors
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Oxygen 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 "oxygen" symbol style, default style for KDE 4.
+
+Package: libreoffice-style-breeze
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-default, ${misc:Depends}
+Suggests: breeze-icon-theme
+Provides: libreoffice-style
+Description: office productivity suite -- Breeze 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 "breeze" symbol style, default style for KDE 5.
+
+Package: libreoffice-style-tango
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-default, ${misc:Depends}
+Suggests: tango-icon-theme
+Provides: libreoffice-style
+Replaces: libreoffice-common (<= 1:4.3.0~beta2-2)
+Description: office productivity suite -- Tango 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 "tango" symbol style, default style
+ for GTK+/Gnome.
+
+Package: libreoffice-style-hicontrast
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-default, ${misc:Depends}
+Suggests: gtk2-engines
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Hicontrast 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 "hicontrast" symbol style, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreoffice-style-sifr
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-breeze, ${misc:Depends}
+Provides: libreoffice-style
+Description: office productivity suite -- Sifr 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 "sifr" symbol style (an adaption of the Gnome
+ symbolic theme), needs to be manually  enabled in the LibreOffice option
+ menu.
+
+Package: libreoffice-style-galaxy
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}
+Provides: libreoffice-style, libreoffice-style-default
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Galaxy (Default) 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 "Galaxy" symbol style from Sun, normally used on
+ MS Windows (tm) and when not using GNOME or KDE, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreoffice-gnome
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: ${gnome-gtk-recommends}
+Suggests: libreoffice-evolution
+Section: gnome
+Enhances: libreoffice
+Provides: libreoffice-gtk-gnome
+Replaces: libreoffice-gtk (<< 1:5.0.0~rc2-1)
+Description: office productivity suite -- GNOME integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the GIO support.
+ .
+ You can extend the functionality of this by installing these packages:
+ .
+  * libreoffice-evolution: Evolution addressbook support
+  * evolution
+
+Package: python3-uno
+Section: python
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Enhances: libreoffice
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Conflicts: python-uno, python3-uno (<< 1:4.0.2~rc2), python3.3-uno
+Replaces: libreoffice-common (<< 1:4.4.0~beta2),
+          libreoffice-core (= 1:4.3.0~beta1-1),
+          python3-uno (<< 1:4.0.2~rc2),
+          python3.3-uno
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: libreoffice-officebean
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Section: java
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${java-common-depends},
+         ${java-runtime-depends},
+         ${java:Depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: office productivity suite -- Java bean
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the LibreOffice Office Bean for embedding
+ LibreOffice in custom Java applications.
+
+Package: libreoffice-script-provider-python
+Architecture: all
+Section: python
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common (>= 1:3.5.0~alpha0~),
+         libreoffice-core (>= 1:3.5.0~alpha0~),
+         ${misc:Depends},
+         ${python:Depends},
+         ${pyuno-depends}
+Breaks: libreoffice-common (<< 1:3.5~), libreoffice-core (<< 1:3.5~)
+Replaces: python-uno (<< 1:3.5.2-2), python3-uno (<< 1:3.5.2-2)
+Description: Python 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 Python.
+
+Package: libreoffice-script-provider-bsh
+Architecture: all
+Section: java
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common (>= 1:3.5.0~alpha0~),
+         libreoffice-core (>= 1:3.5.0~alpha0~),
+         ${java-common-depends},
+         ${java-runtime-depends},
+         ${java: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~)
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common (>= 1:3.5.0~alpha0~),
+         libreoffice-core (>= 1:3.5.0~alpha0~),
+         ${java-common-depends},
+         ${java-runtime-depends},
+         ${java: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-pdfimport
+Section: misc
+Priority: extra
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Breaks: libreoffice-common (<< 1:3.5~), libreoffice-core (<< 1:3.5~)
+Description: PDF Import component for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a component enabling LibreOffice to import PDF
+ Documents.
+
+Package: libreoffice-avmedia-backend-gstreamer
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Replaces: libreoffice-core (<< 1:4.2~)
+Provides: libreoffice-avmedia-backend
+Description: GStreamer backend for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a GStreamer backend for LibreOffices avmedia component
+ to play audio/video.
+
+Package: libreoffice-avmedia-backend-vlc
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core,
+         ${libvlc-dep} (>= 2.0.8),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Provides: libreoffice-avmedia-backend
+Description: VLC backend for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a VLC backend for LibreOffices avmedia component
+ to play audio/video.
+
+Package: libreoffice-sdbc-hsqldb
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core,
+         ${java-common-depends},
+         ${java-runtime-depends},
+         ${java:Depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: libreoffice-base (<< 1:4.2~)
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Section: database
+Enhances: libreoffice-base-drivers
+Description: HSQLDB SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The HSQLDB SDBC Driver allows one to use the HSQLDB embedded database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-base-drivers
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Section: database
+Suggests: libjtds-java,
+          libreoffice-mysql-connector | libmyodbc | libmysql-java,
+          libreoffice-sdbc-postgresql | odbc-postgresql | libpg-java,
+          libsqliteodbc | tdsodbc | mdbtools
+Recommends: libreoffice-sdbc-hsqldb [alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc]
+Replaces: libreoffice-base (<< 1:4.3.0-3), libreoffice-core (<< 1:4.2~)
+Breaks: libreoffice-base (<< 1:4.3.0-3)
+Description: Database connectivity drivers for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database connectivity drivers used by LibreOffices
+ database functionality:
+  - ODBC
+  - JDBC
+  - dBase
+  - Calc
+  - Flat files
+  - MySQL
+ .
+ You can extend this by installing:
+ .
+  * unixodbc: ODBC database support
+  * libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtools: ODBC
+    drivers for:
+    - MySQL
+    - PostgreSQL
+    - SQLite
+    - MS SQL / Sybase SQL
+    - *.mdb (JET / MS Access)
+  * libmysql-java | libpg-java | libjtds-java: JDBC Drivers
+    for:
+    - MySQL
+    - PostgreSQL
+    - MS SQL Server and Sybase
+  * libreoffice-sdbc-hsqldb: embedded HSQLDB SDBC Driver
+  * libreoffice-sdbc-postgresql: PostgreSQL SDBC Driver
+  * libreoffice-mysql-connector: "native" MySQL Connector
+Package: libreoffice-l10n-af
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-af
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-af | myspell-dictionary-af,
+          hyphen-af,
+          libreoffice-grammarcheck-af,
+          libreoffice-help-af,
+          mythes-af
+Description: office productivity suite -- Afrikaans 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
+ Afrikaans.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-am
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-am
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-am | myspell-dictionary-am,
+          hyphen-am,
+          libreoffice-grammarcheck-am,
+          libreoffice-help-am,
+          mythes-am
+Description: office productivity suite -- Amharic 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
+ Amharic.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ar
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-arabeyes,
+            libreoffice-core (>> ${base-version}) | language-support-translations-ar
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ar | myspell-dictionary-ar,
+          hyphen-ar,
+          libreoffice-grammarcheck-ar,
+          libreoffice-help-ar,
+          mythes-ar
+Description: office productivity suite -- Arabic 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
+ Arabic.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-as
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1),
+         ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-as
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-as | myspell-dictionary-as,
+          hyphen-as,
+          libreoffice-grammarcheck-as,
+          libreoffice-help-as,
+          mythes-as
+Description: office productivity suite -- Assamese 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
+ Assamese.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ast
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ast
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ast | myspell-dictionary-ast,
+          hyphen-ast,
+          libreoffice-grammarcheck-ast,
+          libreoffice-help-ast,
+          mythes-ast
+Description: office productivity suite -- Asturian 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
+ Asturian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-be
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-be
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-be | myspell-dictionary-be,
+          hyphen-be,
+          libreoffice-grammarcheck-be,
+          libreoffice-help-be,
+          mythes-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.
+ .
+ This package contains the localization of LibreOffice in
+ Belarussian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bg
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-bg
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-bg | myspell-dictionary-bg,
+          hyphen-bg,
+          libreoffice-grammarcheck-bg,
+          libreoffice-help-bg,
+          mythes-bg
+Description: office productivity suite -- Bulgarian 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
+ Bulgarian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bn
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-beng,
+            libreoffice-core (>> ${base-version}) | language-support-translations-bn
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-bn | myspell-dictionary-bn,
+          hyphen-bn,
+          libreoffice-grammarcheck-bn,
+          libreoffice-help-bn,
+          mythes-bn
+Description: office productivity suite -- Bengali 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
+ Bengali.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-br
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-br
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-br | myspell-dictionary-br,
+          hyphen-br,
+          libreoffice-grammarcheck-br,
+          libreoffice-help-br,
+          mythes-br
+Description: office productivity suite -- Breton 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
+ Breton.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bs
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-bs
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-bs | myspell-dictionary-bs,
+          hyphen-bs,
+          libreoffice-grammarcheck-bs,
+          libreoffice-help-bs,
+          mythes-bs
+Description: office productivity suite -- Bosnian 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
+ Bosnian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ca
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ca
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ca | myspell-dictionary-ca,
+          hyphen-ca,
+          libreoffice-grammarcheck-ca,
+          libreoffice-help-ca,
+          mythes-ca
+Description: office productivity suite -- Catalan 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
+ Catalan.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-cs
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-cs
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-cs | myspell-dictionary-cs,
+          hyphen-cs,
+          libreoffice-grammarcheck-cs,
+          libreoffice-help-cs,
+          mythes-cs
+Description: office productivity suite -- Czech 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
+ Czech.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-cy
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-cy
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-cy | myspell-dictionary-cy,
+          hyphen-cy,
+          libreoffice-grammarcheck-cy,
+          libreoffice-help-cy,
+          mythes-cy
+Description: office productivity suite -- Welsh 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
+ Welsh.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-da
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-da
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-da | myspell-dictionary-da,
+          hyphen-da,
+          libreoffice-grammarcheck-da,
+          libreoffice-help-da,
+          mythes-da
+Description: office productivity suite -- Danish 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
+ Danish.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-de
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-de
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-de | myspell-dictionary-de,
+          hyphen-de,
+          libreoffice-grammarcheck-de,
+          libreoffice-help-de,
+          mythes-de
+Description: office productivity suite -- German 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
+ German.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-dz
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-dzongkha,
+            libreoffice-core (>> ${base-version}) | language-support-translations-dz
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-dz | myspell-dictionary-dz,
+          hyphen-dz,
+          libreoffice-grammarcheck-dz,
+          libreoffice-help-dz,
+          mythes-dz
+Description: office productivity suite -- Dzongkha 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
+ Dzongkha.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-el
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-el
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-el | myspell-dictionary-el,
+          hyphen-el,
+          libreoffice-grammarcheck-el,
+          libreoffice-help-el,
+          mythes-el
+Description: office productivity suite -- Greek 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
+ Greek.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-en-gb
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-en-gb | myspell-dictionary-en-gb,
+          hyphen-en-gb,
+          libreoffice-grammarcheck-en-gb,
+          libreoffice-help-en-gb,
+          mythes-en-gb
+Description: office productivity suite -- English_british 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
+ English_british.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-en-za
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-en-za | myspell-dictionary-en-za,
+          hyphen-en-za,
+          libreoffice-grammarcheck-en-za,
+          libreoffice-help-en-za,
+          mythes-en-za
+Description: office productivity suite -- English_southafrican 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
+ English_southafrican.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-eo
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-eo
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-eo | myspell-dictionary-eo,
+          hyphen-eo,
+          libreoffice-grammarcheck-eo,
+          libreoffice-help-eo,
+          mythes-eo
+Description: office productivity suite -- Esperanto 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
+ Esperanto.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-es
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-es
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-es | myspell-dictionary-es,
+          hyphen-es,
+          libreoffice-grammarcheck-es,
+          libreoffice-help-es,
+          mythes-es
+Description: office productivity suite -- Spanish 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
+ Spanish.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-et
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-et
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-et | myspell-dictionary-et,
+          hyphen-et,
+          libreoffice-grammarcheck-et,
+          libreoffice-help-et,
+          mythes-et
+Description: office productivity suite -- Estonian 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
+ Estonian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-eu
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-eu
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-eu | myspell-dictionary-eu,
+          hyphen-eu,
+          libreoffice-grammarcheck-eu,
+          libreoffice-help-eu,
+          mythes-eu
+Description: office productivity suite -- Basque 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
+ Basque.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fa
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-farsiweb,
+            libreoffice-core (>> ${base-version}) | language-support-translations-fa
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-fa | myspell-dictionary-fa,
+          hyphen-fa,
+          libreoffice-grammarcheck-fa,
+          libreoffice-help-fa,
+          mythes-fa
+Description: office productivity suite -- Farsi 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
+ Farsi.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fi
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fi
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-fi | myspell-dictionary-fi | libreoffice-spellcheck-fi,
+          hyphen-fi | libreoffice-hyphenation-fi,
+          libreoffice-grammarcheck-fi,
+          libreoffice-help-fi,
+          mythes-fi
+Description: office productivity suite -- Finnish 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
+ Finnish.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fr
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-fr | myspell-dictionary-fr,
+          hyphen-fr,
+          libreoffice-grammarcheck-fr,
+          libreoffice-help-fr,
+          mythes-fr
+Description: office productivity suite -- French 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
+ French.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ga
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ga
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ga | myspell-dictionary-ga,
+          hyphen-ga,
+          libreoffice-grammarcheck-ga,
+          libreoffice-help-ga,
+          mythes-ga
+Description: office productivity suite -- Gaelic 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
+ Gaelic.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gd
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-gd
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-gd | myspell-dictionary-gd,
+          hyphen-gd,
+          libreoffice-grammarcheck-gd,
+          libreoffice-help-gd,
+          mythes-gd
+Description: office productivity suite -- Scottish_gaelic 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
+ Scottish_gaelic.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gl
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-gl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-gl | myspell-dictionary-gl,
+          hyphen-gl,
+          libreoffice-grammarcheck-gl,
+          libreoffice-help-gl,
+          mythes-gl
+Description: office productivity suite -- Galician 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
+ Galician.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gu
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-gujr,
+            libreoffice-core (>> ${base-version}) | language-support-translations-gu
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-gu | myspell-dictionary-gu,
+          hyphen-gu,
+          libreoffice-grammarcheck-gu,
+          libreoffice-help-gu,
+          mythes-gu
+Description: office productivity suite -- Gujarati 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
+ Gujarati.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gug
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-gug
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-gug | myspell-dictionary-gug,
+          hyphen-gug,
+          libreoffice-grammarcheck-gug,
+          libreoffice-help-gug,
+          mythes-gug
+Description: office productivity suite -- Guarani 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
+ Guarani.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-he
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: culmus,
+            libreoffice-core (>> ${base-version}) | language-support-translations-he
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-he | myspell-dictionary-he,
+          hyphen-he,
+          libreoffice-grammarcheck-he,
+          libreoffice-help-he,
+          mythes-he
+Description: office productivity suite -- Hebrew 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
+ Hebrew.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hi
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hi
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-hi | myspell-dictionary-hi,
+          hyphen-hi,
+          libreoffice-grammarcheck-hi,
+          libreoffice-help-hi,
+          mythes-hi
+Description: office productivity suite -- Hindi 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
+ Hindi.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hr
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-hr | myspell-dictionary-hr,
+          hyphen-hr,
+          libreoffice-grammarcheck-hr,
+          libreoffice-help-hr,
+          mythes-hr
+Description: office productivity suite -- Croatian 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
+ Croatian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hu
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hu
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-hu | myspell-dictionary-hu,
+          hyphen-hu,
+          libreoffice-grammarcheck-hu,
+          libreoffice-help-hu,
+          mythes-hu
+Description: office productivity suite -- Hungarian 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
+ Hungarian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-id
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-id
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-id | myspell-dictionary-id,
+          hyphen-id,
+          libreoffice-grammarcheck-id,
+          libreoffice-help-id,
+          mythes-id
+Description: office productivity suite -- Indonesian 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
+ Indonesian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-is
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-is
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-is | myspell-dictionary-is,
+          hyphen-is,
+          libreoffice-grammarcheck-is,
+          libreoffice-help-is,
+          mythes-is
+Description: office productivity suite -- Icelandic 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
+ Icelandic.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-it
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-it
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-it | myspell-dictionary-it,
+          hyphen-it,
+          libreoffice-grammarcheck-it,
+          libreoffice-help-it,
+          mythes-it
+Description: office productivity suite -- Italian 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
+ Italian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ja
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ja
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ja | myspell-dictionary-ja,
+          hyphen-ja,
+          libreoffice-grammarcheck-ja,
+          libreoffice-help-ja,
+          mythes-ja
+Description: office productivity suite -- Japanese 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
+ Japanese.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ka
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ka
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ka | myspell-dictionary-ka,
+          hyphen-ka,
+          libreoffice-grammarcheck-ka,
+          libreoffice-help-ka,
+          mythes-ka
+Description: office productivity suite -- Georgian 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
+ Georgian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-kk
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-kk
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-kk | myspell-dictionary-kk,
+          hyphen-kk,
+          libreoffice-grammarcheck-kk,
+          libreoffice-help-kk,
+          mythes-kk
+Description: office productivity suite -- Kazakh 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
+ Kazakh.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-km
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.5-12) | locales-all,
+         ${misc:Depends}
+Recommends: fonts-khmeros,
+            libreoffice-core (>> ${base-version}) | language-support-translations-km
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-km | myspell-dictionary-km,
+          hyphen-km,
+          libreoffice-grammarcheck-km,
+          libreoffice-help-km,
+          mythes-km
+Description: office productivity suite -- Khmer 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
+ Khmer.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ko
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ko
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ko | myspell-dictionary-ko,
+          hyphen-ko,
+          libreoffice-grammarcheck-ko,
+          libreoffice-help-ko,
+          mythes-ko
+Description: office productivity suite -- Korean 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
+ Korean.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-kmr
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-kmr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-kmr | myspell-dictionary-kmr,
+          hyphen-kmr,
+          libreoffice-grammarcheck-kmr,
+          libreoffice-help-kmr,
+          mythes-kmr
+Description: office productivity suite -- Kurmanji 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
+ Kurmanji.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-lt
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-lt
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-lt | myspell-dictionary-lt,
+          hyphen-lt,
+          libreoffice-grammarcheck-lt,
+          libreoffice-help-lt,
+          mythes-lt
+Description: office productivity suite -- Lithuanian 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
+ Lithuanian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-lv
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-lv
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-lv | myspell-dictionary-lv,
+          hyphen-lv,
+          libreoffice-grammarcheck-lv,
+          libreoffice-help-lv,
+          mythes-lv
+Description: office productivity suite -- Latvian 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
+ Latvian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mk
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-mk
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-mk | myspell-dictionary-mk,
+          hyphen-mk,
+          libreoffice-grammarcheck-mk,
+          libreoffice-help-mk,
+          mythes-mk
+Description: office productivity suite -- Macedonian 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
+ Macedonian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mn
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-mn
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-mn | myspell-dictionary-mn,
+          hyphen-mn,
+          libreoffice-grammarcheck-mn,
+          libreoffice-help-mn,
+          mythes-mn
+Description: office productivity suite -- Mongolian 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
+ Mongolian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ml
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-mlym,
+            libreoffice-core (>> ${base-version}) | language-support-translations-ml
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ml | myspell-dictionary-ml,
+          hyphen-ml,
+          libreoffice-grammarcheck-ml,
+          libreoffice-help-ml,
+          mythes-ml
+Description: office productivity suite -- Malayalam 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
+ Malayalam.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mr
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-deva,
+            libreoffice-core (>> ${base-version}) | language-support-translations-mr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-mr | myspell-dictionary-mr,
+          hyphen-mr,
+          libreoffice-grammarcheck-mr,
+          libreoffice-help-mr,
+          mythes-mr
+Description: office productivity suite -- Marathi 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
+ Marathi.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nb
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nb
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nb | myspell-dictionary-nb,
+          hyphen-nb,
+          libreoffice-grammarcheck-nb,
+          libreoffice-help-nb,
+          mythes-nb
+Description: office productivity suite -- Norwegian 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
+ Norwegian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ne
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-deva,
+            libreoffice-core (>> ${base-version}) | language-support-translations-ne
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ne | myspell-dictionary-ne,
+          hyphen-ne,
+          libreoffice-grammarcheck-ne,
+          libreoffice-help-ne,
+          mythes-ne
+Description: office productivity suite -- Nepalese 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
+ Nepalese.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nl
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nl | myspell-dictionary-nl,
+          hyphen-nl,
+          libreoffice-grammarcheck-nl,
+          libreoffice-help-nl,
+          mythes-nl
+Description: office productivity suite -- Dutch 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
+ Dutch.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nn
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nn
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nn | myspell-dictionary-nn,
+          hyphen-nn,
+          libreoffice-grammarcheck-nn,
+          libreoffice-help-nn,
+          mythes-nn
+Description: office productivity suite -- Norwegian_nynorsk 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
+ Norwegian_nynorsk.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nr
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1),
+         ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nr | myspell-dictionary-nr,
+          hyphen-nr,
+          libreoffice-grammarcheck-nr,
+          libreoffice-help-nr,
+          mythes-nr
+Description: office productivity suite -- Ndebele 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
+ Ndebele.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nso
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nso
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-nso | myspell-dictionary-nso,
+          hyphen-nso,
+          libreoffice-grammarcheck-nso,
+          libreoffice-help-nso,
+          mythes-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
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-oc
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-oc
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-oc | myspell-dictionary-oc,
+          hyphen-oc,
+          libreoffice-grammarcheck-oc,
+          libreoffice-help-oc,
+          mythes-oc
+Description: office productivity suite -- Occitan 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
+ Occitan.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-om
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-om
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-om | myspell-dictionary-om,
+          hyphen-om,
+          libreoffice-grammarcheck-om,
+          libreoffice-help-om,
+          mythes-om
+Description: office productivity suite -- Oromo 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
+ Oromo.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-or
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1),
+         ${misc:Depends}
+Recommends: fonts-orya,
+            libreoffice-core (>> ${base-version}) | language-support-translations-or
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-or | myspell-dictionary-or,
+          hyphen-or,
+          libreoffice-grammarcheck-or,
+          libreoffice-help-or,
+          mythes-or
+Description: office productivity suite -- Odia 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
+ Odia.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pa-in
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-guru,
+            libreoffice-core (>> ${base-version}) | language-support-translations-pa
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pa-in | myspell-dictionary-pa-in,
+          hyphen-pa-in,
+          libreoffice-grammarcheck-pa-in,
+          libreoffice-help-pa-in,
+          mythes-pa-in
+Description: office productivity suite -- Punjabi 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
+ Punjabi.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pl
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pl | myspell-dictionary-pl,
+          hyphen-pl,
+          libreoffice-grammarcheck-pl,
+          libreoffice-help-pl,
+          mythes-pl
+Description: office productivity suite -- Polish 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
+ Polish.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pt
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pt | myspell-dictionary-pt,
+          hyphen-pt,
+          libreoffice-grammarcheck-pt,
+          libreoffice-help-pt,
+          mythes-pt
+Description: office productivity suite -- Portuguese 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
+ Portuguese.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pt-br
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-pt-br | myspell-dictionary-pt-br,
+          hyphen-pt-br,
+          libreoffice-grammarcheck-pt-br,
+          libreoffice-help-pt-br,
+          mythes-pt-br
+Description: office productivity suite -- Portuguese_brazilian 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
+ Portuguese_brazilian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ro
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ro
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ro | myspell-dictionary-ro,
+          hyphen-ro,
+          libreoffice-grammarcheck-ro,
+          libreoffice-help-ro,
+          mythes-ro
+Description: office productivity suite -- Romanian 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
+ Romanian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ru
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ru
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ru | myspell-dictionary-ru,
+          hyphen-ru,
+          libreoffice-grammarcheck-ru,
+          libreoffice-help-ru,
+          mythes-ru
+Description: office productivity suite -- Russian 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
+ Russian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-rw
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.6) | locales-all (>= 2.3.6),
+         ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-rw
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-rw | myspell-dictionary-rw,
+          hyphen-rw,
+          libreoffice-grammarcheck-rw,
+          libreoffice-help-rw,
+          mythes-rw
+Description: office productivity suite -- Kinarwanda 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
+ Kinarwanda.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-si
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-si
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-si | myspell-dictionary-si,
+          hyphen-si,
+          libreoffice-grammarcheck-si,
+          libreoffice-help-si,
+          mythes-si
+Description: office productivity suite -- Sinhala 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
+ Sinhala.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sk
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sk
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sk | myspell-dictionary-sk,
+          hyphen-sk,
+          libreoffice-grammarcheck-sk,
+          libreoffice-help-sk,
+          mythes-sk
+Description: office productivity suite -- Slovak 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
+ Slovak.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sl
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sl
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sl | myspell-dictionary-sl,
+          hyphen-sl,
+          libreoffice-grammarcheck-sl,
+          libreoffice-help-sl,
+          mythes-sl
+Description: office productivity suite -- Slovenian 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
+ Slovenian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sr
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.6.ds1-5) | locales-all,
+         ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sr | myspell-dictionary-sr,
+          hyphen-sr,
+          libreoffice-grammarcheck-sr,
+          libreoffice-help-sr,
+          mythes-sr
+Description: office productivity suite -- Serbian 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
+ Serbian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ss
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.5-12) | locales-all,
+         ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ss
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ss | myspell-dictionary-ss,
+          hyphen-ss,
+          libreoffice-grammarcheck-ss,
+          libreoffice-help-ss,
+          mythes-ss
+Description: office productivity suite -- Swazi 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
+ Swazi.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-st
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-st
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-st | myspell-dictionary-st,
+          hyphen-st,
+          libreoffice-grammarcheck-st,
+          libreoffice-help-st,
+          mythes-st
+Description: office productivity suite -- Southern_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
+ Southern_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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sv
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sv
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-sv | myspell-dictionary-sv,
+          hyphen-sv,
+          libreoffice-grammarcheck-sv,
+          libreoffice-help-sv,
+          mythes-sv
+Description: office productivity suite -- Swedish 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
+ Swedish.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ta
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-taml,
+            libreoffice-core (>> ${base-version}) | language-support-translations-ta
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ta | myspell-dictionary-ta,
+          hyphen-ta,
+          libreoffice-grammarcheck-ta,
+          libreoffice-help-ta,
+          mythes-ta
+Description: office productivity suite -- Tamil 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
+ Tamil.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-te
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-telu,
+            libreoffice-core (>> ${base-version}) | language-support-translations-te
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-te | myspell-dictionary-te,
+          hyphen-te,
+          libreoffice-grammarcheck-te,
+          libreoffice-help-te,
+          mythes-te
+Description: office productivity suite -- Telugu 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
+ Telugu.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tg
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-tg
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-tg | myspell-dictionary-tg,
+          hyphen-tg,
+          libreoffice-grammarcheck-tg,
+          libreoffice-help-tg,
+          mythes-tg
+Description: office productivity suite -- Tajik 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
+ Tajik.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-th
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: fonts-thai-tlwg,
+            libreoffice-core (>> ${base-version}) | language-support-translations-th
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-th | myspell-dictionary-th,
+          hyphen-th,
+          libreoffice-grammarcheck-th,
+          libreoffice-help-th,
+          mythes-th
+Description: office productivity suite -- Thai 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
+ Thai.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tn
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.5-12) | locales-all,
+         ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-tn
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-tn | myspell-dictionary-tn,
+          hyphen-tn,
+          libreoffice-grammarcheck-tn,
+          libreoffice-help-tn,
+          mythes-tn
+Description: office productivity suite -- Tswana 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
+ Tswana.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tr
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-tr
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-tr | myspell-dictionary-tr | libreoffice-spellcheck-tr,
+          hyphen-tr,
+          libreoffice-grammarcheck-tr,
+          libreoffice-help-tr,
+          mythes-tr
+Description: office productivity suite -- Turkish 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
+ Turkish.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ts
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         locales (>= 2.3.5-12) | locales-all,
+         ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ts
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ts | myspell-dictionary-ts,
+          hyphen-ts,
+          libreoffice-grammarcheck-ts,
+          libreoffice-help-ts,
+          mythes-ts
+Description: office productivity suite -- Tsonga 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
+ Tsonga.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ug
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ug
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ug | myspell-dictionary-ug,
+          hyphen-ug,
+          libreoffice-grammarcheck-ug,
+          libreoffice-help-ug,
+          mythes-ug
+Description: office productivity suite -- Uighur 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
+ Uighur.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-uk
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-uk
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-uk | myspell-dictionary-uk,
+          hyphen-uk,
+          libreoffice-grammarcheck-uk,
+          libreoffice-help-uk,
+          mythes-uk
+Description: office productivity suite -- Ukrainian 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
+ Ukrainian.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-uz
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-uz
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-uz | myspell-dictionary-uz,
+          hyphen-uz,
+          libreoffice-grammarcheck-uz,
+          libreoffice-help-uz,
+          mythes-uz
+Description: office productivity suite -- Uzbek 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
+ Uzbek.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ve
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ve
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-ve | myspell-dictionary-ve,
+          hyphen-ve,
+          libreoffice-grammarcheck-ve,
+          libreoffice-help-ve,
+          mythes-ve
+Description: office productivity suite -- Venda 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
+ Venda.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-vi
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-vi
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-vi | myspell-dictionary-vi,
+          hyphen-vi,
+          libreoffice-grammarcheck-vi,
+          libreoffice-help-vi,
+          mythes-vi
+Description: office productivity suite -- Vietnamese 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
+ Vietnamese.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-xh
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-xh
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-xh | myspell-dictionary-xh,
+          hyphen-xh,
+          libreoffice-grammarcheck-xh,
+          libreoffice-help-xh,
+          mythes-xh
+Description: office productivity suite -- Xhosa 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
+ Xhosa.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zh-cn
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-zh-cn | myspell-dictionary-zh-cn,
+          hyphen-zh-cn,
+          libreoffice-grammarcheck-zh-cn,
+          libreoffice-help-zh-cn,
+          mythes-zh-cn
+Description: office productivity suite -- Chinese_simplified 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
+ Chinese_simplified.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zh-tw
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-zh-tw | myspell-dictionary-zh-tw,
+          hyphen-zh-tw,
+          libreoffice-grammarcheck-zh-tw,
+          libreoffice-help-zh-tw,
+          mythes-zh-tw
+Description: office productivity suite -- Chinese_traditional 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
+ Chinese_traditional.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zu
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, locales | locales-all, ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zu
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-zu | myspell-dictionary-zu,
+          hyphen-zu,
+          libreoffice-grammarcheck-zu,
+          libreoffice-help-zu,
+          mythes-zu
+Description: office productivity suite -- Zulu 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
+ Zulu.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-help-en-us
+Replaces: libreoffice-common (<< 1:3.0.0~dev300m28)
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-en-us,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-en,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- English_american help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ English_american.
+
+Package: libreoffice-help-ca
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ca
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-ca,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-ca,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Catalan help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Catalan.
+
+Package: libreoffice-help-cs
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-cs
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-cs,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-cs,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Czech help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Czech.
+
+Package: libreoffice-help-da
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-da
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-da,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-da,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Danish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Danish.
+
+Package: libreoffice-help-de
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-de
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-de,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-de,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- German help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ German.
+
+Package: libreoffice-help-dz
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-dz
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-dz,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-dz,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Dzongkha help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Dzongkha.
+
+Package: libreoffice-help-el
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-el
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-el,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-el,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Greek help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Greek.
+
+Package: libreoffice-help-en-gb
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-en
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-en-gb,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-en,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- English_british help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ English_british.
+
+Package: libreoffice-help-es
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-es
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-es,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-es,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Spanish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Spanish.
+
+Package: libreoffice-help-et
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-et
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-et,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-et,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Estonian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Estonian.
+
+Package: libreoffice-help-eu
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-eu
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-eu,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-eu,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Basque help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Basque.
+
+Package: libreoffice-help-fi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fi
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-fi,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-fi,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Finnish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Finnish.
+
+Package: libreoffice-help-fr
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-fr
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-fr,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-fr,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- French help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ French.
+
+Package: libreoffice-help-gl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-gl
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-gl,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-gl,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Galician help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Galician.
+
+Package: libreoffice-help-hi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hi
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-hi,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-hi,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Hindi help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Hindi.
+
+Package: libreoffice-help-hu
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-hu
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-hu,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-hu,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Hungarian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Hungarian.
+
+Package: libreoffice-help-it
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-it
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-it,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-it,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Italian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Italian.
+
+Package: libreoffice-help-ja
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ja
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-ja,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-ja,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Japanese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Japanese.
+
+Package: libreoffice-help-km
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-km
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-km,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-km,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Khmer help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Khmer.
+
+Package: libreoffice-help-ko
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ko
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-ko,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-ko,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Korean help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Korean.
+
+Package: libreoffice-help-nl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-nl
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-nl,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-nl,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Dutch help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Dutch.
+
+Package: libreoffice-help-om
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-om
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-om,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-om,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Oromo help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Oromo.
+
+Package: libreoffice-help-pl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pl
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-pl,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-pl,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Polish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Polish.
+
+Package: libreoffice-help-pt
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-pt,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-pt,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Portuguese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Portuguese.
+
+Package: libreoffice-help-pt-br
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-pt
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-pt-br,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-pt,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Portuguese_brazilian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Portuguese_brazilian.
+
+Package: libreoffice-help-ru
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-ru
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-ru,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-ru,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Russian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Russian.
+
+Package: libreoffice-help-sk
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sk
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-help-cs,
+         libreoffice-l10n-sk,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-sk,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Slovak help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Slovak.
+
+Package: libreoffice-help-sl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sl
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-sl,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-sl,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Slovenian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Slovenian.
+
+Package: libreoffice-help-sv
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-sv
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-sv,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-sv,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Swedish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Swedish.
+
+Package: libreoffice-help-tr
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-tr
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-tr,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-tr,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Turkish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Turkish.
+
+Package: libreoffice-help-vi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-vi
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-vi,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-vi,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Vietnamese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Vietnamese.
+
+Package: libreoffice-help-zh-cn
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-zh-cn,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-zh,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Chinese_simplified help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Chinese_simplified.
+
+Package: libreoffice-help-zh-tw
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-zh
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-zh-tw,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-zh,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- Chinese_traditional help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Chinese_traditional.
+
+Package: uno-libs3
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: ure (<< 1:5.0.0~rc2-1)
+Breaks: libreoffice-core (<< 1:4.3.0~), ure (<< 4.1.2~)
+Description: LibreOffice UNO runtime environment -- public shared libraries
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the public libraries:
+  - libuno_sal: System Abstraction Layer (C Interface)
+  - libuno_salhelpergcc3: additional C++ functionality for sal
+  - libuno_cppu: C++ UNO bridge (C Interface)
+  - libuno_cppuhelpergcc3: additional C++ functionality for cppu
+  - libuno_purpenvhelpergcc3: "purpose environments" helper
+
+Package: ure
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: uno-libs3 (= ${ure:Version}), ${misc:Depends}, ${shlibs:Depends}
+Suggests: java5-runtime
+Conflicts: cli-uno-bridge (<< 1:3.0.0~dev300m22)
+Replaces: libreoffice-common (<< 1:4.5.0),
+          libreoffice-java-common (<< 1:3.0.0~dev300m12)
+Breaks: libreoffice-common (<< 1:4.5.0),
+        libreoffice-core (<< 1:4.1.2~),
+        openoffice.org-core (<< 1:3.3~)
+Description: LibreOffice UNO runtime environment
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+
+Package: libreoffice-ogltrans
+Section: graphics
+Priority: extra
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         libreoffice-core,
+         libreoffice-impress,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Enhances: libreoffice-impress
+Breaks: ure (<< 1.5.1+OOo3.1.1-15)
+Conflicts: libreoffice-gtk3 (<< 1:5.2.4~rc2)
+Description: LibreOffice Impress extension for slide transitions using OpenGL
+ LibreOffice is a full-featured office productivity suite that provide
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the extension making LibreOffice able to use
+ OpenGL for slide transitions in Impress.
+
+Package: libreoffice-wiki-publisher
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}
+Depends: libreoffice-core (>= 1:3.4~),
+         ${java-common-depends},
+         ${java-runtime-depends},
+         ${java:Depends},
+         ${misc:Depends}
+Enhances: libreoffice-writer
+Conflicts: libreoffice-common (<< 1:3.5~),
+           libreoffice-core (<< 1:3.5~),
+           ure (<< 1.5.1+OOo3.1.1-15)
+Suggests: mediawiki
+Description: LibreOffice extension for working with MediaWiki articles
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to create/edit/publish MediaWiki
+ articles with LibreOffice
+Homepage: http://extensions.services.openoffice.org/project/wikipublisher
+
+Package: libreoffice-report-builder
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}, ${misc:Pre-Depends}
+Depends: libreoffice-core,
+         libreoffice-java-common,
+         libreoffice-report-builder-bin (>= ${base-version}),
+         ${java:Depends},
+         ${misc:Depends},
+         ${report-builder-jar-depends}
+Conflicts: libreoffice-common (<< 1:3.5~),
+           libreoffice-core (<< 1:3.5~),
+           ure (<< 1.5.1+OOo3.1.1-15)
+Provides: libreoffice-reportdesigner
+Enhances: libreoffice-base
+Description: LibreOffice component for building database reports
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the report builder:
+  "Create with the Sun Report Builder stylish, smart-looking database reports.
+  The flexible report editor can define group and page headers as well as
+  group and page footers and even calculation fields are available to
+  accomplish complex database reports."
+
+Package: libreoffice-report-builder-bin
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base, libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Description: LibreOffice component for building database reports -- libraries
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder component.
+
+Package: libreoffice-nlpsolver
+Architecture: all
+Depends: libreoffice-calc (>= 1:3.0~),
+         libreoffice-core (>= 1:3.3~),
+         ${java-common-depends},
+         ${java-runtime-depends},
+         ${misc:Depends}
+Section: math
+Priority: extra
+Description: "Solver for Nonlinear Programming" extension for LibreOffice
+ By default LibreOffice Calc ships with a solver engine for linear
+ programming only. This allows the optimization of models to a certain degree.
+ However, if the formulas or constraints become more complex,
+ nonlinear programming is required. That missing gap is now filled by the
+ Solver for Nonlinear Programming extension.
+ .
+ Currently it incorporates two Evolutionary Algorithms which are able to
+ handle floating point and integer variables as well as nonlinear constraints.
+
+Package: fonts-opensymbol
+Section: fonts
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: fontconfig
+Replaces: ttf-opensymbol
+Provides: ttf-opensymbol
+Description: OpenSymbol TrueType font
+ This package contains the OpenSymbol TrueType font included in
+ LibreOffice. This font contains symbols (like fonts as Wingdings(tm)),
+ bullets (needed for bullets in LibreOffice) and non-latin character
+
+Package: libreoffice-dev
+Section: devel
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         libreoffice-dev-common (= ${source:Version}),
+         ${idlc-cpp-depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: g++, ${java-common-depends}, ${java-runtime-depends}
+Suggests: libmythes-dev, libreoffice-dev-doc, libreofficekit-dev
+Replaces: libreoffice-common (<< 1:4.1.0~beta1),
+          libreoffice-core (<< 1:4.1.0~beta1),
+          libreoffice-dev-common (<< 1:5.2.6-2)
+Conflicts: libreoffice (<< 1:5.2.5-2~), libreoffice-dev-doc (<< 1:5.2.5-2~)
+Breaks: libreoffice-dev-common (<< 1:5.2.6-2)
+Description: office productivity suite -- SDK -- architecture-dependent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-dependent) files needed to build
+ plugins/add-ons for LibreOffice (build tools, libraries, arch-dependent
+ includes, ...).
+ .
+ It also contains the gengal and ui-previewer utilities.
+
+Package: libreoffice-dev-common
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}
+Replaces: libreoffice-dev (<< 1:5.2.0~)
+Breaks: libreoffice-dev (<< 1:5.2.0~)
+Conflicts: libreoffice (<< 1:5.2.5-2~)
+Description: office productivity suite -- SDK -- architecture-independent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-independent) files needed to build
+ plugins/add-ons for LibreOffice (includes, IDL files, ...)
+
+Package: libreoffice-dev-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libreoffice-dev (= ${binary:Version}), www-browser
+Conflicts: libreoffice (<< 1:5.2.5-2~),
+           libreoffice-dev (<= 1:5.0.3~rc1-2),
+           openoffice.org-dev-doc
+Description: office productivity suite -- SDK documentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the documentation of the LibreOffice SDK:
+ .
+  * C++/Java API reference
+  * IDL reference
+  * C++/Java/Basic examples
+
+Package: libreofficekit-dev
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: gir1.2-lokdocview-0.1, libgtk-3-dev
+Recommends: libreoffice-core, libreofficekit-data
+Description: LibreOfficeKit -- headers
+ LibreOfficeKit can be used for accessing LibreOffice functionality through
+ C/C++, without any need to use UNO.
+ .
+ For now it only offers document conversion (in addition to an experimental
+ tiled rendering API).
+ .
+ This package contains the headers needed for using LibreOfficeKit.
+
+Package: libreoffice-gtk2
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libreoffice-style-tango
+Section: gnome
+Enhances: libreoffice
+Replaces: libreoffice-gtk (<< 1:5.2.0~)
+Breaks: libreoffice-gtk (<< 1:5.2.0~)
+Conflicts: libgtk2.0-0 (= 2.12.10-1) [amd64]
+Description: office productivity suite -- GTK+ 2 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 2 and a Gtk/GNOMEish File Picker and print dialog when running
+ under GNOME.
+
+Package: libreoffice-gtk
+Architecture: all
+Section: oldlibs
+Priority: extra
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-gtk2, libreoffice-systray, ${misc:Depends}
+Description: transitional package to upgrade to libreoffice-gtk2/-systray
+ This package used to contain the Gtk2 integration (and the systray
+ "Quickstarter") for LibreOffice.
+ .
+ It has been renamed to libreoffice-gtk2 (and the systray "Quickstarter"
+ split out to libreoffice-systray).
+ .
+ You can safely remove this package.
+
+Package: libreoffice-systray
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Section: misc
+Priority: extra
+Replaces: libreoffice-common (<< 1:5.1.2-3), libreoffice-gtk (<< 1:5.1.2-3)
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: LibreOffice "Quickstarter" for the desktop notification area
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package provides a "QuickStarter" for the notification area of desktops.
+
+Package: libreoffice-gtk3
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libreoffice-style-tango
+Suggests: libreofficekit-data
+Section: gnome
+Enhances: libreoffice
+Description: office productivity suite -- GTK+ 3 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 3 and Gtk/GNOMEish print dialog when running under GNOME.
+
+Package: gir1.2-lokdocview-0.1
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Section: introspection
+Depends: liblibreofficekitgtk (= ${binary:Version}),
+         ${gir:Depends},
+         ${misc:Depends}
+Description: GTK3 widget wrapping LibreOffice functionality - introspection
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains the Introspection data.
+
+Package: liblibreofficekitgtk
+Section: gnome
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreofficekit-data, ${misc:Depends}, ${shlibs:Depends}
+Replaces: libreoffice-gtk3 (<< 1:5.2.0~)
+Breaks: libreoffice-gtk3 (<< 1:5.2.0~)
+Recommends: libreoffice-gtk3
+Description: GTK3 widget wrapping LibreOffice functionality
+ This package contains a (basic) GTK+ document viewer widget (used
+ by e.g. LOKDocView)
+
+Package: libreofficekit-data
+Architecture: all
+Section: web
+Depends: ${misc:Depends}
+Recommends: gir1.2-lokdocview-0.1
+Description: common data for LOKDocView
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains architecture-independent data (e.g. the selection
+ handlers).
+
+Package: libreoffice-kde
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: ${kde-iconset-dep}
+Suggests: kmail, konqueror
+Section: kde
+Enhances: libreoffice
+Replaces: libreoffice-core (= 1:3.5.0~beta2-1),
+          libreoffice-core (= 1:4.3.0~beta1-1),
+          openoffice.org-kde (<< 1:3.3.0~)
+Description: office productivity suite -- KDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the KDE plugin for drawing OOo's widgets with
+ KDE/Qt and a KDEish File Picker when running under KDE.
+ You can extend the functionality of this by installing these packages:
+ .
+  * konqueror / kmail
+
+Package: libreoffice-sdbc-postgresql
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (>= 1:3.5.0~beta), ${misc:Depends}, ${shlibs:Depends}
+Suggests: postgresql (>= 8.4)
+Breaks: ure (<< 1.5.1+OOo3.1.1-15)
+Enhances: libreoffice-base-drivers
+Description: PostgreSQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The PostgreSQL SDBC Driver allows one to use the PostgreSQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+Homepage: http://wiki.documentfoundation.org/PostgreSQL-SDBC
+
+Package: libreoffice-mysql-connector
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Suggests: default-mysql-server | virtual-mysql-server
+Conflicts: libreoffice-common (<< 1:3.5~),
+           libreoffice-core (<< 1:3.5~),
+           ure (<< 1.5.1+OOo3.1.1-15)
+Homepage: http://extensions.services.openoffice.org/en/project/mysql_connector
+Description: MariaDB/MySQL Connector extension for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The MariaDB/MySQL Connector extension allows one to use the MariaDB or MySQL
+ database from LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-evolution
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
+Section: gnome
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base,
+         libreoffice-common (>= 1:3.4.0~),
+         libreoffice-core (= ${binary:Version}),
+         ${libebook-dep},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: evolution
+Breaks: ure (<< 1.5.1+OOo3.1.1-15)
+Replaces: libreoffice-common (<< 1:3.3.3-2~)
+Description: office productivity suite -- Evolution addressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access Evolution address books.
+ You need to install evolution separately.
+
+Package: libreoffice-subsequentcheckbase
+Section: libs
+Priority: extra
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${java:Depends}, ${misc:Depends}
+Description: LibreOffice java test libraries
+ LibreOffice subsequentchecks integration test suite
+
+Package: libreoffice-librelogo
+Section: misc
+Architecture: all
+Depends: libreoffice-core (>= 1:3.4~),
+         libreoffice-script-provider-python,
+         libreoffice-writer,
+         ${misc:Depends}
+Homepage: http://librelogo.org
+Description: Logo-like progamming language for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains Librelogo, which is a pyuno-based Logo-like progamming
+ language with interactive vectorgraphics for education and DTP
+  - basic Logo syntax for back compatibility with educational Logo systems
+  - interactive vectorgraphics in LibreOffice Writer
+  - native commands (easily translatable)
+  - Python data structures (list, tuple, set, dictionary) and other Python
+    features
+
diff --git a/debian/control.debug.in b/debian/control.debug.in
new file mode 100644 (file)
index 0000000..1802f3f
--- /dev/null
@@ -0,0 +1,61 @@
+Package: libreoffice-dbg
+Section: debug
+Architecture: %OOO_ARCHS%
+Priority: extra
+Depends: libreoffice-core (= ${binary:Version}) | libreoffice-dev (= ${binary:Version}) | libreoffice-gnome (= ${binary:Version}) | libreoffice-kde (= ${binary:Version}) | libreoffice-calc (= ${binary:Version}) | libreoffice-base-core (= ${binary:Version}) | libreoffice-base (= ${binary:Version}) | libreoffice-impress (= ${binary:Version}) | libreoffice-draw (= ${binary:Version}) | libreoffice-writer (= ${binary:Version}) | python3-uno (= ${binary:Version}) | libreoffice-ogltrans (= ${binary:Version}),
+         ${misc:Depends}
+Recommends: ure-dbg, gdb, ${python-six-recommends}
+Suggests: ${dbg-dbg-suggests}
+Pre-Depends: dpkg (>= 1.15.6), ${misc:Pre-Depends}
+Description: office productivity suite -- debug symbols
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the debug symbols of all LibreOffice and
+ LibreOffice SDK components.
+
+Package: uno-libs3-dbg
+Section: debug
+Priority: extra
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: uno-libs3 (= ${ure:Version}), ${misc:Depends}
+Replaces: ure-dbg (<< 4.0.3-2)
+Recommends: gdb, ${python-six-recommends}
+Description: LibreOffice UNO runtime environment -- public shared library debug symbols
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the (detached) debug symbols for the public libraries:
+  - libuno_sal: System Abstraction Layer (C Interface)
+  - libuno_salhelpergcc3: additional C++ functionality for sal
+  - libuno_cppu: C++ UNO bridge (C Interface)
+  - libuno_cppuhelpergcc3: additionl C++ functionality for cppu
+  - libuno_purpenvhelpergcc3: "purpose environments" helper
+
+Package: ure-dbg
+Section: debug
+Priority: extra
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: uno-libs3-dbg (= ${ure:Version}),
+         ure (= ${ure:Version}),
+         ${misc:Depends}
+Description: LibreOffice UNO runtime environment -- debug symbols
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the (detached) debug symbols for the URE.
+
diff --git a/debian/control.evolution.in b/debian/control.evolution.in
new file mode 100644 (file)
index 0000000..022ab82
--- /dev/null
@@ -0,0 +1,20 @@
+Package: libreoffice-evolution
+Architecture: %OOO_BASE_ARCHS%
+Section: gnome
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base,
+         libreoffice-common (>= 1:3.4.0~),
+         libreoffice-core (= ${binary:Version}),
+         ${libebook-dep},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: evolution
+Breaks: ure (<< 1.5.1+OOo3.1.1-15)
+Replaces: libreoffice-common (<< 1:3.3.3-2~)
+Description: office productivity suite -- Evolution addressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access Evolution address books.
+ You need to install evolution separately.
+
diff --git a/debian/control.firebird.in b/debian/control.firebird.in
new file mode 100644 (file)
index 0000000..84b04de
--- /dev/null
@@ -0,0 +1,13 @@
+Package: libreoffice-sdbc-firebird
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${shlibs:Depends}, ${misc:Depends}
+Architecture: %OOO_LE_ARCHS%
+Section: database
+Enhances: libreoffice-base-drivers
+Description: Firebird SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Firebird SDBC Driver allows one to use the Firebird database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
diff --git a/debian/control.fonts.in b/debian/control.fonts.in
new file mode 100644 (file)
index 0000000..f52165d
--- /dev/null
@@ -0,0 +1,13 @@
+Package: fonts-opensymbol
+Section: fonts
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: fontconfig
+Replaces: ttf-opensymbol
+Provides: ttf-opensymbol
+Description: OpenSymbol TrueType font
+ This package contains the OpenSymbol TrueType font included in
+ LibreOffice. This font contains symbols (like fonts as Wingdings(tm)),
+ bullets (needed for bullets in LibreOffice) and non-latin character
+
diff --git a/debian/control.gcj.in b/debian/control.gcj.in
new file mode 100644 (file)
index 0000000..9baaace
--- /dev/null
@@ -0,0 +1,20 @@
+Package: libreoffice-gcj
+Architecture: %OOO_GCJ_ARCHS%
+Section: java
+Depends: gcj-jre,
+         libreoffice-core (= ${binary:Version}),
+         libreoffice-java-common (= ${source:Version}),
+         ${java-gcj-depends},
+         ${java:Depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Enhances: libreoffice-base, libreoffice-writer
+Description: office productivity suite -- Java libraries for GIJ
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the .jars from libreoffice-java-common compiled to
+ native to make the Java features of LibreOffice faster when using gij.
+ .
+ This package has NO effect with Suns/Blackdowns/IBMs/etc. JDK.
+
diff --git a/debian/control.gtk2.in b/debian/control.gtk2.in
new file mode 100644 (file)
index 0000000..91db4cc
--- /dev/null
@@ -0,0 +1,20 @@
+Package: libreoffice-gtk2
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libreoffice-style-tango
+Section: gnome
+Enhances: libreoffice
+Replaces: libreoffice-gtk (<< 1:5.2.0~)
+Breaks: libreoffice-gtk (<< 1:5.2.0~)
+Conflicts: libgtk2.0-0 (= 2.12.10-1) [amd64]
+Description: office productivity suite -- GTK+ 2 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 2 and a Gtk/GNOMEish File Picker and print dialog when running
+ under GNOME.
+
diff --git a/debian/control.gtk3.in b/debian/control.gtk3.in
new file mode 100644 (file)
index 0000000..ce890bb
--- /dev/null
@@ -0,0 +1,50 @@
+Package: libreoffice-gtk3
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libreoffice-style-tango
+Suggests: libreofficekit-data
+Section: gnome
+Enhances: libreoffice
+Description: office productivity suite -- GTK+ 3 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 3 and Gtk/GNOMEish print dialog when running under GNOME.
+
+Package: gir1.2-lokdocview-0.1
+Architecture: %OOO_ARCHS%
+Section: introspection
+Depends: ${gir:Depends}, ${misc:Depends}, liblibreofficekitgtk (= ${binary:Version})
+Description: GTK3 widget wrapping LibreOffice functionality - introspection
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains the Introspection data.
+
+Package: liblibreofficekitgtk
+Section: gnome
+Architecture: %OOO_ARCHS%
+Depends: ${shlibs:Depends}, ${misc:Depends}, libreofficekit-data
+Replaces: libreoffice-gtk3 (<< 1:5.2.0~)
+Breaks: libreoffice-gtk3 (<< 1:5.2.0~)
+Recommends: libreoffice-gtk3
+Description: GTK3 widget wrapping LibreOffice functionality
+ This package contains a (basic) GTK+ document viewer widget (used
+ by e.g. LOKDocView)
+
+Package: libreofficekit-data
+Architecture: all
+Section: web
+Depends: ${misc:Depends}
+Recommends: gir1.2-lokdocview-0.1
+Description: common data for LOKDocView
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains architecture-independent data (e.g. the selection
+ handlers).
+
diff --git a/debian/control.help.in b/debian/control.help.in
new file mode 100644 (file)
index 0000000..d15ca36
--- /dev/null
@@ -0,0 +1,17 @@
+Package: libreoffice-help-@LCODE@
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-@CCODE@
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-@LCODE@,
+         libreoffice-style-default,
+         libreoffice-writer | language-support-translations-@CCODE@,
+         ${misc:Depends}
+Provides: libreoffice-help-${help-l10n-virtual-version}
+Description: office productivity suite -- @LNAME@ help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ @LNAME@.
+
diff --git a/debian/control.in b/debian/control.in
new file mode 100644 (file)
index 0000000..7342424
--- /dev/null
@@ -0,0 +1,770 @@
+Source: libreoffice
+Section: editors
+Priority: optional
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>, Chris Halls <halls@debian.org>
+Build-Depends: %BUILD_DEPS%,
+Build-Depends-Indep: fdupes, %BUILD_DEPS_INDEP%
+Build-Conflicts: ant (= 1.8.0-1) [%OOO_GCJ_JDK_ARCHS%],
+                 ant (= 1.8.0-2) [%OOO_GCJ_JDK_ARCHS%],
+                 ant (= 1.8.0-3) [%OOO_GCJ_JDK_ARCHS%],
+                 flex (= 2.5.34-1) [amd64],
+                 g++-4.6 (= 4.6.1-10),
+                 g++-4.6 (= 4.6.1-11),
+                 g++-4.7 (<< 4.7.1-3),
+                 gcj-4.2 (= 4.2.2-6),
+                 gjdoc (= 0.7.8-2),
+                 libboost1.39-dev (<< 1.39.0-2),
+                 libc0.1-dev (= 2.13-26) [kfreebsd-i386 kfreebsd-amd64],
+                 libc6-dev (= 2.6.1-3) [i386 amd64],
+                 libc6-dev (= 2.6.1-4) [i386 amd64],
+                 libcairo2 (= 1.4.8-1),
+                 libxul-dev (= 1.8.0.13~pre070720-0etch1),
+                 nvidia-glx-dev,
+                 nvidia-glx-legacy-dev,
+                 qt3-dev-tools,
+                 amd-libopencl1,
+                 nvidia-libopencl1
+Standards-Version: 3.9.4
+Vcs-Git: https://anonscm.debian.org/git/pkg-openoffice/libreoffice.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-openoffice/libreoffice.git
+Bugs: @BUGS@
+Homepage: http://www.libreoffice.org
+
+Package: libreoffice
+Architecture: %OOO_ARCHS%
+Section: metapackages
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base%OOO_NO_BASE_ARCHS%,
+         libreoffice-calc,
+         libreoffice-core (= ${binary:Version}),
+         libreoffice-draw,
+         libreoffice-impress,
+         libreoffice-math,
+         libreoffice-report-builder-bin%OOO_NO_REPORTDESIGN_ARCHS%,
+         libreoffice-writer,
+         ${avmedia-be-depends},
+         ${dejavu-depends},
+         ${java-common-depends},
+         ${misc:Depends},
+         ${pyuno-depends}
+Recommends: fonts-sil-gentium-basic,
+            fonts-crosextra-caladea,
+            fonts-crosextra-carlito,
+            fonts-linuxlibertine,
+            libreoffice-script-provider-bsh,
+            libreoffice-script-provider-js,
+            libreoffice-script-provider-python,
+            libreoffice-ogltrans,
+            libreoffice-librelogo,
+            libreoffice-nlpsolver,
+            libreoffice-pdfimport,
+            libreoffice-report-builder%OOO_NO_REPORTDESIGN_ARCHS%,
+            libreoffice-wiki-publisher, 
+            libreoffice-sdbc-postgresql
+Suggests: cups-bsd,
+          hunspell-dictionary,
+          hyphen-hyphenation-patterns,
+          iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser,
+          imagemagick | graphicsmagick-imagemagick-compat,
+          libgl1,
+          libreoffice-grammarcheck,
+          libreoffice-help-${help-l10n-virtual-version},
+          libreoffice-l10n-${help-l10n-virtual-version},
+          libsane,
+          libxrender1,
+          myspell-dictionary,
+          mythes-thesaurus,
+          openclipart2-libreoffice | openclipart-libreoffice,
+          pstoedit,
+          unixodbc,
+          ${gstreamer-plugins-suggests},
+          ${java-runtime-depends},
+          ${ooo-officebean-dep},
+          %LO-DESKTOP-INTEGRATION%
+Conflicts: libreoffice-dev (<= 1:5.0.3~rc1-2), libreoffice-dev-doc (<= 1:5.0.3~rc1-2)
+Description: office productivity suite (metapackage)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+  * libreoffice-writer: Word processor
+  * libreoffice-calc: Spreadsheet
+  * libreoffice-impress: Presentation
+  * libreoffice-draw: Drawing
+  * libreoffice-base: Database
+  * libreoffice-math: Equation editor
+ It also recommends additional packages (e.g. fonts) in order to match an
+ upstream LibreOffice install as closely as possible.
+ .
+ You can extend the functionality of LibreOffice by installing these
+ packages:
+  * hunspell-*/myspell-*: Hunspell/Myspell dictionaries
+    for use with LibreOffice
+  * libreoffice-l10n-*: UI interface translation
+  * libreoffice-help-*: User help
+  * mythes-*: Thesauri for the use with LibreOffice
+  * hyphen-*: Hyphenation patterns for LibreOffice
+  * libreoffice-gtk(2|3): Gtk UI Plugin, GNOME File Picker support
+  * libreoffice-gnome: GIO backend
+  * unixodbc: ODBC database support
+  * cups-bsd: Allows LibreOffice to detect your CUPS printer queues
+    automatically
+  * libsane: Use your sane-supported scanner with LibreOffice
+  * libxrender1: Speed up display by using Xrender library
+  * libgl1: OpenGL support
+  * openclipart-libreoffice: Open Clip Art Gallery with LibreOffice index
+    files
+  * iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser:
+    Mozilla profile with Certificates needed for XML Security...
+  * openjdk-6-jre | gcj-jre | java5-runtime:
+    Java Runtime Environment for use with LibreOffice
+  * pstoedit / imagemagick: helper tools for EPS thumbnails
+  * gstreamer0.10-plugins-*: GStreamer plugins for use with LibreOffices
+    media backend
+  * libpaper-utils: papersize detection support via paperconf
+
+Package: libreoffice-l10n-za
+Section: metapackages
+Architecture: all
+Pre-Depends: ${misc:Pre-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.
+ .
+ This package is a metapackage installing l10n packages for all 11 South
+ African languages.
+
+Package: libreoffice-l10n-in
+Section: metapackages
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-l10n-as,
+         libreoffice-l10n-bn,
+         libreoffice-l10n-gu,
+         libreoffice-l10n-hi,
+         libreoffice-l10n-ml,
+         libreoffice-l10n-mr,
+         libreoffice-l10n-or,
+         libreoffice-l10n-pa-in,
+         libreoffice-l10n-ta,
+         libreoffice-l10n-te,
+         ${misc:Depends}
+Recommends: fonts-indic
+Description: office productivity suite -- Indic language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all available
+ indic languages.
+
+Package: libreoffice-core
+Architecture: %OOO_ARCHS%
+Depends: fontconfig,
+         fonts-opensymbol,
+         libreoffice-common (>> ${base-version}),
+         ure (>= 4.2~),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libpaper-utils
+Breaks: cli-uno-bridge (<< 1:3.0.0~dev300m22),
+        hunspell-ar (<< 0.0.0+20080110-1.1),
+        hunspell-da (<< 1:3.1.0-3),
+        hunspell-de-at (<< 20071211-2),
+        hunspell-de-ch (<< 20071211-2),
+        hunspell-de-de (<< 20071211-2),
+        hunspell-de-med (<< 20090825-1),
+        hunspell-en-ca (<< 1:3.1.0-3),
+        hunspell-en-us (<< 20070829-3),
+        hunspell-fr (<< 1:3.1.0-3),
+        hunspell-gl-es (<< 2.2a-6),
+        hunspell-hu (<< 1:3.1.0-3),
+        hunspell-ko (<< 0.3.3-1),
+        hunspell-ne (<< 1:3.1.0-3),
+        hunspell-se (<< 1.0~beta6.20081222-1.1),
+        hunspell-sh (<< 1:3.1.0-3),
+        hunspell-sr (<< 1:3.1.0-3),
+        hunspell-uz (<< 0.6-3.1),
+        hunspell-vi (<< 1:3.1.0-3),
+        libcairo2 (= 1.4.8-1),
+        libicu38 (= 3.8~d01-1),
+        libreoffice-base (<< ${binary:Version}),
+        libreoffice-calc (<< ${binary:Version}),
+        libreoffice-common (<< 1:3.6.1~rc1),
+        libreoffice-dev (<< ${binary:Version}),
+        libreoffice-draw (<< ${binary:Version}),
+        libreoffice-evolution (<< ${binary:Version}),
+        libreoffice-evolution (<< 1:3.4.1~),
+        libreoffice-gnome (<< ${binary:Version}),
+        libreoffice-gtk2 (<< ${binary:Version}),
+        libreoffice-gtk3 (<< ${binary:Version}),
+        libreoffice-impress (<< ${binary:Version}),
+        libreoffice-kab (<< 1:3.4.1~),
+        libreoffice-kde (<< ${binary:Version}),
+        libreoffice-officebean (<< ${binary:Version}),
+        libreoffice-presentation-minimizer (<< 1:4.2~),
+        libreoffice-sdbc-postgresql (<< 0.8.1~),
+        libreoffice-style-andromeda (<< 1:3.3.0-1),
+        libreoffice-style-crystal (<< 1:3.3.0-1),
+        libreoffice-style-galaxy (<< 1:3.3.0-1),
+        libreoffice-style-hicontrast (<< 1:3.3.0-1),
+        libreoffice-style-oxygen (<< 1:3.3.0-1),
+        libreoffice-style-tango (<< 1:3.3.0-1),
+        libreoffice-writer (<< ${binary:Version}),
+        mozilla-libreoffice (<< 1:3.5.0~beta~),
+        mozilla-plugin-vlc (<< 1.0),
+        myspell-af (<< 1:3.1.0-3),
+        myspell-ca (<< 0.6-8),
+        myspell-cs-cz (<< 20040229-4.1),
+        myspell-da (<< 1.6.18-1.1),
+        myspell-de-at (<< 20071211-2),
+        myspell-de-ch (<< 20071211-2),
+        myspell-de-de (<< 20071211-2),
+        myspell-de-de-oldspell (<< 1:2-25.1),
+        myspell-el-gr (<< 0.3-1.1),
+        myspell-en-au (<< 2.1-5),
+        myspell-en-gb (<< 1:3.1.0-3),
+        myspell-en-us (<< 1:3.1.0-3),
+        myspell-en-za (<< 1:3.1.0-3),
+        myspell-eo (<< 2.1.2000.02.25-41),
+        myspell-es (<< 1.10-7),
+        myspell-et (<< 1:20030606-12.1),
+        myspell-fa (<< 0.20070816-2),
+        myspell-fi (<< 0.7-17.2),
+        myspell-fo (<< 0.2.36-3),
+        myspell-fr (<< 1.4-25),
+        myspell-fr-gut (<< 1:1.0-26.1),
+        myspell-ga (<< 2.0-19),
+        myspell-gd (<< 0.50-7),
+        myspell-gv (<< 0.50-8),
+        myspell-hr (<< 20060617-2),
+        myspell-hu (<< 0.99.4-1.2),
+        myspell-hy (<< 0.10.1-1.1),
+        myspell-it (<< 1:3.1.0-3),
+        myspell-ku (<< 0.20.0-1.1),
+        myspell-lv (<< 0.7.3-3.1),
+        myspell-nb (<< 2.0.10-3.1),
+        myspell-ne (<< 1.0-4.1),
+        myspell-nl (<< 1:1.10-3),
+        myspell-nn (<< 2.0.10-3.1),
+        myspell-pl (<< 20090830-1),
+        myspell-pt-br (<< 2009.03.30-1.1),
+        myspell-pt-pt (<< 20090309-1.1),
+        myspell-ru (<< 0.99g5-8.1),
+        myspell-sk (<< 0.5.5a-2.1),
+        myspell-sv-se (<< 1.3.8-6-2.2),
+        myspell-sw (<< 1:3.1.0-3),
+        myspell-th (<< 1:3.1.0-3),
+        myspell-tl (<< 0.4-0-5),
+        browser-plugin-libreoffice
+Conflicts: cacao-oj6-jre, libreoffice-filter-binfilter, libreoffice-unbundled
+Provides: libreoffice-bundled
+Replaces: libreoffice-calc (<< 1:3.3.2-5),
+          libreoffice-common (<< 1:4.4.0~rc3-1),
+          uno-libs3 (<< 1:3.6.1-2),
+          ure (<< 1:3.6.1-2)
+Description: office productivity suite -- arch-dependent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice.  See the libreoffice package for more information.
+
+Package: libreoffice-common
+Architecture: all
+Pre-Depends: dpkg (>= 1.15.7.2~)
+Depends: libreoffice-style-default | libreoffice-style, ure, ${misc:Depends}
+Suggests: libreoffice-style-breeze,
+          libreoffice-style-hicontrast,
+          libreoffice-style-oxygen,
+          libreoffice-style-sifr,
+          libreoffice-style-tango
+Recommends: ${pyuno-depends}, ${textcat-data-recommends}, fonts-liberation | ttf-mscorefonts-installer
+Conflicts: openoffice-unbundled,
+           broffice,
+           libreoffice-filter-mobiledev,
+           libreoffice-l10n-4.3,
+           libreoffice-l10n-4.4
+Provides: libreoffice-l10n-en-us
+Breaks: libreoffice-core (<< 1:${oover}~),
+        libreoffice-core (>= 1:${next-oover}~),
+        libreoffice-style-andromeda (<< 1:${oover}~),
+        libreoffice-style-crystal (<< 1:${oover}~),
+        libreoffice-style-crystal (>= 1:${next-oover}~),
+        libreoffice-style-galaxy (<< 1:${oover}~),
+        libreoffice-style-galaxy (>= 1:${next-oover}~),
+        libreoffice-style-hicontrast (<< 1:${oover}~),
+        libreoffice-style-hicontrast (>= 1:${next-oover}~),
+        libreoffice-style-oxygen (<< 1:${oover}~),
+        libreoffice-style-oxygen (>= 1:${next-oover}~),
+        libreoffice-style-tango (<< 1:${oover}~),
+        libreoffice-style-tango (>= 1:${next-oover}~),
+        libtextcat-data (<< 2.2-8),
+        openoffice.org-common (<< 1:3.3.0~),
+        libreoffice-pdfimport (<< 1.0.6),
+        libreoffice-presenter-console (<< 1.1.1),
+        libreoffice-wiki-publisher (<< 1.1.2),
+        libreoffice-report-builder (<< 1.2.3),
+        libreoffice-presentation-minimizer (<< 1.0.4),
+        libreoffice-mysql-connector (<< 1.0.1+LibO3.6.5-1),
+        libreoffice-script-provider-bsh (<< 1:3.6~),
+        libreoffice-script-provider-js (<< 1:3.6~),
+        libreoffice-script-provider-python (<< 1:3.6~),
+        libreoffice-writer2latex (<< 1.0.2-9),
+        libreoffice-writer2xhtml (<< 1.0.2-9),
+        zotero-libreoffice-integration (<= 3.0.11.1-26-g08fb709-1)
+Replaces: openoffice.org-common (<< 1:3.3.0~), libreoffice-emailmerge (<< 1:4.0.2~rc1)
+Description: office productivity suite -- arch-independent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ LibreOffice.
+
+Package: libreoffice-java-common
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, ${java:Depends}, ${misc:Depends}
+Breaks: libjaxe-java (<= 3.5-2), libreoffice-accessodf (<= 0.1-4)
+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.
+ .
+ This package contains the architecture-independent files of
+ the Java support for LibreOffice (Java classes, scripts, config snippets).
+
+Package: libreoffice-writer
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+         libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: libreoffice-math,
+Replaces: libreoffice-core (<< 1:3.3.2-5)
+Suggests: fonts-crosextra-caladea,
+          fonts-crosextra-carlito,
+          libreoffice-base,
+          libreoffice-gcj,
+          ${java-common-depends},
+          ${java-runtime-depends}
+Description: office productivity suite -- word processor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreoffice-calc
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+         libreoffice-core (= ${binary:Version}),
+         ${lpsolve-dep},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Suggests: ${opencl-sug}
+Description: office productivity suite -- spreadsheet
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice.
+
+Package: libreoffice-impress
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         libreoffice-draw (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: ${avmedia-be-depends}
+Description: office productivity suite -- presentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreoffice-draw
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: libreoffice-impress (<< 1:5.2.0-2)
+Breaks: libreoffice-impress (<< 1:5.2.0-2)
+Description: office productivity suite -- drawing
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreoffice-math
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: fonts-opensymbol,
+         libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: office productivity suite -- equation editor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreoffice-base-core
+Architecture: %OOO_BASE_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Replaces: libreoffice-base (<< 1:3.5.3~rc2-1)
+Suggests: libreoffice-base
+Description: office productivity suite -- shared library
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains libdba, a common library of the LibreOffice
+ suite used by Base, Writer and Calc.
+ .
+ If you need full Base functionality (or actual database drivers), please
+ install libreoffice-base.
+
+Package: libreoffice-base
+Architecture: %OOO_BASE_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Section: database
+Depends: libreoffice-base-core (= ${binary:Version}),
+         libreoffice-base-drivers (= ${binary:Version}),
+         libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Suggests: libreoffice-gcj,
+          libreoffice-report-builder,
+          unixodbc
+Recommends: libreoffice-writer, ${java-common-depends}, ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:4.3.0~beta1)
+Description: office productivity suite -- database
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+
+Package: libreoffice-style-oxygen
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-tango, ${misc:Depends}
+Suggests: kde-icons-oxygen, oxygencursors
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Oxygen 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 "oxygen" symbol style, default style for KDE 4.
+
+Package: libreoffice-style-breeze
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-default, ${misc:Depends}
+Suggests: breeze-icon-theme
+Provides: libreoffice-style
+Description: office productivity suite -- Breeze 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 "breeze" symbol style, default style for KDE 5.
+
+Package: libreoffice-style-tango
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-default, ${misc:Depends}
+Suggests: tango-icon-theme
+Provides: libreoffice-style
+Replaces: libreoffice-common (<= 1:4.3.0~beta2-2)
+Description: office productivity suite -- Tango 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 "tango" symbol style, default style
+ for GTK+/Gnome.
+
+Package: libreoffice-style-hicontrast
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-default, ${misc:Depends}
+Suggests: gtk2-engines
+Provides: libreoffice-style
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Hicontrast 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 "hicontrast" symbol style, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreoffice-style-sifr
+Architecture: all
+Enhances: libreoffice-core
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-style-breeze, ${misc:Depends}
+Provides: libreoffice-style
+Description: office productivity suite -- Sifr 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 "sifr" symbol style (an adaption of the Gnome
+ symbolic theme), needs to be manually  enabled in the LibreOffice option
+ menu.
+
+Package: libreoffice-style-galaxy
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}
+Provides: libreoffice-style, libreoffice-style-default
+Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
+Description: office productivity suite -- Galaxy (Default) 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 "Galaxy" symbol style from Sun, normally used on
+ MS Windows (tm) and when not using GNOME or KDE, needs to be manually
+ enabled in the LibreOffice option menu.
+
+Package: libreoffice-gnome
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: ${gnome-gtk-recommends},
+Suggests: libreoffice-evolution
+Section: gnome
+Enhances: libreoffice
+Provides: libreoffice-gtk-gnome
+Replaces: libreoffice-gtk (<< 1:5.0.0~rc2-1)
+Description: office productivity suite -- GNOME integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the GIO support.
+ .
+ You can extend the functionality of this by installing these packages:
+ .
+  * libreoffice-evolution: Evolution addressbook support
+  * evolution
+
+Package: python3-uno
+Section: python
+Architecture: %OOO_ARCHS%
+Enhances: libreoffice
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Conflicts: python-uno, python3-uno (<< 1:4.0.2~rc2), python3.3-uno
+Replaces: python3-uno (<< 1:4.0.2~rc2), python3.3-uno, libreoffice-core (= 1:4.3.0~beta1-1), libreoffice-common (<< 1:4.4.0~beta2)
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: libreoffice-officebean
+Architecture: %OOO_JAVA_ARCHS%
+Section: java
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${java-common-depends},
+         ${java-runtime-depends},
+         ${java:Depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: office productivity suite -- Java bean
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the LibreOffice Office Bean for embedding
+ LibreOffice in custom Java applications.
+
+Package: libreoffice-script-provider-python
+Architecture: all
+Section: python
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common (>= 1:3.5.0~alpha0~),
+         libreoffice-core (>= 1:3.5.0~alpha0~),
+         ${misc:Depends},
+         ${python:Depends},
+         ${pyuno-depends}
+Breaks: libreoffice-common (<< 1:3.5~), libreoffice-core (<< 1:3.5~)
+Replaces: python-uno (<< 1:3.5.2-2), python3-uno (<< 1:3.5.2-2)
+Description: Python 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 Python.
+
+Package: libreoffice-script-provider-bsh
+Architecture: all
+Section: java
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common (>= 1:3.5.0~alpha0~),
+         libreoffice-core (>= 1:3.5.0~alpha0~),
+         ${java-common-depends},
+         ${java:Depends},
+         ${java-runtime-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~)
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common (>= 1:3.5.0~alpha0~),
+         libreoffice-core (>= 1:3.5.0~alpha0~),
+         ${java-common-depends},
+         ${java:Depends},
+         ${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-pdfimport
+Section: misc
+Priority: extra
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Breaks: libreoffice-common (<< 1:3.5~), libreoffice-core (<< 1:3.5~)
+Description: PDF Import component for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a component enabling LibreOffice to import PDF
+ Documents.
+
+Package: libreoffice-avmedia-backend-gstreamer
+Section: misc
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Replaces: libreoffice-core (<< 1:4.2~)
+Provides: libreoffice-avmedia-backend
+Description: GStreamer backend for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a GStreamer backend for LibreOffices avmedia component
+ to play audio/video.
+
+Package: libreoffice-avmedia-backend-vlc
+Section: misc
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}, ${libvlc-dep} (>= 2.0.8)
+Provides: libreoffice-avmedia-backend
+Description: VLC backend for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains a VLC backend for LibreOffices avmedia component
+ to play audio/video.
+
+Package: libreoffice-sdbc-hsqldb
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${java-common-depends}, ${java:Depends}, ${java-runtime-depends}, ${shlibs:Depends}, ${misc:Depends}
+Replaces: libreoffice-base (<< 1:4.2~)
+Architecture: %OOO_JAVA_ARCHS%
+Section: database
+Enhances: libreoffice-base-drivers
+Description: HSQLDB SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The HSQLDB SDBC Driver allows one to use the HSQLDB embedded database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-base-drivers
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core, ${shlibs:Depends}, ${misc:Depends}
+Architecture: %OOO_BASE_ARCHS%
+Section: database
+Suggests: libreoffice-sdbc-postgresql | odbc-postgresql | libpg-java,
+          libreoffice-mysql-connector | libmyodbc | libmysql-java,
+          libsqliteodbc | tdsodbc | mdbtools,
+          libjtds-java,
+Recommends: libreoffice-sdbc-hsqldb [%OOO_JAVA_ARCHS%]
+Replaces: libreoffice-core (<< 1:4.2~), libreoffice-base (<< 1:4.3.0-3)
+Breaks: libreoffice-base (<< 1:4.3.0-3)
+Description: Database connectivity drivers for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database connectivity drivers used by LibreOffices
+ database functionality:
+  - ODBC
+  - JDBC
+  - dBase
+  - Calc
+  - Flat files
+  - MySQL
+ .
+ You can extend this by installing:
+ .
+  * unixodbc: ODBC database support
+  * libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | mdbtools: ODBC
+    drivers for:
+    - MySQL
+    - PostgreSQL
+    - SQLite
+    - MS SQL / Sybase SQL
+    - *.mdb (JET / MS Access)
+  * libmysql-java | libpg-java | libjtds-java: JDBC Drivers
+    for:
+    - MySQL
+    - PostgreSQL
+    - MS SQL Server and Sybase
+  * libreoffice-sdbc-hsqldb: embedded HSQLDB SDBC Driver
+  * libreoffice-sdbc-postgresql: PostgreSQL SDBC Driver
+  * libreoffice-mysql-connector: "native" MySQL Connector
diff --git a/debian/control.kde.in b/debian/control.kde.in
new file mode 100644 (file)
index 0000000..a09f5b4
--- /dev/null
@@ -0,0 +1,21 @@
+Package: libreoffice-kde
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: ${kde-iconset-dep}
+Suggests: kmail, konqueror
+Section: kde
+Enhances: libreoffice
+Replaces: libreoffice-core (= 1:3.5.0~beta2-1), openoffice.org-kde (<< 1:3.3.0~), libreoffice-core (= 1:4.3.0~beta1-1)
+Description: office productivity suite -- KDE integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the KDE plugin for drawing OOo's widgets with
+ KDE/Qt and a KDEish File Picker when running under KDE.
+ You can extend the functionality of this by installing these packages:
+ .
+  * konqueror / kmail
+
diff --git a/debian/control.lang.in b/debian/control.lang.in
new file mode 100644 (file)
index 0000000..c8c6f03
--- /dev/null
@@ -0,0 +1,30 @@
+Package: libreoffice-l10n-@LCODE@
+Section: localization
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common, ${misc:Depends}, @LOCALES_DEPENDS@
+Recommends: libreoffice-core (>> ${base-version}) | language-support-translations-@CCODE@ @FONT_SUGGESTS@
+Provides: libreoffice-l10n-${help-l10n-virtual-version}
+Suggests: hunspell-dictionary-@LCODE@ | myspell-dictionary-@LCODE@,
+          hyphen-@LCODE@,
+          libreoffice-grammarcheck-@LCODE@,
+          libreoffice-help-@LCODE@,
+          mythes-@LCODE@
+Description: office productivity suite -- @LNAME@ 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
+ @LNAME@.
+ 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.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
diff --git a/debian/control.librelogo.in b/debian/control.librelogo.in
new file mode 100644 (file)
index 0000000..f029b3e
--- /dev/null
@@ -0,0 +1,20 @@
+Package: libreoffice-librelogo
+Section: misc
+Architecture: all
+Depends: libreoffice-core (>= 1:3.4~),
+         libreoffice-writer,
+         libreoffice-script-provider-python,
+         ${misc:Depends}
+Homepage: http://librelogo.org
+Description: Logo-like progamming language for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains Librelogo, which is a pyuno-based Logo-like progamming
+ language with interactive vectorgraphics for education and DTP
+  - basic Logo syntax for back compatibility with educational Logo systems
+  - interactive vectorgraphics in LibreOffice Writer
+  - native commands (easily translatable)
+  - Python data structures (list, tuple, set, dictionary) and other Python
+    features
+
diff --git a/debian/control.lokit.in b/debian/control.lokit.in
new file mode 100644 (file)
index 0000000..5cc66ec
--- /dev/null
@@ -0,0 +1,15 @@
+Package: libreofficekit-dev
+Section: libdevel
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: libgtk-3-dev, gir1.2-lokdocview-0.1
+Recommends: libreoffice-core, libreofficekit-data
+Description: LibreOfficeKit -- headers
+ LibreOfficeKit can be used for accessing LibreOffice functionality through
+ C/C++, without any need to use UNO.
+ .
+ For now it only offers document conversion (in addition to an experimental
+ tiled rendering API).
+ .
+ This package contains the headers needed for using LibreOfficeKit.
+
diff --git a/debian/control.mediawiki.in b/debian/control.mediawiki.in
new file mode 100644 (file)
index 0000000..31a5f91
--- /dev/null
@@ -0,0 +1,22 @@
+Package: libreoffice-wiki-publisher
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}
+Depends: libreoffice-core (>= 1:3.4~),
+         ${java-common-depends},
+         ${java:Depends},
+         ${java-runtime-depends},
+         ${misc:Depends}
+Enhances: libreoffice-writer
+Conflicts: libreoffice-common (<< 1:3.5~),
+           libreoffice-core (<< 1:3.5~),
+           ure (<< 1.5.1+OOo3.1.1-15)
+Suggests: mediawiki
+Description: LibreOffice extension for working with MediaWiki articles
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to create/edit/publish MediaWiki
+ articles with LibreOffice
+Homepage: http://extensions.services.openoffice.org/project/wikipublisher
+
diff --git a/debian/control.mysql.in b/debian/control.mysql.in
new file mode 100644 (file)
index 0000000..8307bd6
--- /dev/null
@@ -0,0 +1,16 @@
+Package: libreoffice-mysql-connector
+Section: misc
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Suggests: default-mysql-server | virtual-mysql-server
+Conflicts: libreoffice-common (<< 1:3.5~),
+           libreoffice-core (<< 1:3.5~),
+           ure (<< 1.5.1+OOo3.1.1-15)
+Homepage: http://extensions.services.openoffice.org/en/project/mysql_connector
+Description: MariaDB/MySQL Connector extension for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The MariaDB/MySQL Connector extension allows one to use the MariaDB or MySQL
+ database from LibreOffice without any wrapper layer such as ODBC or JDBC.
+
diff --git a/debian/control.nlpsolver.in b/debian/control.nlpsolver.in
new file mode 100644 (file)
index 0000000..ff92f25
--- /dev/null
@@ -0,0 +1,15 @@
+Package: libreoffice-nlpsolver
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-calc (>= 1:3.0~), libreoffice-core (>= 1:3.3~), ${java-common-depends}, ${java-runtime-depends}
+Section: math
+Priority: extra
+Description: "Solver for Nonlinear Programming" extension for LibreOffice
+ By default LibreOffice Calc ships with a solver engine for linear
+ programming only. This allows the optimization of models to a certain degree.
+ However, if the formulas or constraints become more complex,
+ nonlinear programming is required. That missing gap is now filled by the
+ Solver for Nonlinear Programming extension.
+ .
+ Currently it incorporates two Evolutionary Algorithms which are able to
+ handle floating point and integer variables as well as nonlinear constraints.
+
diff --git a/debian/control.ogltrans.in b/debian/control.ogltrans.in
new file mode 100644 (file)
index 0000000..8db6c77
--- /dev/null
@@ -0,0 +1,20 @@
+Package: libreoffice-ogltrans
+Section: graphics
+Priority: extra
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-common,
+         libreoffice-core,
+         libreoffice-impress,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Enhances: libreoffice-impress
+Breaks: ure (<< 1.5.1+OOo3.1.1-15)
+Conflicts: libreoffice-gtk3 (<< 1:5.2.4~rc2)
+Description: LibreOffice Impress extension for slide transitions using OpenGL
+ LibreOffice is a full-featured office productivity suite that provide
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the extension making LibreOffice able to use
+ OpenGL for slide transitions in Impress.
+
diff --git a/debian/control.postgresql.in b/debian/control.postgresql.in
new file mode 100644 (file)
index 0000000..f52b566
--- /dev/null
@@ -0,0 +1,18 @@
+Package: libreoffice-sdbc-postgresql
+Section: misc
+Architecture: %OOO_BASE_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (>= 1:3.5.0~beta),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Suggests: postgresql (>= 8.4)
+Breaks: ure (<< 1.5.1+OOo3.1.1-15)
+Enhances: libreoffice-base-drivers
+Description: PostgreSQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The PostgreSQL SDBC Driver allows one to use the PostgreSQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+Homepage: http://wiki.documentfoundation.org/PostgreSQL-SDBC
+
diff --git a/debian/control.reportdesign.in b/debian/control.reportdesign.in
new file mode 100644 (file)
index 0000000..f36b88c
--- /dev/null
@@ -0,0 +1,40 @@
+Package: libreoffice-report-builder
+Section: misc
+Architecture: all
+Pre-Depends: ${java-runtime-depends}, ${misc:Pre-Depends}
+Depends: libreoffice-core,
+         libreoffice-java-common,
+         libreoffice-report-builder-bin (>= ${base-version}),
+         ${java:Depends},
+         ${misc:Depends},
+         ${report-builder-jar-depends}
+Conflicts: libreoffice-common (<< 1:3.5~),
+           libreoffice-core (<< 1:3.5~),
+           ure (<< 1.5.1+OOo3.1.1-15)
+Provides: libreoffice-reportdesigner
+Enhances: libreoffice-base
+Description: LibreOffice component for building database reports
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the report builder:
+  "Create with the Sun Report Builder stylish, smart-looking database reports.
+  The flexible report editor can define group and page headers as well as
+  group and page footers and even calculation fields are available to
+  accomplish complex database reports."
+
+Package: libreoffice-report-builder-bin
+Section: misc
+Architecture: %OOO_REPORTDESIGN_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core,
+         libreoffice-base,
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: LibreOffice component for building database reports -- libraries
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder component.
+
diff --git a/debian/control.sdk.in b/debian/control.sdk.in
new file mode 100644 (file)
index 0000000..3c6e42a
--- /dev/null
@@ -0,0 +1,55 @@
+Package: libreoffice-dev
+Section: devel
+Architecture: %OOO_ARCHS%
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-core (= ${binary:Version}),
+         libreoffice-dev-common (= ${source:Version}),
+         ${idlc-cpp-depends},
+         ${misc:Depends},
+         ${shlibs:Depends}
+Recommends: g++, ${java-common-depends}, ${java-runtime-depends}
+Suggests: libmythes-dev, libreofficekit-dev, libreoffice-dev-doc
+Replaces: libreoffice-core (<< 1:4.1.0~beta1), libreoffice-common (<< 1:4.1.0~beta1), libreoffice-dev-common (<< 1:5.2.6-2)
+Conflicts: libreoffice-dev-doc (<< 1:5.2.5-2~), libreoffice (<< 1:5.2.5-2~)
+Breaks: libreoffice-dev-common (<< 1:5.2.6-2)
+Description: office productivity suite -- SDK -- architecture-dependent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-dependent) files needed to build
+ plugins/add-ons for LibreOffice (build tools, libraries, arch-dependent
+ includes, ...).
+ .
+ It also contains the gengal and ui-previewer utilities.
+
+Package: libreoffice-dev-common
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}
+Replaces: libreoffice-dev (<< 1:5.2.0~)
+Breaks: libreoffice-dev (<< 1:5.2.0~)
+Conflicts: libreoffice (<< 1:5.2.5-2~)
+Description: office productivity suite -- SDK -- architecture-independent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-independent) files needed to build
+ plugins/add-ons for LibreOffice (includes, IDL files, ...)
+
+Package: libreoffice-dev-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libreoffice-dev (= ${binary:Version}),
+            www-browser
+Conflicts: openoffice.org-dev-doc, libreoffice-dev (<= 1:5.0.3~rc1-2), libreoffice (<< 1:5.2.5-2~)
+Description: office productivity suite -- SDK documentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the documentation of the LibreOffice SDK:
+ .
+  * C++/Java API reference
+  * IDL reference
+  * C++/Java/Basic examples
+
diff --git a/debian/control.subsequentcheckbase.in b/debian/control.subsequentcheckbase.in
new file mode 100644 (file)
index 0000000..f16954d
--- /dev/null
@@ -0,0 +1,9 @@
+Package: libreoffice-subsequentcheckbase
+Section: libs
+Priority: extra
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${java:Depends}, ${misc:Depends}
+Description: LibreOffice java test libraries
+ LibreOffice subsequentchecks integration test suite
+
diff --git a/debian/control.systray.in b/debian/control.systray.in
new file mode 100644 (file)
index 0000000..4180e87
--- /dev/null
@@ -0,0 +1,12 @@
+Package: libreoffice-systray
+Architecture: %OOO_ARCHS%
+Section: misc
+Priority: extra
+Replaces: libreoffice-gtk (<< 1:5.1.2-3), libreoffice-common (<< 1:5.1.2-3)
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: LibreOffice "Quickstarter" for the desktop notification area
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package provides a "QuickStarter" for the notification area of desktops.
+
diff --git a/debian/control.transitionals.in b/debian/control.transitionals.in
new file mode 100644 (file)
index 0000000..6aa293f
--- /dev/null
@@ -0,0 +1,15 @@
+Package: libreoffice-gtk
+Architecture: all
+Section: oldlibs
+Priority: extra
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libreoffice-gtk2, libreoffice-systray, ${misc:Depends}
+Description: transitional package to upgrade to libreoffice-gtk2/-systray
+ This package used to contain the Gtk2 integration (and the systray
+ "Quickstarter") for LibreOffice.
+ .
+ It has been renamed to libreoffice-gtk2 (and the systray "Quickstarter"
+ split out to libreoffice-systray).
+ .
+ You can safely remove this package.
+
diff --git a/debian/control.ure.in b/debian/control.ure.in
new file mode 100644 (file)
index 0000000..0b332cb
--- /dev/null
@@ -0,0 +1,41 @@
+Package: uno-libs3
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: ure (<< 1:5.0.0~rc2-1)
+Breaks: ure (<< 4.1.2~), libreoffice-core (<< 1:4.3.0~)
+Description: LibreOffice UNO runtime environment -- public shared libraries
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the public libraries:
+  - libuno_sal: System Abstraction Layer (C Interface)
+  - libuno_salhelpergcc3: additional C++ functionality for sal
+  - libuno_cppu: C++ UNO bridge (C Interface)
+  - libuno_cppuhelpergcc3: additional C++ functionality for cppu
+  - libuno_purpenvhelpergcc3: "purpose environments" helper
+
+Package: ure
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: uno-libs3 (= ${ure:Version}), ${misc:Depends}, ${shlibs:Depends}
+Suggests: java5-runtime
+Conflicts: cli-uno-bridge (<< 1:3.0.0~dev300m22)
+Replaces: libreoffice-java-common (<< 1:3.0.0~dev300m12), libreoffice-common (<< 1:4.5.0)
+Breaks: openoffice.org-core (<< 1:3.3~), libreoffice-core (<< 1:4.1.2~), libreoffice-common (<< 1:4.5.0)
+Description: LibreOffice UNO runtime environment
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..4beb021
--- /dev/null
@@ -0,0 +1,459 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: LibreOffice
+Upstream-Maintainer: libreoffice@lists.freedesktop.org
+Source: http://download.documentfoundation.org/libreoffice
+
+Files: *
+Copyright: Copyright 2000, 2010 Oracle and/or its affiliates.
+           Copyright (c) 2000, 2010 LibreOffice contributors and/or their affiliates.
+License: MPL-2.0
+                              Mozilla Public License
+                                   Version 2.0
+ .
+ 1. Definitions
+ .
+    1.1. “Contributor”
+ .
+            means each individual or legal entity that creates, contributes to
+            the creation of, or owns Covered Software.
+ .
+    1.2. “Contributor Version”
+ .
+            means the combination of the Contributions of others (if any) used
+            by a Contributor and that particular Contributor’s Contribution.
+ .
+    1.3. “Contribution”
+ .
+            means Covered Software of a particular Contributor.
+ .
+    1.4. “Covered Software”
+ .
+            means Source Code Form to which the initial Contributor has
+            attached the notice in Exhibit A, the Executable Form of such
+            Source Code Form, and Modifications of such Source Code Form, in
+            each case including portions thereof.
+ .
+    1.5. “Incompatible With Secondary Licenses”
+ .
+            means
+ .
+              a. that the initial Contributor has attached the notice
+                 described in Exhibit B to the Covered Software; or
+ .
+              b. that the Covered Software was made available under the terms
+                 of version 1.1 or earlier of the License, but not also under
+                 the terms of a Secondary License.
+ .
+    1.6. “Executable Form”
+ .
+            means any form of the work other than Source Code Form.
+ .
+    1.7. “Larger Work”
+ .
+            means a work that combines Covered Software with other material,
+            in a separate file or files, that is not Covered Software.
+ .
+    1.8. “License”
+ .
+            means this document.
+ .
+    1.9. “Licensable”
+ .
+            means having the right to grant, to the maximum extent possible,
+            whether at the time of the initial grant or subsequently, any and
+            all of the rights conveyed by this License.
+ .
+    1.10. “Modifications”
+ .
+            means any of the following:
+ .
+              a. any file in Source Code Form that results from an addition
+                 to, deletion from, or modification of the contents of Covered
+                 Software; or
+ .
+              b. any new file in Source Code Form that contains any Covered
+                 Software.
+ .
+    1.11. “Patent Claims” of a Contributor
+ .
+            means any patent claim(s), including without limitation, method,
+            process, and apparatus claims, in any patent Licensable by such
+            Contributor that would be infringed, but for the grant of the
+            License, by the making, using, selling, offering for sale, having
+            made, import, or transfer of either its Contributions or its
+            Contributor Version.
+ .
+    1.12. “Secondary License”
+ .
+            means either the GNU General Public License, Version 2.0, the GNU
+            Lesser General Public License, Version 2.1, the GNU Affero General
+            Public License, Version 3.0, or any later versions of those
+            licenses.
+ .
+    1.13. “Source Code Form”
+ .
+            means the form of the work preferred for making modifications.
+ .
+    1.14. “You” (or “Your”)
+ .
+            means an individual or a legal entity exercising rights under this
+            License. For legal entities, “You” includes any entity that
+            controls, is controlled by, or is under common control with You.
+            For purposes of this definition, “control” means (a) the power,
+            direct or indirect, to cause the direction or management of such
+            entity, whether by contract or otherwise, or (b) ownership of more
+            than fifty percent (50%) of the outstanding shares or beneficial
+            ownership of such entity.
+ .
+ 2. License Grants and Conditions
+ .
+   2.1. Grants
+ .
+    Each Contributor hereby grants You a world-wide, royalty-free,
+    non-exclusive license:
+ .
+     a. under intellectual property rights (other than patent or trademark)
+        Licensable by such Contributor to use, reproduce, make available,
+        modify, display, perform, distribute, and otherwise exploit its
+        Contributions, either on an unmodified basis, with Modifications, or
+        as part of a Larger Work; and
+ .
+     b. under Patent Claims of such Contributor to make, use, sell, offer for
+        sale, have made, import, and otherwise transfer either its
+        Contributions or its Contributor Version.
+ .
+   2.2. Effective Date
+ .
+    The licenses granted in Section 2.1 with respect to any Contribution
+    become effective for each Contribution on the date the Contributor first
+    distributes such Contribution.
+ .
+   2.3. Limitations on Grant Scope
+ .
+    The licenses granted in this Section 2 are the only rights granted under
+    this License. No additional rights or licenses will be implied from the
+    distribution or licensing of Covered Software under this License.
+    Notwithstanding Section 2.1(b) above, no patent license is granted by a
+    Contributor:
+ .
+     a. for any code that a Contributor has removed from Covered Software; or
+ .
+     b. for infringements caused by: (i) Your and any other third party’s
+        modifications of Covered Software, or (ii) the combination of its
+        Contributions with other software (except as part of its Contributor
+        Version); or
+ .
+     c. under Patent Claims infringed by Covered Software in the absence of
+        its Contributions.
+ .
+    This License does not grant any rights in the trademarks, service marks,
+    or logos of any Contributor (except as may be necessary to comply with the
+    notice requirements in Section 3.4).
+ .
+   2.4. Subsequent Licenses
+ .
+    No Contributor makes additional grants as a result of Your choice to
+    distribute the Covered Software under a subsequent version of this License
+    (see Section 10.2) or under the terms of a Secondary License (if permitted
+    under the terms of Section 3.3).
+ .
+   2.5. Representation
+ .
+    Each Contributor represents that the Contributor believes its
+    Contributions are its original creation(s) or it has sufficient rights to
+    grant the rights to its Contributions conveyed by this License.
+ .
+   2.6. Fair Use
+ .
+    This License is not intended to limit any rights You have under applicable
+    copyright doctrines of fair use, fair dealing, or other equivalents.
+ .
+   2.7. Conditions
+ .
+    Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
+    Section 2.1.
+ .
+ 3. Responsibilities
+ .
+   3.1. Distribution of Source Form
+ .
+    All distribution of Covered Software in Source Code Form, including any
+    Modifications that You create or to which You contribute, must be under
+    the terms of this License. You must inform recipients that the Source Code
+    Form of the Covered Software is governed by the terms of this License, and
+    how they can obtain a copy of this License. You may not attempt to alter
+    or restrict the recipients’ rights in the Source Code Form.
+ .
+   3.2. Distribution of Executable Form
+ .
+    If You distribute Covered Software in Executable Form then:
+ .
+     a. such Covered Software must also be made available in Source Code Form,
+        as described in Section 3.1, and You must inform recipients of the
+        Executable Form how they can obtain a copy of such Source Code Form by
+        reasonable means in a timely manner, at a charge no more than the cost
+        of distribution to the recipient; and
+ .
+     b. You may distribute such Executable Form under the terms of this
+        License, or sublicense it under different terms, provided that the
+        license for the Executable Form does not attempt to limit or alter the
+        recipients’ rights in the Source Code Form under this License.
+ .
+   3.3. Distribution of a Larger Work
+ .
+    You may create and distribute a Larger Work under terms of Your choice,
+    provided that You also comply with the requirements of this License for
+    the Covered Software. If the Larger Work is a combination of Covered
+    Software with a work governed by one or more Secondary Licenses, and the
+    Covered Software is not Incompatible With Secondary Licenses, this License
+    permits You to additionally distribute such Covered Software under the
+    terms of such Secondary License(s), so that the recipient of the Larger
+    Work may, at their option, further distribute the Covered Software under
+    the terms of either this License or such Secondary License(s).
+ .
+   3.4. Notices
+ .
+    You may not remove or alter the substance of any license notices
+    (including copyright notices, patent notices, disclaimers of warranty, or
+    limitations of liability) contained within the Source Code Form of the
+    Covered Software, except that You may alter any license notices to the
+    extent required to remedy known factual inaccuracies.
+ .
+   3.5. Application of Additional Terms
+ .
+    You may choose to offer, and to charge a fee for, warranty, support,
+    indemnity or liability obligations to one or more recipients of Covered
+    Software. However, You may do so only on Your own behalf, and not on
+    behalf of any Contributor. You must make it absolutely clear that any such
+    warranty, support, indemnity, or liability obligation is offered by You
+    alone, and You hereby agree to indemnify every Contributor for any
+    liability incurred by such Contributor as a result of warranty, support,
+    indemnity or liability terms You offer. You may include additional
+    disclaimers of warranty and limitations of liability specific to any
+    jurisdiction.
+ .
+ 4. Inability to Comply Due to Statute or Regulation
+ .
+    If it is impossible for You to comply with any of the terms of this
+    License with respect to some or all of the Covered Software due to
+    statute, judicial order, or regulation then You must: (a) comply with the
+    terms of this License to the maximum extent possible; and (b) describe the
+    limitations and the code they affect. Such description must be placed in a
+    text file included with all distributions of the Covered Software under
+    this License. Except to the extent prohibited by statute or regulation,
+    such description must be sufficiently detailed for a recipient of ordinary
+    skill to be able to understand it.
+ .
+ 5. Termination
+ .
+    5.1. The rights granted under this License will terminate automatically if
+    You fail to comply with any of its terms. However, if You become
+    compliant, then the rights granted under this License from a particular
+    Contributor are reinstated (a) provisionally, unless and until such
+    Contributor explicitly and finally terminates Your grants, and (b) on an
+    ongoing basis, if such Contributor fails to notify You of the
+    non-compliance by some reasonable means prior to 60 days after You have
+    come back into compliance. Moreover, Your grants from a particular
+    Contributor are reinstated on an ongoing basis if such Contributor
+    notifies You of the non-compliance by some reasonable means, this is the
+    first time You have received notice of non-compliance with this License
+    from such Contributor, and You become compliant prior to 30 days after
+    Your receipt of the notice.
+ .
+    5.2. If You initiate litigation against any entity by asserting a patent
+    infringement claim (excluding declaratory judgment actions,
+    counter-claims, and cross-claims) alleging that a Contributor Version
+    directly or indirectly infringes any patent, then the rights granted to
+    You by any and all Contributors for the Covered Software under Section 2.1
+    of this License shall terminate.
+ .
+    5.3. In the event of termination under Sections 5.1 or 5.2 above, all end
+    user license agreements (excluding distributors and resellers) which have
+    been validly granted by You or Your distributors under this License prior
+    to termination shall survive termination.
+ .
+ 6. Disclaimer of Warranty
+ .
+    Covered Software is provided under this License on an “as is” basis,
+    without warranty of any kind, either expressed, implied, or statutory,
+    including, without limitation, warranties that the Covered Software is
+    free of defects, merchantable, fit for a particular purpose or
+    non-infringing. The entire risk as to the quality and performance of the
+    Covered Software is with You. Should any Covered Software prove defective
+    in any respect, You (not any Contributor) assume the cost of any necessary
+    servicing, repair, or correction. This disclaimer of warranty constitutes
+    an essential part of this License. No use of any Covered Software is
+    authorized under this License except under this disclaimer.
+ .
+ 7. Limitation of Liability
+ .
+    Under no circumstances and under no legal theory, whether tort (including
+    negligence), contract, or otherwise, shall any Contributor, or anyone who
+    distributes Covered Software as permitted above, be liable to You for any
+    direct, indirect, special, incidental, or consequential damages of any
+    character including, without limitation, damages for lost profits, loss of
+    goodwill, work stoppage, computer failure or malfunction, or any and all
+    other commercial damages or losses, even if such party shall have been
+    informed of the possibility of such damages. This limitation of liability
+    shall not apply to liability for death or personal injury resulting from
+    such party’s negligence to the extent applicable law prohibits such
+    limitation. Some jurisdictions do not allow the exclusion or limitation of
+    incidental or consequential damages, so this exclusion and limitation may
+    not apply to You.
+ .
+ 8. Litigation
+ .
+    Any litigation relating to this License may be brought only in the courts
+    of a jurisdiction where the defendant maintains its principal place of
+    business and such litigation shall be governed by laws of that
+    jurisdiction, without reference to its conflict-of-law provisions. Nothing
+    in this Section shall prevent a party’s ability to bring cross-claims or
+    counter-claims.
+ .
+ 9. Miscellaneous
+ .
+    This License represents the complete agreement concerning the subject
+    matter hereof. If any provision of this License is held to be
+    unenforceable, such provision shall be reformed only to the extent
+    necessary to make it enforceable. Any law or regulation which provides
+    that the language of a contract shall be construed against the drafter
+    shall not be used to construe this License against a Contributor.
+ .
+ 10. Versions of the License
+ .
+   10.1. New Versions
+ .
+    Mozilla Foundation is the license steward. Except as provided in
+    Section 10.3, no one other than the license steward has the right to
+    modify or publish new versions of this License. Each version will be given
+    a distinguishing version number.
+ .
+   10.2. Effect of New Versions
+ .
+    You may distribute the Covered Software under the terms of the version of
+    the License under which You originally received the Covered Software, or
+    under the terms of any subsequent version published by the license
+    steward.
+ .
+   10.3. Modified Versions
+ .
+    If you create software not governed by this License, and you want to
+    create a new license for such software, you may create and use a modified
+    version of this License if you rename the license and remove any
+    references to the name of the license steward (except to note that such
+    modified license differs from this License).
+ .
+   10.4. Distributing Source Code Form that is Incompatible With Secondary
+   Licenses
+ .
+    If You choose to distribute Source Code Form that is Incompatible With
+    Secondary Licenses under the terms of this version of the License, the
+    notice described in Exhibit B of this License must be attached.
+ .
+ Exhibit A - Source Code Form License Notice
+ .
+      This Source Code Form is subject to the terms of the Mozilla Public
+      License, v. 2.0. If a copy of the MPL was not distributed with this
+      file, You can obtain one at https://mozilla.org/MPL/2.0/.
+ .
+    If it is not possible or desirable to put the notice in a particular file,
+    then You may include the notice in a location (such as a LICENSE file in a
+    relevant directory) where a recipient would be likely to look for such a
+    notice.
+ .
+    You may add additional accurate notices of copyright ownership.
+ .
+ Exhibit B - “Incompatible With Secondary Licenses” Notice
+ .
+      This Source Code Form is “Incompatible With Secondary Licenses”, as
+      defined by the Mozilla Public License, v. 2.0.
+ .
+ Some files include Apache-2.0 licensed material:
+ .
+ # This file incorporates work covered by the following license notice:
+ #
+ #   Licensed to the Apache Software Foundation (ASF) under one or more
+ #   contributor license agreements. See the NOTICE file distributed
+ #   with this work for additional information regarding copyright
+ #   ownership. The ASF licenses this file to you under the Apache
+ #   License, Version 2.0 (the "License"); you may not use this file
+ #   except in compliance with the License. You may obtain a copy of
+ #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+
+Files: swext/mediawiki/src/filter/odt2mediawiki.xsl
+Copyright: Copyright (C) 2007-2013  Bernhard Haumacher (haui@haumacher.de)
+License: Apache-2.0
+
+Files: debian/*
+Copyright: Copyright (C) 2002-2009 Software in the Public Interest, Inc.
+License: GPL-2
+
+File: debian/templates/debian-presentation.otp
+Copyright: Copyright (C) 2010 Raphaël Hertzog
+License: GPL-2+
+
+File: debian/templates/debian-presentation-background.xcf
+Copyright: Copyright Alexis Younes "ayo"
+License: GPL-2+
+
+Files: tarballs/*xmlsec*
+Copyright: Copyright (C) 2002-2003 Aleksey Sanin
+           Copyright (c) 2003 America Online, Inc.
+License: other
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is fur-
+ nished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+ NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+ ALEKSEY SANIN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+ NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the name of Aleksey Sanin shall not
+ be used in advertising or otherwise to promote the sale, use or other deal-
+ ings in this Software without prior written authorization from him.
+
+Files: tarballs/*rhino*
+Copyright: Copyright (C) 1997-2000 Netscape Communications Corporation
+           Copyright (C) 2000 See Beyond Communications Corporation
+License: MPL-1.1 | GPL-2 | LGPL-2
+
+Files: tarballs/*xsltml*
+Copyright: Copyright (C) 2001-2003 Vasil Yaroshevich
+License: other
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the ``Software''), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ Except as contained in this notice, the names of individuals
+ credited with contribution to this software shall not be used in
+ advertising or otherwise to promote the sale, use or other
+ dealings in this Software without prior written authorization
+ from the individuals in question.
+ Any stylesheet derived from this Software that is publically
+ distributed will be identified with a different name and the
+ version strings in any derived Software will be changed so that
+ no possibility of confusion between the derived package and this
+ Software will exist.
+
+Files: tarballs/*swingEx*
+Copyright: Copyright 2008 by Sun Microsystems, Inc.
+License: LGPL-3
+
diff --git a/debian/liblibreofficekitgtk.links b/debian/liblibreofficekitgtk.links
new file mode 100644 (file)
index 0000000..c8017de
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libreoffice/program/liblibreofficekitgtk.so usr/lib/liblibreofficekitgtk.so
diff --git a/debian/libreoffice-avmedia-backend-gstreamer.maintscript b/debian/libreoffice-avmedia-backend-gstreamer.maintscript
new file mode 100644 (file)
index 0000000..2229a87
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-avmedia-backend-gstreamer /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-avmedia-backend-vlc.maintscript b/debian/libreoffice-avmedia-backend-vlc.maintscript
new file mode 100644 (file)
index 0000000..a1bbf50
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-avmedia-backend-vlc /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-base-core.maintscript b/debian/libreoffice-base-core.maintscript
new file mode 100644 (file)
index 0000000..2167f48
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-base-core /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-base-drivers.maintscript b/debian/libreoffice-base-drivers.maintscript
new file mode 100644 (file)
index 0000000..fa59e5a
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-base-drivers /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-base.NEWS b/debian/libreoffice-base.NEWS
new file mode 100644 (file)
index 0000000..b7a30f1
--- /dev/null
@@ -0,0 +1,14 @@
+libreoffice (1:4.2.1-1) experimental; urgency=low
+
+  * the database drivers have been split out to a new libreoffice-base-drivers
+    package. This package depends on most of them, but that explicitly
+    _does not_ include the HSQLDB SDBC Driver or the new Firebird SDBC Driver
+    (both for the embedded database) - whose because of their dependencies are
+    split into extra packages.
+    .
+    If you used a "normal" embedded database in your (old) database file you
+    _must_ install libreoffice-sdbc-hsqldb so that it can "connect" to it.
+    .
+    Similar with the new Firebird embedded database in 4.2 and -sdbc-firebird.
+
+ -- Rene Engelhard <rene@debian.org>  Fri, 16 Aug 2013 10:21:53 +0200
diff --git a/debian/libreoffice-base.bug-control b/debian/libreoffice-base.bug-control
new file mode 100644 (file)
index 0000000..67cfb8b
--- /dev/null
@@ -0,0 +1,2 @@
+report-with: libreoffice-core
+package-status: unixodbc libmyodbc odbc-postgresql libsqliteodbc tdsodbc mdbtools libmysql-java libpg-java libsapdbc-java
diff --git a/debian/libreoffice-base.lintian-overrides b/debian/libreoffice-base.lintian-overrides
new file mode 100644 (file)
index 0000000..12772a5
--- /dev/null
@@ -0,0 +1,4 @@
+libreoffice-base: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-base.xpm
+libreoffice-base: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-base:4
+libreoffice-base: desktop-command-not-in-package usr/share/applications/libreoffice-base.desktop libreoffice
+libreoffice-base: menu-command-not-in-package usr/share/menu/libreoffice-base:4 usr/bin/libreoffice
diff --git a/debian/libreoffice-base.maintscript b/debian/libreoffice-base.maintscript
new file mode 100644 (file)
index 0000000..1295b0b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-base /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-base.manpages b/debian/libreoffice-base.manpages
new file mode 100644 (file)
index 0000000..144eec7
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/lobase.1.gz
diff --git a/debian/libreoffice-base.mime b/debian/libreoffice-base.mime
new file mode 100644 (file)
index 0000000..ce16f80
--- /dev/null
@@ -0,0 +1,11 @@
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.database; soffice --nologo --base '%s'; edit=soffice --nologo --base '%s'; print=soffice --nologo --base -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Database"; nametemplate=%s.odb; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.base; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; description="OpenOffice.org Database"; nametemplate=%s.sdb; priority=8
+
+#
+###
diff --git a/debian/libreoffice-base.postrm.in b/debian/libreoffice-base.postrm.in
new file mode 100644 (file)
index 0000000..2281a95
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = remove -o "$1" = abort-install -o "$1" = disappear ]; then
+       dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \
+               --divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \
+                        /usr/lib/libreoffice/share/basic/dialog.xlc
+       dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \
+               --divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \
+                        /usr/lib/libreoffice/share/basic/script.xlc
+fi
+if [ "$1" = abort-upgrade ] && dpkg --compare-versions "$2" lt 1:4.3.0~beta1-1; then
+       dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \
+               --divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \
+                        /usr/lib/libreoffice/share/basic/dialog.xlc
+       dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --remove --rename \
+               --divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \
+                       /usr/lib/libreoffice/share/basic/script.xlc
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libreoffice-base.preinst.in b/debian/libreoffice-base.preinst.in
new file mode 100644 (file)
index 0000000..73758be
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ upgrade != "$1" ] || dpkg --compare-versions "$2" lt 1:4.3.0~beta1-1; then
+       dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --add --rename \
+               --divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \
+                       /usr/lib/libreoffice/share/basic/dialog.xlc
+       dpkg-divert --package $DPKG_MAINTSCRIPT_PACKAGE --add --rename \
+               --divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \
+                       /usr/lib/libreoffice/share/basic/script.xlc
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libreoffice-calc.bug-control b/debian/libreoffice-calc.bug-control
new file mode 100644 (file)
index 0000000..1ac405f
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-calc.lintian-overrides b/debian/libreoffice-calc.lintian-overrides
new file mode 100644 (file)
index 0000000..f609e67
--- /dev/null
@@ -0,0 +1,5 @@
+libreoffice-calc: binary-or-shlib-defines-rpath
+libreoffice-calc: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-calc.xpm
+libreoffice-calc: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-calc:5
+libreoffice-calc: desktop-command-not-in-package usr/share/applications/libreoffice-calc.desktop libreoffice
+libreoffice-calc: menu-command-not-in-package usr/share/menu/libreoffice-calc:5 usr/bin/libreoffice
diff --git a/debian/libreoffice-calc.maintscript b/debian/libreoffice-calc.maintscript
new file mode 100644 (file)
index 0000000..2495b00
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-calc /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-calc.manpages b/debian/libreoffice-calc.manpages
new file mode 100644 (file)
index 0000000..a4b78ee
--- /dev/null
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/man/man1/localc.1.gz
+
diff --git a/debian/libreoffice-calc.mime b/debian/libreoffice-calc.mime
new file mode 100644 (file)
index 0000000..4528b17
--- /dev/null
@@ -0,0 +1,37 @@
+###
+# shared-mime-info
+
+# Generic
+text/csv; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="CSV Document"; nametemplate=%s.csv; priority=3
+text/spreadsheet; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Spreadsheet Interchange Document"; nametemplate=%s.slk; priority=3
+
+# Corel Quattro Pro
+application/x-quattropro; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Quattro Pro 6 for Windows Spreadsheet"; nametemplate=%s.wb2; priority=3
+
+# dBase dBASE
+application/x-dbf; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="xBase Document"; nametemplate=%s.dbf; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-excel.sheet.macroEnabled.12; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet with Macros Enabled"; nametemplate=%s.xlsm; priority=3
+application/vnd.ms-excel.template.macroEnabled.12; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template with Macros Enabled"; nametemplate=%s.xltm; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet"; nametemplate=%s.xlsx; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.template; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template"; nametemplate=%s.xltx; priority=3
+
+# IBM Lotus 1-2-3
+application/vnd.lotus-1-2-3; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Lotus 1-2-3 spreadsheet"; nametemplate=%s.123; priority=3
+
+# Microsoft Excel
+application/vnd.ms-excel; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="Microsoft Excel Document"; nametemplate=%s.xls; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.chart; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; print=soffice --nologo --calc -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Chart"; nametemplate=%s.odc; priority=9
+application/vnd.oasis.opendocument.spreadsheet; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; print=soffice --nologo --calc -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet"; nametemplate=%s.ods; priority=9
+application/vnd.oasis.opendocument.spreadsheet-template; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; print=soffice --nologo --calc -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet Template"; nametemplate=%s.ots; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.calc; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet"; nametemplate=%s.sxc; priority=8
+application/vnd.sun.xml.calc.template; soffice --nologo --calc '%s'; edit=soffice --nologo --calc '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet Template"; nametemplate=%s.stc; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-common.bug-control b/debian/libreoffice-common.bug-control
new file mode 100644 (file)
index 0000000..38da481
--- /dev/null
@@ -0,0 +1 @@
+report-with: python-uno python3-uno
diff --git a/debian/libreoffice-common.links.in b/debian/libreoffice-common.links.in
new file mode 100644 (file)
index 0000000..be8c18d
--- /dev/null
@@ -0,0 +1,36 @@
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-database.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-drawing.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-drawing-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-formula.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-master-document.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-presentation.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-presentation-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-spreadsheet.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-spreadsheet-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-text.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-text-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-web-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.web-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-database.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-drawing.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-drawing-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-formula.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-master-document.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-presentation.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-presentation-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-spreadsheet.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-spreadsheet-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-text.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-text-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-web-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.web-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-database.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-drawing.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-drawing-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-formula.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-master-document.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-presentation.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-presentation-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-spreadsheet.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-spreadsheet-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-text.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-text-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-web-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.web-template.png
diff --git a/debian/libreoffice-common.maintscript b/debian/libreoffice-common.maintscript
new file mode 100644 (file)
index 0000000..7a27689
--- /dev/null
@@ -0,0 +1 @@
+rm_conffile /etc/bash_completion.d/libreoffice.sh 1:5.1.1~rc1-1 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-common.manpages b/debian/libreoffice-common.manpages
new file mode 100644 (file)
index 0000000..37ce2e8
--- /dev/null
@@ -0,0 +1,4 @@
+debian/tmp/usr/share/man/man1/libreoffice.1.gz
+debian/tmp/usr/share/man/man1/loffice.1.gz
+debian/tmp/usr/share/man/man1/unopkg.1.gz
+debian/tmp/usr/share/man/man1/lofromtemplate.1.gz
diff --git a/debian/libreoffice-common.postinst.in b/debian/libreoffice-common.postinst.in
new file mode 100644 (file)
index 0000000..897f046
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "triggered" ]; then
+        for triggername in $2; do
+                case "$triggername" in
+                        # new "bundled" extensions (since 3.3)
+                        "/@OODIR@/share/extensions")
+                          make_lo_sync_extensions
+                        ;;
+                esac
+        done
+fi
+
+#DEBHELPER#
+
diff --git a/debian/libreoffice-common.postrm.in b/debian/libreoffice-common.postrm.in
new file mode 100644 (file)
index 0000000..c4471b5
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+case "$1" in
+       remove|abort-install|abort-upgrade)
+               rm -rf /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/bundled
+               rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/ || true
+               rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/ || true
+               # this belongs to -core, but won't work until we have -common stuff removed, too, so try here again
+               # in adduition to -core
+               rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/program/ || true
+               rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g` || true
+               # and try to remove /@OOBRANDDIR@ itself
+               rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g` || true
+       ;;
+       purge)
+               rm -f /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/config/javasettingsunopkginstall.xml
+               rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/config || true
+               rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share || true
+       ;;
+esac
+
+#DEBHELPER#
diff --git a/debian/libreoffice-common.triggers.in b/debian/libreoffice-common.triggers.in
new file mode 100644 (file)
index 0000000..c9a446c
--- /dev/null
@@ -0,0 +1 @@
+interest /@OODIR@/share/extensions
diff --git a/debian/libreoffice-core.bug-control b/debian/libreoffice-core.bug-control
new file mode 100644 (file)
index 0000000..97439bd
--- /dev/null
@@ -0,0 +1,2 @@
+report-with: libreoffice-common libreoffice-java-common fonts-opensymbol
+package-status: libxrender1 libxinerama1 libsane iceweasel firefox icedove iceape-browser libreoffice-filter-binfilter pstoedit imagemagick fglrx-driver nvidia-glx nvidia-glx-legacy
diff --git a/debian/libreoffice-core.bug-script.in b/debian/libreoffice-core.bug-script.in
new file mode 100755 (executable)
index 0000000..3de70c2
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# list all installed extensions. --bundled, --shared and non-shared
+/usr/lib/libreoffice/program/unopkg list --bundled >&3
+/usr/lib/libreoffice/program/unopkg list --shared >&3
+/usr/lib/libreoffice/program/unopkg list >&3
+
+# experimental stuff enabled?
+echo "" >&3
+echo "Experimental features enabled:" >&3
+#_lo_profile_ver=`echo @OOVER@ | cut -d. -f1`
+_lo_profile_ver=4
+if [ -d "$HOME/.config/libreoffice/$_lo_profile_ver" ]; then
+        grep ExperimentalMode $HOME/.config/libreoffice/$_lo_profile_ver/user/registrymodifications.xcu >&3
+fi
+
+# installed VCLplugs
+echo "" >&3
+echo "Installed VCLplugs:" >&3
+dpkg -l libreoffice-gtk2 libreoffice-gtk3 libreoffice-kde >&3
diff --git a/debian/libreoffice-core.postrm.in b/debian/libreoffice-core.postrm.in
new file mode 100755 (executable)
index 0000000..95ed9cb
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "remove" ]; then
+       rm -rf /var/spool/libreoffice
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libreoffice-dbg.maintscript b/debian/libreoffice-dbg.maintscript
new file mode 100644 (file)
index 0000000..a27abce
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-dbg /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-dbg.postinst.debhelper b/debian/libreoffice-dbg.postinst.debhelper
new file mode 100644 (file)
index 0000000..3a84c53
--- /dev/null
@@ -0,0 +1,3 @@
+# Automatically added by dh_installdeb
+dpkg-maintscript-helper dir_to_symlink /usr/share/doc/libreoffice-dbg /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE -- "$@"
+# End automatically added section
diff --git a/debian/libreoffice-dbg.postrm.debhelper b/debian/libreoffice-dbg.postrm.debhelper
new file mode 100644 (file)
index 0000000..3a84c53
--- /dev/null
@@ -0,0 +1,3 @@
+# Automatically added by dh_installdeb
+dpkg-maintscript-helper dir_to_symlink /usr/share/doc/libreoffice-dbg /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE -- "$@"
+# End automatically added section
diff --git a/debian/libreoffice-dbg.preinst.debhelper b/debian/libreoffice-dbg.preinst.debhelper
new file mode 100644 (file)
index 0000000..3a84c53
--- /dev/null
@@ -0,0 +1,3 @@
+# Automatically added by dh_installdeb
+dpkg-maintscript-helper dir_to_symlink /usr/share/doc/libreoffice-dbg /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE -- "$@"
+# End automatically added section
diff --git a/debian/libreoffice-dbg.prerm.debhelper b/debian/libreoffice-dbg.prerm.debhelper
new file mode 100644 (file)
index 0000000..3a84c53
--- /dev/null
@@ -0,0 +1,3 @@
+# Automatically added by dh_installdeb
+dpkg-maintscript-helper dir_to_symlink /usr/share/doc/libreoffice-dbg /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE -- "$@"
+# End automatically added section
diff --git a/debian/libreoffice-dbg.substvars b/debian/libreoffice-dbg.substvars
new file mode 100644 (file)
index 0000000..c6a0f59
--- /dev/null
@@ -0,0 +1,4 @@
+misc:Depends=libreoffice-core (= 1:5.2.7-1~bpo8+1)
+misc:Pre-Depends=dpkg (>= 1.17.13)
+java:Depends=
+java:Recommends=
diff --git a/debian/libreoffice-dev-doc.links b/debian/libreoffice-dev-doc.links
new file mode 100644 (file)
index 0000000..7e6fd17
--- /dev/null
@@ -0,0 +1 @@
+usr/share/doc/libreoffice/sdk/docs usr/share/doc/libreoffice-dev-doc/api
diff --git a/debian/libreoffice-dev.lintian-overrides b/debian/libreoffice-dev.lintian-overrides
new file mode 100644 (file)
index 0000000..da3e047
--- /dev/null
@@ -0,0 +1,2 @@
+libreoffice-dev: csh-considered-harmful
+libreoffice-dev: wrong-section-according-to-package-name libreoffice-dev => libdevel
diff --git a/debian/libreoffice-dev.maintscript b/debian/libreoffice-dev.maintscript
new file mode 100644 (file)
index 0000000..f052d3a
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-dev /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-draw.bug-control b/debian/libreoffice-draw.bug-control
new file mode 100644 (file)
index 0000000..1ac405f
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-draw.lintian-overrides b/debian/libreoffice-draw.lintian-overrides
new file mode 100644 (file)
index 0000000..83bae3b
--- /dev/null
@@ -0,0 +1,4 @@
+libreoffice-draw: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-draw.xpm
+libreoffice-draw: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-draw:5
+libreoffice-draw: desktop-command-not-in-package usr/share/applications/libreoffice-draw.desktop libreoffice
+libreoffice-draw: menu-command-not-in-package usr/share/menu/libreoffice-draw:5 usr/bin/libreoffice
diff --git a/debian/libreoffice-draw.maintscript b/debian/libreoffice-draw.maintscript
new file mode 100644 (file)
index 0000000..2eaefb1
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-draw /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-draw.manpages b/debian/libreoffice-draw.manpages
new file mode 100644 (file)
index 0000000..3267e53
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/lodraw.1.gz
diff --git a/debian/libreoffice-draw.mime b/debian/libreoffice-draw.mime
new file mode 100644 (file)
index 0000000..e960d67
--- /dev/null
@@ -0,0 +1,13 @@
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.graphics; soffice --nologo --draw '%s'; edit=soffice --nologo --draw '%s'; print=soffice --nologo --draw -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Drawing"; nametemplate=%s.odg; priority=9
+application/vnd.oasis.opendocument.graphics-template; soffice --nologo --draw '%s'; edit=soffice --nologo --draw '%s'; print=soffice --nologo --draw -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Drawing Template"; nametemplate=%s.otg; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.draw; soffice --nologo --draw '%s'; edit=soffice --nologo --draw '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing"; nametemplate=%s.sxd; priority=8
+application/vnd.sun.xml.draw.template; soffice --nologo --draw '%s'; edit=soffice --nologo --draw '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing Template"; nametemplate=%s.std; priority=8
+
+#
+###
diff --git a/debian/libreoffice-evolution.bug-control b/debian/libreoffice-evolution.bug-control
new file mode 100644 (file)
index 0000000..aa427de
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core evolution libreoffice-base
diff --git a/debian/libreoffice-evolution.maintscript b/debian/libreoffice-evolution.maintscript
new file mode 100644 (file)
index 0000000..750486c
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-evolution /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-gcj.bug-control b/debian/libreoffice-gcj.bug-control
new file mode 100644 (file)
index 0000000..2d0f84b
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core libreoffice-java-common
diff --git a/debian/libreoffice-gnome.maintscript b/debian/libreoffice-gnome.maintscript
new file mode 100644 (file)
index 0000000..8bb32d3
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-gnome /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-gtk.maintscript b/debian/libreoffice-gtk.maintscript
new file mode 100644 (file)
index 0000000..782307e
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-gtk /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-gtk2.lintian-overrides b/debian/libreoffice-gtk2.lintian-overrides
new file mode 100644 (file)
index 0000000..9c0dd9e
--- /dev/null
@@ -0,0 +1 @@
+libreoffice-gtk2: binary-or-shlib-defines-rpath
diff --git a/debian/libreoffice-gtk3.maintscript b/debian/libreoffice-gtk3.maintscript
new file mode 100644 (file)
index 0000000..f29e0db
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-gtk3 /usr/share/doc/libreoffice-core 1:5.1.2-3 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-ca.maintscript b/debian/libreoffice-help-ca.maintscript
new file mode 100644 (file)
index 0000000..e26a7da
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-ca /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-cs.maintscript b/debian/libreoffice-help-cs.maintscript
new file mode 100644 (file)
index 0000000..f3cfc32
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-cs /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-da.maintscript b/debian/libreoffice-help-da.maintscript
new file mode 100644 (file)
index 0000000..934e3ba
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-da /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-de.maintscript b/debian/libreoffice-help-de.maintscript
new file mode 100644 (file)
index 0000000..147c4b6
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-de /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-dz.maintscript b/debian/libreoffice-help-dz.maintscript
new file mode 100644 (file)
index 0000000..756cff1
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-dz /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-el.maintscript b/debian/libreoffice-help-el.maintscript
new file mode 100644 (file)
index 0000000..a10b4b8
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-el /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-en-gb.maintscript b/debian/libreoffice-help-en-gb.maintscript
new file mode 100644 (file)
index 0000000..3eb0a80
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-en-gb /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-en-us.maintscript b/debian/libreoffice-help-en-us.maintscript
new file mode 100644 (file)
index 0000000..e59eb12
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-en-us /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-es.maintscript b/debian/libreoffice-help-es.maintscript
new file mode 100644 (file)
index 0000000..5c99c16
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-es /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-et.maintscript b/debian/libreoffice-help-et.maintscript
new file mode 100644 (file)
index 0000000..eef3810
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-et /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-eu.maintscript b/debian/libreoffice-help-eu.maintscript
new file mode 100644 (file)
index 0000000..6ffd996
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-eu /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-fi.maintscript b/debian/libreoffice-help-fi.maintscript
new file mode 100644 (file)
index 0000000..89781bb
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-fi /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-fr.maintscript b/debian/libreoffice-help-fr.maintscript
new file mode 100644 (file)
index 0000000..bf6dbb1
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-fr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-gl.maintscript b/debian/libreoffice-help-gl.maintscript
new file mode 100644 (file)
index 0000000..2342ac9
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-gl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-hi.maintscript b/debian/libreoffice-help-hi.maintscript
new file mode 100644 (file)
index 0000000..03b5b10
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-hi /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-hu.maintscript b/debian/libreoffice-help-hu.maintscript
new file mode 100644 (file)
index 0000000..e620741
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-hu /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-it.maintscript b/debian/libreoffice-help-it.maintscript
new file mode 100644 (file)
index 0000000..53a17e9
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-it /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-ja.maintscript b/debian/libreoffice-help-ja.maintscript
new file mode 100644 (file)
index 0000000..22d2bf6
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-ja /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-km.maintscript b/debian/libreoffice-help-km.maintscript
new file mode 100644 (file)
index 0000000..c1e3db0
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-km /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-ko.maintscript b/debian/libreoffice-help-ko.maintscript
new file mode 100644 (file)
index 0000000..6e3ad09
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-ko /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-nl.maintscript b/debian/libreoffice-help-nl.maintscript
new file mode 100644 (file)
index 0000000..62ab191
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-nl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-om.maintscript b/debian/libreoffice-help-om.maintscript
new file mode 100644 (file)
index 0000000..ac9a104
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-om /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-pl.maintscript b/debian/libreoffice-help-pl.maintscript
new file mode 100644 (file)
index 0000000..7ce0c73
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-pl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-pt-br.maintscript b/debian/libreoffice-help-pt-br.maintscript
new file mode 100644 (file)
index 0000000..e59f03d
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-pt-br /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-pt.maintscript b/debian/libreoffice-help-pt.maintscript
new file mode 100644 (file)
index 0000000..889e480
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-pt /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-ru.maintscript b/debian/libreoffice-help-ru.maintscript
new file mode 100644 (file)
index 0000000..71d2ce7
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-ru /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-sk.maintscript b/debian/libreoffice-help-sk.maintscript
new file mode 100644 (file)
index 0000000..511faab
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-sk /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-sl.maintscript b/debian/libreoffice-help-sl.maintscript
new file mode 100644 (file)
index 0000000..8983692
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-sl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-sv.maintscript b/debian/libreoffice-help-sv.maintscript
new file mode 100644 (file)
index 0000000..2784830
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-sv /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-tr.maintscript b/debian/libreoffice-help-tr.maintscript
new file mode 100644 (file)
index 0000000..1a3f7ca
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-tr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-vi.maintscript b/debian/libreoffice-help-vi.maintscript
new file mode 100644 (file)
index 0000000..34d60d2
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-vi /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-zh-cn.maintscript b/debian/libreoffice-help-zh-cn.maintscript
new file mode 100644 (file)
index 0000000..dfbcebe
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-zh-cn /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-help-zh-tw.maintscript b/debian/libreoffice-help-zh-tw.maintscript
new file mode 100644 (file)
index 0000000..90db5c0
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-help-zh-tw /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-impress.bug-control b/debian/libreoffice-impress.bug-control
new file mode 100644 (file)
index 0000000..a3a052e
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core libreoffice-draw
diff --git a/debian/libreoffice-impress.lintian-overrides b/debian/libreoffice-impress.lintian-overrides
new file mode 100644 (file)
index 0000000..1822b7c
--- /dev/null
@@ -0,0 +1,4 @@
+libreoffice-impress: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-impress.xpm
+libreoffice-impress: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-impress:5
+libreoffice-impress: desktop-command-not-in-package usr/share/applications/libreoffice-impress.desktop libreoffice
+libreoffice-impress: menu-command-not-in-package usr/share/menu/libreoffice-impress:5 usr/bin/libreoffice
diff --git a/debian/libreoffice-impress.maintscript b/debian/libreoffice-impress.maintscript
new file mode 100644 (file)
index 0000000..42c778a
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-impress /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-impress.manpages b/debian/libreoffice-impress.manpages
new file mode 100644 (file)
index 0000000..60ab514
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/loimpress.1.gz
diff --git a/debian/libreoffice-impress.mime b/debian/libreoffice-impress.mime
new file mode 100644 (file)
index 0000000..fe75878
--- /dev/null
@@ -0,0 +1,25 @@
+###
+# shared-mime-info
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-powerpoint.presentation.macroEnabled.12; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation with Macros Enabled"; nametemplate=%s.pptm; priority=3
+application/vnd.ms-powerpoint.slideshow.macroEnabled.12; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show with Macros Enabled"; nametemplate=%s.ppsm; priority=3
+application/vnd.ms-powerpoint.template.macroEnabled.12; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template with Macros Enabled"; nametemplate=%s.potm; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.presentation; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation"; nametemplate=%s.pptx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.slideshow; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show"; nametemplate=%s.ppsx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.template; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template"; nametemplate=%s.potx; priority=3
+
+# Microsoft PowerPoint
+application/vnd.ms-powerpoint; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="Microsoft PowerPoint Document"; nametemplate=%s.ppt; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.presentation; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; print=soffice --nologo --impress -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Presentation"; nametemplate=%s.odp; priority=9
+application/vnd.oasis.opendocument.presentation-template; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; print=soffice --nologo --impress -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Presentation Template"; nametemplate=%s.otp; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.impress; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation"; nametemplate=%s.sxi; priority=8
+application/vnd.sun.xml.impress.template; soffice --nologo --impress '%s'; edit=soffice --nologo --impress '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation Template"; nametemplate=%s.sti; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-java-common.maintscript b/debian/libreoffice-java-common.maintscript
new file mode 100644 (file)
index 0000000..2d6729c
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-java-common /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-java-common.poms b/debian/libreoffice-java-common.poms
new file mode 100644 (file)
index 0000000..fcc4eec
--- /dev/null
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+debian/pom.unoil.xml --no-parent --has-package-version
diff --git a/debian/libreoffice-kde.NEWS b/debian/libreoffice-kde.NEWS
new file mode 100644 (file)
index 0000000..03b1dd9
--- /dev/null
@@ -0,0 +1,13 @@
+libreoffice (1:4.2.4~rc2-1) experimental; urgency=low
+
+  * This version has some more KDE4 patches backported from libreoffice-4-2
+    branch. (so they would have been in 4.2.5 proper anyways).
+
+    This also means that the KDE integration code now also contains a runtime
+    check for a Qt function - without that one the KDE File Picker is completey
+    flaky and will crash often (see e.g. #743221 and #742675).
+
+    This effectively means the the KDE File Picker is still built and included
+    in this package but de-facto disabled until Qt is fixed.
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 01 May 2014 12:42:05 +0200
diff --git a/debian/libreoffice-kde.maintscript b/debian/libreoffice-kde.maintscript
new file mode 100644 (file)
index 0000000..35c38ae
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-kde /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-af.maintscript b/debian/libreoffice-l10n-af.maintscript
new file mode 100644 (file)
index 0000000..d31cb49
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-af /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ar.maintscript b/debian/libreoffice-l10n-ar.maintscript
new file mode 100644 (file)
index 0000000..85bb06f
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ar /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-as.maintscript b/debian/libreoffice-l10n-as.maintscript
new file mode 100644 (file)
index 0000000..34caa20
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-as /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ast.maintscript b/debian/libreoffice-l10n-ast.maintscript
new file mode 100644 (file)
index 0000000..b79c054
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ast /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-be.maintscript b/debian/libreoffice-l10n-be.maintscript
new file mode 100644 (file)
index 0000000..e30c6e5
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-be /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-bg.maintscript b/debian/libreoffice-l10n-bg.maintscript
new file mode 100644 (file)
index 0000000..1f56f8f
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-bg /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-bn.maintscript b/debian/libreoffice-l10n-bn.maintscript
new file mode 100644 (file)
index 0000000..de266ce
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-bn /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-br.maintscript b/debian/libreoffice-l10n-br.maintscript
new file mode 100644 (file)
index 0000000..3ad7cbe
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-br /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-bs.maintscript b/debian/libreoffice-l10n-bs.maintscript
new file mode 100644 (file)
index 0000000..d583cfe
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-bs /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ca.maintscript b/debian/libreoffice-l10n-ca.maintscript
new file mode 100644 (file)
index 0000000..f51b4b1
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ca /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-cs.maintscript b/debian/libreoffice-l10n-cs.maintscript
new file mode 100644 (file)
index 0000000..b1b89d6
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-cs /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-cy.maintscript b/debian/libreoffice-l10n-cy.maintscript
new file mode 100644 (file)
index 0000000..0285424
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-cy /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-da.maintscript b/debian/libreoffice-l10n-da.maintscript
new file mode 100644 (file)
index 0000000..83cee35
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-da /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-de.maintscript b/debian/libreoffice-l10n-de.maintscript
new file mode 100644 (file)
index 0000000..651489b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-de /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-dz.maintscript b/debian/libreoffice-l10n-dz.maintscript
new file mode 100644 (file)
index 0000000..c604eb6
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-dz /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-el.maintscript b/debian/libreoffice-l10n-el.maintscript
new file mode 100644 (file)
index 0000000..a6be7b2
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-el /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-en-gb.maintscript b/debian/libreoffice-l10n-en-gb.maintscript
new file mode 100644 (file)
index 0000000..b7da403
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-en-gb /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-en-za.maintscript b/debian/libreoffice-l10n-en-za.maintscript
new file mode 100644 (file)
index 0000000..b8def66
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-en-za /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-eo.maintscript b/debian/libreoffice-l10n-eo.maintscript
new file mode 100644 (file)
index 0000000..4b1e659
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-eo /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-es.maintscript b/debian/libreoffice-l10n-es.maintscript
new file mode 100644 (file)
index 0000000..def4233
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-es /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-et.maintscript b/debian/libreoffice-l10n-et.maintscript
new file mode 100644 (file)
index 0000000..b0170a3
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-et /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-eu.maintscript b/debian/libreoffice-l10n-eu.maintscript
new file mode 100644 (file)
index 0000000..574ada8
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-eu /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-fa.maintscript b/debian/libreoffice-l10n-fa.maintscript
new file mode 100644 (file)
index 0000000..98137e2
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-fa /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-fi.maintscript b/debian/libreoffice-l10n-fi.maintscript
new file mode 100644 (file)
index 0000000..4488aad
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-fi /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-fr.maintscript b/debian/libreoffice-l10n-fr.maintscript
new file mode 100644 (file)
index 0000000..f6b9941
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-fr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ga.maintscript b/debian/libreoffice-l10n-ga.maintscript
new file mode 100644 (file)
index 0000000..45cf8fa
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ga /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-gd.maintscript b/debian/libreoffice-l10n-gd.maintscript
new file mode 100644 (file)
index 0000000..68e5634
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-gd /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-gl.maintscript b/debian/libreoffice-l10n-gl.maintscript
new file mode 100644 (file)
index 0000000..dd947a0
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-gl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-gu.maintscript b/debian/libreoffice-l10n-gu.maintscript
new file mode 100644 (file)
index 0000000..5b4854a
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-gu /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-he.maintscript b/debian/libreoffice-l10n-he.maintscript
new file mode 100644 (file)
index 0000000..c1d372b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-he /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-hi.maintscript b/debian/libreoffice-l10n-hi.maintscript
new file mode 100644 (file)
index 0000000..4c9ee54
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-hi /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-hr.maintscript b/debian/libreoffice-l10n-hr.maintscript
new file mode 100644 (file)
index 0000000..3e54c7b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-hr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-hu.maintscript b/debian/libreoffice-l10n-hu.maintscript
new file mode 100644 (file)
index 0000000..5e4d29b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-hu /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-id.maintscript b/debian/libreoffice-l10n-id.maintscript
new file mode 100644 (file)
index 0000000..c4120f9
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-id /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-in.maintscript b/debian/libreoffice-l10n-in.maintscript
new file mode 100644 (file)
index 0000000..87311be
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-in /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-is.maintscript b/debian/libreoffice-l10n-is.maintscript
new file mode 100644 (file)
index 0000000..d7d1050
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-is /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-it.maintscript b/debian/libreoffice-l10n-it.maintscript
new file mode 100644 (file)
index 0000000..76202ca
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-it /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ja.maintscript b/debian/libreoffice-l10n-ja.maintscript
new file mode 100644 (file)
index 0000000..1c2f746
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ja /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ka.maintscript b/debian/libreoffice-l10n-ka.maintscript
new file mode 100644 (file)
index 0000000..1c73394
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ka /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-kk.maintscript b/debian/libreoffice-l10n-kk.maintscript
new file mode 100644 (file)
index 0000000..ad8e103
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-kk /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-km.maintscript b/debian/libreoffice-l10n-km.maintscript
new file mode 100644 (file)
index 0000000..67f30aa
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-km /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-kmr.maintscript b/debian/libreoffice-l10n-kmr.maintscript
new file mode 100644 (file)
index 0000000..ce49af0
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-kmr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ko.maintscript b/debian/libreoffice-l10n-ko.maintscript
new file mode 100644 (file)
index 0000000..f13c406
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ko /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-lt.maintscript b/debian/libreoffice-l10n-lt.maintscript
new file mode 100644 (file)
index 0000000..5b94219
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-lt /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-lv.maintscript b/debian/libreoffice-l10n-lv.maintscript
new file mode 100644 (file)
index 0000000..d3c5c30
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-lv /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-mk.maintscript b/debian/libreoffice-l10n-mk.maintscript
new file mode 100644 (file)
index 0000000..48d2323
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-mk /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ml.maintscript b/debian/libreoffice-l10n-ml.maintscript
new file mode 100644 (file)
index 0000000..ac0d26d
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ml /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-mn.maintscript b/debian/libreoffice-l10n-mn.maintscript
new file mode 100644 (file)
index 0000000..2794611
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-mn /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-mr.maintscript b/debian/libreoffice-l10n-mr.maintscript
new file mode 100644 (file)
index 0000000..d45c7b9
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-mr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-nb.maintscript b/debian/libreoffice-l10n-nb.maintscript
new file mode 100644 (file)
index 0000000..1a6e249
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-nb /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ne.maintscript b/debian/libreoffice-l10n-ne.maintscript
new file mode 100644 (file)
index 0000000..5b6398f
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ne /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-nl.maintscript b/debian/libreoffice-l10n-nl.maintscript
new file mode 100644 (file)
index 0000000..9fa6e32
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-nl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-nn.maintscript b/debian/libreoffice-l10n-nn.maintscript
new file mode 100644 (file)
index 0000000..01e73ae
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-nn /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-nr.maintscript b/debian/libreoffice-l10n-nr.maintscript
new file mode 100644 (file)
index 0000000..a4f9de6
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-nr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-nso.maintscript b/debian/libreoffice-l10n-nso.maintscript
new file mode 100644 (file)
index 0000000..ad47019
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-nso /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-oc.maintscript b/debian/libreoffice-l10n-oc.maintscript
new file mode 100644 (file)
index 0000000..3c330e8
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-oc /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-om.maintscript b/debian/libreoffice-l10n-om.maintscript
new file mode 100644 (file)
index 0000000..86553c2
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-om /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-or.maintscript b/debian/libreoffice-l10n-or.maintscript
new file mode 100644 (file)
index 0000000..5b2e4e5
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-or /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-pa-in.maintscript b/debian/libreoffice-l10n-pa-in.maintscript
new file mode 100644 (file)
index 0000000..19c247d
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-pa-in /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-pl.maintscript b/debian/libreoffice-l10n-pl.maintscript
new file mode 100644 (file)
index 0000000..4c3e85b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-pl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-pt-br.maintscript b/debian/libreoffice-l10n-pt-br.maintscript
new file mode 100644 (file)
index 0000000..7c39f16
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-pt-br /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-pt.maintscript b/debian/libreoffice-l10n-pt.maintscript
new file mode 100644 (file)
index 0000000..09af19b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-pt /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ro.maintscript b/debian/libreoffice-l10n-ro.maintscript
new file mode 100644 (file)
index 0000000..2492846
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ro /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ru.maintscript b/debian/libreoffice-l10n-ru.maintscript
new file mode 100644 (file)
index 0000000..ed137f0
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ru /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-rw.maintscript b/debian/libreoffice-l10n-rw.maintscript
new file mode 100644 (file)
index 0000000..d408f67
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-rw /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-si.maintscript b/debian/libreoffice-l10n-si.maintscript
new file mode 100644 (file)
index 0000000..4e53cfa
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-si /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-sk.maintscript b/debian/libreoffice-l10n-sk.maintscript
new file mode 100644 (file)
index 0000000..4133641
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-sk /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-sl.maintscript b/debian/libreoffice-l10n-sl.maintscript
new file mode 100644 (file)
index 0000000..781d273
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-sl /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-sr.maintscript b/debian/libreoffice-l10n-sr.maintscript
new file mode 100644 (file)
index 0000000..415e0f5
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-sr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ss.maintscript b/debian/libreoffice-l10n-ss.maintscript
new file mode 100644 (file)
index 0000000..d753809
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ss /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-st.maintscript b/debian/libreoffice-l10n-st.maintscript
new file mode 100644 (file)
index 0000000..abbcab3
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-st /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-sv.maintscript b/debian/libreoffice-l10n-sv.maintscript
new file mode 100644 (file)
index 0000000..06819a4
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-sv /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ta.maintscript b/debian/libreoffice-l10n-ta.maintscript
new file mode 100644 (file)
index 0000000..0f39116
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ta /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-te.maintscript b/debian/libreoffice-l10n-te.maintscript
new file mode 100644 (file)
index 0000000..7bc6f2b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-te /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-tg.maintscript b/debian/libreoffice-l10n-tg.maintscript
new file mode 100644 (file)
index 0000000..998bffb
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-tg /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-th.maintscript b/debian/libreoffice-l10n-th.maintscript
new file mode 100644 (file)
index 0000000..c9ffbd3
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-th /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-tn.maintscript b/debian/libreoffice-l10n-tn.maintscript
new file mode 100644 (file)
index 0000000..f9645ef
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-tn /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-tr.maintscript b/debian/libreoffice-l10n-tr.maintscript
new file mode 100644 (file)
index 0000000..498d499
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-tr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ts.maintscript b/debian/libreoffice-l10n-ts.maintscript
new file mode 100644 (file)
index 0000000..10435e6
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ts /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ug.maintscript b/debian/libreoffice-l10n-ug.maintscript
new file mode 100644 (file)
index 0000000..5c2a7ef
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ug /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-uk.maintscript b/debian/libreoffice-l10n-uk.maintscript
new file mode 100644 (file)
index 0000000..281811b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-uk /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-uz.maintscript b/debian/libreoffice-l10n-uz.maintscript
new file mode 100644 (file)
index 0000000..d74fe7f
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-uz /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-ve.maintscript b/debian/libreoffice-l10n-ve.maintscript
new file mode 100644 (file)
index 0000000..9146fe8
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-ve /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-vi.maintscript b/debian/libreoffice-l10n-vi.maintscript
new file mode 100644 (file)
index 0000000..4271ca0
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-vi /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-xh.maintscript b/debian/libreoffice-l10n-xh.maintscript
new file mode 100644 (file)
index 0000000..18a9d5b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-xh /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-za.maintscript b/debian/libreoffice-l10n-za.maintscript
new file mode 100644 (file)
index 0000000..003b16c
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-za /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-zh-cn.maintscript b/debian/libreoffice-l10n-zh-cn.maintscript
new file mode 100644 (file)
index 0000000..d76a581
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-zh-cn /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-zh-tw.maintscript b/debian/libreoffice-l10n-zh-tw.maintscript
new file mode 100644 (file)
index 0000000..8f8f223
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-zh-tw /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-l10n-zu.maintscript b/debian/libreoffice-l10n-zu.maintscript
new file mode 100644 (file)
index 0000000..175e083
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-l10n-zu /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-math.bug-control b/debian/libreoffice-math.bug-control
new file mode 100644 (file)
index 0000000..1ac405f
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-math.lintian-overrides b/debian/libreoffice-math.lintian-overrides
new file mode 100644 (file)
index 0000000..76e76a1
--- /dev/null
@@ -0,0 +1,4 @@
+libreoffice-math: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-math.xpm
+libreoffice-math: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-math:5
+libreoffice-math: desktop-command-not-in-package usr/share/applications/libreoffice-math.desktop libreoffice
+libreoffice-math: menu-command-not-in-package usr/share/menu/libreoffice-math:5 usr/bin/libreoffice
diff --git a/debian/libreoffice-math.maintscript b/debian/libreoffice-math.maintscript
new file mode 100644 (file)
index 0000000..8d3c9f3
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-math /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-math.manpages b/debian/libreoffice-math.manpages
new file mode 100644 (file)
index 0000000..6798b1e
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/lomath.1.gz
diff --git a/debian/libreoffice-math.mime b/debian/libreoffice-math.mime
new file mode 100644 (file)
index 0000000..c9eee47
--- /dev/null
@@ -0,0 +1,14 @@
+###
+# shared-mime-info
+
+# Generic
+text/mathml; soffice --nologo --math '%s'; edit=soffice --nologo --math '%s'; test=test -n "$DISPLAY"; description="MathML Formula"; nametemplate=%s.mml; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.formula; soffice --nologo --math '%s'; edit=soffice --nologo --math '%s'; print=soffice --nologo --math -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Formula"; nametemplate=%s.odf; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.math; soffice --nologo --math '%s'; edit=soffice --nologo --math '%s'; test=test -n "$DISPLAY"; description="OpenOffice.org Formula"; nametemplate=%s.sxm; priority=8
+
+#
+###
diff --git a/debian/libreoffice-mysql-connector.bug-script.in b/debian/libreoffice-mysql-connector.bug-script.in
new file mode 100755 (executable)
index 0000000..1ce8048
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.star.mysql-connector-ooo-@PLATFORMID@ >&3
diff --git a/debian/libreoffice-mysql-connector.triggers.in b/debian/libreoffice-mysql-connector.triggers.in
new file mode 100644 (file)
index 0000000..a7bc60e
--- /dev/null
@@ -0,0 +1 @@
+activate /@OODIR@/share/extensions
diff --git a/debian/libreoffice-officebean.bug-control b/debian/libreoffice-officebean.bug-control
new file mode 100644 (file)
index 0000000..1ac405f
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-officebean.maintscript b/debian/libreoffice-officebean.maintscript
new file mode 100644 (file)
index 0000000..cdd424d
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-officebean /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-officebean.poms b/debian/libreoffice-officebean.poms
new file mode 100644 (file)
index 0000000..36e613a
--- /dev/null
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+debian/pom.officebean.xml --no-parent --has-package-version
diff --git a/debian/libreoffice-ogltrans.bug-control b/debian/libreoffice-ogltrans.bug-control
new file mode 100644 (file)
index 0000000..4df26c7
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-impress fglrx-glx ia32-fglrx-glx nvidia-glx nvidia-glx-legacy
diff --git a/debian/libreoffice-ogltrans.maintscript b/debian/libreoffice-ogltrans.maintscript
new file mode 100644 (file)
index 0000000..00bcdbe
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-ogltrans /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-pdfimport.maintscript b/debian/libreoffice-pdfimport.maintscript
new file mode 100644 (file)
index 0000000..b5fea43
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-pdfimport /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-report-builder-bin.maintscript b/debian/libreoffice-report-builder-bin.maintscript
new file mode 100644 (file)
index 0000000..edad2a1
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-report-builder-bin /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-report-builder.bug-control b/debian/libreoffice-report-builder.bug-control
new file mode 100644 (file)
index 0000000..48ef942
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-base
diff --git a/debian/libreoffice-report-builder.maintscript b/debian/libreoffice-report-builder.maintscript
new file mode 100644 (file)
index 0000000..ccafed6
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-report-builder /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-script-provider-bsh.maintscript b/debian/libreoffice-script-provider-bsh.maintscript
new file mode 100644 (file)
index 0000000..1c43c1b
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-script-provider-bsh /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-script-provider-js.maintscript b/debian/libreoffice-script-provider-js.maintscript
new file mode 100644 (file)
index 0000000..0df6c11
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-script-provider-js /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-script-provider-python.bug-control b/debian/libreoffice-script-provider-python.bug-control
new file mode 100644 (file)
index 0000000..38da481
--- /dev/null
@@ -0,0 +1 @@
+report-with: python-uno python3-uno
diff --git a/debian/libreoffice-script-provider-python.maintscript b/debian/libreoffice-script-provider-python.maintscript
new file mode 100644 (file)
index 0000000..bf7b389
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-script-provider-python /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-sdbc-firebird.bug-script.in b/debian/libreoffice-sdbc-firebird.bug-script.in
new file mode 100644 (file)
index 0000000..c7d7943
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# experimental stuff enabled?
+echo "" >&3
+echo "Experimental features enabled:" >&3
+#_lo_profile_ver=`echo @OOVER@ | cut -d. -f1`
+_lo_profile_ver=4
+if [ -d "$HOME/.config/libreoffice/$_lo_profile_ver" ]; then
+        grep ExperimentalMode $HOME/.config/libreoffice/$_lo_profile_ver/user/registrymodifications.xcu >&3
+fi
diff --git a/debian/libreoffice-sdbc-firebird.maintscript b/debian/libreoffice-sdbc-firebird.maintscript
new file mode 100644 (file)
index 0000000..dfa8002
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-sdbc-firebird /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-sdbc-hsqldb.maintscript b/debian/libreoffice-sdbc-hsqldb.maintscript
new file mode 100644 (file)
index 0000000..4f0f9f1
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-sdbc-hsqldb /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-sdbc-postgresql.maintscript b/debian/libreoffice-sdbc-postgresql.maintscript
new file mode 100644 (file)
index 0000000..cfc4c84
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-sdbc-postgresql /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-style-breeze.maintscript b/debian/libreoffice-style-breeze.maintscript
new file mode 100644 (file)
index 0000000..a92e389
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-style-breeze /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-style-galaxy.maintscript b/debian/libreoffice-style-galaxy.maintscript
new file mode 100644 (file)
index 0000000..aff1f7e
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-style-galaxy /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-style-hicontrast.maintscript b/debian/libreoffice-style-hicontrast.maintscript
new file mode 100644 (file)
index 0000000..f233f07
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-style-hicontrast /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-style-oxygen.maintscript b/debian/libreoffice-style-oxygen.maintscript
new file mode 100644 (file)
index 0000000..eada23f
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-style-oxygen /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-style-sifr.maintscript b/debian/libreoffice-style-sifr.maintscript
new file mode 100644 (file)
index 0000000..6a77ef2
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-style-sifr /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-style-tango.maintscript b/debian/libreoffice-style-tango.maintscript
new file mode 100644 (file)
index 0000000..002f767
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-style-tango /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-subsequentcheckbase.maintscript b/debian/libreoffice-subsequentcheckbase.maintscript
new file mode 100644 (file)
index 0000000..023788c
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-subsequentcheckbase /usr/share/doc/libreoffice-common 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-wiki-publisher.bug-script.in b/debian/libreoffice-wiki-publisher.bug-script.in
new file mode 100755 (executable)
index 0000000..9497e5c
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.wiki-publisher >&3
diff --git a/debian/libreoffice-wiki-publisher.lintian-overrides b/debian/libreoffice-wiki-publisher.lintian-overrides
new file mode 100644 (file)
index 0000000..82dc820
--- /dev/null
@@ -0,0 +1 @@
+libreoffice-wiki-publisher: jar-not-in-usr-share usr/lib/libreoffice/share/extensions/wiki-publisher/help/*/help.jar
diff --git a/debian/libreoffice-wiki-publisher.triggers.in b/debian/libreoffice-wiki-publisher.triggers.in
new file mode 100644 (file)
index 0000000..a7bc60e
--- /dev/null
@@ -0,0 +1 @@
+activate /@OODIR@/share/extensions
diff --git a/debian/libreoffice-writer.bug-control b/debian/libreoffice-writer.bug-control
new file mode 100644 (file)
index 0000000..1ac405f
--- /dev/null
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-writer.lintian-overrides b/debian/libreoffice-writer.lintian-overrides
new file mode 100644 (file)
index 0000000..be24a11
--- /dev/null
@@ -0,0 +1,4 @@
+libreoffice-writer: menu-icon-missing usr/share/icons/hicolor/32x32/apps/libreoffice-writer.xpm
+libreoffice-writer: menu-item-contains-unknown-tag kderemove usr/share/menu/libreoffice-writer:5
+libreoffice-writer: desktop-command-not-in-package usr/share/applications/libreoffice-writer.desktop libreoffice
+libreoffice-writer: menu-command-not-in-package usr/share/menu/libreoffice-writer:5 usr/bin/libreoffice
diff --git a/debian/libreoffice-writer.maintscript b/debian/libreoffice-writer.maintscript
new file mode 100644 (file)
index 0000000..f078702
--- /dev/null
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/libreoffice-writer /usr/share/doc/libreoffice-core 1:5.0.3~rc1-2 $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreoffice-writer.manpages b/debian/libreoffice-writer.manpages
new file mode 100644 (file)
index 0000000..53c4e24
--- /dev/null
@@ -0,0 +1,3 @@
+debian/tmp/usr/share/man/man1/loweb.1.gz
+debian/tmp/usr/share/man/man1/lowriter.1.gz
+
diff --git a/debian/libreoffice-writer.mime b/debian/libreoffice-writer.mime
new file mode 100644 (file)
index 0000000..799dd44
--- /dev/null
@@ -0,0 +1,37 @@
+###
+# shared-mime-info
+
+# Generic
+application/rtf; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Rich Text Format"; nametemplate=%s.rtf; priority=3
+application/x-extension-txt; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Plain Text Document"; nametemplate=%s.txt; priority=3
+application/x-t602; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="T602 Document"; nametemplate=%s.602; priority=3
+
+# Corel WordPerfect
+application/vnd.wordperfect; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="WordPerfect Document"; nametemplate=%s.wp; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-word.document.macroEnabled.12; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document with Macros Enabled"; nametemplate=%s.docm; priority=3
+application/vnd.ms-word.template.macroEnabled.12; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document Template with Macros Enabled"; nametemplate=%s.dotm; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document"; nametemplate=%s.docx; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.template; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Office Open XML Document Template"; nametemplate=%s.dotx; priority=3
+
+# Microsoft Word
+application/msword; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Microsoft Word Document"; nametemplate=%s.doc; priority=3
+
+# Microsoft Works
+application/vnd.ms-works; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; test=test -n "$DISPLAY"; description="Microsoft Works Document"; nametemplate=%s.wps; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.text; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; print=soffice --nologo --writer -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Text Document"; nametemplate=%s.odt; priority=9
+application/vnd.oasis.opendocument.text-master; soffice --nologo --global '%s'; edit=soffice --nologo --writer '%s'; print=soffice --nologo --writer -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Master Document"; nametemplate=%s.odm; priority=9
+application/vnd.oasis.opendocument.text-template; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; print=soffice --nologo --writer -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument Text Document Template"; nametemplate=%s.ott; priority=9
+application/vnd.oasis.opendocument.text-web; soffice --nologo --web '%s'; edit=soffice --nologo --web '%s'; print=soffice --nologo --web -p '%s'; test=test -n "$DISPLAY"; description="OpenDocument HTML Document Template"; nametemplate=%s.oth; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.writer; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; description="OpenOffice.org Text Document"; nametemplate=%s.sxw; priority=8
+application/vnd.sun.xml.writer.global; soffice --nologo --global '%s'; edit=soffice --nologo --writer '%s'; description="OpenOffice.org Master Document"; nametemplate=%s.sxg; priority=8
+application/vnd.sun.xml.writer.template; soffice --nologo --writer '%s'; edit=soffice --nologo --writer '%s'; description="OpenOffice.org Text Document Template"; nametemplate=%s.stw; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice.bug-control b/debian/libreoffice.bug-control
new file mode 100644 (file)
index 0000000..21ad6ad
--- /dev/null
@@ -0,0 +1,2 @@
+report-with: libreoffice-core libreoffice-writer libreoffice-calc libreoffice-base libreoffice-draw libreoffice-impress libreoffice-math
+
diff --git a/debian/libreoffice.maintscript b/debian/libreoffice.maintscript
new file mode 100644 (file)
index 0000000..1f4849f
--- /dev/null
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice /usr/share/doc/libreoffice-core 1:5.2.5-2~ $DPKG_MAINTSCRIPT_PACKAGE
diff --git a/debian/libreofficekit-dev.docs b/debian/libreofficekit-dev.docs
new file mode 100644 (file)
index 0000000..d9f2643
--- /dev/null
@@ -0,0 +1 @@
+libreofficekit/README
diff --git a/debian/lo-cpp-ref.in b/debian/lo-cpp-ref.in
new file mode 100644 (file)
index 0000000..b31c746
--- /dev/null
@@ -0,0 +1,7 @@
+Document: lo-cpp-ref
+Title: LibreOffice @lo_sources_ver@ SDK C/C++ API Reference
+Author: The Document Foundation
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice/sdk/docs/cpp/ref/index.html
diff --git a/debian/lo-idl-ref.in b/debian/lo-idl-ref.in
new file mode 100644 (file)
index 0000000..5954ea9
--- /dev/null
@@ -0,0 +1,7 @@
+Document: lo-idl-ref
+Title: LibreOffice @lo_sources_ver@ IDL Reference
+Author: The Document Foundation
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice/sdk/docs/idl/ref/index.html
diff --git a/debian/lo-java-ref.in b/debian/lo-java-ref.in
new file mode 100644 (file)
index 0000000..29d1d4e
--- /dev/null
@@ -0,0 +1,7 @@
+Document: lo-java-ref
+Title: LibreOffice SDK @lo_sources_ver@ Java API Reference
+Author: The Document Foundation
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice/sdk/docs/java/ref/index.html
diff --git a/debian/patches/WEBSERVICE-DDE.diff b/debian/patches/WEBSERVICE-DDE.diff
new file mode 100644 (file)
index 0000000..943d82d
--- /dev/null
@@ -0,0 +1,1106 @@
+From d778cd0ce51aa9605dd4baaec711925c2a2bf418 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
+Date: Wed, 10 Jan 2018 14:27:35 +0000
+Subject: [PATCH 1/6] limit WEBSERVICE to http[s] protocols
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+and like excel...
+
+'For protocols that aren’t supported, such as ftp:// or file://, WEBSERVICE
+returns the #VALUE! error value.'
+
+Change-Id: I0e9c6fd3426fad56a199eafac48de9b0f23914b3
+Reviewed-on: https://gerrit.libreoffice.org/47776
+Tested-by: Jenkins <ci@libreoffice.org>
+Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
+(cherry picked from commit a916fc0c0e0e8b10cb4158fa0fa173fe205d434a)
+---
+ sc/source/core/tool/interpr7.cxx | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
+index 2d48c6b..0d55e87 100644
+--- a/sc/source/core/tool/interpr7.cxx
++++ b/sc/source/core/tool/interpr7.cxx
+@@ -14,6 +14,7 @@
+ #include <rtl/strbuf.hxx>
+ #include <formula/errorcodes.hxx>
+ #include <svtools/miscopt.hxx>
++#include <tools/urlobj.hxx>
+ #include <com/sun/star/ucb/XSimpleFileAccess3.hpp>
+ #include <com/sun/star/ucb/SimpleFileAccess.hpp>
+@@ -241,6 +242,14 @@ void ScInterpreter::ScWebservice()
+             return;
+         }
++        INetURLObject aObj(aURI, INetProtocol::File);
++        INetProtocol eProtocol = aObj.GetProtocol();
++        if (eProtocol != INetProtocol::Http && eProtocol != INetProtocol::Https)
++        {
++            PushError( FormulaError::NoValue );
++            return;
++        }
++
+         uno::Reference< ucb::XSimpleFileAccess3 > xFileAccess( ucb::SimpleFileAccess::create( comphelper::getProcessComponentContext() ), uno::UNO_QUERY );
+         if(!xFileAccess.is())
+         {
+-- 
+1.9.1
+
+From 293e442c945785ab11d4a6abf04039995af74709 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
+Date: Thu, 11 Jan 2018 14:16:15 +0000
+Subject: [PATCH 2/6] Better handle ScDde formulas with missing dde-link
+ entries
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+typically each ScDde formula has a matching table:dde-link which
+results in a ScDdeLink getting inserted during the load. If that dde-link
+is missing then no ScDdeLink exists and ScDde() will create a new one without
+cached content. So detect that ScDde is used in the freshing loaded ods
+and defer fetching new content until the right time.
+
+only call GetHasMacroFunc to set SetHasMacroFunc
+
+and bHasMacroFunc is not accessed any other way, so this is an oxbow
+
+Reviewed-on: https://gerrit.libreoffice.org/47757
+Tested-by: Jenkins <ci@libreoffice.org>
+Reviewed-by: Caolán McNamara <caolanm@redhat.com>
+Tested-by: Caolán McNamara <caolanm@redhat.com>
+(cherry picked from commit b0597ba5d745974fce752e1b677451a19350d351)
+Reviewed-on: https://gerrit.libreoffice.org/47818
+Reviewed-by: Eike Rathke <erack@redhat.com>
+(cherry picked from commit 4ede45eb239b1604bca900c22481b7d13e4c2790)
+
+Conflicts:
+       sc/qa/unit/ucalc.cxx
+       sc/source/core/data/documen2.cxx
+
+Change-Id: I016b53288076d83dd49e92e245346a5f7f560522
+---
+ sc/inc/document.hxx                 | 6 +++---
+ sc/source/core/data/documen2.cxx    | 2 +-
+ sc/source/core/data/formulacell.cxx | 8 ++++----
+ sc/source/core/tool/interpr2.cxx    | 8 +++++++-
+ sc/source/ui/docshell/docsh4.cxx    | 2 ++
+ sc/source/ui/view/tabvwsh4.cxx      | 2 +-
+ 6 files changed, 18 insertions(+), 10 deletions(-)
+
+diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
+index e2fc885..252a7d1 100644
+--- a/sc/inc/document.hxx
++++ b/sc/inc/document.hxx
+@@ -447,7 +447,7 @@ private:
+     // for detective update, is set for each change of a formula
+     bool                bDetectiveDirty;
+-    bool                bHasMacroFunc;      // valid only after loading
++    bool                bLinkFormulaNeedingCheck; // valid only after loading, for ocDde
+     sal_uInt8               nAsianCompression;
+     sal_uInt8               nAsianKerning;
+@@ -1910,8 +1910,8 @@ public:
+     bool            IsDetectiveDirty() const     { return bDetectiveDirty; }
+     void            SetDetectiveDirty(bool bSet) { bDetectiveDirty = bSet; }
+-    bool            GetHasMacroFunc() const      { return bHasMacroFunc; }
+-    void            SetHasMacroFunc(bool bSet)   { bHasMacroFunc = bSet; }
++    bool            HasLinkFormulaNeedingCheck() const      { return bLinkFormulaNeedingCheck; }
++    void            SetLinkFormulaNeedingCheck(bool bSet)   { bLinkFormulaNeedingCheck = bSet; }
+     static bool     CheckMacroWarn();
+diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
+index bd8d567..ce8f3cc 100644
+--- a/sc/source/core/data/documen2.cxx
++++ b/sc/source/core/data/documen2.cxx
+@@ -200,7 +200,7 @@ ScDocument::ScDocument( ScDocumentMode eMode, SfxObjectShell* pDocShell ) :
+         bInDtorClear( false ),
+         bExpandRefs( false ),
+         bDetectiveDirty( false ),
+-        bHasMacroFunc( false ),
++        bLinkFormulaNeedingCheck( false ),
+         nAsianCompression(SC_ASIANCOMPRESSION_INVALID),
+         nAsianKerning(SC_ASIANKERNING_INVALID),
+         bPastingDrawFromOtherDoc( false ),
+diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
+index a9cfdec..a8d6f5e 100644
+--- a/sc/source/core/data/formulacell.cxx
++++ b/sc/source/core/data/formulacell.cxx
+@@ -1363,10 +1363,10 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr
+             bChanged = true;
+     }
+-    //  Same as in Load: after loading, it must be known if ocMacro is in any formula
+-    //  (for macro warning, CompileXML is called at the end of loading XML file)
+-    if ( !pDocument->GetHasMacroFunc() && pCode->HasOpCodeRPN( ocMacro ) )
+-        pDocument->SetHasMacroFunc( true );
++    //  After loading, it must be known if ocDde is in any formula
++    //  (for external links warning, CompileXML is called at the end of loading XML file)
++    if (!pDocument->HasLinkFormulaNeedingCheck() && pCode->HasOpCodeRPN(ocDde))
++        pDocument->SetLinkFormulaNeedingCheck(true);
+     //volatile cells must be added here for import
+     if( pCode->IsRecalcModeAlways() || pCode->IsRecalcModeForced() ||
+diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
+index 38523e5..6dc8660 100644
+--- a/sc/source/core/tool/interpr2.cxx
++++ b/sc/source/core/tool/interpr2.cxx
+@@ -2520,8 +2520,14 @@ void ScInterpreter::ScDde()
+                     pBindings->Invalidate( SID_LINKS );             // Link-Manager enablen
+             }
++            //if the document was just loaded, but the ScDdeLink entry was missing, then
++            //don't update this link until the links are updated in response to the users
++            //decision
++            if (!pDok->HasLinkFormulaNeedingCheck())
++            {
+                                     //TODO: evaluate asynchron ???
+-            pLink->TryUpdate();     //  TryUpdate doesn't call Update multiple times
++                pLink->TryUpdate(); //  TryUpdate doesn't call Update multiple times
++            }
+             if (pMyFormulaCell)
+             {
+diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
+index 853692c..42344e0 100644
+--- a/sc/source/ui/docshell/docsh4.cxx
++++ b/sc/source/ui/docshell/docsh4.cxx
+@@ -470,6 +470,8 @@ void ScDocShell::Execute( SfxRequest& rReq )
+                     rEmbeddedObjectContainer.setUserAllowsLinkUpdate(false);
+                     rReq.Ignore();
+                 }
++
++                rDoc.SetLinkFormulaNeedingCheck(false);
+             }
+             break;
+diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
+index a8f3197..6c5d5da 100644
+--- a/sc/source/ui/view/tabvwsh4.cxx
++++ b/sc/source/ui/view/tabvwsh4.cxx
+@@ -1564,7 +1564,7 @@ void ScTabViewShell::Construct( TriState nForceDesignMode )
+             if (!bLink)
+             {
+                 const sc::DocumentLinkManager& rMgr = rDoc.GetDocLinkManager();
+-                if (rMgr.hasDdeOrOleLinks() || rDoc.HasAreaLinks())
++                if (rMgr.hasDdeOrOleLinks() || rDoc.HasAreaLinks() || rDoc.HasLinkFormulaNeedingCheck())
+                     bLink = true;
+             }
+             if (bLink)
+-- 
+1.9.1
+
+From e8c8627a61b429c2c4b1d37d27809695c2a275ca Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
+Date: Thu, 11 Jan 2018 20:43:28 +0000
+Subject: [PATCH 3/6] handle ocWebservice similarly to ocDde
+
+might have too much in here seeing as we don't need to worry about
+ocWebservice calling into itself
+
+Reviewed-on: https://gerrit.libreoffice.org/47819
+Tested-by: Jenkins <ci@libreoffice.org>
+Reviewed-by: Eike Rathke <erack@redhat.com>
+(cherry picked from commit e1946d75a1095c2596d7815600454ff01fcd3270)
+
+Conflicts:
+       sc/source/core/tool/interpr7.cxx
+       sc/source/ui/docshell/documentlinkmgr.cxx
+
+Change-Id: I0145f38cc1c1f9ff514a496f7101d81cde9e7c67
+---
+ sc/Library_sc.mk                          |   1 +
+ sc/inc/document.hxx                       |   2 +-
+ sc/inc/documentlinkmgr.hxx                |   6 +-
+ sc/source/core/data/formulacell.cxx       |   4 +-
+ sc/source/core/inc/webservicelink.hxx     |  49 ++++++++++++++
+ sc/source/core/tool/interpr7.cxx          | 101 +++++++++++++++++++---------
+ sc/source/core/tool/webservicelink.cxx    | 106 ++++++++++++++++++++++++++++++
+ sc/source/ui/docshell/docsh4.cxx          |   2 +-
+ sc/source/ui/docshell/documentlinkmgr.cxx |  20 ++++--
+ sc/source/ui/view/tabvwsh4.cxx            |   2 +-
+ 10 files changed, 250 insertions(+), 43 deletions(-)
+ create mode 100644 sc/source/core/inc/webservicelink.hxx
+ create mode 100644 sc/source/core/tool/webservicelink.cxx
+
+diff --git a/sc/Library_sc.mk b/sc/Library_sc.mk
+index 0ef50c3..22f3160 100644
+--- a/sc/Library_sc.mk
++++ b/sc/Library_sc.mk
+@@ -285,6 +285,7 @@ $(eval $(call gb_Library_add_exception_objects,sc,\
+     sc/source/core/tool/unitconv \
+     sc/source/core/tool/userlist \
+     sc/source/core/tool/viewopti \
++    sc/source/core/tool/webservicelink \
+     sc/source/core/tool/zforauto \
+     sc/source/filter/xml/datastreamimport \
+     sc/source/filter/xml/XMLCalculationSettingsContext \
+diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
+index 252a7d1..828f9833 100644
+--- a/sc/inc/document.hxx
++++ b/sc/inc/document.hxx
+@@ -447,7 +447,7 @@ private:
+     // for detective update, is set for each change of a formula
+     bool                bDetectiveDirty;
+-    bool                bLinkFormulaNeedingCheck; // valid only after loading, for ocDde
++    bool                bLinkFormulaNeedingCheck; // valid only after loading, for ocDde and ocWebservice
+     sal_uInt8               nAsianCompression;
+     sal_uInt8               nAsianKerning;
+diff --git a/sc/inc/documentlinkmgr.hxx b/sc/inc/documentlinkmgr.hxx
+index d5d801a..86dba66 100644
+--- a/sc/inc/documentlinkmgr.hxx
++++ b/sc/inc/documentlinkmgr.hxx
+@@ -55,9 +55,9 @@ public:
+     bool idleCheckLinks();
+     bool hasDdeLinks() const;
+-    bool hasDdeOrOleLinks() const;
++    bool hasDdeOrOleOrWebServiceLinks() const;
+-    bool updateDdeOrOleLinks(vcl::Window* pWin);
++    bool updateDdeOrOleOrWebServiceLinks(vcl::Window* pWin);
+     void updateDdeLink( const OUString& rAppl, const OUString& rTopic, const OUString& rItem );
+@@ -65,7 +65,7 @@ public:
+     void disconnectDdeLinks();
+ private:
+-    bool hasDdeOrOleLinks(bool bDde, bool bOle) const;
++    bool hasDdeOrOleOrWebServiceLinks(bool bDde, bool bOle, bool bWebService) const;
+ };
+ }
+diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
+index a8d6f5e..7af4fb5 100644
+--- a/sc/source/core/data/formulacell.cxx
++++ b/sc/source/core/data/formulacell.cxx
+@@ -1363,9 +1363,9 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr
+             bChanged = true;
+     }
+-    //  After loading, it must be known if ocDde is in any formula
++    //  After loading, it must be known if ocDde/ocWebservice is in any formula
+     //  (for external links warning, CompileXML is called at the end of loading XML file)
+-    if (!pDocument->HasLinkFormulaNeedingCheck() && pCode->HasOpCodeRPN(ocDde))
++    if (!pDocument->HasLinkFormulaNeedingCheck() && (pCode->HasOpCodeRPN(ocDde) || pCode->HasOpCodeRPN(ocWebservice)))
+         pDocument->SetLinkFormulaNeedingCheck(true);
+     //volatile cells must be added here for import
+diff --git a/sc/source/core/inc/webservicelink.hxx b/sc/source/core/inc/webservicelink.hxx
+new file mode 100644
+index 0000000..e61ebfd
+--- /dev/null
++++ b/sc/source/core/inc/webservicelink.hxx
+@@ -0,0 +1,49 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ */
++
++#ifndef INCLUDED_SC_SOURCE_CORE_INC_WEBSERVICE_HXX
++#define INCLUDED_SC_SOURCE_CORE_INC_WEBSERVICE_HXX
++
++#include <address.hxx>
++#include <sfx2/lnkbase.hxx>
++#include <svl/broadcast.hxx>
++#include <types.hxx>
++
++class ScDocument;
++
++class ScWebServiceLink : public ::sfx2::SvBaseLink, public SvtBroadcaster
++{
++private:
++    ScDocument* pDoc;
++    OUString aURL; // connection/ link data
++    bool bHasResult; // is set aResult is useful
++    OUString aResult;
++
++public:
++    ScWebServiceLink(ScDocument* pD, const OUString& rURL);
++    virtual ~ScWebServiceLink() override;
++
++    // SvBaseLink override:
++    virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(const OUString& rMimeType,
++                                                         const css::uno::Any& rValue) override;
++
++    // SvtBroadcaster override:
++    virtual void ListenersGone() override;
++
++    // for interpreter:
++
++    const OUString& GetResult() const { return aResult; }
++    bool HasResult() const { return bHasResult; }
++
++    const OUString& GetURL() const { return aURL; }
++};
++
++#endif
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
+diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
+index 0d55e87..b475b1c 100644
+--- a/sc/source/core/tool/interpr7.cxx
++++ b/sc/source/core/tool/interpr7.cxx
+@@ -13,6 +13,7 @@
+ #include "scmatrix.hxx"
+ #include <rtl/strbuf.hxx>
+ #include <formula/errorcodes.hxx>
++#include <sfx2/bindings.hxx>
+ #include <svtools/miscopt.hxx>
+ #include <tools/urlobj.hxx>
+@@ -24,6 +25,10 @@
+ #include <datastreamgettime.hxx>
+ #include <dpobject.hxx>
+ #include <document.hxx>
++#include <tokenarray.hxx>
++#include <webservicelink.hxx>
++
++#include <sc.hrc>
+ #include <cstring>
+ #include <memory>
+@@ -229,6 +234,22 @@ void ScInterpreter::ScFilterXML()
+     }
+ }
++static ScWebServiceLink* lcl_GetWebServiceLink(const sfx2::LinkManager* pLinkMgr, const OUString& rURL)
++{
++    size_t nCount = pLinkMgr->GetLinks().size();
++    for (size_t i=0; i<nCount; ++i)
++    {
++        ::sfx2::SvBaseLink* pBase = pLinkMgr->GetLinks()[i].get();
++        if (ScWebServiceLink* pLink = dynamic_cast<ScWebServiceLink*>(pBase))
++        {
++            if (pLink->GetURL() == rURL)
++                return pLink;
++        }
++    }
++
++    return nullptr;
++}
++
+ void ScInterpreter::ScWebservice()
+ {
+     sal_uInt8 nParamCount = GetByte();
+@@ -246,52 +267,72 @@ void ScInterpreter::ScWebservice()
+         INetProtocol eProtocol = aObj.GetProtocol();
+         if (eProtocol != INetProtocol::Http && eProtocol != INetProtocol::Https)
+         {
+-            PushError( FormulaError::NoValue );
+-            return;
+-        }
+-
+-        uno::Reference< ucb::XSimpleFileAccess3 > xFileAccess( ucb::SimpleFileAccess::create( comphelper::getProcessComponentContext() ), uno::UNO_QUERY );
+-        if(!xFileAccess.is())
+-        {
+             PushError( formula::errNoValue );
+             return;
+         }
+-        uno::Reference< io::XInputStream > xStream;
+-        try {
+-            xStream = xFileAccess->openFileRead( aURI );
+-        }
+-        catch (...)
+-        {
+-            // don't let any exceptions pass
+-            PushError( formula::errNoValue );
+-            return;
+-        }
+-        if ( !xStream.is() )
++        if (!mpLinkManager)
+         {
+             PushError( formula::errNoValue );
+             return;
+         }
+-        const sal_Int32 BUF_LEN = 8000;
+-        uno::Sequence< sal_Int8 > buffer( BUF_LEN );
+-        OStringBuffer aBuffer( 64000 );
++        // Need to reinterpret after loading (build links)
++        if (rArr.IsRecalcModeNormal())
++            rArr.SetExclusiveRecalcModeOnLoad();
++
++        //  while the link is not evaluated, idle must be disabled (to avoid circular references)
++        bool bOldEnabled = pDok->IsIdleEnabled();
++        pDok->EnableIdle(false);
++
++        // Get/ Create link object
++        ScWebServiceLink* pLink = lcl_GetWebServiceLink(mpLinkManager, aURI);
+-        sal_Int32 nRead = 0;
+-        while ( ( nRead = xStream->readBytes( buffer, BUF_LEN ) ) == BUF_LEN )
++        bool bWasError = (pMyFormulaCell && pMyFormulaCell->GetRawError() != formula::errNoCode);
++
++        if (!pLink)
+         {
+-            aBuffer.append( reinterpret_cast< const char* >( buffer.getConstArray() ), nRead );
+-        }
++            pLink = new ScWebServiceLink(pDok, aURI);
++            mpLinkManager->InsertFileLink(*pLink, OBJECT_CLIENT_FILE, aURI);
++            if ( mpLinkManager->GetLinks().size() == 1 )                    // the first one?
++            {
++                SfxBindings* pBindings = pDok->GetViewBindings();
++                if (pBindings)
++                    pBindings->Invalidate( SID_LINKS );             // Link-Manager enabled
++            }
+-        if ( nRead > 0 )
++            //if the document was just loaded, but the ScDdeLink entry was missing, then
++            //don't update this link until the links are updated in response to the users
++            //decision
++            if (!pDok->HasLinkFormulaNeedingCheck())
++            {
++                pLink->Update();
++            }
++
++            if (pMyFormulaCell)
++            {
++                // StartListening after the Update to avoid circular references
++                pMyFormulaCell->StartListening(*pLink);
++            }
++        }
++        else
+         {
+-            aBuffer.append( reinterpret_cast< const char* >( buffer.getConstArray() ), nRead );
++            if (pMyFormulaCell)
++                pMyFormulaCell->StartListening(*pLink);
+         }
+-        xStream->closeInput();
++        //  If an new Error from Reschedule appears when the link is executed then reset the errorflag
++        if (pMyFormulaCell && pMyFormulaCell->GetRawError() != formula::errNoCode && !bWasError)
++            pMyFormulaCell->SetErrCode(formula::errNoCode);
++
++        //  check the value
++        if (pLink->HasResult())
++            PushString(pLink->GetResult());
++        else
++            PushError(formula::errNoValue);
+-        OUString aContent = OStringToOUString( aBuffer.makeStringAndClear(), RTL_TEXTENCODING_UTF8 );
+-        PushString( aContent );
++        pDok->EnableIdle(bOldEnabled);
++        mpLinkManager->CloseCachedComps();
+     }
+ }
+diff --git a/sc/source/core/tool/webservicelink.cxx b/sc/source/core/tool/webservicelink.cxx
+new file mode 100644
+index 0000000..82310f2
+--- /dev/null
++++ b/sc/source/core/tool/webservicelink.cxx
+@@ -0,0 +1,106 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ */
++
++#include <comphelper/fileformat.h>
++#include <comphelper/string.hxx>
++#include <osl/thread.h>
++#include <sfx2/linkmgr.hxx>
++#include <sfx2/bindings.hxx>
++
++#include <com/sun/star/ucb/XSimpleFileAccess3.hpp>
++#include <com/sun/star/ucb/SimpleFileAccess.hpp>
++#include <com/sun/star/io/XInputStream.hpp>
++
++#include <webservicelink.hxx>
++#include <brdcst.hxx>
++#include <document.hxx>
++#include <scmatrix.hxx>
++#include <patattr.hxx>
++#include <rechead.hxx>
++#include <rangeseq.hxx>
++#include <sc.hrc>
++#include <hints.hxx>
++
++ScWebServiceLink::ScWebServiceLink(ScDocument* pD, const OUString& rURL)
++    : ::sfx2::SvBaseLink(SfxLinkUpdateMode::ALWAYS, SotClipboardFormatId::STRING)
++    , pDoc(pD)
++    , aURL(rURL)
++    , bHasResult(false)
++{
++}
++
++ScWebServiceLink::~ScWebServiceLink() {}
++
++sfx2::SvBaseLink::UpdateResult ScWebServiceLink::DataChanged(const OUString&, const css::uno::Any&)
++{
++    aResult.clear();
++    bHasResult = false;
++
++    css::uno::Reference<css::ucb::XSimpleFileAccess3> xFileAccess(
++        css::ucb::SimpleFileAccess::create(comphelper::getProcessComponentContext()),
++        css::uno::UNO_QUERY);
++    if (!xFileAccess.is())
++        return ERROR_GENERAL;
++
++    css::uno::Reference<css::io::XInputStream> xStream;
++    try
++    {
++        xStream = xFileAccess->openFileRead(aURL);
++    }
++    catch (...)
++    {
++        // don't let any exceptions pass
++        return ERROR_GENERAL;
++    }
++    if (!xStream.is())
++        return ERROR_GENERAL;
++
++    const sal_Int32 BUF_LEN = 8000;
++    css::uno::Sequence<sal_Int8> buffer(BUF_LEN);
++    OStringBuffer aBuffer(64000);
++
++    sal_Int32 nRead = 0;
++    while ((nRead = xStream->readBytes(buffer, BUF_LEN)) == BUF_LEN)
++        aBuffer.append(reinterpret_cast<const char*>(buffer.getConstArray()), nRead);
++
++    if (nRead > 0)
++        aBuffer.append(reinterpret_cast<const char*>(buffer.getConstArray()), nRead);
++
++    xStream->closeInput();
++
++    aResult = OStringToOUString(aBuffer.makeStringAndClear(), RTL_TEXTENCODING_UTF8);
++    bHasResult = true;
++
++    //  Something happened...
++    if (HasListeners())
++    {
++        Broadcast(ScHint(SC_HINT_DATACHANGED, ScAddress()));
++        pDoc->TrackFormulas(); // must happen immediately
++        pDoc->StartTrackTimer();
++    }
++
++    return SUCCESS;
++}
++
++void ScWebServiceLink::ListenersGone()
++{
++    ScDocument* pStackDoc = pDoc; // member pDoc can't be used after removing the link
++
++    sfx2::LinkManager* pLinkMgr = pDoc->GetLinkManager();
++    pLinkMgr->Remove(this); // deletes this
++
++    if (pLinkMgr->GetLinks().empty()) // deleted the last one ?
++    {
++        SfxBindings* pBindings = pStackDoc->GetViewBindings(); // don't use member pDoc!
++        if (pBindings)
++            pBindings->Invalidate(SID_LINKS);
++    }
++}
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
+diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
+index 42344e0..0e7671b 100644
+--- a/sc/source/ui/docshell/docsh4.cxx
++++ b/sc/source/ui/docshell/docsh4.cxx
+@@ -448,7 +448,7 @@ void ScDocShell::Execute( SfxRequest& rReq )
+                     ReloadTabLinks();
+                     aDocument.UpdateExternalRefLinks(GetActiveDialogParent());
+-                    bool bAnyDde = aDocument.GetDocLinkManager().updateDdeOrOleLinks(GetActiveDialogParent());
++                    bool bAnyDde = aDocument.GetDocLinkManager().updateDdeOrOleOrWebServiceLinks(GetActiveDialogParent());
+                     if (bAnyDde)
+                     {
+diff --git a/sc/source/ui/docshell/documentlinkmgr.cxx b/sc/source/ui/docshell/documentlinkmgr.cxx
+index 520b854..b8a9df6 100644
+--- a/sc/source/ui/docshell/documentlinkmgr.cxx
++++ b/sc/source/ui/docshell/documentlinkmgr.cxx
+@@ -20,6 +20,7 @@
+ #include <documentlinkmgr.hxx>
+ #include <datastream.hxx>
+ #include <ddelink.hxx>
++#include <webservicelink.hxx>
+ #include <sc.hrc>
+ #include <scresid.hxx>
+@@ -115,15 +116,15 @@ bool DocumentLinkManager::idleCheckLinks()
+ bool DocumentLinkManager::hasDdeLinks() const
+ {
+-    return hasDdeOrOleLinks(true, false);
++    return hasDdeOrOleOrWebServiceLinks(true, false, false);
+ }
+-bool DocumentLinkManager::hasDdeOrOleLinks() const
++bool DocumentLinkManager::hasDdeOrOleOrWebServiceLinks() const
+ {
+-    return hasDdeOrOleLinks(true, true);
++    return hasDdeOrOleOrWebServiceLinks(true, true, true);
+ }
+-bool DocumentLinkManager::hasDdeOrOleLinks(bool bDde, bool bOle) const
++bool DocumentLinkManager::hasDdeOrOleOrWebServiceLinks(bool bDde, bool bOle, bool bWebService) const
+ {
+     if (!mpImpl->mpLinkManager)
+         return false;
+@@ -136,12 +137,14 @@ bool DocumentLinkManager::hasDdeOrOleLinks(bool bDde, bool bOle) const
+             return true;
+         if (bOle && dynamic_cast<SdrEmbedObjectLink*>(pBase))
+             return true;
++        if (bWebService && dynamic_cast<ScWebServiceLink*>(pBase))
++            return true;
+     }
+     return false;
+ }
+-bool DocumentLinkManager::updateDdeOrOleLinks( vcl::Window* pWin )
++bool DocumentLinkManager::updateDdeOrOleOrWebServiceLinks(vcl::Window* pWin)
+ {
+     if (!mpImpl->mpLinkManager)
+         return false;
+@@ -163,6 +166,13 @@ bool DocumentLinkManager::updateDdeOrOleLinks( vcl::Window* pWin )
+             continue;
+         }
++        ScWebServiceLink* pWebserviceLink = dynamic_cast<ScWebServiceLink*>(pBase);
++        if (pWebserviceLink)
++        {
++            pWebserviceLink->Update();
++            continue;
++        }
++
+         ScDdeLink* pDdeLink = dynamic_cast<ScDdeLink*>(pBase);
+         if (!pDdeLink)
+             continue;
+diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
+index 6c5d5da..f203b13 100644
+--- a/sc/source/ui/view/tabvwsh4.cxx
++++ b/sc/source/ui/view/tabvwsh4.cxx
+@@ -1564,7 +1564,7 @@ void ScTabViewShell::Construct( TriState nForceDesignMode )
+             if (!bLink)
+             {
+                 const sc::DocumentLinkManager& rMgr = rDoc.GetDocLinkManager();
+-                if (rMgr.hasDdeOrOleLinks() || rDoc.HasAreaLinks() || rDoc.HasLinkFormulaNeedingCheck())
++                if (rDoc.HasLinkFormulaNeedingCheck() || rDoc.HasAreaLinks() || rMgr.hasDdeOrOleOrWebServiceLinks())
+                     bLink = true;
+             }
+             if (bLink)
+-- 
+1.9.1
+
+From 66124bccff0a296d759bf51217f503281602717e Mon Sep 17 00:00:00 2001
+From: Eike Rathke <erack@redhat.com>
+Date: Wed, 17 Jan 2018 22:22:55 +0100
+Subject: [PATCH 4/6] CheckLinkFormulaNeedingCheck() for .xls and .xlsx formula
+ cells
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+ This is a combination of 3 commits.
+
+Move implementation to CheckLinkFormulaNeedingCheck() for further reuse
+
+(cherry picked from commit 55e484c7bcd3ef218e08d3fd93f97bf98fd8cb7f)
+
+CheckLinkFormulaNeedingCheck() for .xlsx cell formulas
+
+(cherry picked from commit f96dbc3dd9c33202f75e29ef49d962386595995d)
+
+CheckLinkFormulaNeedingCheck() for .xls cell formulas
+
+(cherry picked from commit 6bc48275558c3f76c4da25eb8af3c48583ac5599)
+
+a6dd195f7eb4d43483e87eeca59f651e7bf2dcb8
+2587fbc4fec39b6f2c8e733331815a2953dee308
+
+Change-Id: I541d2b6e12a88371c064b901b00e71206ee0c18e
+Reviewed-on: https://gerrit.libreoffice.org/48143
+Tested-by: Jenkins <ci@libreoffice.org>
+Reviewed-by: Caolán McNamara <caolanm@redhat.com>
+Tested-by: Caolán McNamara <caolanm@redhat.com>
+(cherry picked from commit 2bef4debcf7650f3b3922134dff0332d4a95da3f)
+---
+ sc/inc/document.hxx                    |  2 ++
+ sc/source/core/data/documen8.cxx       | 10 ++++++++++
+ sc/source/core/data/formulacell.cxx    |  3 +--
+ sc/source/filter/excel/excform.cxx     |  1 +
+ sc/source/filter/excel/excform8.cxx    |  1 +
+ sc/source/filter/excel/impop.cxx       |  1 +
+ sc/source/filter/oox/formulabuffer.cxx |  4 ++++
+ 7 files changed, 20 insertions(+), 2 deletions(-)
+
+diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
+index 828f9833..c2f6fe8 100644
+--- a/sc/inc/document.hxx
++++ b/sc/inc/document.hxx
+@@ -1912,6 +1912,8 @@ public:
+     bool            HasLinkFormulaNeedingCheck() const      { return bLinkFormulaNeedingCheck; }
+     void            SetLinkFormulaNeedingCheck(bool bSet)   { bLinkFormulaNeedingCheck = bSet; }
++    /** Check token array and set link check if ocDde/ocWebservice is contained. */
++    SC_DLLPUBLIC void CheckLinkFormulaNeedingCheck( const ScTokenArray& rCode );
+     static bool     CheckMacroWarn();
+diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
+index a84c2d0..185a2aa 100644
+--- a/sc/source/core/data/documen8.cxx
++++ b/sc/source/core/data/documen8.cxx
+@@ -88,6 +88,7 @@
+ #include "stringutil.hxx"
+ #include <documentlinkmgr.hxx>
+ #include <scopetools.hxx>
++#include <tokenarray.hxx>
+ #include <memory>
+@@ -1153,6 +1154,15 @@ void ScDocument::UpdateRefAreaLinks( UpdateRefMode eUpdateRefMode,
+     }
+ }
++void ScDocument::CheckLinkFormulaNeedingCheck( const ScTokenArray& rCode )
++{
++    if (HasLinkFormulaNeedingCheck())
++        return;
++
++    if (rCode.HasOpCodeRPN(ocDde) || rCode.HasOpCodeRPN(ocWebservice))
++        SetLinkFormulaNeedingCheck(true);
++}
++
+ // TimerDelays etc.
+ void ScDocument::KeyInput( const KeyEvent& )
+ {
+diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx
+index 7af4fb5..b7d8031 100644
+--- a/sc/source/core/data/formulacell.cxx
++++ b/sc/source/core/data/formulacell.cxx
+@@ -1365,8 +1365,7 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr
+     //  After loading, it must be known if ocDde/ocWebservice is in any formula
+     //  (for external links warning, CompileXML is called at the end of loading XML file)
+-    if (!pDocument->HasLinkFormulaNeedingCheck() && (pCode->HasOpCodeRPN(ocDde) || pCode->HasOpCodeRPN(ocWebservice)))
+-        pDocument->SetLinkFormulaNeedingCheck(true);
++    pDocument->CheckLinkFormulaNeedingCheck(*pCode);
+     //volatile cells must be added here for import
+     if( pCode->IsRecalcModeAlways() || pCode->IsRecalcModeForced() ||
+diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
+index c319055..7fa0666 100644
+--- a/sc/source/filter/excel/excform.cxx
++++ b/sc/source/filter/excel/excform.cxx
+@@ -157,6 +157,7 @@ void ImportExcel::Formula(
+     {
+         pCell = new ScFormulaCell(&rDoc.getDoc(), aScPos, *pResult);
+         pCell->GetCode()->WrapReference(aScPos, EXC_MAXCOL8, EXC_MAXROW8);
++        rDoc.getDoc().CheckLinkFormulaNeedingCheck( *pCell->GetCode());
+         rDoc.getDoc().EnsureTable(aScPos.Tab());
+         rDoc.setFormulaCell(aScPos, pCell);
+         SetLastFormula(aScPos.Col(), aScPos.Row(), fCurVal, nXF, pCell);
+diff --git a/sc/source/filter/excel/excform8.cxx b/sc/source/filter/excel/excform8.cxx
+index bea8ba3..b5c9fef 100644
+--- a/sc/source/filter/excel/excform8.cxx
++++ b/sc/source/filter/excel/excform8.cxx
+@@ -730,6 +730,7 @@ ConvErr ExcelToSc8::Convert( const ScTokenArray*& rpTokArray, XclImpStream& aIn,
+                                         << nMerk0 << ocClose;
+                                 aPool >> aStack;
+                                 pExtName->CreateDdeData( GetDoc(), aApplic, aTopic );
++                                GetDoc().SetLinkFormulaNeedingCheck(true);
+                             }
+                         }
+                         break;
+diff --git a/sc/source/filter/excel/impop.cxx b/sc/source/filter/excel/impop.cxx
+index 6d27232..1c25921 100644
+--- a/sc/source/filter/excel/impop.cxx
++++ b/sc/source/filter/excel/impop.cxx
+@@ -867,6 +867,7 @@ void ImportExcel::Shrfmla()
+     ScFormulaCell* pCell = new ScFormulaCell(pD, aPos, *pErgebnis);
+     pCell->GetCode()->WrapReference(aPos, EXC_MAXCOL8, EXC_MAXROW8);
++    rDoc.getDoc().CheckLinkFormulaNeedingCheck( *pCell->GetCode());
+     rDoc.getDoc().EnsureTable(aPos.Tab());
+     rDoc.setFormulaCell(aPos, pCell);
+     pCell->SetNeedNumberFormat(false);
+diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
+index 41c99f8..b139ac9 100644
+--- a/sc/source/filter/oox/formulabuffer.cxx
++++ b/sc/source/filter/oox/formulabuffer.cxx
+@@ -228,6 +228,10 @@ void applyCellFormulas(
+             continue;
+         aCompiler.CompileTokenArray(); // Generate RPN tokens.
++
++        // Check if ocDde/ocWebservice is in any formula for external links warning.
++        rDoc.getDoc().CheckLinkFormulaNeedingCheck(*pCode);
++
+         ScFormulaCell* pCell = new ScFormulaCell(&rDoc.getDoc(), aPos, pCode);
+         rDoc.setFormulaCell(aPos, pCell);
+         rCache.store(aPos, pCell);
+-- 
+1.9.1
+
+From 68cada33625321ba764f1fc8008aad5ebc8a44b7 Mon Sep 17 00:00:00 2001
+From: Eike Rathke <erack@redhat.com>
+Date: Thu, 25 Jan 2018 13:20:27 +0100
+Subject: [PATCH 5/6] CheckLinkFormulaNeedingCheck() for conditional format
+ expressions
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+ This is a combination of 4 commits.
+
+Prepare CheckLinkFormulaNeedingCheck() to use either RPN or tokenized code
+
+Conditional format formulas aren't finally compiled until needed
+so the check will have to operate on the tokenized expression
+instead of RPN code.
+
+(cherry picked from commit faa0305ba3d0dc698fce4915d4f3a1fb52422380)
+
+CheckLinkFormulaNeedingCheck() for .ods conditional format expressions
+
+(cherry picked from commit 2930ba2ac5d9423f2848b968edcd8ddc71966186)
+
+CheckLinkFormulaNeedingCheck() for .xlsx conditional format expressions
+
+(cherry picked from commit fef24d9f999ee54d7936900485d97ff26656f517)
+
+CheckLinkFormulaNeedingCheck() for .xls conditional format expressions
+
+(cherry picked from commit af2a2a0c72db312902e466c36697b5c198041e82)
+
+45eb1ab5efa0ec9da2663f20427d2474ce300826
+31ede1a23223a798141a0891deeabd8cf88fff58
+afa112cc591b411d80ead48bf726788d361f6eb3
+
+Change-Id: I68837e9bd33f125ab47b10b1a6fa18175abd1627
+Reviewed-on: https://gerrit.libreoffice.org/48719
+Tested-by: Jenkins <ci@libreoffice.org>
+Reviewed-by: Caolán McNamara <caolanm@redhat.com>
+Tested-by: Caolán McNamara <caolanm@redhat.com>
+(cherry picked from commit dc44111ad5965bf4179fc654b677e1e445dea2f0)
+---
+ sc/source/core/data/conditio.cxx          |  6 ++++++
+ sc/source/core/data/documen8.cxx          | 17 +++++++++++++++--
+ sc/source/filter/excel/xicontent.cxx      |  6 ++++++
+ sc/source/filter/oox/condformatbuffer.cxx |  2 ++
+ 4 files changed, 29 insertions(+), 2 deletions(-)
+
+diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
+index d3d996d..922d7dd 100644
+--- a/sc/source/core/data/conditio.cxx
++++ b/sc/source/core/data/conditio.cxx
+@@ -521,6 +521,12 @@ void ScConditionEntry::CompileXML()
+     Compile( GetExpression(aSrcPos, 0, 0, eTempGrammar1),
+              GetExpression(aSrcPos, 1, 0, eTempGrammar2),
+              aStrNmsp1, aStrNmsp2, eTempGrammar1, eTempGrammar2, true );
++
++    // Importing ocDde/ocWebservice?
++    if (pFormula1)
++        mpDoc->CheckLinkFormulaNeedingCheck(*pFormula1);
++    if (pFormula2)
++        mpDoc->CheckLinkFormulaNeedingCheck(*pFormula2);
+ }
+ void ScConditionEntry::SetSrcString( const OUString& rNew )
+diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
+index 185a2aa..deb908f 100644
+--- a/sc/source/core/data/documen8.cxx
++++ b/sc/source/core/data/documen8.cxx
+@@ -1159,8 +1159,21 @@ void ScDocument::CheckLinkFormulaNeedingCheck( const ScTokenArray& rCode )
+     if (HasLinkFormulaNeedingCheck())
+         return;
+-    if (rCode.HasOpCodeRPN(ocDde) || rCode.HasOpCodeRPN(ocWebservice))
+-        SetLinkFormulaNeedingCheck(true);
++    // Prefer RPN over tokenized formula if available.
++    if (rCode.GetCodeLen())
++    {
++        if (rCode.HasOpCodeRPN(ocDde) || rCode.HasOpCodeRPN(ocWebservice))
++            SetLinkFormulaNeedingCheck(true);
++    }
++    else if (rCode.GetLen())
++    {
++        if (rCode.HasOpCode(ocDde) || rCode.HasOpCode(ocWebservice))
++            SetLinkFormulaNeedingCheck(true);
++    }
++    else
++    {
++        assert(!"called with empty ScTokenArray");
++    }
+ }
+ // TimerDelays etc.
+diff --git a/sc/source/filter/excel/xicontent.cxx b/sc/source/filter/excel/xicontent.cxx
+index 05a142d..a863f9b 100644
+--- a/sc/source/filter/excel/xicontent.cxx
++++ b/sc/source/filter/excel/xicontent.cxx
+@@ -663,7 +663,10 @@ void XclImpCondFormat::ReadCF( XclImpStream& rStrm )
+         rFmlaConv.Convert( pTokArr, rStrm, nFmlaSize1, false, FT_CondFormat );
+         // formula converter owns pTokArr -> create a copy of the token array
+         if( pTokArr )
++        {
+             xTokArr1.reset( pTokArr->Clone() );
++            GetDocRef().CheckLinkFormulaNeedingCheck( *xTokArr1);
++        }
+     }
+     ::std::unique_ptr< ScTokenArray > pTokArr2;
+@@ -674,7 +677,10 @@ void XclImpCondFormat::ReadCF( XclImpStream& rStrm )
+         rFmlaConv.Convert( pTokArr, rStrm, nFmlaSize2, false, FT_CondFormat );
+         // formula converter owns pTokArr -> create a copy of the token array
+         if( pTokArr )
++        {
+             pTokArr2.reset( pTokArr->Clone() );
++            GetDocRef().CheckLinkFormulaNeedingCheck( *pTokArr2);
++        }
+     }
+     // *** create the Calc conditional formatting ***
+diff --git a/sc/source/filter/oox/condformatbuffer.cxx b/sc/source/filter/oox/condformatbuffer.cxx
+index 1c1eadd..8526d7f 100644
+--- a/sc/source/filter/oox/condformatbuffer.cxx
++++ b/sc/source/filter/oox/condformatbuffer.cxx
+@@ -875,11 +875,13 @@ void CondFormatRule::finalizeImport()
+         {
+             pTokenArray2.reset(new ScTokenArray());
+             ScTokenConversion::ConvertToTokenArray( rDoc, *pTokenArray2.get(), maModel.maFormulas[ 1 ] );
++            rDoc.CheckLinkFormulaNeedingCheck( *pTokenArray2.get());
+         }
+         ScTokenArray aTokenArray;
+         OUString aStyleName = getStyles().createDxfStyle( maModel.mnDxfId );
+         ScTokenConversion::ConvertToTokenArray( rDoc, aTokenArray, maModel.maFormulas[ 0 ] );
++        rDoc.CheckLinkFormulaNeedingCheck( aTokenArray);
+         ScCondFormatEntry* pNewEntry = new ScCondFormatEntry(eOperator,
+                                             &aTokenArray, pTokenArray2.get(), &rDoc, aPos, aStyleName);
+         mpFormat->AddEntry(pNewEntry);
+-- 
+1.9.1
+
+From e1fce8c423bbd0f67a78e07f1c48d91a64018e9c Mon Sep 17 00:00:00 2001
+From: Eike Rathke <erack@redhat.com>
+Date: Mon, 29 Jan 2018 18:19:33 +0100
+Subject: [PATCH 6/6] CheckLinkFormulaNeedingCheck() for named expressions
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+ This is a combination of 3 commits.
+
+CheckLinkFormulaNeedingCheck() for .ods named expressions
+
+This is specifically necessary for named expressions that are used
+in conditional format formulas, for which RPN is generated at a
+later stage, not during import.
+
+(cherry picked from commit eae9648e99be53ba441d9d8207aac6f3ce211ef2)
+
+CheckLinkFormulaNeedingCheck() for .xls named expressions
+
+(cherry picked from commit 8512f13c42ae3fbb287a555616fe10ff04295616)
+
+CheckLinkFormulaNeedingCheck() for .xlsx named expressions
+
+(cherry picked from commit a1f933ee2b9e23a505d937035821e9571cf4119c)
+
+ Conflicts:
+       sc/source/filter/oox/defnamesbuffer.cxx
+
+e03cb5767c34f8157a492a6d6c3b0700d065052d
+217c89822ab477a6c383d170ae739e44efd10fa3
+
+Change-Id: I54ab8dc14f81d6b18b0d17f448187d19d8e396fc
+Reviewed-on: https://gerrit.libreoffice.org/48858
+Tested-by: Jenkins <ci@libreoffice.org>
+Reviewed-by: Caolán McNamara <caolanm@redhat.com>
+Tested-by: Caolán McNamara <caolanm@redhat.com>
+(cherry picked from commit 908854a7b281454332af434be9468ec45d420030)
+---
+ sc/source/core/tool/rangenam.cxx        | 8 +++++++-
+ sc/source/filter/excel/xiname.cxx       | 3 +++
+ sc/source/filter/oox/defnamesbuffer.cxx | 2 ++
+ 3 files changed, 12 insertions(+), 1 deletion(-)
+
+diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx
+index 7626e16..d147b10 100644
+--- a/sc/source/core/tool/rangenam.cxx
++++ b/sc/source/core/tool/rangenam.cxx
+@@ -64,9 +64,14 @@ ScRangeData::ScRangeData( ScDocument* pDok,
+                 mnMaxCol    (-1)
+ {
+     if (!rSymbol.isEmpty())
+-        CompileRangeData( rSymbol, pDoc->IsImportingXML());
++    {
+         // Let the compiler set an error on unknown names for a subsequent
+         // CompileUnresolvedXML().
++        const bool bImporting = pDoc->IsImportingXML();
++        CompileRangeData( rSymbol, bImporting);
++        if (bImporting)
++            pDoc->CheckLinkFormulaNeedingCheck( *pCode);
++    }
+     else
+     {
+         // #i63513#/#i65690# don't leave pCode as NULL.
+@@ -199,6 +204,7 @@ void ScRangeData::CompileUnresolvedXML( sc::CompileFormulaContext& rCxt )
+         // Don't let the compiler set an error for unknown names on final
+         // compile, errors are handled by the interpreter thereafter.
+         CompileRangeData( aSymbol, false);
++        rCxt.getDoc()->CheckLinkFormulaNeedingCheck( *pCode);
+     }
+ }
+diff --git a/sc/source/filter/excel/xiname.cxx b/sc/source/filter/excel/xiname.cxx
+index d096615..8decfc0 100644
+--- a/sc/source/filter/excel/xiname.cxx
++++ b/sc/source/filter/excel/xiname.cxx
+@@ -265,7 +265,10 @@ void XclImpName::InsertName(const ScTokenArray* pArray)
+         }
+     }
+     if (pData)
++    {
++        GetDoc().CheckLinkFormulaNeedingCheck( *pData->GetCode());
+         mpScData = pData;               // cache for later use
++    }
+ }
+ XclImpNameManager::XclImpNameManager( const XclImpRoot& rRoot ) :
+diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
+index 9de5851..586511d 100644
+--- a/sc/source/filter/oox/defnamesbuffer.cxx
++++ b/sc/source/filter/oox/defnamesbuffer.cxx
+@@ -39,6 +39,7 @@
+ #include "tokenarray.hxx"
+ #include "tokenuno.hxx"
+ #include "compiler.hxx"
++#include "document.hxx"
+ namespace oox {
+ namespace xls {
+@@ -339,6 +340,7 @@ std::unique_ptr<ScTokenArray> DefinedName::getScTokens(
+     // after, a resulting error must be reset.
+     sal_uInt16 nErr = pArray->GetCodeError();
+     aCompiler.CompileTokenArray();
++    getScDocument().CheckLinkFormulaNeedingCheck( *pArray);
+     pArray->DelRPN();
+     pArray->SetCodeError(nErr);
+-- 
+1.9.1
+
diff --git a/debian/patches/aotcompile-256M-default.diff b/debian/patches/aotcompile-256M-default.diff
new file mode 100644 (file)
index 0000000..2d46d77
--- /dev/null
@@ -0,0 +1,28 @@
+--- aotcompile.py-old  2007-11-26 11:18:40.000000000 +0100
++++ aotcompile.py      2007-11-26 11:19:19.000000000 +0100
+@@ -31,23 +31,8 @@
+ GCJFLAGS = ["-g", "-O2", "-fPIC", "-findirect-dispatch", "-fjni"]
+ LDFLAGS = ["-Wl,-Bsymbolic"]
+-MAX_CLASSES_PER_JAR = 1024
+-MAX_BYTES_PER_JAR = 1048576
+-
+-# Calculate the maximum jar size/maximum classes per jar.
+-try:
+-    for line in file('/proc/meminfo'):
+-        if line.startswith('MemTotal:'):
+-            memtotal = int(line.split()[1])
+-            break
+-    if memtotal < 2200000:
+-        MAX_CLASSES_PER_JAR = 512
+-        MAX_BYTES_PER_JAR = 524288
+-    if memtotal < 1100000:
+-        MAX_CLASSES_PER_JAR = 256
+-        MAX_BYTES_PER_JAR = 262144
+-except:
+-    pass
++MAX_CLASSES_PER_JAR = 256
++MAX_BYTES_PER_JAR = 262144
+ MAKEFILE = "Makefile"
diff --git a/debian/patches/build-against-shared-lpsolve.diff b/debian/patches/build-against-shared-lpsolve.diff
new file mode 100644 (file)
index 0000000..c759445
--- /dev/null
@@ -0,0 +1,28 @@
+diff --git a/configure.ac b/configure.ac
+index cdae8b5..49f3ba2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -9468,8 +9468,9 @@ if test "$with_system_lpsolve" = "yes"; then
+         # some systems need this. Like Ubuntu....
+         AC_CHECK_LIB(m, floor)
+         AC_CHECK_LIB(dl, dlopen)
++        AC_CHECK_LIB(colamd, colamd)
+         AC_CHECK_LIB([lpsolve55], [make_lp], [:],
+-            [ AC_MSG_ERROR(lpsolve library not found or too old.)], [])
++            [ AC_MSG_ERROR(lpsolve library not found or too old.)], [-L/usr/lib/lp_solve])
+         LIBS=$save_LIBS
+         libo_MINGW_CHECK_DLL([lpsolve55])
+     else
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index a4daea7..0dea12d 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -1961,7 +1961,7 @@ ifeq ($(WITH_LPSOLVER),lpsolve)
+ ifneq ($(SYSTEM_LPSOLVE),)
+ define gb_LinkTarget__use_lpsolve
+-$(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
++$(call gb_LinkTarget_add_ldflags,$(1),/usr/lib/lp_solve/liblpsolve55.so -Wl$(COMMA)-rpath=/usr/lib/lp_solve)
+ $(call gb_LinkTarget_add_defs,$(1),\
+       -DSYSTEM_LPSOLVE \
+ )
diff --git a/debian/patches/build-connectivitytools.diff b/debian/patches/build-connectivitytools.diff
new file mode 100644 (file)
index 0000000..7faf5c5
--- /dev/null
@@ -0,0 +1,23 @@
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Wed, 12 Mar 2014 17:49:28 +0100
+Subject: [PATCH] make ConnectivityTools a normal target, so we can pack it
+
+---
+ connectivity/Module_connectivity.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/connectivity/Module_connectivity.mk b/connectivity/Module_connectivity.mk
+--- a/connectivity/Module_connectivity.mk
++++ b/connectivity/Module_connectivity.mk
+@@ -151,7 +151,7 @@ endif
+ endif
+ ifneq ($(filter QADEVOOO,$(BUILD_TYPE)),)
+-$(eval $(call gb_Module_add_subsequentcheck_targets,connectivity,\
++$(eval $(call gb_Module_add_targets,connectivity,\
+       Jar_ConnectivityTools \
+ ))
+ # FIXME: Does not work. Convert to JUnit.
+-- 
+1.9.1
+
diff --git a/debian/patches/debian-branding.diff b/debian/patches/debian-branding.diff
new file mode 100644 (file)
index 0000000..79d738f
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/instsetoo_native/util/openoffice.lst.in b/instsetoo_native/util/openoffice.lst.in
+index 8cf38a2..6bda352 100644
+--- a/instsetoo_native/util/openoffice.lst.in
++++ b/instsetoo_native/util/openoffice.lst.in
+@@ -16,7 +16,7 @@ Globals
+             SOLSUREPACKAGEPREFIX libreoffice
+             REGISTRATION_HOST https://registration.libreoffice.org/RegistrationWeb
+             REGISTRATIONURL http://survey.libreoffice.org/user/index.php
+-            PROGRESSBARCOLOR 0,0,0
++            PROGRESSBARCOLOR 215,7,81
+             PROGRESSSIZE 444,8
+             PROGRESSPOSITION 35,153
+             PROGRESSFRAMECOLOR 102,102,102
diff --git a/debian/patches/debian-debug.diff b/debian/patches/debian-debug.diff
new file mode 100644 (file)
index 0000000..911f602
--- /dev/null
@@ -0,0 +1,46 @@
+diff --git a/configure.ac b/configure.in
+index 3257668..afd36de 100755
+--- libreoffice-3.5.0/configure.ac
++++ libreoffice-3.5.0/configure.ac
+@@ -3361,13 +3361,19 @@ dnl Check for enable symbols option
+ dnl ===================================================================
+ AC_MSG_CHECKING([whether to include symbols while preserve optimization])
+ if test -n "$enable_symbols" -a "$enable_symbols" != "no"; then
+-    ENABLE_SYMBOLS="TRUE"
++    if test "$enable_symbols" = "SMALL" -o "$enable_symbols" = "small"; then
++        ENABLE_SYMBOLS="SMALL"
++        AC_MSG_RESULT([yes, small ones])
++    else
++        ENABLE_SYMBOLS="TRUE"
++        AC_MSG_RESULT([yes])
++    fi
++
+     if test -n "$ENABLE_DBGUTIL"; then
+         AC_MSG_ERROR([--enable-dbgutil cannot be used with --enable-symbols])
+     elif test -n "$ENABLE_DEBUG"; then
+         AC_MSG_ERROR([--enable-debug cannot be used with --enable-symbols])
+     fi
+-    AC_MSG_RESULT([yes])
+ else
+     if test -n "$enable_symbols" -a "$enable_symbols" = "no"; then
+         ENABLE_SYMBOLS="FALSE"
+diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
+index 9de88a2..9161a4e 100644
+--- a/solenv/gbuild/platform/com_GCC_defs.mk
++++ b/solenv/gbuild/platform/com_GCC_defs.mk
+@@ -153,11 +153,15 @@ gb_PrecompiledHeader_EXCEPTIONFLAGS := $(gb_LinkTarget_EXCEPTIONFLAGS)
+ gb_COMPILERNOOPTFLAGS := -O0 -fstrict-aliasing -fstrict-overflow
+ # Clang does not know -ggdb2 or some other options
++ifeq ($(ENABLE_SYMBOLS),SMALL)
++gb_DEBUGINFO_FLAGS=-g1
++else
+ ifeq ($(HAVE_GCC_GGDB2),TRUE)
+ gb_DEBUGINFO_FLAGS=-ggdb2
+ else
+ gb_DEBUGINFO_FLAGS=-g2
+ endif
++endif
+ ifeq ($(HAVE_GCC_FINLINE_LIMIT),TRUE)
+ FINLINE_LIMIT0=-finline-limit=0
diff --git a/debian/patches/debian-hardened-buildflags-CPPFLAGS.diff b/debian/patches/debian-hardened-buildflags-CPPFLAGS.diff
new file mode 100644 (file)
index 0000000..1daf740
--- /dev/null
@@ -0,0 +1,80 @@
+--- a/configure.ac-old 2012-03-02 21:48:47.000000000 +0000
++++ b/configure.ac     2012-03-02 21:51:29.000000000 +0000
+@@ -5751,17 +5751,6 @@ if test "$GCC" = "yes"; then
+         AC_MSG_RESULT([no])
+     fi
+-    AC_MSG_CHECKING([whether $CC supports -fstack-protector-strong])
+-    save_CFLAGS=$CFLAGS
+-    CFLAGS="$CFLAGS -Werror -fstack-protector-strong"
+-    AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ HAVE_GCC_STACK_PROTECTOR_STRONG=TRUE ],[])
+-    CFLAGS=$save_CFLAGS
+-    if test "$HAVE_GCC_STACK_PROTECTOR_STRONG" = "TRUE"; then
+-        AC_MSG_RESULT([yes])
+-    else
+-        AC_MSG_RESULT([no])
+-    fi
+-
+     AC_MSG_CHECKING([whether $CC supports atomic functions])
+     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[
+     int v = 0;
+@@ -10225,6 +10225,11 @@ else
+ fi
+ AC_SUBST(ENABLE_VLC)
++if test -x /usr/bin/dpkg-buildflags; then
++       HARDEN_CPPFLAGS=`dpkg-buildflags --get CPPFLAGS 2>/dev/null`
++fi
++AC_SUBST(HARDEN_CPPFLAGS)
++
+ # this is for opengl transitions in impress slideshow
+ ENABLE_OPENGL=
+ if test $_os = iOS -o $_os = Android; then
+--- a/config_host.mk.in-old    2012-04-06 14:17:55.164239390 +0200
++++ b/config_host.mk.in        2012-04-06 14:18:55.440239065 +0200
+@@ -70,6 +70,7 @@
+ export CPPUNIT_LIBS=$(gb_SPACE)@CPPUNIT_LIBS@
+ export CPUNAME=@CPUNAME@
+ export CDEFAULTOPT=@CDEFAULTOPT@
++export HARDEN_CPPFLAGS=@HARDEN_CPPFLAGS@
+ export CROSS_COMPILING=@CROSS_COMPILING@
+ export CURL=@CURL@
+ export CURL_CFLAGS=$(gb_SPACE)@CURL_CFLAGS@
+@@ -240,7 +240,6 @@ export GUIBASE=@GUIBASE@
+ export HAMCREST_JAR=@HAMCREST_JAR@
+ export HARDLINKDELIVER=@HARDLINKDELIVER@
+ export HAVE_GCC_AVX=@HAVE_GCC_AVX@
+-export HAVE_GCC_STACK_PROTECTOR_STRONG=@HAVE_GCC_STACK_PROTECTOR_STRONG@
+ export HAVE_GCC_BUILTIN_ATOMIC=@HAVE_GCC_BUILTIN_ATOMIC@
+ export HAVE_GCC_FINLINE_LIMIT=@HAVE_GCC_FINLINE_LIMIT@
+ export HAVE_GCC_FNO_DEFAULT_INLINE=@HAVE_GCC_FNO_DEFAULT_INLINE@
+diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
+index c71cb40..f826d65 100644
+--- a/solenv/gbuild/gbuild.mk
++++ b/solenv/gbuild/gbuild.mk
+@@ -259,6 +259,8 @@ gb_GLOBALDEFS += \
+               ENABLE_LTO \
+       )
++gb_GLOBALDEFS += $(HARDEN_CPPFLAGS)
++
+ gb_GLOBALDEFS := $(sort $(gb_GLOBALDEFS))
+ # This is used to detect whether LibreOffice is being built (as opposed to building
+diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
+index 7acd068..b6d9735 100644
+--- a/solenv/gbuild/platform/com_GCC_defs.mk
++++ b/solenv/gbuild/platform/com_GCC_defs.mk
+@@ -106,12 +106,6 @@ endif
+ endif
+ gb_CXXFLAGS_COMMON += $(gb_VISIBILITY_FLAGS_CXX)
+-ifeq ($(HAVE_GCC_STACK_PROTECTOR_STRONG),TRUE)
+-gb_CFLAGS_COMMON += -fstack-protector-strong
+-gb_CXXFLAGS_COMMON += -fstack-protector-strong
+-gb_LinkTarget_LDFLAGS += -fstack-protector-strong
+-endif
+-
+ ifeq ($(ENABLE_PCH),TRUE)
+ ifneq ($(COM_IS_CLANG),TRUE)
+ gb_CFLAGS_COMMON += -fpch-preprocess -Winvalid-pch
diff --git a/debian/patches/debian-opt.diff b/debian/patches/debian-opt.diff
new file mode 100644 (file)
index 0000000..063f08b
--- /dev/null
@@ -0,0 +1,26 @@
+diff --git a/configure.ac b/configure.in
+index c0b76f8..d10222f 100644
+--- libreoffice-3.5.0/configure.ac
++++ libreoffice-3.5.0/configure.ac
+@@ -11741,6 +11780,9 @@ fi
+ AC_SUBST(MPL_SUBSET)
++CDEFAULTOPT=`echo $CFLAGS 2>/dev/null | grep -E -o "\-O[[0-3]]"`
++AC_SUBST(CDEFAULTOPT)
++
+ dnl ===================================================================
+ dnl Setting up the environment.
+ dnl ===================================================================
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 1ec3268..abb45b1 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -69,6 +69,7 @@ export CPP_LIBRARY=@CPP_LIBRARY@
+ export CPPUNIT_CFLAGS=$(gb_SPACE)@CPPUNIT_CFLAGS@
+ export CPPUNIT_LIBS=$(gb_SPACE)@CPPUNIT_LIBS@
+ export CPUNAME=@CPUNAME@
++export CDEFAULTOPT=@CDEFAULTOPT@
+ export CROSS_COMPILING=@CROSS_COMPILING@
+ export CURL=@CURL@
+ export CURL_CFLAGS=$(gb_SPACE)@CURL_CFLAGS@
diff --git a/debian/patches/disable-db-tests.diff b/debian/patches/disable-db-tests.diff
new file mode 100644 (file)
index 0000000..f6fc670
--- /dev/null
@@ -0,0 +1,157 @@
+diff -urN smoketest-old/data/Test_DB.xml smoketest/data/Test_DB.xml
+--- a/smoketest-old/data/Basic/Standard/Test_DB.xml    2011-12-20 16:05:52.000000000 +0000
++++ b/smoketest/data/Basic/Standard/Test_DB.xml        2011-12-29 23:09:08.000000000 +0000
+@@ -30,9 +30,6 @@
+ const cMessageDatabaseService = &quot;Database Service&quot;
+ const cMessageDatabaseOpen = &quot;Open Database&quot;
+-const cMessageDatabaseInsert = &quot;Insert record into Database&quot;
+-const cMessageDatabaseDelete = &quot;Delete record from Database&quot;
+-const cMessageDatabaseSeek = &quot;Read other record from Database&quot;
+ const cMessageDatabaseClose = &quot;Close Database&quot;
+ Sub TestDB
+@@ -81,48 +78,6 @@
+         LogTestResult( &quot;Database &quot;+ cMessageDatabaseService, TRUE )
+     End If
+-    gCurrentTestCase = cDBInsert
+-    sCurrentMessage = cMessageDatabaseInsert
+-
+-    oRowSet.ActiveConnection = oDBConnection
+-
+-    oRowSet.CommandType = com.sun.star.sdb.CommandType.COMMAND
+-    oRowSet.Command = &quot;SELECT * FROM &quot; + sTable
+-    oRowSet.execute()
+-
+-    oRowSet.moveToInsertRow
+-    oRowSet.updateString(5, sTestString)
+-
+-    oRowSet.insertRow()
+-    nRowCount=oRowSet.RowCount
+-
+-    oRowSet.moveToCurrentRow()
+-
+-    bResult = (oRowSet.getString(5) = sTestString)
+-    LogTestResult( &quot;Database &quot;+ cMessageDatabaseInsert, bResult )
+-
+-    &apos;delete only if insert passed
+-
+-    if (bResult) Then
+-        gCurrentTestCase = cDBDelete
+-        sCurrentMessage = cMessageDatabaseDelete
+-        oRowSet.deleteRow()
+-        bResult = (nRowCount - oRowSet.RowCount = 0)
+-        if ( bResult ) Then
+-            oRowSet.next()
+-            bResult = (nRowCount - oRowSet.RowCount = 1)
+-        End If
+-        LogTestResult( &quot;Database &quot;+ cMessageDatabaseDelete, bResult )
+-    End If
+-
+-    &apos; read other record
+-
+-    gCurrentTestCase = cDBSeek
+-    sCurrentMessage = cMessageDatabaseSeek
+-    oRowSet.first()
+-    bResult = not (oRowSet.getString(5) = sTestString)
+-    LogTestResult( &quot;Database &quot;+ cMessageDatabaseSeek, bResult )
+-
+     gCurrentTestCase = cDBClose
+     sCurrentMessage = cMessageDatabaseClose
+     oDBConnection.Dispose()
+--- a/dbaccess/Module_dbaccess.mk-old  2012-04-27 23:27:39.194936746 +0200
++++ b/dbaccess/Module_dbaccess.mk      2012-04-27 23:27:47.102975960 +0200
+@@ -34,49 +34,49 @@
+       UIConfig_dbtdata \
+ ))
+-ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+-    CppunitTest_dbaccess_firebird_test \
+-))
+-endif
+-
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+-      CppunitTest_dbaccess_dialog_save \
+-      CppunitTest_dbaccess_empty_stdlib_save \
+-      CppunitTest_dbaccess_nolib_save \
+-      CppunitTest_dbaccess_macros_test \
+-      $(if $(ENABLE_JAVA), \
+-              CppunitTest_dbaccess_RowSetClones) \
+-))
+-
+-ifeq ($(ENABLE_JAVA),TRUE)
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+-    CppunitTest_dbaccess_hsqldb_test \
+-))
+-endif
+-
+-# This runs a suite of peformance tests on embedded firebird and HSQLDB.
+-# Instructions on running the test can be found in qa/unit/embeddedb_performancetest
+-ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
+-ifeq ($(ENABLE_JAVA),TRUE)
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+-    CppunitTest_dbaccess_embeddeddb_performancetest \
+-))
+-endif
+-endif
+-
+-$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
+-      JunitTest_dbaccess_complex \
+-    JunitTest_dbaccess_unoapi \
+-))
+-
+-ifneq ($(DISABLE_PYTHON),TRUE)
+-ifneq ($(ENABLE_JAVA),)
+-$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
+-      PythonTest_dbaccess_python \
+-))
+-endif
+-endif
++#ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
++#$(eval $(call gb_Module_add_check_targets,dbaccess,\
++#    CppunitTest_dbaccess_firebird_test \
++#))
++#endif
++#
++#$(eval $(call gb_Module_add_check_targets,dbaccess,\
++#     CppunitTest_dbaccess_dialog_save \
++#     CppunitTest_dbaccess_empty_stdlib_save \
++#     CppunitTest_dbaccess_nolib_save \
++#     CppunitTest_dbaccess_macros_test \
++#     $(if $(ENABLE_JAVA), \
++#             CppunitTest_dbaccess_RowSetClones) \
++#))
++#
++#ifeq ($(ENABLE_JAVA),TRUE)
++#$(eval $(call gb_Module_add_check_targets,dbaccess,\
++#    CppunitTest_dbaccess_hsqldb_test \
++#))
++#endif
++#
++## This runs a suite of peformance tests on embedded firebird and HSQLDB.
++## Instructions on running the test can be found in qa/unit/embeddedb_performancetest
++#ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
++#ifeq ($(ENABLE_JAVA),TRUE)
++#$(eval $(call gb_Module_add_check_targets,dbaccess,\
++#    CppunitTest_dbaccess_embeddeddb_performancetest \
++#))
++#endif
++#endif
++#
++#$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
++#     JunitTest_dbaccess_complex \
++#    JunitTest_dbaccess_unoapi \
++#))
++#
++#ifneq ($(DISABLE_PYTHON),TRUE)
++#ifneq ($(ENABLE_JAVA),)
++#$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
++#     PythonTest_dbaccess_python \
++#))
++#endif
++#endif
+ endif
diff --git a/debian/patches/disable-flaky-tests.diff b/debian/patches/disable-flaky-tests.diff
new file mode 100644 (file)
index 0000000..fc9ae53
--- /dev/null
@@ -0,0 +1,179 @@
+14:13 < mst__> _rene_, the toolkit unoapi tests are known to be flaky (in some 
+               system dependent way) e.g. on the Win@6 tinderbox it always 
+               crashes
+14:14 < mst__> _rene_, sc.ScAccessible* tests also fail on some systems some of 
+               the time
+
+diff --git a/toolkit/Module_toolkit.mk b/toolkit/Module_toolkit.mk
+index 25db0b6..14e507c 100644
+--- a/toolkit/Module_toolkit.mk
++++ b/toolkit/Module_toolkit.mk
+@@ -26,11 +26,11 @@ $(eval $(call gb_Module_add_targets,toolkit,\
+ ifneq ($(OOO_JUNIT_JAR),)
+ $(eval $(call gb_Module_add_subsequentcheck_targets,toolkit,\
+     JunitTest_toolkit_complex \
+-    JunitTest_toolkit_unoapi_1 \
+-    JunitTest_toolkit_unoapi_2 \
+-    JunitTest_toolkit_unoapi_3 \
+-    JunitTest_toolkit_unoapi_4 \
+ ))
+ endif
++#    JunitTest_toolkit_unoapi_1 \
++#    JunitTest_toolkit_unoapi_2 \
++#    JunitTest_toolkit_unoapi_3 \
++#    JunitTest_toolkit_unoapi_4 \
+ # vim: set noet sw=4 ts=4:
+diff --git a/sc/qa/unoapi/sc_1.sce b/sc/qa/unoapi/sc_1.sce
+index fa1684c..cc8e1a5 100644
+--- a/sc/qa/unoapi/sc_1.sce
++++ b/sc/qa/unoapi/sc_1.sce
+@@ -24,10 +24,3 @@
+ # i84554 -o sc.AccessibleEditableTextPara_PreviewNote
+ # i88241 -o sc.AccessibleEditableTextPara_HeaderFooter
+ -o sc.AccessibleEditableTextPara_PreviewCell
+--o sc.ScAccessibleCell
+-# i91044 -o sc.ScAccessibleCsvCell
+-# i91044 -o sc.ScAccessibleCsvGrid
+-# i84641 -o sc.ScAccessibleCsvRuler
+-# i88330 -o sc.ScAccessibleDocument
+-# i91045 -o sc.ScAccessibleDocumentPagePreview
+--o sc.ScAccessiblePageHeader
+diff --git a/sc/qa/unoapi/sc_2.sce b/sc/qa/unoapi/sc_2.sce
+index dbfc3e1..d235c5d 100644
+--- a/sc/qa/unoapi/sc_2.sce
++++ b/sc/qa/unoapi/sc_2.sce
+@@ -15,11 +15,6 @@
+ #   except in compliance with the License. You may obtain a copy of
+ #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ #
+-# fdo#FOO -o sc.ScAccessiblePageHeaderArea
+--o sc.ScAccessiblePreviewCell
+--o sc.ScAccessiblePreviewHeaderCell
+--o sc.ScAccessiblePreviewTable
+-# fdo#45337 -o sc.ScAccessibleSpreadsheet
+ # FIXME_REMOVE_WHEN_RE_BASE_COMPLETE
+ # -o sc.ScAnnotationObj
+ # -o sc.ScAnnotationShapeObj
+
+20:42 <@vmiklos> _rene_: yes?
+20:43 < _rene_> vmiklos: see the ml. works, but that of course is not a fix for the test :)
+20:43 < _rene_> s/works/lloconv works/
+20:43 < _rene_> vmiklos: and as a test failure is fatal (at least on i386/amd64)..
+20:44 < loircbot> LibreOffice (core) vmiklos *  (3 files in 3 dirs): tdf#83300 DOCX import: 'TOC Heading' should not be 'keep with next' by default
+20:44 <@vmiklos> _rene_: thanks for testing. yes, but then my idea that perhaps the part to fix is the testcase, not the real code may be true at the end :)
+20:45 < _rene_> yeah, or how the test is run (deinit?)
+20:45 < _rene_> because it does say OK...
+20:45 < _rene_> and then SIGSEGVs ;)
+20:46 < loircbot> LibreOffice (core) [feature/glyphy] tml * external/glyphy/glyphy-windows.patch.1: Update the GLyphy patch for Windows
+20:48 <@vmiklos> _rene_: aah, actually it may be a real bug then -- IIRC lloconv has some dirty _exit() hack..
+[...]
+11:21 < _rene_> vmiklos: I think I'll revert to non-libmerged to get that test 
+                fixed for beta1. I don't like having all tests disabled. can 
+                live with it for a alpha, but...
+11:22 < _rene_> but merged-nonmerged-merged ping-pong is also not ideal ;)
+11:22 < bubli> tml__: No way I do :P
+11:22 < _rene_> especially as I would differentiate from official TDF builds 
+                with not-libmerged..
+[...]
+11:48 <@vmiklos> _rene_: right, either revert to non-merged or patch/sed out 
+                 that single test for now.
+
+diff --git a/libreofficekit/Module_libreofficekit.mk b/libreofficekit/Module_libreofficekit.mk
+index 0b2fd4a..ae40d59 100644
+--- a/libreofficekit/Module_libreofficekit.mk
++++ b/libreofficekit/Module_libreofficekit.mk
+@@ -11,9 +11,9 @@ $(eval $(call gb_Module_Module,libreofficekit))
+     CppunitTest_libreofficekit_checkapi \
+ ))
+-$(eval $(call gb_Module_add_subsequentcheck_targets,libreofficekit,\
+-    CppunitTest_libreofficekit_tiledrendering \
+-))
++#$(eval $(call gb_Module_add_subsequentcheck_targets,libreofficekit,\
++#    CppunitTest_libreofficekit_tiledrendering \
++#))
+ ifneq ($(ENABLE_GTK3),)
+ $(eval $(call gb_Module_add_targets,libreofficekit,\
+
+12:18 < _rene_> chris_wot: ping?
+12:18 < chris_wot> heya
+12:18 < chris_wot> you pinged?
+12:19 < _rene_> chris_wot: any news on 
+                https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815292?
+12:20 < _rene_> (of course the this-night-uploaded rc3 also failed)
+12:21 < chris_wot> ah, sorry - I've looked at an EMF regression, but I've not 
+                   gotten any further on that one
+12:22 < chris_wot> I honestly think that for this one just disable the test for 
+                   now
+12:22 < chris_wot> I'll ping the ML
+
+diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
+index 54eed4d..78019bd 100644
+--- a/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
++++ b/sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
+@@ -1103,28 +1103,28 @@ DECLARE_OOXMLEXPORT_TEST(testTDF93675, "no-numlevel-but-indented.odt")
+     assertXPath(pXmlDoc, "//w:ind", "start", "1418");
+ }
+-DECLARE_OOXMLEXPORT_TEST(testFlipAndRotateCustomShape, "flip_and_rotate.odt")
+-{
+-    xmlDocPtr pXmlDoc = parseExport("word/document.xml");
+-    if (!pXmlDoc)
+-        return;
+-    // there should be no flipH and flipV attributes in this case
+-    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipH");
+-    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipV");
+-    // check rotation angle
+-    assertXPath(pXmlDoc, "//a:xfrm", "rot", "13500000");
+-    // check the first few coordinates of the polygon
+-#ifndef MACOSX /* Retina-related rounding rountrip error
+-                * hard to smooth out due to the use of string compare
+-                * instead of number */
+-    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "x", "2351");
+-    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "y", "3171");
+-    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "x", "1695");
+-    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "y", "3171");
+-    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "x", "1695");
+-    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "y", "1701");
+-#endif
+-}
++//DECLARE_OOXMLEXPORT_TEST(testFlipAndRotateCustomShape, "flip_and_rotate.odt")
++//{
++//    xmlDocPtr pXmlDoc = parseExport("word/document.xml");
++//    if (!pXmlDoc)
++//        return;
++//    // there should be no flipH and flipV attributes in this case
++//    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipH");
++//    assertXPathNoAttribute(pXmlDoc, "//a:xfrm", "flipV");
++//    // check rotation angle
++//    assertXPath(pXmlDoc, "//a:xfrm", "rot", "13500000");
++//    // check the first few coordinates of the polygon
++//#ifndef MACOSX /* Retina-related rounding rountrip error
++//                * hard to smooth out due to the use of string compare
++//                * instead of number */
++//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "x", "2351");
++//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[1]/a:pt", "y", "3171");
++//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "x", "1695");
++//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[2]/a:pt", "y", "3171");
++//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "x", "1695");
++//    assertXPath(pXmlDoc, "//a:custGeom/a:pathLst/a:path/a:lnTo[3]/a:pt", "y", "1701");
++//#endif
++//}
+ DECLARE_OOXMLEXPORT_TEST(testTdf103389, "tdf103389.docx")
+ {
+diff --git a/svx/qa/unoapi/svx.sce b/svx/qa/unoapi/svx.sce
+index 1c3925f..a16f001 100644
+--- a/svx/qa/unoapi/svx.sce
++++ b/svx/qa/unoapi/svx.sce
+@@ -25,7 +25,7 @@
+ #i111216 -o svx.AccessiblePresentationGraphicShape
+ #i111216 -o svx.AccessiblePresentationOLEShape
+ #i85539 -o svx.AccessiblePresentationShape
+--o svx.AccessibleShape
++#-o svx.AccessibleShape
+ #i90294 -o svx.GraphicExporter
+ -o svx.SvxDrawPage
+ #i85501 -o svx.SvxGraphCtrlAccessibleContext
diff --git a/debian/patches/dont-touch-urd.diff b/debian/patches/dont-touch-urd.diff
new file mode 100644 (file)
index 0000000..f19ef5d
--- /dev/null
@@ -0,0 +1,80 @@
+18:43 <@_rene_> hmm. /me wonders why after a rm config.status autogen.lastrun 
+                and a re-configure (and make clean for odk/scp2/scripting) LO 
+                master tries to rebuild offapi/udkapi again?
+18:44 <@_rene_> this a) takes with cpp instead of ucpp and b) causes all kind 
+                of stuff "down" to be rebuilt.... :(
+18:44 <@_rene_> which is extremely bad.
+18:44 <@_rene_> if it isn't solvable easily: what to touch to prevent it from 
+                doing that? :-)
+18:45 < loirkerbot> LibreOffice (core) mstahl * desktop/source/app/main.c: 
+                    desktop: tweak xmlCleanupParser hack: disable on return 
+                    from main
+18:46 < mst__> _rene_, did you switch between --with-system-ucpp and without? 
+               that should rebuild IDL file...
+18:47 <@_rene_> nah, first run is just --disable-help, --disable-scripting etc
+18:47 <@_rene_> and the second run does that
+18:47 <@_rene_> (first pass to "just" build what is needed for arch-specific 
+                stuff)
+18:48 <@_rene_> (and I am not using ucpp at all, but cpp ;))
+18:51 < mst__> _rene_, hmm don't know why that would happen then... you could 
+               try running second make with -d and redirect to a file, but 
+               beware that file will be huge... then grep for "Must 
+               remake.*urd" or something should give you the problem area
+18:59 -!- reisi007 [~chatzilla@cpe90-146-226-33.liwest.at] has quit [Quit: 
+          ChatZilla 0.9.89 [Firefox 14.0.1/20120713134347]]
+19:00 -!- crossmanith_ [~cr@p3E9EAEF6.dip.t-dialin.net] has joined 
+          #libreoffice-dev
+19:00 -!- erAck_away is now known as erAck
+19:05 -!- cbosdonnat [~cbosdo@ALyon-651-1-309-127.w90-14.abo.wanadoo.fr] has 
+          quit [Quit: Leaving]
+19:07 <@_rene_> mst__: ok, starting a new build, let's see
+[...]
+10:36 <@_rene_> mst__: nothing interesting there instead of the loads of 
+                touch'es...
+10:36 <@_rene_> mst__: butI just removed the touch from the UnoApiTarget and 
+                let's see now :)
+10:36 -!- erAck [~erathke@f054050047.adsl.alicedsl.de] has joined 
+          #libreoffice-dev
+10:36 -!- mode/#libreoffice-dev [+o erAck] by ChanServ
+10:36 <@_rene_>  $(call gb_UnoApiPartTarget_get_target,%.urd) :
+10:36 <@_rene_> -       touch $@
+10:36 <@_rene_> +       
+[...]
+10:38 < mst__> _rene_, there must be something interesting there: preceding the 
+               "Must remake.*urd" line there must be some line that says target 
+               "foo" is "newer" than the .urd and therefor it will be rebuilt
+[...]
+10:40 <@_rene_> mst__: I didn't see anything there, no ".*urd*muss neu"
+10:41 < mst__> _rene_, there must be a message like that immediately preceding 
+               running the touch command
+10:41 -!- pepp [~pierre-er@vaf26-6-78-248-2-61.fbx.proxad.net] has joined 
+          #libreoffice-dev
+10:42 <@vmiklos> mst__: makes sense.
+10:42 -!- matus [~ubuntu@adsl-dyn17.78-98-107.t-com.sk] has joined 
+          #libreoffice-dev
+10:42 <@_rene_> as said, there was done. I don't think I oversaw it
+10:43 <@_rene_> but can try again later, for now I will just keep removing the 
+                touch. according to the comment this shoudln't do harm
+10:43 < mst__> _rene_, removing it will break incremental builds iirc
+10:44 <@_rene_> but only if you change idl stuff inbetween
+10:44 <@_rene_> which won't happen that often in package builds ;)
+10:44 < mst__> _rene_, exactly
+10:44 -!- Fridrich [~fridrich@71-99.199-178.cust.bluewin.ch] has joined 
+          #libreoffice-dev
+10:44 -!- mode/#libreoffice-dev [+o Fridrich] by ChanServ
+10:45 <@_rene_> (when I am out of "use git", only when there's a new 
+                (pre-)release"
+
+diff --git a/solenv/gbuild/UnoApiTarget.mk b/solenv/gbuild/UnoApiTarget.mk
+index 98734ab..b281a84 100644
+--- a/solenv/gbuild/UnoApiTarget.mk
++++ b/solenv/gbuild/UnoApiTarget.mk
+@@ -46,7 +46,7 @@ $(dir $(call gb_UnoApiPartTarget_get_target,))%/.dir :
+       $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@))
+ $(call gb_UnoApiPartTarget_get_target,%.urd) :
+-      touch $@
++      
+ # TODO:
+ # - get idlc switch "-P" (generate .urd into package dir)
diff --git a/debian/patches/fix-internal-hsqldb-build.diff b/debian/patches/fix-internal-hsqldb-build.diff
new file mode 100644 (file)
index 0000000..448269e
--- /dev/null
@@ -0,0 +1,45 @@
+diff -urN hsqldb.old/patches/use-system-servlet-api.jar.diff hsqldb/patches/use-system-servlet-api.jar.diff
+--- a/external/hsqldb/patches/use-system-servlet-api.jar.diff  1970-01-01 01:00:00.000000000 +0100
++++ b/external/hsqldb/patches/use-system-servlet-api.jar.diff  2013-03-19 15:09:42.137801521 +0100
+@@ -0,0 +1,29 @@
++--- misc/hsqldb/build/build.xml
+++++ misc/build/hsqldb/build/build.xml
++@@ -356,7 +356,7 @@
++                  optimize="${build.optimize}"
++        >
++          <classpath>
++-            <pathelement location="lib/servlet.jar"/>
+++            <pathelement location="/usr/share/java/servlet-api-3.0.jar"/>
++          </classpath>
++          <include name="*.java"/>
++          <include name="org/hsqldb/*.java"/>
++@@ -818,7 +818,7 @@
++                                              ${src}/org/hsqldb/util/RCData.java,
++                                              ${src}/org/hsqldb/util/SqlTool.java"
++            destdir="${basedir}/doc/src"
++-           classpath="${basedir}/lib/servlet.jar;${basedir}/lib/junit.jar"
+++           classpath="/usr/share/java/servlet-api-3.1.jar;${basedir}/lib/junit.jar"
++            author="true"
++            version="false"
++            use="true"
++@@ -839,7 +839,7 @@
++       <javadoc packagenames="org.hsqldb.*,org.hsqldb.jdbc.*,org.hsqldb.lib.*,org.hsqldb.util.*"
++            sourcepath="${src}"
++            destdir="${basedir}/doc/src"
++-           classpath="${basedir}/lib/servlet.jar;${basedir}/lib/junit.jar"
+++           classpath="/usr/share/java/servlet-api-3.1.jar;${basedir}/lib/junit.jar"
++            author="true"
++            version="false"
++            use="true"
+diff --git a/external/hsqldb/UnpackedTarball_hsqldb.mk b/external/hsqldb/UnpackedTarball_hsqldb.mk
+index a13aa9b..973ff61 100644
+--- a/external/hsqldb/UnpackedTarball_hsqldb.mk
++++ b/external/hsqldb/UnpackedTarball_hsqldb.mk
+@@ -27,6 +27,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,hsqldb,\
+       $(if $(HSQLDB_USE_JDBC_4_1),\
+               external/hsqldb/patches/jdbc-4.1.patch \
+       ) \
++      external/hsqldb/patches/use-system-servlet-api.jar.diff \
+ ))
+ # vim: set noet sw=4 ts=4:
diff --git a/debian/patches/fix-system-lpsolve-build.diff b/debian/patches/fix-system-lpsolve-build.diff
new file mode 100644 (file)
index 0000000..fb3cc57
--- /dev/null
@@ -0,0 +1,31 @@
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index 16eb38a..8983376 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -2392,7 +2392,7 @@ ifneq ($(ENABLE_LPSOLVE),)
+ ifneq ($(SYSTEM_LPSOLVE),)
+ define gb_LinkTarget__use_lpsolve
+-$(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
++$(call gb_LinkTarget_add_ldflags,$(1),-llpsolve55_pic)
+ $(call gb_LinkTarget_add_defs,$(1),\
+       -DSYSTEM_LPSOLVE \
+ )
+diff --git a/configure.ac b/configure.ac
+index df7cb4c..9eb5bad 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -9790,10 +9812,11 @@ if test "$ENABLE_LPSOLVE" = TRUE; then
+         # some systems need this. Like Ubuntu....
+         AC_CHECK_LIB(m, floor)
+         AC_CHECK_LIB(dl, dlopen)
+-        AC_CHECK_LIB([lpsolve55], [make_lp], [:],
++        AC_CHECK_LIB(colamd, colamd)
++        AC_CHECK_LIB([lpsolve55_pic], [make_lp], [:],
+             [ AC_MSG_ERROR(lpsolve library not found or too old.)], [])
+         LIBS=$save_LIBS
+-        libo_MINGW_CHECK_DLL([lpsolve55])
++        libo_MINGW_CHECK_DLL([lpsolve55_pic])
+     else
+         AC_MSG_RESULT([internal])
+         SYSTEM_LPSOLVE=
diff --git a/debian/patches/gcj-no-bitness-check.diff b/debian/patches/gcj-no-bitness-check.diff
new file mode 100644 (file)
index 0000000..c80cf71
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/configure.ac-old 2015-02-19 15:32:27.000000000 +0100
++++ b/configure.ac     2015-02-19 15:38:58.709444812 +0100
+@@ -6670,6 +6670,7 @@ if test "$ENABLE_JAVA" != ""; then
+         fi
+         JAVAINTERPRETER=`win_short_path_for_make "$JAVAINTERPRETER"`
+     elif test "$cross_compiling" != "yes"; then
++      if [ "$JAVAINTERPRETER" != "/usr/lib/jvm/java-gcj/bin/java" ]; then
+         case $CPUNAME in
+             AARCH64|AXP|X86_64|IA64|POWERPC64|S390X|SPARC64|GODSON64)
+                 if test -f "$JAVAINTERPRETER" -a "`$JAVAINTERPRETER -version 2>&1 | $GREP -i 64-bit`" = "" >/dev/null; then
+@@ -6684,6 +6685,7 @@ if test "$ENABLE_JAVA" != ""; then
+                 fi
+                 ;;
+         esac
++      fi
+     fi
+ fi
diff --git a/debian/patches/gcj-safe-jni-h-include.diff b/debian/patches/gcj-safe-jni-h-include.diff
new file mode 100644 (file)
index 0000000..a875fb7
--- /dev/null
@@ -0,0 +1,23 @@
+diff --git a/configure.ac b/configure.ac
+index 053fc51..84b323c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -7212,12 +7240,18 @@ if test -n "$ENABLE_JAVA" -a -z "$JAVAINC"; then
+         JAVAINC="-I$JAVA_HOME/include"
+         JAVAINC="$JAVAINC -I$JAVA_HOME/include/linux"
+         test -d "$JAVA_HOME/include/native_thread" && JAVAINC="$JAVAINC -I$JAVA_HOME/include/native_thread"
++      if test "$JDK" = "gcj"; then
++              JAVAINC="$JAVAINC -I`$JAVA_HOME/bin/gcj --print-file-name include/jni.h | $SED -e s,\/jni.h,,g`"
++      fi
+         ;;
+     linux-gnu*)
+         JAVAINC="-I$JAVA_HOME/include"
+         JAVAINC="$JAVAINC -I$JAVA_HOME/include/linux"
+         test -d "$JAVA_HOME/include/native_thread" && JAVAINC="$JAVAINC -I$JAVA_HOME/include/native_thread"
++      if test "$JDK" = "gcj"; then
++              JAVAINC="$JAVAINC -I`$JAVA_HOME/bin/gcj --print-file-name include/jni.h | $SED -e s,\/jni.h,,g`"
++      fi
+         ;;
+     mingw*)
diff --git a/debian/patches/gtk3-opengl-slideshow.diff b/debian/patches/gtk3-opengl-slideshow.diff
new file mode 100644 (file)
index 0000000..9c825a1
--- /dev/null
@@ -0,0 +1,632 @@
+From 712af05b25bd4fd5343a5622b7a42eff177eeb83 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
+Date: Thu, 1 Dec 2016 12:32:09 +0000
+Subject: [PATCH] rework diamond transition to use only opengl core
+
+cause that's all we've got in gtk3
+
+Change-Id: I6a47e344ccd39ba63e7a51ae18f89bb05bb642c4
+---
+ .../OGLTrans/generic/OGLTrans_TransitionImpl.cxx   | 28 +++++++++++++++-------
+ 1 file changed, 20 insertions(+), 8 deletions(-)
+
+diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+index 8b508c6..9eb1e51 100644
+--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
++++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+@@ -317,8 +317,6 @@ OGLTransitionImpl::displayUnbufferedSlide(
+         double SlideWidthScale, double SlideHeightScale )
+ {
+     CHECK_GL_ERROR();
+-    glPushMatrix();
+-    CHECK_GL_ERROR();
+     glBindTexture(GL_TEXTURE_2D, glSlideTex);
+     CHECK_GL_ERROR();
+     glBindVertexArray(0);
+@@ -336,8 +334,6 @@ OGLTransitionImpl::displayUnbufferedSlide(
+     CHECK_GL_ERROR();
+     glBindBuffer(GL_ARRAY_BUFFER, m_nVertexBufferObject);
+     CHECK_GL_ERROR();
+-    glPopMatrix();
+-    CHECK_GL_ERROR();
+ }
+ void OGLTransitionImpl::displayScene( double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight )
+@@ -360,15 +356,31 @@ void Primitive::display(GLint primitiveTransformLocation, double nTime, double W
+         CHECK_GL_ERROR();
+     }
+-    glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT);
++    GLuint nVertexArrayObject;
++    glGenVertexArrays(1, &nVertexArrayObject);
++    CHECK_GL_ERROR();
++    glBindVertexArray(nVertexArrayObject);
++    CHECK_GL_ERROR();
++
++    GLuint nBuffer;
++    glGenBuffers(1, &nBuffer);
+     CHECK_GL_ERROR();
+-    glEnableClientState( GL_VERTEX_ARRAY );
++    glBindBuffer(GL_ARRAY_BUFFER, nBuffer);
+     CHECK_GL_ERROR();
+-    glVertexPointer( 3, GL_FLOAT, sizeof(Vertex), &Vertices[0] );
++    glBufferData(GL_ARRAY_BUFFER, getVerticesSize(), Vertices.data(), GL_STATIC_DRAW);
++
++    glEnableVertexAttribArray(0);
++    CHECK_GL_ERROR();
++    glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, sizeof(Vertex), nullptr);
++
+     CHECK_GL_ERROR();
+     glDrawArrays( GL_TRIANGLES, 0, Vertices.size() );
+     CHECK_GL_ERROR();
+-    glPopClientAttrib();
++
++    glDeleteBuffers(1, &nBuffer);
++    CHECK_GL_ERROR();
++
++    glDeleteVertexArrays(1, &nVertexArrayObject);
+     CHECK_GL_ERROR();
+ }
+-- 
+2.9.3
+
+From fdc33220c54238850958001b536c8a54bf40f9c1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
+Date: Fri, 25 Nov 2016 14:11:13 +0000
+Subject: [PATCH] gtk3: implement opengl support for slideshow
+
+all of them work, except "Fall" doesn't look right, but it has
+the exact same problem under gtk2/gen to.
+
+Change-Id: I73cb9c0fb8211f727198be78d90d4f80a4f8c7c8
+---
+ include/vcl/opengl/OpenGLContext.hxx               |   2 +
+ .../OGLTrans/generic/OGLTrans_TransitionImpl.cxx   |  73 ++++++------
+ .../OGLTrans/generic/OGLTrans_TransitionImpl.hxx   |   9 +-
+ .../OGLTrans/generic/OGLTrans_TransitionerImpl.cxx |   7 +-
+ vcl/inc/unx/gtk/gtkinst.hxx                        |   1 +
+ vcl/source/opengl/OpenGLContext.cxx                |   5 +
+ vcl/unx/gtk3/gtk3gtkinst.cxx                       | 127 +++++++++++++++++++++
+ 7 files changed, 181 insertions(+), 43 deletions(-)
+
+diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
+index 7cd6954..2929006 100644
+--- a/include/vcl/opengl/OpenGLContext.hxx
++++ b/include/vcl/opengl/OpenGLContext.hxx
+@@ -129,6 +129,8 @@ public:
+     void registerAsCurrent();
+     /// reset the GL context so this context is not implicit in subsequent GL calls.
+     virtual void resetCurrent();
++    /// unbind the GL_FRAMEBUFFER to its default state, needed for gtk3
++    virtual void restoreDefaultFramebuffer();
+     virtual void swapBuffers();
+     virtual void sync();
+     void show();
+diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+index 94b2217..f253a07 100644
+--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
++++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+@@ -29,6 +29,7 @@
+ #include <glm/gtc/matrix_transform.hpp>
+ #include <glm/gtc/type_ptr.hpp>
+ #include <vcl/opengl/OpenGLHelper.hxx>
++#include <vcl/opengl/OpenGLContext.hxx>
+ #include <algorithm>
+ #include <array>
+@@ -132,7 +133,7 @@ static std::vector<int> uploadPrimitives(const Primitives_t& primitives)
+     return indices;
+ }
+-bool OGLTransitionImpl::prepare( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex )
++bool OGLTransitionImpl::prepare( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext )
+ {
+     m_nProgramObject = makeShader();
+     if (!m_nProgramObject)
+@@ -200,7 +201,7 @@ bool OGLTransitionImpl::prepare( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteri
+     glBindBuffer(GL_ARRAY_BUFFER, 0);
+     CHECK_GL_ERROR();
+-    prepareTransition( glLeavingSlideTex, glEnteringSlideTex );
++    prepareTransition( glLeavingSlideTex, glEnteringSlideTex, pContext );
+     return true;
+ }
+@@ -233,7 +234,7 @@ void OGLTransitionImpl::finish( double, double, double, double, double )
+ {
+ }
+-void OGLTransitionImpl::prepareTransition( sal_Int32, sal_Int32 )
++void OGLTransitionImpl::prepareTransition( sal_Int32, sal_Int32, OpenGLContext* )
+ {
+ }
+@@ -241,7 +242,7 @@ void OGLTransitionImpl::finishTransition()
+ {
+ }
+-void OGLTransitionImpl::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale )
++void OGLTransitionImpl::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext * )
+ {
+     CHECK_GL_ERROR();
+     applyOverallOperations( nTime, SlideWidthScale, SlideHeightScale );
+@@ -257,7 +258,7 @@ void OGLTransitionImpl::displaySlides_( double nTime, sal_Int32 glLeavingSlideTe
+ }
+ void OGLTransitionImpl::display( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex,
+-                                 double SlideWidth, double SlideHeight, double DispWidth, double DispHeight )
++                                 double SlideWidth, double SlideHeight, double DispWidth, double DispHeight, OpenGLContext *pContext )
+ {
+     const double SlideWidthScale = SlideWidth/DispWidth;
+     const double SlideHeightScale = SlideHeight/DispHeight;
+@@ -267,7 +268,7 @@ void OGLTransitionImpl::display( double nTime, sal_Int32 glLeavingSlideTex, sal_
+     prepare( nTime, SlideWidth, SlideHeight, DispWidth, DispHeight );
+     CHECK_GL_ERROR();
+-    displaySlides_( nTime, glLeavingSlideTex, glEnteringSlideTex, SlideWidthScale, SlideHeightScale );
++    displaySlides_( nTime, glLeavingSlideTex, glEnteringSlideTex, SlideWidthScale, SlideHeightScale, pContext );
+     CHECK_GL_ERROR();
+     displayScene( nTime, SlideWidth, SlideHeight, DispWidth, DispHeight );
+     CHECK_GL_ERROR();
+@@ -536,9 +537,9 @@ public:
+ private:
+     virtual GLuint makeShader() const override;
+-    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale ) override;
++    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext ) override;
+-    virtual void prepareTransition( sal_Int32, sal_Int32 ) override {
++    virtual void prepareTransition( sal_Int32, sal_Int32, OpenGLContext* ) override {
+         glDisable(GL_CULL_FACE);
+     }
+@@ -553,7 +554,7 @@ GLuint ReflectionTransition::makeShader() const
+ }
+ void ReflectionTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex,
+-                                              double SlideWidthScale, double SlideHeightScale )
++                                              double SlideWidthScale, double SlideHeightScale, OpenGLContext * )
+ {
+     CHECK_GL_ERROR();
+     applyOverallOperations( nTime, SlideWidthScale, SlideHeightScale );
+@@ -601,7 +602,7 @@ public:
+ private:
+     virtual GLuint makeShader() const override;
+-    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale ) override;
++    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext ) override;
+ };
+ GLuint SimpleTransition::makeShader() const
+@@ -610,7 +611,7 @@ GLuint SimpleTransition::makeShader() const
+ }
+ void SimpleTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex,
+-                                              double SlideWidthScale, double SlideHeightScale )
++                                       double SlideWidthScale, double SlideHeightScale, OpenGLContext * )
+ {
+     CHECK_GL_ERROR();
+     applyOverallOperations( nTime, SlideWidthScale, SlideHeightScale );
+@@ -860,10 +861,10 @@ public:
+     {}
+ private:
+-    virtual void displaySlides_(double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale) override;
++    virtual void displaySlides_(double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext) override;
+ };
+-void RochadeTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale )
++void RochadeTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext * )
+ {
+     applyOverallOperations( nTime, SlideWidthScale, SlideHeightScale );
+@@ -1198,13 +1199,13 @@ public:
+         {}
+ private:
+-    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale ) override;
++    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext ) override;
+     Primitives_t makeLeavingSlide(double nTime) const;
+ };
+ void DiamondTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex,
+-                                              double SlideWidthScale, double SlideHeightScale )
++                                        double SlideWidthScale, double SlideHeightScale, OpenGLContext * )
+ {
+     CHECK_GL_ERROR();
+     applyOverallOperations( nTime, SlideWidthScale, SlideHeightScale );
+@@ -1416,7 +1417,7 @@ protected:
+     {}
+     virtual void finishTransition() override;
+-    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex ) override;
++    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext ) override;
+ private:
+     /** various data */
+@@ -1493,7 +1494,7 @@ void initPermTexture(GLuint *texID)
+     CHECK_GL_ERROR();
+ }
+-void PermTextureTransition::prepareTransition( sal_Int32, sal_Int32 )
++void PermTextureTransition::prepareTransition( sal_Int32, sal_Int32, OpenGLContext* )
+ {
+     CHECK_GL_ERROR();
+     GLint location = glGetUniformLocation( m_nProgramObject, "permTexture" );
+@@ -1634,8 +1635,8 @@ public:
+ private:
+     virtual void finishTransition() override;
+     virtual GLuint makeShader() const override;
+-    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex ) override;
+-    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale ) override;
++    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext ) override;
++    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext ) override;
+     GLint mnSlideLocation = -1;
+     GLint mnTileInfoLocation = -1;
+@@ -1684,10 +1685,10 @@ glm::mat4 lookAt(const glm::vec3& eye, const glm::vec3& center, const glm::vec3&
+                      -glm::dot(s, eye), -glm::dot(u, eye), glm::dot(f, eye), 1);
+ }
+-void VortexTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex )
++void VortexTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext )
+ {
+     CHECK_GL_ERROR();
+-    PermTextureTransition::prepareTransition( glLeavingSlideTex, glEnteringSlideTex );
++    PermTextureTransition::prepareTransition( glLeavingSlideTex, glEnteringSlideTex, pContext );
+     CHECK_GL_ERROR();
+     mnSlideLocation = glGetUniformLocation(m_nProgramObject, "slide");
+@@ -1788,7 +1789,7 @@ void VortexTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32
+         }
+     }
+-    glBindFramebuffer(GL_FRAMEBUFFER, 0);
++    pContext->restoreDefaultFramebuffer();
+     glBindTexture(GL_TEXTURE_2D, 0);
+     glActiveTexture( GL_TEXTURE2 );
+@@ -1798,7 +1799,7 @@ void VortexTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32
+     glActiveTexture( GL_TEXTURE0 );
+ }
+-void VortexTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale )
++void VortexTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext * pContext )
+ {
+     CHECK_GL_ERROR();
+     applyOverallOperations( nTime, SlideWidthScale, SlideHeightScale );
+@@ -1820,7 +1821,7 @@ void VortexTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex
+     displaySlide( nTime, glEnteringSlideTex, getScene().getEnteringSlide(), SlideWidthScale, SlideHeightScale );
+     glViewport(viewport[0], viewport[1], viewport[2], viewport[3]);
+-    glBindFramebuffer(GL_FRAMEBUFFER, 0);
++    pContext->restoreDefaultFramebuffer();
+     glUniform1f( mnShadowLocation, 0.0 );
+     glUniform1f( mnSlideLocation, 0.0 );
+     displaySlide( nTime, glLeavingSlideTex, getScene().getLeavingSlide(), SlideWidthScale, SlideHeightScale );
+@@ -1882,7 +1883,7 @@ public:
+ private:
+     virtual GLuint makeShader() const override;
+-    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex ) override;
++    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext ) override;
+     virtual void prepare( double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight ) override;
+     glm::vec2 maCenter;
+@@ -1894,7 +1895,7 @@ GLuint RippleTransition::makeShader() const
+     return OpenGLHelper::LoadShaders( "basicVertexShader", "rippleFragmentShader" );
+ }
+-void RippleTransition::prepareTransition( sal_Int32, sal_Int32 )
++void RippleTransition::prepareTransition( sal_Int32, sal_Int32, OpenGLContext* )
+ {
+     GLint nCenterLocation = glGetUniformLocation(m_nProgramObject, "center");
+     CHECK_GL_ERROR();
+@@ -1979,7 +1980,7 @@ public:
+ private:
+     virtual GLuint makeShader() const override;
+-    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex ) override;
++    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext ) override;
+     virtual void finish( double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight ) override;
+     GLuint maBuffer = 0;
+@@ -1995,10 +1996,10 @@ struct ThreeFloats
+     GLfloat x, y, z;
+ };
+-void GlitterTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex )
++void GlitterTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext )
+ {
+     CHECK_GL_ERROR();
+-    PermTextureTransition::prepareTransition( glLeavingSlideTex, glEnteringSlideTex );
++    PermTextureTransition::prepareTransition( glLeavingSlideTex, glEnteringSlideTex, pContext );
+     CHECK_GL_ERROR();
+     GLint nNumTilesLocation = glGetUniformLocation(m_nProgramObject, "numTiles");
+@@ -2083,8 +2084,8 @@ public:
+ private:
+     virtual void finishTransition() override;
+     virtual GLuint makeShader() const override;
+-    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex ) override;
+-    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale ) override;
++    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext ) override;
++    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext ) override;
+     GLint maHexagonSizeLocation = -1;
+     GLint maSelectedTextureLocation = -1;
+@@ -2117,10 +2118,10 @@ GLuint HoneycombTransition::makeShader() const
+     return OpenGLHelper::LoadShaders( "honeycombVertexShader", "honeycombFragmentShader", "honeycombGeometryShader" );
+ }
+-void HoneycombTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex )
++void HoneycombTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext )
+ {
+     CHECK_GL_ERROR();
+-    PermTextureTransition::prepareTransition( glLeavingSlideTex, glEnteringSlideTex );
++    PermTextureTransition::prepareTransition( glLeavingSlideTex, glEnteringSlideTex, pContext );
+     CHECK_GL_ERROR();
+     maHexagonSizeLocation = glGetUniformLocation(m_nProgramObject, "hexagonSize");
+@@ -2194,11 +2195,11 @@ void HoneycombTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_In
+         return;
+     }
+-    glBindFramebuffer(GL_FRAMEBUFFER, 0);
++    pContext->restoreDefaultFramebuffer();
+ }
+ void HoneycombTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex,
+-                                              double SlideWidthScale, double SlideHeightScale )
++                                          double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext )
+ {
+     CHECK_GL_ERROR();
+     applyOverallOperations(nTime, SlideWidthScale, SlideHeightScale);
+@@ -2222,7 +2223,7 @@ void HoneycombTransition::displaySlides_( double nTime, sal_Int32 glLeavingSlide
+     // The back (entering) slide needs to be drawn before the front (leaving) one in order for blending to work.
+     glViewport(viewport[0], viewport[1], viewport[2], viewport[3]);
+-    glBindFramebuffer(GL_FRAMEBUFFER, 0);
++    pContext->restoreDefaultFramebuffer();
+     glUniform1f(mnShadowLocation, 0.0);
+     glUniform1f(maSelectedTextureLocation, 0.0);
+     glUniform1f(maHexagonSizeLocation, 1.0f - borderSize);
+diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
+index fe6a1c5..81288db 100644
+--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
++++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.hxx
+@@ -35,6 +35,7 @@
+ #include <vector>
+ class Primitive;
++class OpenGLContext;
+ class Operation;
+ class SceneObject;
+ class TransitionData;
+@@ -139,10 +140,10 @@ public:
+     /** Prepare transition.
+       */
+-    bool prepare( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex );
++    bool prepare( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext );
+     /** Display a step of the transition.
+       */
+-    void display( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight );
++    void display( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight, OpenGLContext *pContext );
+     /** Clean up after transition.
+       */
+     void finish();
+@@ -185,7 +186,7 @@ private:
+       *
+       * Default implementation does nothing.
+       */
+-    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex );
++    virtual void prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, OpenGLContext *pContext );
+     /** This function is called when the transition needs to clear after itself, like delete own textures etc.
+       *
+@@ -198,7 +199,7 @@ private:
+       * Default implementation applies overall operations and then
+       * displays both slides.
+       */
+-    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale );
++    virtual void displaySlides_( double nTime, sal_Int32 glLeavingSlideTex, sal_Int32 glEnteringSlideTex, double SlideWidthScale, double SlideHeightScale, OpenGLContext *pContext );
+     /** This function is called in prepare method to create the GL program.
+       *
+diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+index 266228c..67de19b 100644
+--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
++++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx
+@@ -408,7 +408,7 @@ void OGLTransitionerImpl::impl_prepareSlides()
+ bool OGLTransitionerImpl::impl_prepareTransition()
+ {
+     if( mpTransition && mpTransition->getSettings().mnRequiredGLVersion <= mnGLVersion )
+-        return mpTransition->prepare( maLeavingSlideGL, maEnteringSlideGL );
++        return mpTransition->prepare( maLeavingSlideGL, maEnteringSlideGL, mpContext.get() );
+     return false;
+ }
+@@ -1053,10 +1053,11 @@ void SAL_CALL OGLTransitionerImpl::update( double nTime ) throw (uno::RuntimeExc
+     CHECK_GL_ERROR();
+     const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
+-    mpTransition->display( nTime, maLeavingSlideGL, maEnteringSlideGL,
++    mpTransition->display(nTime, maLeavingSlideGL, maEnteringSlideGL,
+                           maSlideSize.Width, maSlideSize.Height,
+                           static_cast<double>(rGLWindow.Width),
+-                          static_cast<double>(rGLWindow.Height) );
++                          static_cast<double>(rGLWindow.Height),
++                          mpContext.get());
+     mpContext->swapBuffers();
+diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx
+index 941fa4a..6e114d1 100644
+--- a/vcl/inc/unx/gtk/gtkinst.hxx
++++ b/vcl/inc/unx/gtk/gtkinst.hxx
+@@ -236,6 +236,7 @@ public:
+     virtual css::uno::Reference< css::uno::XInterface > CreateClipboard( const css::uno::Sequence< css::uno::Any >& i_rArguments ) override;
+     virtual css::uno::Reference< css::uno::XInterface > CreateDragSource() override;
+     virtual css::uno::Reference< css::uno::XInterface > CreateDropTarget() override;
++    virtual OpenGLContext* CreateOpenGLContext() override;
+ #endif
+     virtual const cairo_font_options_t* GetCairoFontOptions() override;
+diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
+index 2412191..0e2a48d 100644
+--- a/vcl/source/opengl/OpenGLContext.cxx
++++ b/vcl/source/opengl/OpenGLContext.cxx
+@@ -313,6 +313,11 @@ void OpenGLContext::InitGLDebugging()
+ #endif
+ }
++void OpenGLContext::restoreDefaultFramebuffer()
++{
++    glBindFramebuffer(GL_FRAMEBUFFER, 0);
++}
++
+ void OpenGLContext::setWinPosAndSize(const Point &rPos, const Size& rSize)
+ {
+     if(m_xWindow)
+diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
+index 7202b468..7bb8adb 100644
+--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
++++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
+@@ -916,4 +916,131 @@ Reference< XInterface > GtkInstance::CreateDragSource()
+     return Reference< XInterface >( static_cast<cppu::OWeakObject *>(new GtkDragSource()) );
+ }
++class GtkOpenGLContext : public OpenGLContext
++{
++    GLWindow m_aGLWin;
++    GtkWidget *m_pGLArea;
++
++public:
++    GtkOpenGLContext()
++        : OpenGLContext()
++        , m_pGLArea(nullptr)
++    {
++    }
++
++    virtual bool initWindow() override
++    {
++        if( !m_pChildWindow )
++        {
++            SystemWindowData winData = generateWinData(mpWindow, mbRequestLegacyContext);
++            m_pChildWindow = VclPtr<SystemChildWindow>::Create(mpWindow, 0, &winData, false);
++        }
++
++        if (m_pChildWindow)
++        {
++            InitChildWindow(m_pChildWindow.get());
++        }
++
++        return true;
++    }
++
++private:
++    virtual const GLWindow& getOpenGLWindow() const override { return m_aGLWin; }
++    virtual GLWindow& getModifiableOpenGLWindow() override { return m_aGLWin; }
++
++    static void signalDestroy(GtkWidget*, gpointer context)
++    {
++        GtkOpenGLContext* pThis = static_cast<GtkOpenGLContext*>(context);
++        pThis->m_pGLArea = nullptr;
++    }
++
++    virtual bool ImplInit() override
++    {
++#if GTK_CHECK_VERSION(3,16,0)
++        const SystemEnvData* pEnvData = m_pChildWindow->GetSystemData();
++        GtkWidget *pParent = static_cast<GtkWidget*>(pEnvData->pWidget);
++        m_pGLArea = gtk_gl_area_new();
++        g_signal_connect(G_OBJECT(m_pGLArea), "destroy", G_CALLBACK(signalDestroy), this);
++        gtk_gl_area_set_has_depth_buffer(GTK_GL_AREA(m_pGLArea), true);
++        gtk_gl_area_set_auto_render(GTK_GL_AREA(m_pGLArea), false);
++        gtk_widget_set_hexpand(m_pGLArea, true);
++        gtk_widget_set_vexpand(m_pGLArea, true);
++        gtk_container_add(GTK_CONTAINER(pParent), m_pGLArea);
++        gtk_widget_show_all(pParent);
++        gtk_gl_area_make_current(GTK_GL_AREA(m_pGLArea));
++        gtk_gl_area_attach_buffers(GTK_GL_AREA(m_pGLArea));
++#endif
++        bool bRet = InitGLEW();
++        InitGLEWDebugging();
++        return bRet;
++    }
++
++    virtual void restoreDefaultFramebuffer() override
++    {
++        OpenGLContext::restoreDefaultFramebuffer();
++#if GTK_CHECK_VERSION(3,16,0)
++        gtk_gl_area_attach_buffers(GTK_GL_AREA(m_pGLArea));
++#endif
++    }
++
++    virtual void makeCurrent() override
++    {
++        if (isCurrent())
++            return;
++
++        clearCurrent();
++
++#if GTK_CHECK_VERSION(3,16,0)
++        if (m_pGLArea)
++            gtk_gl_area_make_current(GTK_GL_AREA(m_pGLArea));
++#endif
++
++        registerAsCurrent();
++    }
++
++    virtual void destroyCurrentContext() override
++    {
++#if GTK_CHECK_VERSION(3,16,0)
++        gdk_gl_context_clear_current();
++#endif
++    }
++
++    virtual bool isCurrent() override
++    {
++#if GTK_CHECK_VERSION(3,16,0)
++        return m_pGLArea && gdk_gl_context_get_current() == gtk_gl_area_get_context(GTK_GL_AREA(m_pGLArea));
++#else
++        return false;
++#endif
++    }
++
++    virtual void sync() override
++    {
++#if GTK_CHECK_VERSION(3,16,0)
++        gtk_gl_area_queue_render(GTK_GL_AREA(m_pGLArea));
++#endif
++    }
++
++    virtual void resetCurrent() override
++    {
++        clearCurrent();
++#if GTK_CHECK_VERSION(3,16,0)
++        gdk_gl_context_clear_current();
++#endif
++    }
++
++    virtual void swapBuffers() override
++    {
++#if GTK_CHECK_VERSION(3,16,0)
++        gtk_gl_area_queue_render(GTK_GL_AREA(m_pGLArea));
++#endif
++        BuffersSwapped();
++    }
++};
++
++OpenGLContext* GtkInstance::CreateOpenGLContext()
++{
++    return new GtkOpenGLContext;
++}
++
+ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+-- 
+2.9.3
+
diff --git a/debian/patches/help-msg-add-package-info.diff b/debian/patches/help-msg-add-package-info.diff
new file mode 100644 (file)
index 0000000..3684719
--- /dev/null
@@ -0,0 +1,13 @@
+Index: logit/sfx2/source/appl/sfxhelp.cxx
+===================================================================
+--- logit.orig/sfx2/source/appl/sfxhelp.cxx    2011-11-22 20:57:46.000000000 +0000
++++ logit/sfx2/source/appl/sfxhelp.cxx 2011-11-24 16:03:16.084114498 +0000
+@@ -104,7 +104,7 @@
+ NoHelpErrorBox::NoHelpErrorBox( Window* _pParent ) :
+-    ErrorBox( _pParent, WB_OK, String( SfxResId( RID_STR_HLPFILENOTEXIST ) ) )
++    ErrorBox( _pParent, WB_OK, String( SfxResId( RID_STR_HLPFILENOTEXIST ) ).Append(String(DEFINE_CONST_UNICODE(".\nPlease install the libreoffice-help-en-us package or the locale specific help package libreoffice-help-<language-code>."))) )
+ {
+     // Error message: "No help available"
+ }
diff --git a/debian/patches/hppa-is-32bit.diff b/debian/patches/hppa-is-32bit.diff
new file mode 100644 (file)
index 0000000..b3ceb17
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 42dc3b4..f5a51c9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -6671,7 +6671,7 @@ if test "$ENABLE_JAVA" != ""; then
+         JAVAINTERPRETER=`win_short_path_for_make "$JAVAINTERPRETER"`
+     elif test "$cross_compiling" != "yes"; then
+         case $CPUNAME in
+-            AARCH64|AXP|X86_64|HPPA|IA64|POWERPC64|S390X|SPARC64|GODSON64)
++            AARCH64|AXP|X86_64|IA64|POWERPC64|S390X|SPARC64|GODSON64)
+                 if test -f "$JAVAINTERPRETER" -a "`$JAVAINTERPRETER -version 2>&1 | $GREP -i 64-bit`" = "" >/dev/null; then
+                     AC_MSG_WARN([You are building 64-bit binaries but the JDK $JAVAINTERPRETER is 32-bit])
+                     AC_MSG_ERROR([You should pass the --with-jdk-home option pointing to a 64-bit JDK])
diff --git a/debian/patches/install-fixes.diff b/debian/patches/install-fixes.diff
new file mode 100644 (file)
index 0000000..9a25d69
--- /dev/null
@@ -0,0 +1,168 @@
+diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists
+index eaabf9c..c1b1ec6 100755
+--- libreoffice-3.5.0/bin/distro-install-file-lists
++++ libreoffice-3.5.0/bin/distro-install-file-lists
+@@ -8,6 +8,8 @@
+     exit 1
+ fi
++export OOO_VENDOR=Debian
++
+ BUILDDIR=`pwd`
+ FILELISTSDIR="$BUILDDIR/file-lists"
+@@ -366,154 +366,6 @@ if test "z$OOO_VENDOR" != "zDebian" ; then
+     remove_duplicity_from_flists common_list.txt lang_bg_list.txt $INSTALLDIR/presets/config/styles.sod
+     # the British fixes can be removed after the issue #54113 is fixed
+     remove_duplicity_from_flists common_list.txt lang_en-GB_list.txt $INSTALLDIR/presets/config/standard.sog
+-
+-else
+-
+-    echo "Creating package directories..."
+-
+-    test -d pkg && rm -r pkg || :
+-
+-    # Create package tree (needed by Debian's dpkg)
+-    # create_package_directory <list_file> <directory_name>
+-    create_package_directory()
+-    {
+-        listfile=$1
+-        directory="$2"
+-        perl -nl \
+-            -e " if(/^%dir (.*)/)
+-                    {system('mkdir', '-p', '-m', '755', \"$directory\".\$1);}
+-                else
+-                    {rename('./'.\$_, \"$directory\".\$_);}
+-                " \
+-            $listfile
+-    }
+-
+-    create_package_directory gid_Module_Root_Ure_Hidden        pkg/ure
+-
+-    create_package_directory gid_Module_Root                        pkg/libreoffice-common
+-    create_package_directory gid_Module_Root_Brand                  pkg/libreoffice-common
+-    create_package_directory gid_Module_Root_Files_Images           pkg/libreoffice-common
+-    create_package_directory gid_Module_Oo_Linguistic               pkg/libreoffice-common
+-    create_package_directory gid_Module_Optional_Xsltfiltersamples  pkg/libreoffice-common
+-    create_package_directory gid_Module_Filter                      pkg/libreoffice-common
+-    create_package_directory gid_Module_Optional_Grfflt             pkg/libreoffice-draw
+-    create_package_directory gid_Module_Prg_Calc_Bin                pkg/libreoffice-calc
+-    create_package_directory gid_Module_Prg_Math_Bin                pkg/libreoffice-math
+-    create_package_directory gid_Module_Prg_Draw_Bin                pkg/libreoffice-draw
+-    create_package_directory gid_Module_Prg_Wrt_Bin                 pkg/libreoffice-writer
+-    create_package_directory gid_Module_Prg_Impress_Bin             pkg/libreoffice-impress
+-    create_package_directory gid_Module_Prg_Base_Bin                pkg/libreoffice-base
+-    create_package_directory gid_Module_Brand_Prg_Calc              pkg/libreoffice-calc
+-    create_package_directory gid_Module_Brand_Prg_Math              pkg/libreoffice-math
+-    create_package_directory gid_Module_Brand_Prg_Draw              pkg/libreoffice-draw
+-    create_package_directory gid_Module_Brand_Prg_Wrt               pkg/libreoffice-writer
+-    create_package_directory gid_Module_Brand_Prg_Impress           pkg/libreoffice-impress
+-    create_package_directory gid_Module_Brand_Prg_Base              pkg/libreoffice-base
+-    create_package_directory gid_Module_Pyuno                       pkg/python-uno
+-    create_package_directory gid_Module_Optional_Gnome              pkg/libreoffice-gnome
+-    create_package_directory gid_Module_Optional_Tde                pkg/libreoffice-tde
+-
+-    create_package_directory gid_Module_Root_Files_2                pkg/libreoffice-common
+-    create_package_directory gid_Module_Root_Files_3                pkg/libreoffice-common
+-    create_package_directory gid_Module_Root_Files_4                pkg/libreoffice-common
+-    create_package_directory gid_Module_Root_Files_5                pkg/libreoffice-common
+-    create_package_directory gid_Module_Root_Files_6                pkg/libreoffice-common
+-    create_package_directory gid_Module_Root_Files_7                pkg/libreoffice-common
+-    if [ -e gid_Module_Optional_Pymailmerge ]; then
+-        create_package_directory gid_Module_Optional_Pymailmerge    pkg/libreoffice-emailmerge
+-    else # post m26
+-        mkdir -p pkg/libreoffice-emailmerge/$INSTALLDIR/program
+-        mv pkg/libreoffice-common/$INSTALLDIR/program/mailmerge.py \
+-            pkg/libreoffice-emailmerge/$INSTALLDIR/program/mailmerge.py
+-    fi
+-    create_package_directory gid_Module_Optional_OGLTrans           pkg/libreoffice-ogltrans
+-
+-    create_package_directory gid_Module_Root_SDK                    pkg/libreoffice-dev
+-
+-    for l in `echo $WITH_LANG_LIST`; do
+-        for p in Impress Draw Math Calc Base Writer; do
+-            create_package_directory  gid_Module_Langpack_${p}_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+-        done
+-        create_package_directory gid_Module_Langpack_Basis_`echo $l | sed -e s/-/_/g`     pkg/libreoffice-l10n-$l
+-        create_package_directory gid_Module_Langpack_Brand_`echo $l | sed -e s/-/_/g`     pkg/libreoffice-l10n-$l
+-        create_package_directory gid_Module_Langpack_Resource_`echo $l | sed -e s/-/_/g`  pkg/libreoffice-l10n-$l
+-        create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g`      pkg/libreoffice-help-$l
+-
+-        # some help files are in _Langpack_{Writer,Impress,...}_<lang>
+-        # move them from -l10n to -help
+-        if [ "$l" = "en-US" ]; then d=en; else d=$l; fi
+-        mv pkg/libreoffice-l10n-$l/$INSTALLDIR/help/$d/* \
+-            pkg/libreoffice-help-$l/$INSTALLDIR/help/$d && \
+-        rmdir pkg/libreoffice-l10n-$l/$INSTALLDIR/help/$d
+-    done
+-
+-    # move_wrappers <directory_name> <name> [...]
+-    move_wrappers()
+-    {
+-        directory=$1
+-        shift
+-        mkdir -m755 -p "$directory"/usr/bin
+-        while test -n "$1"; do
+-            mv usr/*bin/"$1$BINSUFFIX" "$directory"/usr/bin
+-            shift
+-        done
+-    }
+-    move_wrappers pkg/libreoffice-common soffice unopkg
+-    if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+-        move_wrappers pkg/libreoffice-common ooffice oofromtemplate
+-        move_wrappers pkg/libreoffice-base oobase
+-        move_wrappers pkg/libreoffice-writer oowriter ooweb
+-        move_wrappers pkg/libreoffice-calc oocalc
+-        move_wrappers pkg/libreoffice-impress ooimpress
+-        move_wrappers pkg/libreoffice-math oomath
+-        move_wrappers pkg/libreoffice-draw oodraw
+-    fi
+-    move_wrappers pkg/libreoffice-common libreoffice lofromtemplate
+-    move_wrappers pkg/libreoffice-base lobase
+-    move_wrappers pkg/libreoffice-writer lowriter loweb
+-    move_wrappers pkg/libreoffice-calc localc
+-    move_wrappers pkg/libreoffice-impress loimpress
+-    move_wrappers pkg/libreoffice-math lomath
+-    move_wrappers pkg/libreoffice-draw lodraw
+-
+-    # Move all libraries, binaries, *.rdb from -common to -core
+-    for d in $INSTALLDIR/program $INSTALLDIR/program; do \
+-      if [ ! -d $DESTDIR/pkg/libreoffice-core/$d ]; then \
+-      mkdir -p $DESTDIR/pkg/libreoffice-core/$d; \
+-      fi &&
+-      ( cd pkg/libreoffice-common/$d
+-        find -maxdepth 1 \
+-           -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|tdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|uri-encode\)' \
+-           -exec mv {} $DESTDIR/pkg/libreoffice-core/$d \;
+-      ); \
+-    done
+-
+-    # install additional ooo-build scripts & misc stuff
+-    mkdir -p pkg/libreoffice-common/usr/share/man/man1
+-    if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+-        mv usr/share/man/man1/openoffice$BINSUFFIX.1 \
+-            pkg/libreoffice-common/usr/share/man/man1
+-    fi
+-    mv usr/share/man/man1/libreoffice$BINSUFFIX.1 \
+-        pkg/libreoffice-common/usr/share/man/man1
+-    mkdir -p pkg/libreoffice-common/etc/bash_completion.d
+-    if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+-        mv etc/bash_completion.d/ooffice$BINSUFFIX.sh \
+-            pkg/libreoffice-common/etc/bash_completion.d
+-    fi
+-    mv etc/bash_completion.d/libreoffice$BINSUFFIX.sh \
+-        pkg/libreoffice-common/etc/bash_completion.d
+-    mv .$INSTALLDIR/program/java-set-classpath \
+-        pkg/libreoffice-common/$INSTALLDIR/program
+-    if echo $WITH_LANG_LIST | grep -q en-US; then
+-        for i in forms/resume.ott officorr/project-proposal.ott; do \
+-            mkdir -p pkg/libreoffice-common/$INSTALLDIR/share/template/en-US/`dirname $i`; \
+-            mv .$INSTALLDIR/share/template/en-US/$i \
+-                pkg/libreoffice-common/$INSTALLDIR/share/template/en-US/$i; \
+-        done; \
+-    fi
+-    # Warn for any remaining files
+-    find . -path './pkg' -prune -o -not -name 'gid_Module_*' -not -type d -exec echo "File not packaged: {}" \;
+ fi
+ # mark the config files
diff --git a/debian/patches/javadoc-optional.diff b/debian/patches/javadoc-optional.diff
new file mode 100644 (file)
index 0000000..6bdc495
--- /dev/null
@@ -0,0 +1,173 @@
+Gemeinsame Unterverzeichnisse: odk-old/config und odk/config.
+Gemeinsame Unterverzeichnisse: odk-old/docs und odk/docs.
+Gemeinsame Unterverzeichnisse: odk-old/examples und odk/examples.
+diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk
+index 32bdfc1..a174932 100644
+--- a/odk/Module_odk.mk
++++ b/odk/Module_odk.mk
+@@ -43,11 +43,13 @@ ifneq ($(ENABLE_JAVA),)
+ $(eval $(call gb_Module_add_targets,odk,\
+       $(if $(and $(BUILD_UNOWINREG),$(filter GCC,$(COM))),CustomTarget_unowinreg)\
+       CustomTarget_classes \
+-      CustomTarget_javadoc \
+-      GeneratedPackage_odk_javadoc \
+       GeneratedPackage_uno_loader_classes \
+       $(if $(filter WNT,$(OS)),Library_unowinreg) \
+       Package_unowinreg \
++      $(if $(JAVADOC),\
++              CustomTarget_javadoc \
++              GeneratedPackage_odk_javadoc \
++      ) \
+ ))
+ endif
+Gemeinsame Unterverzeichnisse: odk-old/pack und odk/pack.
+Gemeinsame Unterverzeichnisse: odk-old/qa und odk/qa.
+Gemeinsame Unterverzeichnisse: odk-old/settings und odk/settings.
+Gemeinsame Unterverzeichnisse: odk-old/source und odk/source.
+Gemeinsame Unterverzeichnisse: odk-old/util und odk/util.
+--- a/configure.ac-old 2013-05-27 18:32:42.187305241 +0200
++++ b/configure.ac     2013-05-27 18:44:29.131286710 +0200
+@@ -2057,6 +2057,18 @@ AC_ARG_WITH(doxygen,
+          documentation. Not relevant in the --disable-odk case.]),
+ ,with_doxygen=yes)
++AC_ARG_WITH(
++    [javadoc],
++    AS_HELP_STRING(
++        [--with-javadoc],
++        [Specifies the javadoc executable to use when generating ODK Java
++         documentation. --without-javadoc disables generation of ODK Java
++         documentation. Not relevant in the --disable-odk case.])
++    [
++                          Usage:     --with-javadoc=<absolute path to doxygen executable>
++    ],,
++    [with_javadoc=yes])
++
+ AC_ARG_WITH(visual-studio,
+     AS_HELP_STRING([--with-visual-studio=<2013/2015>],
+         [Specify which Visual Studio version to use in case several are
+@@ -6290,34 +6302,44 @@
+ dnl ===================================================================
+ dnl Checks for javadoc
+ dnl ===================================================================
+-if test "$ENABLE_JAVA" != ""; then
++if test "$ENABLE_JAVA" != "" -a "$enable_odk" != no; then
+     if test -z "$with_jdk_home"; then
+         AC_PATH_PROG(JAVADOC, javadoc)
+     else
+-        _javadoc_path="$with_jdk_home/bin/javadoc"
+-        dnl Check if there is a javadoc at all.
+-        if test -x "$_javadoc_path"; then
+-            JAVADOC=$_javadoc_path
+-        else
+-            AC_PATH_PROG(JAVADOC, javadoc)
+-        fi
+-    fi
+-    if test -z "$JAVADOC"; then
+-        AC_MSG_ERROR([$_javadoc_path not found set with_jdk_home])
+-    fi
+-    if test "$build_os" = "cygwin"; then
+-        if test x`echo "$JAVADOC" | $GREP -i '\.exe$'` = x; then
+-            JAVADOC="${JAVADOC}.exe"
+-        fi
+-        JAVADOC=`win_short_path_for_make "$JAVADOC"`
+-    fi
++        if test "$with_javadoc" = "yes"; then
++            _javadoc_path="$with_jdk_home/bin/javadoc"
++            dnl Check if there is a javadoc at all.
++            if test -x "$_javadoc_path"; then
++                JAVADOC=$_javadoc_path
++            else
++                AC_PATH_PROG(JAVADOC, javadoc)
++            fi
++            if test -z "$JAVADOC"; then
++                AC_MSG_ERROR([$_javadoc_path not found set with_jdk_home])
++            fi
++            if test "$build_os" = "cygwin"; then
++                if test x`echo "$JAVADOC" | $GREP -i '\.exe$'` = x; then
++                    JAVADOC="${JAVADOC}.exe"
++                fi
++                JAVADOC=`win_short_path_for_make "$JAVADOC"`
++            fi
+-    if test `$JAVADOC --version 2>&1 | $GREP -c "gjdoc"` -gt 0; then
+-    JAVADOCISGJDOC="yes"
++            if test `$JAVADOC --version 2>&1 | $GREP -c "gjdoc"` -gt 0; then
++            JAVADOCISGJDOC="yes"
++            fi
++        else
++          unset JAVADOC
++      fi
+     fi
++else
++    unset JAVADOC
+ fi
+ AC_SUBST(JAVADOCISGJDOC)
++if test "$JAVADOCISGJDOC" = "yes"; then
++      unset JAVADOC
++fi
++
+ if test "$ENABLE_JAVA" != ""; then
+     # check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr
+     if test "$JAVA_HOME" = "/usr" -a "x$with_jdk_home" = "x"; then
+--- a/scp2/source/sdkoo/sdkoo.scp-old  2013-05-27 21:26:53.967031270 +0200
++++ b/scp2/source/sdkoo/sdkoo.scp      2013-05-27 21:27:01.895031062 +0200
+@@ -177,6 +177,7 @@
+ End
+ #if defined(ENABLE_JAVA)
++#if defined(JAVADOC)
+ File gid_File_Package_odk_javadoc
+     TXT_FILE_BODY;
+     Dir = FILELIST_SDK_DIR;
+@@ -184,6 +185,7 @@
+     Styles = (FILELIST,USE_INTERNAL_RIGHTS);
+ End
+ #endif
++#endif
+ File gid_File_Package_odk_lib
+     TXT_FILE_BODY;
+--- a/scp2/InstallModule_sdkoo.mk-old  2013-09-23 22:46:56.034054736 +0200
++++ b/scp2/InstallModule_sdkoo.mk      2013-09-23 22:46:47.914054950 +0200
+@@ -15,6 +15,12 @@
+ ))
+ endif
++ifneq ($(JAVADOC),)
++$(eval $(call gb_InstallModule_add_defs,scp2/sdkoo,\
++      -DJAVADOC \
++))
++endif
++
+ $(eval $(call gb_InstallModule_add_scpfiles,scp2/sdkoo,\
+     scp2/source/sdkoo/sdkoo \
+ ))
+diff --git a/odk/CustomTarget_check.mk b/odk/CustomTarget_check.mk
+index a9b542d..707829a 100644
+--- a/odk/CustomTarget_check.mk
++++ b/odk/CustomTarget_check.mk
+@@ -35,7 +35,7 @@ $(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \
+               $(if $(filter WNT,$(OS)),$(call gb_Package_get_target,odk_config_win)) \
+               $(call gb_Package_get_target,odk_docs) \
+               $(call gb_Package_get_target,odk_html) \
+-              $(if $(ENABLE_JAVA),$(call gb_GeneratedPackage_get_target,odk_javadoc)) \
++              $(if $(JAVADOC),$(call gb_GeneratedPackage_get_target,odk_javadoc)) \
+               $(call gb_Package_get_target,odk_lib) \
+               $(call gb_Package_get_target,odk_settings) \
+               $(call gb_Package_get_target,odk_settings_generated) \
+diff --git a/odk/util/check.pl b/odk/util/check.pl
+index 899b42c..2c7a780 100644
+--- a/odk/util/check.pl
++++ b/odk/util/check.pl
+@@ -188,7 +188,7 @@ if (-d "$SdkDir") {
+     # improvement required
+     my $solar_java = $ENV{"ENABLE_JAVA"};
+     my $JDK = $ENV{"JDK"};
+-    if (defined($solar_java) && $solar_java ne "" && (!defined($JDK) || $JDK ne "gcj")) {
++    if (defined($solar_java) && $solar_java ne "" && $ENV{"JAVADOC"} ne "") {
+     print "check java docu: ";
+     if (check_dir("docs/java/ref")) {
+         if (!check_file("docs/java/ref/index.html")) {
diff --git a/debian/patches/jdbc-driver-classpaths.diff b/debian/patches/jdbc-driver-classpaths.diff
new file mode 100644 (file)
index 0000000..1887772
--- /dev/null
@@ -0,0 +1,30 @@
+diff --git a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+index 9be30a2..59c87cb 100644
+--- a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
++++ b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+@@ -147,6 +147,25 @@
+       </node>
+     </node>
+   </node>
++  <node oor:name="JDBC">
++    <node oor:name="DriverClassPaths">
++      <node oor:name="com.mysql.jdbc.Driver" oor:op="replace">
++        <prop oor:name="Path">
++          <value>file:///usr/share/java/mysql.jar</value>
++        </prop>
++      </node>
++      <node oor:name="org.postgresql.Driver" oor:op="replace">
++        <prop oor:name="Path">
++          <value>file:///usr/share/java/posgresql.jar</value>
++        </prop>
++      </node>
++      <node oor:name="net.sourceforge.jtds.jdbc.Driver" oor:op="replace">
++        <prop oor:name="Path">
++          <value>file:///usr/share/java/jtds.jar</value>
++        </prop>
++      </node>
++    </node>
++  </node>
+   <node oor:name="RegisteredNames">
+     <node oor:name="EvolutionLocal" oor:op="replace" install:module="evoab2">
+       <prop oor:name="Location" oor:type="xs:string">
diff --git a/debian/patches/jurt-soffice-location.diff b/debian/patches/jurt-soffice-location.diff
new file mode 100644 (file)
index 0000000..b10cb78
--- /dev/null
@@ -0,0 +1,20 @@
+commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408
+Author:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+AuthorDate: Tue Jun 7 11:52:37 2011 +0200
+Commit:     Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+CommitDate: Tue Jun 7 11:52:37 2011 +0200
+
+    on debian-based systems, we know where our soffice binary is
+
+diff --git a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java b/jurt/com/sun/star/lib/util/NativeLibraryLoader.jav
+index da22980..36664ca 100644
+--- libreoffice-3.5.0/jurt/com/sun/star/lib/util/NativeLibraryLoader.java
++++ libreoffice-3.5.0/jurt/com/sun/star/lib/util/NativeLibraryLoader.java
+@@ -111,6 +111,8 @@ public final class NativeLibraryLoader {
+                 }
+             }
+         }
++        if (name.equals("soffice"))
++            return new File("/usr/lib/libreoffice/program/soffice");
+         return null;
+     }
diff --git a/debian/patches/layout-footnote-use-after-free.diff b/debian/patches/layout-footnote-use-after-free.diff
new file mode 100644 (file)
index 0000000..92c4425
--- /dev/null
@@ -0,0 +1,100 @@
+From c7782c7c27d85866872cc24a618df02504ff12ca Mon Sep 17 00:00:00 2001
+From: Michael Stahl <mstahl@redhat.com>
+Date: Thu, 22 Jun 2017 10:39:36 +0200
+Subject: tdf#101821 sw: fix layout footnote use-after-free in SwRootFrame
+
+The ClearSwLayouterEntries() accesses anchored objects and if they are
+anchored in footnotes then RemoveFootnotes() has already deleted them.
+
+(regression from 962d0500c4debaef43e5f146e47e08c66d851562)
+
+Invalid write of size 1
+   at 0x4143CCB3: SwAnchoredObject::SetTmpConsiderWrapInfluence(bool) (anchoredobject.cxx:739)
+   by 0x414D8A21: SwObjsMarkedAsTmpConsiderWrapInfluence::Clear() (objstmpconsiderwrapinfl.cxx:58)
+   by 0x414C943E: SwLayouter::ClearObjsTmpConsiderWrapInfluence(SwDoc const&) (layouter.cxx:401)
+   by 0x411DBE57: sw::DocumentLayoutManager::ClearSwLayouterEntries() (DocumentLayoutManager.cxx:504)
+   by 0x414D05D9: SwRootFrame::DestroyImpl() (newfrm.cxx:594)
+   by 0x41535AB3: SwFrame::DestroyFrame(SwFrame*) (ssfrm.cxx:389)
+   by 0x419E8171: std::_Sp_counted_deleter<SwRootFrame*, void (*)(SwFrame*), std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (shared_ptr_base.h:464)
+   by 0x40EB6DB5: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:150)
+   by 0x40EB5E76: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (shared_ptr_base.h:662)
+   by 0x419E65F9: std::__shared_ptr<SwRootFrame, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (shared_ptr_base.h:928)
+   by 0x419E6615: std::shared_ptr<SwRootFrame>::~shared_ptr() (shared_ptr.h:93)
+   by 0x419E619D: SwViewShell::~SwViewShell() (vnew.cxx:285)
+  Address 0x5feb6eee is 334 bytes inside a block of size 488 free'd
+   at 0x4C2F21A: operator delete(void*) (vg_replace_malloc.c:576)
+   by 0x41488962: SwFlyAtContentFrame::~SwFlyAtContentFrame() (flyfrms.hxx:134)
+   by 0x41535AFC: SwFrame::DestroyFrame(SwFrame*) (ssfrm.cxx:391)
+   by 0x415360BD: SwLayoutFrame::DestroyImpl() (ssfrm.cxx:477)
+   by 0x41535AB3: SwFrame::DestroyFrame(SwFrame*) (ssfrm.cxx:389)
+   by 0x414A2FF4: sw_RemoveFootnotes(SwFootnoteBossFrame*, bool, bool) (ftnfrm.cxx:852)
+   by 0x414A3104: sw_RemoveFootnotes(SwFootnoteBossFrame*, bool, bool) (ftnfrm.cxx:874)
+   by 0x414A321A: SwRootFrame::RemoveFootnotes(SwPageFrame*, bool, bool) (ftnfrm.cxx:897)
+   by 0x414D0558: SwRootFrame::DestroyImpl() (newfrm.cxx:585)
+   by 0x41535AB3: SwFrame::DestroyFrame(SwFrame*) (ssfrm.cxx:389)
+   by 0x419E8171: std::_Sp_counted_deleter<SwRootFrame*, void (*)(SwFrame*), std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() (shared_ptr_base.h:464)
+   by 0x40EB6DB5: std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() (shared_ptr_base.h:150)
+   by 0x40EB5E76: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() (shared_ptr_base.h:662)
+   by 0x419E65F9: std::__shared_ptr<SwRootFrame, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr() (shared_ptr_base.h:928)
+   by 0x419E6615: std::shared_ptr<SwRootFrame>::~shared_ptr() (shared_ptr.h:93)
+   by 0x419E619D: SwViewShell::~SwViewShell() (vnew.cxx:285)
+
+Change-Id: I147f46d49c90de46189ad34feed66c289adddc15
+---
+ sw/source/core/layout/newfrm.cxx | 24 ++++++++++++++----------
+ 1 file changed, 14 insertions(+), 10 deletions(-)
+
+diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx
+index b5785c4..4de02e3 100644
+--- a/sw/source/core/layout/newfrm.cxx
++++ b/sw/source/core/layout/newfrm.cxx
+@@ -573,16 +573,6 @@ void SwRootFrame::DestroyImpl()
+ {
+     mbTurboAllowed = false;
+     mpTurbo = nullptr;
+-    // fdo#39510 crash on document close with footnotes
+-    // Object ownership in writer and esp. in layout are a mess: Before the
+-    // document/layout split SwDoc and SwRootFrame were essentially one object
+-    // and magically/uncleanly worked around their common destruction by call
+-    // to SwDoc::IsInDtor() -- even from the layout. As of now destruction of
+-    // the layout proceeds forward through the frames. Since SwTextFootnote::DelFrames
+-    // also searches backwards to find the master of footnotes, they must be
+-    // considered to be owned by the SwRootFrame and also be destroyed here,
+-    // before tearing down the (now footnote free) rest of the layout.
+-    RemoveFootnotes(nullptr, false, true);
+     if(pBlink)
+         pBlink->FrameDelete( this );
+@@ -591,8 +581,11 @@ void SwRootFrame::DestroyImpl()
+     {
+         SwDoc *pDoc = pRegisteredInNonConst->GetDoc();
+         pDoc->DelFrameFormat( pRegisteredInNonConst );
++        // do this before calling RemoveFootnotes() because footnotes
++        // can contain anchored objects
+         pDoc->GetDocumentLayoutManager().ClearSwLayouterEntries();
+     }
++
+     delete mpDestroy;
+     mpDestroy = nullptr;
+@@ -606,6 +599,17 @@ void SwRootFrame::DestroyImpl()
+     // Some accessible shells are left => problems on second SwFrame::Destroy call
+     assert(0 == mnAccessibleShells);
++    // fdo#39510 crash on document close with footnotes
++    // Object ownership in writer and esp. in layout are a mess: Before the
++    // document/layout split SwDoc and SwRootFrame were essentially one object
++    // and magically/uncleanly worked around their common destruction by call
++    // to SwDoc::IsInDtor() -- even from the layout. As of now destruction of
++    // the layout proceeds forward through the frames. Since SwTextFootnote::DelFrames
++    // also searches backwards to find the master of footnotes, they must be
++    // considered to be owned by the SwRootFrame and also be destroyed here,
++    // before tearing down the (now footnote free) rest of the layout.
++    RemoveFootnotes(nullptr, false, true);
++
+     SwLayoutFrame::DestroyImpl();
+ }
+-- 
+cgit v1.1
+
diff --git a/debian/patches/lo-xlate-lang-update.diff b/debian/patches/lo-xlate-lang-update.diff
new file mode 100644 (file)
index 0000000..ee988b9
--- /dev/null
@@ -0,0 +1,22 @@
+diff --git a/bin/lo-xlate-lang b/bin/lo-xlate-lang
+index c54f379..1580d64 100755
+--- a/bin/lo-xlate-lang
++++ b/bin/lo-xlate-lang
+@@ -119,7 +119,7 @@ __DATA__
+ :gu:gujarati
+ :hr:croatian
+ :km:khmer
+-:ku:kurdish
++:kmr-Latn:Kurmanji
+ :pa-IN:punjabi
+ :rw:kinarwanda
+ :xh:xhosa
+@@ -174,6 +174,8 @@ __DATA__
+ :si:sinhala
+ :id:indonesian
+ :my:burmese
++:am:amharic
++:gug:guarani
+ 01:en-US:english_american
+ 03:pt:portuguese
+ 07:ru:russian
diff --git a/debian/patches/m68k-java-arch.diff b/debian/patches/m68k-java-arch.diff
new file mode 100644 (file)
index 0000000..0efc886
--- /dev/null
@@ -0,0 +1,23 @@
+From f35d29c8388744be1f95ec4acfca12eec706911a Mon Sep 17 00:00:00 2001
+From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
+Date: Sun, 27 Nov 2016 19:22:59 +0100
+Subject: Fix typo in configure.ac (mk68 -> m68k)
+
+Change-Id: Ibbedf9444e2c43b3dff886d9513be7e3d2a99095
+
+diff --git a/configure.ac b/configure.ac
+index 731e903..4480ed0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -7121,7 +7121,7 @@ then
+             my_java_arch=i386
+             ;;
+         m68k)
+-            my_java_arch=mk68
++            my_java_arch=m68k
+             ;;
+         powerpc)
+             my_java_arch=ppc
+-- 
+cgit v0.10.2
+
diff --git a/debian/patches/make-package-modules-not-suck.diff b/debian/patches/make-package-modules-not-suck.diff
new file mode 100644 (file)
index 0000000..db3fa98
--- /dev/null
@@ -0,0 +1,202 @@
+diff --git a/scp2/InstallModule_draw.mk b/scp2/InstallModule_draw.mk
+index a7c02be..d48edf2 100644
+--- a/scp2/InstallModule_draw.mk
++++ b/scp2/InstallModule_draw.mk
+@@ -10,6 +10,7 @@
+ $(eval $(call gb_InstallModule_InstallModule,scp2/draw))
+ $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/draw,\
++      draw \
+       draw_brand \
+ ))
+diff --git a/scp2/source/draw/module_draw.scp b/scp2/source/draw/module_draw.scp
+index 8737579..0913c61 100644
+--- a/scp2/source/draw/module_draw.scp
++++ b/scp2/source/draw/module_draw.scp
+@@ -18,6 +18,7 @@
+ #include "macros.inc"
++#include "AutoInstall/draw"
+ #include "AutoInstall/draw_brand"
+ Module gid_Module_Prg_Draw
+@@ -34,7 +35,8 @@ Module gid_Module_Prg_Draw_Bin
+     Sortkey = "100";
+     Default = YES;
+     Styles = (HIDDEN_ROOT);
+-    Files = (gid_File_Extra_Urldesktop_Draw,gid_File_Extra_Urlnew_Draw,gid_File_Extra_Urlstart_Draw,gid_File_Extra_Urltasks_Draw,
++    Files = (auto_draw_ALL
++    gid_File_Extra_Urldesktop_Draw,gid_File_Extra_Urlnew_Draw,gid_File_Extra_Urlstart_Draw,gid_File_Extra_Urltasks_Draw,
+     gid_File_Share_Registry_Draw_Xcd,
+     gid_File_Tmp_Userinstall_Draw_Inf);
+ End
+diff --git a/scp2/AutoInstall.mk b/scp2/AutoInstall.mk
+index 7d2a347..a15ac52 100644
+--- a/scp2/AutoInstall.mk
++++ b/scp2/AutoInstall.mk
+@@ -18,6 +18,7 @@ $(eval $(call gb_AutoInstall_add_module,base_brand,,LIBO_EXECUTABLE))
+ $(eval $(call gb_AutoInstall_add_module,brand,,LIBO_EXECUTABLE))
+ $(eval $(call gb_AutoInstall_add_module,calc,LIBO_LIB_FILE))
+ $(eval $(call gb_AutoInstall_add_module,calc_brand,,LIBO_EXECUTABLE))
++$(eval $(call gb_AutoInstall_add_module,draw,LIBO_LIB_FILE))
+ $(eval $(call gb_AutoInstall_add_module,draw_brand,,LIBO_EXECUTABLE))
+ $(eval $(call gb_AutoInstall_add_module,extensions_ct2n,,,,))
+ $(eval $(call gb_AutoInstall_add_module,extensions_bsh,,,LIBO_JAR_FILE))
+diff --git a/Repository.mk b/Repository.mk
+index 14a1c07..eab8078 100644
+--- a/Repository.mk
++++ b/Repository.mk
+@@ -199,13 +199,28 @@ $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
+       abp \
++      calc \
++      $(call gb_Helper_optional,DBCONNECTIVITY, \
++              dba \
++              dbase \
++              dbaxml) \
+       dbp \
+       dbu \
++       $(if $(filter $(ENABLE_FIREBIRD_SDBC),TRUE),firebird_sdbc) \
++       $(call gb_Helper_optional,DBCONNECTIVITY,flat) \
++       $(if $(ENABLE_JAVA),jdbc) \
++      $(call gb_Helper_optional,DBCONNECTIVITY,mysql) \
++       odbc \
++))
++
++$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,base, \
++      $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
++       $(if $(ENABLE_JAVA),hsqldb) \
++       sdbc2 \
+ ))
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
+       analysis \
+-      $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
+       date \
+       pricing \
+       sc \
+@@ -217,6 +232,14 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
+       $(call gb_Helper_optional,SCRIPTING,vbaobj) \
+ ))
++$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,draw, \
++      animcore \
++      sd \
++      sdd \
++      sdfilt \
++      sdui \
++))
++
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
+       svgfilter \
+       flash \
+@@ -236,11 +259,11 @@ $(eval $(call gb_Helper_register_executables_for_install,OOO,tde, \
+ ))
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
+-      animcore \
+       placeware \
+       PresenterScreen \
+       PresentationMinimizer \
+       wpftimpress \
++       slideshow \
+ ))
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
+@@ -301,11 +324,8 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+       ctl \
+       cui \
+       $(call gb_Helper_optional,DBCONNECTIVITY, \
+-              dba \
+-              dbase \
+               dbmm \
+-              dbtools \
+-              dbaxml) \
++              dbtools) \
+       deploymentmisc \
+       $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
+       $(if $(USING_X11),desktop_detector) \
+@@ -318,10 +338,8 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+       evtatt \
+       expwrap \
+       $(call gb_Helper_optional,DBCONNECTIVITY, \
+-              flat \
+               file) \
+       filterconfig \
+-      $(if $(filter $(ENABLE_FIREBIRD_SDBC),TRUE),firebird_sdbc) \
+       fps_office \
+       for \
+       forui \
+@@ -340,7 +358,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+     gie \
+       hyphen \
+     icg \
+-      $(if $(ENABLE_JAVA),jdbc) \
+       ldapbe2 \
+       localebe1 \
+       log \
+@@ -353,8 +370,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+       msfilter \
+       $(call gb_Helper_optional,SCRIPTING,msforms) \
+       mtfrenderer \
+-      $(call gb_Helper_optional,DBCONNECTIVITY,mysql) \
+-      odbc \
+       odfflatxml \
+       offacc \
+       oox \
+@@ -368,13 +383,8 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+       sb \
+       $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
+       scn \
+-      sd \
+-      sdd \
+-      sdfilt \
+-      sdui \
+       sfx \
+       simplecanvas \
+-      slideshow \
+       sot \
+       spell \
+       $(if $(ENABLE_HEADLESS),,spl) \
+@@ -385,7 +395,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+       svt \
+       svx \
+       svxcore \
+-      sw \
+       syssh \
+       $(if $(ENABLE_TDEAB),tdeab1) \
+       $(if $(ENABLE_TDEAB),tdeabdrv1) \
+@@ -469,6 +478,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
+       hwp \
+       $(if $(ENABLE_LWP),lwpft) \
+       msword \
++      sw \
+       swd \
+       swui \
+       t602filter \
+@@ -546,14 +556,12 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
+       cached1 \
+       collator_data \
+       comphelper \
+-      $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
+       $(call gb_Helper_optional,BREAKPAD,crashreport) \
+       deployment \
+       deploymentgui \
+       dict_ja \
+       dict_zh \
+       embobj \
+-      $(if $(ENABLE_JAVA),hsqldb) \
+       i18nlangtag \
+       i18nutil \
+       index_data \
+@@ -570,7 +578,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
+       package2 \
+       $(if $(USING_X11),recentfile) \
+       $(call gb_Helper_optional,SCRIPTING,scriptframe) \
+-      sdbc2 \
+       sofficeapp \
+       srtrs1 \
+       $(if $(filter $(OS),WNT),sysdtrans) \
diff --git a/debian/patches/mediwiki-oor-replace.diff b/debian/patches/mediwiki-oor-replace.diff
new file mode 100644 (file)
index 0000000..9d3e75a
--- /dev/null
@@ -0,0 +1,67 @@
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
+index 2b35ced..0c96070 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
+@@ -18,9 +18,9 @@
+  -->
+ <oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry">
+     <node oor:name="Nodes">
+-        <node oor:name="Internet" oor:op="fuse">
++        <node oor:name="Internet" oor:op="replace">
+             <node oor:name="Leaves">
+-                <node oor:name="com.sun.star.wiki.options" oor:op="fuse">
++                <node oor:name="com.sun.star.wiki.options" oor:op="replace">
+                     <prop oor:name="Id">
+                         <value>com.sun.wiki-publisher</value>
+                     </prop>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu
+index 01763bf..fe18a9c 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/Paths.xcu
+@@ -18,9 +18,9 @@
+  -->
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Paths" oor:package="org.openoffice.Office">
+     <node oor:name="Paths">
+-        <node oor:name="Template" oor:op="fuse">
++        <node oor:name="Template" oor:op="replace">
+             <node oor:name="InternalPaths">
+-                <node oor:name="%origin%/templates" oor:op="fuse"/>
++                <node oor:name="%origin%/templates" oor:op="replace"/>
+             </node>
+         </node>
+     </node>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
+index a37369a..240be99 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
+@@ -19,7 +19,7 @@
+ <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Filter">
+     <node oor:name="Filters">
+-        <node oor:name="MediaWiki" oor:op="fuse">
++        <node oor:name="MediaWiki" oor:op="replace">
+             <prop oor:name="FileFormatVersion"><value>0</value></prop>
+                 <prop oor:name="Type"><value>MediaWiki</value></prop>
+             <prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop>
+@@ -31,7 +31,7 @@
+             </prop>
+             <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
+         </node>
+-        <node oor:name="MediaWiki_Web" oor:op="fuse">
++        <node oor:name="MediaWiki_Web" oor:op="replace">
+             <prop oor:name="FileFormatVersion"><value>0</value></prop>
+                 <prop oor:name="Type"><value>MediaWiki</value></prop>
+                 <prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
+index 8c864a3..6e31afc 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
+@@ -19,7 +19,7 @@
+ <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Types">
+     <node oor:name="Types">
+-        <node oor:name="MediaWiki" oor:op="fuse">
++        <node oor:name="MediaWiki" oor:op="replace">
+             <prop oor:name="DetectService"><value>com.sun.star.comp.filters.XMLFilterDetect</value></prop>
+             <prop oor:name="URLPattern"/>
+             <prop oor:name="Extensions"><value>txt</value></prop>
diff --git a/debian/patches/mention-java-common-package.diff b/debian/patches/mention-java-common-package.diff
new file mode 100644 (file)
index 0000000..0d3f1a4
--- /dev/null
@@ -0,0 +1,60 @@
+Index: logit/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+===================================================================
+--- logit.orig/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx        2011-11-22 20:57:46.000000000 +0000
++++ logit/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx     2011-11-24 14:35:39.204393946 +0000
+@@ -172,6 +172,9 @@
+     if (errcode == JFW_E_NO_JAVA_FOUND)
+     {
+         fprintf(stderr,"javaldx: Could not find a Java Runtime Environment! \n");
++        fprintf(stderr,"Please ensure that a JVM and the package libreoffice-java-common\n");
++        fprintf(stderr,"is installed.\n");
++        fprintf(stderr,"If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml\n");
+         return false;
+     }
+     else if (errcode != JFW_E_NONE && errcode != JFW_E_DIRECT_MODE)
+Index: logit/svtools/source/java/javainteractionhandler.cxx
+===================================================================
+--- logit.orig/svtools/source/java/javainteractionhandler.cxx  2011-11-22 20:57:46.000000000 +0000
++++ logit/svtools/source/java/javainteractionhandler.cxx       2011-11-24 14:42:13.836371593 +0000
+@@ -52,9 +52,10 @@
+ #include <svtools/javainteractionhandler.hxx>
+ #include <svtools/javacontext.hxx>
++#define DEFINE_CONST_UNICODE(CONSTASCII) UniString(RTL_CONSTASCII_USTRINGPARAM(CONSTASCII))
++
+ using namespace com::sun::star::uno;
+ using namespace com::sun::star::task;
+-
+ namespace svt
+ {
+@@ -158,6 +158,9 @@
+ #endif
+             String aTitle( SvtResId(STR_WARNING_INVALIDJAVASETTINGS));
+             aWarningBox.SetText( aTitle );
++            String aText = String(aWarningBox.GetMessText());
++            aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
++            aWarningBox.SetMessText( aText );
+             nResult = aWarningBox.Execute();
+         }
+         else
+@@ -173,6 +177,9 @@
+             QueryBox aQueryBox( NULL, SvtResId( QBX_JAVADISABLED ) );
+             String aTitle( SvtResId( STR_QUESTION_JAVADISABLED ) );
+             aQueryBox.SetText( aTitle );
++            String aText = String(aQueryBox.GetMessText());
++            aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
++            aQueryBox.SetMessText( aText );
+             nResult = aQueryBox.Execute();
+             if ( nResult == RET_YES )
+             {
+@@ -215,6 +222,9 @@
+             ErrorBox aErrorBox(NULL, SvtResId( ERRORBOX_RESTARTREQUIRED ) );
+             String aTitle( SvtResId( STR_ERROR_RESTARTREQUIRED ) );
+             aErrorBox.SetText( aTitle );
++            String aText = String(aErrorBox.GetMessText());
++            aText.Append(DEFINE_CONST_UNICODE("\nPlease install the libreoffice-java-common package for this functionality."));
++            aErrorBox.SetMessText( aText );
+             nResult = aErrorBox.Execute();
+         }
+         else
diff --git a/debian/patches/mysqlcppconn-libmysqlclient-SONAME.diff b/debian/patches/mysqlcppconn-libmysqlclient-SONAME.diff
new file mode 100644 (file)
index 0000000..038b780
--- /dev/null
@@ -0,0 +1,40 @@
+diff --git a/external/mysqlcppconn/Library_mysqlcppconn.mk b/external/mysqlcppconn/Library_mysqlcppconn.mk
+index 1670de8..c5bab4f 100644
+--- a/external/mysqlcppconn/Library_mysqlcppconn.mk
++++ b/external/mysqlcppconn/Library_mysqlcppconn.mk
+@@ -80,4 +80,8 @@ $(eval $(call gb_Library_add_generated_exception_objects,mysqlcppconn,\
+       UnpackedTarball/mysqlcppconn/driver/nativeapi/mysql_native_statement_wrapper \
+ ))
++$(eval $(call gb_Library_add_cflags,mysqlcppconn,\
++       -DLIBMYSQLCLIENT_SONAME=\"$(shell readlink -f `mysql_config --variable=pkglibdir`/libmysqlclient_r.so | sed -e s/mysqlclient/mysqlclient_r/ | sed -e "s,`mysql_config --variable=pkglibdir`/\(libmysqlclient_r.so.[0-9][0-9]\).*,\\1,")\" \
++))
++
+ # vim: set noet sw=4 ts=4:
+--- a/external/mysqlcppconn/patches/mysql-connector-c++-1.1.0-SONAME.patch     2013-02-08 21:20:25.249889678 +0100
++++ b/external/mysqlcppconn/patches/mysql-connector-c++-1.1.0-SONAME.patch     2013-02-26 22:48:27.030275718 +0100
+@@ -0,0 +1,12 @@
++diff -urNad mysql-connector-c++-1.0.6~r754~/driver/nativeapi/libmysql_dynamic_proxy.cpp mysql-connector-c++-1.0.6~r754/driver/nativeapi/libmysql_dynamic_proxy.cpp
++--- misc/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp        2009-08-20 16:42:14.000000000 +0200
+++++ misc/build/mysql-connector-c++-1.1.0/driver/nativeapi/libmysql_dynamic_proxy.cpp  2009-08-20 20:25:31.000000000 +0200
++@@ -26,7 +26,7 @@
++ #elif defined(__hpux) && defined(__hppa)
++ static const char * const baseName = "libmysqlclient_r.sl";
++ #else
++-static const char * const baseName = "libmysqlclient_r.so";
+++static const char * const baseName = LIBMYSQLCLIENT_SONAME;
++ #endif
++ 
++ template<typename FunctionType>
+diff --git a/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk b/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk
+index 3f86236..f75b60a 100644
+--- a/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk
++++ b/external/mysqlcppconn/UnpackedTarball_mysqlcppconn.mk
+@@ -18,6 +18,7 @@ $(eval $(call gb_UnpackedTarball_add_file,mysqlcppconn,driver/nativeapi/binding_
+ $(eval $(call gb_UnpackedTarball_add_patches,mysqlcppconn,\
+       external/mysqlcppconn/patches/mysql-connector-c++-1.1.0.patch \
++      external/mysqlcppconn/patches/mysql-connector-c++-1.1.0-SONAME.patch \
+       external/mysqlcppconn/patches/warnings.patch.0 \
+         external/mysqlcppconn/patches/enable-libmysql-proxy.patch \
+ ))
diff --git a/debian/patches/no-openssl.diff b/debian/patches/no-openssl.diff
new file mode 100644 (file)
index 0000000..95290e9
--- /dev/null
@@ -0,0 +1,333 @@
+don't add -lssl etc if not needed (because we use system-postgresql)
+
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index 0fc7d25..952b140 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -2911,9 +2917,10 @@ $(call gb_LinkTarget_add_libs,$(1),\
+       $(call gb_UnpackedTarball_get_dir,postgresql)/src/interfaces/libpq/libpq$(gb_StaticLibrary_PLAINEXT) \
+ )
+-ifeq ($(OS)$(COM),WNTMSC)
+ $(call gb_LinkTarget_use_external,$(1),openssl)
++ifeq ($(OS)$(COM),WNTMSC)
++
+ $(call gb_LinkTarget_use_system_win32_libs,$(1),\
+       secur32 \
+       ws2_32 \
+diff --git a/connectivity/Library_postgresql-sdbc-impl.mk b/connectivity/Library_postgresql-sdbc-impl.mk
+index 0580a8b..7e8b778 100644
+--- a/connectivity/Library_postgresql-sdbc-impl.mk
++++ b/connectivity/Library_postgresql-sdbc-impl.mk
+@@ -46,7 +46,6 @@ $(eval $(call gb_Library_use_externals,postgresql-sdbc-impl,\
+       boost_headers \
+       postgresql \
+       $(if $(filter-out MSC,$(COM)), \
+-              openssl \
+               openldap \
+               nss3 \
+               plc4 \
+
+... and don't uselessly check for openssl in configure
+
+diff --git a/config_host.mk.in b/config_host.mk.in
+index ddd144e..19f8368 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -100,7 +102,6 @@ export DISABLE_ATL=@DISABLE_ATL@
+ export DISABLE_CVE_TESTS=@DISABLE_CVE_TESTS@
+ export DISABLE_DYNLOADING=@DISABLE_DYNLOADING@
+ export DISABLE_EXPORT=@DISABLE_EXPORT@
+-export DISABLE_OPENSSL=@DISABLE_OPENSSL@
+ export DISABLE_PYTHON=@DISABLE_PYTHON@
+ export DLOPEN_LIBS=@DLOPEN_LIBS@
+ export DLLTOOL=@DLLTOOL@
+@@ -438,8 +439,6 @@ export OOO_JUNIT_JAR=@OOO_JUNIT_JAR@
+ export OOO_VENDOR=@OOO_VENDOR@
+ export OPENCOLLADA_CFLAGS=$(gb_SPACE)@OPENCOLLADA_CFLAGS@
+ export OPENCOLLADA_LIBS=$(gb_SPACE)@OPENCOLLADA_LIBS@
+-export OPENSSL_CFLAGS=$(gb_SPACE)@OPENSSL_CFLAGS@
+-export OPENSSL_LIBS=$(gb_SPACE)@OPENSSL_LIBS@
+ export ORCUS_CFLAGS=$(gb_SPACE)@ORCUS_CFLAGS@
+ export ORCUS_LIBS=$(gb_SPACE)@ORCUS_LIBS@
+ export OS=@OS@
+@@ -569,7 +568,6 @@ export SYSTEM_ODBC_HEADERS=@SYSTEM_ODBC_HEADERS@
+ export SYSTEM_ODFGEN=@SYSTEM_ODFGEN@
+ export SYSTEM_OPENCOLLADA=@SYSTEM_OPENCOLLADA@
+ export SYSTEM_OPENLDAP=@SYSTEM_OPENLDAP@
+-export SYSTEM_OPENSSL=@SYSTEM_OPENSSL@
+ export SYSTEM_PAGEMAKER=@SYSTEM_PAGEMAKER@
+ export SYSTEM_POPPLER=@SYSTEM_POPPLER@
+ export SYSTEM_POSTGRESQL=@SYSTEM_POSTGRESQL@
+diff --git a/configure.ac b/configure.ac
+index 3862386..45d5e25 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -9412,51 +9451,6 @@ else
+ fi
+ dnl ===================================================================
+-dnl Check for system openssl
+-dnl ===================================================================
+-DISABLE_OPENSSL=
+-AC_MSG_CHECKING([whether to disable OpenSSL usage])
+-if test "$enable_openssl" = "yes"; then
+-    AC_MSG_RESULT([no])
+-    if test "$_os" = Darwin ; then
+-        # OpenSSL is deprecated when building for 10.7 or later.
+-        #
+-        # http://stackoverflow.com/questions/7406946/why-is-apple-deprecating-openssl-in-macos-10-7-lion
+-        # http://stackoverflow.com/questions/7475914/libcrypto-deprecated-on-mac-os-x-10-7-lion
+-
+-        with_system_openssl=no
+-        libo_CHECK_SYSTEM_MODULE([openssl],[OPENSSL],[openssl])
+-    elif test "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o "$_os" = "DragonFly" \
+-            && test "$with_system_openssl" != "no"; then
+-        with_system_openssl=yes
+-        SYSTEM_OPENSSL=TRUE
+-        OPENSSL_CFLAGS=
+-        OPENSSL_LIBS="-lssl -lcrypto"
+-    else
+-        libo_CHECK_SYSTEM_MODULE([openssl],[OPENSSL],[openssl])
+-    fi
+-    if test "$with_system_openssl" = "yes"; then
+-        libo_MINGW_CHECK_DLL([libssl])
+-        libo_MINGW_CHECK_DLL([libcrypto])
+-        AC_MSG_CHECKING([whether openssl supports SHA512])
+-        AC_LANG_PUSH([C])
+-        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <openssl/sha.h>]],[[
+-            SHA512_CTX context;
+-]])],[AC_MSG_RESULT([yes])],[AC_MSG_ERROR([no, openssl too old. Need >= 0.9.8.])])
+-        AC_LANG_POP(C)
+-    fi
+-else
+-    AC_MSG_RESULT([yes])
+-    DISABLE_OPENSSL=TRUE
+-
+-    # warn that although OpenSSL is disabled, system libraries may be depending on it
+-    AC_MSG_WARN([OpenSSL has been disabled. No code compiled by LibO will make use of it but system librares may create indirect dependencies])
+-    add_warning "OpenSSL has been disabled. No code compiled by LibO will make use of it but system librares may create indirect dependencies"
+-fi
+-
+-AC_SUBST([DISABLE_OPENSSL])
+-
+-dnl ===================================================================
+ dnl Check for building gnutls
+ dnl ===================================================================
+ AC_MSG_CHECKING([whether to use gnutls])
+
+.. and without these gbuild still wants it ...
+
+diff --git a/external/Module_external.mk b/external/Module_external.mk
+index 44280e3..44c1c63 100644
+--- a/external/Module_external.mk
++++ b/external/Module_external.mk
+@@ -82,7 +82,6 @@ $(eval $(call gb_Module_add_moduledirs,external,\
+       $(call gb_Helper_optional,ODFGEN,libodfgen) \
+       $(call gb_Helper_optional,OPENCOLLADA,opencollada) \
+       $(call gb_Helper_optional,OPENLDAP,openldap) \
+-      $(call gb_Helper_optional,OPENSSL,openssl) \
+       $(call gb_Helper_optional,ORCUS,liborcus) \
+       $(call gb_Helper_optional,OWNCLOUD_ANDROID_LIB,owncloud-android-lib) \
+       $(call gb_Helper_optional,PAGEMAKER,libpagemaker) \
+diff --git a/oox/CppunitTest_oox_tokenmap.mk b/oox/CppunitTest_oox_tokenmap.mk
+index 9eac2a5..ef6d5c9 100644
+--- a/oox/CppunitTest_oox_tokenmap.mk
++++ b/oox/CppunitTest_oox_tokenmap.mk
+@@ -23,19 +23,10 @@ $(eval $(call gb_CppunitTest_use_api,oox_tokenmap,\
+ $(eval $(call gb_CppunitTest_use_library_objects,oox_tokenmap,oox))
+-ifeq ($(TLS),OPENSSL)
+-$(eval $(call gb_CppunitTest_use_externals,oox_tokenmap,\
+-      openssl \
+-      openssl_headers \
+-))
+-else
+-ifeq ($(TLS),NSS)
+ $(eval $(call gb_CppunitTest_use_externals,oox_tokenmap,\
+        plc4 \
+        nss3 \
+ ))
+-endif
+-endif
+ $(eval $(call gb_CppunitTest_use_libraries,oox_tokenmap,\
+     basegfx \
+diff --git a/oox/Library_oox.mk b/oox/Library_oox.mk
+index fcd7215..a178883 100644
+--- a/oox/Library_oox.mk
++++ b/oox/Library_oox.mk
+@@ -67,19 +67,10 @@ $(eval $(call gb_Library_use_externals,oox,\
+       boost_headers \
+ ))
+-ifeq ($(TLS),OPENSSL)
+-$(eval $(call gb_Library_use_externals,oox,\
+-      openssl \
+-      openssl_headers \
+-))
+-else
+-ifeq ($(TLS),NSS)
+ $(eval $(call gb_Library_use_externals,oox,\
+        plc4 \
+        nss3 \
+ ))
+-endif
+-endif
+ $(eval $(call gb_Library_set_componentfile,oox,oox/util/oox))
+diff --git a/ucb/CppunitTest_ucb_webdav_local_neon.mk b/ucb/CppunitTest_ucb_webdav_local_neon.mk
+index 20e827b..9b869f9 100644
+--- a/ucb/CppunitTest_ucb_webdav_local_neon.mk
++++ b/ucb/CppunitTest_ucb_webdav_local_neon.mk
+@@ -34,7 +34,6 @@ $(eval $(call gb_CppunitTest_use_externals,ucb_webdav_local_neon,\
+       boost_headers \
+       libxml2 \
+       neon \
+-      openssl \
+ ))
+ $(eval $(call gb_CppunitTest_use_custom_headers,ucb_webdav_local_neon,\
+diff --git a/ucb/Library_ucpdav1.mk b/ucb/Library_ucpdav1.mk
+index 37f3c8f..2167dd2 100644
+--- a/ucb/Library_ucpdav1.mk
++++ b/ucb/Library_ucpdav1.mk
+@@ -30,7 +30,6 @@ $(eval $(call gb_Library_use_externals,ucpdav1,\
+       boost_headers \
+       libxml2 \
+       neon \
+-      openssl \
+ ))
+ $(eval $(call gb_Library_use_custom_headers,ucpdav1,\
+@@ -66,7 +65,6 @@ else # WITH_WEBDAV == serf
+ $(eval $(call gb_Library_use_externals,ucpdav1,\
+       boost_headers \
+       apr \
+-      openssl \
+       serf \
+       zlib \
+ ))
+diff --git a/xmlsecurity/Library_xsec_xmlsec.mk b/xmlsecurity/Library_xsec_xmlsec.mk
+index 65b3cfc..8217bc1 100644
+--- a/xmlsecurity/Library_xsec_xmlsec.mk
++++ b/xmlsecurity/Library_xsec_xmlsec.mk
+@@ -104,22 +104,10 @@ $(eval $(call gb_Library_add_defs,xsec_xmlsec,\
+       -DXMLSEC_CRYPTO_NSS \
+ ))
+-ifeq ($(OS)-$(COM),WNT-GCC)
+-$(eval $(call gb_Library_add_libs,xsec_xmlsec,\
+-      $(call gb_UnpackedTarball_get_dir,xmlsec)/src/nss/.libs/libxmlsec1-nss.dll.a \
+-      $(call gb_UnpackedTarball_get_dir,xmlsec)/src/.libs/libxmlsec1.dll.a \
+-))
+-else ifeq ($(OS),ANDROID)
+-$(eval $(call gb_Library_add_libs,xsec_xmlsec,\
+-      $(call gb_UnpackedTarball_get_dir,xmlsec)/src/openssl/.libs/libxmlsec1-openssl.a \
+-      $(call gb_UnpackedTarball_get_dir,xmlsec)/src/.libs/libxmlsec1.a \
+-))
+-else
+ $(eval $(call gb_Library_add_libs,xsec_xmlsec,\
+       $(call gb_UnpackedTarball_get_dir,xmlsec)/src/nss/.libs/libxmlsec1-nss.a \
+       $(call gb_UnpackedTarball_get_dir,xmlsec)/src/.libs/libxmlsec1.a \
+ ))
+-endif
+ $(eval $(call gb_Library_use_externals,xsec_xmlsec,\
+       plc4 \
+diff --git a/external/libxmlsec/ExternalProject_xmlsec.mk b/external/libxmlsec/ExternalProject_xmlsec.mk
+index 9259f01..a85653f 100644
+--- a/external/libxmlsec/ExternalProject_xmlsec.mk
++++ b/external/libxmlsec/ExternalProject_xmlsec.mk
+@@ -13,8 +13,6 @@ $(eval $(call gb_ExternalProject_use_external,xmlsec,libxml2))
+ $(eval $(call gb_ExternalProject_use_external,xmlsec,nss3))
+-$(eval $(call gb_ExternalProject_use_external,xmlsec,openssl))
+-
+ $(eval $(call gb_ExternalProject_register_targets,xmlsec,\
+       build \
+ ))
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index 0fc7d25..fe5a208 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -1525,75 +1525,6 @@ endif # ENABLE_HARFBUZZ
+ ifeq ($(DISABLE_OPENSSL),TRUE)
+-gb_ExternalProject__use_openssl:=
+-gb_LinkTarget__use_openssl_headers:=
+-gb_LinkTarget__use_openssl:=
+-
+-else # !DISABLE_OPENSSL
+-
+-ifneq ($(SYSTEM_OPENSSL),)
+-
+-gb_LinkTarget__use_openssl_headers:=
+-gb_ExternalProject__use_openssl:=
+-
+-define gb_LinkTarget__use_openssl
+-$(call gb_LinkTarget_set_include,$(1),\
+-      $$(INCLUDE) \
+-      $(OPENSSL_CFLAGS) \
+-)
+-$(call gb_LinkTarget_add_libs,$(1),$(OPENSSL_LIBS))
+-
+-endef
+-
+-else # !SYSTEM_OPENSSL
+-
+-$(eval $(call gb_Helper_register_packages_for_install,ooo, \
+-      openssl \
+-))
+-
+-define gb_ExternalProject__use_openssl
+-$(call gb_ExternalProject_use_package,$(1),openssl)
+-
+-endef
+-
+-define gb_LinkTarget__use_openssl_headers
+-$(call gb_LinkTarget_use_external_project,$(1),openssl)
+-$(call gb_LinkTarget_set_include,$(1),\
+-      -I$(call gb_UnpackedTarball_get_dir,openssl)/include \
+-      $$(INCLUDE) \
+-)
+-
+-endef
+-
+-define gb_LinkTarget__use_openssl
+-$(call gb_LinkTarget_use_package,$(1),openssl)
+-ifeq ($(OS),WNT)
+-$(call gb_LinkTarget_add_libs,$(1),\
+-      $(call gb_UnpackedTarball_get_dir,openssl)/out32dll/ssleay32.lib \
+-      $(call gb_UnpackedTarball_get_dir,openssl)/out32dll/libeay32.lib \
+-)
+-else
+-$(call gb_LinkTarget_add_libs,$(1),\
+-      $(call gb_UnpackedTarball_get_dir,openssl)/libssl.a \
+-      $(call gb_UnpackedTarball_get_dir,openssl)/libcrypto.a \
+-)
+-$(call gb_LinkTarget_use_external_project,$(1),openssl)
+-ifeq ($(OS),SOLARIS)
+-$(call gb_LinkTarget_add_libs,$(1),\
+-      -lnsl \
+-      -lsocket \
+-)
+-endif
+-endif
+-
+-endef
+-
+-endif # SYSTEM_OPENSSL
+-endif # DISABLE_OPENSSL
+-
+-
+-ifeq ($(DISABLE_OPENSSL),TRUE)
+-
+ define gb_LinkTarget__use_gnutls
+ $(call gb_LinkTarget_set_include,$(1),\
+       $$(INCLUDE) \
diff --git a/debian/patches/no-packagekit-per-default.diff b/debian/patches/no-packagekit-per-default.diff
new file mode 100644 (file)
index 0000000..7b6e4b5
--- /dev/null
@@ -0,0 +1,266 @@
+From 1c2296a3809ff9ef36564eff3abdf4c191a1d1c6 Mon Sep 17 00:00:00 2001
+From: Rene Engelhard <rene@debian.org>
+Date: Sun, 21 Feb 2016 02:20:43 +0100
+Subject: [PATCH] Revert "always support packagekit if dbus is enabled"
+
+This reverts commit f2984e95740cfbb9c74574f2a1225af3411d4901.
+---
+ RepositoryExternal.mk                       |  6 ++++++
+ config_host.mk.in                           |  1 +
+ configure.ac                                | 22 +++++++++++++++++++++-
+ vcl/inc/unx/fontmanager.hxx                 |  4 ++--
+ vcl/unx/generic/fontmanager/fontconfig.cxx  |  8 ++++----
+ vcl/unx/generic/fontmanager/fontmanager.cxx |  2 +-
+ 6 files changed, 35 insertions(+), 8 deletions(-)
+
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index d0ee166..fd20bfd 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -2537,6 +2537,12 @@ $(call gb_LinkTarget_set_include,$(1),\
+       $(DBUS_CFLAGS) \
+ )
++ifeq ($(ENABLE_PACKAGEKIT),TRUE)
++$(call gb_LinkTarget_add_defs,$(1),\
++    -DENABLE_PACKAGEKIT \
++)
++endif # ENABLE_PACKAGEKIT
++
+ $(call gb_LinkTarget_add_libs,$(1),\
+       $(DBUS_LIBS) \
+ )
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 6170227..2721820 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -157,6 +157,7 @@ export ENABLE_EXTENSION_UPDATE=@ENABLE_EXTENSION_UPDATE@
+ export ENABLE_OOENV=@ENABLE_OOENV@
+ export ENABLE_OPENGL=@ENABLE_OPENGL@
+ export ENABLE_OPENGL_CANVAS=@ENABLE_OPENGL_CANVAS@
++export ENABLE_PACKAGEKIT=@ENABLE_PACKAGEKIT@
+ export ENABLE_PCH=@ENABLE_PCH@
+ export ENABLE_PDFIMPORT=@ENABLE_PDFIMPORT@
+ export ENABLE_RANDR=@ENABLE_RANDR@
+diff --git a/configure.ac b/configure.ac
+index b6f6f37..c6a9b7d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1216,9 +1216,15 @@ AC_ARG_ENABLE(cairo-canvas,
+ AC_ARG_ENABLE(dbus,
+     AS_HELP_STRING([--disable-dbus],
+         [Determines whether to enable features that depend on dbus.
+-         e.g. Presentation mode screensaver control, bluetooth presentation control, automatic font install]),
++         e.g. Presentation mode screensaver control, bluetooth presentation control]),
+ ,enable_dbus=yes)
++AC_ARG_ENABLE(packagekit,
++    AS_HELP_STRING([--enable-packagekit],
++        [Determines whether to enable features using packagekit.
++         Right now that is auto font install]),
++,)
++
+ AC_ARG_ENABLE(sdremote,
+     AS_HELP_STRING([--disable-sdremote],
+         [Determines whether to enable Impress remote control (i.e. the server component).]),
+@@ -10046,6 +10052,20 @@ AC_SUBST(ENABLE_DBUS)
+ AC_SUBST(DBUS_CFLAGS)
+ AC_SUBST(DBUS_LIBS)
++AC_MSG_CHECKING([whether to enable font install via packagekit])
++if test "$ENABLE_DBUS" = "TRUE"; then
++    if test -n "$enable_packagekit" -a "$enable_packagekit" != "no"; then
++        ENABLE_PACKAGEKIT=TRUE
++        AC_MSG_RESULT([yes])
++    else
++        ENABLE_PACKAGEKIT=
++        AC_MSG_RESULT([no])
++    fi
++else
++    AC_MSG_RESULT([no, dbus disabled.])
++fi
++AC_SUBST(ENABLE_PACKAGEKIT)
++
+ AC_MSG_CHECKING([whether to enable Impress remote control])
+ if test -n "$enable_sdremote" -a "$enable_sdremote" != "no"; then
+     AC_MSG_RESULT([yes])
+diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx
+index 1ffe504..d365800 100644
+--- a/vcl/inc/unx/fontmanager.hxx
++++ b/vcl/inc/unx/fontmanager.hxx
+@@ -317,12 +317,12 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
+     static bool addFontconfigDir(const OString& rDirectory);
+     std::set<OString> m_aPreviousLangSupportRequests;
+-#if ENABLE_DBUS
++#if ENABLE_DBUS && defined(ENABLE_PACKAGEKIT)
+     std::vector<OString> m_aCurrentRequests;
+ #endif
+     Timer m_aFontInstallerTimer;
+-#if ENABLE_DBUS
++#if ENABLE_DBUS && defined(ENABLE_PACKAGEKIT)
+     DECL_LINK_TYPED( autoInstallFontLangSupport, Timer*, void );
+ #endif
+     PrintFontManager();
+diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
+index aff2848..8def362 100644
+--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
++++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
+@@ -37,7 +37,7 @@ using namespace psp;
+ #include <ft2build.h>
+ #include <fontconfig/fcfreetype.h>
+-#if ENABLE_DBUS
++#if ENABLE_DBUS && defined(ENABLE_PACKAGEKIT)
+ #include <dbus/dbus-glib.h>
+ #endif
+@@ -877,7 +877,7 @@ namespace
+         return LanguageTag(OStringToOUString(aBuf.makeStringAndClear(), RTL_TEXTENCODING_UTF8));
+     }
+-#if ENABLE_DBUS
++#if ENABLE_DBUS && defined(ENABLE_PACKAGEKIT)
+     guint get_xid_for_dbus()
+     {
+         const vcl::Window *pTopWindow = Application::IsHeadlessModeEnabled() ? nullptr : Application::GetActiveTopWindow();
+@@ -887,7 +887,7 @@ namespace
+ #endif
+ }
+-#if ENABLE_DBUS
++#if ENABLE_DBUS && defined(ENABLE_PACKAGEKIT)
+ IMPL_LINK_NOARG_TYPED(PrintFontManager, autoInstallFontLangSupport, Timer *, void)
+ {
+     guint xid = get_xid_for_dbus();
+@@ -1098,7 +1098,7 @@ void PrintFontManager::Substitute( FontSelectPattern &rPattern, OUString& rMissi
+                     }
+                 }
+                 OUString sStillMissing(pRemainingCodes.get(), nRemainingLen);
+-#if ENABLE_DBUS
++#if ENABLE_DBUS && defined(ENABLE_PACKAGEKIT)
+                 if (get_xid_for_dbus())
+                 {
+                     if (sStillMissing == rMissingCodes) //replaced nothing
+diff --git a/vcl/unx/generic/fontmanager/fontmanager.cxx b/vcl/unx/generic/fontmanager/fontmanager.cxx
+index 8089eae..b2525ac 100644
+--- a/vcl/unx/generic/fontmanager/fontmanager.cxx
++++ b/vcl/unx/generic/fontmanager/fontmanager.cxx
+@@ -674,7 +674,7 @@ PrintFontManager::PrintFontManager()
+         }
+     }
+-#if ENABLE_DBUS
++#if ENABLE_DBUS && defined(ENABLE_PACKAGEKIT)
+     m_aFontInstallerTimer.SetTimeoutHdl(LINK(this, PrintFontManager, autoInstallFontLangSupport));
+     m_aFontInstallerTimer.SetTimeout(5000);
+ #endif
+-- 
+2.1.4
+
+diff --git a/Repository.mk b/Repository.mk
+index 858be89..901085e 100644
+--- a/Repository.mk
++++ b/Repository.mk
+@@ -255,7 +278,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,gnome, \
+       $(if $(ENABLE_GTK),vclplug_gtk) \
+       $(if $(ENABLE_GTK3),vclplug_gtk3) \
+       $(if $(ENABLE_SYSTRAY_GTK),qstart_gtk) \
+-      $(if $(ENABLE_GIO),losessioninstall) \
++      $(if $(ENABLE_PACKAGEKIT),losessioninstall) \
+       $(if $(ENABLE_GIO),ucpgio1) \
+ ))
+diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
+index f467783..b48e763 100644
+--- a/sfx2/source/appl/appserv.cxx
++++ b/sfx2/source/appl/appserv.cxx
+@@ -159,6 +159,7 @@ namespace
+         // make sure we actually can instanciate services from base first
+         if(!lcl_isBaseAvailable())
+         {
++#if defined (ENABLE_PACKAGEKIT)
+             try
+             {
+                 using namespace org::freedesktop::PackageKit;
+@@ -176,8 +177,16 @@ namespace
+                 SAL_INFO(
+                     "sfx.appl",
+                     "trying to install LibreOffice Base, caught " << e.Message);
++#else
++                SAL_INFO(
++                    "sfx.appl",
++                    "missing LibreOffice Base");
++
++#endif
++#if defined (ENABLE_PACKAGEKIT)
+             }
+             return;
++#endif
+         }
+         try // fdo#48775
+diff --git a/shell/Module_shell.mk b/shell/Module_shell.mk
+index 17661e9..99becfd 100644
+--- a/shell/Module_shell.mk
++++ b/shell/Module_shell.mk
+@@ -16,11 +16,13 @@ $(eval $(call gb_Module_add_targets,shell,\
+ ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
+ ifeq ($(ENABLE_GIO),TRUE)
++ifeq ($(ENABLE_PACKAGEKIT),TRUE)
+ $(eval $(call gb_Module_add_targets,shell,\
+       Library_losessioninstall \
+ ))
+ endif
+ endif
++endif
+ ifeq ($(OS),SOLARIS)
+ ifeq ($(ENABLE_GIO),TRUE)
+diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx
+index 896b365..5be6a92 100644
+--- a/sw/source/uibase/app/apphdl.cxx
++++ b/sw/source/uibase/app/apphdl.cxx
+@@ -349,6 +349,7 @@ void SwMailMergeWizardExecutor::ExecuteMailMergeWizard( const SfxItemSet * pArgs
+ {
+     if(!lcl_hasAllComponentsAvailable())
+     {
++#if defined (ENABLE_PACKAGEKIT)
+         try
+         {
+             using namespace org::freedesktop::PackageKit;
+@@ -365,8 +366,15 @@ void SwMailMergeWizardExecutor::ExecuteMailMergeWizard( const SfxItemSet * pArgs
+             SAL_INFO(
+                 "sw.core",
+                 "trying to install LibreOffice Base, caught " << e.Message);
++#else
++            SAL_INFO(
++                "sw.core",
++                "missing LibreOffice Base");
++#endif
++#if defined (ENABLE_PACKAGEKIT)
+         }
+         return;
++#endif
+     }
+     if ( m_pView )
+     {
+diff --git a/postprocess/Rdb_services.mk b/postprocess/Rdb_services.mk
+index c411fc1..d540983 100644
+--- a/postprocess/Rdb_services.mk
++++ b/postprocess/Rdb_services.mk
+@@ -194,9 +194,11 @@ $(eval $(call gb_Rdb_add_components,services,\
+         canvas/source/opengl/oglcanvas \
+       ) \
+       $(if $(ENABLE_GIO), \
+-              shell/source/sessioninstall/losessioninstall \
+               ucb/source/ucp/gio/ucpgio \
+       ) \
++      $(if $(ENABLE_PACKAGEKIT), \
++              shell/source/sessioninstall/losessioninstall \
++      ) \
+       $(if $(ENABLE_GSTREAMER_1_0), \
+               avmedia/source/gstreamer/avmediagstreamer \
+       ) \
diff --git a/debian/patches/odk-no-dot.diff b/debian/patches/odk-no-dot.diff
new file mode 100644 (file)
index 0000000..ec83515
--- /dev/null
@@ -0,0 +1,26 @@
+diff --git a/odk/docs/cpp/Doxyfile b/odk/docs/cpp/Doxyfile
+index 2519f1b..147d59f 100644
+--- a/odk/docs/cpp/Doxyfile
++++ b/odk/docs/cpp/Doxyfile
+@@ -29,6 +29,8 @@ HTML_OUTPUT = .
+ GENERATE_LATEX = NO
++HAVE_DOT = NO
++
+ ALIASES = "derive=\par Derive: \n"
+ MACRO_EXPANSION = YES
+diff --git a/odk/docs/idl/Doxyfile b/odk/docs/idl/Doxyfile
+index c065b33..6b415bf 100644
+--- a/odk/docs/idl/Doxyfile
++++ b/odk/docs/idl/Doxyfile
+@@ -17,6 +17,8 @@ GENERATE_HTML = YES
+ HTML_TIMESTAMP = NO
+ GENERATE_LATEX = NO
++HAVE_DOT = NO
++
+ QUIET = %
+ WARNINGS = YES
+ WARN_IF_DOC_ERROR = YES
diff --git a/debian/patches/reportdesign-mention-package.diff b/debian/patches/reportdesign-mention-package.diff
new file mode 100644 (file)
index 0000000..c2b3116
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/dbaccess/source/ui/misc/dbumiscres.src b/dbaccess/source/ui/misc/dbumiscres.src
+index 974b36e..2f42c27 100644
+--- a/dbaccess/source/ui/misc/dbumiscres.src
++++ b/dbaccess/source/ui/misc/dbumiscres.src
+@@ -86,7 +86,7 @@ String STR_NAMED_OBJECT_ALREADY_EXISTS
+ String RID_STR_EXTENSION_NOT_PRESENT
+ {
+     // #i96130# use hard coded name
+-    Text [ en-US ] = "The report, \"$file$\", requires the Oracle Report Builder feature.";
++    Text [ en-US ] = "The report, \"$file$\", requires the Oracle Report Builder feature. For this, install the package 'libreoffice-report-builder'.";
+ };
+ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/debian/patches/rhino-build-optional.diff b/debian/patches/rhino-build-optional.diff
new file mode 100644 (file)
index 0000000..72a7608
--- /dev/null
@@ -0,0 +1,59 @@
+diff --git a/configure.ac b/configure.in
+index 6037452..2251d85 100644
+--- libreoffice-3.5.0/configure.ac
++++ libreoffice-3.5.0/configure.ac
+@@ -7507,6 +7508,7 @@ AC_MSG_CHECKING([whether to build extension for support of scripts in JavaScript
+ if test "x$enable_ext_scripting_javascript" = "xyes" -a "x$enable_extension_integration" != "xno" -a "x$with_java" != "xno"; then
+    AC_MSG_RESULT([yes])
+    ENABLE_SCRIPTING_JAVASCRIPT=YES
++   BUILD_TYPE="$BUILD_TYPE RHINO"
+ else
+    AC_MSG_RESULT([no])
+    ENABLE_SCRIPTING_JAVASCRIPT=NO
+diff --git a/scripting/Module_scripting.mk b/scripting/Module_scripting.mk
+index b926b07..67f8a71 100644
+--- libreoffice-3.5.0/scripting/Module_scripting.mk
++++ libreoffice-3.5.0/scripting/Module_scripting.mk
+@@ -54,7 +55,8 @@ $(eval $(call gb_Module_add_targets,scripting,\
+       Pyuno_mailmerge \
+       Zip_scriptbindinglib \
+       Zip_ScriptsBeanShell \
+-      Zip_ScriptsJavaScript \
++      $(if $(filter $(ENABLE_SCRIPTING_JAVASCRIPT),YES),\
++              Zip_ScriptsJavaScript) \
+       Zip_ScriptsPython \
+ ))
+diff --git a/scripting/prj/build.lst b/scripting/prj/build.lst
+index 2bd4c61..f874898 100644
+--- libreoffice-3.5.0/scripting/prj/build.lst
++++ libreoffice-3.5.0/scripting/prj/build.lst
+@@ -1,2 +1,2 @@
+-tc    scripting       :       filter oovbaapi vbahelper bridges DESKTOP:rdbmaker vcl xmlscript basic sfx2 rhino BSH:beanshell javaunohelper LIBXSLT:libxslt NULL
++tc    scripting       :       filter oovbaapi vbahelper bridges DESKTOP:rdbmaker vcl xmlscript basic sfx2 RHINO:rhino BSH:beanshell javaunohelper LIBXSLT:libxslt NULL
+ tc    scripting\prj                                           nmake   -       all     tc1_prj NULL
+--- libreoffice-3.5.0/scp2/source/ooo/file_ooo.scp
++++ libreoffice-3.5.0/scp2/source/ooo/file_ooo.scp
+@@ -701,13 +701,15 @@ File gid_File_Scripts_Java
+     ARCHIVE_TXT_FILE_BODY;
+     Name = "ScriptsJava.zip";
+ End
+-#endif
++#ifndef WITHOUT_EXTENSION_SCRIPTING_JAVASCRIPT
+ File gid_File_Scripts_Javascript
+     Dir = gid_Dir_Share_Scripts;
+     ARCHIVE_TXT_FILE_BODY;
+     Name = "ScriptsJavaScript.zip";
+ End
++#endif
++#endif
+ // new user interface configuration files
+ File gid_File_Share_Config_Sofficecfg_uiconfig_Zip
+--- libreoffice-3.5.0/tail_build/prj/build.lst-old   2011-10-20 22:44:37.000000000 +0000
++++ libreoffice-3.5.0/tail_build/prj/build.lst       2011-10-20 22:44:49.000000000 +0000
+@@ -1,2 +1,2 @@
+-tb      tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo DESKTOP:codemaker CURL:curl FONTCONFIG:fontconfig FREETYPE:freetype GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JPEG:jpeg LCMS2:lcms2 LIBCDR:libcdr LIBCMIS:libcmis LIBEXTTEXTCAT:libexttextcat LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds MYTHES:mythes NEON:neon NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland SANE:sane SAXON:saxon TRANSLATIONS:translations TWAIN:twain VIGRA:vigra X11_EXTENSIONS:x11_extensions XPDF:xpdf ZLIB:zlib basegfx bridges comphelper DBCONNECTIVITY:connectivity cppu cppuhelper cpputools i18npool i18nutil icc javaunohelper jurt jvmaccess jvmfwk offapi officecfg oovbaapi QADEVOOO:qadevOOo DESKTOP:rdbmaker readlicense_oo rhino ridljar rsc sal salhelper sax shell solenv soltools sot stoc svl sysui tools ucbhelper udkapi unoil unotest unotools ure xmlreader xsltml NULL
++tb      tail_build : AFMS:afms APACHE_COMMONS:apache-commons BSH:beanshell BERKELEYDB:berkeleydb BOOST:boost CAIRO:cairo DESKTOP:codemaker CURL:curl FONTCONFIG:fontconfig FREETYPE:freetype GRAPHITE:graphite HUNSPELL:hunspell HYPHEN:hyphen ICU:icu DESKTOP:l10ntools JPEG:jpeg LCMS2:lcms2 LIBCDR:libcdr LIBCMIS:libcmis LIBEXTTEXTCAT:libexttextcat LIBXML2:libxml2 LIBXMLSEC:libxmlsec LIBXSLT:libxslt LIBWPG:libwpg LIBWPS:libwps LIBWPD:libwpd LIBVISIO:libvisio LPSOLVE:lpsolve MDDS:mdds MYTHES:mythes NEON:neon NSS:nss OPENSSL:openssl PYTHON:python REDLAND:redland SANE:sane SAXON:saxon TRANSLATIONS:translations TWAIN:twain VIGRA:vigra X11_EXTENSIONS:x11_extensions XPDF:xpdf ZLIB:zlib basegfx bridges comphelper DBCONNECTIVITY:connectivity cppu cppuhelper cpputools i18npool i18nutil icc javaunohelper jurt jvmaccess jvmfwk offapi officecfg oovbaapi QADEVOOO:qadevOOo DESKTOP:rdbmaker readlicense_oo RHINO:rhino ridljar rsc sal salhelper sax shell solenv soltools sot stoc svl sysui tools ucbhelper udkapi unoil unotest unotools ure xmlreader xsltml NULL
+ tb tail_build\prj nmake - all tb_prj   NULL
diff --git a/debian/patches/rsc-no-error-about-unknown-switch.diff b/debian/patches/rsc-no-error-about-unknown-switch.diff
new file mode 100644 (file)
index 0000000..d8b839d
--- /dev/null
@@ -0,0 +1,23 @@
+diff --git a/rsc/source/parser/erscerr.cxx b/rsc/source/parser/erscerr.cxx
+index c5a9fd7..62aa8ab 100644
+--- a/rsc/source/parser/erscerr.cxx
++++ b/rsc/source/parser/erscerr.cxx
+@@ -389,7 +389,7 @@ void RscError::Error( const ERRTYPE& rError, RscTop * pClass,
+ void RscError::FatalError( const ERRTYPE& rError, const RscId &aId,
+                            const char * pMessage )
+ {
+-    if( ERR_USAGE != rError ){
++    if( ERR_USAGE != rError && ERR_UNKNOWNSW != rError ){
+         nErrors++;
+         ErrorFormat( rError, nullptr, aId );
+         WriteError( rError, pMessage );
+@@ -398,7 +398,8 @@ void RscError::FatalError( const ERRTYPE& rError, const RscId &aId,
+     else
+         WriteError( rError, pMessage );
+-    exit( 1 );
++    if( ERR_UNKNOWNSW != rError )
++         exit( 1 );
+ }
+ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/debian/patches/search-usr-share-for-images.diff b/debian/patches/search-usr-share-for-images.diff
new file mode 100644 (file)
index 0000000..6b91fcc
--- /dev/null
@@ -0,0 +1,137 @@
+diff --git a/vcl/inc/impimagetree.hxx b/vcl/inc/impimagetree.hxx
+index 41c4f56..93d80f1 100644
+--- a/vcl/inc/impimagetree.hxx
++++ b/vcl/inc/impimagetree.hxx
+@@ -85,6 +85,10 @@ private:
+     typedef boost::unordered_map<
+         rtl::OUString, std::pair< bool, BitmapEx >, rtl::OUStringHash > IconCache;
++    // we want to search zip files (icons) also in /usr/share/
++    ::rtl::OUString m_datadir; // /usr/share/
++    ::rtl::OUString m_libdir;   // /usr/lib or /usr/lib64
++
+     rtl::OUString m_style;
+     Zips m_zips;
+     CheckStyleCache m_checkStyleCache;
+@@ -92,6 +96,7 @@ private:
+
+     void setStyle(rtl::OUString const & style );
+
++    void addUrlToZips(const rtl::OUString &url);
+     void resetZips();
+
+     bool checkStyleCacheLookup( rtl::OUString const & style, bool &exists );
+diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
+index 03442fc..cfe6c45 100644
+--- a/vcl/source/gdi/impimagetree.cxx
++++ b/vcl/source/gdi/impimagetree.cxx
+@@ -121,7 +121,11 @@ void loadFromStream(
+ }
+-ImplImageTree::ImplImageTree() {}
++ImplImageTree::ImplImageTree()
++{
++    m_datadir = ::rtl::OUString::createFromAscii ( "/usr/share/" );
++    m_libdir = ::rtl::OUString::createFromAscii ( "/usr/lib/" ); 
++}
+ ImplImageTree::~ImplImageTree() {}
+@@ -259,6 +263,22 @@ void ImplImageTree::setStyle(rtl::OUString const & style) {
+     }
+ }
++void ImplImageTree::addUrlToZips(const rtl::OUString &url) {
++    if ( url.getLength() == 0 ) 
++        return; 
++    m_zips.push_back(
++        std::make_pair(
++        url,
++        css::uno::Reference< css::container::XNameAccess >()));
++    sal_Int32 nLibDirPos = url.indexOf( m_libdir ); 
++    if ( nLibDirPos >= 0 ) {
++    m_zips.push_back(
++            std::make_pair(
++            url.replaceAt( nLibDirPos, m_libdir.getLength(), m_datadir ),
++            css::uno::Reference< css::container::XNameAccess >()));
++    }
++} 
++
+ void ImplImageTree::resetZips() {
+     m_zips.clear();
+     {
+@@ -284,19 +304,14 @@ void ImplImageTree::resetZips() {
+         b.appendAscii(RTL_CONSTASCII_STRINGPARAM("_brand.zip"));
+         bool ok = u.Append(b.makeStringAndClear(), INetURLObject::ENCODE_ALL);
+         OSL_ASSERT(ok); (void) ok;
+-        m_zips.push_back(
+-            std::make_pair(
+-                u.GetMainURL(INetURLObject::NO_DECODE),
+-                css::uno::Reference< css::container::XNameAccess >()));
++        addUrlToZips(u.GetMainURL(INetURLObject::NO_DECODE));
+     }
+     {
+         rtl::OUString url(
+             RTL_CONSTASCII_USTRINGPARAM(
+                 "$BRAND_BASE_DIR/share/config/images_brand.zip"));
+         rtl::Bootstrap::expandMacros(url);
+-        m_zips.push_back(
+-            std::make_pair(
+-                url, css::uno::Reference< css::container::XNameAccess >()));
++        addUrlToZips(url);
+     }
+     {
+         rtl::OUString url(
+@@ -310,10 +310,7 @@
+         b.appendAscii(RTL_CONSTASCII_STRINGPARAM(".zip"));
+         bool ok = u.Append(b.makeStringAndClear(), INetURLObject::ENCODE_ALL);
+         OSL_ASSERT(ok); (void) ok;
+-        m_zips.push_back(
+-            std::make_pair(
+-                u.GetMainURL(INetURLObject::NO_DECODE),
+-                css::uno::Reference< css::container::XNameAccess >()));
++      addUrlToZips(u.GetMainURL(INetURLObject::NO_DECODE));
+     }
+     if ( m_style == "default" )
+     {
+@@ -321,9 +333,7 @@ void ImplImageTree::resetZips() {
+             RTL_CONSTASCII_USTRINGPARAM(
+                 "$BRAND_BASE_DIR/share/config/images.zip"));
+         rtl::Bootstrap::expandMacros(url);
+-        m_zips.push_back(
+-            std::make_pair(
+-                url, css::uno::Reference< css::container::XNameAccess >()));
++        addUrlToZips(url);
+     }
+ }
+diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
+index e55fe5d..848bed7 100644
+--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
++++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
+@@ -335,7 +335,7 @@ void ContentProvider::init()
+         rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( " " )) +
+         setupextension );
+-    uno::Sequence< rtl::OUString > aImagesZipPaths( 2 );
++    uno::Sequence< rtl::OUString > aImagesZipPaths( 3 );
+     xHierAccess = getHierAccess( sProvider,  "org.openoffice.Office.Common" );
+     rtl::OUString aPath( getKey( xHierAccess, "Path/Current/UserConfig" ) );
+@@ -344,6 +344,15 @@ void ContentProvider::init()
+     aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
+     rtl::Bootstrap::expandMacros(aPath);
++    aImagesZipPaths[ 2 ] = aPath;
++
++    // try also /usr/share and even before /usr/lib
++    ::rtl::OUString aDataDir = ::rtl::OUString::createFromAscii ( "/usr/share/" ); 
++    ::rtl::OUString aLibDir = ::rtl::OUString::createFromAscii ( "/usr/lib/" ); 
++    sal_Int32 nLibDirPos = aPath.indexOf( aLibDir ); 
++ 
++    if ( nLibDirPos >= 0 ) 
++        aPath = aPath.replaceAt( nLibDirPos, aLibDir.getLength(), aDataDir ); 
+     aImagesZipPaths[ 1 ] = aPath;
+     uno::Reference< uno::XComponentContext > xContext;
diff --git a/debian/patches/sensible-lomua.diff b/debian/patches/sensible-lomua.diff
new file mode 100644 (file)
index 0000000..3a54a3a
--- /dev/null
@@ -0,0 +1,48 @@
+Index: libreoffice-3.6.2~rc1/officecfg/registry/data/org/openoffice/Office/Common.xcu
+===================================================================
+--- libreoffice-3.6.2~rc1.orig/officecfg/registry/data/org/openoffice/Office/Common.xcu        2012-10-07 21:03:17.662850386 -0400
++++ libreoffice-3.6.2~rc1/officecfg/registry/data/org/openoffice/Office/Common.xcu     2012-10-07 21:03:57.174850591 -0400
+@@ -655,7 +655,7 @@
+   </node>
+   <node oor:name="ExternalMailer" install:module="unixdesktop">
+     <prop oor:name="Program">
+-      <value oor:external="com.sun.star.configuration.backend.DesktopBackend ExternalMailer"/>
++      <value>sensible-lomua</value>
+     </prop>
+   </node>
+   <node oor:name="Font">
+Index: libreoffice-3.6.2~rc1/shell/source/unix/misc/senddoc.sh
+===================================================================
+--- libreoffice-3.6.2~rc1.orig/shell/source/unix/misc/senddoc.sh       2012-10-07 21:03:17.662850386 -0400
++++ libreoffice-3.6.2~rc1/shell/source/unix/misc/senddoc.sh    2012-10-07 21:29:13.074858447 -0400
+@@ -59,6 +59,30 @@
+     shift
+ fi
++case `basename "$MAILER"` in
++    sensible-lomua)
++        if [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] \
++           || [ -x /usr/bin/gnome-open ] \
++           || [ -x /usr/bin/xdg-open ]; then
++            # use an undefined mailer, to trigger the default handling
++            MAILER=undefined
++        elif [ -n "$GNOME_DESKTOP_SESSION_ID" -a -x /usr/bin/evolution ]; then
++            MAILER=/usr/bin/evolution
++        elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kmail ]; then
++            MAILER=/usr/bin/kmail
++        elif [ -x /usr/bin/evolution ]; then
++            # default
++            MAILER=/usr/bin/evolution
++        elif [ -x /usr/bin/icedove ]; then
++            # fallback
++            MAILER=/usr/bin/icedove
++        elif [ -x /usr/bin/thunderbird ]; then
++            # fallback
++            MAILER=/usr/bin/thunderbird
++        fi
++        ;;
++esac
++
+ # autodetect mail client from executable name
+ case `basename "$MAILER" | sed 's/-.*$//'` in
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..4e8ddc0
--- /dev/null
@@ -0,0 +1,39 @@
+debian-opt.diff
+gcj-safe-jni-h-include.diff
+jurt-soffice-location.diff
+split-evoab.diff
+debian-debug.diff
+#rhino-build-optional.diff
+#fix-system-lpsolve-build.diff
+build-against-shared-lpsolve.diff
+install-fixes.diff
+#mention-java-common-package.diff
+#help-msg-add-package-info.diff
+sensible-lomua.diff
+reportdesign-mention-package.diff
+jdbc-driver-classpaths.diff
+mysqlcppconn-libmysqlclient-SONAME.diff
+#search-usr-share-for-images.diff
+make-package-modules-not-suck.diff
+#mediwiki-oor-replace.diff
+debian-hardened-buildflags-CPPFLAGS.diff
+disable-flaky-tests.diff
+#dont-touch-urd.diff
+fix-internal-hsqldb-build.diff
+javadoc-optional.diff
+#revert-ba6478560792e0eec161142c8cfbc0e08cd7a4f5.diff
+lo-xlate-lang-update.diff
+build-connectivitytools.diff
+odk-no-dot.diff
+hppa-is-32bit.diff
+gcj-no-bitness-check.diff
+rsc-no-error-about-unknown-switch.diff
+debian-branding.diff
+no-packagekit-per-default.diff
+sparc64.diff
+startcenter-grey-out-not-installed.diff
+no-openssl.diff
+m68k-java-arch.diff
+gtk3-opengl-slideshow.diff
+WEBSERVICE-DDE.diff
+layout-footnote-use-after-free.diff
diff --git a/debian/patches/smoketest-disable-extension-tests.diff b/debian/patches/smoketest-disable-extension-tests.diff
new file mode 100644 (file)
index 0000000..0b5ee3b
--- /dev/null
@@ -0,0 +1,98 @@
+--- smoketest/data/Basic/Standard/Test_Ext.xml 2012-02-01 13:56:49.000000000 +0100
++++ smoketest/data/Basic/Standard/Test_Ext.xml 2012-02-20 20:15:23.000000000 +0100
+@@ -28,10 +28,6 @@
+ <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Test_Ext" script:language="StarBasic">REM  *****  BASIC  *****
+-const cMessageExtensionService = &quot;Extension Service&quot;
+-const cMessageExtensionInstall = &quot;Install Extension&quot;
+-const cMessageExtensionUninstall = &quot;Uninstall Extension&quot;
+-
+ Sub TestExtensions
+     Dim oTestExtension as Object, obj_null as Object
+     Dim sCurrentMessage as String
+@@ -37,9 +37,6 @@
+     Dim sCurrentMessage as String
+     Dim bResult as Boolean
+     Dim sImplementationNameString as String
+-    sImplementationNameString = cUnoSmoketestTestExtension + &quot;$_TestExtension&quot;
+-
+-    On Local Error GoTo EXTERROR
+
+     gCurrentTestCase = cLogfileFailed
+     LocalTestLog% = OpenLogDat (GetLogFileName(gCurrentDocTest))
+@@ -35,74 +35,5 @@
+     gCurrentTestCase = cLogfileFailed
+     LocalTestLog% = OpenLogDat (GetLogFileName(gCurrentDocTest))
+-    sCurrentMessage = &quot;SmokeTestCommandEnvironment (implemented in Java)&quot;
+-    gCurrentTestCase = cEXTService
+-
+-    &apos;Create an implementation of com.sun.star.ucb.XCommandEnvironment which is needed for
+-    &apos;adding the extension. The implementation is in
+-    &apos;smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java and the code is in smoketest.jar
+-    cmdEnv = createUnoService(cUnoSmoketestCommandEnvironment)
+-
+-    &apos;Create the component context and then get the singleton ExtensionManager
+-    &apos;A singleton cannot be created with createUnoService
+-    sCurrentMessage = cMessageExtensionService
+-    ctx = getDefaultContext
+-    ext_mgr = ctx.getValueByName(&quot;/singletons/&quot; + cExtensionManager)
+-
+-    LogTestResult( &quot;Extension &quot;+ cMessageExtensionService, not IsNull (ext_mgr) )
+-    if (IsNull(ext_mgr)) then
+-        Close #LocalTestLog%
+-        LocalTestLog = 0
+-        Exit Sub
+-    End If
+-
+-    sCurrentMessage = cMessageExtensionInstall
+-    gCurrentTestCase = cEXTInstall
+-
+-    &apos;Add the extension. We must provide a file URL here.
+-    &apos;By passing &quot;user&quot; we determine that the actions we perform on
+-    &apos;XExtensionManager only affect the user installation. To modify the share installation one would pass &quot;share&quot;.
+-
+-    Dim props() as Object
+-    ext_mgr.addExtension(sExtensionURL, props, &quot;user&quot;, obj_null, cmdEnv)
+-
+-    &apos;Check if the extension has been added by creating a service which is contained in the extension.
+-    oTestExtension = createUnoService(cUnoSmoketestTestExtension)
+-    bResult = (oTestExtension.getImplementationName = sImplementationNameString)
+-    LogTestResult( &quot;Extension &quot;+ cMessageExtensionInstall, bResult )
+-    if (not bResult) then
+-        Close #LocalTestLog%
+-        LocalTestLog = 0
+-        Exit Sub
+-    End If
+-
+-    sCurrentMessage = cMessageExtensionUninstall
+-    gCurrentTestCase = cEXTUninstall
+-
+-    &apos;Remove the package
+-    ext_mgr.removeExtension(&quot;org.libreoffice.smoketest.TestExtension&quot;, cExtensionFileName, &quot;user&quot;,obj_null, cmdEnv)
+-
+-    &apos;Try to create the service which is contained in the now removed extension.
+-    oTestExtension = createUnoService(cUnoSmoketestTestExtension)
+-
+-    &apos;The service must not be available anymore. Therefore isNull must return true.
+-    LogTestResult( &quot;Extension &quot;+ cMessageExtensionUninstall, IsNull (oTestExtension) )
+-
+-    Print #LocalTestLog, &quot;---&quot;
+-    Close #LocalTestLog%
+-    LocalTestLog = 0
+-    Exit Sub &apos; Without error
+-
+-    EXTERROR:
+-    If ( gCurrentTestCase = cLogfileFailed ) then
+-        LogTestResult( &quot; &quot;, False )
+-        Exit Sub
+-    else
+-        LogTestResult( &quot;Extension &quot;+ sCurrentMessage, False )
+-        Close #LocalTestLog%
+-        LocalTestLog = 0
+-    End If
+-    Exit Sub &apos; With error
+-
+ End Sub
+ </script:module>
diff --git a/debian/patches/sparc64.diff b/debian/patches/sparc64.diff
new file mode 100644 (file)
index 0000000..c506796
--- /dev/null
@@ -0,0 +1,2180 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -4357,6 +4357,11 @@
+         RTL_ARCH=SPARC
+         PLATFORMID=linux_sparc
+         ;;
++    sparc64)
++        CPUNAME=SPARC64
++        RTL_ARCH=SPARC64
++        PLATFORMID=linux_sparc64
++        ;;
+     s390)
+         CPUNAME=S390
+         RTL_ARCH=S390
+@@ -7130,6 +7135,9 @@
+             AS_IF([test -e "$JAVA_HOME/jre/lib/ppc64le/libjawt.so"], [my_java_arch=ppc64le], [my_java_arch=ppc64])
+             JAVA_ARCH=$my_java_arch
+             ;;
++        sparc64)
++            my_java_arch=sparcv9
++            ;;
+         x86_64)
+             my_java_arch=amd64
+             ;;
+--- a/desktop/source/deployment/misc/dp_platform.cxx
++++ b/desktop/source/deployment/misc/dp_platform.cxx
+@@ -94,6 +94,8 @@ namespace
+             ret = checkOSandCPU("Linux", "X86_64");
+         else if (token == "linux_sparc")
+             ret = checkOSandCPU("Linux", "SPARC");
++        else if (token == "linux_sparc64")
++            ret = checkOSandCPU("Linux", "SPARC64");
+         else if (token == "linux_powerpc")
+             ret = checkOSandCPU("Linux", "PowerPC");
+         else if (token == "linux_powerpc64")
+--- a/bridges/Library_cpp_uno.mk
++++ b/bridges/Library_cpp_uno.mk
+@@ -159,6 +159,13 @@ bridge_noopt_objects := cpp2uno uno2cpp
+ bridge_exception_objects := except
+ endif
++else ifeq ($(OS)-$(CPUNAME),LINUX-SPARC64)
++
++bridges_SELECTED_BRIDGE := gcc3_linux_sparc64
++bridge_asm_objects := call
++bridge_noopt_objects := cpp2uno uno2cpp
++bridge_exception_objects := except
++
+ else ifeq ($(CPUNAME),X86_64)
+ ifneq ($(filter DRAGONFLY FREEBSD LINUX NETBSD OPENBSD,$(OS)),)
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_sparc64/call.s
+@@ -0,0 +1,77 @@
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ *
++ * This file incorporates work covered by the following license notice:
++ *
++ *   Licensed to the Apache Software Foundation (ASF) under one or more
++ *   contributor license agreements. See the NOTICE file distributed
++ *   with this work for additional information regarding copyright
++ *   ownership. The ASF licenses this file to you under the Apache
++ *   License, Version 2.0 (the "License"); you may not use this file
++ *   except in compliance with the License. You may obtain a copy of
++ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
++ */
++
++.global doFlushCode
++doFlushCode:
++.L:     flush %o0
++        deccc %o1
++        bne .L
++        add %o0, 8, %o0
++        retl
++        nop
++.size doFlushCode,(.-doFlushCode)
++.align 8
++
++// %{o->i}0: index
++// %{o->i}1: pCallStack = %{s->f}p+2047
++// %{o->i}2: vtableOffset
++// %{o->i}3: cpp_vtable_call
++// %{o->i}4: frameSize (negative)
++// [%{s->f}p+2047+128]: param 0 ...
++        .file "call.s"
++        .text
++        .align 4
++        .global privateSnippetExecutor
++        .type privateSnippetExecutor, #function
++privateSnippetExecutor:
++.LFB0:
++        //// Already done by codeSnippet
++        .cfi_startproc
++        save %sp, -176, %sp
++        .cfi_window_save
++        // Register  8 (%o0) saved to register 24 (%i0)
++        .cfi_register  8, 24
++        // Register  9 (%o1) saved to register 25 (%i1)
++        .cfi_register  9, 25
++        // Register 10 (%o2) saved to register 26 (%i2)
++        .cfi_register 10, 26
++        // Register 11 (%o3) saved to register 27 (%i3)
++        .cfi_register 11, 27
++        // Register 12 (%o4) saved to register 28 (%i4)
++        .cfi_register 12, 28
++        // Register 15 (%o7) saved to register 31 (%i7)
++        .cfi_register 15, 31
++        // Use register 30 (%i6 - saved stack pointer) for Call Frame Address
++        .cfi_def_cfa_register 30
++        mov %i0, %o0
++        mov %i1, %o1
++        mov %i2, %o2
++        jmpl %i3, %o7
++        nop
++        mov %o0, %i0
++        mov %o1, %i1
++        mov %o2, %i2
++        mov %o3, %i3
++        ret
++        restore
++        .cfi_endproc
++.LFE0:
++        .size privateSnippetExecutor,(.-privateSnippetExecutor)
++        .section .note.GNU-stack,"",@progbits
++
++.align 8
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx
+@@ -0,0 +1,746 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ *
++ * This file incorporates work covered by the following license notice:
++ *
++ *   Licensed to the Apache Software Foundation (ASF) under one or more
++ *   contributor license agreements. See the NOTICE file distributed
++ *   with this work for additional information regarding copyright
++ *   ownership. The ASF licenses this file to you under the Apache
++ *   License, Version 2.0 (the "License"); you may not use this file
++ *   except in compliance with the License. You may obtain a copy of
++ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
++ */
++
++#include <com/sun/star/uno/genfunc.hxx>
++#include <sal/log.hxx>
++#include <typelib/typedescription.hxx>
++#include <uno/data.h>
++#include "bridges/cpp_uno/shared/bridge.hxx"
++#include "bridges/cpp_uno/shared/cppinterfaceproxy.hxx"
++#include "bridges/cpp_uno/shared/types.hxx"
++#include "bridges/cpp_uno/shared/vtablefactory.hxx"
++#include "share.hxx"
++
++#define GET_FP(n, p) \
++            __asm__( "ldx %0, %%l0\n\t" \
++                     "std %%f" #n ", [%%l0]\n" \
++                     : : "m"(p) );
++
++using namespace com::sun::star::uno;
++
++namespace CPPU_CURRENT_NAMESPACE
++{
++  bool is_complex_struct(const typelib_TypeDescription * type)
++  {
++      for (const typelib_CompoundTypeDescription * p
++              = reinterpret_cast< const typelib_CompoundTypeDescription * >(type);
++              p != NULL; p = p->pBaseTypeDescription)
++      {
++          for (sal_Int32 i = 0; i < p->nMembers; ++i)
++          {
++              if (p->ppTypeRefs[i]->eTypeClass == typelib_TypeClass_STRUCT ||
++                  p->ppTypeRefs[i]->eTypeClass == typelib_TypeClass_EXCEPTION)
++              {
++                  typelib_TypeDescription * t = 0;
++                  TYPELIB_DANGER_GET(&t, p->ppTypeRefs[i]);
++                  bool b = is_complex_struct(t);
++                  TYPELIB_DANGER_RELEASE(t);
++                  if (b) {
++                      return true;
++                  }
++              }
++              else if (!bridges::cpp_uno::shared::isSimpleType(p->ppTypeRefs[i]->eTypeClass))
++                  return true;
++          }
++      }
++      return false;
++  }
++
++  bool return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef )
++  {
++      if (bridges::cpp_uno::shared::isSimpleType(pTypeRef))
++          return false;
++      else if (pTypeRef->eTypeClass == typelib_TypeClass_STRUCT ||
++               pTypeRef->eTypeClass == typelib_TypeClass_EXCEPTION)
++      {
++          typelib_TypeDescription * pTypeDescr = 0;
++          TYPELIB_DANGER_GET( &pTypeDescr, pTypeRef );
++
++          //A Composite Type not larger than 32 bytes is returned in up to two GPRs
++          bool bRet = pTypeDescr->nSize > 32 || is_complex_struct(pTypeDescr);
++
++          TYPELIB_DANGER_RELEASE( pTypeDescr );
++          return bRet;
++      }
++      return true;
++  }
++}
++
++
++namespace
++{
++
++static typelib_TypeClass cpp2uno_call(
++     bridges::cpp_uno::shared::CppInterfaceProxy * pThis,
++    const typelib_TypeDescription * pMemberTypeDescr,
++    typelib_TypeDescriptionReference * pReturnTypeRef, // 0 indicates void return
++    sal_Int32 nParams, typelib_MethodParameter * pParams,
++    void ** pCallStack,
++    sal_Int64 * pRegisterReturn /* space for register return */ )
++{
++    // pCallStack: [ret ptr], this, params
++    char * pCppStack = (char *)pCallStack;
++
++    // return
++    typelib_TypeDescription * pReturnTypeDescr = 0;
++    if (pReturnTypeRef)
++        TYPELIB_DANGER_GET( &pReturnTypeDescr, pReturnTypeRef );
++
++    void * pUnoReturn = 0;
++    void * pCppReturn = 0; // complex return ptr: if != 0 && != pUnoReturn, reconversion need
++
++    int paramsOffset;
++    if (pReturnTypeDescr)
++    {
++        if (CPPU_CURRENT_NAMESPACE::return_in_hidden_param( pReturnTypeRef ) )
++        {
++            pCppReturn = *(void**)pCppStack; // complex return via ptr (pCppReturn)
++            pUnoReturn = (bridges::cpp_uno::shared::relatesToInterfaceType(
++                                   pReturnTypeDescr )
++                          ? alloca( pReturnTypeDescr->nSize )
++                          : pCppReturn); // direct way
++            pCppStack += sizeof( void* );
++            paramsOffset = 2;
++        }
++        else
++        {
++            pUnoReturn = pRegisterReturn; // direct way for simple types
++            paramsOffset = 1;
++        }
++    }
++    else
++    {
++        paramsOffset = 1;
++    }
++    // pop this
++    pCppStack += sizeof( void* );
++
++    // stack space
++    static_assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!");
++    // parameters
++    void ** pUnoArgs = (void **)alloca( 4 * sizeof(void *) * nParams );
++    void ** pCppArgs = pUnoArgs + nParams;
++    // indices of values this have to be converted (interface conversion cpp<=>uno)
++    sal_Int32 * pTempIndices = (sal_Int32 *)(pUnoArgs + (2 * nParams));
++    // type descriptions for reconversions
++    typelib_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pUnoArgs + (3 * nParams));
++
++    sal_Int32 nTempIndices   = 0;
++
++    for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos )
++    {
++        const typelib_MethodParameter & rParam = pParams[nPos];
++        typelib_TypeDescription * pParamTypeDescr = 0;
++        TYPELIB_DANGER_GET( &pParamTypeDescr, rParam.pTypeRef );
++
++        if (!rParam.bOut && bridges::cpp_uno::shared::isSimpleType( pParamTypeDescr ))  // value
++        {
++            pCppArgs[nPos] = pUnoArgs[nPos] = CPPU_CURRENT_NAMESPACE::adjustPointer(pCppStack, pParamTypeDescr);
++            switch (pParamTypeDescr->eTypeClass) {
++                case typelib_TypeClass_FLOAT:
++                case typelib_TypeClass_DOUBLE:
++                    {
++                        int paramArrayIdx = nPos + paramsOffset;
++                        assert(paramArrayIdx < nParams + paramsOffset);
++                        switch (paramArrayIdx) {
++                            // Cannot be 0 - paramsOffset >= 1
++                            case 1:
++                                GET_FP(2, pCppStack);
++                                break;
++                            case 2:
++                                GET_FP(4, pCppStack);
++                                break;
++                            case 3:
++                                GET_FP(6, pCppStack);
++                                break;
++                            case 4:
++                                GET_FP(8, pCppStack);
++                                break;
++                            case 5:
++                                GET_FP(10, pCppStack);
++                                break;
++                            case 6:
++                                GET_FP(12, pCppStack);
++                                break;
++                            case 7:
++                                GET_FP(14, pCppStack);
++                                break;
++                            case 8:
++                                GET_FP(16, pCppStack);
++                                break;
++                            case 9:
++                                GET_FP(18, pCppStack);
++                                break;
++                            case 10:
++                                GET_FP(20, pCppStack);
++                                break;
++                            case 11:
++                                GET_FP(22, pCppStack);
++                                break;
++                            case 12:
++                                GET_FP(24, pCppStack);
++                                break;
++                            case 13:
++                                GET_FP(26, pCppStack);
++                                break;
++                            case 14:
++                                GET_FP(28, pCppStack);
++                                break;
++                            case 15:
++                                GET_FP(30, pCppStack);
++                                break;
++                                // Anything larger is passed on the stack
++                        }
++                        break;
++                    }
++                default:
++                    break;
++            }
++            // no longer needed
++            TYPELIB_DANGER_RELEASE( pParamTypeDescr );
++        }
++        else // ptr to complex value | ref
++        {
++            pCppArgs[nPos] = *(void **)pCppStack;
++
++            if (! rParam.bIn) // is pure out
++            {
++                // uno out is unconstructed mem!
++                pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize );
++                pTempIndices[nTempIndices] = nPos;
++                // will be released at reconversion
++                ppTempParamTypeDescr[nTempIndices++] = pParamTypeDescr;
++            }
++            // is in/inout
++            else if (bridges::cpp_uno::shared::relatesToInterfaceType(
++                              pParamTypeDescr ))
++            {
++                uno_copyAndConvertData( pUnoArgs[nPos] = alloca( pParamTypeDescr->nSize ),
++                                        *(void **)pCppStack, pParamTypeDescr,
++                                          pThis->getBridge()->getCpp2Uno() );
++                pTempIndices[nTempIndices] = nPos; // has to be reconverted
++                // will be released at reconversion
++                ppTempParamTypeDescr[nTempIndices++] = pParamTypeDescr;
++            }
++            else // direct way
++            {
++                pUnoArgs[nPos] = *(void **)pCppStack;
++                // no longer needed
++                TYPELIB_DANGER_RELEASE( pParamTypeDescr );
++            }
++        }
++        pCppStack += sizeof(sal_Int64); // standard parameter length
++    }
++
++    // ExceptionHolder
++    uno_Any aUnoExc; // Any will be constructed by callee
++    uno_Any * pUnoExc = &aUnoExc;
++
++    // invoke uno dispatch call
++    (*pThis->getUnoI()->pDispatcher)(pThis->getUnoI(), pMemberTypeDescr, pUnoReturn, pUnoArgs, &pUnoExc );
++
++    // in case an exception occurred...
++    if (pUnoExc)
++    {
++        // destruct temporary in/inout params
++        for ( ; nTempIndices--; )
++        {
++            sal_Int32 nIndex = pTempIndices[nTempIndices];
++
++            if (pParams[nIndex].bIn) // is in/inout => was constructed
++                uno_destructData( pUnoArgs[nIndex], ppTempParamTypeDescr[nTempIndices], 0 );
++            TYPELIB_DANGER_RELEASE( ppTempParamTypeDescr[nTempIndices] );
++        }
++        if (pReturnTypeDescr)
++            TYPELIB_DANGER_RELEASE( pReturnTypeDescr );
++        CPPU_CURRENT_NAMESPACE::raiseException(&aUnoExc, pThis->getBridge()->getUno2Cpp() );
++                 // has to destruct the any
++        // is here for dummy
++        return typelib_TypeClass_VOID;
++    }
++    else // else no exception occurred...
++    {
++        // temporary params
++        for ( ; nTempIndices--; )
++        {
++            sal_Int32 nIndex = pTempIndices[nTempIndices];
++            typelib_TypeDescription * pParamTypeDescr = ppTempParamTypeDescr[nTempIndices];
++
++            if (pParams[nIndex].bOut) // inout/out
++            {
++                // convert and assign
++                uno_destructData( pCppArgs[nIndex], pParamTypeDescr, cpp_release );
++                uno_copyAndConvertData( pCppArgs[nIndex], pUnoArgs[nIndex], pParamTypeDescr,
++                                    pThis->getBridge()->getUno2Cpp() );
++            }
++            // destroy temp uno param
++            uno_destructData( pUnoArgs[nIndex], pParamTypeDescr, 0 );
++
++            TYPELIB_DANGER_RELEASE( pParamTypeDescr );
++        }
++        // return
++        if (pCppReturn) // has complex return
++        {
++            if (pUnoReturn != pCppReturn) // needs reconversion
++            {
++                uno_copyAndConvertData( pCppReturn, pUnoReturn, pReturnTypeDescr,
++                                        pThis->getBridge()->getUno2Cpp() );
++                // destroy temp uno return
++                uno_destructData( pUnoReturn, pReturnTypeDescr, 0 );
++            }
++            // complex return ptr is set to eax
++            *(void **)pRegisterReturn = pCppReturn;
++        }
++        if (pReturnTypeDescr)
++        {
++            typelib_TypeClass eRet = (typelib_TypeClass)pReturnTypeDescr->eTypeClass;
++            TYPELIB_DANGER_RELEASE( pReturnTypeDescr );
++            return eRet;
++        }
++        else
++            return typelib_TypeClass_VOID;
++    }
++}
++
++
++static typelib_TypeClass cpp_mediate(
++    sal_Int32   nFunctionIndex,
++    sal_Int32   nVtableOffset,
++    void ** pCallStack,
++    sal_Int64 * pRegisterReturn /* space for register return */ )
++{
++    static_assert(sizeof(sal_Int64)==sizeof(void *), "### unexpected!");
++
++    // pCallStack: [ret*], this, params
++    void * pThis;
++    if (nFunctionIndex & 0x80000000)
++    {
++        nFunctionIndex &= 0x7fffffff;
++        pThis = pCallStack[1];
++    }
++    else
++    {
++        pThis = pCallStack[0];
++    }
++
++    pThis = static_cast< char * >(pThis) - nVtableOffset;
++    bridges::cpp_uno::shared::CppInterfaceProxy * pCppI =
++        bridges::cpp_uno::shared::CppInterfaceProxy::castInterfaceToProxy( pThis );
++
++    typelib_InterfaceTypeDescription * pTypeDescr = pCppI->getTypeDescr();
++
++    if (nFunctionIndex >= pTypeDescr->nMapFunctionIndexToMemberIndex)
++    {
++        SAL_WARN(
++            "bridges",
++            "illegal " << OUString::unacquired(&pTypeDescr->aBase.pTypeName)
++                << " vtable index " << nFunctionIndex << "/"
++                << pTypeDescr->nMapFunctionIndexToMemberIndex);
++        throw RuntimeException(
++            ("illegal " + OUString::unacquired(&pTypeDescr->aBase.pTypeName)
++             + " vtable index " + OUString::number(nFunctionIndex) + "/"
++             + OUString::number(pTypeDescr->nMapFunctionIndexToMemberIndex)),
++            (XInterface *)pCppI);
++    }
++
++    // determine called method
++    sal_Int32 nMemberPos = pTypeDescr->pMapFunctionIndexToMemberIndex[nFunctionIndex];
++    assert(nMemberPos < pTypeDescr->nAllMembers);
++
++    TypeDescription aMemberDescr( pTypeDescr->ppAllMembers[nMemberPos] );
++
++#if defined BRIDGES_DEBUG
++    OString cstr( OUStringToOString( aMemberDescr.get()->pTypeName, RTL_TEXTENCODING_ASCII_US ) );
++    fprintf( stderr, "calling %s, nFunctionIndex=%d\n", cstr.getStr(), nFunctionIndex );
++#endif
++
++    typelib_TypeClass eRet;
++    switch (aMemberDescr.get()->eTypeClass)
++    {
++    case typelib_TypeClass_INTERFACE_ATTRIBUTE:
++    {
++        if (pTypeDescr->pMapMemberIndexToFunctionIndex[nMemberPos] == nFunctionIndex)
++        {
++            // is GET method
++            eRet = cpp2uno_call(
++                pCppI, aMemberDescr.get(),
++                ((typelib_InterfaceAttributeTypeDescription *)aMemberDescr.get())->pAttributeTypeRef,
++                0, 0, // no params
++                pCallStack, pRegisterReturn );
++        }
++        else
++        {
++            // is SET method
++            typelib_MethodParameter aParam;
++            aParam.pTypeRef =
++                ((typelib_InterfaceAttributeTypeDescription *)aMemberDescr.get())->pAttributeTypeRef;
++            aParam.bIn      = sal_True;
++            aParam.bOut     = sal_False;
++
++            eRet = cpp2uno_call(
++                pCppI, aMemberDescr.get(),
++                0, // indicates void return
++                1, &aParam,
++                pCallStack, pRegisterReturn );
++        }
++        break;
++    }
++    case typelib_TypeClass_INTERFACE_METHOD:
++    {
++        // is METHOD
++        switch (nFunctionIndex)
++        {
++        case 1: // acquire()
++            pCppI->acquireProxy(); // non virtual call!
++            eRet = typelib_TypeClass_VOID;
++            break;
++        case 2: // release()
++            pCppI->releaseProxy(); // non virtual call!
++            eRet = typelib_TypeClass_VOID;
++            break;
++        case 0: // queryInterface() opt
++        {
++            typelib_TypeDescription * pTD = 0;
++            TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pCallStack[2] )->getTypeLibType() );
++            if (pTD)
++            {
++                XInterface * pInterface = 0;
++        (*pCppI->getBridge()->getCppEnv()->getRegisteredInterface)(
++            pCppI->getBridge()->getCppEnv(),
++            (void **)&pInterface, pCppI->getOid().pData, (typelib_InterfaceTypeDescription *)pTD );
++
++                if (pInterface)
++                {
++                    ::uno_any_construct(
++                        reinterpret_cast< uno_Any * >( pCallStack[0] ),
++                        &pInterface, pTD, cpp_acquire );
++                    pInterface->release();
++                    TYPELIB_DANGER_RELEASE( pTD );
++                    *(void **)pRegisterReturn = pCallStack[0];
++                    eRet = typelib_TypeClass_ANY;
++                    break;
++                }
++                TYPELIB_DANGER_RELEASE( pTD );
++            }
++        } // else perform queryInterface()
++        default:
++            eRet = cpp2uno_call(
++                pCppI, aMemberDescr.get(),
++                ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pReturnTypeRef,
++                ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->nParams,
++                ((typelib_InterfaceMethodTypeDescription *)aMemberDescr.get())->pParams,
++                pCallStack, pRegisterReturn );
++        }
++        break;
++    }
++    default:
++    {
++        throw RuntimeException( "no member description found!", (XInterface *)pCppI );
++    }
++    }
++    return eRet;
++}
++
++
++
++/**
++ * is called on incoming vtable calls
++ * (called by asm snippets)
++ */
++static void cpp_vtable_call(int nFunctionIndex, void** pCallStack, int vTableOffset)
++{
++    sal_Int64 nRegReturn[4] = { 0 };
++    void * pRegReturn = &nRegReturn[0];
++
++    //__asm__( "st %%i0, %0\n\t"
++    //        "stx %%i1, %1\n\t"
++    //         "st %%i2, %2\n\t"
++    //        : : "m"(nFunctionIndex), "m"(pCallStack), "m"(vTableOffset) );
++
++//  fprintf(stderr,"cpp_mediate nFunctionIndex=%x\n",nFunctionIndex);
++//  fflush(stderr);
++
++    //const sal_Bool bComplex = (nFunctionIndex & 0x80000000) ? sal_True : sal_False;
++    typelib_TypeClass aType =
++        cpp_mediate( nFunctionIndex, vTableOffset, pCallStack+16, (sal_Int64*)&nRegReturn );
++
++    switch( aType )
++    {
++        case typelib_TypeClass_BOOLEAN:
++        case typelib_TypeClass_BYTE:
++            __asm__( "ldx %0, %%l0\n\t"
++                     "ldsb [%%l0], %%i0\n"
++                     : : "m"(pRegReturn) );
++            break;
++        case typelib_TypeClass_CHAR:
++        case typelib_TypeClass_SHORT:
++        case typelib_TypeClass_UNSIGNED_SHORT:
++            __asm__( "ldx %0, %%l0\n\t"
++                     "ldsh [%%l0], %%i0\n"
++                     : : "m"(pRegReturn) );
++            break;
++        case typelib_TypeClass_ENUM:
++        case typelib_TypeClass_LONG:
++        case typelib_TypeClass_UNSIGNED_LONG:
++            __asm__( "ldx %0, %%l0\n\t"
++                     "ld [%%l0], %%i0\n"
++                     : : "m"(pRegReturn) );
++            break;
++        case typelib_TypeClass_HYPER:
++        case typelib_TypeClass_UNSIGNED_HYPER:
++            __asm__( "ldx %0, %%l0\n\t"
++                     "ldx [%%l0], %%i0\n\t"
++                      : : "m"(pRegReturn) );
++            break;
++        case typelib_TypeClass_FLOAT:
++            __asm__( "ldx %0, %%l0\n\t"
++                     "ld [%%l0], %%f0\n"
++                     : : "m"(pRegReturn) );
++            break;
++        case typelib_TypeClass_DOUBLE:
++            __asm__( "ldx %0, %%l0\n\t"
++                     "ldd [%%l0], %%f0\n"
++                     : : "m"(pRegReturn) );
++            break;
++        case typelib_TypeClass_VOID:
++            break;
++        case typelib_TypeClass_STRUCT:
++        case typelib_TypeClass_EXCEPTION:
++            __asm__( "ldx %0, %%l0\n\t"
++                     "ldx [%%l0   ], %%i0\n\t"
++                     "ldx [%%l0+ 8], %%i1\n\t"
++                     "ldx [%%l0+16], %%i2\n\t"
++                     "ldx [%%l0+24], %%i3\n\t"
++                     "ldd [%%l0   ], %%f0\n\t"
++                     "ldd [%%l0+ 8], %%f2\n\t"
++                     "ldd [%%l0+16], %%f4\n\t"
++                     "ldd [%%l0+24], %%f6\n\t"
++                      : : "m"(pRegReturn) );
++            break;
++        default:
++            break;
++    }
++
++    //if( bComplex )
++    //{
++    //    __asm__( "add %i7, 4, %i7\n\t" );
++    //    // after call to complex return valued funcion there is an unimp instruction
++    //}
++
++}
++
++extern "C" void privateSnippetExecutor(...);
++
++int const codeSnippetSize = 120;
++unsigned char * codeSnippet(
++    unsigned char * code, sal_Int32 functionIndex, sal_Int32 vtableOffset,
++    bool bHasHiddenParam, sal_Int32 nParams)
++{
++    sal_uInt32 index = functionIndex;
++    if (bHasHiddenParam) {
++        index |= 0x80000000;
++    }
++    unsigned int * p = reinterpret_cast< unsigned int * >(code);
++    static_assert(sizeof (unsigned int) == 4, "boo");
++    static_assert(sizeof (unsigned long long) == 8, "boo");
++    ++nParams; // implicit this ptr
++    if (bHasHiddenParam) {
++        ++nParams;
++    }
++    long long frameSize;
++    if (nParams > 6) {
++        frameSize = 128 + nParams * 8;
++    } else {
++        frameSize = 176;
++    }
++    assert(frameSize <= 4096);
++    frameSize = -frameSize;
++    switch (nParams) {
++    default:
++        assert(nParams >= 6);
++        // stx %o5, [%sp+168+2047]:
++        *p++ = 0xDA73A8A7;
++    case 5:
++        // stx %o4, [%sp+160+2047]:
++        *p++ = 0xD873A89F;
++    case 4:
++        // stx %o3, [%sp+152+2047]:
++        *p++ = 0xD673A897;
++    case 3:
++        // stx %o2, [%sp+144+2047]:
++        *p++ = 0xD473A88F;
++    case 2:
++        // stx %o1, [%sp+136+2047]:
++        *p++ = 0xD273A887;
++    case 1:
++        // stx %o0, [%sp+128+2047]:
++        *p++ = 0xD073A87F;
++    case 0:
++        break;
++    }
++    // sethi %hi(index), %o0:
++    *p++ = 0x11000000 | (index >> 10);
++    // or %o0, %lo(index), %o0:
++    *p++ = 0x90122000 | (index & 0x3FF);
++    // sethi %hh(cpp_vtable_call), %o3:
++    *p++ = 0x17000000 | (reinterpret_cast< unsigned long long >(cpp_vtable_call) >> 42);
++    // or %o3, %hm(cpp_vtable_call), %o3:
++    *p++ = 0x9612E000 | ((reinterpret_cast< unsigned long long >(cpp_vtable_call) >> 32) & 0x3FF);
++    // sllx %o3, 32, %o3
++    *p++ = 0x972AF020;
++    // sethi %lm(cpp_vtable_call), %o2:
++    *p++ = 0x15000000 | ((reinterpret_cast< unsigned long long >(cpp_vtable_call) >> 10) & 0x3FFFFF);
++    // or %o2, %lo(cpp_vtable_call), %o2:
++    *p++ = 0x9412A000 | (reinterpret_cast< unsigned long long >(cpp_vtable_call) & 0x3FF);
++    // or %o2, %o3, %o3:
++    *p++ = 0x9612800B;
++    // sethi %hh(privateSnippetExecutor), %o1:
++    *p++ = 0x13000000 | (reinterpret_cast< unsigned long long >(privateSnippetExecutor) >> 42);
++    // or %o1, %hm(privateSnippetExecutor), %o1:
++    *p++ = 0x92126000 | ((reinterpret_cast< unsigned long long >(privateSnippetExecutor) >> 32) & 0x3FF);
++    // sllx %o1, 32, %o1:
++    *p++ = 0x932a7020;
++    // sethi %lm(privateSnippetExecutor), %o2:
++    *p++ = 0x15000000 | ((reinterpret_cast< unsigned long long >(privateSnippetExecutor) >> 10) & 0x3FFFFF);
++    // or %o2, %lo(privateSnippetExecutor), %o2:
++    *p++ = 0x9412A000 | (reinterpret_cast< unsigned long long >(privateSnippetExecutor) & 0x3FF);
++    // or %o2, %o1, %o1:
++    *p++ = 0x92128009;
++    // sethi %hh(frameSize), %o4:
++    *p++ = 0x19000000 | (*reinterpret_cast< unsigned long long * >(&frameSize) >> 42);
++    // or %o4, %hm(frameSize), %o4:
++    *p++ = 0x98132000 | ((*reinterpret_cast< unsigned long long * >(&frameSize) >> 32) & 0x3FF);
++    // sllx %o4, 32, %o4
++    *p++ = 0x992B3020;
++    // sethi %lm(frameSize), %o2:
++    *p++ = 0x15000000 | ((*reinterpret_cast< unsigned long long * >(&frameSize) >> 10) & 0x3FFFFF);
++    // or %o2, %lo(frameSize), %o2:
++    *p++ = 0x9412A000 | (*reinterpret_cast< unsigned long long * >(&frameSize) & 0x3FF);
++    // or %o2, %o4, %o4:
++    *p++ = 0x9812800C;
++    // sethi %hi(vtableOffset), %o2:
++    *p++ = 0x15000000 | (vtableOffset >> 10);
++    // or %o2, %lo(vtableOffset), %o2:
++    *p++ = 0x9412A000 | (vtableOffset & 0x3FF);
++    // save %sp, -frameSize, %sp
++    //*p++ = 0x9DE3A000 | (*reinterpret_cast< unsigned int * >(&frameSize) & 0x1FFF);
++    // jmpl %o1, %g0:
++    *p++ = 0x81C24000;
++    // add %sp, 2047, %o1:
++    *p++ = 0x9203A7FF;
++    assert(reinterpret_cast< unsigned char * >(p) - code <= codeSnippetSize);
++    return code + codeSnippetSize;
++}
++
++} //end of namespace
++
++struct bridges::cpp_uno::shared::VtableFactory::Slot { void * fn; };
++
++bridges::cpp_uno::shared::VtableFactory::Slot *
++bridges::cpp_uno::shared::VtableFactory::mapBlockToVtable(void * block)
++{
++    return static_cast< Slot * >(block) + 2;
++}
++
++sal_Size bridges::cpp_uno::shared::VtableFactory::getBlockSize(
++    sal_Int32 slotCount)
++{
++    return (slotCount + 2) * sizeof (Slot) + slotCount * codeSnippetSize;
++}
++
++bridges::cpp_uno::shared::VtableFactory::Slot *
++bridges::cpp_uno::shared::VtableFactory::initializeBlock(
++    void * block, sal_Int32 slotCount, sal_Int32,
++    typelib_InterfaceTypeDescription *)
++{
++    Slot * slots = mapBlockToVtable(block);
++    slots[-2].fn = 0; //null
++    slots[-1].fn = 0; //destructor
++    return slots + slotCount;
++}
++
++unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
++    Slot ** slots, unsigned char * code, sal_PtrDiff writetoexecdiff,
++    typelib_InterfaceTypeDescription const * type, sal_Int32 functionOffset,
++    sal_Int32 functionCount, sal_Int32 vTableOffset)
++{
++    (*slots) -= functionCount;
++    Slot * s = *slots;
++    for (sal_Int32 i = 0; i < type->nMembers; ++i) {
++        typelib_TypeDescription * member = 0;
++        TYPELIB_DANGER_GET(&member, type->ppMembers[i]);
++        assert(member != 0);
++        switch (member->eTypeClass) {
++        case typelib_TypeClass_INTERFACE_ATTRIBUTE:
++            // Getter:
++            (s++)->fn = code + writetoexecdiff;
++            code = codeSnippet(
++                code, functionOffset++, vTableOffset,
++                CPPU_CURRENT_NAMESPACE::return_in_hidden_param(
++                    reinterpret_cast<
++            typelib_InterfaceAttributeTypeDescription * >(
++            member)->pAttributeTypeRef), 0);
++            // Setter:
++            if (!reinterpret_cast<
++                typelib_InterfaceAttributeTypeDescription * >(
++                    member)->bReadOnly)
++            {
++                (s++)->fn = code + writetoexecdiff;
++                code = codeSnippet(code, functionOffset++, vTableOffset, false, 1);
++            }
++            break;
++
++        case typelib_TypeClass_INTERFACE_METHOD:
++            (s++)->fn = code + writetoexecdiff;
++            code = codeSnippet(
++                code, functionOffset++, vTableOffset,
++                CPPU_CURRENT_NAMESPACE::return_in_hidden_param(
++                    reinterpret_cast<
++                    typelib_InterfaceMethodTypeDescription * >(
++                        member)->pReturnTypeRef),
++                reinterpret_cast<
++                typelib_InterfaceMethodTypeDescription * >(
++                    member)->nParams);
++            break;
++
++        default:
++            assert(false);
++            break;
++        }
++        TYPELIB_DANGER_RELEASE(member);
++    }
++    return code;
++}
++
++// use flush code from cc50_solaris_sparc
++
++extern "C" void doFlushCode(unsigned long address, unsigned long count);
++
++void bridges::cpp_uno::shared::VtableFactory::flushCode(
++    unsigned char const * begin, unsigned char const * end)
++{
++    unsigned long n = end - begin;
++    if (n != 0) {
++        unsigned long adr = reinterpret_cast< unsigned long >(begin);
++        unsigned long off = adr & 7;
++        doFlushCode(adr - off, (n + off + 7) >> 3);
++    }
++}
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_sparc64/except.cxx
+@@ -0,0 +1,301 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ *
++ * This file incorporates work covered by the following license notice:
++ *
++ *   Licensed to the Apache Software Foundation (ASF) under one or more
++ *   contributor license agreements. See the NOTICE file distributed
++ *   with this work for additional information regarding copyright
++ *   ownership. The ASF licenses this file to you under the Apache
++ *   License, Version 2.0 (the "License"); you may not use this file
++ *   except in compliance with the License. You may obtain a copy of
++ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
++ */
++
++#include <stdio.h>
++#include <string.h>
++#include <dlfcn.h>
++#include <cxxabi.h>
++#include <rtl/strbuf.hxx>
++#include <rtl/ustrbuf.hxx>
++#include <sal/log.hxx>
++#include <osl/mutex.hxx>
++
++#include <com/sun/star/uno/genfunc.hxx>
++#include <typelib/typedescription.hxx>
++#include <uno/any2.h>
++#include <unordered_map>
++#include "share.hxx"
++
++
++using namespace ::std;
++using namespace ::osl;
++using namespace ::com::sun::star::uno;
++using namespace ::__cxxabiv1;
++
++
++namespace CPPU_CURRENT_NAMESPACE
++{
++
++void dummy_can_throw_anything( char const * )
++{
++}
++
++static OUString toUNOname( char const * p )
++{
++#if defined BRIDGES_DEBUG
++    char const * start = p;
++#endif
++
++    // example: N3com3sun4star4lang24IllegalArgumentExceptionE
++
++    OUStringBuffer buf( 64 );
++    assert( 'N' == *p );
++    ++p; // skip N
++
++    while ('E' != *p)
++    {
++        // read chars count
++        long n = (*p++ - '0');
++        while ('0' <= *p && '9' >= *p)
++        {
++            n *= 10;
++            n += (*p++ - '0');
++        }
++        buf.appendAscii( p, n );
++        p += n;
++        if ('E' != *p)
++            buf.append( '.' );
++    }
++
++#if defined BRIDGES_DEBUG
++    OUString ret( buf.makeStringAndClear() );
++    OString c_ret( OUStringToOString( ret, RTL_TEXTENCODING_ASCII_US ) );
++    fprintf( stderr, "> toUNOname(): %s => %s\n", start, c_ret.getStr() );
++    return ret;
++#else
++    return buf.makeStringAndClear();
++#endif
++}
++
++class RTTI
++{
++    typedef std::unordered_map< OUString, type_info *, OUStringHash > t_rtti_map;
++
++    Mutex m_mutex;
++    t_rtti_map m_rttis;
++    t_rtti_map m_generatedRttis;
++
++    void * m_hApp;
++
++public:
++    RTTI();
++    ~RTTI();
++
++    type_info * getRTTI( typelib_CompoundTypeDescription * );
++};
++
++RTTI::RTTI()
++    : m_hApp( dlopen( 0, RTLD_LAZY ) )
++{
++}
++
++RTTI::~RTTI()
++{
++    dlclose( m_hApp );
++}
++
++
++type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr )
++{
++    type_info * rtti;
++
++    OUString const & unoName = *(OUString const *)&pTypeDescr->aBase.pTypeName;
++
++    MutexGuard guard( m_mutex );
++    t_rtti_map::const_iterator iFind( m_rttis.find( unoName ) );
++    if (iFind == m_rttis.end())
++    {
++        // RTTI symbol
++        OStringBuffer buf( 64 );
++        buf.append( "_ZTIN" );
++        sal_Int32 index = 0;
++        do
++        {
++            OUString token( unoName.getToken( 0, '.', index ) );
++            buf.append( token.getLength() );
++            OString c_token( OUStringToOString( token, RTL_TEXTENCODING_ASCII_US ) );
++            buf.append( c_token );
++        }
++        while (index >= 0);
++        buf.append( 'E' );
++
++        OString symName( buf.makeStringAndClear() );
++        rtti = (type_info *)dlsym( m_hApp, symName.getStr() );
++
++        if (rtti)
++        {
++            pair< t_rtti_map::iterator, bool > insertion(
++                m_rttis.insert( t_rtti_map::value_type( unoName, rtti ) ) );
++            assert(insertion.second);
++        }
++        else
++        {
++            // try to lookup the symbol in the generated rtti map
++            t_rtti_map::const_iterator iiFind( m_generatedRttis.find( unoName ) );
++            if (iiFind == m_generatedRttis.end())
++            {
++                // we must generate it !
++                // symbol and rtti-name is nearly identical,
++                // the symbol is prefixed with _ZTI
++                char const * rttiName = symName.getStr() +4;
++#if defined BRIDGES_DEBUG
++                fprintf( stderr,"generated rtti for %s\n", rttiName );
++#endif
++                if (pTypeDescr->pBaseTypeDescription)
++                {
++                    // ensure availability of base
++                    type_info * base_rtti = getRTTI(
++                        (typelib_CompoundTypeDescription *)pTypeDescr->pBaseTypeDescription );
++                    rtti = new __si_class_type_info(
++                        strdup( rttiName ), (__class_type_info *)base_rtti );
++                }
++                else
++                {
++                    // this class has no base class
++                    rtti = new __class_type_info( strdup( rttiName ) );
++                }
++
++                pair< t_rtti_map::iterator, bool > insertion(
++                    m_generatedRttis.insert( t_rtti_map::value_type( unoName, rtti ) ) );
++                assert(insertion.second);
++            }
++            else // taking already generated rtti
++            {
++                rtti = iiFind->second;
++            }
++        }
++    }
++    else
++    {
++        rtti = iFind->second;
++    }
++
++    return rtti;
++}
++
++
++static void deleteException( void * pExc )
++{
++    __cxa_exception const * header = ((__cxa_exception const *)pExc - 1);
++    typelib_TypeDescription * pTD = 0;
++    OUString unoName( toUNOname( header->exceptionType->name() ) );
++    ::typelib_typedescription_getByName( &pTD, unoName.pData );
++    assert(pTD && "### unknown exception type! leaving out destruction => leaking!!!");
++    if (pTD)
++    {
++        ::uno_destructData( pExc, pTD, cpp_release );
++        ::typelib_typedescription_release( pTD );
++    }
++}
++
++void raiseException( uno_Any * pUnoExc, uno_Mapping * pUno2Cpp )
++{
++#if defined BRIDGES_DEBUG
++    OString cstr(
++        OUStringToOString(
++            OUString::unacquired( &pUnoExc->pType->pTypeName ),
++            RTL_TEXTENCODING_ASCII_US ) );
++    fprintf( stderr, "> uno exception occurred: %s\n", cstr.getStr() );
++#endif
++    void * pCppExc;
++    type_info * rtti;
++
++    {
++    // construct cpp exception object
++    typelib_TypeDescription * pTypeDescr = 0;
++    TYPELIB_DANGER_GET( &pTypeDescr, pUnoExc->pType );
++    assert(pTypeDescr);
++    if (! pTypeDescr)
++    {
++        throw RuntimeException(
++            OUString("cannot get typedescription for type ") +
++            OUString::unacquired( &pUnoExc->pType->pTypeName ) );
++    }
++
++    pCppExc = __cxa_allocate_exception( pTypeDescr->nSize );
++    ::uno_copyAndConvertData( pCppExc, pUnoExc->pData, pTypeDescr, pUno2Cpp );
++
++    // destruct uno exception
++    ::uno_any_destruct( pUnoExc, 0 );
++    // avoiding locked counts
++    static RTTI * s_rtti = 0;
++    if (! s_rtti)
++    {
++        MutexGuard guard( Mutex::getGlobalMutex() );
++        if (! s_rtti)
++        {
++#ifdef LEAK_STATIC_DATA
++            s_rtti = new RTTI();
++#else
++            static RTTI rtti_data;
++            s_rtti = &rtti_data;
++#endif
++        }
++    }
++    rtti = (type_info *)s_rtti->getRTTI( (typelib_CompoundTypeDescription *) pTypeDescr );
++    TYPELIB_DANGER_RELEASE( pTypeDescr );
++    assert(rtti);
++    if (! rtti)
++    {
++        throw RuntimeException(
++            OUString("no rtti for type ") +
++            OUString::unacquired( &pUnoExc->pType->pTypeName )
++             );
++    }
++    }
++
++    __cxa_throw( pCppExc, rtti, deleteException );
++}
++
++void fillUnoException( __cxa_exception * header, uno_Any * pUnoExc, uno_Mapping * pCpp2Uno )
++{
++    if (! header)
++    {
++        RuntimeException aRE( "no exception header!" );
++        Type const & rType = cppu::UnoType<decltype(aRE)>::get();
++        uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno );
++        SAL_WARN("bridges", aRE.Message);
++        return;
++    }
++
++    typelib_TypeDescription * pExcTypeDescr = 0;
++    OUString unoName( toUNOname( header->exceptionType->name() ) );
++#if defined BRIDGES_DEBUG
++    OString cstr_unoName( OUStringToOString( unoName, RTL_TEXTENCODING_ASCII_US ) );
++    fprintf( stderr, "> c++ exception occurred: %s\n", cstr_unoName.getStr() );
++#endif
++    typelib_typedescription_getByName( &pExcTypeDescr, unoName.pData );
++    if (0 == pExcTypeDescr)
++    {
++        RuntimeException aRE( OUString("exception type not found: ") + unoName );
++        Type const & rType = cppu::UnoType<decltype(aRE)>::get();
++        uno_type_any_constructAndConvert( pUnoExc, &aRE, rType.getTypeLibType(), pCpp2Uno );
++        SAL_WARN("bridges", aRE.Message);
++    }
++    else
++    {
++        // construct uno exception any
++        uno_any_constructAndConvert( pUnoExc, header->adjustedPtr, pExcTypeDescr, pCpp2Uno );
++        typelib_typedescription_release( pExcTypeDescr );
++    }
++}
++
++}
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_sparc64/share.hxx
+@@ -0,0 +1,100 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ *
++ * This file incorporates work covered by the following license notice:
++ *
++ *   Licensed to the Apache Software Foundation (ASF) under one or more
++ *   contributor license agreements. See the NOTICE file distributed
++ *   with this work for additional information regarding copyright
++ *   ownership. The ASF licenses this file to you under the Apache
++ *   License, Version 2.0 (the "License"); you may not use this file
++ *   except in compliance with the License. You may obtain a copy of
++ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
++ */
++#ifndef INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_LINUX_SPARC64_SHARE_HXX
++#define INCLUDED_BRIDGES_SOURCE_CPP_UNO_GCC3_LINUX_SPARC64_SHARE_HXX
++
++#include "uno/mapping.h"
++#include <typeinfo>
++#include <exception>
++#include <cstddef>
++namespace CPPU_CURRENT_NAMESPACE
++{
++void dummy_can_throw_anything( char const * );
++// ----- following decl from libstdc++-v3/libsupc++/unwind-cxx.h and unwind.h
++
++struct _Unwind_Exception
++{
++    unsigned exception_class __attribute__((__mode__(__DI__)));
++    void * exception_cleanup;
++    unsigned private_1 __attribute__((__mode__(__word__)));
++    unsigned private_2 __attribute__((__mode__(__word__)));
++} __attribute__((__aligned__));
++
++struct __cxa_exception
++{
++    ::std::type_info *exceptionType;
++    void (*exceptionDestructor)(void *);
++
++    ::std::unexpected_handler unexpectedHandler;
++    ::std::terminate_handler terminateHandler;
++
++    __cxa_exception *nextException;
++
++    int handlerCount;
++
++    int handlerSwitchValue;
++    const unsigned char *actionRecord;
++    const unsigned char *languageSpecificData;
++    void *catchTemp;
++    void *adjustedPtr;
++
++    _Unwind_Exception unwindHeader;
++};
++
++extern "C" void *__cxa_allocate_exception(
++    std::size_t thrown_size ) throw();
++extern "C" void __cxa_throw (
++    void *thrown_exception, std::type_info *tinfo, void (*dest) (void *) ) __attribute__((noreturn));
++
++struct __cxa_eh_globals
++{
++    __cxa_exception *caughtExceptions;
++    unsigned int uncaughtExceptions;
++};
++extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
++
++void raiseException(
++    uno_Any * pUnoExc, uno_Mapping * pUno2Cpp );
++
++void fillUnoException(
++    __cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno );
++
++bool return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef );
++
++inline char* adjustPointer( char* pIn, typelib_TypeDescription* pType )
++{
++    switch( pType->nSize )
++    {
++        case 1: return pIn + 7;
++        case 2: return pIn + 6;
++        case 3: return pIn + 5;
++        case 4: return pIn + 4;
++        case 5: return pIn + 3;
++        case 6: return pIn + 2;
++        case 7: return pIn + 1;
++            // Huh ? perhaps a char[3] ? Though that would be a pointer
++            // well, we have it anyway for symmetry
++    }
++    return pIn;
++}
++
++}
++
++#endif
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+--- /dev/null
++++ b/bridges/source/cpp_uno/gcc3_linux_sparc64/uno2cpp.cxx
+@@ -0,0 +1,836 @@
++/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
++/*
++ * This file is part of the LibreOffice project.
++ *
++ * This Source Code Form is subject to the terms of the Mozilla Public
++ * License, v. 2.0. If a copy of the MPL was not distributed with this
++ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
++ *
++ * This file incorporates work covered by the following license notice:
++ *
++ *   Licensed to the Apache Software Foundation (ASF) under one or more
++ *   contributor license agreements. See the NOTICE file distributed
++ *   with this work for additional information regarding copyright
++ *   ownership. The ASF licenses this file to you under the Apache
++ *   License, Version 2.0 (the "License"); you may not use this file
++ *   except in compliance with the License. You may obtain a copy of
++ *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
++ */
++
++#include <malloc.h>
++#include <com/sun/star/uno/genfunc.hxx>
++#include <uno/data.h>
++
++#include "bridges/cpp_uno/shared/bridge.hxx"
++#include "bridges/cpp_uno/shared/types.hxx"
++#include "bridges/cpp_uno/shared/unointerfaceproxy.hxx"
++#include "bridges/cpp_uno/shared/vtables.hxx"
++
++#include "share.hxx"
++
++#define SET_FP(n, p) \
++            __asm__( "ldx %0, %%l0\n\t" \
++                     "ldd [%%l0], %%f" #n "\n" \
++                     : : "m"(p) );
++
++using namespace com::sun::star::uno;
++
++namespace
++{
++    void fillReturn(const typelib_TypeDescription * pTypeDescr,
++            long long * oret, float * fret, double * dret, void * pRegisterReturn)
++    {
++        for (const typelib_CompoundTypeDescription *p =
++                reinterpret_cast<const typelib_CompoundTypeDescription*>( pTypeDescr );
++            p != NULL; p = p->pBaseTypeDescription)
++        {
++
++            for (sal_Int32 i = 0; i < p->nMembers; ++i)
++            {
++                typelib_TypeDescriptionReference *pTypeInStruct = p->ppTypeRefs[ i ];
++
++                sal_Int32 nOff = p->pMemberOffsets[ i ];
++
++                switch (pTypeInStruct->eTypeClass)
++                {
++                    case typelib_TypeClass_HYPER:
++                    case typelib_TypeClass_UNSIGNED_HYPER:
++                        *(long*)((char *)pRegisterReturn + nOff) = *(long*)((char *)oret + nOff);
++                        break;
++                    case typelib_TypeClass_LONG:
++                    case typelib_TypeClass_UNSIGNED_LONG:
++                    case typelib_TypeClass_ENUM:
++                        *(int*)((char *)pRegisterReturn + nOff) = *(int*)((char *)oret + nOff);
++                        break;
++                    case typelib_TypeClass_CHAR:
++                    case typelib_TypeClass_SHORT:
++                    case typelib_TypeClass_UNSIGNED_SHORT:
++                        *(unsigned short*)((char *)pRegisterReturn + nOff) = *(unsigned short*)((char *)oret + nOff);
++                        break;
++                    case typelib_TypeClass_BOOLEAN:
++                    case typelib_TypeClass_BYTE:
++                        *(unsigned char*)((char *)pRegisterReturn + nOff) = *(unsigned char*)((char *)oret + nOff);
++                        break;
++                    case typelib_TypeClass_FLOAT:
++                        *(float*)((char *)pRegisterReturn + nOff) = *(float*)((char *)fret + nOff);
++                        break;
++                    case typelib_TypeClass_DOUBLE:
++                        *(double*)((char *)pRegisterReturn + nOff) = *(double*)((char *)dret + nOff);
++                        break;
++                    case typelib_TypeClass_STRUCT:
++                    case typelib_TypeClass_EXCEPTION:
++                        {
++                            typelib_TypeDescription * td = NULL;
++                            TYPELIB_DANGER_GET(&td, pTypeInStruct);
++                            fillReturn(td,
++                                    (long long *)((char *)oret + nOff),
++                                    (float *)((char *)fret + nOff),
++                                    (double *)((char *)dret + nOff),
++                                    (char *)pRegisterReturn + nOff);
++                            TYPELIB_DANGER_RELEASE(td);
++                        }
++                    default:
++                        break;
++                }
++            }
++        }
++    }
++
++// The call instruction within the asm section of callVirtualMethod may throw
++// exceptions.  So that the compiler handles this correctly, it is important
++// that (a) callVirtualMethod might call dummy_can_throw_anything (although this
++// never happens at runtime), which in turn can throw exceptions, and (b)
++// callVirtualMethod is not inlined at its call site (so that any exceptions are
++// caught which are thrown from the instruction calling callVirtualMethod):
++
++void callVirtualMethod( void * pAdjustedThisPtr,
++                        sal_Int32 nVtableIndex,
++                        void * pRegisterReturn,
++                        typelib_TypeDescriptionReference * pReturnTypeRef,
++                        sal_Int64 * pStackHypers,
++                        sal_Int32 nStackHypers,
++                        typelib_MethodParameter * pParams, sal_Int32 nParams) __attribute__((noinline));
++
++void callVirtualMethod( void * pAdjustedThisPtr,
++                        sal_Int32 /* nVtableIndex */,
++                        void * pRegisterReturn,
++                        typelib_TypeDescriptionReference * pReturnTypeRef,
++                        sal_Int64 * pStackHypers,
++#if OSL_DEBUG_LEVEL > 0
++                        sal_Int32 nStackHypers,
++#else
++//                        sal_Int64 * /*pStackHypers*/,
++                        sal_Int32 /*nStackHypers*/,
++#endif
++                        typelib_MethodParameter * pParams, sal_Int32 nParams)
++{
++    // parameter list is mixed list of * and values
++    // reference parameters are pointers
++
++    assert(pStackHypers && pAdjustedThisPtr);
++    static_assert( (sizeof(void *) == 8) &&
++                 (sizeof(sal_Int64) == 8), "### unexpected size of int!" );
++    assert(nStackHypers && pStackHypers && "### no stack in callVirtualMethod !");
++
++    // never called
++    if (! pAdjustedThisPtr) CPPU_CURRENT_NAMESPACE::dummy_can_throw_anything("xxx"); // address something
++
++    long bSimpleReturn = !CPPU_CURRENT_NAMESPACE::return_in_hidden_param( pReturnTypeRef );
++
++    int paramsOffset = bSimpleReturn ? 1 : 2;
++    for (sal_Int32 i = 0; i < nParams; ++i)
++    {
++        if (!pParams[i].bOut)
++        {
++            switch (pParams[i].pTypeRef->eTypeClass) {
++                case typelib_TypeClass_FLOAT:
++                case typelib_TypeClass_DOUBLE:
++                    {
++                        int paramArrayIdx = i + paramsOffset;
++                        assert(paramArrayIdx < nStackHypers);
++                        void *p = &pStackHypers[paramArrayIdx];
++                        switch (paramArrayIdx) {
++                            // Cannot be 0 - paramsOffset >= 1
++                            case 1:
++                                SET_FP(2, p);
++                                break;
++                            case 2:
++                                SET_FP(4, p);
++                                break;
++                            case 3:
++                                SET_FP(6, p);
++                                break;
++                            case 4:
++                                SET_FP(8, p);
++                                break;
++                            case 5:
++                                SET_FP(10, p);
++                                break;
++                            case 6:
++                                SET_FP(12, p);
++                                break;
++                            case 7:
++                                SET_FP(14, p);
++                                break;
++                            case 8:
++                                SET_FP(16, p);
++                                break;
++                            case 9:
++                                SET_FP(18, p);
++                                break;
++                            case 10:
++                                SET_FP(20, p);
++                                break;
++                            case 11:
++                                SET_FP(22, p);
++                                break;
++                            case 12:
++                                SET_FP(24, p);
++                                break;
++                            case 13:
++                                SET_FP(26, p);
++                                break;
++                            case 14:
++                                SET_FP(28, p);
++                                break;
++                            case 15:
++                                SET_FP(30, p);
++                                break;
++                                // Anything larger is passed on the stack
++                        }
++                        break;
++                    }
++                default:
++                    break;
++            }
++        }
++    }
++
++    //long o0;
++    //double f0d;
++    //float f0f;
++    volatile long long saveReg[14];
++
++    long long oret[4];
++    union {
++        float f[8];
++        double d[4];
++    } fdret;
++
++    __asm__ (
++        // save registers
++        "stx %%l0, [%[saveReg]]\n\t"
++        "stx %%l1, [%[saveReg]+8]\n\t"
++        "mov %[saveReg], %%l1\n\t"
++        "add %%l1, 16, %%l0\n\t"
++        "stx %%l2, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%l3, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%l4, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%l5, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%o0, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%o1, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%o2, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%o3, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%o4, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%o5, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%l6, [%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "stx %%l7, [%%l0]\n\t"
++        "mov %%l1, %%l7\n\t"
++
++        // increase our own stackframe if necessary
++        "mov %%sp, %%l3\n\t"        // save stack ptr for readjustment
++
++        "subcc %%i5, 6, %%l0\n\t"
++        "ble .LmoveOn\n\t"
++        "nop\n\t"
++
++        "sllx %%l0, 3, %%l0\n\t"
++        "add %%l0, 192, %%l0\n\t"
++        "add %%sp, 2047, %%l1\n\t"        // old stack ptr
++        "sub %%l1, %%l0, %%l0\n\t"  // future stack ptr
++        "andcc %%l0, 15, %%g0\n\t"   // align stack to 16
++        "be .LisAligned\n\t"
++        "nop\n\t"
++        "sub %%l0, 8, %%l0\n"
++    ".LisAligned:\n\t"
++        "mov %%l0, %%o5\n\t"            // save newly computed stack ptr
++        "add %%g0, 16, %%o4\n"
++
++        // now copy hypers down to save register window
++        // and local variables
++    ".LcopyDown:\n\t"
++        "ldx [%%l1], %%l2\n\t"
++        "stx %%l2,[%%l0]\n\t"
++        "add %%l0, 8, %%l0\n\t"
++        "add %%l1, 8, %%l1\n\t"
++        "subcc %%o4, 1, %%o4\n\t"
++        "bne .LcopyDown\n\t"
++        "nop\n\t"
++
++        "sub %%o5, 2047, %%sp\n\t"        // move new stack ptr (hopefully) atomically - with bias
++        // while register window is valid in both spaces
++        // (scheduling might hit in copyDown loop)
++
++        "sub %%i5, 6, %%l0\n\t"     // copy parameters past the sixth to stack
++        "add %%i4, 48, %%l1\n\t"
++        "add %%sp, 2223, %%l2\n" // 2047+176
++    ".LcopyLong:\n\t"
++        "ldx [%%l1], %%o0\n\t"
++        "stx %%o0, [%%l2]\n\t"
++        "add %%l1, 8, %%l1\n\t"
++        "add %%l2, 8, %%l2\n\t"
++        "subcc %%l0, 1, %%l0\n\t"
++        "bne .LcopyLong\n\t"
++        "nop\n"
++
++    ".LmoveOn:\n\t"
++        "mov %%i5, %%l0\n\t"        // prepare out registers
++        "mov %%i4, %%l1\n\t"
++
++        "ldx [%%l1], %%o0\n\t"//       // prepare complex return ptr
++        //"ldd [%%l1], %%f0\n\t"
++        //"stx %%o0, [%%sp+2047+128]\n\t"
++        "sub %%l0, 1, %%l0\n\t"
++        "add %%l1, 8, %%l1\n\t"
++        //"subxcc %%o0, %%g0, %%o0\n\t"
++        //"bne .LhadComplexReturn\n\t"
++        //"nop\n\t"
++
++        // No complex return ptr - this (next on stack) goes in %o0
++
++        //"ldx [%%l1], %%o0\n\t"
++        //"subcc %%l0, 1, %%l0\n\t"
++        //"be .LdoCall\n\t"
++        //"nop\n\t"
++        //"add %%l1, 8, %%l1\n\t"
++
++    //".LhadComplexReturn:\n\t"
++        "ldx [%%l1], %%o1\n\t"
++        //"ldd [%%l1], %%f2\n\t"
++        "subcc %%l0, 1, %%l0\n\t"
++        "be .LdoCall\n\t"
++        "nop\n\t"
++
++        "add %%l1, 8, %%l1\n\t"
++        "ldx [%%l1], %%o2\n\t"
++        //"ldd [%%l1], %%f4\n\t"
++        "subcc %%l0, 1, %%l0\n\t"
++        "be .LdoCall\n\t"
++        "nop\n\t"
++
++        "add %%l1, 8, %%l1\n\t"
++        "ldx [%%l1], %%o3\n\t"
++        //"ldd [%%l1], %%f6\n\t"
++        "subcc %%l0, 1, %%l0\n\t"
++        "be .LdoCall\n\t"
++        "nop\n\t"
++
++        "add %%l1, 8, %%l1\n\t"
++        "ldx [%%l1], %%o4\n\t"
++        //"ldd [%%l1], %%f8\n\t"
++        "subcc %%l0, 1, %%l0\n\t"
++        "be .LdoCall\n\t"
++        "nop\n\t"
++
++        "add %%l1, 8, %%l1\n\t"
++        "ldx [%%l1], %%o5\n"
++        //"ldd [%%l1], %%f10\n\t"
++
++    ".LdoCall:\n\t"
++        "ldx [%%i0], %%l0\n\t"       // get vtable ptr
++
++"sllx %%i1, 3, %%l6\n\t"
++//        "add %%l6, 8, %%l6\n\t"
++        "add %%l6, %%l0, %%l0\n\t"
++//      // vtable has 8byte wide entries,
++//      // upper half contains 2 half words, of which the first
++//      // is the this ptr patch !
++//      // first entry is (or __tf)
++
++//      "ldsh [%%l0], %%l6\n\t"     // load this ptr patch
++//      "add %%l6, %%o0, %%o0\n\t"  // patch this ptr
++
++//      "add %%l0, 4, %%l0\n\t"     // get virtual function ptr
++        "ldx [%%l0], %%l0\n\t"
++
++//      "ldx %0, %%l2\n\t"
++//      "subcc %%l2, %%g0, %%l2\n\t"
++//      "be .LcomplexCall\n\t"
++//      "nop\n\t"
++        "call %%l0\n\t"
++        "nop\n\t"
++//      "ba .LcallReturned\n\t"
++//      "nop\n"
++//  ".LcomplexCall:\n\t"
++//      "call %%l0\n\t"
++//      "nop\n\t"
++//      "unimp\n"
++
++//  ".LcallReturned:\n\t"
++        "subcc %%l3, %%sp, %%g0\n\t"
++        "be .LcopiedUp\n\t"
++        "nop\n\t"
++    // Copy register save area back up
++    // Note: copy in reverse order (top down) in case areas overlap
++        "add %%sp, 2167, %%l0\n\t" // 2047+120
++        "add %%l3, 2167, %%l1\n\t"
++        "add %%g0, 16, %%o4\n\t"
++    ".LcopyUp:\n\t"
++        "ldx [%%l0], %%l2\n\t"
++        "stx %%l2, [%%l1]\n\t"
++        "sub %%l0, 8, %%l0\n\t"
++        "sub %%l1, 8, %%l1\n\t"
++        "subcc %%o4, 1, %%o4\n\t"
++        "bne .LcopyUp\n\t"
++        "nop\n\t"
++
++    ".LcopiedUp:\n\t"
++        "mov %%l3, %%sp\n\t"        // readjust stack so that our locals are where they belong
++
++        // save possible return registers into our locals
++        "stx %%o0, %[oret0]\n\t"
++        "stx %%o1, %[oret1]\n\t"
++        "stx %%o2, %[oret2]\n\t"
++        "stx %%o3, %[oret3]\n\t"
++        "std %%f0, %[dret0]\n\t"
++        "std %%f2, %[dret1]\n\t"
++        "std %%f4, %[dret2]\n\t"
++        "std %%f6, %[dret3]\n\t"
++        //"st %%f0, %3\n\t"
++
++        // restore registers
++        "ldx [%%l7], %%l0\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%l1\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%l2\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%l3\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%l4\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%l5\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%o0\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%o1\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%o2\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%o3\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%o4\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%o5\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%l6\n\t"
++        "add %%l7, 8, %%l7\n\t"
++        "ldx [%%l7], %%l7\n\t"
++        :
++        //"=m"(bSimpleReturn),
++        [oret0]"=m"(oret[0]), [oret1]"=m"(oret[1]), [oret2]"=m"(oret[2]), [oret3]"=m"(oret[3]),
++        [dret0]"=m"(fdret.d[0]), [dret1]"=m"(fdret.d[1]), [dret2]"=m"(fdret.d[2]), [dret3]"=m"(fdret.d[3])
++        //"=m"(f0f)
++        :
++        [saveReg]"r"(&saveReg[0])
++        :
++        "memory"
++        );
++    switch(pReturnTypeRef->eTypeClass)
++    {
++        case typelib_TypeClass_HYPER:
++        case typelib_TypeClass_UNSIGNED_HYPER:
++            *(long*)pRegisterReturn = oret[0];
++            break;
++        case typelib_TypeClass_LONG:
++        case typelib_TypeClass_UNSIGNED_LONG:
++        case typelib_TypeClass_ENUM:
++            *(int*)pRegisterReturn = (int)oret[0];
++            break;
++        case typelib_TypeClass_CHAR:
++        case typelib_TypeClass_SHORT:
++        case typelib_TypeClass_UNSIGNED_SHORT:
++            *(unsigned short*)pRegisterReturn = (unsigned short)oret[0];
++            break;
++        case typelib_TypeClass_BOOLEAN:
++        case typelib_TypeClass_BYTE:
++            *(unsigned char*)pRegisterReturn = (unsigned char)oret[0];
++            break;
++        case typelib_TypeClass_FLOAT:
++            *(float*)pRegisterReturn = fdret.f[0];
++            break;
++        case typelib_TypeClass_DOUBLE:
++            *(double*)pRegisterReturn = fdret.d[0];
++            break;
++        case typelib_TypeClass_STRUCT:
++        case typelib_TypeClass_EXCEPTION:
++            {
++                sal_Int32 const nRetSize = pReturnTypeRef->pType->nSize;
++                if (bSimpleReturn && nRetSize <= 32 && nRetSize > 0)
++                {
++                    typelib_TypeDescription * pTypeDescr = 0;
++                    TYPELIB_DANGER_GET( &pTypeDescr, pReturnTypeRef );
++                    fillReturn(pTypeDescr, oret, fdret.f, fdret.d, pRegisterReturn);
++                    TYPELIB_DANGER_RELEASE( pTypeDescr );
++                }
++                break;
++            }
++        default:
++            break;
++    }
++}
++
++static void cpp_call(
++    bridges::cpp_uno::shared::UnoInterfaceProxy * pThis,
++    bridges::cpp_uno::shared::VtableSlot aVtableSlot,
++    typelib_TypeDescriptionReference * pReturnTypeRef,
++    sal_Int32 nParams, typelib_MethodParameter * pParams,
++    void * pUnoReturn, void * pUnoArgs[], uno_Any ** ppUnoExc )
++{
++      // max space for: complex ret ptr, this, values|ptr ...
++      char * pCppStack  =
++          (char *)alloca( (nParams+2) * sizeof(sal_Int64) );
++      char * pCppStackStart = pCppStack;
++
++    //fprintf(stderr, "pCppStack: %p, pCppStackStart: %p\n", pCppStack, pCppStackStart);
++
++    // return
++    typelib_TypeDescription * pReturnTypeDescr = 0;
++    TYPELIB_DANGER_GET( &pReturnTypeDescr, pReturnTypeRef );
++    assert(pReturnTypeDescr);
++
++    void * pCppReturn = 0; // if != 0 && != pUnoReturn, needs reconversion
++
++    if (pReturnTypeDescr)
++    {
++        if ( CPPU_CURRENT_NAMESPACE::return_in_hidden_param( pReturnTypeRef ) )
++        {
++            // complex return via ptr
++            pCppReturn = *(void **)pCppStack = (bridges::cpp_uno::shared::relatesToInterfaceType(pReturnTypeDescr )
++                                                ? alloca( pReturnTypeDescr->nSize )
++                                                : pUnoReturn); // direct way
++            pCppStack += sizeof(void*);
++        }
++        else
++        {
++            pCppReturn = pUnoReturn; // direct way for simple types
++        }
++    }
++    // push this
++    void * pAdjustedThisPtr = reinterpret_cast< void ** >(pThis->getCppI())
++             + aVtableSlot.offset;
++    *(void**)pCppStack = pAdjustedThisPtr;
++    pCppStack += sizeof( void* );
++
++    // stack space
++    static_assert(sizeof(void *) == sizeof(sal_Int64), "### unexpected size!");
++    // args
++    void ** pCppArgs  = (void **)alloca( 3 * sizeof(void *) * nParams );
++    // indices of values this have to be converted (interface conversion cpp<=>uno)
++    sal_Int32 * pTempIndices = (sal_Int32 *)(pCppArgs + nParams);
++    // type descriptions for reconversions
++    typelib_TypeDescription ** ppTempParamTypeDescr = (typelib_TypeDescription **)(pCppArgs + (2 * nParams));
++
++    sal_Int32 nTempIndices   = 0;
++
++    for ( sal_Int32 nPos = 0; nPos < nParams; ++nPos )
++    {
++        const typelib_MethodParameter & rParam = pParams[nPos];
++        typelib_TypeDescription * pParamTypeDescr = 0;
++        TYPELIB_DANGER_GET( &pParamTypeDescr, rParam.pTypeRef );
++        if (!rParam.bOut && bridges::cpp_uno::shared::isSimpleType( pParamTypeDescr ))
++        {
++            uno_copyAndConvertData( pCppArgs[nPos] = alloca( 8 ), pUnoArgs[nPos], pParamTypeDescr,
++                    pThis->getBridge()->getUno2Cpp() );
++
++            switch (pParamTypeDescr->eTypeClass)
++            {
++                case typelib_TypeClass_LONG:
++                    *(sal_Int64 *)pCppStack = *(sal_Int32 *)pCppArgs[nPos];
++                    break;
++                case typelib_TypeClass_UNSIGNED_LONG:
++                case typelib_TypeClass_ENUM:
++                    *(sal_Int64 *)pCppStack = *(sal_uInt32 *)pCppArgs[nPos];
++                    break;
++                case typelib_TypeClass_CHAR:
++                case typelib_TypeClass_SHORT:
++                    *(sal_Int64 *)pCppStack = *(sal_Int16 *)pCppArgs[nPos];
++                    break;
++                case typelib_TypeClass_UNSIGNED_SHORT:
++                    *(sal_Int64 *)pCppStack = *(sal_uInt16 *)pCppArgs[nPos];
++                    break;
++                case typelib_TypeClass_BOOLEAN:
++                case typelib_TypeClass_BYTE:
++                    *(sal_Int64 *)pCppStack = *(sal_Int8 *)pCppArgs[nPos];
++                    break;
++                case typelib_TypeClass_FLOAT:
++                    *(float *)(pCppStack+4) = *(float *)pCppArgs[nPos];
++                    break;
++                case typelib_TypeClass_DOUBLE:
++                    *(double *)pCppStack = *(double *)pCppArgs[nPos];
++                    break;
++                case typelib_TypeClass_HYPER:
++                case typelib_TypeClass_UNSIGNED_HYPER:
++                    *(sal_Int64 *)pCppStack = *(sal_Int64 *)pCppArgs[nPos];
++                    break;
++                default:
++                    break;
++            }
++            // no longer needed
++            TYPELIB_DANGER_RELEASE( pParamTypeDescr );
++        }
++        else // ptr to complex value | ref
++        {
++            if (! rParam.bIn) // is pure out
++            {
++                // cpp out is constructed mem, uno out is not!
++                uno_constructData(
++                    *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ),
++                    pParamTypeDescr );
++                pTempIndices[nTempIndices] = nPos; // default constructed for cpp call
++                // will be released at reconversion
++                ppTempParamTypeDescr[nTempIndices++] = pParamTypeDescr;
++            }
++            // is in/inout
++            else if (bridges::cpp_uno::shared::relatesToInterfaceType(
++                              pParamTypeDescr ))
++            {
++                uno_copyAndConvertData(
++                    *(void **)pCppStack = pCppArgs[nPos] = alloca( pParamTypeDescr->nSize ),
++                                    pUnoArgs[nPos], pParamTypeDescr,
++                    pThis->getBridge()->getUno2Cpp() );
++
++                pTempIndices[nTempIndices] = nPos; // has to be reconverted
++                // will be released at reconversion
++                ppTempParamTypeDescr[nTempIndices++] = pParamTypeDescr;
++            }
++            else // direct way
++            {
++                *(void **)pCppStack = pCppArgs[nPos] = pUnoArgs[nPos];
++                // no longer needed
++                TYPELIB_DANGER_RELEASE( pParamTypeDescr );
++            }
++        }
++        pCppStack += sizeof(sal_Int64); // standard parameter length
++    }
++
++    try
++    {
++        int nStackHypers = (pCppStack - pCppStackStart)/sizeof(sal_Int64);
++        assert( !( (pCppStack - pCppStackStart ) & 7) && "UNALIGNED STACK !!! (Please DO panic" );
++
++        //fprintf( stderr, "callVirtualMethod: %p, %lld, %p, %p, %p, %lld\n",
++        //    pAdjustedThisPtr,
++        //    (long long)aVtableSlot.index,
++        //    pCppReturn,
++        //    pReturnTypeRef,
++        //    pCppStackStart,
++        //    (long long)nStackHypers);
++        callVirtualMethod(
++            pAdjustedThisPtr,
++            aVtableSlot.index,
++            pCppReturn,
++            pReturnTypeRef,
++            (sal_Int64 *)pCppStackStart,
++            nStackHypers,
++            pParams,
++            nParams);
++        // NO exception occurred...
++        *ppUnoExc = 0;
++
++        // reconvert temporary params
++        for ( ; nTempIndices--; )
++        {
++            sal_Int32 nIndex = pTempIndices[nTempIndices];
++            typelib_TypeDescription * pParamTypeDescr = ppTempParamTypeDescr[nTempIndices];
++
++            if (pParams[nIndex].bIn)
++            {
++                if (pParams[nIndex].bOut) // inout
++                {
++                    uno_destructData( pUnoArgs[nIndex], pParamTypeDescr, 0 ); // destroy uno value
++                    uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr,
++                                            pThis->getBridge()->getCpp2Uno() );
++                }
++            }
++            else // pure out
++            {
++                uno_copyAndConvertData( pUnoArgs[nIndex], pCppArgs[nIndex], pParamTypeDescr,
++                                        pThis->getBridge()->getCpp2Uno() );
++            }
++            // destroy temp cpp param => cpp: every param was constructed
++            uno_destructData( pCppArgs[nIndex], pParamTypeDescr, cpp_release );
++
++            TYPELIB_DANGER_RELEASE( pParamTypeDescr );
++        }
++        // return value
++        if (pCppReturn && pUnoReturn != pCppReturn)
++        {
++            uno_copyAndConvertData( pUnoReturn, pCppReturn, pReturnTypeDescr,
++                                    pThis->getBridge()->getCpp2Uno() );
++            uno_destructData( pCppReturn, pReturnTypeDescr, cpp_release );
++        }
++    }
++     catch( ... )
++     {
++         // get exception
++           fillUnoException( CPPU_CURRENT_NAMESPACE::__cxa_get_globals()->caughtExceptions,
++                                *ppUnoExc, pThis->getBridge()->getCpp2Uno() );
++
++        // temporary params
++        for ( ; nTempIndices--; )
++        {
++            sal_Int32 nIndex = pTempIndices[nTempIndices];
++            // destroy temp cpp param => cpp: every param was constructed
++            uno_destructData( pCppArgs[nIndex], ppTempParamTypeDescr[nTempIndices], cpp_release );
++            TYPELIB_DANGER_RELEASE( ppTempParamTypeDescr[nTempIndices] );
++        }
++        // return type
++        if (pReturnTypeDescr)
++            TYPELIB_DANGER_RELEASE( pReturnTypeDescr );
++    }
++}
++
++}
++
++namespace bridges { namespace cpp_uno { namespace shared {
++
++void unoInterfaceProxyDispatch(
++    uno_Interface * pUnoI, const typelib_TypeDescription * pMemberDescr,
++    void * pReturn, void * pArgs[], uno_Any ** ppException )
++{
++#if defined BRIDGES_DEBUG
++    OString cstr( OUStringToOString( pMemberDescr->pTypeName, RTL_TEXTENCODING_ASCII_US ) );
++    fprintf( stderr, "received dispatch( %s )\n", cstr.getStr() );
++#endif
++
++    // is my surrogate
++    bridges::cpp_uno::shared::UnoInterfaceProxy * pThis
++       = static_cast< bridges::cpp_uno::shared::UnoInterfaceProxy * >(pUnoI);
++//  typelib_InterfaceTypeDescription * pTypeDescr = pThis->pTypeDescr;
++
++    switch (pMemberDescr->eTypeClass)
++    {
++    case typelib_TypeClass_INTERFACE_ATTRIBUTE:
++    {
++     VtableSlot aVtableSlot(
++                 getVtableSlot(
++                     reinterpret_cast<
++                         typelib_InterfaceAttributeTypeDescription const * >(
++                             pMemberDescr)));
++        if (pReturn)
++        {
++            // dependent dispatch
++            cpp_call(
++                pThis, aVtableSlot,
++                ((typelib_InterfaceAttributeTypeDescription *)pMemberDescr)->pAttributeTypeRef,
++                0, 0, // no params
++                pReturn, pArgs, ppException );
++        }
++        else
++        {
++            // is SET
++            typelib_MethodParameter aParam;
++            aParam.pTypeRef =
++                ((typelib_InterfaceAttributeTypeDescription *)pMemberDescr)->pAttributeTypeRef;
++            aParam.bIn      = sal_True;
++            aParam.bOut     = sal_False;
++
++            typelib_TypeDescriptionReference * pReturnTypeRef = 0;
++            OUString aVoidName("void");
++            typelib_typedescriptionreference_new(
++                &pReturnTypeRef, typelib_TypeClass_VOID, aVoidName.pData );
++
++            // dependent dispatch
++            aVtableSlot.index += 1; // get, then set method
++            cpp_call(
++                pThis, aVtableSlot,
++                pReturnTypeRef,
++                1, &aParam,
++                pReturn, pArgs, ppException );
++
++            typelib_typedescriptionreference_release( pReturnTypeRef );
++        }
++
++        break;
++    }
++    case typelib_TypeClass_INTERFACE_METHOD:
++    {
++        VtableSlot aVtableSlot(
++        getVtableSlot(
++         reinterpret_cast<
++          typelib_InterfaceMethodTypeDescription const * >(
++          pMemberDescr)));
++        switch (aVtableSlot.index)
++        {
++            // standard calls
++        case 1: // acquire uno interface
++            (*pUnoI->acquire)( pUnoI );
++            *ppException = 0;
++            break;
++        case 2: // release uno interface
++            (*pUnoI->release)( pUnoI );
++            *ppException = 0;
++            break;
++        case 0: // queryInterface() opt
++        {
++            typelib_TypeDescription * pTD = 0;
++            TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() );
++            if (pTD)
++            {
++                uno_Interface * pInterface = 0;
++         (*pThis->pBridge->getUnoEnv()->getRegisteredInterface)(
++           pThis->pBridge->getUnoEnv(),
++                   (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD );
++
++                if (pInterface)
++                {
++                    ::uno_any_construct(
++                        reinterpret_cast< uno_Any * >( pReturn ),
++                        &pInterface, pTD, 0 );
++                    (*pInterface->release)( pInterface );
++                    TYPELIB_DANGER_RELEASE( pTD );
++                    *ppException = 0;
++                    break;
++                }
++                TYPELIB_DANGER_RELEASE( pTD );
++            }
++        } // else perform queryInterface()
++        default:
++            // dependent dispatch
++            cpp_call(
++                pThis, aVtableSlot,
++                ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->pReturnTypeRef,
++                ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->nParams,
++                ((typelib_InterfaceMethodTypeDescription *)pMemberDescr)->pParams,
++                pReturn, pArgs, ppException );
++        }
++        break;
++    }
++    default:
++    {
++        ::com::sun::star::uno::RuntimeException aExc(
++            OUString("illegal member type description!"),
++            ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() );
++
++        Type const & rExcType = cppu::UnoType<decltype(aExc)>::get();
++        // binary identical null reference
++        ::uno_type_any_construct( *ppException, &aExc, rExcType.getTypeLibType(), 0 );
++    }
++    }
++}
++
++} } }
++
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+--- a/odk/settings/settings.mk
++++ b/odk/settings/settings.mk
+@@ -271,6 +271,11 @@
+ JAVA_PROC_TYPE=ppc64
+ endif
++ifeq "$(PROCTYPE)" "sparc64"
++UNOPKG_PLATFORM=Linux_SPARC64
++JAVA_PROC_TYPE=sparcv9
++endif
++
+ OS=LINUX
+ PS=/
+ ICL=\$$
+--- /dev/null
++++ b/solenv/gbuild/platform/LINUX_SPARC64_GCC.mk
+@@ -0,0 +1,15 @@
++# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
++#
++# This file is part of the LibreOffice project.
++#
++# This Source Code Form is subject to the terms of the Mozilla Public
++# License, v. 2.0. If a copy of the MPL was not distributed with this
++# file, You can obtain one at http://mozilla.org/MPL/2.0/.
++#
++
++#please make generic modifications to unxgcc.mk or linux.mk
++gb_COMPILEROPTFLAGS := -Os
++
++include $(GBUILDDIR)/platform/linux.mk
++
++# vim: set noet sw=4:
+--- a/jvmfwk/inc/vendorbase.hxx
++++ b/jvmfwk/inc/vendorbase.hxx
+@@ -35,7 +35,7 @@
+ //Used by subclasses of VendorBase to build paths to Java runtime
+ #if defined(JAVA_ARCH)
+ #define JFW_PLUGIN_ARCH JAVA_ARCH
+-#elif defined(__sparcv9)
++#elif defined SPARC64
+ #define JFW_PLUGIN_ARCH "sparcv9"
+ #elif defined SPARC
+ #define JFW_PLUGIN_ARCH "sparc"
+--- a/external/twain/inc/twain/twain.h
++++ b/external/twain/inc/twain/twain.h
+@@ -162,6 +162,8 @@
+         ||defined(__ia64__)\
+         ||defined(__ppc64__)\
+         ||defined(__s390x__)\
++        ||(defined(__sparc_v9__) && defined(__arch64__))\
++        ||defined(__sparcv9)\
+         ||defined(__x86_64__)
+       #define TWH_64BIT
+     #else
diff --git a/debian/patches/split-evoab.diff b/debian/patches/split-evoab.diff
new file mode 100644 (file)
index 0000000..5d5a9c4
--- /dev/null
@@ -0,0 +1,60 @@
+diff --git a/scp2/source/gnome/file_gnome.scp b/scp2/source/gnome/file_gnome.scp
+index c7a13c8..a3f59a6 100644
+--- a/scp2/source/gnome/file_gnome.scp
++++ b/scp2/source/gnome/file_gnome.scp
+@@ -25,3 +25,13 @@ File gid_File_Share_Registry_Gnome_Xcd
+     Name = "gnome.xcd";
+ End
+ #endif
++
++#ifdef ENABLE_EVOAB2
++File gid_File_Share_Registry_Evoab_Xcd
++    TXT_FILE_BODY;
++    Styles = (PACKED);
++    Dir = gid_Brand_Dir_Share_Registry;
++    Name = "evoab.xcd";
++End
++#endif
++
+diff --git a/scp2/source/gnome/module_gnome.scp b/scp2/source/gnome/module_gnome.scp
+index 08d9efe..492e274 100644
+--- a/scp2/source/gnome/module_gnome.scp
++++ b/scp2/source/gnome/module_gnome.scp
+@@ -30,6 +30,9 @@ Module gid_Module_Optional_Gnome
+ #if ENABLE_GIO
+       gid_File_Share_Registry_Gnome_Xcd,
+ #endif
++#ifdef ENABLE_EVOAB2
++     gid_File_Share_Registry_Evoab_Xcd,
++#endif
+       gid_File_Bin_Gnome_Open_Url
+     );
+ End
+diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk
+index 510b444..3ff190f 100644
+--- a/postprocess/CustomTarget_registry.mk
++++ b/postprocess/CustomTarget_registry.mk
+@@ -331,8 +331,9 @@ ifneq ($(WITH_WEBDAV),)
+ postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/ucb/Configuration-webdav.xcu
+ endif
+ ifeq ($(ENABLE_EVOAB2),TRUE)
+-postprocess_FILES_main += $(call gb_XcuModuleTarget_get_target,connectivity/registry/evoab2)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu
+-postprocess_FILES_main += $(postprocess_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
++postprocess_XCDS += evoab.xcd
++postprocess_FILES_evoab += $(call gb_XcuModuleTarget_get_target,connectivity/registry/evoab2)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu
++postprocess_FILES_evoab += $(postprocess_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
+ postprocess_DRIVERS += evoab
+ endif
+ ifeq ($(ENABLE_JAVA),TRUE)
+diff --git a/scp2/InstallModule_gnome.mk b/scp2/InstallModule_gnome.mk
+index 686f6c1..d633c90 100644
+--- a/scp2/InstallModule_gnome.mk
++++ b/scp2/InstallModule_gnome.mk
+@@ -14,6 +14,7 @@ $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/gnome,gnome))
+ $(eval $(call gb_InstallModule_define_if_set,scp2/gnome,\
++      ENABLE_EVOAB2 \
+     ENABLE_GTK \
+ ))
+ $(eval $(call gb_InstallModule_add_scpfiles,scp2/gnome,\
diff --git a/debian/patches/startcenter-grey-out-not-installed.diff b/debian/patches/startcenter-grey-out-not-installed.diff
new file mode 100644 (file)
index 0000000..431c824
--- /dev/null
@@ -0,0 +1,71 @@
+From 80cb33570557010547a08b5b1cd6bc0c1ee018fc Mon Sep 17 00:00:00 2001
+From: Akshay Deep <akshaydeepiitr@gmail.com>
+Date: Fri, 17 Jun 2016 13:41:00 +0530
+Subject: tdf#75369 Start Center: Non-installed applications aren't greyed out
+
+Change-Id: I52de5d7062bebe816e90ba39f559cd57dfc1067c
+Reviewed-on: https://gerrit.libreoffice.org/26406
+Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
+Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
+
+diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
+index 730627c..9c054d5 100644
+--- a/sfx2/source/dialog/backingwindow.cxx
++++ b/sfx2/source/dialog/backingwindow.cxx
+@@ -25,6 +25,7 @@
+ #include <vcl/virdev.hxx>
+ #include <unotools/dynamicmenuoptions.hxx>
++#include <unotools/moduleoptions.hxx>
+ #include <svtools/openfiledroptargetlistener.hxx>
+ #include <svtools/colorcfg.hxx>
+ #include <svtools/langhelp.hxx>
+@@ -280,6 +281,8 @@ void BackingWindow::initControls()
+     setupButton( mpImpressAllButton );
+     setupButton( mpMathAllButton );
++    checkInstalledModules();
++
+     mpExtensionsButton->SetClickHdl(LINK(this, BackingWindow, ExtLinkClickHdl));
+     // setup nice colors
+@@ -358,6 +361,23 @@ void BackingWindow::setupButton( MenuButton* pButton )
+     pButton->SetSelectHdl(LINK(this, BackingWindow, MenuSelectHdl));
+ }
++void BackingWindow::checkInstalledModules()
++{
++    SvtModuleOptions aModuleOpt;
++
++    mpWriterAllButton->Enable( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::WRITER ));
++
++    mpCalcAllButton->Enable( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::CALC ) );
++
++    mpImpressAllButton->Enable( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::IMPRESS ) );
++
++    mpDrawAllButton->Enable( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::DRAW ) );
++
++    mpMathAllButton->Enable(aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::MATH ));
++
++    mpDBAllButton->Enable(aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::DATABASE ));
++}
++
+ void BackingWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle&)
+ {
+     Resize();
+diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx
+index cfaf984..4c80c9f 100644
+--- a/sfx2/source/dialog/backingwindow.hxx
++++ b/sfx2/source/dialog/backingwindow.hxx
+@@ -111,6 +111,8 @@ class BackingWindow : public vcl::Window, public VclBuilderContainer
+     void initializeLocalView();
++    void checkInstalledModules();
++
+ public:
+     explicit BackingWindow(vcl::Window* pParent);
+     virtual ~BackingWindow();
+-- 
+cgit v0.10.2
+
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644 (file)
index 0000000..0cfbf08
--- /dev/null
@@ -0,0 +1 @@
+2
diff --git a/debian/python3-uno.NEWS b/debian/python3-uno.NEWS
new file mode 100644 (file)
index 0000000..fb4312b
--- /dev/null
@@ -0,0 +1,11 @@
+libreoffice (1:3.5.2-2) unstable; urgency=low
+
+  * The script provider for python (which was in python3-uno before) has been
+    split out into libreoffice-script-provider-python as it's the same in both
+    variants and python3-uno should contain just the module anyway.  
+
+    If you relied on python3-uno for the script provider, install the new
+    package in addition.
+
+ -- Rene Engelhard <rene@debian.org>  Sat, 07 Apr 2012 14:30:41 +0200
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..55dd34c
--- /dev/null
@@ -0,0 +1,3717 @@
+#!/usr/bin/make -f
+################################################################################
+# LibreOffice source package rules file
+#
+# Please see debian/README for detailed documentation about the build system, and
+# how to build LibreOffice.
+################################################################################
+# Authors:
+# Chris Halls <halls@debian.org>
+# Rene Engelhard <rene@debian.org>
+# Copyright 2002-2015 Software in the Public Interest, Inc.
+# Portions Copyright 2010 Canonical Ltd. Author: Matthias Klose
+# Portions Copyright 2011-2013 Canonical Ltd. Author: Bjoern Michaelsen
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+################################################################################
+
+vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
+
+include /usr/share/dpkg/pkg-info.mk
+CURDIR ?= $(realpath $(dir $(firstword $(MAKEFILE_LIST)))/..)
+BASE_VERSION:=$(shell echo $(DEB_VERSION) | cut -d: -f1):$(DEB_VERSION_UPSTREAM)
+BINARY_VERSION=$(DEB_VERSION)
+#HELP_L10N_VIRTUAL_VERSION:=$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d: -f2 | tr [~] [\\-])
+HELP_L10N_VIRTUAL_VERSION:=5.2
+OOVER:=5.2
+NEXT_OOVER:=$(shell echo "$(OOVER) + 0.1" | bc)
+
+ARCH_INDEP_PACKAGES := $(shell dh_listpackages -i)
+ARCH_DEP_PACKAGES := $(shell dh_listpackages -a)
+PACKAGES := $(ARCH_INDEP_PACKAGES) $(ARCH_DEP_PACKAGES)
+
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/vendor.mk
+SHELL:=/bin/bash
+export gb_SHELL:=$(SHELL)
+
+#SYSTEM_GCC_VERSION = $(shell gcc --version | sed -n '/^gcc/s/.*\(.\..\)\..$$/\1/p')
+#FIXME
+SYSTEM_GCC_VERSION = $(shell gcc --version | sed -n '/^gcc/s/.*\(.\..\)\../\1/p' | cut -d" " -f1)
+SYSTEM_GCJ_VERSION = $(shell basename `readlink /usr/lib/jvm/java-gcj/bin/gcj` | sed -e s/gcj-// | sed -e s/$(shell gcj -dumpmachine)-//)
+
+PKGDIR:=debian/libreoffice
+OODIRNAME=libreoffice
+OODIR:=usr/lib/$(OODIRNAME)
+OOSDKDIR:=$(OODIR)/sdk
+
+# Figure out who's building this package.
+OOO_VENDOR:=The Document Foundation/Debian
+ifeq "$(DEB_VENDOR)" "Ubuntu"
+OOO_VENDOR=The Document Foundation, Debian and Ubuntu
+endif
+export OOO_VENDOR
+
+# debhelper
+export DH_OPTIONS
+export DH_ALWAYS_EXCLUDE=CVS:.svn:.bzr:.git
+#export DH_VERBOSE=1
+# quilt
+export QUILT_PATCHES=debian/patches
+export QUILT_OPTIONS="-p1 -F0"
+
+SOURCE_TREE=.
+STAMP_DIR=debian/stampdir
+TARFILE_LOCATION=$(CURDIR)/tarballs
+export TARFILE_LOCATION
+USE_SOURCE_TARBALLS=n
+USE_GIT_TARBALLS=n
+ifeq "$(USE_GIT_TARBALLS)" "y"
+GIT_BASEURL:=git://anongit.freedesktop.org/libreoffice
+lo_sources_ver=$(shell grep AC_INIT $(SOURCE_TREE)/configure.ac | grep documentfoundation | cut -d, -f2 | sed -e 's,\[,,' -e 's,\],,')
+# NOT in proper libreoffice-3-6 branch
+# use ./g checkout -b tag-libreoffice-3.6.2.1 libreoffice-3.6.2.1
+GIT_TAG=libreoffice-$(lo_sources_ver)
+GIT_BRANCH=libreoffice-5-2-7
+endif
+ifeq "$(USE_SOURCE_TARBALLS)" "y"
+lo_sources_ver=$(shell cat $(CURDIR)/sources.ver | cut -d= -f2)
+endif
+
+#########
+# Default package configuration
+#
+OOO_ARCHS = alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+PATCHSET=$(DEB_VENDOR)
+BUILD_DEPS=\
+    autoconf,\
+    automake,\
+    bc,\
+    bison,\
+    bzip2,\
+    fastjar,\
+    flex (>= 2.3.35), \
+    gperf,\
+    libarchive-zip-perl,\
+    libc0.1 (>= 2.10.2-7) [kfreebsd-any],\
+    libcups2-dev,\
+    libfontconfig1-dev,\
+    libfreetype6-dev (>= 2.2.0),\
+    libgl1-mesa-dev,\
+    libice-dev,\
+    libsm-dev,\
+    libx11-dev,\
+    libxaw7-dev,\
+    libxext-dev,\
+    libxinerama-dev,\
+    libxkbfile-dev,\
+    libxrender-dev,\
+    libxt-dev,\
+    libxtst-dev,\
+    pkg-config,\
+    unzip,\
+    x11proto-render-dev,\
+    xsltproc,\
+    zip,\
+    zlib1g-dev\
+
+
+CHECKTARGET:=check
+# These are components which can be built from internal copies, or used from the
+# distribution. See configure --help for valid values (--with-system-<value>).
+SYSTEM_STUFF = dicts
+
+ENABLE_PYTHON=y
+ifeq "$(ENABLE_PYTHON)" "y"
+  ENABLE_SCRIPT_PROVIDER_PYTHON=y
+  PACKAGE_LIBRELOGO=y
+endif
+# 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
+# uses pythonX.Y directly (and the dh_pycentral-created dependencies allow
+# also the non-working default python then) - see e.g. #587402. Also
+# note we are NOT working with python < 2.6 anymore!
+PYTHON_VERSION=current
+ifeq "$(PYTHON_VERSION)" "current"
+  PYTHON=python3
+export PYTHON=python3
+else
+  PYTHON=python$(PYTHON_VERSION)
+export PYTHON=python$(PYTHON_VERSION)
+endif
+PACKAGE_TTF_OPENSYMBOL=y
+BUILD_ONLY_EN_US=n
+ENABLE_JAVA=y
+ifeq "$(ENABLE_JAVA)" "y"
+  JDK=default
+  include /usr/share/java/java_defaults.mk
+  ifneq "$(JDK)" "default"
+    JAVA_MAINVER=7
+    ifneq (,$(filter hppa, $(DEB_HOST_ARCH)))
+    JDK=gcj-jdk
+    endif
+  endif
+endif
+JAVAHELPER_MIN_VERSION= (>= 0.37~)
+SYSTEM_STUFF += hunspell
+HUNSPELL_MIN_VER= (>= 1.1.5-2)
+SYSTEM_STUFF += altlinuxhyph
+USE_LIBHYPHEN=y
+LIBALTLINUXHYPH_MINVER= (>= 0.1.1-11)
+LIBHYPHEN_MINVER= (>= 2.4)
+SYSTEM_STUFF += boost
+BOOST_VERSION=default
+ifeq "$(BOOST_VERSION)" "default"
+  ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+    BOOST_MINVER= (>= 1.58)
+  else
+    BOOST_MINVER= (>= 1.55)
+  endif
+endif
+SYSTEM_STUFF += mdds
+USE_EXTERNAL_CXXLIBS=y
+SYSTEM_STUFF += mythes
+SYSTEM_STUFF += icu
+ICU_MINVER= (>= 52)
+SYSTEM_STUFF += librevenge
+SYSTEM_STUFF += libwpd libwpg libwps
+SYSTEM_STUFF += libvisio
+SYSTEM_STUFF += libcdr
+SYSTEM_STUFF += libmspub
+SYSTEM_STUFF += libmwaw
+SYSTEM_STUFF += libodfgen
+SYSTEM_STUFF += libetonyek
+SYSTEM_STUFF += libfreehand
+# this is libe-book, NOT evolutions libebook (which is
+# dlopen()'ed anyway and whose headers we need from the
+# system anyways if enabled
+SYSTEM_STUFF += libebook
+SYSTEM_STUFF += libabw
+SYSTEM_STUFF += libpagemaker
+BUILD_CAIROCANVAS=y
+SYSTEM_STUFF += cairo
+CAIRO_FONTS_PATCH=y
+BUILD_KDE=y
+# < 4.8 fails with gcc 4.7, see #667911
+QT_MINVER= (>= 4:4.8)
+KDELIBS_MINVER= (>= 4:4.3.4)
+BUILD_DBG_PACKAGE=n
+ifneq (noddebs,$(findstring noddebs,$(DEB_BUILD_OPTIONS)))
+BUILD_DBGSYM_PACKAGES=y
+endif
+
+ifeq "$(BUILD_DBGSYM_PACKAGES)$(BUILD_DBG_PACKAGE)" "yy"
+$(error only either -dbgsym or -dbg allowed)
+endif
+# this changes the packages' built/contents of packages (-subsequentcheckbase)
+# This is not exactly allowed in policy but it doesn't have real practical difference,
+# does it?
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+  BUILD_TEST_PACKAGE=y
+endif
+ifeq "$(shell echo $(BUILD_DBGSYM_PACKAGES)$(BUILD_DBG_PACKAGE) | grep -q y && echo true)" "true"
+  ENABLE_SYMBOLS=y
+  SMALL_SYMBOLS=y
+endif
+ifeq "$(ENABLE_JAVA)" "y"
+  # NOTE: If you change this while gcj/ant multiarch combo is still broken
+  # you need to disable bsh scripting engine completely (see disable-rhino.diff)
+  # See http://lists.debian.org/debian-java/2011/06/msg00108.html and replies
+  SYSTEM_STUFF += beanshell
+  SYSTEM_STUFF += hsqldb
+  HSQLDB_MINVER= (>> 1.8.0.10)
+  HSQLDB_TOONEWVER=1.8.1
+  HSQLDB_JAR=/usr/share/java/hsqldb1.8.0.jar
+endif
+SYSTEM_STUFF += lpsolve
+USE_SHARED_LPSOLVE=y
+LPSOLVE_MIN_VERSION= (>= 5.5.0.13-5+b1)
+ENABLE_COINMP=y
+SYSTEM_STUFF += coinmp
+ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+COINMP_MINVER=(>= 1.7.6+dfsg1-2)
+COINUTILS_MINVER=(>= 2.9.15-3.1)
+else
+COINMP_MINVER=
+COINUTILS_MINVER=
+endif
+USE_DBUS=y
+ifeq "$(USE_DBUS)" "y"
+  ifeq (,$(findstring linux,$(DEB_HOST_ARCH_OS)))
+    ENABLE_BLUETOOTH=n
+  else
+    ENABLE_BLUETOOTH=y
+    SYSTEM_STUFF += bluez
+  endif
+    ENABLE_PACKAGEKIT=n
+endif
+ENABLE_AVAHI=y
+USE_GSTREAMER=y
+USE_VLC=y
+ENABLE_WEBDAV=y
+ifeq "$(ENABLE_WEBDAV)" "y"
+WEBDAV_LIB=neon
+  ifeq "$(WEBDAV_LIB)" "neon"
+    SYSTEM_STUFF += neon
+    NEON_SECTYPE=gnutls
+    NEONSONR=27
+  else
+   SYSTEM_STUFF += apr
+   SYSTEM_STUFF += serf
+  endif
+endif
+SYSTEM_STUFF += redland
+PACKAGE_SDK=y
+ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+PACKAGE_SDK_DOCS=n
+else
+PACKAGE_SDK_DOCS=y
+endif
+PACKAGE_LOKIT=y
+
+ifeq "$(ENABLE_JAVA)" "y"
+  ifeq "$(JDK)" "default"
+    ifeq "$(shell LANG=C /usr/lib/jvm/default-java/bin/java -version 2>&1 | tail -n 1 | awk '{ print $$1 }')" "OpenJDK"
+        RUN_MAKE_CHECK=y
+        ifeq "$(DEB_HOST_ARCH)" "i386"
+         ENABLE_JUNIT4=y
+        endif
+        ifeq "$(DEB_HOST_ARCH)" "amd64"
+         ENABLE_JUNIT4=y
+        endif
+       RUN_PYTESTS=y
+    endif
+  else
+    ifeq "$(JDK)" "openjdk"
+        RUN_MAKE_CHECK=y
+        ifeq "$(DEB_HOST_ARCH)" "i386"
+         ENABLE_JUNIT4=y
+        endif
+        ifeq "$(DEB_HOST_ARCH)" "amd64"
+         ENABLE_JUNIT4=y
+        endif
+        RUN_PYTESTS=y
+    else
+      RUN_MAKE_CHECK=n
+      ENABLE_JUNIT4=n
+      RUN_PYTESTS=n
+      BUILD_TEST_PACKAGE=n
+    endif
+  endif
+#  ifneq (,$(findstring arm,$(DEB_HOST_ARCH)))
+#    export DISABLE_CVE_TESTS=TRUE
+#  endif
+#  ifneq (,$(findstring powerpc,$(DEB_HOST_ARCH)))
+#    export DISABLE_CVE_TESTS=TRUE
+#  endif
+#  ifneq (,$(findstring ppc,$(DEB_HOST_ARCH)))
+#    export DISABLE_CVE_TESTS=TRUE
+#  endif
+#  ifneq (,$(findstring s390,$(DEB_HOST_ARCH)))
+#    export DISABLE_CVE_TESTS=TRUE
+#  endif
+  ifneq (,$(findstring kfreebsd-amd64,$(DEB_HOST_ARCH)))
+    export RUN_MAKE_CHECK=n
+  endif
+  ifneq (,$(findstring kfreebsd-i386,$(DEB_HOST_ARCH)))
+    export RUN_MAKE_CHECK=n
+  endif
+  ifneq (,$(findstring sparc64,$(DEB_HOST_ARCH)))
+    export RUN_MAKE_CHECK=n
+  endif
+else
+  RUN_MAKE_CHECK=n
+  ENABLE_JUNIT4=n
+  BUILD_TEST_PACKAGE=n
+endif
+ifeq "$(ENABLE_JUNIT4)" "y"
+  JUNIT_MIN_VER= (>= 4.8.2-2)
+endif
+USE_LIBCURL4=y
+CURL_SECTYPE=gnutls
+USE_LIBSUITESPARSE=y
+SUITESPARSE_MIN_VERSION= (>= 1:3.4.0)
+PARALLEL_BUILD=y
+ENABLE_LDAP=y
+USE_OPENLDAP=y
+SYSTEM_STUFF += glew
+ENABLE_GLTF=y
+SYSTEM_STUFF += libgltf
+ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+LIBGLTF_MINVER=0.0.2-4
+else
+LIBGLTF_MINVER=0.0.1
+endif
+# I think we should only enable it when we have BOTH system-opencollasa
+# and system-collada2gltf working
+ifeq "$(ENABLE_GLTF)" "y"
+  ENABLE_COLLADA=n
+  # enable COLLADA (if any) only on i386/amd64 for now, rapidjson does seem
+  # to have alignment problems on other archs (e.g. arm*)
+  ifeq "$(DEB_HOST_ARCH)" "amd64"
+    ENABLE_COLLADA=y
+  endif
+  ifeq "$(DEB_HOST_ARCH)" "i386"
+    ENABLE_COLLADA=y
+  endif
+  ifeq "$(ENABLE_COLLADA)" "y"
+    SYSTEM_STUFF += opencollada
+    OPENCOLLADA_CFLAGS="-I/usr/include/opencollada/COLLADABaseUtils -I/usr/include/opencollada/COLLADAFramework -I/usr/include/opencollada/COLLADASaxFrameworkLoader -I/usr/include/opencollada/GeneratedSaxParser -I/usr/include/opencollada"
+    OPENCOLLADA_LIBS="-L/usr/lib/opencollada -lUTF -lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser -lMathMLSolver -lpcre"
+    SYSTEM_STUFF += collada2gltf
+    COLLADA2GLTF_CFLAGS="-I/usr/include/collada2gltf -I/usr/include/collada2gltf/JSON -I/usr/include/collada2gltf/GLTF -I/usr/include/collada2gltf/helpers -I/usr/include/collada2gltf/assetModifiers -I/usr/include/rapidjson" 
+    COLLADA2GLTF_LIBS="-lcollada2gltfConvert -lo3dgc_common_lib -lo3dgc_dec_lib -lo3dgc_enc_lib"
+  endif
+  ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+    OPENCOLLADA_MINVER=(>= 0.1.0~20140703.ddf8f47+dfsg1-2)
+  else
+   OPENCOLLADA_MINVER=
+  endif
+  ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+    COLLADA2GLTF_MINVER=(>= 20140924-2)
+  else
+    COLLADA2GLTF_MINVER=
+  endif
+endif
+ifeq "$(ENABLE_JAVA)" "y"
+  ENABLE_REPORTDESIGN=y
+  SYSTEM_STUFF += jfreereport
+  ENABLE_MEDIAWIKI=y
+  SYSTEM_STUFF += apache-commons
+  ENABLE_SCRIPT_PROVIDER_BSH=y
+  ENABLE_SCRIPT_PROVIDER_JS=y
+  ENABLE_NLPSOLVER=y
+else
+  ENABLE_REPORTDESIGN=n
+  ENABLE_MEDIAWIKI=n
+  ENABLE_SCRIPT_PROVIDER_BSH=n
+  ENABLE_SCRIPT_PROVIDER_JS=n
+  ENABLE_NLPSOLVER=n
+endif
+ENABLE_SDBC_POSTGRESQL=y
+BUILD_GTK=y
+ENABLE_SYSTRAY=y
+#ifeq "$(DEB_DISTRIBUTION)" "experimental"
+BUILD_GTK3=y
+#endif
+ifeq "$(BUILD_GTK3)" "y"
+ENABLE_INTROSPECTION=y
+endif
+ENABLE_EVO2=y
+ENABLE_GCONF=y
+ENABLE_GIO=y
+ENABLE_DCONF=y
+ENABLE_RANDR=y
+PACKAGE_BASE=y
+ENABLE_GRAPHITE=y
+SYSTEM_STUFF += graphite
+SYSTEM_STUFF += harfbuzz
+ALLOC=system
+SYSTEM_STUFF += libexttextcat
+SYSTEM_STUFF += cppunit
+ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+CPPUNIT_MINVER=1.13.2-2.1
+else
+CPPUNIT_MINVER=0.12
+endif
+DEFAULT_IMAGE=galaxy
+IMAGES:=$(DEFAULT_IMAGE) hicontrast oxygen tango sifr breeze
+ENABLE_MYSQLNATIVE=y
+ifneq "$(JESSIE_BACKPORT)" "y"
+MYSQL_FLAVOUR=default
+else
+MYSQL_FLAVOUR=mysql
+endif
+# set this also to y for system-mysql..
+SYSTEM_STUFF += mariadb
+SYSTEM_STUFF += mysql-cppconn
+ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+MYSQLCPPCONN_MINVER= (>= 1.1.7-4)
+else
+MYSQLCPPCONN_MINVER= (>= 1.1.0~r791)
+endif
+SYSTEM_STUFF += postgresql
+DICT_DIR=/usr/share/hunspell
+HYPH_DIR=/usr/share/hyphen
+THES_DIR=/usr/share/mythes
+SYSTEM_STUFF += libcmis
+ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+LIBCMIS_MINVER=0.5.0-3
+else
+LIBCMIS_MINVER=0.5.0
+endif
+SYSTEM_STUFF += jpeg
+SYSTEM_STUFF += libxml
+SYSTEM_STUFF += expat
+SYSTEM_STUFF += odbc
+SYSTEM_STUFF += curl
+SYSTEM_STUFF += sane
+SYSTEM_STUFF += poppler
+SYSTEM_STUFF += libpng
+SYSTEM_STUFF += nss
+ENABLE_HELP=y
+ifeq "$(ENABLE_HELP)" "y"
+  SYSTEM_STUFF += clucene
+  ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
+  CLUCENE_MINVER=2.3.3.4-4.1
+  else
+  CLUCENE_MINVER=2.3.3.4-2
+  endif
+endif
+SYSTEM_STUFF += lcms2
+SYSTEM_STUFF += openldap
+PACKAGE_UNOWINREG_DLL=y
+ifeq "$(DEB_VENDOR)" "Debian"
+BUILD_UNOWINREG_DLL=y
+endif
+FAKEROOT_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/libfakeroot
+# upstream says: "it's 'highly experimental'", I wouldn't enable it for
+# distros"
+ENABLE_TELEPATHY=n
+ENABLE_LIBLANGTAG=y
+SYSTEM_STUFF += liblangtag
+ENABLE_ORCUS=y
+SYSTEM_STUFF += orcus
+LIBORCUS_MINVER=0.11.2
+USE_UCPP=y
+ifeq "$(USE_UCPP)" "y"
+  SYSTEM_STUFF += ucpp
+endif
+ifeq (,$(findstring kfreebsd,$(DEB_HOST_ARCH)))
+ENABLE_MERGELIBS=y
+endif
+ENABLE_LTO=n
+USE_OPENCL=y
+#10:15 <@_rene_> ahunt: I remember you wanted to do some endian things? did it 
+#                ever get done?
+#10:15 -!- xrmx [~rm@2-228-255-178.ip194.fastwebnet.it] has joined 
+#          #libreoffice-dev
+#10:15 <@_rene_> ahunt: for firebird sdbc that is
+#10:15 -!- xrmx [~rm@2-228-255-178.ip194.fastwebnet.it] has quit [Changing host]
+#10:15 -!- xrmx [~rm@unaffiliated/xrmx] has joined #libreoffice-dev
+#10:15 <@_rene_> because I just remember I still have 
+#https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=powerpc&ver=1%3
+#
+#10:16 < ahunt> _rene_: Not yet -- I still need to get round to actually 
+#               debugging within firebird itself to make it work.
+#10:16 < ahunt> _rene_: Yup, basically we're not endian portable yet.
+#10:16 <@_rene_> An uncaught exception of type com.sun.star.sdbc.SQLException
+#10:16 <@_rene_> - firebird_sdbc error:
+#10:16 <@_rene_> *unsupported on-disk structure for file 
+#                /tmp/lu4va82l.tmp/firebird.fdb; found 2
+#10:16 <@_rene_> 944.512, support 11.2
+#10:16 < xrmx> morning
+#10:16 <@_rene_> aha, so disable firebird on be?
+#10:16 <@_rene_> (for now)
+#10:16 < Safa_[A_boy]> Hello. About converting dialogs to .ui files, What about 
+#                      wizards?
+#10:17 < ahunt> _rene_: yes, unfortunately.
+ENABLE_FIREBIRD=n
+ifeq "$(DEB_HOST_ARCH_ENDIAN)" "big"
+  ENABLE_FIREBIRD=n
+endif
+ifeq "$(ENABLE_FIREBIRD)" "y"
+  SYSTEM_STUFF += firebird
+  ifeq (,$(filter firebird, $(SYSTEM_STUFF)))
+  SYSTEM_STUFF += libatomic-ops
+  endif
+endif
+ENABLE_EOT=y
+ifeq "$(ENABLE_EOT)" "y"
+SYSTEM_STUFF += libeot
+endif
+SYSTEM_STUFF += glm
+BUILD_PPC64EL=y
+BUILD_ARM64=y
+
+# Default flags to pass to configure
+CONFIGURE_FLAGS= \
+               --with-vendor='$(OOO_VENDOR)' \
+               --with-build-version='$(shell dpkg-parsechangelog |grep "^Version:" |cut -f2 -d\ )' \
+                --prefix=/usr --mandir=/usr/share/man \
+                --docdir=/usr/share/doc/libreoffice \
+               --libdir=/usr/lib \
+               --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+               --disable-online-update \
+               --disable-fetch-external \
+               --without-fonts \
+               --without-myspell-dicts \
+               --enable-hardlink-deliver \
+               --with-branding=$(CURDIR)/debian/branding
+CONFIGURE_FLAGS_INDEP=
+
+ifeq "$(ENABLE_HELP)" "y"
+CONFIGURE_FLAGS_INDEP+= --with-help
+endif
+
+ifeq "$(shell echo $(DEB_VERSION_UPSTREAM) | grep -E '(alpha|beta)'; echo $$?)" "1"
+CONFIGURE_FLAGS += --enable-release-build
+RELEASE_BUILD := y
+endif
+
+ifeq "$(shell dpkg-parsechangelog | grep urgency | grep -q UNRELEASED && echo true)" "true"
+CONFIGURE_FLAGS += --disable-dependency-tracking
+endif
+
+export verbose=t
+
+CONFIGURE_FLAGS += --with-alloc=$(ALLOC)
+
+#############
+# Architecture-specific changes
+
+# helper to generate no_archs macros (pass name of source macro)
+define gen_no_archs
+  _no_arch_macro = $(subst OOO_,OOO_NO_,$1)
+  _no_arch_tmp_$1 = $$(foreach _a,$$(filter-out $$(call $1),$(OOO_ARCHS)),!$$(_a))
+  $$(_no_arch_macro) = $$(if $$(_no_arch_tmp_$1),$$(_empty) [$$(_no_arch_tmp_$1)])
+endef
+
+PLATFORMID := $(shell grep PLATFORMID debian/vars.$(DEB_HOST_ARCH) | cut -d"=" -f2)
+
+ifeq "$(ENABLE_GLTF)" "y"
+  OOO_COLLADA_ARCHS=amd64 i386
+  $(eval $(call gen_no_archs,OOO_COLLADA_ARCHS))
+endif
+
+IGNORE_MAKE_CHECK_FAILURES=-
+ifneq "$(JDK)" "gcj-jdk"
+#  ifeq (i386,$(DEB_HOST_ARCH))
+#IGNORE_MAKE_CHECK_FAILURES:=
+#  endif
+  ifeq (amd64,$(DEB_HOST_ARCH))
+IGNORE_MAKE_CHECK_FAILURES:=
+  endif
+endif
+
+OOO_64BIT_ARCHS = $(filter alpha amd64 arm64 ia64 kfreebsd-amd64 mips64 mips64el ppc64 ppc64el s390x sparc64, $(OOO_ARCHS))
+$(eval $(call gen_no_archs,OOO_64BIT_ARCHS))
+OOO_BE_ARCHS = $(filter hppa m68k mips mips64 powerpc powerpcspe ppc64 s390 s390x sparc sparc64,$(OOO_ARCHS))
+OOO_LE_ARCHS = $(filter-out $(OOO_BE_ARCHS),$(OOO_ARCHS))
+$(eval $(call gen_no_archs,OOO_LE_ARCHS))
+
+# Java...
+ifeq "$(JDK)" "default"
+OOO_JAVA_ARCHS = $(filter $(OOO_ARCHS),$(java_architectures))
+else
+OOO_JAVA_ARCHS = $(OOO_ARCHS)
+endif
+$(eval $(call gen_no_archs,OOO_JAVA_ARCHS))
+
+ifeq "$(JDK)" "default"
+OOO_GCJ_JDK_ARCHS := $(filter $(OOO_ARCHS),$(filter-out $(java7_architectures),$(filter-out $(java6_architectures),$(java5_architectures))))
+else
+OOO_GCJ_JDK_ARCHS := hppa
+endif
+OOO_OPENJDK_ARCHS := $(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))
+$(eval $(call gen_no_archs,OOO_OPENJDK_ARCHS))
+
+OOO_GCJ_ARCHS = $(filter-out $(OOO_OPENJDK_ARCHS), $(OOO_JAVA_ARCHS))
+$(eval $(call gen_no_archs,OOO_GCJ_ARCHS))
+
+OOO_ARCH_DEP_EXTENSIONS_ARCHS := $(OOO_ARCHS)
+OOO_EXTENSIONS_ARCHS := $(OOO_ARCH_DEP_EXTENSIONS_ARCHS)
+
+OOO_BASE_ARCHS := $(OOO_JAVA_ARCHS)
+$(eval $(call gen_no_archs,OOO_BASE_ARCHS))
+OOO_REPORTDESIGN_ARCHS := $(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))
+$(eval $(call gen_no_archs,OOO_REPORTDESIGN_ARCHS))
+
+OOO_CHECK_ARCHS := $(filter-out $(OOO_GCJ_JDK_ARCHS) kfreebsd-i386 kfreebsd-amd64 sparc64,$(OOO_ARCHS))
+$(eval $(call gen_no_archs,OOO_CHECK_ARCHS))
+
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+  ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_BASE_ARCHS)))
+       PACKAGE_BASE=n
+       ENABLE_SDBC_POSTGRESQL=n
+       ENABLE_MYSQLNATIVE=n
+       ENABLE_EVO2=n
+       ENABLE_REPORTDESIGN=n
+       DEBHELPER_OPTIONS += -Nlibreoffice-base libreoffice-base-core -Nlibreoffice-base-drivers
+       DEBHELPER_OPTIONS += -Nlibreoffice-evolution -Nlibreoffice-kab
+       DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-postgresql -Nlibreoffice-mysql-connector
+       DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-hsqldb -Nlibreoffice-sdbc-firebird 
+       DEBHELPER_OPTIONS += -Nlibreoffice-report-builder-bin -Nlibreoffice-report-builder
+       CONFIGURE_FLAGS += --disable-database-connectivity
+  endif
+endif
+
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_BE_ARCHS)))
+       ENABLE_FIREBIRD=n
+       DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-firebird
+endif
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_ARCH_DEP_EXTENSIONS_ARCHS)))
+       ENABLE_MYSQLNATIVE=n
+       DEBHELPER_OPTIONS += -Nlibreoffice-mysql-connector
+       DEBHELPER_OPTIONS += -Nlibreoffice-presentation-minimizer
+endif
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+       ENABLE_MEDIAWIKI=n
+       ENABLE_REPORTDESIGN=n
+       ENABLE_NLPSOLVER=n
+       DEBHELPER_OPTIONS += -Nlibreoffice-wiki-publisher -Nlibreoffice-script-provider-python -Nlibreoffice-nlpsolver
+       CONFIGURE_FLAGS += --disable-extension-integration --disable-extensions
+else
+       CONFIGURE_FLAGS += --enable-extension-integration
+endif
+
+ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_JAVA_ARCHS)))
+       ENABLE_JAVA=n
+       ENABLE_REPORTDESIGN=n
+       ENABLE_MEDIAWIKI=n
+       ENABLE_NLPSOLVER=n
+       DEBHELPER_OPTIONS += -Nlibreoffice-wiki-publisher
+       DEBHELPER_OPTIONS += -Nlibreoffice-report-builder-bin -Nlibreoffice-report-builder
+       DEBHELPER_OPTIONS += -Nlibreoffice-nlpsolver
+endif
+
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_GCJ_JDK_ARCHS)))
+  ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_OPENJDK_ARCHS)))
+       ENABLE_REPORTDESIGN=n
+       ENABLE_MEDIAWIKI=n
+       ENABLE_NLPSOLVER=n
+       SYSTEM_STUFF := $(filter-out jfreereport apache-commons, $(SYSTEM_STUFF))
+       DEBHELPER_OPTIONS += -Nlibreoffice-report-builder-bin -Nlibreoffice-report-builder -Nlibreoffice-wiki-publisher -Nlibreoffice-nlpsolver
+  endif
+endif
+# disable SRB on ia64 when building with internal jfreereport.
+# fails to build. ("The system is out of resources."). FIXME.
+ifeq (ia64,$(findstring ia64,$(OOO_OPENJDK_ARCHS)))
+  ifeq (,$(findstring jfreereport,$(SYSTEM_STUFF))) 
+    OOO_REPORTDESIGN_ARCHS := $(filter-out ia64,$(OOO_REPORTDESIGN_ARCHS))
+    ifeq "$(DEB_HOST_ARCH)" "ia64"
+       ENABLE_REPORTDESIGN=n
+    endif
+  endif
+endif
+ifneq (,$(filter $(DEB_HOST_ARCH),$(OOO_GCJ_ARCHS)))
+       BUILD_JARS_NATIVE=n
+endif
+
+ifeq "$(BUILD_TEST_PACKAGE)" "n"
+       DEBHELPER_OPTIONS += -Nlibreoffice-subsequentcheckbase
+endif
+
+ifneq (,$(findstring mips, $(OOO_ARCHS)))
+  BUILD_DEPS += , binutils (>= 2.23) [mips mipsel], libc6 (>= 2.17-6) [mips mipsel]
+endif
+
+#############
+# Distro-specific overrides
+
+# Debian Jessie
+ifeq "$(shell dpkg-parsechangelog | grep Distribution | awk '{ print $$2 }')" "jessie-backports"
+  BUGS=mailto:debian-backports@lists.debian.org
+  SYSTEM_STUFF := $(filter-out opencollada collada2gltf libcmis mdds glm orcus libgltf libwps,$(SYSTEM_STUFF))
+  JESSIE_BACKPORT=y
+  BUILD_DBG_PACKAGE=y
+  BUILD_DBGSYM_PACKAGES=n
+  PYTHON_SIX_RECOMMENDS = python-six
+endif
+ifeq "$(shell dpkg-parsechangelog | grep Distribution | awk '{ print $$2 }')" "UNRELEASED"
+  BUGS=mailto:debian-openoffice@lists.debian.org
+endif
+
+ifeq "$(DEB_VENDOR)" "Debian"
+  # chromium only available here.
+  ifeq "$(DEB_HOST_ARCH)" "amd64"
+    ENABLE_GDRIVE=y
+  endif
+  ifeq "$(DEB_HOST_ARCH)" "i386"
+    ENABLE_GDRIVE=y
+  endif
+  OOO_GDRIVE_ARCHS += i386 amd64
+  ifneq "$(JESSIE_BACKPORT)" "y"
+    ifeq "$(DEB_HOST_ARCH)" "arm64"
+      ENABLE_GDRIVE=y
+    endif
+    ifeq "$(DEB_HOST_ARCH)" "armhf"
+      ENABLE_GDRIVE=y
+    endif
+      OOO_GDRIVE_ARCHS += armhf arm64
+  endif
+endif
+
+ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+UNO_LIBS_DBG=uno-libs3-dbgsym
+URE_DBG=ure-dbgsym
+CORE_DBG=libreoffice-core-dbgsym
+WRITER_DBG=libreoffice-writer-dbgsym
+URE_DBG_ROOT=.debhelper/ure/dbgsym-root
+CORE_DBG_ROOT=.debhelper/libreoffice-core/dbgsym-root
+WRITER_DBG_ROOT=.debhelper/libreoffice-writer/dbgsym-root
+DH_STRIP_DBG_OPTION_LO=--dbgsym-migration=libreoffice-dbg
+DH_STRIP_DBG_OPTION_URE=--dbgsym-migration=ure-dbg
+DH_STRIP_DBG_OPTION_UNO_LIBS=--dbgsym-migration=uno-libs3-dbg
+else
+UNO_LIBS_DBG=uno-libs3-dbg
+URE_DBG=ure-dbg
+CORE_DBG=libreoffice-dbg
+WRITER_DBG=$(CORE_DBG)
+URE_DBG_ROOT=$(URE_DBG)
+CORE_DBG_ROOT=$(CORE_DBG)
+WRITER_DBG_ROOT=$(WRITER_DBG)
+DH_STRIP_DBG_OPTION_LO=--dbg-package=$(CORE_DBG)
+DH_STRIP_DBG_OPTION_URE=--dbg-package=$(URE_DBG)
+DH_STRIP_DBG_OPTION_UNO_LIBS=---dbg-package=$(UNO_LIBS_DBG)
+ifneq "$(JESSIE_BACKPORT)" "y"
+DH_STRIP_DBG_OPTION_LO += --no-automatic-dbgsym
+DH_STRIP_DBG_OPTION_URE += --no-automatic-dbgsym
+DH_STRIP_DBG_OPTION_UNO_LIBS3 += --no-automatic-dbgsym
+endif
+endif
+
+CONFIGURE_FLAGS += $(foreach i, $(SYSTEM_STUFF),--with-system-$(i))
+
+CC_PREFIX:=$(shell gcc -dumpmachine)-
+
+       BUILD_DEPS += , gcc-$(SYSTEM_GCJ_VERSION) [$(OOO_GCJ_JDK_ARCHS)] ,g++-$(SYSTEM_GCJ_VERSION) [$(OOO_GCJ_JDK_ARCHS)]
+#ifeq (,$(findstring i386,$(DEB_HOST_ARCH)))
+#  ifeq (,$(findstring amd64,$(DEB_HOST_ARCH)))
+#    ifneq "$(SYSTEM_GCC_VERSION)" "4.6"
+#      GCC_VERSION := 4.6
+#    endif
+#  endif
+#endif
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_GCJ_JDK_ARCHS)))
+  ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_OPENJDK_ARCHS)))
+GCC_VERSION := $(SYSTEM_GCJ_VERSION)
+  endif
+endif
+ifneq "$(GCC_VERSION)" ""
+  ifneq "$(SYSTEM_GCC_VERSION)" "$(GCC_VERSION)"
+    BUILD_DEPS += , gcc-$(GCC_VERSION), g++-$(GCC_VERSION)
+    CONFIGURE_FLAGS+= \
+      CC=$(CC_PREFIX)gcc-$(GCC_VERSION) \
+      CXX=$(CC_PREFIX)g++-$(GCC_VERSION)
+  endif
+endif
+
+ifeq "$(GCC_VERSION)" "6.0"
+       BUILD_DEPS += , g++-6 (>= 6-20160205)
+endif
+
+BUILDDEB_OPTIONS ?= -- -Zxz
+
+ifneq "$(ENABLE_GLTF)" "y"
+       CONFIGURE_FLAGS += --disable-gltf
+else
+  ifneq (,$(findstring libgltf,$(SYSTEM_STUFF)))
+       BUILD_DEPS += , libgltf-dev (>= $(LIBGLTF_MINVER))
+  endif
+  ifneq "$(ENABLE_COLLADA)" "y"
+       CONFIGURE_FLAGS += --disable-collada
+  else
+    ifneq (,$(findstring opencollada,$(SYSTEM_STUFF)))
+       BUILD_DEPS += , opencollada-dev $(OPENCOLLADA_MINVER) [$(OOO_COLLADA_ARCHS)]
+       BUILD_DEPS += , libpcre3-dev [$(OOO_COLLADA_ARCHS)]
+    endif
+    ifneq (,$(findstring collada2gltf,$(SYSTEM_STUFF)))
+       BUILD_DEPS += , libcollada2gltfconvert-dev $(COLLADA2GLTF_MINVER)[$(OOO_COLLADA_ARCHS)]
+       BUILD_DEPS += , rapidjson-dev [$(OOO_COLLADA_ARCHS)]
+       BUILD_DEPS += , libo3dgc-dev (>= 0~20131011-2) [$(OOO_COLLADA_ARCHS)]
+    endif
+  endif
+endif
+
+ifneq "$(PACKAGE_SDK)" "y"
+       CONFIGURE_FLAGS += --disable-odk
+ ifneq "$(PACKAGE_SDK_DOCS)" "y"
+       CONFIGURE_FLAGS += --without-doxygen --without-javadoc
+ endif
+else
+  ifeq "$(PACKAGE_SDK_DOCS)" "y"
+       BUILD_DEPS_INDEP += , doxygen (>= 1.8.4) <!nodoc>
+  else
+       CONFIGURE_FLAGS += --without-doxygen --without-javadoc
+  endif
+endif
+
+       BUILD_DEPS += , libpoppler-dev (>= 0.12.0), libpoppler-private-dev, libpoppler-cpp-dev
+
+ifeq "$(ENABLE_GRAPHITE)" "y"
+  ifneq (,$(filter graphite, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libgraphite2-dev (>= 0.9.3)
+  endif
+else
+       CONFIGURE_FLAGS += --disable-graphite
+endif
+
+ifneq (,$(filter harfbuzz, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libharfbuzz-dev (>= 0.9.18)
+endif
+
+ifneq (,$(filter libexttextcat, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libexttextcat-dev (>= 3.4.1)
+       TEXTCAT_DATA_RECOMMENDS := libexttextcat-data
+endif
+
+ifneq (,$(filter jpeg, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libjpeg-dev
+endif
+ifneq (,$(filter libxml, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libxml2-dev, libxml2-utils
+       BUILD_DEPS += , libxslt1-dev
+       DBG_DBG_SUGGESTS+= , libxslt1-dbg
+else
+       CONFIGURE_FLAGS += --without-system-libxml
+endif
+ifneq (,$(filter expat, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libexpat1-dev
+endif
+ifneq (,$(filter odbc, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , unixodbc-dev (>= 2.2.11)
+endif
+ifneq (,$(filter sane, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libsane-dev
+endif
+ifneq (,$(filter libpng, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libpng-dev
+endif
+
+ifneq (,$(filter curl, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libcurl4-$(CURL_SECTYPE)-dev
+endif
+
+ifneq ($(ENABLE_COINMP),y)
+       CONFIGURE_FLAGS += --disable-coinmp
+else
+       BUILD_DEPS += , coinor-libcoinmp-dev $(COINMP_MINVER), coinor-libcoinutils-dev $(COINUTILS_MINVER), libbz2-dev
+endif
+
+       OPENCL_SUGGESTS := ocl-icd-libopencl1
+
+ifeq "$(shell echo $(BUILD_DBGSYM_PACKAGES)$(BUILD_DBG_PACKAGE) | grep -q y && echo true)" "true"
+  ifneq (,$(findstring i386,$(DEB_HOST_ARCH)))
+       SMALL_SYMBOLS = n
+  else
+    ifneq (,$(findstring amd64,$(DEB_HOST_ARCH)))
+       SMALL_SYMBOLS = n
+    endif
+  endif
+  ifeq "$(BUILD_DBG_PACKAGE)" "y"
+       DBG_DBG_SUGGESTS+= , libc6.1-dbg [alpha ia64], libc0.1-dbg [kfreebsd-any], libc0.3-dbg [hurd-i386], libc6-dbg [!alpha !ia64 !kfreebsd-i386 !kfreebsd-any !hurd-i386], libatk1.0-dbg, libglib2.0-0-dbg, libgnomevfs2-0-dbg, libstdc++6-$(SYSTEM_GCC_VERSION)-dbg, libx11-6-dbg, libxext6-dbg, libxaw7-dbg, libxml2-dbg, libgtk2.0-0-dbg, libxau6-dbg, libice6-dbg, libsm6-dbg, libxinerama1-dbg, libfontconfig1-dbg, libhunspell-$(shell pkg-config --modversion hunspell | cut -d. -f1,2)-0-dbg, libcurl4-dbg
+  endif
+       PYTHON_SIX_RECOMMENDS = python3-six
+endif
+
+export DPKG_EXPORT_BUILDFLAGS=y 
+include /usr/share/dpkg/buildflags.mk
+ifeq "$(ENABLE_SYMBOLS)" "y"
+  # 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
+endif
+ifeq (debug,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+       CONFIGURE_FLAGS += --enable-debug
+endif
+
+
+PYMAJOR:=$(shell $(PYTHON) -c "import sys; print (sys.version_info[0])")
+PYMINOR:=$(shell $(PYTHON) -c "import sys; print (sys.version_info[1])")
+PYMINORPLUS1:=$(shell $(PYTHON) -c "import sys; print (sys.version_info[1]+1)")
+PYTHON_SITE:=debian/python3-uno/$(shell $(PYTHON) -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+
+       BUILD_DEPS += , $(PYTHON)
+ifeq "$(ENABLE_PYTHON)" "y"
+       DBG_DBG_SUGGESTS+= , $(PYTHON)-dbg
+       BUILD_DEPS += , $(PYTHON)-dev (>= 3.3)
+       BUILD_DEPS += , dh-python
+endif
+
+ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+       BUILD_DEPS += , debhelper (>= 9.20160114)
+       # from debhelper changelog
+       BUILD_DEPS += , dpkg-dev (>= 1.18.2~)
+else
+       BUILD_DEPS += , debhelper (>= 7.2.3~)
+       BUILD_DEPS += , dpkg-dev (>= 1.17.14)
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+  ifeq "$(BUILD_JARS_NATIVE)" "y"
+       STAMP_NATIVE_JARS = $(STAMP_DIR)/native-jars
+       JAVA_GCJ_DEPENDS = libgcj-common (>= 1:4.1.1-14)
+  endif
+endif
+
+ifeq "$(RUN_TESTTOOL)" "y"
+       CONFIGURE_FLAGS += --enable-hids
+endif
+ifneq (,$(filter cppunit, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libcppunit-dev (>= $(CPPUNIT_MINVER))
+endif
+       BUILD_DEPS += , gdb$(OOO_NO_CHECK_ARCHS) <!nocheck>
+       BUILD_DEPS += , fontconfig$(OOO_NO_CHECK_ARCHS) <!nocheck>
+       BUILD_DEPS += , fonts-liberation$(OOO_NO_CHECK_ARCHS) <!nocheck>
+       BUILD_DEPS += , fonts-crosextra-carlito$(OOO_NO_CHECK_ARCHS) <!nocheck>
+  ifeq "$(ENABLE_JUNIT4)" "y"
+       BUILD_DEPS += , junit4 $(JUNIT_MIN_VER)$(OOO_NO_CHECK_ARCHS) <!nocheck>
+  else
+       CONFIGURE_FLAGS += --without-junit
+  endif
+
+ifneq "$(BUILD_ONLY_EN_US)" "y"
+  ifeq (lang=,$(findstring lang=,$(DEB_BUILD_OPTIONS)))
+       ISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+    ifeq "$(ENABLE_HELP)" "n"
+       HELPISOS=
+    else
+       HELPISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+    endif
+       LANGPACKISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+  else
+       # Note that the first one here *has to be* en-US. the first one gets
+       # gid_Module_Root as filelist later and the rest gid_Module_Root.$iso
+       # but we can't/shouldn't do dynamic switching, so let en-US be the first
+       # one to that gid_Module_Root always is english and the other langpacks
+       # have gid_Module_Root.$iso
+       #ISOS=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+       ISOS:=en-US af am ar as ast be bg bn br bs ca ca-valencia cs cy da de dz el \
+         en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu id is it ja \
+         ka kk km ko kmr-Latn 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
+    ifeq "$(ENABLE_HELP)" "n"
+       HELPISOS:=
+    else
+       #HELPISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all') 
+       HELPISOS:=en-US ca ca-valencia 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 tr vi zh-CN zh-TW
+    endif
+       #LANGPACKISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+       LANGPACKISOS:=en-US af am ar as ast be bg bn br bs ca ca-valencia cs cy da de dz el \
+         en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu id is it ja \
+         ka kk km ko kmr-Latn 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
+else
+       ISOS=en-US
+    ifeq "$(ENABLE_HELP)" "n"
+       HELPISOS=
+    else
+       HELPISOS=en-US
+    endif
+       LANGPACKISOS=en-US
+endif
+BUILD_ISOS = $(ISOS)
+
+ifneq "$(BUILD_ONLY_EN_US)" "y"
+  ifneq "$(BUILD_ISOS)" "en-US"
+       CONFIGURE_FLAGS_LANG += --with-lang="$(BUILD_ISOS)"
+       CONFIGURE_FLAGS_INDEP += $(CONFIGURE_FLAGS_LANG)
+  endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+  BUILD_DEPS += , maven-repo-helper
+  ifeq "$(JDK)" "default"
+       BUILD_DEPS += , java-common (>= 0.49)
+       JAVA_HOME=/usr/lib/jvm/default-java
+       BUILD_DEPS += , default-jdk $(filter-out !ia64,$(OOO_NO_JAVA_ARCHS))
+    ifneq (,$(findstring ia64,$(OOO_JAVA_ARCHS)))
+       BUILD_DEPS += , default-jdk (>= 1:1.7-48) [ia64]
+    endif
+    ifneq (,$(findstring kfreebsd,$(OOO_JAVA_ARCHS)))
+       BUILD_DEPS += , default-jdk (>= 2:1.7-52.1) [kfreebsd-any]
+    endif
+    ifneq (,$(findstring sparc64,$(OOO_JAVA_ARCHS)))
+       BUILD_DEPS += , default-jdk (>= 2:1.8-55) [sparc64]
+    endif
+    ifeq ($(java_default_version),5)
+       JDK=gcj-jdk
+    endif
+  endif
+  ifeq "$(JDK)" "gcj-jdk"
+       JAVA_HOME=/usr/lib/jvm/java-gcj
+       BUILD_DEPS += , gcj-jdk$(OOO_NO_JAVA_ARCHS)
+       DEBHELPER_OPTIONS += -Nlibreoffice-dev-doc
+       PACKAGE_SDK_DOCS = n
+  endif
+  ifeq "$(JDK)" "openjdk"
+    ifeq "$(JAVA_MAINVER)" "6"
+       BUILD_DEPS += , openjdk-$(JAVA_MAINVER)-jdk (>= 6b23~pre8-2) [$(filter-out ia64 $((OOO_GCJ_JDK_ARCHS),$(filter-out $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))])
+    else
+       BUILD_DEPS += , openjdk-$(JAVA_MAINVER)-jdk [$(filter-out mips mipsel $(OOO_GCJ_JDK_ARCHS),$(OOO_JAVA_ARCHS))]
+      # no 7 on mips(el)
+      ifneq (,$(findstring mips,$(OOO_JAVA_ARCHS)))
+       BUILD_DEPS += , openjdk-6-jdk (>= 6b23~pre8-2) [mips mipsel]
+        ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
+          JAVA_MAINVER=6
+        endif
+      endif
+    endif
+       JAVA_HOME=/usr/lib/jvm/java-$(JAVA_MAINVER)-openjdk-$(DEB_HOST_ARCH)
+  endif
+        TEST_JAVA_HOME=$(JAVA_HOME)
+  ifneq "$(OOO_GCJ_JDK_ARCHS)" ""
+       BUILD_DEPS += , gcj-jdk [$(OOO_GCJ_JDK_ARCHS)]
+       BUILD_DEPS += , gcj-native-helper [$(OOO_GCJ_ARCHS)], libgcj-common (>= 1:4.4.1) [$(OOO_GCJ_ARCHS)]
+  endif
+  ifeq "$(ENABLE_MEDIAWIKI)" "y"
+       BUILD_DEPS += , ant (>= 1.7.0)$(OOO_NO_JAVA_ARCHS), ant-optional (>= 1.7.0)$(OOO_NO_JAVA_ARCHS)
+  else
+       BUILD_DEPS += , ant (>= 1.6.5)$(OOO_NO_JAVA_ARCHS)
+  endif
+  ifneq "$(GCJ_VERSION)" ""
+       GCJ_JAWT_DEPENDS= $(shell dpkg -S /usr/lib/$(DEB_HOST_MULTIARCH)/gcj-$(GCJ_VERSION)-*/libgcj_bc.so.1 | cut -d: -f1 | sed -e s/$$/-awt/)
+       DBG_DBG_SUGGESTS+= , $(shell echo $(GCJ_AWT_DEPENDS) | sed -e s/awt/dbg/)
+       GCJ_JAWT_DIR=$(shell dirname `dpkg -L $(GCJ_JAWT_DEPENDS) | grep libjawt.so | head -n 1`)
+  endif
+       JAVA_RUNTIME_DEPENDS = default-jre
+#  ifneq (,$(GCJ_JAWT_DEPENDS))
+#      JAVA_RUNTIME_DEPENDS += | $(GCJ_JAWT_DEPENDS)
+#  endif
+  ifneq (,$(filter $(DEB_HOST_ARCH), $(OOO_OPENJDK_ARCHS)))
+    ifneq "$(DEB_HOST_ARCH)" "ia64"
+       JAVA_RUNTIME_DEPENDS += | openjdk-8-jre | openjdk-7-jre | openjdk-6-jre
+    else
+       JAVA_RUNTIME_DEPENDS += | openjdk-7-jre
+    endif
+  endif
+       JAVA_RUNTIME_DEPENDS += | gcj-jre
+  ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386))
+       JAVA_RUNTIME_DEPENDS += | sun-java5-jre | sun-java6-jre
+  endif
+       JAVA_RUNTIME_DEPENDS += | java5-runtime
+       # Suns Java "packages"
+       JAVA_RUNTIME_DEPENDS += | jre
+       MEDIAWIKI_JAVA_RUNTIME_DEPENDS = $(shell echo $(JAVA_RUNTIME_DEPENDS) | sed -e "s/gcj-jre |//" | sed -e "s/sun-java5-jre//" | sed -e "s/java5-runtime/java6-runtime/")
+export JAVA_HOME
+       CONFIGURE_FLAGS += --with-jdk-home=$(JAVA_HOME)
+       JAVA_COMMON_DEPENDS= , libreoffice-java-common
+       JAVA_COMMON_DEPENDS_VERSION:= (>= $(BASE_VERSION)~)
+  ifeq "$(PACKAGE_SDK)" "y"
+    ifeq "$(PACKAGE_UNOWINREG_DLL)" "y"
+      ifeq "$(BUILD_UNOWINREG_DLL)" "y"
+       CONFIGURE_FLAGS_INDEP += --enable-build-unowinreg
+       BUILD_DEPS_INDEP += , g++-mingw-w64-i686
+       CONFIGURE_FLAGS_INDEP += --with-mingw-cross-compiler=i686-w64-mingw32-g++
+      endif
+    endif
+  endif
+  ifeq "$(ENABLE_MEDIAWIKI)" "y"
+       CONFIGURE_FLAGS_INDEP += --enable-ext-wiki-publisher
+  endif
+  ifeq "$(ENABLE_REPORTDESIGN)" "y"
+       # report-builder
+    ifneq (,$(filter jfreereport, $(SYSTEM_STUFF)))
+       REPORT_BUILDER_BUILD_DEPS += , libbase-java$(OOO_NO_REPORTDESIGN_ARCHS), libsac-java$(OOO_NO_REPORTDESIGN_ARCHS), libxml-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libflute-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libpentaho-reporting-flow-engine-java (>= 0.9.4)$(OOO_NO_REPORTDESIGN_ARCHS), liblayout-java (>= 0.2.10)$(OOO_NO_REPORTDESIGN_ARCHS), libloader-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libformula-java (>= 1.1.7)$(OOO_NO_REPORTDESIGN_ARCHS), librepository-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libfonts-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS), libserializer-java (>= 1.1.6)$(OOO_NO_REPORTDESIGN_ARCHS)
+       REPORT_BUILDER_JAR_DEPENDS := , libbase-java, libsac-java, libxml-java (>= 1.1.6), libflute-java (>= 1.1.6), libpentaho-reporting-flow-engine-java (>= 0.9.4), liblayout-java (>= 0.2.10), libloader-java (>= 1.1.6), libformula-java (>= 1.1.7), librepository-java (>= 1.1.6), libfonts-java (>= 1.1.6), libserializer-java (>= 1.1.6)
+       BUILD_DEPS_INDEP += $(REPORT_BUILDER_BUILD_DEPS)
+       CONFIGURE_FLAGS += --with-libbase-jar=/usr/share/java/libbase.jar --with-libxml-jar=/usr/share/java/libxml.jar --with-flute-jar=/usr/share/java/flute.jar --with-jfreereport-jar=/usr/share/java/flow-engine.jar --with-liblayout-jar=/usr/share/java/liblayout.jar --with-libloader-jar=/usr/share/java/libloader.jar --with-libformula-jar=/usr/share/java/libformula.jar --with-librepository-jar=/usr/share/java/librepository.jar --with-libfonts-jar=/usr/share/java/libfonts.jar --with-libserializer-jar=/usr/share/java/libserializer.jar
+    endif
+    ifneq (,$(filter apache-commons, $(SYSTEM_STUFF)))
+       REPORT_BUILDER_BUILD_DEPS += , libcommons-logging-java$(OOO_NO_JAVA_ARCHS)
+       REPORT_BUILDER_JAR_DEPENDS += , libcommons-logging-java
+       CONFIGURE_FLAGS_INDEP += --with-commons-logging-jar=/usr/share/java/commons-logging.jar
+    endif
+  else
+       CONFIGURE_FLAGS += --disable-report-builder
+  endif
+  ifeq "$(ENABLE_NLPSOLVER)" "y"
+       CONFIGURE_FLAGS_INDEP += --enable-ext-nlpsolver
+  endif
+       OOO_OFFICEBEAN_DEP = libreoffice-officebean
+       BUILD_DEPS += , javahelper $(JAVAHELPER_MIN_VERSION)
+else
+       CONFIGURE_FLAGS += --without-java
+       DEBHELPER_OPTIONS += -Nlibreoffice-officebean -Nlibreoffice-java-common -Nlibreoffice-gcj -Nlibreoffice-script-provider-bsh -Nlibreoffice-script-provider-js
+endif
+
+ifneq (,$(filter nss, $(SYSTEM_STUFF)))
+       BUILD_DEPS+= , libnss3-dev (>= 3.12.3)
+       DBG_DBG_SUGGESTS+= , libnss3-dbg
+endif
+
+ifeq "$(USE_UCPP)" "y"
+  ifneq (,$(filter ucpp, $(SYSTEM_STUFF)))
+       IDLC_CPP_DEPENDS := ucpp
+  endif
+else
+# hardcode 4.7 as 4.8 fails:
+# 14:17 <@caolan> ah, "build fails with cpp 4.8.0, this is fixable by passing 
+#                -P, but then idlc produces empty urd files"
+       IDLC_CPP_DEPENDS := cpp-4.7
+       CONFIGURE_FLAGS += --with-idlc-cpp=cpp-4.7
+endif
+       BUILD_DEPS += , $(IDLC_CPP_DEPENDS)
+
+ifneq (,$(filter hunspell, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libhunspell-dev $(HUNSPELL_MIN_VER)
+endif
+       CONFIGURE_FLAGS += --with-external-dict-dir=$(DICT_DIR)
+
+ifneq (,$(filter altlinuxhyph, $(SYSTEM_STUFF)))
+  ifeq "$(USE_LIBHYPHEN)" "y"
+       BUILD_DEPS += , libhyphen-dev $(LIBHYPHEN_MINVER)
+  else
+       BUILD_DEPS += , libaltlinuxhyph-dev $(LIBALTLINUXHYPH_MINVER)
+  endif
+endif
+       CONFIGURE_FLAGS += --with-external-hyph-dir=$(HYPH_DIR)
+
+ifneq (,$(filter boost, $(SYSTEM_STUFF)))
+  ifneq "$(BOOST_VERSION)" "default"
+       BUILD_DEPS += , libboost$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-date-time$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-iostreams$(BOOST_VERSION)-dev, libboost$(BOOST_VERSION)-filesystem-dev
+       #BUILD_DEPS += , libboost-thread$(BOOST_VERSION)-dev, libboost-program-options$(BOOST_VERSION)-dev
+    ifeq "$(ENABLE_ORCUS)" "y"
+      ifeq (,$(filter orcus, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libboost-system$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-iostreams$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-program-options$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-filesystem$(BOOST_VERSION)-dev $(BOOST_MINVER)
+      endif
+    endif
+    ifeq ($(USE_VLC),y)
+       BUILD_DEPS += , libboost-system$(BOOST_VERSION)-dev $(BOOST_MINVER)
+    endif
+  else
+       BUILD_DEPS += , libboost-dev $(BOOST_MINVER), libboost-date-time-dev $(BOOST_MINVER), libboost-iostreams-dev $(BOOST_MINVER), libboost-filesystem-dev $(BOOST_MINVER)
+       #BUILD_DEPS += , libboost-thread-dev, libboost-program-options-dev
+    ifeq (,$(filter orcus, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libboost-system-dev $(BOOST_MINVER), libboost-iostreams-dev $(BOOST_MINVER), libboost-program-options-dev $(BOOST_MINVER), libboost-filesystem-dev $(BOOST_MINVER)
+    endif
+    ifeq ($(USE_VLC),y)
+       BUILD_DEPS += , libboost-system-dev $(BOOST_MINVER)
+    endif
+  endif
+  ifeq "$(shell if [ -e /usr/lib/$(DEB_HOST_MULTIARCH)/libboost_date_time.so ]; then echo true; fi)" "true"
+       CONFIGURE_FLAGS += --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
+  endif
+endif
+
+ifneq (,$(filter mdds, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libmdds-dev (>= 1.2)
+endif
+
+ifeq "$(ENABLE_ORCUS)" "y"
+  ifneq (,$(filter orcus, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , liborcus-dev (>= $(LIBORCUS_MINVER))
+  endif
+else
+       CONFIGURE_FLAGS += --disable-orcus
+endif
+
+ifneq (,$(filter clucene, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libclucene-dev (>= $(CLUCENE_MINVER))
+endif
+
+ifeq "$(USE_EXTERNAL_CXXLIBS)" "y"
+  ifneq (,$(filter librevenge, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , librevenge-dev
+  endif
+  ifneq (,$(filter libwpd, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libwpd-dev (>= 0.10)
+  endif
+  ifneq (,$(filter mythes, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libmythes-dev (>= 2:1.2)
+  endif
+  ifneq (,$(filter libwps, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libwps-dev (>= 0.4)
+  endif
+  ifneq (,$(filter libwpg, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libwpg-dev (>= 0.3)
+  endif
+  ifneq (,$(filter libvisio, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libvisio-dev (>= 0.1)
+  endif
+  ifneq (,$(filter libcdr, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libcdr-dev (>= 0.1)
+  endif
+  ifneq (,$(filter libmspub, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libmspub-dev (>= 0.1)
+  endif
+  ifneq (,$(filter libmwaw, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libmwaw-dev (>= 0.3.1)
+  endif
+  ifneq (,$(filter libodfgen, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libodfgen-dev (>= 0.1)
+  endif
+  ifneq (,$(filter libetonyek, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libetonyek-dev
+  endif
+  ifneq (,$(filter libfreehand, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libfreehand-dev (>= 0.1)
+  endif
+  ifneq (,$(filter libabw, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libabw-dev (>= 0.1)
+  endif
+  ifneq (,$(filter libpagemaker, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libpagemaker-dev
+  endif
+  ifneq (,$(filter libebook, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libe-book-dev
+  endif
+  ifneq (,$(filter libcmis, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libcmis-dev (>= $(LIBCMIS_MINVER))
+  endif
+endif
+       CONFIGURE_FLAGS += --with-external-thes-dir=$(THES_DIR)
+
+ifeq "$(ENABLE_GDRIVE)" "y"
+  # Google API stuff for GDrive access
+  BUILD_DEPS += , chromium (>= 39.0.2171.71-1) [$(OOO_GDRIVE_ARCHS)]
+  include /etc/chromium.d/apikeys
+  CONFIGURE_FLAGS += --with-gdrive-client-id=$(GOOGLE_DEFAULT_CLIENT_ID) --with-gdrive-client-secret=$(GOOGLE_DEFAULT_CLIENT_SECRET)
+endif
+
+ifeq "$(ENABLE_EOT)" "y"
+       CONFIGURE_FLAGS += --enable-eot
+ ifneq (,$(filter libeot, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libeot-dev
+ endif
+endif
+
+ifneq (,$(filter lcms2, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , liblcms2-dev
+endif
+
+ifneq (,$(filter openldap, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libldap2-dev
+endif
+
+ifeq ($(ENABLE_TELEPATHY),y)
+       BUILD_DEPS += , libtelepathy-glib-dev (>= 0.18)
+       CONFIGURE_FLAGS += --enable-telepathy
+endif
+
+ifeq ($(ENABLE_LIBLANGTAG),y)
+  ifneq (,$(filter liblangtag, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , liblangtag-dev (>= 0.4)
+  endif
+else
+       CONFIGURE_FLAGS += --disable-liblangtag
+endif
+
+ifneq (,$(filter icu, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libicu-dev $(ICU_MINVER)
+endif
+
+
+ifeq "$(BUILD_CAIROCANVAS)" "y"
+  ifneq (,$(filter cairo, $(SYSTEM_STUFF)))
+       BUILD_DEPS+= , libcairo2-dev
+  endif
+else
+       CONFIGURE_FLAGS+= --disable-cairo
+endif
+
+ifeq "$(BUILD_KDE)" "n"
+       CONFIGURE_FLAGS += --disable-kde4
+else
+       CONFIGURE_FLAGS += --enable-kde4
+ifneq "$(JESSIE_BACKPORT)" "y"
+       KDE_ICONSET_DEP=libreoffice-style-breeze
+else
+       KDE_ICONSET_DEP=libreoffice-style-oxygen
+endif
+       BUILD_DEPS += , kdelibs5-dev $(KDELIBS_MINVER)
+       BUILD_DEPS += , libqt4-dev $(QT_MINVER)
+       DBG_DBG_SUGGESTS+= , kdelibs5-dbg, libqt4-dbg
+endif
+
+ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+       CONFIGURE_FLAGS += --enable-ext-mariadb-connector
+  ifeq "$(MYSQL_FLAVOUR)" "default"
+       BUILD_DEPS += , default-libmysqlclient-dev
+  else
+    ifeq "$(MYSQL_FLAVOUR)" "mysql"
+      ifneq (,$(filter mysql-cppconn, $(SYSTEM_STUFF)))
+        BUILD_DEPS += , libmysqlclient-dev
+      endif
+      MARIADBCONFIG=/usr/bin/mysql_config
+    endif
+    ifeq "$(MYSQL_FLAVOUR)" "mariadb"
+      ifneq (,$(filter mariadb, $(SYSTEM_STUFF)))
+       # deducted from default-libmysqlclient-dev Depends
+       BUILD_DEPS += , libmariadbclient-dev-compat
+      endif
+      MARIADBCONFIG=/usr/bin/mariadb_config
+    endif
+  endif
+  ifneq (,$(filter mysql-cppconn, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libmysqlcppconn-dev $(MYSQLCPPCONN_MINVER)
+  endif
+endif
+
+ifeq "$(ENABLE_FIREBIRD)" "y"
+  ifneq (,$(filter libatomic-ops, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libatomic-ops-dev (>= 7.3~alpha1+git20110913-1)$(OOO_NO_BE_ARCHS)
+  endif
+  ifneq (,$(filter firebird, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , firebird-dev (>= 2.5.2.26540.ds4-2)$(OOO_NO_LE_ARCHS)
+  endif
+else
+       CONFIGURE_FLAGS += --disable-firebird-sdbc
+endif
+
+ifeq "$(BUILD_GTK)" "n"
+       CONFIGURE_FLAGS+= --disable-gtk
+       DEBHELPER_OPTIONS+= -Nlibreoffice-gtk2 -Nlibreoffice-gnome
+else
+       BUILD_DEPS += , libgtk2.0-dev (>= 2.10)
+endif
+ifeq "$(BUILD_GTK3)" "y"
+       GTK3_MINVER=3.8~
+       BUILD_DEPS += , libgtk-3-dev (>= $(GTK3_MINVER))
+  ifneq (cairo,$(findstring cairo,$(SYSTEM_STUFF)))
+  $(error GTK3 build fails without system-cairo!!)
+  endif
+       GNOME_GTK_RECOMMENDS += libreoffice-gtk3
+  ifeq "$(ENABLE_INTROSPECTION)" "y"
+       BUILD_DEPS += , gobject-introspection (>= 1.32.0), libgirepository1.0-dev (>= 1.32)
+  else
+       CONFIGURE_FLAGS += --enable-introspection=no
+       DEBHELPER_OPTIONS+= -Ngir1.2-lokdocview-0.1
+  endif
+else
+       CONFIGURE_FLAGS+= --disable-gtk3
+       GNOME_GTK_DEPENDS += libreoffice-gtk2
+endif
+ifeq "$(ENABLE_SYSTRAY)" "n"
+       CONFIGURE_FLAGS += --disable-systray
+endif
+
+ifeq "$(ENABLE_EVO2)" "n"
+       CONFIGURE_FLAGS += --disable-evolution2
+       DEBHELPER_OPTIONS += -Nlibreoffice-evolution
+else
+       CONFIGURE_FLAGS += --enable-evolution2
+       BUILD_DEPS += , libebook1.2-dev
+endif
+
+ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
+  ifneq (,$(filter postgresql, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libpq-dev (>= 9.0~)
+  else
+       BUILD_DEPS += , libkrb5-dev
+  endif
+else
+       CONFIGURE_FLAGS += --disable-postgresql-sdbc
+endif
+
+ifeq "$(ENABLE_RANDR)" "y"
+       BUILD_DEPS += , libxrandr-dev
+else
+       CONFIGURE_FLAGS += --disable-randr
+endif
+
+ifneq "$(ENABLE_PYTHON)" "y"
+       DEBHELPER_OPTIONS+= -Npython3-uno -Nlibreoffice-script-provider-python
+  ifeq "$(BUILD_ISOS)" "en-US"
+       CONFIGURE_FLAGS += --disable-python
+  else
+       $(error you can not disable python when building with translations)
+  endif
+else
+       PYUNO_DEPENDS = python3-uno (>= 4.4.0~beta2)
+  CONFIGURE_FLAGS += --enable-python=system
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+  ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libhsqldb1.8.0-java $(HSQLDB_MINVER)$(OOO_NO_JAVA_ARCHS)
+       BASE_HSQLDB_DEPENDS = libhsqldb1.8.0-java $(HSQLDB_MINVER)
+       JAVA_GCJ_DEPENDS += , libhsqldb1.8.0-java-gcj [$(OOO_GCJ_ARCHS)]
+       CONFIGURE_FLAGS += --with-hsqldb-jar=$(HSQLDB_JAR)
+  else
+    ifeq "$(JDK)" "gcj-jdk"
+       # hsqldb with jdk7 buildfix from jdk7.diff fails with gcj
+       $(error hsqldb with jdk7 buildfix from jdk7.diff fails with gcj)
+    endif
+       BUILD_DEPS += , libservlet3.1-java
+  endif
+  ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
+    ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
+       BUILD_DEPS_INDEP += , libbsh-java
+    endif
+       CONFIGURE_FLAGS += --enable-scripting-beanshell
+  else
+       DEBHELPER_OPTIONS += -Nlibreoffice-script-provider-bsh
+  endif
+  ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
+       CONFIGURE_FLAGS += --enable-scripting-javascript        
+  else
+       DEBHELPER_OPTIONS += -Nlibreoffice-script-provider-js
+  endif
+endif
+
+ifneq (,$(filter lpsolve, $(SYSTEM_STUFF)))
+  ifeq "$(USE_SHARED_LPSOLVE)" "y"
+       BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION), lp-solve $(LPSOLVE_MIN_VERSION)
+       LPSOLVE_DEP = lp-solve $(LPSOLVE_MIN_VERSION)
+  else
+       BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION)
+  endif
+  ifeq "$(USE_LIBSUITESPARSE)" "y"
+       DBG_DBG_SUGGESTS+= , libsuitesparse-dbg
+       BUILD_DEPS += , libsuitesparse-dev $(SUITESPARSE_MIN_VERSION)
+  else
+       DBG_DBG_SUGGESTS+= , libufsparse-dbg
+       BUILD_DEPS += , libufsparse-dev
+  endif
+endif
+
+ifeq "$(USE_DBUS)" "y"
+       BUILD_DEPS += , libdbus-glib-1-dev (>= 0.70)
+       CONFIGURE_FLAGS += --enable-dbus
+  ifeq "$(ENABLE_BLUETOOTH)" "y"
+    ifneq (,$(filter bluez, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libbluetooth-dev [linux-any]
+    endif
+  else
+       CONFIGURE_FLAGS += --disable-sdremote-bluetooth
+  endif
+  ifeq "$(ENABLE_PACKAGEKIT)" "y"
+       CONFIGURE_FLAGS += --enable-packagekit
+  endif
+endif
+
+ifeq "$(ENABLE_AVAHI)" "y"
+       BUILD_DEPS += , libavahi-client-dev
+       CONFIGURE_FLAGS += --enable-avahi
+endif
+
+ifeq "$(USE_GSTREAMER)" "y"
+       BUILD_DEPS += , libgstreamer1.0-dev
+       CONFIGURE_FLAGS += --enable-gstreamer-1-0
+       BUILD_DEPS += , libgstreamer-plugins-base1.0-dev
+       GSTREAMER_PLUGINS_SUGGESTS += , gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-plugins-bad, gstreamer1.0-libav
+       DBG_DBG_SUGGESTS+= , libgstreamer1.0-0-dbg
+       AVMEDIA_BE_DEPENDS += , libreoffice-avmedia-backend-gstreamer
+else
+       CONFIGURE_FLAGS += --disable-gstreamer-1-0
+       DEBHELPER_OPTIONS += -Nlibreoffice-avmedia-backend-gstreamer
+endif
+
+ifeq "$(USE_VLC)" "y"
+       CONFIGURE_FLAGS += --enable-vlc
+       BUILD_DEPS += , $(shell debian/scripts/get_libvlc_dep.sh)
+  ifeq "$(AVMEDIA_BE_DEPENDS)" ""
+       AVMEDIA_BE_DEPENDS += , libreoffice-avmedia-backend-vlc
+  else
+       AVMEDIA_BE_DEPENDS += | libreoffice-avmedia-backend-vlc
+  endif
+else
+       DEBHELPER_OPTIONS += -Nlibreoffice-avmedia-backend-vlc
+endif
+
+ifeq "$(ENABLE_WEBDAV)" "y"
+  ifeq "$(WEBDAV_LIB)" "neon"
+    ifneq (,$(filter neon, $(SYSTEM_STUFF)))
+      ifneq "$(NEON_SECTYPE)" "openssl"
+       BUILD_DEPS += , libneon$(NEONSONR)-$(NEON_SECTYPE)-dev
+       DBG_DBG_SUGGESTS+= , libneon$(NEONSONR)-$(NEON_SECTYPE)-dbg
+      else
+       BUILD_DEPS += , libneon$(NEONSONR)-dev
+       DBG_DBG_SUGGESTS+= , libneon$(NEONSONR)-dbg
+      endif
+    endif
+  else
+    ifneq (,$(filter apr, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libaprutil1-dev
+    endif
+    ifneq (,$(filter serf, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libserf-dev
+    endif
+  endif
+  CONFIGURE_FLAGS += --with-webdav=$(WEBDAV_LIB)
+else
+  CONFIGURE_FLAGS += --with-webdav=no
+endif
+
+ifeq "$(ENABLE_HELP)" "n"
+       CONFIGURE_FLAGS += --without-helppack-integration --without-help
+endif
+
+ifneq (,$(filter redland, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , librdf0-dev (>= 1.0.16-2)
+       SHLIBS_OVERRIDE += -Xunordf
+endif
+
+ifneq (,$(filter glew, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libglew-dev
+endif
+ifneq (,$(filter glm, $(SYSTEM_STUFF)))
+       BUILD_DEPS += , libglm-dev (>= 0.9.6.3)
+endif
+
+ifeq "$(ENABLE_GIO)" "y"
+       BUILD_DEPS += , libglib2.0-dev (>= 2.15.0)
+else
+       CONFIGURE_FLAGS += --disable-gio
+endif
+
+       BUILD_DEPS += , gettext
+
+ifeq "$(ENABLE_DCONF)" "y"
+       BUILD_DEPS += , libdconf-dev
+else
+       CONFIGURE_FLAGS += --disable-dconf
+endif
+
+ifeq ($(ENABLE_MERGELIBS),y)
+       CONFIGURE_FLAGS += --enable-mergelibs
+endif
+
+ifeq ($(ENABLE_LTO),y)
+       CONFIGURE_FLAGS += --enable-lto
+endif
+
+DEJAVU_DEPENDS=fonts-dejavu
+
+# Use compiler cache?  Include ccache in DEB_BUILD_OPTIONS for much faster rebuild times
+# A complete build uses about 9G of compiler cache.
+ifneq (ccache,$(findstring ccache,$(DEB_BUILD_OPTIONS)))
+       CONFIGURE_FLAGS += --disable-ccache
+endif
+
+## Build n projects in parallel?
+## DEB_BUILD_OPTIONS=parallel=<n>
+## if not specified LibreOffices configure tries to find it out itself
+NUM_CPUS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^\(.* \)\?parallel=\([0-9]\+\).*$$/\2/p')
+AVAIL_CPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
+ifeq "$(PARALLEL_BUILD)" "y"
+       # http://bugs.debian.org/622644
+       BUILD_DEPS += , make (>= 3.81-8.2)
+  # we need to specify it only if it differs, otherwise configure autodetects
+  # it.
+  ifneq "$(NUM_CPUS)" "$(AVAIL_CPUS)"
+       CONFIGURE_FLAGS += --with-parallelism=$(NUM_CPUS)
+  endif
+else
+       CONFIGURE_FLAGS += --without-parallelism
+endif
+
+ifeq ($(GCC_VERSION),)
+       BUILD_PATH = /usr/lib/jvm/java-gcj/bin:$$PATH
+else
+  ifeq ($(GCC_VERSION),snapshot)
+       BUILD_PATH = /usr/lib/jvm/java-gcj/bin:/usr/lib/gcc-snapshot/bin:$$PATH
+       BUILD_LD_LIBRARY_PATH = /usr/lib/gcc-snapshot/lib:$$LD_LIBRARY_PATH
+       BUILD_DEPS += , gcc-snapshot
+  else
+       BUILD_PATH = /usr/lib/jvm/java-gcj/bin:$(CURDIR)/debian/usr/bin:$$PATH
+  endif
+endif
+BUILD_PATH := $(CURDIR)/debian/usr/bin:$(BUILD_PATH)
+BUILD_LD_LIBRARY_PATH := $(BUILD_LD_LIBRARY_PATH):$(GCJ_JAWT_DIR)
+
+# Because of the stampdir magic, when you actually want to run a rule
+# over, you would have to remove the stamp manually.  Now, just do
+# 'debian/rules <target> <target> ... FORCE=1', and the stamp files
+# that match the given targets will be removed automagically.
+stampdir_targets+=prepare
+stampdir_targets+=build build-arch build-indep maintscripts
+stampdir_targets+=install-common install-arch install-indep langpacks
+stampdir_targets+=binary-arch binary-indep
+ifdef FORCE
+ DUMMY:=$(shell rm -f $(patsubst %,$(STAMP_DIR)/%,$(filter $(stampdir_targets),$(MAKECMDGOALS))))
+endif
+
+# If this is defined, then none of the 'long' commands will be run.  Useful
+# for testing.
+# test_rules=1
+
+# Since the final stages use up a large amount of diskspace, provide targets to
+# remove them without needing a full rebuild
+
+# Clean up the package directories (about 830M) 
+clean-debdir:
+       dh_testdir
+       # remove generated symlinks / java wrappers
+       rm -rf debian/usr
+
+       find debian -name "*.links" ! -name "libreoffice-dev-doc.links" \
+               ! -name "libreoffice-java-common.links" \
+               ! -name "liblibreofficekitgtk.links" -exec rm {} \;
+       if [ -d "$(STAMP_DIR)" ]; then rm -rf "$(STAMP_DIR)"; fi
+       rm -f debian/*.bug-script
+       rm -f debian/scripts/aotcompile.py*
+
+       rm -f l10n.fdupes
+       rm -f debian/shlibs.local
+       rm -f debian/*.templates
+
+       rm -f debian/libreoffice-dev-doc.doc-base.*
+       rm -f debian/*.install debian/*.dirs debian/*.changelog
+       rm -f debian/*.postinst debian/*.postrm debian/*.preinst debian/*.prerm debian/*.triggers
+       rm -f debian/pom*.xml
+
+       mh_clean
+       dh_clean
+
+clean:
+       dh_testroot
+       dh_testdir
+
+       if [ -f config.status ]; then \
+               $(MAKE) distclean; \
+               rm -f config.status; \
+       fi
+       find $(SOURCE_TREE) -name "*.pyc" -exec rm {} \;
+       rm -rf */*.pro.obsolete
+
+       rm -rf $(SOURCE_TREE)/file-lists
+       rm -rf $(SOURCE_TREE)/pyuno-for*
+       rm -f autogen.lastrun
+       rm -f build_error.log
+       rm -f config/config_version.h
+
+ifeq "$(HELPISOS)" ""
+       rm -rf images*
+endif
+
+       rm -f download.list
+
+       # obsolete lock file not cleaned up....
+       rm -f dbaccess/qa/extras/testdocuments/fdo84315.odb.lck
+
+       # Files created in debian directory
+       $(MAKE) -f debian/rules clean-debdir
+
+       $(MAKE) -f debian/rules control
+
+
+# Generate control file, because we have so many different languages
+# Based on script by Martin Quinson <Martin.Quinson@tuxfamily.org>
+ifeq "$(BUILD_TEST_PACKAGE)" "y"
+control: debian/control debian/tests/control
+else
+control: debian/control
+endif
+debian/control: $(wildcard debian/control*in) $(SOURCE_TREE)/bin/lo-xlate-lang  debian/rules
+       chmod 755 $(SOURCE_TREE)/bin/lo-xlate-lang
+       sed -e "s#%$(DEB_VENDOR)=\([^%]*\)%#, \1#g#" \
+           -e "s#%[A-Za-z]*=[^%]*%##g#" \
+           -e "s#%BUILD_DEPS_INDEP%#$(strip $(BUILD_DEPS_INDEP))#g" \
+           -e "s#@BUGS@#$(BUGS)#g" \
+           < debian/control.in > debian/control
+
+       for LNUM in $(filter-out en-US,$(LANGPACKISOS)) ; do \
+           LNAME=`$(SOURCE_TREE)/bin/lo-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+           LCODE=`$(SOURCE_TREE)/bin/lo-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+           [ "$$LNUM" = ca-valencia ] && continue; \
+           [ "$$LCODE" = kmr-latn ] && LCODE=kmr; \
+           CCODE=`echo $$LCODE | sed 's/-.*//'`; \
+           case "$$LCODE" in \
+               bn) \
+                       FONT_SUGGESTS=", fonts-beng"; \
+                       ;; \
+               gu) \
+                       FONT_SUGGESTS=", fonts-gujr"; \
+                       ;; \
+               pa-in) \
+                       FONT_SUGGESTS=", fonts-guru"; \
+                       ;; \
+               ml) \
+                       FONT_SUGGESTS=", fonts-mlym"; \
+                       ;; \
+               or) \
+                       FONT_SUGGESTS=", fonts-orya"; \
+                       ;; \
+               te) \
+                       FONT_SUGGESTS=", fonts-telu"; \
+                       ;; \
+               ta) \
+                       FONT_SUGGESTS=", fonts-taml"; \
+                       ;; \
+               hi-in|ne|mr) \
+                       FONT_SUGGESTS=", fonts-deva"; \
+                       ;; \
+               he) \
+                       FONT_SUGGESTS=", culmus"; \
+                       ;; \
+               km) \
+                       FONT_SUGGESTS=", fonts-khmeros"; \
+                       ;; \
+               ar) \
+                       FONT_SUGGESTS=", fonts-arabeyes"; \
+                       ;; \
+               fa) \
+                       FONT_SUGGESTS=", fonts-farsiweb"; \
+                       ;; \
+               dz) \
+                       FONT_SUGGESTS=", fonts-dzongkha"; \
+                       ;; \
+               th) \
+                       FONT_SUGGESTS=", fonts-thai-tlwg"; \
+                       ;; \
+               *) \
+                       FONT_SUGGESTS= ;; \
+           esac; \
+           case "$$LCODE" in \
+               rw) \
+                       LOCALES_DEPENDS="locales (>= 2.3.6) | locales-all (>= 2.3.6)" \
+                       ;; \
+               ss|ts|km|ns|tn) \
+                       LOCALES_DEPENDS="locales (>= 2.3.5-12) | locales-all" \
+                       ;; \
+               sr) \
+                       LOCALES_DEPENDS="locales (>= 2.3.6.ds1-5) | locales-all" \
+                       ;; \
+               as|or|nr) \
+                       LOCALES_DEPENDS="locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1)" \
+                       ;; \
+               sw) \
+                       LOCALES_DEPENDS="locales (>= 2.13-5) | locales-all (>= 2.13-5)" \
+                       ;; \
+               *) \
+                       LOCALES_DEPENDS="locales | locales-all" \
+                       ;; \
+           esac; \
+           sed -e "s|@LNAME@|$$LNAME|g" -e "s|@LCODE@|$$LCODE|g" \
+               -e "s|@CCODE@|$$CCODE|g" \
+               -e "s|@FONT_SUGGESTS@|$$FONT_SUGGESTS|g" \
+               -e "s:@LOCALES_DEPENDS@:$$LOCALES_DEPENDS:g" \
+               -e "s|@LDAP_LIB@|$(LDAP_LIB)|g" \
+               >> debian/control < debian/control.lang.in; \
+       done
+
+ifneq "$(ENABLE_HELP)" "n"
+       for LNUM in $(HELPISOS) ; do \
+           LNAME=`$(SOURCE_TREE)/bin/lo-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+           LCODE=`$(SOURCE_TREE)/bin/lo-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+           [ "$$LNUM" = ca-valencia ] && continue; \
+           CCODE=`echo $$LCODE | sed 's/-.*//'`; \
+           sed -e "s|@LNAME@|$$LNAME|g" -e "s|@LCODE@|$$LCODE|g" \
+               -e "s|@CCODE@|$$CCODE|g" \
+               >> debian/control < debian/control.help.in; \
+       done
+       # en_US is in -common
+       perl -pi -e 's|(Depends: libreoffice-writer \| language-support-translations-en), libreoffice-l10n-en-us|\1|' \
+               debian/control
+       perl -pi -e 's|(Depends: libreoffice-writer, libreoffice-l10n-en-us)|\1, fonts-deva|' \
+               debian/control
+endif
+       cat debian/control.ure.in >> debian/control
+ifeq "$(ENABLE_JAVA)" "y"
+  ifneq "$(OOO_GCJ_JDK_ARCHS)" ""
+    ifeq "$(BUILD_JARS_NATIVE)" "y"
+       cat debian/control.gcj.in >> debian/control
+    endif
+  endif
+endif
+       cat debian/control.ogltrans.in >> debian/control
+ifeq "$(ENABLE_JAVA)" "y"
+  ifeq "$(ENABLE_MEDIAWIKI)" "y"
+       cat debian/control.mediawiki.in >> debian/control
+  endif
+  ifeq "$(ENABLE_REPORTDESIGN)" "y"
+       cat debian/control.reportdesign.in >> debian/control
+  endif
+  ifeq "$(ENABLE_NLPSOLVER)" "y"
+       cat debian/control.nlpsolver.in >> debian/control
+  endif
+endif
+ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
+       cat debian/control.fonts.in >> debian/control
+endif
+ifeq "$(BUILD_DBG_PACKAGE)" "y"
+       cat debian/control.debug.in >> debian/control
+endif
+ifeq "$(PACKAGE_SDK)" "y"
+       cat debian/control.sdk.in >> debian/control
+endif
+ifeq "$(PACKAGE_LOKIT)" "y"
+       cat debian/control.lokit.in >> debian/control
+endif
+ifeq "$(BUILD_GTK)" "y"
+       cat debian/control.gtk2.in >> debian/control
+       cat debian/control.transitionals.in >> debian/control
+endif
+ifeq "$(ENABLE_SYSTRAY)" "y"
+       cat debian/control.systray.in >> debian/control
+endif
+ifeq "$(BUILD_GTK3)" "y"
+       cat debian/control.gtk3.in >> debian/control
+endif
+ifeq "$(BUILD_KDE)" "y"
+       cat debian/control.kde.in >> debian/control
+endif
+ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
+       cat debian/control.postgresql.in >> debian/control
+endif
+ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+       cat debian/control.mysql.in >> debian/control
+endif
+ifeq "$(ENABLE_EVO2)" "y"
+       cat debian/control.evolution.in >> debian/control
+endif
+ifeq "$(BUILD_TEST_PACKAGE)" "y"
+  ifneq "$(OOO_JAVA_ARCHS)" ""
+       cat debian/control.subsequentcheckbase.in >> debian/control
+  endif
+endif
+ifeq "$(PACKAGE_LIBRELOGO)" "y"
+       cat debian/control.librelogo.in >> debian/control
+endif
+ifeq "$(ENABLE_FIREBIRD)" "y"
+       cat debian/control.firebird.in >> debian/control
+endif
+
+       perl -pi -e "s,%OOO_ARCHS%,$(OOO_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_BE_ARCHS%,$(OOO_BE_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_LE_ARCHS%,$(OOO_LE_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_BASE_ARCHS%,$(OOO_BASE_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_NO_BASE_ARCHS%,$(OOO_NO_BASE_ARCHS),"g debian/control
+       perl -pi -e "s,%OOO_JAVA_ARCHS%,$(OOO_JAVA_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_GCJ_ARCHS%,$(OOO_GCJ_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_GCJ_JDK_ARCHS%,$(OOO_GCJ_JDK_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_ARCH_DEP_EXTENSIONS_ARCHS%,$(OOO_ARCH_DEP_EXTENSIONS_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_REPORTDESIGN_ARCHS%,$(OOO_REPORTDESIGN_ARCHS),g" debian/control
+       perl -pi -e "s,%OOO_NO_REPORTDESIGN_ARCHS%,$(OOO_NO_REPORTDESIGN_ARCHS),g" debian/control
+       perl -pi -e "s#%BUILD_DEPS%#$(strip $(BUILD_DEPS))#g" debian/control
+       perl -pi -e "s#%JUNIT_MIN_VER%#$(JUNIT_MIN_VER)#g" debian/control
+ifeq "$(BUILD_KDE)" "y"
+       perl -pi -e 's/%LO-DESKTOP-INTEGRATION%/libreoffice-gnome | libreoffice-kde/' debian/control
+else
+       perl -pi -e 's/%LO-DESKTOP-INTEGRATION%/libreoffice-gnome/' debian/control
+endif
+
+ifeq (sk,$(findstring sk,$(HELPISOS)))
+       perl -pi -e 's/(Depends:.*)libreoffice-l10n-sk(.*)$$/\1libreoffice-l10n-sk, libreoffice-help-cs\2/' debian/control
+endif
+ifeq (pt-BR,$(findstring pt-BR,$(LANGPACKISOS)))
+       perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+       perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+       perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+endif
+       perl -pi -e 's/Package: libreoffice-help-en-us/Package: libreoffice-help-en-us\nReplaces: libreoffice-common (<< 1:3.0.0~dev300m28)/' debian/control
+
+ifeq "$(MYSQL_FLAVOUR)" "mysql"
+       perl -pi -e "s/(Build-Conflicts: .*)/\1,libmariadbclient-dev,/" debian/control
+endif
+
+ifeq "$(ENABLE_FIREBIRD)" "y"
+  ifneq (,$(filter firebird, $(SYSTEM_STUFF)))
+       perl -pi -e "s/(Build-Conflicts: .*)/\1,firebird-dev (>= 3.0),/" debian/control
+  endif
+endif
+
+ifeq (4.4,$(SYSTEM_GCC_VERSION))
+       perl -pi -e 's/flex \|/flex (>= 2.5.25-7) |/' debian/control
+endif
+
+       $(PYTHON) debian/scripts/joinctrl.py < debian/control > debian/control.tmp
+       mv debian/control.tmp debian/control
+
+       # make -l10n-fi suggest libreoffice-spellcheck-fi to
+       # match myspell-fi and libreoffice-soikko/-voikko
+       perl -pi -e 's/myspell-dictionary-fi/myspell-dictionary-fi | libreoffice-spellcheck-fi/' debian/control
+       perl -pi -e 's/hyphen-fi/hyphen-fi | libreoffice-hyphenation-fi/' debian/control
+       # similar for tr (libreoffice-zemberek)
+       perl -pi -e 's/myspell-dictionary-tr/myspell-dictionary-tr | libreoffice-spellcheck-tr/' debian/control
+
+ifeq "$(BUILD_KDE)" "y"
+       perl -pi -e 's/GConf backend$$/GConf backend\n  * libreoffice-kde: KDE UI Plugin and KDE File Picker support/' debian/control
+endif
+
+ifeq "$(USE_DBUS)" "y"
+  ifeq "$(ENABLE_BLUETOOTH)" "y"
+       perl -pi -e 's/paperconf$$/paperconf\n  * bluez: Bluetooth support for Impress (slideshow remote control/' debian/control
+  endif
+       perl -pi -e 's/Description: office productivity suite -- presentation/Suggests: bluez\nDescription: office productivity suite -- presentation/' debian/control
+endif
+
+ifneq "$(DICT_DIR)" "/usr/share/hunspell"
+       perl -pi -e 's/^Breaks:.*myspell.*\n//' debian/control
+endif
+
+ifeq "$(BUILD_TEST_PACKAGE)" "y"
+debian/tests/control: debian/tests/control.in debian/control
+       # we want the build deps as dep on subsequentcheckbase, but strip the arch
+       # specifics as we are arch-all
+       # for now we filter out the arch-specific libc* and ia64, which is ugly,
+       # but better than manual bookkeeping. Also filter out the mips(el)-only
+       # binutils build-dep...
+       sed -e "s#%BUILD_DEPS_ARCH_ALL%#$(strip $(shell echo '$(BUILD_DEPS), $(BUILD_DEPS_INDEP)'|sed -e 's/,/,\n /g'|grep -v libc0.1| grep -v libc6| grep -v ia64|grep -v binutils|grep -v gcj-jdk|grep -v gcj-native-helper|grep -v libgcj-common|grep -v openjdk-6-jdk|sed -e 's/\[[^]]*\]//g'|sed -e s,\<.*\>,,g))#g" < debian/tests/control.in > debian/tests/control
+endif
+
+.DELETE_ON_ERROR: debian/control debian/tests/control
+
+# All 'important' targets have 2 lines.  The one that is run by
+# dpkg-buildpackage or the user, and the one that does the actual work.  This
+# indirection is needed so that the 'stamp' files that signify when a rule is
+# done can be located in a separate 'stampdir'.  Recall that make has no way to
+# know when a goal has been met for a phony target (like "build" or "install").
+#
+# At the end of each stampdir target, be sure to run the command 'touch $@'
+# so that the target will not be run again.  Removing the file will make
+# make run the target over.
+
+prepare: $(STAMP_DIR)/prepare
+$(STAMP_DIR)/prepare:
+       dh_testdir
+
+       # Make sure needed scripts are executable
+       set -e;\
+       for FILE in debian/scripts/move-if-change \
+                   debian/scripts/cleandupes \
+                   debian/scripts/get_libebook_dep.sh \
+                   debian/scripts/get_libvlc_dep.sh \
+                   debian/scripts/get_ttf_version.pl \
+                   autogen.sh; \
+       do \
+         chmod 755 $$FILE ;\
+       done
+
+       mkdir -p $(STAMP_DIR)
+
+       # Make sure we have /proc mounted - otherwise idlc will fail later.
+       test -r /proc/version
+
+       # create fake file if file not there; we don't use it anyways.
+       if [ ! -f $(TARFILE_LOCATION)/185d60944ea767075d27247c3162b3bc-unowinreg.dll ]; then \
+               touch $(TARFILE_LOCATION)/185d60944ea767075d27247c3162b3bc-unowinreg.dll; \
+       fi
+
+       touch $@
+
+.PHONY: config_host.mk
+config_host.mk:
+       rm -f config.status autogen.lastrun
+       PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+       MARIADBCONFIG=$(MARIADBCONFIG) \
+       FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+       OPENCOLLADA_CFLAGS=$(OPENCOLLADA_CFLAGS) OPENCOLLADA_LIBS=$(OPENCOLLADA_LIBS) \
+       COLLADA2GLTF_CFLAGS=$(COLLADA2GLTF_CFLAGS) COLLADA2GLTF_LIBS=$(COLLADA2GLTF_LIBS) \
+       ./autogen.sh $(CONFIGURE_FLAGS)
+
+build:
+       $(CURDIR)/debian/rules build-arch
+       $(CURDIR)/debian/rules build-indep
+       touch $(STAMP_DIR)/$@
+
+build-arch: $(STAMP_DIR)/prepare $(STAMP_DIR)/build-arch
+$(STAMP_DIR)/build-arch:
+#build-arch: ENABLE_HELP = n PACKAGE_SDK_DOCS = n ENABLE_MEDIAWIKI = n ENABLE_REPORTDESIGN = n ENABLE_SCRIPT_PROVIDER_BSH = n ENABLE_SCRIPT_PROVIDER_JS = n
+       dh_testdir
+
+       # FIXME: Theoretically this should call ./configure instead of
+       # it exists but that causes the configure flags NOT to be hnoured
+       # somehow...
+       PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+       MARIADBCONFIG=$(MARIADBCONFIG) \
+       FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+       OPENCOLLADA_CFLAGS=$(OPENCOLLADA_CFLAGS) OPENCOLLADA_LIBS=$(OPENCOLLADA_LIBS) \
+       COLLADA2GLTF_CFLAGS=$(COLLADA2GLTF_CFLAGS) COLLADA2GLTF_LIBS=$(COLLADA2GLTF_LIBS) \
+       ./autogen.sh $(CONFIGURE_FLAGS) \
+               --without-doxygen --without-javadoc --disable-ext-wiki-publisher \
+               --disable-report-builder --disable-scripting-javascript \
+               --disable-scripting-beanshell \
+               --with-galleries=no
+
+       PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) build-non-l10n-only
+
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+       $(CURDIR)/debian/rules check
+endif
+
+ifneq "$(BUILD_ISOS)" "en-US"
+       # build sysui and some extensions again with all languages; as it contains language-specific help
+       # and/or descriptions...
+       $(MAKE) sysui.clean
+       $(MAKE) mysqlc.clean
+       make cmd cmd="cd sysui; export WITH_LANG='$(LANGPACKISOS)'; export WITH_LANG_LIST='$(LANGPACKISOS)'; $(MAKE)"
+       make cmd cmd="cd mysqlc; export WITH_LANG='$(LANGPACKISOS)'; export WITH_LANG_LIST='$(LANGPACKISOS)'; $(MAKE)"
+endif
+
+       touch $@
+
+build-indep: $(STAMP_DIR)/prepare $(STAMP_DIR)/build-arch $(STAMP_DIR)/build-indep
+$(STAMP_DIR)/build-indep:
+       dh_testdir
+
+       $(MAKE) odk.clean
+       $(MAKE) scp2.clean
+
+       rm -f config.status autogen.lastrun
+
+       PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+       MARIADBCONFIG=$(MARIADBCONFIG) \
+       FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+       OPENCOLLADA_CFLAGS=$(OPENCOLLADA_CFLAGS) OPENCOLLADA_LIBS=$(OPENCOLLADA_LIBS) \
+       COLLADA2GLTF_CFLAGS=$(COLLADA2GLTF_CFLAGS) COLLADA2GLTF_LIBS=$(COLLADA2GLTF_LIBS) \
+       ./autogen.sh $(CONFIGURE_FLAGS) $(CONFIGURE_FLAGS_INDEP)
+
+       PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) build-nocheck
+ifeq "$(BUILD_TEST_PACKAGE)" "y"
+  ifeq "$(ENABLE_JUNIT4)" "y"
+       PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) Jar_{OOoRunner,test,ConnectivityTools}
+  endif
+endif
+
+       touch $@
+
+check: 
+ifeq "$(RUN_MAKE_CHECK)" "y"
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+       patch -p1 < $(CURDIR)/debian/patches/disable-db-tests.diff
+endif
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+       cd $(SOURCE_TREE)/smoketest && \
+               patch -p1 < $(CURDIR)/debian/patches/smoketest-disable-extension-tests.diff
+endif
+
+       $(IGNORE_MAKE_CHECK_FAILURES)t=`mktemp -q -d`; \
+       cd $(SOURCE_TREE) && \
+               export PATH=$(BUILD_PATH); \
+               export TMPDIR=$$t; \
+               export HOME=$$t; \
+               export SAL_USE_VCLPLUGIN="svp"; \
+               unset DISPLAY; \
+               if [ -x /usr/bin/gdb ]; then ulimit -c unlimited; fi && \
+               $(MAKE) -k $(CHECKTARGET) || PARALLELISM=1 $(MAKE) $(CHECKTARGET) && \
+       rm -rf $$t
+
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+       patch -p1 -R < $(CURDIR)/debian/patches/disable-db-tests.diff
+endif
+ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+       cd $(SOURCE_TREE)/smoketest && \
+               patch -p1 -R < $(CURDIR)/debian/patches/smoketest-disable-extension-tests.diff
+endif
+endif
+
+ifeq "$(RUN_PYTESTS)" "y"
+       cd $(SOURCE_TREE)/pyuno && $(MAKE) PythonTest_pytests
+endif
+
+install: $(STAMP_DIR)/install-common $(STAMP_DIR)/install-arch $(STAMP_DIR)/install-indep
+
+install-common: $(STAMP_DIR)/install-common
+$(STAMP_DIR)/install-common:
+       dh_testdir
+       dh_testroot
+
+       if [ -x /usr/bin/dh_prep ]; then dh_prep; else dh_clean -k; fi
+       rm -f debian/*.install debian/*.dirs
+
+       # remove those for safety in case the languages might change on
+       # testbuilds. then the /*/ in dh_installdocs in binary-* won't work
+       # anymore (different dirs)
+       rm -rf $(SOURCE_TREE)/instsetoo_native/util/LibreOffice
+
+       rm -rf $(SOURCE_TREE)/file-lists
+
+       # install LibreOffice.
+       cd $(SOURCE_TREE)/; \
+                PATH=$(BUILD_PATH) \
+                DESTDIR=$(CURDIR)/debian/tmp \
+                $(MAKE) distro-pack-install
+       export DESTDIR=$(CURDIR)/debian/tmp ;\
+       export VERSION=$(OOVER); \
+       export OOINSTBASE=$(OODIR); \
+       export OOO_LANGS_LIST="$(ISOS)"; \
+       $(CURDIR)/debian/scripts/gid2pkgdirs.sh
+ifeq "$(shell echo $(BUILD_DBGSYM_PACKAGES)$(BUILD_DBG_PACKAGE) | grep -q y && echo true)" "true"
+       make cmd cmd="export DESTDIR=$(CURDIR)/debian/tmp; $(CURDIR)/solenv/bin/install-gdb-printers -a /usr/share/gdb/auto-load/$(OODIR) -c -i /$(OODIR) -p /usr/share/libreoffice/gdb"
+endif
+
+       # FIXME
+       cd $(CURDIR)/debian/tmp/pkg && rm -rf \*
+       
+       # prepare install/dir files for dh
+       for i in `cd $(CURDIR)/debian/tmp/pkg; ls -1 | xargs`; do \
+               echo "$${i}/usr/* usr" > debian/$$i.install; \
+               (cd debian/tmp/pkg/$$i; find . -type d | sed -e "s,\./,,") \
+                       > debian/$$i.dirs; \
+       done
+
+       # the english resources should be in -common
+       cat debian/libreoffice-l10n-en-US.dirs >> debian/libreoffice-common.dirs
+       cat debian/libreoffice-l10n-en-US.install >> debian/libreoffice-common.install
+       rm -f debian/libreoffice-l10n-en-US.dirs debian/libreoffice-l10n-en-US.install
+
+       # and ca-valencia in -ca...
+ifeq (ca-valencia,$(findstring ca-valencia,$(LANGPACKISOS)))
+       if [ -f debian/libreoffice-l10n-ca-valencia.dirs -a -f debian/libreoffice-l10n-ca-valencia.install ]; then \
+               cat debian/libreoffice-l10n-ca-valencia.dirs >> debian/libreoffice-l10n-ca.dirs; \
+               cat debian/libreoffice-l10n-ca-valencia.install >> debian/libreoffice-l10n-ca.install; \
+               rm -f debian/libreoffice-l10n-ca-valencia.dirs debian/libreoffice-l10n-ca-valencia.install; \
+       fi
+endif
+ifeq (ca-valencia,$(findstring ca-valencia,$(HELPISOS)))
+       if [ -f debian/libreoffice-help-ca-valencia.dirs -a -f debian/libreoffice-help-ca-valencia.install ]; then \
+               cat debian/libreoffice-help-ca-valencia.dirs >> debian/libreoffice-help-ca.dirs; \
+               cat debian/libreoffice-help-ca-valencia.install >> debian/libreoffice-help-ca.install; \
+               rm -f debian/libreoffice-help-ca-valencia.dirs debian/libreoffice-help-ca-valencia.install; \
+       fi
+endif
+
+       # should be in -kmr...
+ifeq (kmr-Latn,$(findstring kmr-Latn,$(LANGPACKISOS)))
+       if [ -f debian/libreoffice-l10n-kmr-Latn.dirs -a -f debian/libreoffice-l10n-kmr-Latn.install ]; then \
+               cat debian/libreoffice-l10n-kmr-Latn.dirs >> debian/libreoffice-l10n-kmr.dirs; \
+               cat debian/libreoffice-l10n-kmr-Latn.install >> debian/libreoffice-l10n-kmr.install; \
+               rm -f debian/libreoffice-l10n-kmr-Latn.dirs debian/libreoffice-l10n-kmr-Latn.install; \
+       fi
+endif
+
+       # fixup case (-l10n-pt-BR -> l10n-pt-br etc.)
+       for iso in $(ISOS); do \
+               pkgiso=`echo $$iso | tr A-Z a-z`; \
+               if [ "$$iso" != "$$pkgiso" ]; then \
+                       if [ "$$iso" != "en-US" -a \
+                         -e debian/libreoffice-l10n-$$iso.dirs -a \
+                         -e debian/libreoffice-l10n-$$iso.install ]; then \
+                               mv debian/libreoffice-l10n-$$iso.dirs \
+                                       debian/libreoffice-l10n-$$pkgiso.dirs; \
+                               mv debian/libreoffice-l10n-$$iso.install \
+                                       debian/libreoffice-l10n-$$pkgiso.install; \
+                       fi; \
+                       if [ -e debian/libreoffice-help-$$iso.dirs -a \
+                         -e debian/libreoffice-help-$$iso.install ]; then \
+                               mv debian/libreoffice-help-$$iso.dirs \
+                                       debian/libreoffice-help-$$pkgiso.dirs; \
+                               mv debian/libreoffice-help-$$iso.install \
+                                       debian/libreoffice-help-$$pkgiso.install; \
+                       fi; \
+               fi; \
+       done
+
+       # fix up still sneaking in ./. They break dh_install (it installs
+       # but wrongly complains about it as not-installed files)
+       perl -pi -e 's,\./,,' debian/libreoffice-common.install
+       perl -pi -e 's,\./,,' debian/ure.install
+
+ifneq "$(ENABLE_HELP)" "n"
+       # remove non-packaged localized help. This a) saves space 
+       # and b) we need this for the following dh_install as there will be
+       # no .install files created and dh_install will warn/fail due
+       # to non-installed files.
+       for iso in $(filter-out en-US,$(LANGPACKISOS)); do \
+               if ! `echo $(HELPISOS) | grep -q $$iso` || [ "$$iso" = "sk" ] ; then \
+                       pkgiso=`echo $$iso | tr A-Z a-z`; \
+                       rm -rf debian/tmp/pkg/libreoffice-help-$$iso; \
+                       rm -f debian/libreoffice-help-$$pkgiso.dirs; \
+                       rm -f debian/libreoffice-help-$$pkgiso.install; \
+               fi; \
+       done
+endif
+
+ifneq "$(PACKAGE_LIBRELOGO)" "y"
+       rm -rf debian/tmp/pkg/libreoffice-librelogo
+endif
+
+       for i in calc impress draw base writer; do \
+               echo "../usr/share/appdata/libreoffice-$$i.appdata.xml /usr/share/appdata/" >> $(PKGDIR)-$$i.install; \
+       done
+
+ifeq "$(PACKAGE_LOKIT)" "y"
+       echo "../../../include/LibreOfficeKit usr/include" > debian/libreofficekit-dev.install
+endif
+ifeq "$(ENABLE_INTROSPECTION)" "y"
+       echo "../usr/share/gir-1.0/LOKDocView-0.1.gir /usr/share/gir-1.0/" > debian/gir1.2-lokdocview-0.1.install
+       echo "../usr/lib/girepository-1.0/LOKDocView-0.1.typelib /usr/lib/$(DEB_HOST_MULTIARCH)/girepository-1.0" >> debian/gir1.2-lokdocview-0.1.install
+endif
+
+       dh_installdirs -A
+       dh_install -A --sourcedir=debian/tmp/pkg --fail-missing
+
+       # somehow this isn't installed anymore on -B builds...
+       if [ ! -f debian/libreoffice-report-builder/$(OODIR)/program/librptlo.so ]; then \
+               mkdir -p debian/libreoffice-report-builder/$(OODIR)/program/; \
+               for i in librptlo.so librptuilo.so librptxmllo.so; do \
+                       cp $(CURDIR)/instdir/program/$$i \
+                                debian/libreoffice-report-builder/$(OODIR)/program/; \
+               done; \
+       fi
+
+       rm -rf debian/tmp/pkg
+
+       # fix the desktop files....
+       cd $(PKGDIR)-common/$(OODIR)/share/xdg/ && \
+               for i in *.desktop; do \
+                       sed -i -e "s/$(OOVER)//" $$i; \
+       done
+ifneq "$(RELEASE_BUILD)" "y"
+       cd $(PKGDIR)-common/$(OODIR)/share/xdg/ && \
+               for i in *.desktop; do \
+                       sed -i -e "s/libreofficedev/libreoffice/" $$i; \
+                       sed -i -e "s/LibreOfficeDev/LibreOffice/" $$i; \
+       done
+endif
+
+       # move desktop files to their correct packages
+       for i in base calc draw impress math writer; do \
+               mkdir -p $(PKGDIR)-$$i/$(OODIR)/share/xdg; \
+               mv $(PKGDIR)-common/$(OODIR)/share/xdg/$$i.desktop \
+                       $(PKGDIR)-$$i/$(OODIR)/share/xdg; \
+       done
+
+       # move help to /usr/share
+       for iso in $(HELPISOS); do \
+               pkgiso=`echo $$iso | tr A-Z a-z`; \
+               if [ -e $(PKGDIR)-help-$$pkgiso/usr ]; then \
+                       mv $(PKGDIR)-help-$$pkgiso/usr/lib \
+                               $(PKGDIR)-help-$$pkgiso/usr/share; \
+               fi; \
+       done
+
+ifeq (sk,$(findstring sk,$(HELPISOS)))
+       # add fake sk help
+       mkdir -p $(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+       ln -s cs \
+               $(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help/sk
+endif
+
+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
+       mkdir -p $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+       mv $(PKGDIR)-common/$(OODIR)/program/classes/officebean.jar \
+               $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+       # fix the classpath
+       jh_classpath --classpath="ridl.jar unoil.jar jurt.jar juh.jar" \
+               $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/officebean.jar
+       
+  ifeq "$(PACKAGE_BASE)" "y"
+       # move sdbc_hsqldb.jar into -base (do the move
+       # to /usr/share/java here directly, we do it for the "rest"
+       # later
+       mkdir -p $(PKGDIR)-base/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+       mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes; \
+       mv $(PKGDIR)-common/$(OODIR)/program/classes/sdbc_hsqldb.jar \
+               $(PKGDIR)-base/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+       ln -s $(shell echo /$(OODIR) | sed -e s/lib/share/)/program/classes/sdbc_hsqldb.jar \
+               $(PKGDIR)-base/$(OODIR)/program/classes/sdbc_hsqldb.jar
+    ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+       # fix the classpath (file:// breaks javahelper)
+       jh_classpath --classpath="$(HSQLDB_JAR) .." \
+               $(PKGDIR)-base/$(shell echo /$(OODIR) | sed -e s/lib/share/)/program/classes/sdbc_hsqldb.jar
+    endif
+    ifeq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+       # we need this in -base. Otherwise we get unwanted package differences
+       # in the unstable version and backports which might use internal hsqldb
+       mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes
+       mv $(PKGDIR)-common/$(OODIR)/program/classes/hsqldb.jar \
+               $(PKGDIR)-base/$(OODIR)/program/classes
+    endif
+  else
+       # remove sdbc_hsqldb.jar. otherwise ends up in -java-common
+       rm -f $(PKGDIR)-common/$(OODIR)/program/classes/sdbc_hsqldb.jar
+  endif
+endif
+
+ifeq "$(BUILD_GTK)" "y"
+  ifeq "$(ENABLE_SYSTRAY)" "y"
+       # Gtk quickstarter, so to -gtk (via -gnome)
+       mkdir -p -m755 $(PKGDIR)-systray/$(OODIR)/share/xdg
+       mv $(PKGDIR)-common/$(OODIR)/share/xdg/qstart.desktop \
+               $(PKGDIR)-systray/$(OODIR)/share/xdg
+  endif
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+       # move arch-indep stuff into a libreoffice-dev-common
+       mkdir -p $(PKGDIR)-dev-common/usr/include
+       mv $(PKGDIR)-dev/usr/include/libreoffice \
+               $(PKGDIR)-dev-common/usr/include
+       # except include/sal/typesizes.h
+       mkdir -p $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
+       mkdir -p $(PKGDIR)-dev/usr/include/libreoffice/sal
+       mv $(PKGDIR)-dev-common/usr/include/libreoffice/sal/typesizes.h \
+               $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
+       cd $(PKGDIR)-dev/usr/include/libreoffice/sal/ && \
+               ln -s /usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal/typesizes.h
+       mkdir -p $(PKGDIR)-dev-common/usr/share/idl
+       mv $(PKGDIR)-dev/usr/share/idl/libreoffice \
+               $(PKGDIR)-dev-common/usr/share/idl
+       mkdir -p $(PKGDIR)-dev-common/$(OOSDKDIR)
+       mv $(PKGDIR)-dev/$(OOSDKDIR)/classes \
+               $(PKGDIR)-dev-common/$(OOSDKDIR)
+       mv $(PKGDIR)-dev/$(OOSDKDIR)/set* \
+               $(PKGDIR)-dev-common/$(OOSDKDIR)
+       mv $(PKGDIR)-dev/$(OOSDKDIR)/config* \
+               $(PKGDIR)-dev-common/$(OOSDKDIR)
+       mv $(PKGDIR)-dev/$(OOSDKDIR)/index.html* \
+               $(PKGDIR)-dev-common/$(OOSDKDIR)
+       mkdir -p $(PKGDIR)-dev-common/usr/share/libreoffice/sdk
+       mv $(PKGDIR)-dev/usr/share/libreoffice/sdk/classes \
+               $(PKGDIR)-dev-common/usr/share/libreoffice/sdk
+ifeq "$(PACKAGE_SDK)" "y"
+       mkdir -p $(PKGDIR)-dev-common/$(OODIR)/share/glade
+       mv $(PKGDIR)-common/$(OODIR)/share/glade/libreoffice-catalog.xml \
+               $(PKGDIR)-dev-common/$(OODIR)/share/glade
+else
+       rm -rf $(PKGDIR)-common/$(OODIR)/share/glade
+endif
+
+ ifeq "$(PACKAGE_SDK_DOCS)" "y"
+       # move SDK documentation into own package
+       rm -rf $(PKGDIR)-dev-doc
+       mkdir -p $(PKGDIR)-dev-doc/usr/share/doc/libreoffice
+       mv $(PKGDIR)-dev/usr/share/doc/libreoffice/sdk \
+               $(PKGDIR)-dev-doc/usr/share/doc/libreoffice
+       mkdir -p $(PKGDIR)-dev-doc/$(OOSDKDIR)
+       ln -sf /usr/share/doc/libreoffice/sdk/docs \
+               $(PKGDIR)-dev-doc/$(OOSDKDIR)/docs
+       mv $(PKGDIR)-dev/$(OOSDKDIR)/examples \
+               $(PKGDIR)-dev-doc/$(OOSDKDIR)
+       rm -f $(PKGDIR)-dev-doc/usr/share/doc/libreoffice/sdk/readme/LICENSE*
+       # and fix the symlink now dangling due to the move above
+       cd $(PKGDIR)-dev-common/$(OOSDKDIR) && \
+               ln -sf /usr/share/doc/libreoffice/sdk/index.html
+  endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+  ifeq "$(ENABLE_JAVA)" "y"
+       # compat/safety symlink for SDK Java stuff moved to /usr/share
+       rm -f $(PKGDIR)-dev-common/$(OOSDKDIR)/classes
+       mkdir -p $(PKGDIR)-dev-common/$(OOSDKDIR)/classes/com/sun/star/lib/loader
+       cd $(PKGDIR)-dev-common/$(OOSDKDIR)/classes/com/sun/star/lib/loader && \
+               for i in $(CURDIR)/$(PKGDIR)-dev-common/$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/com/sun/star/lib/loader/*.class; do \
+                       ln -s `echo $$i | sed -e 's,$(CURDIR)/$(PKGDIR)-dev-common,,'` `basename $$i`; \
+               done
+    ifeq "$(PACKAGE_UNOWINREG_DLL)" "y"
+       mkdir -p $(PKGDIR)-dev-common/$(OOSDKDIR)/classes/win
+       chmod 644 $(PKGDIR)-dev-common/$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/win/unowinreg.dll
+       ln -s /$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/win/unowinreg.dll \
+               $(PKGDIR)-dev-common/$(OOSDKDIR)/classes/win/unowinreg.dll
+    else
+       rm -rf $(PKGDIR)-dev-common/$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/win 
+    endif
+  endif
+       chmod 644 $(PKGDIR)-dev-common/$(OOSDKDIR)/configure.pl
+       chmod 755 $(PKGDIR)-dev-common/$(OOSDKDIR)/setsdkenv_unix
+
+       # fix permissions
+       find $(PKGDIR)-dev-common/usr/share/idl/$(OODIRNAME) -type f -exec chmod 644 {} \;
+endif
+
+ifeq "$(ENABLE_EVO2)" "y"
+       mkdir -p $(PKGDIR)-evolution/$(OODIR)/presets/database
+       mkdir -p $(PKGDIR)-evolution/$(OODIR)/share/registry
+       mv $(PKGDIR)-common/$(OODIR)/presets/database/evolocal.odb \
+               $(PKGDIR)-evolution/$(OODIR)/presets/database
+endif
+
+       # Access2Base IMHO clearly is -base specific :-)
+ifeq "$(PACKAGE_BASE)" "y"
+       mkdir -p $(PKGDIR)-base/$(OODIR)/share/basic
+       mv $(PKGDIR)-common/$(OODIR)/share/basic/Access2Base \
+               $(PKGDIR)-base/$(OODIR)/share/basic
+       cp $(PKGDIR)-common/$(OODIR)/share/basic/dialog.xlc \
+               $(PKGDIR)-base/$(OODIR)/share/basic
+       cp $(PKGDIR)-common/$(OODIR)/share/basic/script.xlc \
+               $(PKGDIR)-base/$(OODIR)/share/basic
+       # FIXME. Does not scale. This has to be a diversion...
+       t=`mktemp -q`; grep -v Access2Base $(PKGDIR)-common/$(OODIR)/share/basic/dialog.xlc > \
+               $$t && mv $$t $(PKGDIR)-common/$(OODIR)/share/basic/dialog.xlc && rm -f $$t
+       t=`mktemp -q`; grep -v Access2Base $(PKGDIR)-common/$(OODIR)/share/basic/script.xlc > \
+               $$t && mv $$t $(PKGDIR)-common/$(OODIR)/share/basic/script.xlc && rm -f $$t
+else
+       rm -rf $(PKGDIR)-common/$(OODIR)/share/basic/Access2Base
+       t=`mktemp -q`; grep -v Access2Base $(PKGDIR)-common/$(OODIR)/share/basic/dialog.xlc > \
+               $$t && mv $$t $(PKGDIR)-common/$(OODIR)/share/basic/dialog.xlc && rm -f $$t
+       t=`mktemp -q`; grep -v Access2Base $(PKGDIR)-common/$(OODIR)/share/basic/script.xlc > \
+               $$t && mv $$t $(PKGDIR)-common/$(OODIR)/share/basic/script.xlc && rm -f $$t
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+       # move gengal stuff into -dev
+       mkdir -p $(PKGDIR)-dev/$(OODIR)/program
+       mv $(PKGDIR)-core/$(OODIR)/program/gengal.bin \
+               $(PKGDIR)-dev/$(OODIR)/program
+       mv $(PKGDIR)-common/$(OODIR)/program/gengal \
+               $(PKGDIR)-dev/$(OODIR)/program
+else
+       rm -f $(PKGDIR)-core/$(OODIR)/program/gengal.bin
+       rm -f $(PKGDIR)-common/$(OODIR)/program/gengal
+endif
+
+ifneq "$(ENABLE_REPORTDESIGN)" "y"
+       # unneeded. a no-Java arch, so the report-builder can't work anyway.
+       # (and we need to remove it here anyway as it otherwise would end up
+       # in -base/-core)
+       rm -rf $(PKGDIR)-report-builder
+       rm -f $(PKGDIR)-core/$(OODIR)/program/librpt*
+else
+  ifeq "$(PACKAGE_BASE)" "y"
+       # move rpt stuff into -report-builder-bin
+       rm -rf $(PKGDIR)-report-builder-bin
+       mkdir -p $(PKGDIR)-report-builder-bin/$(OODIR)/program
+       # FIXME: it seems that --enable/--disable-reportbuiler affects the install
+       # location. sigh.
+       if [ -e $(PKGDIR)-core/$(OODIR)/program/librptlo.so ]; then \
+               i=core; else i=report-builder; fi; \
+       mv $(PKGDIR)-$$i/$(OODIR)/program/librpt* \
+               $(PKGDIR)-report-builder-bin/$(OODIR)/program
+  endif
+endif
+
+       # move uno_packages/cache to /var and create symlink for for
+       # documentation referencing it...
+       rm -rf $(PKGDIR)-common/$(OODIR)/share/uno_packages
+       mkdir -p $(PKGDIR)-core/var/spool/$(OODIRNAME)/uno_packages/cache
+       mkdir -p $(PKGDIR)-core/$(OODIR)/share/uno_packages
+       ln -s /var/spool/$(OODIRNAME)/uno_packages/cache \
+               $(PKGDIR)-core/$(OODIR)/share/uno_packages/cache
+       perl -pi -e \
+             's,\$$UNO_SHARED_PACKAGES/cache,file:///var/spool/$(OODIRNAME)/uno_packages/cache,g' \
+               $(PKGDIR)-common/$(OODIR)/program/unorc
+       # FIXME: What is this? unorc per default only mentiones
+       # share/uno_packages/cache...
+       rm -rf $(PKGDIR)-common/$(OODIR)/presets/uno_packages
+
+       find debian/tmp ! -perm -200 | xargs -r chmod u+w
+
+       touch $@
+
+#
+# Generate maintainer scripts
+maintscripts: $(STAMP_DIR)/maintscripts
+$(STAMP_DIR)/maintscripts: $(wildcard debian/shell-lib*.sh) $(wildcard debian/*.preinst.in) $(wildcard debian/*.postinst.in) $(wildcard debian/*.prerm.in) $(wildcard debian/*.postrm.in) debian/control
+       dh_testdir
+
+       rm -f debian/*.{pre,post}{inst,rm}
+
+       # generate maintainer scripts from *.in
+       for PKG in $(PACKAGES); do \
+         for FILE in postinst postrm preinst prerm triggers; do \
+           MAINTSCRIPT=debian/$$PKG.$$FILE ; \
+           if [ -e $$MAINTSCRIPT.in ]; then \
+             sed -n '1,/^#INCLUDE_SHELL_LIB#$$/p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' > $$MAINTSCRIPT; \
+             if egrep -q "(validate_extension|sync_extension)" $$MAINTSCRIPT.in; then \
+                cat debian/shell-lib-extensions.sh >> $$MAINTSCRIPT; \
+             fi; \
+             sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >> $$MAINTSCRIPT; \
+             perl -pi -e "s/\@LANGPACKISOS\@/$(LANGPACKISOS)/" $$MAINTSCRIPT; \
+             perl -pi -e "s,\@OODIR\@,$(OODIR),g" $$MAINTSCRIPT; \
+           fi; \
+         done; \
+       done
+
+       touch $@
+
+# Install files generated by setup into package directories
+langpacks: $(STAMP_DIR)/langpacks
+$(STAMP_DIR)/langpacks: $(STAMP_DIR)/build-indep $(STAMP_DIR)/install-indep $(SOURCE_TREE)/bin/lo-xlate-lang
+
+       # remove empty uno_packages dirs somehow in the langpacks(?)
+       for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+               rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/share/uno_packages; \
+       done
+
+       # remove ooo dirs somehow in the langpacks(?)
+       for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+               rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/share/dict/ooo; \
+       done
+
+       # remove extra license files
+       for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+               rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/licenses; \
+               rm -f $(PKGDIR)-l10n-$$iso/$(OODIR)/share/readme/LICENSE*; \
+       done
+
+       # remove extra readme files
+       for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+               rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/readmes; \
+               rm -f $(PKGDIR)-l10n-$$iso/$(OODIR)/share/readme/README*; \
+       done
+
+       # remove empty help directories
+       for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+               rm -rf $(PKGDIR)-l10n-$$iso/$(shell echo $(OODIR) | sed -e s/lib/share/)/help; \
+               rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/help; \
+       done
+
+       # install technical.dic
+       for iso in $(LANGPACKISOS); do \
+               if [ "$$iso" = "en-US" ]; then pkg=common; \
+               elif [ "$$iso" = "ca-valencia" ]; then pkg=l10n-ca; \
+               elif [ "$$iso" = "kmr-Latn" ]; then pkg=l10n-kmr; \
+               else pkg=l10n-`echo $$iso | tr A-Z a-z`; \
+               fi; \
+               mkdir -p $(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso; \
+               install -m644 $(SOURCE_TREE)/extras/source/wordbook/technical.dic \
+                       $(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso/technical.dic; \
+       done
+
+       # FIXME!
+#      # replace duplicate files in the langpacks with symlinks
+#      TMP=`mktemp -q`; \
+#              fdupes --quiet --recurse --sameline --size \
+#              debian/libreoffice-common/$(OODIR) \
+#              $(foreach d,$(shell echo $(filter-out en-US ca-valencia,$(LANGPACKISOS)) | tr A-Z a-z),debian/libreoffice-l10n-$(d)/$(OODIR)) \
+#              > $$TMP && \
+#      debian/scripts/cleandupes --base=libreoffice --prefix=debian < $$TMP && rm -f $$TMP
+
+ifeq "$(DEB_VENDOR)" "Debian"
+       # install Debian presentation template
+       otps=`cd debian/templates; echo *.otp`; \
+       for iso in $(LANGPACKISOS); do \
+         [ "$$iso" = "en-US" ] && continue; \
+         pkgiso=`echo $$iso | tr \[:upper:\] \[:lower:\]`; \
+         [ "$$pkgiso" = "ca-valencia" ] && pkgiso=ca; \
+         [ "$$pkgiso" = "kmr-latn" ] && pkgiso=kmr; \
+         mkdir -p $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt; \
+         for otp in $$otps; do \
+           ln -sf ../../en-US/presnt/$$otp \
+           $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt/$$odt; \
+         done; \
+       done
+endif
+
+ifeq (he,$(findstring he,$(LANGPACKISOS)))
+       perl -pi -e 's#<prop oor:name="CTLSequenceChecking"><value>true</value></prop>#<prop oor:name="CTLSequenceChecking"><value>false</value></prop>#' $(PKGDIR)-l10n-he/$(OODIR)/share/registry/ctl_he.xcd
+endif
+
+       touch $@
+
+native-jars: $(STAMP_NATIVE_JARS)
+$(STAMP_NATIVE_JARS): $(STAMP_DIR)/install-common
+ifeq "$(BUILD_JARS_NATIVE)" "y"
+       rm -rf debian/tmp/native-jars
+       mkdir -p debian/tmp/native-jars/gcj
+       cp -a \
+           $(PKGDIR)-common/$(OODIR)/program/classes/*.jar \
+               debian/tmp/native-jars/
+       cp -a \
+           $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/*.jar \
+               debian/tmp/native-jars/
+ifeq "$(PACKAGE_BASE)" "y"
+       cp -a \
+           $(PKGDIR)-base/$(OODIR)/program/classes/*.jar \
+               debian/tmp/native-jars/
+endif
+       : # remove problematic ones
+       rm -f debian/tmp/native-jars/ridl.jar
+       : # compile the others
+       # the Debian i386 buildd, although having much ram still OOMs without
+       # this (at unoil.jar).
+       # Also the native jar build is MUCH faster with this. But it
+       # won't be accepted into the official libgcj-common package so this
+       # hack here is needed.
+       cp /usr/lib/gcc/aotcompile.py debian/scripts
+       cd debian/scripts && \
+               patch -p0 < $(CURDIR)/debian/patches/aotcompile-256M-default.diff
+       PYTHONPATH="debian/scripts:$(shell echo $(PYTHON_SITE) | sed -e s,debian/python-uno,,)" \
+       AOT_MAKEFLAGS=-j$(NUM_CPUS) aot-compile -L /usr/lib/gcj/$(OODIRNAME) \
+           debian/tmp/native-jars debian/tmp/native-jars/gcj
+       gcj-dbtool -n debian/tmp/native-jars/tmp.db 64
+       find debian/tmp/native-jars/gcj -name '*.db' -print0 \
+           | xargs -r -0 \
+               gcj-dbtool -m debian/tmp/native-jars/tmp.db debian/tmp/native-jars/tmp.db || exit 1
+       rm -f debian/tmp/native-jars/gcj/*.db
+endif
+       touch $@
+
+# Install files generated by setup into arch-dependent package directories
+install-arch: $(STAMP_DIR)/install-arch
+$(STAMP_DIR)/install-arch: $(STAMP_DIR)/install-common $(STAMP_NATIVE_JARS)
+       dh_testdir
+       dh_testroot
+       umask 022
+
+       # move URE Java stuff to /usr/share/java
+       mkdir -p debian/ure/usr/share/java
+ifeq "$(ENABLE_JAVA)" "y"
+       mv debian/ure/$(OODIR)/program/classes/* \
+               debian/ure/usr/share/java
+       cd debian/ure/$(OODIR)/program/classes && \
+               for i in $(CURDIR)/debian/ure/usr/share/java/*.jar; do \
+                       ln -sf `echo $$i | sed -e 's,$(CURDIR)/debian/ure,,'` `basename $$i`; \
+               done
+       # fix up Class-Path of jurt.jar to be able to find libjpipe.so.
+       # See http://markmail.org/message/yacqa7oowugxwmn2
+       jh_classpath --classpath="ridl.jar unoloader.jar ../../lib /$(OODIR)/program ../bin/" \
+               $(CURDIR)/debian/ure/usr/share/java/jurt.jar
+endif
+       # and the public libs to uno-libs3
+       mkdir -p debian/uno-libs3/$(OODIR)/program
+       mkdir -p debian/uno-libs3/usr/lib/$(DEB_HOST_MULTIARCH)
+       for i in debian/ure/$(OODIR)/program/libuno_*so.3; do \
+               mv $$i debian/uno-libs3/$(OODIR)/program; \
+               ln -sf /$(OODIR)/program/`basename $$i` debian/uno-libs3/usr/lib/$(DEB_HOST_MULTIARCH)/`basename $$i`; \
+       done
+       # we also need libxmlreaderlo.so, libreglo.so and libunoidllo.so (libuno_cppuhelpergcc3.so.3
+        # needs it) and libstorelo.so (libreglo.so needs it)
+       for i in libxmlreaderlo.so libreglo.so libstorelo.so libunoidllo.so; do \
+               mv debian/ure/$(OODIR)/program/$$i \
+                       debian/uno-libs3/$(OODIR)/program; \
+       done
+
+
+ifeq "$(BUILD_KDE)" "y"
+       # install files for KDEs "create new" ...
+       mkdir -p $(PKGDIR)-kde/usr/share/templates/.source
+       for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
+               cp $$i $(PKGDIR)-kde/usr/share/templates/.source/`basename $$i`; \
+       done
+       cat debian/templates/soffice-template.desktop.in \
+               | sed -e "s/@APP@/Writer/" \
+               | sed -e "s/@EXT@/odt/" \
+               | sed -e "s/@TYPE@/text/" \
+               > $(PKGDIR)-kde/usr/share/templates/soffice.odt.desktop
+       cat debian/templates/soffice-template.desktop.in \
+               | sed -e "s/@APP@/Calc/" \
+               | sed -e "s/@EXT@/ods/" \
+               | sed -e "s/@TYPE@/spreadsheet/" \
+               > $(PKGDIR)-kde/usr/share/templates/soffice.ods.desktop
+       cat debian/templates/soffice-template.desktop.in \
+               | sed -e "s/@APP@/Impress/" \
+               | sed -e "s/@EXT@/odp/" \
+               | sed -e "s/@TYPE@/presentation/" \
+               > $(PKGDIR)-kde/usr/share/templates/soffice.odp.desktop
+       cat debian/templates/soffice-template.desktop.in \
+               | sed -e "s/@APP@/Draw/" \
+               | sed -e "s/@EXT@/odg/" \
+               | sed -e "s/@TYPE@/drawing/" \
+               > $(PKGDIR)-kde/usr/share/templates/soffice.odg.desktop
+endif
+
+       # split out gtk stuff
+       rm -rf $(PKGDIR)-gtk2
+       mkdir -p -m755 $(PKGDIR)-gtk2/$(OODIR)/program
+ifeq "$(BUILD_GTK3)" "y"
+       rm -rf $(PKGDIR)-gtk3
+       mkdir -p -m755 $(PKGDIR)-gtk3/$(OODIR)/program
+       mkdir -p -m755 debian/liblibreofficekitgtk/$(OODIR)/program
+       mv $(PKGDIR)-gnome/$(OODIR)/program/libvclplug_gtk3lo.so $(PKGDIR)-gtk3/$(OODIR)/program/
+       mv $(PKGDIR)-core/$(OODIR)/program/liblibreofficekitgtk.so debian/liblibreofficekitgtk/$(OODIR)/program/
+endif
+       mv $(PKGDIR)-gnome/$(OODIR)/program/* $(PKGDIR)-gtk2/$(OODIR)/program/
+ifeq "$(BUILD_GTK)" "y"
+       mkdir -p -m755 $(PKGDIR)-gtk2/$(OODIR)/share
+  ifeq "$(ENABLE_SYSTRAY)" "y"
+       mkdir -p $(PKGDIR)-systray/$(OODIR)/program
+       mv $(PKGDIR)-gtk2/$(OODIR)/program/*qstart*so $(PKGDIR)-systray/$(OODIR)/program
+  endif
+  ifeq "$(ENABLE_GIO)" "y"
+       mv $(PKGDIR)-gtk2/$(OODIR)/program/libucpgio1lo.so \
+               $(PKGDIR)-gnome/$(OODIR)/program/
+  endif
+  ifeq "$(ENABLE_PACKAGEKIT)" "y"
+       mv $(PKGDIR)-gtk/$(OODIR)/program/liblosessioninstalllo.so \
+               $(PKGDIR)-gnome/$(OODIR)/program/
+  endif
+endif
+
+ifeq "$(ENABLE_EVO2)" "y"
+       mkdir -p -m755 $(PKGDIR)-evolution/$(OODIR)/program
+       mv $(PKGDIR)-gtk2/$(OODIR)/program/libevoab*.so $(PKGDIR)-evolution/$(OODIR)/program
+       mv $(PKGDIR)-gnome/$(OODIR)/share/registry/evoab.xcd \
+               $(PKGDIR)-evolution/$(OODIR)/share/registry
+       # FIXME: When the rdb is correctly generated, move here, too.
+endif
+
+ifeq "$(PACKAGE_BASE)" "y"
+       mkdir -p $(PKGDIR)-base-core/$(OODIR)/program
+       mv $(PKGDIR)-base/$(OODIR)/program/libdbalo.so \
+               $(PKGDIR)-base-core/$(OODIR)/program
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+  ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+       # link to system hsqldb
+       mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes
+       ln -sf $(HSQLDB_JAR) \
+               $(PKGDIR)-base/$(OODIR)/program/classes/hsqldb.jar
+  endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+       rm -rf $(PKGDIR)-officebean
+       mkdir -p -m755 $(PKGDIR)-officebean/$(OODIR)/program/classes
+       mkdir -p -m755 $(PKGDIR)-officebean/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+       mv $(PKGDIR)-core/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/officebean.jar \
+               $(PKGDIR)-officebean/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+       ln -s $(shell echo /$(OODIR) | sed -e s/lib/share/)/program/classes/officebean.jar \
+                $(PKGDIR)-officebean/$(OODIR)/program/classes/officebean.jar
+       mv $(PKGDIR)-core/$(OODIR)/program/libofficebean.so \
+               $(PKGDIR)-officebean/$(OODIR)/program
+endif
+
+       mkdir -p -m755 $(PKGDIR)-base/usr/share/applications \
+                      $(PKGDIR)-core/usr/share/applications
+
+       sed -i -e 's/Office;/Office;Graphics;/' $(PKGDIR)-draw/$(OODIR)/share/xdg/draw.desktop
+       # invalid, according to lintian. make it shut up.
+       for i in writer calc impress draw math base; do \
+               perl -pi -e 's/Application;//; s/X-Red-Hat-Base;//; s/X-SuSE-Core-Office;//; s/X-MandrivaLinux-.*;//;' $(PKGDIR)-$$i/$(OODIR)/share/xdg/$$i.desktop; \
+       done
+  ifeq "$(ENABLE_SYSTRAY)" "y"
+       perl -pi -e 's/Application;//' $(PKGDIR)-systray/$(OODIR)/share/xdg/qstart.desktop
+  endif
+
+ifeq "$(ENABLE_PYTHON)" "y"
+       # PyUNO packaging
+       install -d $(PYTHON_SITE)
+       # prepend stuff so that it works when the module is not in LOs
+       # directories but in $(PYTHON_SITE). Can't be a patch (anymore)
+       # as otherwise the python-based unittests fail miserably.
+       echo "import sys, os" > $(PYTHON_SITE)/uno.py
+       echo "sys.path.append('/$(OODIR)/program')" >> $(PYTHON_SITE)/uno.py
+       echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:/$(OODIR)/program/fundamentalrc')" >> $(PYTHON_SITE)/uno.py
+       cat debian/python3-uno/$(OODIR)/program/uno.py >> $(PYTHON_SITE)/uno.py
+       rm -f debian/python3-uno/$(OODIR)/program/uno.py
+       mv debian/python3-uno/$(OODIR)/program/unohelper.py $(PYTHON_SITE)
+       touch debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+       chmod u+w debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+       ( echo 'PYTHONHOME=file:///usr/lib/python$(PYMAJOR).$(PYMINOR)' ;\
+         echo 'PYTHONPATH=$$PYTHONHOME $$PYTHONHOME/site-packages $$PYTHONHOME/lib-dynload $$PYTHONHOME/lib-tk $$ORIGIN' \
+       ) >> debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+       chmod u-w debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+  ifeq "$(ENABLE_SCRIPT_PROVIDER_PYTHON)" "y"
+       rm -f debian/libreoffice-script-provider-python/$(OODIR)/share/extensions/script-provider-for-python/registration/LICENSE
+  endif
+
+       mkdir -p debian/python3-uno/usr/share/doc/python3-uno
+       cp -r $(SOURCE_TREE)/pyuno/demo \
+         debian/python3-uno/usr/share/doc/python3-uno; \
+       for i in $(SOURCE_TREE)/pyuno/doc/*; do \
+               cp $$i debian/python3-uno/usr/share/doc/python3-uno; \
+       done
+       cd debian/python3-uno/usr/share/doc/python3-uno && \
+               find . -type d -name "CVS" | xargs -r rm -rf
+endif
+
+       # should be empty now, remove if there
+       rm -rf $(PKGDIR)-core/$(OODIR)/ure
+
+       # create wrapper scripts
+       cd $(PKGDIR)-dev/$(OOSDKDIR)/bin && \
+       for i in *; do \
+               mv $$i $$i.bin && \
+               ( \
+                 echo "#!/bin/sh"; \
+                 echo "# wrapper script for OOos SDK programs"; \
+                 echo ""; \
+                 echo 'LD_LIBRARY_PATH=/$(OODIR)/program /$(OOSDKDIR)/bin/`basename $$0`.bin "$$@"'; \
+               ) > $$i; \
+               chmod 755 $$i; \
+       done
+        # remove symlink, it should be in -dev-doc
+       cd $(PKGDIR)-dev/$(OOSDKDIR) && \
+               rm docs
+
+       rm -f $(PKGDIR)-dev/usr/share/doc/libreoffice/sdk/readme/LICENSE.gz
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+  ifeq "$(BUILD_JARS_NATIVE)" "y"
+       rm -rf $(PKGDIR)-gcj/usr/lib/gcj
+       mkdir -p $(PKGDIR)-gcj/usr/lib/gcj/$(OODIRNAME)
+       cp -p debian/tmp/native-jars/gcj/* $(PKGDIR)-gcj/usr/lib/gcj/$(OODIRNAME)
+       mkdir -p $(PKGDIR)-gcj/usr/share/gcj/classmap.d
+       cp -p debian/tmp/native-jars/tmp.db \
+               $(PKGDIR)-gcj/usr/share/gcj/classmap.d/libreoffice.db
+  endif
+endif
+
+       # remove empty resource directories
+       for i in draw base writer impress calc math; do \
+               rm -rf $(PKGDIR)-$$i/$(OODIR)/program/resource; \
+       done
+
+ifeq "$(ENABLE_MINIMIZER)" "y"
+       rm -f $(PKGDIR)-presentation-minimizer/$(OODIR)/share/extensions/presentation-minimizer/registration/LICENSE
+endif
+
+ifeq "$(ENABLE_PRESENTER_CONSOLE)" "y"
+       rm -f usr/lib/libreoffice/share/extensions/presenter-screen/registration/LICENSE
+endif
+
+ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+       rm -f $(PKGDIR)-mysql-connector/$(OODIR)/share/extensions/mysql-connector-ooo/registration/LICENSE
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+       # move ui-previewer into -dev
+       mkdir -p $(PKGDIR)-dev/$(OODIR)/program
+       mv $(PKGDIR)-core/$(OODIR)/program/ui-previewer \
+               $(PKGDIR)-dev/$(OODIR)/program
+else
+       rm -f $(PKGDIR)-core/$(OODIR)/program/ui-previewer
+endif
+
+# see https://bugs.freedesktop.org/show_bug.cgi?id=67349
+# writer doesn't start without it.
+ifeq (,$(filter lpsolve, $(SYSTEM_STUFF)))
+       mv $(PKGDIR)-calc/$(OODIR)/program/liblpsolve55.so \
+               $(PKGDIR)-core/$(OODIR)/program
+endif
+
+ifeq "$(USE_GSTREAMER)" "y"
+       mkdir -p $(PKGDIR)-avmedia-backend-gstreamer/$(OODIR)/program
+       mv $(PKGDIR)-core/$(OODIR)/program/libavmediagst.so \
+               $(PKGDIR)-avmedia-backend-gstreamer/$(OODIR)/program
+endif
+ifeq "$(USE_VLC)" "y"
+       mkdir -p $(PKGDIR)-avmedia-backend-vlc/$(OODIR)/program
+       mv $(PKGDIR)-core/$(OODIR)/program/libavmediavlc.so \
+               $(PKGDIR)-avmedia-backend-vlc/$(OODIR)/program
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+       mkdir -p $(PKGDIR)-sdbc-hsqldb/$(OODIR)/program
+       mkdir -p $(PKGDIR)-sdbc-hsqldb/usr/lib/libreoffice/program/classes
+       mkdir -p $(PKGDIR)-sdbc-hsqldb/usr/share/libreoffice/program/classes
+       mv $(PKGDIR)-base/$(OODIR)/program/libhsqldb.so \
+               $(PKGDIR)-sdbc-hsqldb/$(OODIR)/program
+  ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+       mv $(PKGDIR)-base/usr/lib/libreoffice/program/classes/hsqldb.jar \
+               $(PKGDIR)-sdbc-hsqldb/usr/lib/libreoffice/program/classes
+  endif
+       for i in lib share; do \
+               mv $(PKGDIR)-base/usr/$$i/libreoffice/program/classes/sdbc_hsqldb.jar \
+                       $(PKGDIR)-sdbc-hsqldb/usr/$$i/libreoffice/program/classes; \
+       done
+endif
+ifeq "$(ENABLE_FIREBIRD)" "y"
+       mkdir -p $(PKGDIR)-sdbc-firebird/$(OODIR)/program
+       mv $(PKGDIR)-base/$(OODIR)/program/libfirebird_sdbclo.so \
+               $(PKGDIR)-sdbc-firebird/$(OODIR)/program
+  ifeq (,$(filter firebird, $(SYSTEM_STUFF)))
+       mv $(PKGDIR)-core/$(OODIR)/program/libfbembed.so.2.5 \
+               $(PKGDIR)-sdbc-firebird/$(OODIR)/program
+  endif
+endif
+       mkdir -p $(PKGDIR)-base-drivers/$(OODIR)/program
+       for i in `find $(PKGDIR)-base/$(OODIR)/program/ -name "*.so" \
+               -a \! -name "libdbulo*" -a \! -name "libdbaxml*" -a \! -name "libdbp*" -a \! -name "libabplo.so"`; do \
+               mv $$i \
+                       $(PKGDIR)-base-drivers/$(OODIR)/program; \
+       done
+
+ifeq "$(ENABLE_JAVA)" "y"
+       # somehow --has-package-version doesn't overwrite version and without <version>...</version>
+       # we get a NullPointerException when calling mh_installjar
+       for i in ridl unoloader; do \
+               sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+                       < $(SOURCE_TREE)/ridljar/pom.$$i.xml > debian/pom.$$i.xml; \
+       done
+               sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+                       < $(SOURCE_TREE)/jurt/pom.jurt.xml > debian/pom.jurt.xml
+               sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+                       < $(SOURCE_TREE)/javaunohelper/pom.juh.xml > debian/pom.juh.xml
+       
+       mh_installpoms -pure
+       for i in juh jurt ridl unoloader; do \
+               mh_installjar -pure -l debian/pom.$$i.xml instdir/program/classes/$$i.jar; \
+       done
+       sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+               < $(SOURCE_TREE)/bean/pom.officebean.xml > debian/pom.officebean.xml
+       mh_installpoms -plibreoffice-officebean
+       mh_installjar -plibreoffice-officebean -l debian/pom.officebean.xml instdir/program/classes/officebean.jar
+endif
+
+       # fix permission
+       chmod 644 $(PKGDIR)-ogltrans/$(OODIR)/program/opengl/vortexVertexShader.glsl
+
+       for i in $(ARCH_DEP_PACKAGES); do \
+               if [ -e debian/$$i.bug-script.in ]; then \
+                       cat debian/$$i.bug-script.in \
+                               | sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+                               | sed -e "s/@OOVER@/$(OOVER)/" \
+                               > debian/$$i.bug-script; \
+               fi ;\
+       done
+       # generate .links files from *.in       
+       for PKG in $(ARCH_DEP_PACKAGES); do \
+         LINKS=debian/$$PKG.links ; \
+         if [ -e $$LINKS.in ]; then \
+           sed -e "s#\@OODIR\@#$(OODIR)#g" \
+               < $$LINKS.in > $$LINKS ; \
+         fi; \
+       done
+       for PKG in $(ARCH_DEP_PACKAGES); do \
+               case $$PKG in \
+               uno-libs*|ure*) \
+                       ;; \
+               *) \
+                       cat debian/changelog \
+                       | sed -e '/^openoffice/,$$d' \
+                       > debian/$$PKG.changelog; \
+                       ;; \
+               esac; \
+       done
+
+       touch $@
+
+# Install files generated by setup into arch-independent package directories
+install-indep: $(STAMP_DIR)/install-indep
+#$(STAMP_DIR)/install-indep: debian/libreoffice.install 
+#$(STAMP_DIR)/install-indep: debian/libreoffice-mimelnk.install 
+#$(STAMP_DIR)/install-indep: debian/libreoffice.dirs
+$(STAMP_DIR)/install-indep: $(STAMP_DIR)/build-indep $(STAMP_DIR)/install-common
+       dh_testdir
+       dh_testroot
+
+ifneq "$(shell echo $(USE_GSTREAMER)$(USE_VLC) | grep -q y && echo 0)" "0"
+       # sound doesn't work anyway, remove the .wav files to save space
+       rm -rf $(PKGDIR)-common/$(OODIR)/share/gallery/sounds
+       rm -f $(PKGDIR)-common/$(OODIR)/share/gallery/sg9.*
+endif
+
+       rm -f $(PKGDIR)-common/$(OODIR)/program/oo_product.bmp
+
+       # install openoffice-xlate-lang
+       install -d -m755 $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
+       install -m755 $(SOURCE_TREE)/bin/lo-xlate-lang \
+               $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
+
+ifeq "$(ENABLE_HELP)" "n"
+       # when we don't build helpcontent2 here we are missing helpxsl.zip so
+       # this file doesn't get installed either. Do it manually..
+       mkdir -p -m755 $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help && \
+       cp $(SOURCE_TREE)/xmlhelp/util/main_transform.xsl \
+               $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+       cp $(SOURCE_TREE)/xmlhelp/util/idxcaption.xsl \
+               $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+       cp $(SOURCE_TREE)/xmlhelp/util/idxcontent.xsl \
+               $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+  ifeq "$(PACKAGE_SDK_DOCS)" "y"
+       rm -f $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev-doc/LICENSE
+       perl -pi -e 's,license.html,http://www.gnu.org/licenses/lgpl.html,' \
+               $(PKGDIR)-dev-doc/$(OOSDKDIR)/index.html
+       find $(PKGDIR)-dev-doc/$(OODIR)/sdk/examples -type f -exec chmod 644 {} \;
+  endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+       # move common Java stuff to -java-common
+       rm -rf $(PKGDIR)-java-common
+       mkdir -p $(PKGDIR)-java-common/$(OODIR)/program/classes
+       mkdir -p $(PKGDIR)-java-common/$(OODIR)/share/Scripts
+       mkdir -p $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+       mv $(PKGDIR)-common/$(OODIR)/share/Scripts/java \
+               $(PKGDIR)-java-common/$(OODIR)/share/Scripts
+       mv $(PKGDIR)-common/$(OODIR)/program/classes/* \
+               $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+       cd $(PKGDIR)-java-common/$(OODIR)/program/classes && \
+               for i in $(CURDIR)/$(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/*; do \
+                       case "`basename $$i`" in aportisdoc.jar|pexcel.jar|pocketword.jar) continue ;; \
+                       *) ln -s `echo $$i | sed -e 's,$(CURDIR)/$(PKGDIR)-java-common,,'` `basename $$i` ;; esac; \
+       done
+
+ifeq "$(BUILD_TEST_PACKAGE)" "y"
+  ifeq "$(ENABLE_JUNIT4)" "y"
+       rm -rf $(PKGDIR)-subsequentcheckbase
+       mkdir -p $(PKGDIR)-subsequentcheckbase/$(OODIR)/program/classes/
+       for jar in OOoRunner test test-tools ConnectivityTools; do \
+               cp workdir/Jar/$$jar.jar $(PKGDIR)-subsequentcheckbase/$(OODIR)/program/classes/; \
+       done
+  endif
+endif
+endif
+
+       # fix permissions
+       for i in editpic poll savepic show webcast; do \
+               chmod 755 $(PKGDIR)-common/$(OODIR)/share/config/webcast/$$i.pl; \
+       done
+       chmod 644 $(PKGDIR)-common/$(OODIR)/LICENSE.fodt
+       chmod 644 $(PKGDIR)-common/$(OODIR)/CREDITS.fodt
+       # FIXME. Do we really need this (ALV2 mandating it) or can this go?
+       chmod 644 $(PKGDIR)-common/$(OODIR)/NOTICE
+       rm -rf $(PKGDIR)-common/$(OODIR)/LICENSE
+
+       # set PYTHONPATH in unopkg
+       perl -pi -e 's,unset XENVIRONMENT,unset XENVIRONMENT\n\nexport PYTHONPATH=\"/$(OODIR)/program\"\n\n,' \
+               $(PKGDIR)-common/$(OODIR)/program/unopkg
+
+ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
+       mkdir -p debian/fonts-opensymbol/usr/share/fonts/truetype/openoffice
+       mv $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/opens___.ttf \
+               debian/fonts-opensymbol/usr/share/fonts/truetype/openoffice
+       rm -rf $(PKGDIR)-common/$(OODIR)/share/fonts/truetype
+else
+       rm -f $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/opens___.ttf
+endif
+
+       # remove extra license files
+       rm -rf $(PKGDIR)-common/$(OODIR)/licenses
+       rm -f $(PKGDIR)-common/$(OODIR)/share/readme/LICENSE*
+       rm -f $(PKGDIR)-common/$(OODIR)/THIRDPARTYLICENSEREADME.html
+       rm -f $(PKGDIR)-common/$(OODIR)/LICENSE.html
+
+       # remove extra readme files
+       rm -rf $(PKGDIR)-common/$(OODIR)/readmes
+       rm -f $(PKGDIR)-common/$(OODIR)/share/readme/README*
+       rm -f $(PKGDIR)-common/$(OODIR)/README.html
+       rm -f $(PKGDIR)-common/$(OODIR)/README
+
+       # URE got moved to /usr/lib, so this is obsolete
+       for i in ure/lib ure; do \
+               if [ -e $(PKGDIR)-common/$(OODIR)/$$i ]; then \
+                       rmdir $(PKGDIR)-common/$(OODIR)/$$i; \
+               fi; \
+       done
+
+       # move psprint.conf into /etc
+       mkdir -p $(PKGDIR)-common/etc/$(OODIRNAME)
+       mv $(PKGDIR)-common/$(OODIR)/share/psprint/psprint.conf \
+               $(PKGDIR)-common/etc/$(OODIRNAME)
+       ln -s /etc/$(OODIRNAME)/psprint.conf \
+               $(PKGDIR)-common/$(OODIR)/share/psprint/psprint.conf
+
+       # prepare a fake sofficerc in the place where OOo expects it
+       # which does nothing except reference the "normal" one
+       # which we put into /etc
+       mv $(PKGDIR)-common/$(OODIR)/program/sofficerc \
+               $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc
+       ( \
+         echo "# *DO NOT* CHANGE THIS FILE. IT ONLY TAKES THE SETTINGS FROM"; \
+         echo "# /etc/$(OODIRNAME)/sofficerc. CHANGE THAT FILE IF YOU"; \
+         echo "# REALLY WANT TO CHANGE SOMETHING."; \
+         echo "FHS_CONFIG_FILE=file:///etc/$(OODIRNAME)/sofficerc"; \
+         echo "" >> $(PKGDIR)-common/$(OODIR)/program/sofficerc; \
+       ) > $(PKGDIR)-common/$(OODIR)/program/sofficerc
+       cat $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc \
+               | perl -p -e 's/(.*)=(.*)/$$1=\$${\$$FHS_CONFIG_FILE:Bootstrap:$$1}/' \
+               >> $(PKGDIR)-common/$(OODIR)/program/sofficerc
+       # except for URE_BOOTSTRAP...
+       TMP=`mktemp -q`; \
+               grep -v URE_BOOTSTRAP $(PKGDIR)-common/$(OODIR)/program/sofficerc > $$TMP && mv $$TMP $(PKGDIR)-common/$(OODIR)/program/sofficerc && \
+               grep URE_BOOTSTRAP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc >> $(PKGDIR)-common/$(OODIR)/program/sofficerc && \
+               grep -v URE_BOOTSTRAP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc > $$TMP && mv $$TMP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc
+
+       install -m 644 debian/soffice.sh \
+         $(PKGDIR)-common/etc/$(OODIRNAME)/soffice.sh
+
+ifeq "$(ENABLE_HELP)" "n"
+       # the helpimgs are not included when we don't build with help here.
+       # Add them now because libreoffice-help-* packaged in contrib or so
+       # will need them
+       set -e; \
+       for i in $(IMAGES); do \
+               s=_$$i.zip; \
+               case "$$i" in default) s=.zip; esac; \
+               z=images$$s; \
+               echo "adding helpimgs to $$z..."; \
+               rm -rf $$z; mkdir $$z; \
+               cd $$z; \
+               unzip -q $(CURDIR)/$(PKGDIR)-common/$(OODIR)/share/config/$$z && \
+               cp -r $(CURDIR)/$(SOURCE_TREE)/default_images/res/helpimg res && \
+               chmod +w $(CURDIR)/$(PKGDIR)-common/$(OODIR)/share/config/$$z && \
+               zip -q -r $(CURDIR)/$(PKGDIR)-common/$(OODIR)/share/config/$$z *; \
+               cd ..; \
+               rm -rf $$z; \
+       done
+endif
+       set -e; \
+       for i in $(IMAGES); do \
+               z=images_$$i.zip; p=$$i; \
+               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/; \
+               mkdir -p $(PKGDIR)-style-$$p/$(OODIR)/share/config; \
+               ln -s /$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/$$z \
+                       $(PKGDIR)-style-$$p/$(OODIR)/share/config/$$z; \
+       done
+  ifeq "$(RELEASE_BUILD)" "n"
+       mv $(PKGDIR)-common/$(OODIR)/share/config/tango_testing.zip \
+               $(PKGDIR)-style-tango/$(OODIR)/share/config
+  endif
+
+ifeq "$(DEB_VENDOR)" "Debian"
+       # install Debian presentation template
+       mkdir -p $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt
+       install -m644 debian/templates/*.otp $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt/
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+       # add symlinks for docs and examples
+       cd $(PKGDIR)-dev-doc/$(OOSDKDIR) && \
+               rm -rf docs && \
+               ln -sf /usr/share/doc/libreoffice/sdk/docs docs
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+  ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
+       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"
+       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_MEDIAWIKI)" "y"
+       rm -f $(PKGDIR)-wiki-publisher/$(OODIR)/share/extensions/wiki-publisher/registration/LICENSE
+       rm -f $(PKGDIR)-wiki-publisher/$(OODIR)/share/extensions/wiki-publisher/license/THIRDPARTYLICENSEREADME.html
+endif
+
+       # unopkg creates stuff in there.
+       mkdir -p $(PKGDIR)-common/$(OODIR)/share/prereg
+       mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/usr/var/)/share/prereg/bundled
+       ln -s /$(shell echo $(OODIR) | sed -e s/usr/var/)/share/prereg/bundled \
+               $(PKGDIR)-common/$(OODIR)/share/prereg/bundled
+
+       for i in $(ARCH_INDEP_PACKAGES); do \
+               if [ -e debian/$$i.bug-script.in ]; then \
+                       cat debian/$$i.bug-script.in \
+                               | sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+                               > debian/$$i.bug-script; \
+               fi ;\
+       done
+       # generate .links files from *.in       
+       for PKG in $(ARCH_INDEP_PACKAGES); do \
+         LINKS=debian/$$PKG.links ; \
+         if [ -e $$LINKS.in ]; then \
+           sed -e "s#\@OODIR\@#$(OODIR)#g" \
+               < $$LINKS.in > $$LINKS ; \
+         fi; \
+       done
+       for PKG in $(ARCH_INDEP_PACKAGES); do \
+               case $$PKG in \
+               *-opensymbol) \
+                       ;; \
+               *) \
+                       cat debian/changelog \
+                       | sed -e '/^openoffice/,$$d' \
+                       > debian/$$PKG.changelog; \
+                       ;; \
+               esac; \
+       done
+
+       # install extension shell lib for use by extensions not from here
+       install -D -m644 debian/shell-lib-extensions.sh \
+               $(PKGDIR)-common/usr/share/$(OODIRNAME)/shell-lib-extensions.sh
+
+ifneq "$(ENABLE_HELP)" "n"
+       # those are needed in /usr/share, too
+       mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+       mv $(PKGDIR)-common/$(OODIR)/help \
+               $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+endif
+       # help is in /usr/share
+       sed -i 's,$$(instpath)/help,/$(shell echo $(OODIR) | sed -e s/lib/share/)/help,' \
+               $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+       # compat dirs, the split icons thing need it
+       mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program
+       mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program
+
+       # enable session handling and recovery
+       perl -pi -e 's,<prop oor:name="DocumentStoreUIEnabled" oor:type="xs:boolean"><value>false</value></prop>,<prop oor:name="DocumentStoreUIEnabled" oor:type="xs:boolean"><value>true</value></prop>,' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+       # examples. move where they belong
+       mkdir -p $(PKGDIR)-common/usr/share/doc/libreoffice-common/examples
+       for i in oo-ldap.xcd.sample oo-ad-ldap.xcd.sample; do \
+               mv $(PKGDIR)-common/$(OODIR)/share/registry/$$i \
+                       $(PKGDIR)-common/usr/share/doc/libreoffice-common/examples; \
+               ln -s /usr/share/doc/libreoffice-common/examples/$$i $(PKGDIR)-common/$(OODIR)/share/registry/$$i; \
+       done
+
+       # install font config. Doesn't get installed with
+       # --without-fonts.
+       # FIXME: Shouldn't this be in /etc/fonts/conf.d with a symlink here?
+       install -m644 -D $(SOURCE_TREE)/external/more_fonts/fonts/fc_local.conf \
+               $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/fc_local.conf
+
+       # register technical.dic
+       perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+#ifeq "$(PACKAGE_SDK)" "y"
+#      # install gengal stuff into -dev
+#      mkdir -p $(PKGDIR)-dev/$(OODIR)/program
+#      install -m644 $(SOURCE_TREE)/svx/$(shell .  $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/bin/gengalrc \
+#              $(PKGDIR)-common/$(OODIR)/program/gengalrc
+#endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+       # somehow --has-package-version doesn't overwrite version and without <version>...</version>
+       # we get a NullPointerException when calling mh_installjar
+       sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+               < $(SOURCE_TREE)/unoil/pom.unoil.xml > debian/pom.unoil.xml
+       mh_installpoms -plibreoffice-java-common
+       mh_installjar -plibreoffice-java-common -l debian/pom.unoil.xml instdir/program/classes/unoil.jar
+endif
+
+       touch $@
+
+binary-arch: $(STAMP_DIR)/binary-arch
+$(STAMP_DIR)/binary-arch: $(STAMP_DIR)/install-arch debian/control $(STAMP_DIR)/maintscripts
+       dh_testdir
+       dh_testroot
+
+       for pkg in $(ARCH_DEP_PACKAGES) ; do \
+         rm -f debian/$$pkg.*.debhelper;\
+         rm -rf debian/$$pkg/DEBIAN;\
+       done
+
+       # not for uno-libs3/ure, as it otherwise picks up a (wrong) dependency on -core.
+       # maybe we should --link-doc=uno-libs3 as everything arch-dep needs it anyway?
+       # But how does it play with .symbols then?
+       # Also not for extensions, as they have an own version
+       # python3-uno has additional examples...
+       dh_installdocs -a -A -Nure -Nuno-libs3 -Nure-dbg -Nuno-libs3-dbg \
+               -Npython3-uno -Nlibreoffice-mysql-connector -Nlibreoffice \
+               --link-doc=libreoffice-core
+       dh_installdocs -pure -puno-libs3 -ppython3-uno -plibreoffice-mysql-connector -plibreoffice
+ifeq "$(BUILD_DBG_PACKAGE)" "y"
+       dh_installdocs -pure-dbg -puno-libs3-dbg
+endif
+       cp workdir/CustomTarget/readlicense_oo/readme/README_en-US \
+               $(PKGDIR)-core/usr/share/doc/libreoffice-core/README
+       dh_installdebconf -a
+       dh_installman -a
+       for i in writer calc draw base math impress; do \
+               for i in `find $(PKGDIR)-$$i -type l -name "lo*.1"`; do \
+                       mv $$i $$i.gz; \
+                       if [ "`readlink $$i`" != "libreoffice.1.gz" ]; then \
+                               ln -sf libreoffice.1.gz $$i.gz; \
+                       fi; \
+               done; \
+       done
+       dh_installchangelogs -a -k
+       dh_installmime -a
+ifeq "$(ENABLE_JAVA)" "y"
+  ifeq "$(BUILD_JARS_NATIVE)" "y"
+       dh_nativejava -plibreoffice-gcj -o
+  endif
+endif
+       dh_python3 -ppython3-uno --no-ext-rename --no-guessing-deps
+       dh_python3 -ppython3-uno --no-ext-rename --no-guessing-deps $(OODIR)/program
+       dh_lintian -a
+       dh_bugfiles -a -A
+       dh_link -a -X.desktop
+ifeq "$(shell echo $(BUILD_DBGSYM_PACKAGES)$(BUILD_DBG_PACKAGE) | grep -q y && echo true)" "true"
+  ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+       rm -rf debian/$(URE_DBG_ROOT) debian/$(CORE_DBG_ROOT) debian/$(WRITER_DBG_ROOT)
+  endif
+       dh_strip -a -Nure -Nuno-libs3 $(DH_STRIP_DBG_OPTION_LO)
+       dh_strip -pure $(DH_STRIP_DBG_OPTION_URE)
+       dh_strip -puno-libs3 $(DH_STRIP_DBG_OPTION_UNO_LIBS)
+       # dh_strip --dbg-package= is not idempotent, force copying of the binaries
+       # again...
+       rm -f $(STAMP_DIR)/install-common
+       mkdir -p debian/$(CORE_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)
+       mv $(CURDIR)/debian/tmp/usr/share/gdb/auto-load/$(OODIR)/program \
+               debian/$(CORE_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)
+       # I think a -dbg-common is overkill. Although this means that this all only
+       # will work if libreoffice-dbg is installed..
+       mkdir -p debian/$(CORE_DBG_ROOT)/usr/share/libreoffice/gdb
+       mv $(CURDIR)/debian/tmp/usr/share/libreoffice/gdb/libreoffice \
+               debian/$(CORE_DBG_ROOT)/usr/share/libreoffice/gdb
+       mkdir -p debian/$(WRITER_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program
+       mkdir -p debian/$(WRITER_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice/
+  ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+       for i in sw writerfilter; do \
+               if [ -f debian/$(CORE_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program/lib$${i}lo.so-gdb.py ]; then \
+               mv debian/$(CORE_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program/lib$${i}lo.so-gdb.py \
+                               debian/$(WRITER_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program/; \
+               fi; \
+               mv debian/$(CORE_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice/$$i.py \
+                       debian/$(WRITER_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice; \
+       done
+  endif
+
+       # FIXME: or better ure-dbg (ure/lib?). Then again ure is a link which is in -common
+       # anyways...
+       mkdir -p debian/$(UNO_LIBS_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program
+       mv debian/$(CORE_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program/libuno_cppu.so.3-gdb.py \
+               debian/$(UNO_LIBS_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program
+       mv debian/$(CORE_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program/libuno_sal.so.3-gdb.py \
+               debian/$(UNO_LIBS_DBG_ROOT)/usr/share/gdb/auto-load/$(OODIR)/program
+       mkdir -p debian/$(UNO_LIBS_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice
+       mv debian/$(CORE_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice/cppu.py \
+               debian/$(UNO_LIBS_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice
+       mv debian/$(CORE_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice/sal.py \
+               debian/$(UNO_LIBS_DBG_ROOT)/usr/share/libreoffice/gdb/libreoffice
+else
+       dh_strip -a
+endif
+       dh_fixperms -a
+       dh_icons -a
+       dh_compress -a -X.py -X.mk -X.sxd
+ifeq "$(ENABLE_INTROSPECTION)" "y"
+       dh_girepository -a debian/liblibreofficekitgtk/$(OODIR)/program
+endif
+       dh_makeshlibs -puno-libs3 -V"uno-libs3 (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }' | cut -d. -f1-3)~), ure" -- -c0 -d -V -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 }' | cut -d. -f1-3)~)" -- -d -V -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 && \
+       mv $$TMP debian/uno-libs3/DEBIAN/symbols && \
+       chmod 644 debian/uno-libs3/DEBIAN/symbols
+       dh_installdeb -a
+ifeq "$(BUILD_KFREEBSD)" "y"
+       cat debian/shlibs.override.libc >> debian/shlibs.local
+endif
+       # no shlibs dependencies on internal libs (which are dynamic)
+ifeq (,$(filter icu, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.icu >> debian/shlibs.local
+endif
+ifneq (,$(filter libvisio, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libvisio >> debian/shlibs.local
+endif
+ifeq (,$(filter libwpd, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libwpd >> debian/shlibs.local
+endif
+ifeq (,$(filter libwpg, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libwpg >> debian/shlibs.local
+endif
+ifeq (,$(filter libwps, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libwps >> debian/shlibs.local
+endif
+ifeq (,$(filter libodfgen, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libodfgen >> debian/shlibs.local
+endif
+ifeq (,$(filter libmwaw, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libmwaw >> debian/shlibs.local
+endif
+ifeq (,$(filter librevenge, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.librevenge >> debian/shlibs.local
+endif
+ifeq (,$(filter libetonyek, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libetonyek >> debian/shlibs.local
+endif
+ifeq (,$(filter glew, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.glew >> debian/shlibs.local
+endif
+ifeq (,$(filter orcus, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.orcus >> debian/shlibs.local
+endif
+ifeq (,$(filter liblangtag, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.liblangtag >> debian/shlibs.local
+endif
+       # the other way as the above, depend on a newer libcmis to that the
+       # advertised google 2-factor-auth fixes are present
+ifneq (,$(filter libcmis, $(SYSTEM_STUFF)))
+       cat debian/shlibs.override.libcmis >> debian/shlibs.local
+endif
+       # we need to do it in two steps. The new dpkg-shlibdeps doesn't find
+       # /usr/lib/libgcj-bc.so when specifying -l$(GCJ_JAWT_DIR)
+       # and therefore we must not use it for -gcj. But we *do* need it
+       # for -officebean (libjawt.so is referenced there)
+       LD_LIBRARY_PATH="$(FAKEROOT_LIBDIR):debian/uno-libs3/$(OODIR)/program:debian/ure/$(OODIR)/program:$(PKGDIR)-core/$(OODIR)/program:$(PKGDIR)-base-core/$(OODIR)/program:$(PKGDIR)-base/$(OODIR)/program:$(PKGDIR)-writer/$(OODIR)/program" \
+               dh_shlibdeps -a -Nlibreoffice-officebean \
+                       -Lure -Luno-libs3 \
+                       -ldebian/uno-libs3/$(OODIR)/program:debian/ure/$(OODIR)/program:$(PKGDIR)-core/$(OODIR)/program:$(PKGDIR)-base/$(OODIR)/program:$(shell dirname $(shell dpkg -L `echo $(GCJ_JAWT_DEPENDS) | sed -e s/-awt//` | grep _bc)) \
+                       $(SHLIBS_OVERRIDE)
+ifneq (,$(filter redland, $(SYSTEM_STUFF)))
+       # dpkg-shlibdeps "in practice" always will look for this in
+        # /usr/lib/openoffice/basisX.Y/program due to the RPATH and the
+       # dh_shlibdeps would fail. It's excluded, and we now need to do it
+       # manually. Saves us a versioned build-conflict with ourselves
+       # which quickly can get outdated
+       perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/$(shell dpkg -S /usr/lib/$(DEB_HOST_MULTIARCH)/`objdump -p $(PKGDIR)-core/$(OODIR)/program/libunordf*.so | grep NEEDED | grep librdf | awk '{ print $$2 }'` | cut -d: -f1)\:$(DEB_HOST_ARCH).shlibs | awk '{ print $$3,$$4,$$5 }')/' $(PKGDIR)-core.substvars
+endif
+       # Clean up .substvars values added by uno-libs3.symbols (adds uno-libs3, ure):
+       # 1) don't make uno-libs3 depend on ure...
+       perl -pi -e 's/, ure$$//' debian/uno-libs3.substvars
+       # 2) and prevent ure to depend on itself..
+       perl -pi -e 's/, ure \(.*\)$$//' debian/ure.substvars
+ifeq "$(ENABLE_JAVA)" "y"
+       LD_LIBRARY_PATH="$(FAKEROOT_LIBDIR):debian/uno-libs3/$(OODIR)/program:debian/ure/$(OODIR)/program:$(PKGDIR)-core/$(OODIR)/program" \
+               dh_shlibdeps -plibreoffice-officebean \
+                       -Lure -Luno-libs3 \
+                       -ldebian/uno-libs3/$(OODIR)/program:debian/ure/$(OODIR)/program:$(PKGDIR)-core/$(OODIR)/program:$(GCJ_JAWT_DIR) \
+                       $(SHLIBS_OVERRIDE)
+endif
+ifeq "$(ENABLE_JAVA)" "y"
+       for p in $(ARCH_DEP_PACKAGES); do \
+               if [ "$$p" = "libreoffice-presentation-console" ]; then continue; fi; \
+               jh_depends -p$$p -Xlibreoffice-gcj -Xlibreoffice-dbg -Xure; \
+       done
+  ifeq "$(PACKAGE_BASE)" "y"
+       perl -pi -e "s/base-files,//" \
+               debian/libreoffice-sdbc-hsqldb.substvars
+  endif
+       # jh_depends adds ure (${source:Version}) entries. They are overly strict
+       # and do not fit anyway given ure has a different versioning scheme. Excluded
+       # above, readd here  unversioned
+       perl -pi -e 's/^(java:Depends.*$$)/\1, ure/' \
+               debian/libreoffice-officebean.substvars
+endif
+# This switch to dh_shlibdeps reduces the 'libXXX not found' warnings but
+# causes ldd crashes sometimes when used with fakeroot:
+#          -l $(PKGDIR)-core/$(OPENOFFICEDIR)/program
+       dh_gencontrol -a $(DEBHELPER_OPTIONS) -Nure -Nure-dbg -Nuno-libs3 -Nuno-libs3-dbg \
+               -Nlibreoffice-mysql-connector -- \
+               -V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')" \
+               -V'base-version=$(BASE_VERSION)' \
+               -V'oover=$(OOVER)' \
+               -V'next-oover=$(NEXT_OOVER)' \
+               -V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
+               -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)' \
+               -V'java-gcj-depends=$(JAVA_GCJ_DEPENDS)' \
+               -V'Binary-Version=$(BINARY_VERSION)' \
+               -V'ooo-officebean-dep=$(OOO_OFFICEBEAN_DEP)' \
+               -V'kde-iconset-dep=$(KDE_ICONSET_DEP)' \
+               -V'lpsolve-dep=$(LPSOLVE_DEP)' \
+               -V'gstreamer-plugins-suggests=$(GSTREAMER_PLUGINS_SUGGESTS)' \
+               -V'libebook-dep=$(shell debian/scripts/get_libebook_dep.sh)' \
+               -V'libvlc-dep=$(shell debian/scripts/get_libvlc_dep.sh)' \
+               -V'idlc-cpp-depends=$(IDLC_CPP_DEPENDS)' \
+               -V'pyuno-depends=$(PYUNO_DEPENDS)' \
+               -V'avmedia-be-depends=$(AVMEDIA_BE_DEPENDS)' \
+               -V'dejavu-depends=$(DEJAVU_DEPENDS)' \
+               -V'opencl-sug=$(OPENCL_SUGGESTS)' \
+               -V'gnome-gtk-recommends=$(GNOME_GTK_RECOMMENDS)' \
+               -V'dbg-dbg-suggests=$(DBG_DBG_SUGGESTS)' \
+               -V'python-six-recommends=$(PYTHON_SIX_RECOMMENDS)' \
+               -v$(BINARY_VERSION)
+ifeq "$(ENABLE_JAVA)" "y"
+       perl -pi -e "s/java-gcj-compat/java-gcj-compat (>= 1.0.77-4)/" \
+               debian/libreoffice-officebean/DEBIAN/control
+endif
+ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_ARCH_DEP_EXTENSIONS_ARCHS)))
+ifeq "$(PACKAGE_BASE)" "y"
+  ifeq "$(ENABLE_MYSQLNATIVE)" "y"
+       dh_gencontrol -plibreoffice-mysql-connector -- \
+               -v$(shell grep "<version" $(SOURCE_TREE)/mysqlc/source/description.xml | perl -pi -e 's,<version value=\"(.*)\" />,\1,; s/^\s+//; s/\s+$$//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+  endif
+endif
+endif
+       dh_gencontrol -pure -puno-libs3 -- \
+               -V"ure:Version=`echo $(BINARY_VERSION) | cut -d: -f2`" \
+               -v"`echo $(BINARY_VERSION) | cut -d: -f2`"
+ifeq "$(BUILD_DBG_PACKAGE)" "y"
+       dh_gencontrol -pure-dbg -puno-libs3-dbg -- \
+               -V"ure:Version=`echo $(BINARY_VERSION) | cut -d: -f2`" \
+               -V'python-six-recommends=$(PYTHON_SIX_RECOMMENDS)' \
+               -v"`echo $(BINARY_VERSION) | cut -d: -f2`"
+endif
+ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+       for i in libreoffice-core libreoffice-writer uno-libs3; do \
+               perl -pi -e 's/^(Depends:.*)/\1\nRecommends: gdb, $(PYTHON_SIX_RECOMMENDS)/' \
+               debian/.debhelper/$$i/dbgsym-root/DEBIAN/control; \
+       done
+endif
+
+       dh_md5sums -a
+       dh_builddeb -a $(DEBHELPER_OPTIONS) $(BUILDDEB_OPTIONS)
+
+       touch $@
+
+binary-indep: $(GSI_EXPORT_STAMP) $(STAMP_DIR)/binary-indep
+$(STAMP_DIR)/binary-indep: $(STAMP_DIR)/install-indep debian/control $(STAMP_DIR)/maintscripts $(STAMP_DIR)/langpacks
+ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_JAVA_ARCHS)))
+       echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+       echo "For uploads with binary-all packages, please use arches where Java is enabled"
+  ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),$(OOO_GCJ_JDK_ARCHS)))
+       echo "and where Java used is OpenJDK"
+  endif
+       echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+endif
+       dh_testdir
+ifneq ($(PACKAGE_SDK_DOCS),y)
+       echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+       echo "For uploads with binary-all packages, please use arches where the SDK docs are enabled!!!!"
+       echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+endif
+       dh_testdir
+       dh_testroot
+
+       for pkg in $(ARCH_INDEP_PACKAGES) ; do \
+         rm -f debian/$$pkg.*.debhelper;\
+         rm -rf debian/$$pkg/DEBIAN;\
+       done
+
+ifeq "$(PACKAGE_SDK)" "y"
+       for i in common cpp java; do \
+               cat debian/lo-$$i-ref.in \
+                       | sed -e "s/@lo_sources_ver@/$(lo_sources_ver)/" \
+                       > debian/libreoffice-dev-doc.doc-base.lo-$$i-ref; \
+       done
+       UDK_CPP_FILES=`find $(CURDIR)/debian/libreoffice-dev-doc/usr/share/doc/libreoffice/sdk/docs/cpp/ref | sed -e 's,$(CURDIR)/debian/libreoffice-dev-doc,,g' | xargs`; \
+       echo "Files: $$UDK_CPP_FILES" >> debian/libreoffice-dev-doc.doc-base.lo-cpp-ref
+  ifeq "$(ENABLE_JAVA)" "y"
+       UDK_JAVA_FILES=`find $(CURDIR)/debian/libreoffice-dev-doc/usr/share/doc/libreoffice/sdk/docs/java/ref | sed -e 's,$(CURDIR)/debian/libreoffice-dev-doc,,g' | xargs`; \
+       echo "Files: $$UDK_JAVA_FILES" >> debian/libreoffice-dev-doc.doc-base.lo-java-ref
+  endif
+       # xargs strips the many files here so we need to post-process it.
+       UDK_COMMON_FILES=`find $(CURDIR)/debian/libreoffice-dev-doc/usr/share/doc/libreoffice/sdk/docs/common/ref | sed -e 's,$(CURDIR)/debian/libreoffice-dev-doc,,g' | xargs`; \
+       TMP=`mktemp -q`; \
+       cp debian/libreoffice-dev-doc.doc-base.lo-idl-ref $$TMP; \
+       echo "Files: $$UDK_COMMON_FILES" >> $$TMP; \
+       cat $$TMP | perl -e 'while(<>) { if (/^Files/) {$$f=1;} if ($$f eq "1") { chomp(); } print $$_; }' > debian/libreoffice-dev-doc.doc-base.lo-idl-ref; \
+       rm -f $$TMP
+       # no idea why this happens; afais this can't come from above
+       # since it doesn't affect the files at the end of the lines...
+       # But fix it..
+       perl -pi -e 's,html/,html /,g' debian/libreoffice-dev-doc.doc-base.lo-idl-ref
+endif
+       # not for fonts-opensymbol and extensions, as they have an own version.
+       # And librelogo gets an own changelog
+       # And libreofficekit gets an own README
+       # libreoffice-dev-doc installs directly into /usr/share/doc/libreoffice-dev...
+       dh_installdocs -i -A -Nlibreoffice-librelogo -Nfonts-opensymbol \
+               -Nlibreoffice-wiki-publisher -Nlibreoffice-nlpsolver \
+               -Nlibreofficekit-dev -Nlibreoffice-dev-doc --link-doc=libreoffice-common
+       dh_installdocs -plibreoffice-librelogo -pfonts-opensymbol -plibreoffice-wiki-publisher -plibreoffice-nlpsolver \
+               -plibreofficekit-dev -plibreoffice-dev-doc
+       cp workdir/CustomTarget/readlicense_oo/readme/README_en-US \
+               $(PKGDIR)-common/usr/share/doc/libreoffice-common/README
+       dh_installman -i
+       for i in `find $(PKGDIR)-common -type l -name "lo*.1"`; do \
+               mv $$i $$i.gz; \
+               if [ "`readlink $$i`" != "libreoffice.1.gz" ]; then \
+                       ln -sf libreoffice.1.gz $$i.gz; \
+               fi; \
+       done
+       dh_installchangelogs -i -Nlibreoffice-librelogo -k
+ifeq "$(PACKAGE_LIBRELOGO)" "y"
+        dh_installchangelogs -plibreoffice-librelogo -k librelogo/source/ChangeLog
+endif
+ifeq "$(PACKAGE_SDK_DOCS)" "y"
+       dh_doxygen -plibreoffice-dev-doc
+endif
+       dh_installmime -i
+       dh_lintian -i
+       dh_bugfiles -i -A
+       dh_link -i -X.desktop
+       # dh_link -X does not work for .links stuff. And adding it there and
+       # fixing it up later because it's relative doesn't make that much sense.
+       # So do it here.
+       mkdir -p $(PKGDIR)-common/usr/share/applications
+       cd $(PKGDIR)-common/usr/share/applications && \
+               ln -sf /$(OODIR)/share/xdg/startcenter.desktop libreoffice-startcenter.desktop
+       dh_fixperms -i
+       dh_icons -i
+       dh_compress -i -X.py -X.mk -X.sxd -X.xcd.sample
+       dh_installdeb -i
+ifeq "$(ENABLE_JAVA)" "y"
+       for p in $(ARCH_INDEP_PACKAGES); do \
+                if echo "$$p" | grep -q help; then continue; fi; \
+                jh_depends -p$$p -Xlibreoffice-gcj -Xlibreoffice-dbg \
+                       -Xlibreoffice-report-builder; \
+        done
+endif
+ifeq "$(BUILD_TEST_PACKAGE)" "y"
+       perl -pi -e 's/junit4/junit4 $(JUNIT_MIN_VER)/' \
+               debian/libreoffice-subsequentcheckbase.substvars
+endif
+       dh_gencontrol -i $(DEBHELPER_OPTIONS) \
+               -Nlibreoffice-wiki-publisher \
+               -Nlibreoffice-nlpsolver \
+               -Nfonts-opensymbol -- \
+               -V'base-version=$(BASE_VERSION)' \
+               -V'oover=$(OOVER)' \
+               -V'next-oover=$(NEXT_OOVER)' \
+               -V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
+               -V'java-common-depends=$(JAVA_COMMON_DEPENDS)' \
+               -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+               -V'textcat-data-recommends=$(TEXTCAT_DATA_RECOMMENDS)' \
+               -V'pyuno-depends=$(PYUNO_DEPENDS)' \
+               -V'Binary-Version=$(BINARY_VERSION)' \
+               -V'dbg-dbg-suggests=$(DBG_DBG_SUGGESTS)' \
+               -v$(BINARY_VERSION)
+ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
+       dh_gencontrol -pfonts-opensymbol -- \
+               -v$(shell echo `echo $(BINARY_VERSION) | cut -d: -f1` + 1 | bc):$(shell debian/scripts/get_ttf_version.pl debian/fonts-opensymbol/usr/share/fonts/truetype/openoffice/opens___.ttf)+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_MEDIAWIKI)" "y"
+       dh_gencontrol -plibreoffice-wiki-publisher -- \
+               -V'java-runtime-depends=$(MEDIAWIKI_JAVA_RUNTIME_DEPENDS)' \
+               -v$(shell grep "<version" $(SOURCE_TREE)/swext/mediawiki/src/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_NLPSOLVER)" "y"
+       dh_gencontrol -plibreoffice-nlpsolver -- \
+               -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+               -v$(shell grep "<version" $(SOURCE_TREE)/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_REPORTDESIGN)" "y"
+       dh_gencontrol -plibreoffice-report-builder -- \
+               -V'base-version=$(BASE_VERSION)' \
+               -V'report-builder-jar-depends=$(REPORT_BUILDER_JAR_DEPENDS)' \
+               -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)'
+endif
+       dh_md5sums -i
+       dh_builddeb -i $(DEBHELPER_OPTIONS) $(BUILDDEB_OPTIONS)
+
+       touch $@
+
+binary: binary-arch binary-indep
+
+ifeq "$(USE_GIT_TARBALLS)" "y"
+
+# $(1) is the upstream name of the repo
+# $(2) is the name of the tarball
+# $(3) is the path to archive (empty for everything)
+#
+# according to policy get-orig-source has to download to the current dir, thus
+# should not require a dh_testdir. However, like this we can have clean deps
+# from build and download the source, configure, build, pack in on piece. As
+# get-orig-source is an optional target anyway, we stick to support only this
+# case and not random dirs. see also: debian bug 494141
+# also, we need to run configure to create the external tarball anyway
+
+GIT_INSTALLED:=$(shell which git >/dev/null 2>/dev/null && echo "y")
+
+get_orig_tarball=$(CURDIR)/../libreoffice_$(DEB_VERSION_UPSTREAM).orig$(1).tar.xz
+
+define pack_gittarball
+$(if $(GIT_INSTALLED),,$(error You need git.))
+dh_testdir
+TMPD=`mktemp -d $(if $(TMP),-p $(TMP))` && \
+mkdir $${TMPD}/archive && \
+git clone --bare $(GIT_BASEURL)/$(1) $${TMPD}/repo -b $(GIT_BRANCH) && \
+git archive --remote $${TMPD}/repo --format=tar --prefix libreoffice-$(DEB_VERSION_UPSTREAM)/ $(GIT_TAG) |tar x -C $${TMPD}/archive && \
+tar cvJf $(2) -C $${TMPD}/archive/$(3) --transform 's,./,,' . && \
+rm -rf $${TMPD}
+endef
+
+define unpack_gittarball
+dh_testdir
+mkdir -p $(CURDIR)/$(1)
+test -f $(CURDIR)/$(1)/.gitignore || tar xvJf $(2) -C $(CURDIR)/$(1) $(3)
+endef
+
+ifneq ($(filter get-orig-source unpack,$(MAKECMDGOALS)),)
+$(call get_orig_tarball):
+       $(call pack_gittarball,core,$@,)
+
+$(call get_orig_tarball,-helpcontent2):
+       $(call pack_gittarball,help,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/)
+
+$(call get_orig_tarball,-%):
+       $(call pack_gittarball,$*,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/)
+
+# Get upstream external sources
+$(call get_orig_tarball,-tarballs): helpcontent2/makefile.pmk translations/makefile.mk .gitignore
+       dh_testdir
+       rm -rf tarballs
+       mkdir -p tarballs
+       ./autogen.sh $(filter-out --disable-fetch-external,$(CONFIGURE_FLAGS)) --with-all-tarballs
+       $(MAKE) download gb_LO_VER=$(DEB_VERSION_UPSTREAM)
+       tar cvJf $@ -C tarballs --transform 's,./,,' .
+
+# using flag files for unpacking
+.gitignore: $(call get_orig_tarball)
+       $(call unpack_gittarball,,$<,--strip-components=1)
+
+translations/makefile.mk:  $(call get_orig_tarball,-translations)
+       $(call unpack_gittarball,translations,$<,)
+
+helpcontent2/makefile.pmk:  $(call get_orig_tarball,-helpcontent2)
+       $(call unpack_gittarball,helpcontent2,$<,)
+
+tarballs/fetch.log: $(call get_orig_tarball,-tarballs) patched
+       $(call unpack_gittarball,tarballs,$<,)
+
+get-orig-source: $(call get_orig_tarball,-tarballs) tarballs/fetch.log
+       dh_testdir
+
+unpack: tarballs/fetch.log
+       dh_testdir
+endif
+endif
+
+.PHONY: control
+.PHONY: clean-debdir clean-instsetoo clean-objectdirs clean default
+.PHONY: prepare build build-indep build-arch install-arch install-indep
+.PHONY: get-orig-source unpack patched
+.PHONY: $(stampdir_targets)
+
+# vim:set noet ai sts=8 sw=8 tw=0:
diff --git a/debian/scripts/cleandupes b/debian/scripts/cleandupes
new file mode 100755 (executable)
index 0000000..8843c92
--- /dev/null
@@ -0,0 +1,186 @@
+#! /usr/bin/python
+
+# read file input from stdin, which has the output of the command
+# fdupes --reverse --sameline --size <directory> ...
+
+import os, re, sys, fileinput, getopt
+
+class Duplicate:
+    def __init__(self, prefix, base, paths, size=-1):
+        self.size = size
+        self.files = {'common': [], 'l10n-en-us': []}
+        for path in paths:
+            match = re.match(prefix + '/' + base + r'-([^/]+)(.*)', path)
+            pkg, fn = match.groups()[:2]
+            self.files.setdefault(pkg, []).append(fn)
+
+        # one name to identify the duplicate
+        if len(self.files['common']):
+            self.id = self.files['common'][0]
+        elif len(self.files['l10n-en-us']):
+            self.id = self.files['l10n-en-us'][0]
+        else:
+            other_files = [files for pkg, files in self.files.items()
+                           if not pkg in ('common', 'l10n-en-us')]
+            self.id = other_files[0][0]
+
+    def is_candidate(self):
+        """do we want to replace that one ..."""
+        if len(self.files['common']) > 1 or len(self.files['l10n-en-us']) > 1:
+            # inter-package symlinks in -common or -l10n-en-us
+            if len(self.files) == 2:
+                # not references by any other package
+                return False
+        if len(self.files['common']) < 1 and len(self.files['l10n-en-us']) < 1:
+            # nothing to link to
+            return False
+        # see if we have duplicates in other packages
+        return len(self.files) > 2
+
+    def get_filenames(self, replace_only=False):
+        names = []
+        for pkg, files in self.files.items():
+            if replace_only and pkg in ('common', 'l10n-en-us'):
+                continue
+            names.extend(files)
+        return names
+
+    def get_target(self):
+        if len(self.files['common']):
+            return 'common', self.files['common'][0]
+        if len(self.files['l10n-en-us']):
+            return 'common', self.files['l10n-en-us'][0]
+        raise Exception, "no target file"
+
+    def statistics(self, verbose=False):
+        num_in_common = len(self.files['common']) + len(self.files['l10n-en-us'])
+        num_in_others = len(self.get_filenames(replace_only=True))
+        pkgs = ' '.join(self.files.keys()).replace('l10n-', '')
+        print "common: %2d, others: %2d, size: %d" % (num_in_common, num_in_others, self.size)
+        if not verbose:
+            print "    %s" % self.id
+        print "    %s" % pkgs
+        if verbose:
+            print '\t' + '\n\t'.join(self.get_filenames())
+
+def calc_savings(duplicates):
+    savings = {}
+    for dup in duplicates:
+        if not dup.is_candidate():
+            continue
+        for pkg, files in dup.files.items():
+            if pkg in ('common', 'l10n-en-us'):
+                continue
+            sizes = dup.size * len(files)
+            total = savings.get(pkg, 0) + sizes
+            savings[pkg] = total
+    return savings
+
+def calc_target_link(src_path, dst_path):
+    assert dst_path[0] == '/' and src_path[0] == '/'
+    src_dirs = src_path[1:].split('/')
+    dst_dirs = dst_path[1:].split('/')
+    common_idx = 0
+    while src_dirs[common_idx] == dst_dirs[common_idx]:
+        common_idx += 1
+    if common_idx == 0:
+        new_dirs = [''] + src_dirs
+    else:
+        updir_count = len(dst_dirs) - common_idx - 1
+        new_dirs = ['..' for i in range(updir_count)] + src_dirs[common_idx:]
+    return '/'.join(new_dirs)
+
+def remove_and_symlink(duplicates, prefix, base, dryrun=False, verbose=False):
+    for dup in duplicates:
+        if not dup.is_candidate():
+            continue
+        for pkg, files in dup.files.items():
+            if pkg in ('common', 'l10n-en-us'):
+                continue
+            target_pkg, target_name = dup.get_target()
+            for f in files:
+                target_link = calc_target_link(target_name, f)
+                pth = prefix + '/' + base + "-%s%s" % (pkg, f)
+                if verbose:
+                    print "DO: rm -f %s" % pth
+                if not dryrun:
+                    os.unlink(pth)
+                if verbose:
+                    print "DO: ln -s %s %s" % (target_link, pth)
+                if not dryrun:
+                    os.symlink(target_link, pth)
+    pass
+
+def main():
+    prog = os.path.basename(sys.argv[0])
+    try:
+        opts, args = getopt.getopt(sys.argv[1:], "b:np:v",
+                                   ["base=", "dry-run", "prefix=", "verbose"])
+    except getopt.GetoptError:
+        # print help information and exit:
+        print "usage: %s -p <prefix>|--prefix=<prefix> -b <base>|--base=<base> [-v|--verbose] [-n|--dry-run]" % prog
+        sys.exit(2)
+    verbose = False
+    dryrun = False
+    prefix = base = None
+    for o, a in opts:
+        if o in ("-v", "--verbose"):
+            verbose = True
+        if o in ("-n", "--dry-run"):
+            dryrun = True
+        if o in ("-b", "--base"):
+            base = a
+        if o in ("-p", "--prefix"):
+            prefix = a
+    if not prefix:
+        print "%s: Missing --prefix option" % prog
+        sys.exit(2)
+    if not base:
+        print "%s: Missing --base option" % prog
+        sys.exit(2)
+    if not os.path.isdir(prefix):
+        print "%s: Not a directory: %s" % (prog, prefix)
+        sys.exit(2)
+    del sys.argv[1:]
+    
+    size = -1
+    duplicates = []
+    for line in fileinput.input():
+        line = line[:-1]
+        m = re.match(r'(\d+) bytes each', line)
+        if m:
+            size = int(m.group(1))
+            continue
+        dup = Duplicate(prefix, base, line.split(), size)
+        duplicates.append(dup)
+        size = -1
+
+    if verbose:
+        print "========= Skip duplicates ========="
+        for dup in duplicates:
+            if not dup.is_candidate():
+                dup.statistics(verbose=True)
+        print
+    if verbose:
+        print "========= Replace duplicates ========="
+        for dup in duplicates:
+            if dup.is_candidate():
+                dup.statistics()
+        print
+
+    print "========= Savings per package ========="
+    saved_bytes = calc_savings(duplicates)
+    grand_total = 0
+    for pkg, total in saved_bytes.items():
+        print "%-10s: %9d" % (pkg, total)
+        grand_total = grand_total + total
+    print "===================="
+    print "%-10s: %9d" % ('TOTAL', grand_total)
+
+    if verbose:
+        print
+        print "========= Go! ========="
+    remove_and_symlink(duplicates, prefix, base, dryrun=dryrun, verbose=verbose)
+
+if __name__ == '__main__':
+    main()
diff --git a/debian/scripts/get_libebook_dep.sh b/debian/scripts/get_libebook_dep.sh
new file mode 100755 (executable)
index 0000000..b6e4115
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+libs=`grep libebook.*\.so connectivity/source/drivers/evoab2/EApi.cxx | perl -pe 's/\s+\"(.*)\".*/$1/'`
+
+for l in $libs; do
+       if [ -e "/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/$l" ]; then
+               p=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`
+       else
+               if [ -e /usr/lib/$l ]; then
+                       p=/usr/lib
+               else
+                       continue
+               fi
+        fi
+       # sanity check: do the libs match with what we would get
+       # for our libebook version if we followed the .so symlink?
+       l1=`readlink $p/$l`
+       l2_tmp=`echo $l | perl -pe 's/(.*)\.\d+$/$1/'`
+       l2=`readlink $p/$l2_tmp`
+       if [ "$l1" = "$l2" ]; then
+               dep=`dpkg -S $p/$l | cut -d: -f1`
+       fi
+done
+
+if [ -n "$dep" ]; then
+       echo $dep
+else
+       echo "Cannot find libebook dependency. None of the following libs found:"
+       echo $libs
+       exit 1
+fi
+
diff --git a/debian/scripts/get_libvlc_dep.sh b/debian/scripts/get_libvlc_dep.sh
new file mode 100755 (executable)
index 0000000..590c6d7
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+libs=`grep libvlc.*\.so avmedia/source/vlc/wrapper/SymbolLoader.hxx | grep -v vlccore | cut -d= -f2 | perl -pe 's/\s+\"(.*)\".*/$1/'`
+
+for l in $libs; do
+       if [ -e "/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/$l" ]; then
+               p=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`
+       else
+               if [ -e /usr/lib/$l ]; then
+                       p=/usr/lib
+               else
+                       continue
+               fi
+        fi
+#      # sanity check: do the libs match with what we would get
+#      # for our libebook version if we followed the .so symlink?
+#      l1=`readlink $p/$l`
+#      l2_tmp=`echo $l | perl -pe 's/(.*)\.\d+$/$1/'`
+#      l2=`readlink $p/$l2_tmp`
+#      if [ "$l1" = "$l2" ]; then
+               dep=`dpkg -S $p/$l | cut -d: -f1`
+#      fi
+done
+
+if [ -n "$dep" ]; then
+       echo $dep
+else
+       echo "Cannot find libvlc dependency. None of the following libs found:"
+       echo $libs
+       exit 1
+fi
+
diff --git a/debian/scripts/get_ttf_version.pl b/debian/scripts/get_ttf_version.pl
new file mode 100755 (executable)
index 0000000..d5fe0cd
--- /dev/null
@@ -0,0 +1,32 @@
+#!/usr/bin/perl
+
+# derived from http://cgit.freedesktop.org/libreoffice/core/diff/solenv/bin/modules/installer/windows/file.pm?id=38e24f1d059a6123ea15a68b4b24ca984642d66e
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+
+open (TTF, "<$ARGV[0]") or die "could not open ttf";
+binmode TTF;
+{local $/ = undef; $ttfdata = <TTF>;}
+close TTF;
+
+my $ttfversion = "(Version )([0-9]+[.]*([0-9][.])*[0-9]+)";
+
+if ($ttfdata =~ /$ttfversion/ms)
+{
+    my ($version, $subversion, $microversion, $vervariant) = split(/\./,$2);
+        $fileversion = int($version) . "." . int($subversion);
+}
+
+print $fileversion;
diff --git a/debian/scripts/gid2pkgdirs.sh b/debian/scripts/gid2pkgdirs.sh
new file mode 100755 (executable)
index 0000000..0c226ce
--- /dev/null
@@ -0,0 +1,172 @@
+#!/bin/sh
+
+## create split package dirs out of LibreOffices gid_* files
+## copied from former ooo-build/libreoffice-build package-ooo
+## (c) 2005 Chris Halls <halls@debian.org>
+## (c) 2005-2011 Rene Engelhard <rene@debian.org>
+
+export OODESTDIR=$DESTDIR
+
+cd $DESTDIR
+
+echo "Copying gid files...."
+rm gid_*
+cp $DESTDIR/../../file-lists/orig/gid_* .
+
+echo "Creating package directories..."
+
+test -d pkg && rm -r pkg || :
+
+# Create package tree (needed by Debian's dpkg)
+# create_package_directory <list_file> <directory_name>
+create_package_directory()
+{
+listfile=$1
+directory="$2"
+perl -nl \
+        -e " if(/^%dir (.*)/)
+                        {system('mkdir', '-p', '-m', '755', \"$directory\".\$1);}
+                else
+                        {rename('./'.\$_, \"$directory\".\$_);}
+                " \
+        $listfile
+}
+
+# move_wrappers <directory_name> <name> [...]
+move_wrappers()
+{
+directory=$1
+shift
+mkdir -m755 -p "$directory"/usr/bin
+while test -n "$1"; do
+        mv usr/*bin/"$1$BINSUFFIX" "$directory"/usr/bin
+        shift
+done
+}
+
+create_package_directory gid_Module_Root_Ure_Hidden             pkg/ure
+create_package_directory gid_Module_Root                        pkg/libreoffice-common
+create_package_directory gid_Module_Root_Brand                  pkg/libreoffice-common
+# FIXME: This is added to gid_Module_Root_Brand but doesn't get installed....
+mkdir -p pkg/libreoffice-common/usr/share/mimelnk/application
+mv ./usr/share/mimelnk/application/* \
+       pkg/libreoffice-common/usr/share/mimelnk/application
+# done by dh_installman
+#mkdir -p pkg/libreoffice-common/usr/share/man/man1
+#mv usr/share/man/man1/libreoffice$BINSUFFIX.1.gz \
+#      pkg/libreoffice-common/usr/share/man/man1
+#for i in ./usr/share/man/man1/*; do \
+#      if [ "$i" = "unopkg.1.gz" -o "$i" = "lofromtemplate.1.gz" \
+#         -o "$i" = "loffice.1.gz" ]; then p=common; \
+#      else p=`basename $i .1.gz | sed -e s/^lo//`; \
+#      fi
+#      mkdir -p pkg/libreoffice-$p/usr/share/man/man1
+#      mv $i \
+#              pkg/libreoffice-$p/usr/share/man/man1
+#done
+for i in ./usr/share/applications/*.desktop; do \
+       if [ "`basename $i`" = "libreoffice-startcenter.desktop" ]; then p=libreoffice-common; \
+       elif [ "`basename $i`" = "libreoffice-xsltfilter.desktop" ]; then p=libreoffice-common; \
+       else p=`basename $i .desktop`; fi
+       mkdir -p pkg/$p/usr/share/applications
+       mv $i \
+               pkg/$p/usr/share/applications
+done
+mkdir -p pkg/libreoffice-common/usr/share
+mv ./usr/share/icons \
+       pkg/libreoffice-common/usr/share
+mv ./usr/share/application-registry \
+       pkg/libreoffice-common/usr/share
+mv ./usr/share/mime* \
+       pkg/libreoffice-common/usr/share
+
+create_package_directory gid_Module_Root_Files_Images           pkg/libreoffice-common
+create_package_directory gid_Module_Oo_Linguistic               pkg/libreoffice-common
+create_package_directory gid_Module_Optional_Xsltfiltersamples  pkg/libreoffice-common
+create_package_directory gid_Module_Filter                      pkg/libreoffice-common
+create_package_directory gid_Module_Optional_Grfflt             pkg/libreoffice-draw
+create_package_directory gid_Module_Prg_Calc_Bin                pkg/libreoffice-calc
+create_package_directory gid_Module_Prg_Math_Bin                pkg/libreoffice-math
+create_package_directory gid_Module_Prg_Draw_Bin                pkg/libreoffice-draw
+create_package_directory gid_Module_Prg_Wrt_Bin                 pkg/libreoffice-writer
+create_package_directory gid_Module_Prg_Impress_Bin             pkg/libreoffice-impress
+create_package_directory gid_Module_Prg_Base_Bin                pkg/libreoffice-base
+create_package_directory gid_Module_Brand_Prg_Calc              pkg/libreoffice-calc
+create_package_directory gid_Module_Brand_Prg_Math              pkg/libreoffice-math
+create_package_directory gid_Module_Brand_Prg_Draw              pkg/libreoffice-draw
+create_package_directory gid_Module_Brand_Prg_Wrt               pkg/libreoffice-writer
+create_package_directory gid_Module_Brand_Prg_Impress           pkg/libreoffice-impress
+create_package_directory gid_Module_Brand_Prg_Base              pkg/libreoffice-base
+create_package_directory gid_Module_Pyuno              pkg/python3-uno
+create_package_directory gid_Module_Optional_Pyuno_LibreLogo   pkg/libreoffice-librelogo
+create_package_directory gid_Module_Script_Provider_For_Python         pkg/libreoffice-script-provider-python
+create_package_directory gid_Module_Optional_Gnome              pkg/libreoffice-gnome
+create_package_directory gid_Module_Optional_Kde                pkg/libreoffice-kde
+create_package_directory gid_Module_Root_Files
+create_package_directory gid_Module_Optional_OGLTrans          pkg/libreoffice-ogltrans
+create_package_directory gid_Module_Root_SDK                    pkg/libreoffice-dev
+create_package_directory gid_Module_Optional_Extensions_Script_Provider_For_BS pkg/libreoffice-script-provider-bsh
+create_package_directory gid_Module_Optional_Extensions_Script_Provider_For_JS  pkg/libreoffice-script-provider-js
+create_package_directory gid_Module_Optional_Extensions_MEDIAWIKI      pkg/libreoffice-wiki-publisher
+create_package_directory gid_Module_Optional_Extensions_MINIMIZER      pkg/libreoffice-presentation-minimizer
+create_package_directory gid_Module_Optional_Extensions_MySQLConnector  pkg/libreoffice-mysql-connector
+create_package_directory gid_Module_Optional_Extensions_NLPSolver      pkg/libreoffice-nlpsolver
+create_package_directory gid_Module_Pdfimport     pkg/libreoffice-pdfimport
+create_package_directory gid_Module_Optional_Extensions_PRESENTER_SCREEN       pkg/libreoffice-presenter-console
+create_package_directory gid_Module_Reportbuilder      pkg/libreoffice-report-builder
+create_package_directory gid_Module_Optional_PostgresqlSdbc     pkg/libreoffice-sdbc-postgresql
+create_package_directory gid_Module_Libreofficekit     pkg/libreofficekit-data
+move_wrappers pkg/libreoffice-common soffice unopkg
+move_wrappers pkg/libreoffice-common libreoffice loffice lofromtemplate
+move_wrappers pkg/libreoffice-base lobase
+move_wrappers pkg/libreoffice-writer lowriter loweb
+move_wrappers pkg/libreoffice-calc localc
+move_wrappers pkg/libreoffice-impress loimpress
+move_wrappers pkg/libreoffice-math lomath
+move_wrappers pkg/libreoffice-draw lodraw
+
+for l in `echo $OOO_LANGS_LIST`; do
+        for p in Impress Draw Math Calc Base Writer; do
+                create_package_directory  gid_Module_Langpack_${p}_`echo $l | sed -e s/-/_/g`   pkg/libreoffice-l10n-$l
+        done
+        create_package_directory gid_Module_Langpack_Basis_`echo $l | sed -e s/-/_/g`   pkg/libreoffice-l10n-$l
+        create_package_directory gid_Module_Langpack_Brand_`echo $l | sed -e s/-/_/g`   pkg/libreoffice-l10n-$l
+        create_package_directory gid_Module_Langpack_Resource_`echo $l | sed -e s/-/_/g`        pkg/libreoffice-l10n-$l
+       if [ -f gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` ]; then
+               create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g`    pkg/libreoffice-help-$l
+       fi
+        # some help files are in _Langpack_{Writer,Impress,...}_<lang>
+        # move them from -l10n to -help
+        if [ "$l" = "en-US" ]; then d=en; else d=$l; fi
+        mv pkg/libreoffice-l10n-$l/$OOINSTBASE/help/$d/* \
+                pkg/libreoffice-help-$l/$OOINSTBASE/help/$d && \
+        rmdir pkg/libreoffice-l10n-$l/$OOINSTBASE/help/$d
+done
+       
+# Move all libraries and binaries from -common to -core
+if [ ! -d $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program ]; then \
+mkdir -p $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program; \
+fi &&
+( cd pkg/libreoffice-common/$OOINSTBASE/program
+  find -maxdepth 1 \
+     -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\)' \
+     -exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program \;
+);
+
+mkdir -p pkg/libreoffice-common/usr/share/bash-completion/completions
+mv usr/share/bash-completion/completions/libreoffice$BINSUFFIX.sh \
+       pkg/libreoffice-common/usr/share/bash-completion/completions/libreoffice$BINSUFFIX
+
+mv .$OOINSTBASE/program/java-set-classpath \
+       pkg/libreoffice-common/$OOINSTBASE/program
+if echo $OOO_LANGS_LIST | grep -q en-US; then
+        for i in forms/resume.ott officorr/project-proposal.ott; do \
+                mkdir -p pkg/libreoffice-common/$OOINSTBASE/share/template/en-US/`dirname $i`; \
+                mv .$OOINSTBASE/share/template/en-US/$i \
+                        pkg/libreoffice-common/$OOINSTBASE/share/template/en-US/$i; \
+        done; \
+fi
+
+# Warn for any remaining files
+find . -path './pkg' -prune -o -not -name 'gid_Module_*' -not -type d -exec echo "File not packaged: {}" \;
+
diff --git a/debian/scripts/gsistat.py b/debian/scripts/gsistat.py
new file mode 100755 (executable)
index 0000000..879d450
--- /dev/null
@@ -0,0 +1,59 @@
+#! /usr/bin/python
+
+import os
+import sys
+from translate.storage import oo
+
+debug = False
+
+def statistics(mf, helpfiles, comment, fn):
+    n_all = n_translated = n_untranslated = n_same = 0
+    for helpfile in helpfiles:
+        of = mf.getoofile(helpfile)
+        try:
+            elements = of.ooelements
+        except:
+            elements = of.units
+        for el in elements:
+            n_all += 1
+            if len(el.lines) == 1:
+                if debug:
+                    print "WARNING: %s: no translation (%d lines)" % (helpfile, len(el.lines))
+                n_untranslated += 1
+                continue
+            if len(el.lines) > 2:
+                if debug:
+                    print "WARNING: %s: too many translations (%d lines)" % (helpfile, len(el.lines))
+                    print "   ", el.lines[0].project, el.lines[0].sourcefile, el.lines[0].groupid,el.lines[0].localid
+                continue
+            if el.lines[0].text == el.lines[1].text \
+               and el.lines[0].helptext == el.lines[1].helptext \
+               and el.lines[0].quickhelptext == el.lines[1].quickhelptext:
+                n_same += 1
+                if debug:
+                    print "Not translated: %s/%s/%s" % (el.lines[0].text, el.lines[0].helptext, el.lines[0].quickhelptext)
+                    print "                %s/%s/%s" % (el.lines[1].text, el.lines[1].helptext, el.lines[1].quickhelptext)
+            else:
+                n_translated += 1
+
+    try:
+        ratio = n_translated / float(n_all) * 100
+    except:
+        ratio = 0.0
+    print "%s: %15s: %4.1f%%, lines=%5d, translated=%5d, untranslated=%5d, same=%5d" \
+          % (comment, os.path.basename(fn), ratio, n_all, n_translated, n_untranslated, n_same)
+    sys.stdout.flush()
+
+if __name__ == '__main__':
+    for fn in sys.argv[1:]:
+        try:
+            mf = oo.oomultifile(fn)
+        except Exception, msg:
+            sys.stdout.write("ERROR reading %s: %s\n" % (fn, msg))
+           sys.stdout.flush()
+
+        helpfiles = [f for f in mf.listsubfiles() if not f.startswith('helpcontent2')]
+        statistics(mf, helpfiles, "msgs", fn)
+
+        helpfiles = [f for f in mf.listsubfiles() if f.startswith('helpcontent2')]
+        statistics(mf, helpfiles, "help", fn)
diff --git a/debian/scripts/joinctrl.py b/debian/scripts/joinctrl.py
new file mode 100755 (executable)
index 0000000..929fc5f
--- /dev/null
@@ -0,0 +1,66 @@
+#! /usr/bin/python3
+
+import re, sys, fileinput
+
+def splitlines():
+    fields = ('Build-Depends', 'Build-Conflicts', 'Build-Depends-Indep', 'Depends', 'Replaces',
+              'Provides', 'Conflicts', 'Recommends', 'Suggests')
+    for line in fileinput.input():
+        line = line[:-1]
+        field = None
+        for f in fields:
+            if line.startswith(f+':'):
+                field = f
+                break
+        if not field:
+            print(line)
+            continue
+        values = [f.strip() for f in line.split(':',1)[1].strip().split(',')]
+        if len(values) > 2:
+            print('%s: %s' % (field, ',\n '.join(values)))
+        else:
+            print('%s: %s' % (field, ', '.join(values)))
+
+def sort_list(unsorted_list):
+    packages = [x for x in unsorted_list if re.match("[a-z0-9]", x)]
+    special = [x for x in unsorted_list if not re.match("[a-z0-9]", x)]
+    return sorted(packages) + sorted(special)
+
+def joinlines():
+    fields = ('Build-Depends', 'Build-Conflicts', 'Build-Depends-Indep', 'Depends', 'Replaces',
+              'Provides', 'Conflicts', 'Recommends', 'Suggests', 'Breaks')
+    buffer = None
+    for line in fileinput.input():
+        line = line[:-1]
+        if buffer:
+            if line.startswith(' '):
+                buffer = buffer + ' ' + line.strip()
+                continue
+            else:
+                packages = sort_list(set([x.strip() for x in buffer[len(field)+1:].split(",")]))
+                if "" in packages:
+                    packages.remove("")
+                length = len(field) + sum([2 + len(package) for package in packages])
+                if length > 80:
+                    indentation = " " * (len(field) + 2)
+                    packages_with_indention = [indentation + x for x in packages]
+                    packages_with_indention = ",\n".join(packages_with_indention)
+                    print(field + ": " + packages_with_indention.strip())
+                else:
+                    print(field + ": " + ", ".join(packages).strip())
+                buffer = None
+        field = None
+        for f in fields:
+            if line.startswith(f+':'):
+                field = f
+                break
+        if field:
+            buffer = line.strip()
+            continue
+        print(line)
+
+def main():
+    #splitlines()
+    joinlines()
+
+main()
diff --git a/debian/scripts/move-if-change b/debian/scripts/move-if-change
new file mode 100755 (executable)
index 0000000..d267e72
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+# Copyright (C) 1996 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+if
+test -r $2
+then
+if
+cmp $1 $2 > /dev/null
+then
+echo $2 is unchanged
+rm -f $1
+else
+mv -f $1 $2
+fi
+else
+mv -f $1 $2
+fi
diff --git a/debian/shell-lib-extensions.sh b/debian/shell-lib-extensions.sh
new file mode 100644 (file)
index 0000000..3fc248e
--- /dev/null
@@ -0,0 +1,10 @@
+validate_extensions() {
+  INSTDIR=`mktemp -d`
+  if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
+       HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg validate -v --bundled
+  fi
+}
+
+make_lo_sync_extensions() {
+       touch /usr/lib/libreoffice/share/extensions
+}
diff --git a/debian/shlibs.override.glew b/debian/shlibs.override.glew
new file mode 100644 (file)
index 0000000..ab81b27
--- /dev/null
@@ -0,0 +1 @@
+libGLEW                1.10
diff --git a/debian/shlibs.override.icu b/debian/shlibs.override.icu
new file mode 100644 (file)
index 0000000..6161f4c
--- /dev/null
@@ -0,0 +1,5 @@
+libicudata     54
+libicui18n     54
+libicule       54
+libicuuc       54
+libicutu       54
diff --git a/debian/shlibs.override.libc b/debian/shlibs.override.libc
new file mode 100644 (file)
index 0000000..0f04116
--- /dev/null
@@ -0,0 +1 @@
+libc 0.1 libc0.1 (>= 2.10.2-7)
diff --git a/debian/shlibs.override.libcmis b/debian/shlibs.override.libcmis
new file mode 100644 (file)
index 0000000..fd769fe
--- /dev/null
@@ -0,0 +1,2 @@
+libcmis-0.5     5       libcmis-0.5-5v5 (>= 0.5.1+git20160603)
+libcmis-c-0.5   5       libcmis-0.5-5v5 (>= 0.5.1+git20160603)
diff --git a/debian/shlibs.override.libetonyek b/debian/shlibs.override.libetonyek
new file mode 100644 (file)
index 0000000..eb8ef1c
--- /dev/null
@@ -0,0 +1 @@
+libetonyek-0.1-lo      1
diff --git a/debian/shlibs.override.liblangtag b/debian/shlibs.override.liblangtag
new file mode 100644 (file)
index 0000000..e426070
--- /dev/null
@@ -0,0 +1 @@
+liblangtag-lo  1
diff --git a/debian/shlibs.override.libmwaw b/debian/shlibs.override.libmwaw
new file mode 100644 (file)
index 0000000..b646a88
--- /dev/null
@@ -0,0 +1 @@
+libmwaw-0.3-lo 3
diff --git a/debian/shlibs.override.libodfgen b/debian/shlibs.override.libodfgen
new file mode 100644 (file)
index 0000000..73489e3
--- /dev/null
@@ -0,0 +1 @@
+libodfgen-0.1-lo       1
diff --git a/debian/shlibs.override.librevenge b/debian/shlibs.override.librevenge
new file mode 100644 (file)
index 0000000..f6c3fd1
--- /dev/null
@@ -0,0 +1 @@
+librevenge-0.0-lo      0
diff --git a/debian/shlibs.override.libvisio b/debian/shlibs.override.libvisio
new file mode 100644 (file)
index 0000000..1a8cd28
--- /dev/null
@@ -0,0 +1 @@
+libvisio-0.0   0       libvisio-0.0-0 (>= 0.0.18)
diff --git a/debian/shlibs.override.libwpd b/debian/shlibs.override.libwpd
new file mode 100644 (file)
index 0000000..8b6680e
--- /dev/null
@@ -0,0 +1 @@
+libwpd-0.10-lo 10
diff --git a/debian/shlibs.override.libwpg b/debian/shlibs.override.libwpg
new file mode 100644 (file)
index 0000000..207ef90
--- /dev/null
@@ -0,0 +1 @@
+libwpg-0.3-lo  3
diff --git a/debian/shlibs.override.libwps b/debian/shlibs.override.libwps
new file mode 100644 (file)
index 0000000..e6b1d7c
--- /dev/null
@@ -0,0 +1 @@
+libwps-0.4-lo  4
diff --git a/debian/shlibs.override.orcus b/debian/shlibs.override.orcus
new file mode 100644 (file)
index 0000000..064168b
--- /dev/null
@@ -0,0 +1,2 @@
+liborcus-0.11          0
+liborcus-parser-0.11           0
diff --git a/debian/soffice.sh b/debian/soffice.sh
new file mode 100644 (file)
index 0000000..bd14b9a
--- /dev/null
@@ -0,0 +1,21 @@
+# configuration file to set up some environment variables for LibreOffice
+
+# File locking; possible values are:
+# - yes:  enable file locking unconditionally
+# - no:   disable file locking
+# - auto: enable file locking, when the document is found on a nfs share
+# If the environment variable SAL_ENABLE_FILE_LOCKING is set,
+# the setting if ENABLE_FILE_LOCKING has no effect.
+
+FILE_LOCKING=auto
+
+# OpenGL support; may cause trouble with the restricted nvidia and fglrx
+# drivers; possible values are:
+# - yes:  enable OpenGL support unconditionally
+# - no:   disable OpenGL support.
+# - auto: only enable OpenGL support, if not running with the restricted
+#   nvidia and fglrx drivers.
+# If the environment variable SAL_NOOPENGL is set,
+# the setting if OPENGL_SUPPORT has no effect.
+
+OPENGL_SUPPORT=no
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644 (file)
index 0000000..0529256
--- /dev/null
@@ -0,0 +1,7 @@
+debian/templates/debian-presentation.otp
+debian/templates/debian-presentation-background.xcf
+desktop/test/deployment/update/platform/linux_sparc64.oxt
+tarballs/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
+tarballs/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
+tarballs/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
+tarballs/ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz
diff --git a/debian/templates/debian-presentation-background.xcf b/debian/templates/debian-presentation-background.xcf
new file mode 100644 (file)
index 0000000..5f05232
Binary files /dev/null and b/debian/templates/debian-presentation-background.xcf differ
diff --git a/debian/templates/debian-presentation.otp b/debian/templates/debian-presentation.otp
new file mode 100644 (file)
index 0000000..17fe503
Binary files /dev/null and b/debian/templates/debian-presentation.otp differ
diff --git a/debian/templates/soffice-template.desktop.in b/debian/templates/soffice-template.desktop.in
new file mode 100644 (file)
index 0000000..0f031f9
--- /dev/null
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=LibreOffice @APP@  ...
+Comment=Enter LibreOffice @APP@ filename:
+Comment[de]=Name der LibreOffice @APP@-Datei eingeben:
+Type=Link
+URL=.source/soffice.@EXT@
+Icon=libreoffice-oasis-@TYPE@
+
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644 (file)
index 0000000..8705449
--- /dev/null
@@ -0,0 +1,8 @@
+Tests: junit-subsequentcheck
+Depends: libreoffice, libreoffice-subsequentcheckbase, libreoffice-sdbc-hsqldb, autoconf, automake, bc, bison, bzip2, fastjar, flex (>= 2.3.35), gperf, libarchive-zip-perl, libcups2-dev, libfontconfig1-dev, libfreetype6-dev (>= 2.2.0), libgl1-mesa-dev, libice-dev, libsm-dev, libx11-dev, libxaw7-dev, libxext-dev, libxinerama-dev, libxkbfile-dev, libxrender-dev, libxt-dev, libxtst-dev, pkg-config, unzip, x11proto-render-dev, xsltproc, zip, zlib1g-dev , libgltf-dev (>= 0.0.2-4) , libpoppler-dev (>= 0.12.0), libpoppler-private-dev, libpoppler-cpp-dev , libgraphite2-dev (>= 0.9.3) , libharfbuzz-dev (>= 0.9.18) , libexttextcat-dev (>= 3.4.1) , libjpeg-dev , libxml2-dev, libxml2-utils , libxslt1-dev , libexpat1-dev , unixodbc-dev (>= 2.2.11) , libsane-dev , libpng-dev , libcurl4-gnutls-dev , coinor-libcoinmp-dev (>= 1.7.6+dfsg1-2), coinor-libcoinutils-dev (>= 2.9.15-3.1), libbz2-dev , python3 , python3-dev (>= 3.3) , dh-python , debhelper (>= 9.20160114) , dpkg-dev (>= 1.18.2~) , libcppunit-dev (>= 1.13.2-2.1) , maven-repo-helper , java-common (>= 0.49) , default-jdk , default-jdk (>= 2:1.7-52.1) , default-jdk (>= 2:1.8-55) , ant (>= 1.7.0) , ant-optional (>= 1.7.0) , javahelper (>= 0.37~) , libnss3-dev (>= 3.12.3) , ucpp , libhunspell-dev (>= 1.1.5-2) , libhyphen-dev (>= 2.4) , libboost-dev (>= 1.58), libboost-date-time-dev (>= 1.58), libboost-iostreams-dev (>= 1.58), libboost-filesystem-dev (>= 1.58) , libboost-system-dev (>= 1.58) , libmdds-dev (>= 1.2) , liborcus-dev (>= 0.11.2) , libclucene-dev (>= 2.3.3.4-4.1) , librevenge-dev , libwpd-dev (>= 0.10) , libmythes-dev (>= 2:1.2) , libwps-dev (>= 0.4) , libwpg-dev (>= 0.3) , libvisio-dev (>= 0.1) , libcdr-dev (>= 0.1) , libmspub-dev (>= 0.1) , libmwaw-dev (>= 0.3.1) , libodfgen-dev (>= 0.1) , libetonyek-dev , libfreehand-dev (>= 0.1) , libabw-dev (>= 0.1) , libpagemaker-dev , libe-book-dev , libcmis-dev (>= 0.5.0-3) , libeot-dev , liblcms2-dev , libldap2-dev , liblangtag-dev (>= 0.4) , libicu-dev (>= 52) , libcairo2-dev , kdelibs5-dev (>= 4:4.3.4) , libqt4-dev (>= 4:4.8) , default-libmysqlclient-dev , libmysqlcppconn-dev (>= 1.1.7-4) , libgtk2.0-dev (>= 2.10) , libgtk-3-dev (>= 3.8~) , gobject-introspection (>= 1.32.0), libgirepository1.0-dev (>= 1.32) , libebook1.2-dev , libpq-dev (>= 9.0~) , libxrandr-dev , libhsqldb1.8.0-java (>> 1.8.0.10) , 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.70) , libbluetooth-dev , libavahi-client-dev , libgstreamer1.0-dev , libgstreamer-plugins-base1.0-dev , libvlc5 , libneon27-gnutls-dev , librdf0-dev (>= 1.0.16-2) , libglew-dev , libglm-dev (>= 0.9.6.3) , libglib2.0-dev (>= 2.15.0) , gettext , libdconf-dev , make (>= 3.81-8.2), , doxygen (>= 1.8.4) , libcommons-logging-java , libbsh-java, build-essential, default-jdk
+
+Tests: pyuno-import
+Depends: python3-uno
+
+Tests: sdk-examples
+Depends: libreoffice-dev, libreoffice-dev-doc, libreoffice-dev-common, libreoffice-java-common, build-essential, default-jdk
diff --git a/debian/tests/control.in b/debian/tests/control.in
new file mode 100644 (file)
index 0000000..2233c44
--- /dev/null
@@ -0,0 +1,8 @@
+Tests: junit-subsequentcheck
+Depends: libreoffice, libreoffice-subsequentcheckbase, libreoffice-sdbc-hsqldb, %BUILD_DEPS_ARCH_ALL%, build-essential, default-jdk
+
+Tests: pyuno-import
+Depends: python3-uno
+
+Tests: sdk-examples
+Depends: libreoffice-dev, libreoffice-dev-doc, libreoffice-dev-common, libreoffice-java-common, build-essential, default-jdk
diff --git a/debian/tests/junit-subsequentcheck b/debian/tests/junit-subsequentcheck
new file mode 100755 (executable)
index 0000000..a0ec91d
--- /dev/null
@@ -0,0 +1,40 @@
+#!/bin/sh
+# autopkgtest check: Run junit base tests against an installed version of LibreOffice
+# (C) 2013 Canonical Ltd.
+# (c) 2015 Software in the Public Interest, Inc.
+# Authors: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+#          Rene Engelhard <rene@debian.org>
+
+set -e
+
+SRCDIR=`pwd`
+WORKDIR=`mktemp -d`
+
+
+echo "====== Patching the tree to only build Java-based unittests against an existing installation ======"
+patch -p1 < ./debian/tests/patches/java-subsequentcheck-standalone.diff
+
+echo
+echo "====== Generating configuration ======="
+rm -f config_host.mk
+./debian/rules config_host.mk enable_report_builder=no 2>&1
+sed -i 's/export OOO_JUNIT_JAR=.*/export OOO_JUNIT_JAR=\/usr\/share\/java\/junit4.jar/' config_host.mk
+
+echo
+echo "====== Cleaning tree ======"
+make clean 2>&1
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited
+
+echo
+echo "====== Starting subsequentcheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+make -rk \
+    OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+    bridges_SELECTED_BRIDGE=foo \
+    subsequentcheck verbose=t 2>&1
diff --git a/debian/tests/patches/java-subsequentcheck-standalone.diff b/debian/tests/patches/java-subsequentcheck-standalone.diff
new file mode 100644 (file)
index 0000000..275efa4
--- /dev/null
@@ -0,0 +1,139 @@
+From fef2f669c1e861c685d22c18319514cec9f9f8c3 Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Wed, 28 Jan 2015 12:11:16 +0100
+Subject: [PATCH] run subsequentcheck standalone against installed version as
+ integration test
+
+Forwarded: partially, where there is generic use for it
+---
+ jurt/Module_jurt.mk                        |  2 +-
+ postprocess/Module_postprocess.mk          |  4 ++--
+ solenv/gbuild/JavaClassSet.mk              |  2 +-
+ solenv/gbuild/JunitTest.mk                 |  2 +-
+ solenv/gbuild/Module.mk                    |  3 +++
+ solenv/gbuild/extensions/post_SkipBuild.mk | 18 ++++++++++++++++++
+ solenv/gbuild/platform/unxgcc.mk           |  1 +
+ 7 files changed, 27 insertions(+), 5 deletions(-)
+ create mode 100644 solenv/gbuild/extensions/post_SkipBuild.mk
+
+diff --git a/jurt/Module_jurt.mk b/jurt/Module_jurt.mk
+index 89fb397..6b27f24 100644
+--- a/jurt/Module_jurt.mk
++++ b/jurt/Module_jurt.mk
+@@ -22,7 +22,7 @@ $(eval $(call gb_Module_add_targets,jurt,\
+ ))
+ endif
+-$(eval $(call gb_Module_add_subsequentcheck_targets,jurt,\
++#$(eval $(call gb_Module_add_subsequentcheck_targets,jurt,\
+     CustomTarget_test_urp \
+     InternalUnoApi_test_urp \
+     JunitTest_bridgefactory \
+diff --git a/postprocess/Module_postprocess.mk b/postprocess/Module_postprocess.mk
+index 5775cfa..b2f6d44 100644
+--- a/postprocess/Module_postprocess.mk
++++ b/postprocess/Module_postprocess.mk
+@@ -12,13 +12,13 @@ $(eval $(call gb_Module_Module,postprocess))
+ # UGLY: postprocess_XCDS variable from CustomTarget_registry
+ # is reused in Package_registry!
+-$(eval $(call gb_Module_add_targets,postprocess,\
++#$(eval $(call gb_Module_add_targets,postprocess,\
+       CustomTarget_images \
+       CustomTarget_registry \
+       Package_images \
+       Rdb_services \
+ ))
+-$(eval $(call gb_Module_add_l10n_targets,postprocess,\
++#$(eval $(call gb_Module_add_l10n_targets,postprocess,\
+       Package_registry \
+ ))
+diff --git a/solenv/gbuild/JavaClassSet.mk b/solenv/gbuild/JavaClassSet.mk
+index 58a16d9..35a2110 100644
+--- a/solenv/gbuild/JavaClassSet.mk
++++ b/solenv/gbuild/JavaClassSet.mk
+@@ -39,7 +39,7 @@ $(call gb_Helper_abbreviate_dirs,\
+                       $(filter-out $(JARDEPS),$(4))) && \
+               $(if $(3),$(gb_JavaClassSet_JAVACCOMMAND) \
+                       $(gb_JavaClassSet_JAVACDEBUG) \
+-                      -classpath "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \
++                      -classpath "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2)):$(subst $(gb_SPACE),:,$(wildcard /usr/lib/ure/share/java/*.jar)):$(subst $(gb_SPACE),:,$(wildcard /usr/lib/libreoffice/program/classes/*.jar))" \
+                       -d $(call gb_JavaClassSet_get_classdir,$(2)) \
+                       @$$RESPONSEFILE &&) \
+               rm -f $$RESPONSEFILE &&) \
+diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk
+index 8370603..efe2660 100644
+--- a/solenv/gbuild/JunitTest.mk
++++ b/solenv/gbuild/JunitTest.mk
+@@ -54,7 +54,7 @@ $(call gb_JunitTest_get_target,%) :
+       $(CLEAN_CMD)
+ define gb_JunitTest_JunitTest
+-$(call gb_JunitTest_get_target,$(1)) : T_CP := $(call gb_JavaClassSet_get_classdir,$(call gb_JunitTest_get_classsetname,$(1)))$$(gb_CLASSPATHSEP)$(OOO_JUNIT_JAR)$(if $(HAMCREST_JAR),$$(gb_CLASSPATHSEP)$(HAMCREST_JAR))$$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_URE_LIB_FOLDER)
++$(call gb_JunitTest_get_target,$(1)) : T_CP := $(call gb_JavaClassSet_get_classdir,$(call gb_JunitTest_get_classsetname,$(1)))$$(gb_CLASSPATHSEP)$(OOO_JUNIT_JAR)$(if $(HAMCREST_JAR),$$(gb_CLASSPATHSEP)$(HAMCREST_JAR))$$(gb_CLASSPATHSEP)$(OUTDIR)/lib:$(subst $(gb_SPACE),:,$(wildcard /usr/lib/ure/share/java/*.jar)):$(subst $(gb_SPACE),:,$(wildcard /usr/lib/libreoffice/program/classes/*.jar))
+ $(call gb_JunitTest_get_target,$(1)) : CLASSES :=
+ $(eval $(call gb_JunitTest_JunitTest_platform,$(1)))
+diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
+index 253564c..0aad310 100644
+--- a/solenv/gbuild/Module.mk
++++ b/solenv/gbuild/Module.mk
+@@ -292,15 +292,16 @@
+ # has order dependency on AllModulesButInstsetNative to be able to run
+ # subsequentcheck in the same make process on "make check"
+ define gb_Module_add_subsequentcheck_target
++ifeq (,$(filter-out JavaClassSet% JunitTest%,$(2)))
+ $(call gb_Module__read_targetfile,$(1),$(2),subsequentcheck target)
+ $(call gb_Module_get_subsequentcheck_target,$(1)) : $$(gb_Module_CURRENTTARGET)
+ $$(gb_Module_CURRENTTARGET) :| \
+-      $(call gb_Postprocess_get_target,AllModulesButInstsetNative) \
+-    $(call gb_Package_get_target,instsetoo_native_setup) \
+-    $(call gb_Package_get_target,instsetoo_native_setup_ure)
++      $(call gb_Postprocess_get_target,AllModulesButInstsetNative)
+ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
++endif
++
+ endef
+ define gb_Module_add_stagingcheck_target
+diff --git a/solenv/gbuild/extensions/post_SkipBuild.mk b/solenv/gbuild/extensions/post_SkipBuild.mk
+new file mode 100644
+index 0000000..7f8c18a
+--- /dev/null
++++ b/solenv/gbuild/extensions/post_SkipBuild.mk
+@@ -0,0 +1,18 @@
++# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
++#
++# This file is part of the LibreOffice project.
++#
++# This Source Code Form is subject to the terms of the Mozilla Public
++# License, v. 2.0. If a copy of the MPL was not distributed with this
++# file, You can obtain one at http://mozilla.org/MPL/2.0/.
++#
++
++# we dont want to bother with these for integration tests
++gb_Module_add_target =
++gb_Module_add_l10n_target =
++gb_Module_add_check_target =
++gb_Module_add_slowcheck_target =
++gb_JavaClassSet_use_jar =
++gb_JunitTest_use_jar =
++
++# vim: set noet sw=4 ts=4:
+diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
+index d4539d3..5bfeb06 100644
+--- a/solenv/gbuild/platform/unxgcc.mk
++++ b/solenv/gbuild/platform/unxgcc.mk
+@@ -290,6 +290,7 @@ $(call gb_JunitTest_get_target,$(1)) : DEFS := \
+       -Dorg.openoffice.test.arg.workdir=$(call gb_JunitTest_get_userdir,$(1)) \
+       -Dorg.openoffice.test.arg.postprocesscommand=$(SRCDIR)/solenv/bin/gdb-core-bt.sh \
+       -Dorg.openoffice.test.arg.soffice="$(gb_JunitTest_SOFFICEARG)" \
++      -Djava.library.path=/usr/lib/ure/lib \
+ endef
+-- 
+1.9.1
diff --git a/debian/tests/pyuno-import b/debian/tests/pyuno-import
new file mode 100755 (executable)
index 0000000..1b7778c
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/python3
+
+import uno
diff --git a/debian/tests/sdk-examples b/debian/tests/sdk-examples
new file mode 100755 (executable)
index 0000000..abae535
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+echo "====== Preparing the SDK environment ======"
+cd /usr/lib/libreoffice/sdk
+. ./setsdkenv_unix.sh
+
+SRCDIR=`pwd`
+
+# don't clobber $HOME but do it in /tmp
+_old_sdk_out=$OO_SDK_OUT
+WORKDIR=`mktemp -d`
+export OO_SDK_OUT=$WORKDIR
+export PATH=`echo $PATH | sed -e "s,$_old_sdk_out,$OO_SDK_OUT,g"`
+
+echo "====== Building C++ example DocumentLoader ====== "
+cd $SRCDIR/examples/cpp/DocumentLoader
+make
+
+echo "====== Building C++ example counter ====== "
+cd $SRCDIR/examples/cpp/counter
+make
+echo "====== Running countermain.run ======"
+make countermain.run
+
+echo "====== Building Java DocumentHandling example ======"
+cd $SRCDIR/examples/java/DocumentHandling
+make
+
diff --git a/debian/uno-libs3-dbg.substvars b/debian/uno-libs3-dbg.substvars
new file mode 100644 (file)
index 0000000..390a59c
--- /dev/null
@@ -0,0 +1,3 @@
+java:Depends=
+java:Recommends=
+misc:Depends=
diff --git a/debian/uno-libs3.lintian-overrides b/debian/uno-libs3.lintian-overrides
new file mode 100644 (file)
index 0000000..821c281
--- /dev/null
@@ -0,0 +1,2 @@
+uno-libs3: shlibs-declares-dependency-on-other-package uno-libs3 (*), ure
+uno-libs3: symbols-declares-dependency-on-other-package ure
diff --git a/debian/uno-libs3.symbols b/debian/uno-libs3.symbols
new file mode 100644 (file)
index 0000000..c2af96e
--- /dev/null
@@ -0,0 +1,48 @@
+libuno_cppu.so.3 uno-libs3 #MINVER#, ure
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)UDK_3.2 1.4.0
+ (symver)UDK_3.3 1.4.0
+ (symver)LIBO_UDK_4.4 4.4.0~alpha
+libuno_cppuhelpergcc3.so.3 uno-libs3 #MINVER#, ure
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)UDK_3.2 1.4.0
+ (symver)UDK_3.3 1.4.0
+ (symver)UDK_3.4 1.4.0
+ (symver)UDK_3.5 1.4.0
+ (symver)UDK_3.6 1.7.0
+ (symver)UDK_3.7 3.4.0
+ (symver)UDK_3.8 3.5.0~beta
+ (symver)LIBO_UDK_3.9 4.0.0~alpha
+libuno_sal.so.3 uno-libs3 #MINVER#, ure
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)UDK_3.2 1.4.0
+ (symver)UDK_3.3 1.4.0
+ (symver)UDK_3.4 1.4.0
+ (symver)UDK_3.5 1.4.0
+ (symver)UDK_3.6 1.4.0
+ (symver)UDK_3.7 1.4.0
+ (symver)UDK_3.8 1.4.0
+ (symver)UDK_3.9 1.5.0
+ (symver)UDK_3.10 1.6.0
+ UDK_3.11@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ osl_clearEnvironment@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ osl_setEnvironment@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ (symver)UDK_3.11 1.8.0
+ (symver)LIBO_UDK_3.5 3.5.0~beta
+ (symver)LIBO_UDK_3.6 4.0.0~alpha
+ (symver)LIBO_UDK_4.0 4.0.0~beta
+ (symver)LIBO_UDK_4.1 4.1.0~alpha
+ (symver)LIBO_UDK_4.2 4.2.0~rc1
+ (symver)LIBO_UDK_4.3 4.3.0~alpha
+ (symver)LIBO_UDK_5.0 5.0.0~alpha
+ (symver)LIBO_UDK_5.1 5.1.0~alpha
+ (symver)LIBO_UDK_5.2 5.2.0~alpha
+libuno_salhelpergcc3.so.3 uno-libs3 #MINVER#, ure
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)LIBO_UDK_3.6 3.6.0~beta
+libuno_purpenvhelpergcc3.so.3 uno-libs3 #MINVER#, ure
+ (symver)UDK_3_0_0 1.4.0
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644 (file)
index 0000000..e9169c3
--- /dev/null
@@ -0,0 +1,66 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+mQINBEyzEr0BEADT441wUITsTwDA2nM3kmUhGrzTdxZB5xv/E1ZJCw63qWdmdTdW
+NZDfNDuLs4r2VjlEoA3xGK6jgnQvyAoNj0yiEbW/JedHHgOiVdXDlkgkY58myafT
+FXqDLzTXVrsNnay0GS8XrNjptZJPhEPBvNUdkqpA9B7RTkfaXj779Pf/AeFMZVLl
+UAci5RA0NNF910GHwoXT6SEv2PGoawsphnfmMVdKh9wz7asbtKXEmotCwX3k045x
+LsIVK5ANOi+BI9C3LkrrFJWw2XHqDW2ulwCJ0L5QNSjOuY/v8REODwIXamvvdZOz
+XBKSIzDOalJqFCHls3YlGyFw1knr6BAOmVOm32YtNTCLbVA/iK55fZWnUCjD3a4G
+xz4qpQYWfpxhOmlHpk5JkraSNHzCc7SB43DwcHF5ecXHttMhO8MoN/bAZBgCuLGF
+EwNvwFbDwIWo07mlv7wD8i1rtUCvLywJc5YL2PbjCLfB1Q4YzDX1EWnjKdnAsxxK
+ftrx1DFlxzUF+TaHbLTPttUcsWQaL8wITznoWIwdIWlo2woPgWIpUXMOYwYV31Oo
+fgmroHa3V4NOvkke09uhaZawg5yZCoRFohhfKPqT1ZrJ9SnRbW/WR3VTVY76ht5k
+RuV3eb2VWBmPU9zn56Tbe6dvFkBuzHH1JdECAqy1BzFcmQQFBebFzf1XAQARAQAB
+tEhMaWJyZU9mZmljZSBCdWlsZCBUZWFtIChDT0RFIFNJR05JTkcgS0VZKSA8YnVp
+bGRAZG9jdW1lbnRmb3VuZGF0aW9uLm9yZz6IRgQQEQIABgUCTUFIwgAKCRCL2C5v
+MLlLXHQPAJ9Ssl2o0KRKBZ0JdO3vTyDjWgawogCeOE2WUF7Iu6fdSGWNmJSM/do/
+eu6IRgQQEQIABgUCUMOrVAAKCRB7zW0CA5FQlhpDAJ9sqx4+NcrdGbeBTT1UvAb+
+11qqZgCfetdJ0jqSS2yNSNUDy5ZjItVSv/KIRgQQEQoABgUCTLMWIgAKCRD3Yrgl
+77aU6iOrAJ9qpSADLFuQXVf8hNJTB6QDTVux0gCdEhZq2X77lPA//M80glRMXeiU
+hg+IRgQSEQIABgUCTLMdZwAKCRDRq2cH1AjaHztJAJwO1YQx8Rn4WABrG1UaLmsd
+ggsRbQCgz6AhXw/V+BbmgkwoqpbaBKjA8BqIRgQTEQIABgUCTL7JDQAKCRDZI2G9
+jJphVXoIAJ4urW1aBH7aALefUCM4Kpur+OFdpwCfSMFBph6oo2C+tapy7u3Bdh6u
+mU+JARwEEAECAAYFAlI7JikACgkQWqSgLjzaew6Z8ggAx4pZJf5Rjn/OSHp5JRnz
+TuVAKxCBVdKZzxJ3+dq2I4kcZnxBq/fazO1n4kY4dDIAN0eaDw3c1T8eAzM9ZvHK
+jARwWFM3ges2wRWTFJCSN7kK1w0dNfOUbXamQshwRdip2ESmjHrzY3S0Ipo9ZPRn
+qL678aQzxtghI/xow2vzeDcxBPJyggqE46f/5mDsWEwjpS9Cl8YI6k7YQXwlGfRF
+ohJfvEsegol/eITKUVmTcOOsqEnM6S66eWFVN/Z/s+nWqmkxsWOZGADcocGR4uEK
+uX6mdsX4pdX9nCs58/CqdOtfEssmbwfCSqF6D4ip/TxJMHV6msbO/XtzvKxussw7
+2okCNwQTAQoAIQUCTLMSvQIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRD0
+NKHvr+6uo5zjD/9f7vhCXJFqVy4s3DegkoHX7XPrHGGGnCDWTDlwwysa7TDRig+8
+sMpqJLTYN2QhpcMQJxBM6gSHv9thtmro60TVbLGodhg48rnK6XkVHBnmTkdnukMV
+woJDvZSBaHP5DOdGGBnSPARaXkufevAmlLKci9NceZCiAh3TGZys1A/JyTPO6AbH
+ipkWKdI6YMbBOAbXg1Te9q3aJ6Tfs+EEuHlXyiGUShxzDA96O0oRZC52DRDwru4G
+6otSGcmhmh0TK2qk6+3Ky4+0bEZeeYPuhe0FUQXdfp4VFcMinzVzHaKwcrgqt/jP
+hP0pSKY0seNZFr5lC2nalksdCVuV+ycJR/pNhnRiL3T0SFwz+HECAFld6WU4JD/x
+TZwmxNTI3kOnXBt/pfS4ri5p53X/TfsQYsA7o8/pZDPqNZ3X+GGxDmgCZ2OTOUwU
+R8o14ggO4ow6NdxO8zz8pFeG5/AgK9IUGVIi94d8MVYK85WCrRWMBjs0UwUpFSdE
+cHnyoFqa3KE7KxxEi9PlAfwdh9QD9g2X0WC5zNhQhCLe34fWGgcjLB22ZG6FjHla
+UhR7wU71APlEw9sGNVuQJiB0d3GCckMoKhEaygqUsHtRlzgCT2PqmVlti0VGiebY
+yNTjPFuUIU24SpVDRX/Lr84gakFgX1hoQC1OAQl306aYMIzd3w7TNkdiZrkCDQRM
+sxK9ARAAwOnQfFINZ37Y539om60IwV7y1/Dv6c/2B8c4JSp6xvzxC9EwmBVjrPVo
+10yWXFMqWzFSK4Dq41ytQCTMOn+pFZHnytYg7rjY8uJ+eDe6snVwNtIoL4rhEelA
+L6FeWUwouqrx3A3LUs7h8+j1J21QXgF6/p6cqajjIKI4a/a2/O0+H2AwZigOdxo6
+xLS3ZQ+vYwxAhVSaYjN8kGR07FtmJY52h41taxgkdBo74CFqXpKM8crOF2N5eFnM
+eXW+p4ORXgxcemus7Bc1fA+ISmRl7Y51zvJoyRBzSTxZGt8ocClufAPHoyLwdhp/
+4u9Grs/R4w72iwPWrjjBBC9XOTX33OkwwdLn+QC/tEE2YM5IlAhnjNPiXNEM4OMx
+/TUuOfTbOifXYZ8mjRZtumYu6W1ru6MeAytRTnhvLxY8UZbR+WNeINfQSmQeHFSx
+Sx9o18GwWcT6xHFCM0X+WO+h+TICkjbU6O0Rr2SvC+AOppewv5rbTvo6ygWk5GVN
+nfRERvR5FLqsS3wz7uzjFNoDsYXGVj835udozyb4i3KB8UcdbgfTAttuBqMN6ihJ
+OBqF5U0XlX0dLQSQ3gw1W+0kfsnp2t2JHVBWFfzufv4m1DNO0I7J94qNoH6RxsCb
+/ZU4U54d2KDn4HKCle3ciLFWrvbGYbOHSOFjnrkyNeuqDk7em8sAEQEAAYkCHwQY
+AQoACQUCTLMSvQIbDAAKCRD0NKHvr+6uo9p6D/9q8jb9r3heVJi1JlvaFV1bepr0
+ATKlC6uq1Wsol8QoVX5lAE9ds9HLwzPkswQfWx8PoHhJUYgYnyilLKJ4mRwoiR74
+Yx6RNa9KoOkU6BjavDt4c2f/fdkmzc7NA7JbPyyYT8Agz/mXKJUa5KVTtGNidx/V
+X1sgFz3Wr0R2qTghhSj/tb7Jp8LRVb/ygdQViMc1q6OI6wSguJeyH1jRH/onGzp+
+8ThdsIA1X95w3lRf70EGs1k03/0Zs2voJgZnnszZ/U+DLDL9e86cQ+cnxpZdTIYu
+qrfgq8w8U9I54CYVuQUSwHiZ0MwVoPCvPOKJkT/NLz+cqIfhfYmCYuAWxp0SKF19
+jF4NwZuFEQr+oDV/dsaevWPTlXTvKSjYUVl2I6vg6CJPnKaDBVRdDYCLP4n8LxRG
+N+lw/F62a4NBP0Bh+CYwo81Vc8Va41B3M3kZlsj4TX9xvn64s2Se+OeDDYbg9H/i
+48dfUcJJ+2U1rAGpbPK6fWT4Hv+7c54V5tZdx2pKZm4tDuXQ+S7P82Wnozpwqlx4
+v73MKBqJHn6/2H3hW+1cp3+bD1ksAJxVw4A2LAK2wk/eW3uNFIe2S5R7q9Sbm0tL
+nzZF9fGgjUGU+M20b3EBDckoEchdtqVPXykAU7e3vhzGDeHSIjUbnUXegvQPAgs/
+YwEGZqt1USnkIycH8w==
+=CCIg
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/ure-dbg.substvars b/debian/ure-dbg.substvars
new file mode 100644 (file)
index 0000000..390a59c
--- /dev/null
@@ -0,0 +1,3 @@
+java:Depends=
+java:Recommends=
+misc:Depends=
diff --git a/debian/ure.bug-script.in b/debian/ure.bug-script.in
new file mode 100644 (file)
index 0000000..7b62e1a
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo "" >&3
+echo "Java:" >&3
+/usr/lib/libreoffice/program/javaldx >&3
diff --git a/debian/ure.lintian-overrides b/debian/ure.lintian-overrides
new file mode 100644 (file)
index 0000000..d509918
--- /dev/null
@@ -0,0 +1,3 @@
+ure: classpath-contains-relative-path usr/share/java/jurt.jar: ridl.jar unoloader.jar ../../lib/ /usr/lib/ure/lib/ ../bin/
+ure: classpath-contains-relative-path usr/share/java/juh.jar: ridl.jar jurt.jar ../../lib/ ../bin/
+ure: classpath-contains-relative-path usr/share/java/java_uno.jar: jurt.jar ridl.jar ../../lib/ ../bin/
diff --git a/debian/ure.poms b/debian/ure.poms
new file mode 100644 (file)
index 0000000..af53d32
--- /dev/null
@@ -0,0 +1,31 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+#   --ignore: ignore this POM and its artifact if any
+#   --ignore-pom: don't install the POM. To use on POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+#   --no-parent: remove the <parent> tag from the POM
+#   --package=<package>: an alternative package to use when installing this POM
+#      and its artifact
+#   --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+#      of the version for the package.
+#   --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+#      during a clean operation with mh_cleanpom or mh_installpom
+#   --artifact=<path>: path to the build artifact associated with this POM,
+#      it will be installed when using the command mh_install. [mh_install]
+#   --java-lib: install the jar into /usr/share/java to comply with Debian
+#      packaging guidelines
+#   --usj-name=<name>: name to use when installing the library in /usr/share/java
+#   --usj-version=<version>: version to use when installing the library in /usr/share/java
+#   --no-usj-versionless: don't install the versionless link in /usr/share/java
+#   --dest-jar=<path>: the destination for the real jar.
+#     It will be installed with mh_install. [mh_install]
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+#     Empty by default. [mh_install]
+#
+debian/pom.juh.xml --no-parent --has-package-version
+debian/pom.jurt.xml --no-parent --has-package-version
+debian/pom.ridl.xml --no-parent --has-package-version
+debian/pom.unoloader.xml --no-parent --has-package-version
diff --git a/debian/vars.alpha b/debian/vars.alpha
new file mode 100644 (file)
index 0000000..610cd81
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_alpha
diff --git a/debian/vars.amd64 b/debian/vars.amd64
new file mode 100644 (file)
index 0000000..eca69cd
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_x86_64
diff --git a/debian/vars.arm b/debian/vars.arm
new file mode 100644 (file)
index 0000000..ad87d02
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_arm_oabi
diff --git a/debian/vars.arm64 b/debian/vars.arm64
new file mode 100644 (file)
index 0000000..a97a775
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_aarch64
diff --git a/debian/vars.armel b/debian/vars.armel
new file mode 100644 (file)
index 0000000..9d54104
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_arm_eabi
diff --git a/debian/vars.armhf b/debian/vars.armhf
new file mode 100644 (file)
index 0000000..9d54104
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_arm_eabi
diff --git a/debian/vars.hppa b/debian/vars.hppa
new file mode 100644 (file)
index 0000000..2efe694
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_hppa
diff --git a/debian/vars.i386 b/debian/vars.i386
new file mode 100644 (file)
index 0000000..5462661
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_x86
diff --git a/debian/vars.ia64 b/debian/vars.ia64
new file mode 100644 (file)
index 0000000..c6debb3
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_ia64
diff --git a/debian/vars.kfreebsd-amd64 b/debian/vars.kfreebsd-amd64
new file mode 100644 (file)
index 0000000..c13d6b5
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=kfreebsd_x86_64
diff --git a/debian/vars.kfreebsd-i386 b/debian/vars.kfreebsd-i386
new file mode 100644 (file)
index 0000000..f8c2bbb
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=kfreebsd_x86
diff --git a/debian/vars.m68k b/debian/vars.m68k
new file mode 100644 (file)
index 0000000..a40c8a3
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_m68k
diff --git a/debian/vars.mips b/debian/vars.mips
new file mode 100644 (file)
index 0000000..e484a85
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_mips_eb
diff --git a/debian/vars.mips64 b/debian/vars.mips64
new file mode 100644 (file)
index 0000000..8c8859b
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_mips64_eb
diff --git a/debian/vars.mips64el b/debian/vars.mips64el
new file mode 100644 (file)
index 0000000..e207db4
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_mips64_el
diff --git a/debian/vars.mipsel b/debian/vars.mipsel
new file mode 100644 (file)
index 0000000..0f4f5a8
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_mips_el
diff --git a/debian/vars.powerpc b/debian/vars.powerpc
new file mode 100644 (file)
index 0000000..e43581b
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_powerpc
diff --git a/debian/vars.powerpcspe b/debian/vars.powerpcspe
new file mode 100644 (file)
index 0000000..e43581b
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_powerpc
diff --git a/debian/vars.ppc64 b/debian/vars.ppc64
new file mode 100644 (file)
index 0000000..c647bc6
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_powerpc64
diff --git a/debian/vars.ppc64el b/debian/vars.ppc64el
new file mode 100644 (file)
index 0000000..561db34
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_powerpc64_le
diff --git a/debian/vars.s390 b/debian/vars.s390
new file mode 100644 (file)
index 0000000..7e52543
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_s390
diff --git a/debian/vars.s390x b/debian/vars.s390x
new file mode 100644 (file)
index 0000000..7c0d549
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_s390x
diff --git a/debian/vars.solaris-i386 b/debian/vars.solaris-i386
new file mode 100644 (file)
index 0000000..de92b2a
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=solaris_x86
diff --git a/debian/vars.sparc b/debian/vars.sparc
new file mode 100644 (file)
index 0000000..a905e56
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_sparc
diff --git a/debian/vars.sparc64 b/debian/vars.sparc64
new file mode 100644 (file)
index 0000000..fa7c4ad
--- /dev/null
@@ -0,0 +1 @@
+PLATFORMID=linux_sparc64
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..35f2c41
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+opts=pgpsigurlmangle=s/$/.asc/ http://download.documentfoundation.org/libreoffice/src/(\d.\d.\d)/libreoffice-(\d.\d.\d).\d.tar.xz
diff --git a/debian/xmerge-javadoc.in b/debian/xmerge-javadoc.in
new file mode 100644 (file)
index 0000000..50a29b8
--- /dev/null
@@ -0,0 +1,7 @@
+Document: xmerge-javadoc
+Title: LibreOffice XMerge API Javadoc
+Author: Oracle
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice-dev/docs/xmerge/index.html
diff --git a/tarballs/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip b/tarballs/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
new file mode 100644 (file)
index 0000000..2709644
Binary files /dev/null and b/tarballs/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip differ
diff --git a/tarballs/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip b/tarballs/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
new file mode 100644 (file)
index 0000000..f1fb1db
Binary files /dev/null and b/tarballs/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip differ
diff --git a/tarballs/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip b/tarballs/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
new file mode 100644 (file)
index 0000000..e622cf1
Binary files /dev/null and b/tarballs/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip differ
diff --git a/tarballs/ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz b/tarballs/ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz
new file mode 100644 (file)
index 0000000..e9cbd42
Binary files /dev/null and b/tarballs/ce12af00283eb90d9281956524250d6e-xmlsec1-1.2.20.tar.gz differ