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

[SCM] LibreOffice packaging repository branch, debian-experimental-3.4.0, updated. libreoffice_3.3.3-1-102-g6e193ca



The following commit has been merged in the debian-experimental-3.4.0 branch:
commit e71f0cfed362188f71004cae479efcac05a231e0
Merge: 8b74b3e95eb9ad1409dcedb33f88981ace7c2212 1ca004f01fa94150b998ead930bf5e8379b30100
Author: Rene Engelhard <rene@debian.org>
Date:   Wed Jun 29 01:49:30 2011 +0200

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

diff --combined changelog
index b0a5713,af41d4a..de4a3c0
--- a/changelog
+++ b/changelog
@@@ -1,11 -1,4 +1,11 @@@
 -libreoffice (1:3.3.3-2) UNRELEASED; urgency=low
 +libreoffice (1:3.4.0-1) UNRELEASED; urgency=low
 +
 +  * new upstream release
 +    - handles various table columns differing in case correct
 +      (closes: #617596)
 +    - should fix embedding of (some) fonts in PDFs (closes: #616117)
 +    - (still) use libreoffice-build for now; not tagged,
 +      use 3fd2f1b1cbcab8ecd5a642d36cf071d391ad881f
  
    * debian/patches/scripting-bsh-no-envvar.diff,
      debian/patches/disable-rhino.diff: add hacks to fix build
@@@ -16,41 -9,22 +16,43 @@@
      set_soenv for MIPS
  
    * debian/rules:
 +    - bump build-dep on libmdds-dev to >= 0.5.0
 +    - build-depend on libgraphite2-dev instead of libgraphite-dev
 +    - update for new extension and mingw configure switches
 +    - temporarily build only for en-US
 +    - temprarily don't install gengal, not built anymore since the switch to
 +      GNU Make...
 +    - install .component files to registered-components
      - make multiarch changes conditional and skip them for squeeze
-      (Daniel Baumann)
+       (Daniel Baumann)
      - move evolocal.odb into -evolution proper
      - use OpenJDK on mips(el), seems to work. (ia64 still SIGSEGVs)
 +  * debian/control.sdk.in, debian/rules: 
 +    - stop building with STLport on i386, just create a symlink in ure.
 +      Should suffice for compat with binary-only OOo extensions
 +  * debian/control.in, debian/rules:
 +     - the script providers are now extensions. split js and bsh out into
 +       extra packages (also closes: #603595)
 +  * debian/uno-libs3.symbols: update 
 +  * debian/rules, debian/patches/packcomponents-remove-split-components.diff: 
 +    remove evoab, binfilter and kdeab deregistering into patch patching
 +    the new packcomponents
 +  * debian/shell-lib-components.sh: add new update_services_rdb() merging
 +    "default" services.rdb and the .component files from registered-components
 +  * debian/libreoffice-common.triggers.in, libreoffice-*.p*.in:
 +    new trigger running update_services_rdb, remove obsolete maintainer scripts
    * debian/libreoffice-filter-binfilter.links.in: actually create symlink
      for libbindet*so in registered-components 
    * debian/control.in:
      - move libpaper-utils from Suggests to Recommends
      - fix libreoffice Description: - -filter-binfilter is not installed
        per default since longer (only suggested)
-   * debian/control.in, debian/ruleS: move libpq-dev builddep to a
+   * debian/control.in, debian/rules: move libpq-dev builddep to a
      conditional
+   * debian/rules, debian/control*in:
+     - run jh_depends and add ${java:Depends} where we have Java 
  
-  -- Rene Engelhard <rene@debian.org>  Tue, 28 Jun 2011 16:10:32 +0200
+  -- Rene Engelhard <rene@debian.org>  Tue, 28 Jun 2011 23:36:01 +0000
  
  libreoffice (1:3.3.3-1) unstable; urgency=medium
  
@@@ -61,7 -35,7 +63,7 @@@
      toolbars work in e.g. Base edit forms (closes: #617319)
  
    * debian/rules:
 -    - disable -sdbc-postgresql until fixed (closes: #620100) 
 +    - disable -sdbc-postgresql until fixed (closes: #620100)
      - stop moving vbaevents*.uno.so to -calc. Move libvbaswobj*uno.so
        to -writer
      - make -l10n-sw (if enabled) depend on locales (>= 2.13-5)
diff --combined control.in
index 79eb48b,143873e..f4c26f6
--- a/control.in
+++ b/control.in
@@@ -45,7 -45,7 +45,7 @@@ Build-Depends: lsb-release
   wget | curl
   %BUILD_DEPS%
  Build-Depends-Indep: fdupes, xml-core, imagemagick %BUILD_DEPS_INDEP%
 -Build-Conflicts: libcairo2 (= 1.4.8-1), libxul-dev (= 1.8.0.13~pre070720-0etch1), gjdoc (= 0.7.8-2), libc6-dev (= 2.6.1-3) [i386 amd64], libc6-dev (= 2.6.1-4) [i386 amd64], nvidia-glx-dev, nvidia-glx-legacy-dev, libmono-dev (= 1.2.6+dfsg-1), libmono-dev (= 1.2.6+dfsg-2), libmono-dev (= 1.2.6+dfsg-3), libmono-dev (= 1.2.6+dfsg-4), libmono-dev (= 2.4+dfsg-2) [sparc], gcj-4.2 (= 4.2.2-6), flex (= 2.5.34-1) [amd64], libboost1.39-dev (<< 1.39.0-2), graphicsmagick-imagemagick-compat (<< 1.3.9~), qt3-dev-tools, ant (= 1.8.0-1) [%OOO_GCJ_JDK_ARCHS%], ant (= 1.8.0-2) [%OOO_GCJ_JDK_ARCHS%], ant (= 1.8.0-3) [%OOO_GCJ_JDK_ARCHS%], libmdds-dev (>= 0.4.0)
 +Build-Conflicts: libcairo2 (= 1.4.8-1), libxul-dev (= 1.8.0.13~pre070720-0etch1), gjdoc (= 0.7.8-2), libc6-dev (= 2.6.1-3) [i386 amd64], libc6-dev (= 2.6.1-4) [i386 amd64], nvidia-glx-dev, nvidia-glx-legacy-dev, libmono-dev (= 1.2.6+dfsg-1), libmono-dev (= 1.2.6+dfsg-2), libmono-dev (= 1.2.6+dfsg-3), libmono-dev (= 1.2.6+dfsg-4), libmono-dev (= 2.4+dfsg-2) [sparc], gcj-4.2 (= 4.2.2-6), flex (= 2.5.34-1) [amd64], libboost1.39-dev (<< 1.39.0-2), graphicsmagick-imagemagick-compat (<< 1.3.9~), qt3-dev-tools, ant (= 1.8.0-1) [%OOO_GCJ_JDK_ARCHS%], ant (= 1.8.0-2) [%OOO_GCJ_JDK_ARCHS%], ant (= 1.8.0-3) [%OOO_GCJ_JDK_ARCHS%]
  Standards-Version: 3.9.1
  XS-Python-Version: @PYTHON_VERSION@
  Vcs-Git: https://alioth.debian.org/anonscm/git/pkg-openoffice/libreoffice.git
@@@ -230,6 -230,7 +230,6 @@@ Breaks: libreofficeVER-style-crystal (<
   libreofficeVER-style-tango (>= 1:${next-basis-version}~),
   libreofficeVER-style-hicontrast (>= 1:${next-basis-version}~),
   libreofficeVER-style-galaxy (>= 1:${next-basis-version}~),
 - libreofficeVER-style-andromeda (>= 1:${next-basis-version}~)
  Replaces: openoffice.org-common (<< 1:3.3.0~)
  Description: office productivity suite -- arch-independent files
   LibreOffice is a full-featured office productivity suite that provides
@@@ -241,8 -242,9 +241,8 @@@
  Package: libreofficeVER-java-common
  Architecture: all
  Depends: libreofficeVER-common,
-  ${java-common-java-depends},
+  ${java:Depends},
   ${misc:Depends}
 -Suggests: ${common-bsh-depends}
  Description: office productivity suite -- arch-independent Java support files
   LibreOffice is a full-featured office productivity suite that provides
   a near drop-in replacement for Microsoft(R) Office.
@@@ -337,7 -339,7 +337,7 @@@ Depends: libreofficeVER-core (= ${binar
   libreofficeVER-base-core (= ${binary:Version}),
   ${shlibs:Depends},
   ${java-runtime-depends},
-  ${base-hsqldb-depends},
+  ${java:Depends},
   ${java-common-depends},
   ${misc:Depends}
  Suggests: unixodbc, 
@@@ -431,6 -433,20 +431,6 @@@ Description: office productivity suite 
   MS Windows (tm) and when not using GNOME or KDE, needs to be manually
   enabled in the LibreOffice option menu.
  
 -Package: libreofficeVER-style-andromeda
 -Architecture: all
 -Depends: ${misc:Depends}, libreofficeVER-core
 -Provides: libreofficeVER-style
 -Replaces: libreoffice-common (<< 1:3.3.0~rc4-2)
 -Description: office productivity suite -- Andromeda (Classic) symbol style
 - LibreOffice is a full-featured office productivity suite that provides
 - a near drop-in replacement for Microsoft(R) Office.
 - .
 - This package contains the "Andromeda" symbol style from Sun; the "Classic"
 - symbol style used by LibreOffice before 3.0 on MS Windows (tm) and when
 - not using GNOME or KDE, needs to be manually enabled in the LibreOffice
 - option menu.
 -
  Package: libreofficeVER-gtk
  Architecture: %OOO_ARCHS%
  Depends: libreofficeVER-core (= ${binary:Version}),
@@@ -484,7 -500,7 +484,7 @@@ Description: office productivity suite 
   to E-Mail.
  
  Package: python-uno
 -Provides: ${python:Provides}
 +Provides: ${python:Provides}, libreofficeVER-script-provider-python
  XB-Python-Version: ${python:Versions}
  Section: python
  Architecture: %OOO_ARCHS%
@@@ -508,6 -524,7 +508,7 @@@ Depends: libreofficeVER-core (= ${binar
   ${shlibs:Depends},
   ${java-runtime-depends},
   ${java-common-depends},
+  ${java:Depends},
   ${misc:Depends}
  Description: office productivity suite -- Java bean
   LibreOffice is a full-featured office productivity suite that provides
@@@ -516,11 -533,31 +517,12 @@@
   This package contains the LibreOffice Office Bean for embedding
   LibreOffice in custom Java applications.
  
 -Package: libreofficeVER-filter-binfilter
 -Section: misc
 -Architecture: %OOO_BINFILTER_ARCHS%
 -Depends: libreofficeVER-core (= ${binary:Version}),
 - ${shlibs:Depends},
 - ${misc:Depends}
 -Conflicts: ure (<< 1.5.1+OOo3.1.1-15)
 -Description: office productivity suite -- legacy filters (e.g. StarOffice 5.2)
 - LibreOffice is a full-featured office productivity suite that provides
 - a near drop-in replacement for Microsoft(R) Office.
 - .
 - This package contains the "binfilters", legacy filters for
 -  - the old StarOffice 5.2 formats
 -  - StarWriter 1.0/2.0
 -  - StarWriter/DOS
 -  - *Writer* filters for
 -    + Excel
 -    + Lotus
 -
  Package: libreofficeVER-filter-mobiledev
  Section: misc
  Architecture: all
  Depends: ${java-runtime-depends},
   ${java-common-depends},
+  ${java:Depends},
   ${misc:Depends}
  Description: office productivity suite -- mobile devices filters
   LibreOffice is a full-featured office productivity suite that provides
@@@ -547,35 -584,3 +549,35 @@@ Description: office productivity suite 
   This package contains the Document Type Definition (DTD) of the
   OpenOffice.org 1.x(!) XML file format.
  
 +Package: libreoffice-script-provider-bsh
 +Architecture: all
 +Section: java
 +Depends: libreoffice-java-common, ${java-runtime-depends}, ${bsh-depends} 
 +Replaces: libreoffice-java-common (<< 1:3.4~)
 +Description: BeanShell script support provider for LibreOffice scripting framework
 + LibreOffice is a full-featured office productivity suite that provides
 + a near drop-in replacement for Microsoft(R) Office.
 + .
 + The Scripting Framework allows LibreOffice users to write and run macros
 + in multiple languages including LibreOffice Basic, Python, Java, BeanShell
 + and JavaScript. These macros can then be assigned to menus, toolbars,
 + keyboard shortcuts, events and embedded objects. 
 + .
 + This package contains the script provider to support BeanShell.
 +
 +Package: libreoffice-script-provider-js
 +Architecture: all
 +Section: web
 +Replaces: libreoffice-common (<< 1:3.4~)
 +Depends: libreoffice-java-common, ${java-runtime-depends}
 +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.
 +
diff --combined rules
index 78727f0,da5461b..203c313
--- a/rules
+++ b/rules
@@@ -24,10 -24,10 +24,10 @@@ BASE_VERSION:=$(shell echo $(SOURCE_VER
  BINARY_VERSION=$(SOURCE_VERSION)
  #BINARY_VERSION=1:2.4.0-$(shell dpkg-parsechangelog  | grep urgency \
  	| awk '{print $$2}' | sed -e s/"("// -e s/")"// | cut -d"-" -f2)
 -HELP_L10N_VIRTUAL_VERSION:=$(shell echo $(UPSTREAM_VERSION) | cut -d: -f2 | tr [~] [\\-])
 -#HELP_L10N_VIRTUAL_VERSION:=3.3
 +#HELP_L10N_VIRTUAL_VERSION:=$(shell echo $(UPSTREAM_VERSION) | cut -d: -f2 | tr [~] [\\-])
 +HELP_L10N_VIRTUAL_VERSION:=3.4
  #VER:=3
 -OOVER:=3.3
 +OOVER:=3.4
  BASIS_VERSION:=$(OOVER)
  NEXT_OOVER:=$(shell echo "$(OOVER) + 0.1" | bc)
  NEXT_BASIS_VERSION:=$(NEXT_OOVER)
@@@ -77,12 -77,12 +77,12 @@@ export QUILT_OPTIONS="-p1 -F0
  # work around tcsh bugs.debian.org/339034: tcsh: Unknown colorls variable `su'
  unexport LS_COLORS
  
 -MWS=OOO330
 -MILESTONE=m19
 +MWS=OOO340
 +MILESTONE=m1
  TAG=$(shell echo $(MWS) | tr A-Z a-z)-$(MILESTONE)
  GIT_TAG=$(MWS)_$(MILESTONE)
 -OOO_BUILD_BRANCH=libreoffice-3-3-3
 -OOO_BUILD_VERSION=3.3.3.1
 +OOO_BUILD_BRANCH=libreoffice-3-4-0
 +OOO_BUILD_VERSION=3.4.0.2
  # in ooo-build releases the same as OOO_BUILD_VERSION
  OOO_BUILD_TARBALL_VERSION=$(OOO_BUILD_VERSION)
  OOO_BUILD_TAG=libreoffice-$(OOO_BUILD_TARBALL_VERSION)
@@@ -127,7 -127,7 +127,7 @@@ ifeq (,$(filter $(ARCH), powerpc powerp
    BUILD_JARS_NATIVE=y
  endif
  BUILD_BINFILTERS=y
 -BUILD_ONLY_EN_US=n
 +BUILD_ONLY_EN_US=y
  ENABLE_JAVA=y
  ifeq "$(ENABLE_JAVA)" "y"
    JDK=openjdk
@@@ -150,6 -150,8 +150,6 @@@ LIBALTLINUXHYPH_MINVER= (>= 0.1.1-11
  LIBHYPHEN_MINVER= (>= 2.4)
  USE_AGG=n
  # SYSTEM_STUFF += agg
 -USE_STLPORT=n
 -USE_SYSTEM_STLPORT=y
  SYSTEM_STUFF += boost
  BOOST_VERSION=default
  ifeq "$(BOOST_VERSION)" "default"
@@@ -203,8 -205,16 +203,8 @@@ USE_OOO_BUILD_DESKTOPS=
  PACKAGE_SDK=y
  ifeq "$(ENABLE_JAVA)" "y"
    ifeq "$(JDK)" "openjdk"
 -    ifneq "$(ARCH)" "sparc"
 -      RUN_SMOKETEST=y
 -    else
 -      RUN_SMOKETEST=n
 -    endif
 -    ifneq (,$(findstring $(ARCH),$(OOO_STLPORT_ARCHS)))
 -      RUN_SUBSEQUENT_TESTS=y
 -    else
 -      RUN_SUBSEQUENT_TESTS=n
 -    endif
 +    RUN_SMOKETEST=n
 +    RUN_SUBSEQUENT_TESTS=y
    else
      ifneq ($(ON_BUILDD),y)
        RUN_SMOKETEST=n
@@@ -270,7 -280,7 +270,7 @@@ SYSTEM_STUFF += cppuni
  # otherwise
  INTERNAL_STDLIBS=n
  DEFAULT_IMAGE=galaxy
 -IMAGES:=$(DEFAULT_IMAGE) crystal hicontrast tango oxygen classic
 +IMAGES:=$(DEFAULT_IMAGE) crystal hicontrast tango oxygen
  ENABLE_MYSQLNATIVE=y
  # cannot be disabled, unless you have a internal MySQL somewhere :-)
  SYSTEM_STUFF += mysql mysql-cppconn
@@@ -298,8 -308,7 +298,8 @@@ CONFIGURE_FLAGS= --disable-post-install
  		--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
  		--with-additional-sections="$(ADDITIONAL_SECTIONS)" \
  		--enable-broffice \
 -		--with-extension-integration
 +		--with-extension-integration \
 +		--disable-online-update
  
  ifeq "$(USE_SOURCE_TARBALLS)" "y"
    CONFIGURE_FLAGS += --without-git
@@@ -330,7 -339,7 +330,7 @@@ PLATFORMID := $(shell grep PLATFORMID d
  # ABI-compatability
  OOO_STLPORT_ARCHS= i386
  ifeq "$(ARCH)" "i386"
 -	USE_STLPORT=y
 +	LINK_TO_STLPORT=y
  endif
  
  ifeq "$(ENABLE_OPENGL)" "y"
@@@ -428,7 -437,7 +428,7 @@@ endi
  # Debian Squeeze
  ifeq "$(SQUEEZE_BACKPORT)" "y"
    BUGS=mailto:debian-backports@lists.debian.org
 -  SYSTEM_STUFF := $(filter-out libwpd libwpg libwps mythes libtextcat, $(SYSTEM_STUFF))
 +  SYSTEM_STUFF := $(filter-out libwpd libwpg libwps mythes mdds libtextcat graphite, $(SYSTEM_STUFF))
    JUNIT_MIN_VER=
  endif
  
@@@ -487,19 -496,22 +487,19 @@@ ifneq "$(PACKAGE_SDK)" "y
  endif
  
  ifeq "$(ENABLE_MINIMIZER)" "y"
 -	CONFIGURE_FLAGS += --enable-minimizer
 +	CONFIGURE_FLAGS += --enable-ext-presenter-minimizer
  endif
  ifeq "$(ENABLE_PRESENTER_CONSOLE)" "y"
 -	CONFIGURE_FLAGS += --enable-presenter-console
 +	CONFIGURE_FLAGS += --enable-ext-presenter-console
  endif
  ifeq "$(ENABLE_PDFIMPORT)" "y"
 -	CONFIGURE_FLAGS += --enable-pdfimport
 +	CONFIGURE_FLAGS += --enable-ext-pdfimport
  	BUILD_DEPS += , libpoppler-dev (>= 0.8.0)
  endif
  
  ifeq "$(ENABLE_GRAPHITE)" "y"
    ifneq (,$(filter graphite, $(SYSTEM_STUFF)))
 -	BUILD_DEPS += , libgraphite-dev
 -    ifeq "$(USE_STLPORT)" "y"
 -	ADDITIONAL_SECTIONS += SystemBitsWithSTLport
 -    endif
 +	BUILD_DEPS += , libgraphite2-dev (>= 0.9.3)
    endif
  else
  	CONFIGURE_FLAGS += --disable-graphite
@@@ -534,6 -546,7 +534,6 @@@ ifneq "$(BUILD_DBG_PACKAGE)" "y
  else
    # -g gives a far too big deb (>400M, ca. 1GB I-S)
    ifeq (debug,$(findstring debug,$(DEB_BUILD_OPTIONS)))
 -	# ooo-build defaults to --enable-symbols (without SMALL)
  	SMALL_SYMBOLS = n
    else
  	SMALL_SYMBOLS = y
@@@ -548,8 -561,6 +548,8 @@@ endi
  # Small symbols?
  ifeq "$(SMALL_SYMBOLS)" "y"
  	CONFIGURE_FLAGS += --enable-symbols=SMALL
 +else
 +	CONFIGURE_FLAGS += --enable-symbols
  endif
  
  ifeq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@@ -600,6 -611,9 +600,6 @@@ ifeq "$(RUN_TESTTOOL)" "y
  endif
  ifneq (,$(filter cppunit, $(SYSTEM_STUFF)))
  	BUILD_DEPS += , libcppunit-dev (>= 1.12)
 -  ifeq "$(USE_STLPORT)" "y"
 -	ADDITIONAL_SECTIONS += SystemBitsWithSTLport
 -  endif
  endif
  ifeq "$(RUN_SUBSEQUENT_TESTS)" "y"
  	BUILD_DEPS += , tcsh
@@@ -680,6 -694,7 +680,6 @@@ ifeq "$(ENABLE_JAVA)" "y
    endif
          TEST_JAVA_HOME=$(JAVA_HOME)
    ifeq "$(BUILD_JARS_NATIVE)" "y"
 -	CONFIGURE_FLAGS += --enable-gcjaot
  	BUILD_DEPS += , gcj-native-helper$(OOO_NO_GCJ_ARCHS), libgcj-common (>= 1:4.4.1)$(OOO_NO_GCJ_ARCHS)
    else
      ifneq "$(OOO_GCJ_JDK_ARCHS)" ""
@@@ -719,20 -734,16 +719,19 @@@ export JAVA_HOM
    ifneq (,$(filter saxon, $(SYSTEM_STUFF)))
  	CONFIGURE_FLAGS += --with-system-saxon --with-saxon-jar=/usr/share/java/saxonb.jar
  	BUILD_DEPS += , libsaxonb-java$(OOO_NO_JAVA_ARCHS)
- 	JAVA_COMMON_JAVA_DEPENDS+= , libsaxonb-java
    endif
    ifeq "$(PACKAGE_SDK)" "y"
      ifeq "$(DIST)" "Debian"
  	BUILD_DEPS += , gcc-mingw32$(OOO_NO_JAVA_ARCHS), mingw32-runtime$(OOO_NO_JAVA_ARCHS)
  	CONFIGURE_FLAGS += --enable-build-unowinreg
 -	CONFIGURE_FLAGS += --with-mingwin=i586-mingw32msvc-g++
 +	CONFIGURE_FLAGS += --with-mingw=i586-mingw32msvc-g++
 +	# this normally is done in configure with sed -e s/[cg]++/strip/ but that somehow
 +	# doesn't work. Workaround. FIXME.
 +export MINGWSTRIP = i586-mingw32msvc-strip
      endif
    endif
    ifeq "$(ENABLE_MEDIAWIKI)" "y"
 -	CONFIGURE_FLAGS += --enable-wiki-publisher
 +	CONFIGURE_FLAGS += --enable-ext-wiki-publisher
      ifneq (,$(filter apache-commons, $(SYSTEM_STUFF)))
  	MEDIAWIKI_BUILD_DEPS += , libcommons-codec-java$(OOO_NO_JAVA_ARCHS), libcommons-httpclient-java$(OOO_NO_JAVA_ARCHS), libcommons-lang-java$(OOO_NO_JAVA_ARCHS), libcommons-logging-java$(OOO_NO_JAVA_ARCHS)
  	MEDIAWIKI_JAR_DEPENDS := , libcommons-codec-java, libcommons-httpclient-java, libcommons-lang-java, libcommons-logging-java
@@@ -757,13 -768,13 +756,13 @@@
  	CONFIGURE_FLAGS += --with-system-servlet-api --with-servlet-api-jar=$(shell dpkg -L `dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }'` | grep servlet-api.*\.jar$ | head -n 1)
  	BUILD_DEPS += , $(shell dpkg -s libcommons-logging-java | grep Suggests | cut -d"," -f1 | sed -e s/^\ // | awk '{ print $$2 }')
      endif
 -	CONFIGURE_FLAGS += --enable-report-builder
 +	CONFIGURE_FLAGS += --enable-ext-report-builder
    endif
  	OOO_OFFICEBEAN_DEP = libreoffice$(VER)-officebean
  	BUILD_DEPS += , javahelper
  else
  	CONFIGURE_FLAGS += --without-java
 -	DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-officebean -Nlibreoffice$(VER)-java-common -Nlibreoffice$(VER)-filter-mobiledev -Nlibreoffice$(VER)-gcj
 +	DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-officebean -Nlibreoffice$(VER)-java-common -Nlibreoffice$(VER)-filter-mobiledev -Nlibreoffice$(VER)-gcj -Nlibreoffice$(VER)-script-provider-bsh -Nlibreoffice$(VER)-script-provider-js
  endif
  
  ifneq "$(MOZILLA)" ""
@@@ -843,8 -854,19 +842,8 @@@ ifeq "$(USE_AGG)" "y
  endif
  
  ifneq "$(OOO_STLPORT_ARCHS)" ""
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
  	LIBSTLPORT_MINVER= (>= 4.6.2-3)
  	BUILD_DEPS += , libstlport4.6-dev $(LIBSTLPORT_MINVER) [$(OOO_STLPORT_ARCHS)]
 -	DEV_STL_DEPENDS=, libstlport4.6-dev $(LIBSTLPORT_MINVER) [$(OOO_STLPORT_ARCHS)]
 -   endif
 -endif
 -ifneq "$(USE_STLPORT)" "y"
 -	CONFIGURE_FLAGS += --without-stlport
 -else
 -        CONFIGURE_FLAGS += --with-stlport
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 -	CONFIGURE_FLAGS+= --with-stlport=$(CURDIR)/stlport
 -  endif
  endif
  
  ifneq (,$(filter boost, $(SYSTEM_STUFF)))
@@@ -866,7 -888,7 +865,7 @@@
  endif
  
  ifneq (,$(filter mdds, $(SYSTEM_STUFF)))
 -	BUILD_DEPS += , libmdds-dev
 +	BUILD_DEPS += , libmdds-dev (>= 0.5.0)
  endif
  
  ifneq (,$(filter vigra, $(SYSTEM_STUFF)))
@@@ -936,7 -958,7 +935,7 @@@ els
  endif
  
  ifeq "$(ENABLE_MYSQLNATIVE)" "y"
 -	CONFIGURE_FLAGS += --enable-mysql-connector
 +	CONFIGURE_FLAGS += --enable-ext-mysql-connector
    ifneq (,$(filter mysql, $(SYSTEM_STUFF)))
  	BUILD_DEPS += , libmysqlclient-dev
    endif
@@@ -975,13 -997,12 +974,13 @@@ endi
  ifeq "$(BUILD_BINFILTERS)" "y"
  	CONFIGURE_FLAGS+= --enable-binfilter
  	OOO_BINFILTER_DEP = libreoffice$(VER)-filter-binfilter
 -else
 -	DEBHELPER_OPTIONS+= -Nlibreoffice$(VER)-filter-binfilter
  endif
  
  ifneq "$(BUILD_PYUNO)" "y"
  	DEBHELPER_OPTIONS+= -Npython-uno
 +	CONFIGURE_FLAGS += --disable-python
 +else
 +        CONFIGURE_FLAGS += --enable-ext-scripting-python
  endif
  
  ifeq "$(ENABLE_JAVA)" "y"
@@@ -999,11 -1020,9 +998,11 @@@
    endif
    ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
  	BUILD_DEPS += , bsh (>= 2.0b4)$(OOO_NO_JAVA_ARCHS)
 -	COMMON_BSH_DEPENDS = bsh (>= 2.0b4)
 +	BSH_DEPENDS = bsh (>= 2.0b4)
  	JAVA_GCJ_DEPENDS += , bsh-gcj
 +	CONFIGURE_FLAGS += --enable-ext-scripting-beanshell
    endif
 +	CONFIGURE_FLAGS += --enable-ext-scripting-javascript	
  endif
  
  ifneq (,$(filter lpsolve, $(SYSTEM_STUFF)))
@@@ -1117,8 -1136,7 +1116,8 @@@ els
      endif
    endif
  endif
 -	CONFIGURE_FLAGS += --with-num-cpus=$(NUM_CPUS)
 +# disabled for now. needs fixed GNU make (#622644)
 +#	CONFIGURE_FLAGS += --with-num-cpus=$(NUM_CPUS)
  	# breaks. At least with 2
  #	CONFIGURE_FLAGS += --with-max-jobs=$(NUM_CPUS)
  
@@@ -1456,10 -1474,6 +1455,10 @@@ ifeq "$(ENABLE_EVO2)" "y
  	sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
  		>> debian/control < debian/control.evolution.in
  endif
 +ifeq "$(BUILD_BINFILTERS)" "y"
 +	sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
 +		>> debian/control < debian/control.binfilter.in
 +endif
  ifeq "$(ENABLE_KDEAB)" "y"
  	sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
  		>> debian/control < debian/control.kab.in
@@@ -1502,8 -1516,10 +1501,8 @@@ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF
  	perl -pi -e "s/(Build-Conflicts: .*)/\1, libhsqldb-java (>= $(HSQLDB_TOONEWVER)~)/" debian/control
  endif
  
 -ifneq "$(USE_SYSTEM_STLPORT)" "y"
  	# at least here it crashes the build in some funny way.
  	perl -pi -e "s/(Build-Conflicts: .*)/\1, libstlport4.6-dev/" debian/control
 -endif
  
  ifeq (4.4,$(SYSTEM_GCC_VERSION))
  	perl -pi -e 's/flex \|/flex (>= 2.5.25-7) |/' debian/control
@@@ -1598,6 -1614,17 +1597,6 @@@ ifneq ($(GCC_VERSION),
    endif
  endif
  
 -ifeq "$(USE_STLPORT)" "y"
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 -	# stlport home
 -	if [ ! -d stlport ]; then \
 -		mkdir -p stlport; \
 -		ln -sf /usr/include/stlport stlport/stlport; \
 -		ln -sf /usr/lib stlport/lib; \
 -	fi
 -  endif
 -endif
 -
  ifneq "$(BUILD_ONLY_EN_US)" "y"
    ifneq "$(LANGPACKISOS)" "en-US"
  	# copy and extract extra GSIs 
@@@ -1674,9 -1701,9 +1673,9 @@@ ifeq "$(BUILD_KDE)" "n
  endif
  
  ifeq ($(ON_BUILDD),y)
 -	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE)
 +	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) build
  else
 -	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 VERBOSE=true ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE)
 +	cd $(OOO_BUILD_TREE) ; PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 VERBOSE=true ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) build
  endif
  
  	# apparently setting this here globally doesn't work, so hack around.
@@@ -1763,18 -1790,10 +1762,18 @@@ $(STAMP_DIR)/install: $(STAMP_DIR)/buil
  	# somehow in the installer LD_LIBRARY_PATH doesn't contain
  	# /usr/lib/libfakeroot anymore, causiong loads of ERROR:'s from
  	# ld.so. Set LD_PRELOAD to the full path here manually.
 -	cd $(OOO_BUILD_TREE)/; PATH=$(BUILD_PATH) \
 +	cd $(SOURCE_TREE)/; \
 +		 . $(CURDIR)/$(SOURCE_TREE)/*Env*.sh; \
 +		 PATH=$(BUILD_PATH) \
  		 LD_LIBRARY_PATH="/usr/lib/libfakeroot:$(BUILD_LD_LIBRARY_PATH)" \
  		 LD_PRELOAD=/usr/lib/libfakeroot/libfakeroot-$(shell update-alternatives --query fakeroot | grep Value: | cut -d"-" -f2).so \
 -		 DESTDIR=$(CURDIR)/debian/tmp $(MAKE) install
 +		 DESTDIR=$(CURDIR)/debian/tmp \
 +		 solenv/bin/ooinstall /$(OOBRANDDIR)
 +	# FIXME: Move here so that we don't rely on libreoffice-build here.
 +	# Would also obsolete disable-ooinstall-in-package-ooo.diff
 +	cd $(OOO_BUILD_TREE)/bin; \
 +		export OODESTDIR=$(CURDIR)/debian/tmp; \
 +		./package-ooo
  
  	# prepare install/dir files for dh
  	for i in `cd $(CURDIR)/debian/tmp/pkg; ls -1 | xargs`; do \
@@@ -1857,6 -1876,9 +1856,6 @@@ ifeq (sk,$(findstring sk,$(HELPISOS))
  		$(PKGDIR)-help-sk/$(shell echo $(OOBASISDIR) | sed -e s/lib/share/)/help/sk
  endif
  
 -	# add registered-components dir
 -	mkdir -p $(PKGDIR)-core/$(OOBASISDIR)/registered-components
 -
  ifeq "$(ENABLE_JAVA)" "y"
  	# move officebean.jar into -officebean (They will be moved out of -core
  	# in the install-arch target). Do the /usr/share move here already
@@@ -1916,7 -1938,7 +1915,7 @@@ endi
  	rm -f $(PKGDIR)-common/$(OODIR)/program/.testtoolrc
  
  ifeq "$(BUILD_GTK)" "y"
 -	# Gtk quickstarter for the eggtrtray stuff, so to -gtk (via -gnome)
 +	# Gtk quickstarter, so to -gtk (via -gnome)
  	mkdir -p -m755 $(PKGDIR)-gnome/$(OOBRANDDIR)/share/xdg
  	mv $(PKGDIR)-common/$(OOBRANDDIR)/share/xdg/qstart.desktop \
  		$(PKGDIR)-gnome/$(OOBRANDDIR)/share/xdg
@@@ -1926,17 -1948,17 +1925,17 @@@
  		$(PKGDIR)-gnome/$(OODIR)/share/registry
  endif
  
 -ifeq "$(PACKAGE_SDK)" "y"
 -	# move gengal stuff into -dev
 -	mkdir -p $(PKGDIR)-dev/$(OODIR)/program
 -	mv $(PKGDIR)-core/$(OODIR)/program/gengal* \
 -		$(PKGDIR)-dev/$(OODIR)/program
 -	mv $(PKGDIR)-common/$(OODIR)/program/gengal  \
 -		$(PKGDIR)-dev/$(OODIR)/program
 -else
 -	rm -f $(PKGDIR)-core/$(OODIR)/program/gengal*
 -	rm -f $(PKGDIR)-common/$(OODIR)/program/gengal
 -endif
 +#ifeq "$(PACKAGE_SDK)" "y"
 +#	# move gengal stuff into -dev
 +#	mkdir -p $(PKGDIR)-dev/$(OODIR)/program
 +#	mv $(PKGDIR)-core/$(OODIR)/program/gengal* \
 +#		$(PKGDIR)-dev/$(OODIR)/program
 +#	mv $(PKGDIR)-common/$(OODIR)/program/gengal  \
 +#		$(PKGDIR)-dev/$(OODIR)/program
 +#else
 +#	rm -f $(PKGDIR)-core/$(OODIR)/program/gengal*
 +#	rm -f $(PKGDIR)-common/$(OODIR)/program/gengal
 +#endif
  
  ifeq "$(PACKAGE_SDK)" "y"
  	# move SDK documentation into own package
@@@ -1992,8 -2014,7 +1991,8 @@@ $(STAMP_DIR)/maintscripts: $(wildcard d
  	      echo "" >> $$MAINTSCRIPT; \
  	      if egrep -q "(add|remove|validate|sync)_extension" $$MAINTSCRIPT.in; then \
  		 cat debian/shell-lib-extensions.sh >> $$MAINTSCRIPT; \
 -	      elif grep -q services_rdb $$MAINTSCRIPT.in; then \
 +	      fi; \
 +	      if grep -q services_rdb $$MAINTSCRIPT.in; then \
  		 cat debian/shell-lib-components.sh >> $$MAINTSCRIPT; \
  	      fi; \
  	      sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >> $$MAINTSCRIPT; \
@@@ -2140,6 -2161,32 +2139,6 @@@ $(STAMP_DIR)/install-arch: $(STAMP_DIR)
  	dh_testroot
  	umask 022
  
 -ifeq "$(ENABLE_EVO2)" "y"
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libevoab$(LIBSUFFIX).so'
 -endif
 -ifeq "$(ENABLE_KDEAB)" "y"
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libkab1.so'
 -endif
 -ifeq "$(BUILD_BINFILTERS)" "y"
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libbf_migratefilter$(LIBSUFFIX).so'
 -	debian/ure/$(OOBRANDDIR)/ure/bin/regcomp -revoke \
 -		-r $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-br $(PKGDIR)-core/$(OODIR)/program/services.rdb \
 -		-c 'vnd.sun.star.expand:$$OOO_BASE_DIR/program/libbindet$(LIBSUFFIX).so'
 -endif
 -
 -	# the regcomps above fail after done once, force install again
 -	rm -f $(STAMP_DIR)/install
 -
  	# move the URE to /usr/lib/ure
  	mv debian/ure/$(OOBRANDDIR)/ure debian/ure/usr/lib
  	rmdir debian/ure/$(OOBRANDDIR)
@@@ -2210,9 -2257,6 +2209,9 @@@ ifeq "$(ENABLE_KDEAB)" "y
  	for f in libkab*so; do \
  	  mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-kab/$(OODIR)/program || exit 1 ;\
  	done
 +        mkdir -p $(PKGDIR)-kab/$(OODIR)/registered-components
 +        install -m644 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/xml/kab1.component \
 +                $(PKGDIR)-kab/$(OODIR)/registered-components/kab1.component
  endif
  
  	# move the GNOME stuff which are *not* in gid_Module_Optional_Gnome
@@@ -2223,7 -2267,9 +2222,7 @@@ ifeq "$(BUILD_GTK)" "y
  	for f in fps_gnome.uno.so libvclplug_gtk*.so; do \
  	  mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-gnome/$(OODIR)/program || exit 1;\
  	done
 -	for f in libeggtray* libqstart_gtk*; do \
 -	  mv $(PKGDIR)-core/$(OODIR)/program/$$f $(PKGDIR)-gnome/$(OODIR)/program || exit 1;\
 -	done
 +	mv $(PKGDIR)-core/$(OODIR)/program/libqstart_gtk* $(PKGDIR)-gnome/$(OODIR)/program || exit 1
  endif
  
  	# split out gtk stuff
@@@ -2251,17 -2297,6 +2250,17 @@@ endi
  ifeq "$(ENABLE_EVO2)" "y"
  	mkdir -p -m755 $(PKGDIR)-evolution/$(OODIR)/program
  	mv $(PKGDIR)-core/$(OODIR)/program/libevoab*.so $(PKGDIR)-evolution/$(OODIR)/program
 +	mkdir -p $(PKGDIR)-evolution/$(OODIR)/registered-components
 +	install -m644 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/xml/evoab.component \
 +		$(PKGDIR)-evolution/$(OODIR)/registered-components/evoab.component
 +endif
 +
 +ifeq "$(BUILD_BINFILTERS)" "y"
 +	mkdir -p $(PKGDIR)-filter-binfilter/$(OODIR)/registered-components
 +	for i in bf_migratefilter bindet; do \
 +		install -m644 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/xml/$$i.component \
 +                $(PKGDIR)-filter-binfilter/$(OODIR)/registered-components/$$i.component; \
 +	done
  endif
  
  ifeq "$(PACKAGE_NPSOPLUGIN)" "y"
@@@ -2317,10 -2352,10 +2316,10 @@@ endi
  		$(PKGDIR)-base/$(OODIR)/program; \
  
  	# linked (amongst others) to libsc*
 -	mv $(PKGDIR)-core/$(OODIR)/program/libvbaobj*uno.so \
 +	mv $(PKGDIR)-core/$(OODIR)/program/vbaobj*uno.so \
  			$(PKGDIR)-calc/$(OODIR)/program
  	# linked (amongst others) to libsw*
 -	mv $(PKGDIR)-core/$(OODIR)/program/libvbaswobj*uno.so \
 +	mv $(PKGDIR)-core/$(OODIR)/program/vbaswobj*uno.so \
  			$(PKGDIR)-writer/$(OODIR)/program
  
  ifeq "$(ENABLE_JAVA)" "y"
@@@ -2432,9 -2467,6 +2431,9 @@@ ifeq "$(BUILD_PYUNO)" "y
  	  echo 'PYTHONPATH=$$PYTHONHOME $$PYTHONHOME/site-packages $$PYTHONHOME/lib-dynload $$PYTHONHOME/lib-tk $$ORIGIN' \
  	) > debian/python-uno/$(OODIR)/program/pythonloader.unorc
  	chmod u-w debian/python-uno/$(OODIR)/program/pythonloader.unorc
 +	mkdir -p debian/python-uno/$(OOBRANDDIR)/share/extensions
 +	mv debian/tmp/$(OOBRANDDIR)/share/extensions/script-provider-for-python \
 +		debian/python-uno/$(OOBRANDDIR)/share/extensions
  
  	mkdir -p debian/python-uno/usr/share/doc/python-uno
  	cp -r $(SOURCE_TREE)/pyuno/demo \
@@@ -2451,6 -2483,8 +2450,6 @@@ ifeq "$(ENABLE_MONO)" "y
  	mkdir -p -m755 debian/cli-uno-bridge/$(OOUREDIR)/lib
  	mv $(PKGDIR)-core/$(OOBRANDDIR)/ure/lib/cli_uno_bridge.dll \
  		debian/cli-uno-bridge/$(OOUREDIR)/lib
 -	mv $(PKGDIR)-core/$(OOBRANDDIR)/ure/lib/cli_uno_bridge.dll.config \
 -		debian/cli-uno-bridge/$(OOUREDIR)/lib
  	mv $(PKGDIR)-core/$(OOBRANDDIR)/ure/lib/mono_loader*.uno.so \
  		debian/cli-uno-bridge/$(OOUREDIR)/lib
  
@@@ -2467,6 -2501,12 +2466,6 @@@ endi
  	rm -rf $(PKGDIR)-core/$(OOBRANDDIR)/ure
  
  ifeq "$(PACKAGE_SDK)" "y"
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 -	# when we use external stlport, we just can and should do a symlink
 -	# for the SDK includes
 -	cd $(PKGDIR)-dev/usr/include/$(OODIRNAME) && \
 -		rm -rf stl && ln -s /usr/include/stlport stl
 -  endif
    ifeq "$(ENABLE_JAVA)" "y"
  	# move SDK Java stuff into /usr/share/java
  	rm -f $(PKGDIR)-dev/$(OOSDKDIR)/classes
@@@ -2509,7 -2549,6 +2508,7 @@@
  		rm docs
  
  	# install gsicheck into -dev
 +	mkdir -p $(PKGDIR)-dev/$(OODIR)/program
  	install -m755 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/*Env*.sh; echo $$UPD/$$OUTPATH$$PROEXT)/bin/gsicheck \
  		$(PKGDIR)-dev/$(OODIR)/program/gsicheck.bin
  	( \
@@@ -2537,10 -2576,12 +2536,10 @@@ ifeq "$(INTERNAL_STDLIBS)" "y
  	echo "libstdc++	$$LIBSTDCPP_SOVER" > debian/shlibs.override.stdlibs; \
  	echo "libgcc_s	$$LIBGCC_SOVER" >> debian/shlibs.override.stdlibs
  endif
 -ifeq "$(USE_STLPORT)" "y"
 -  ifeq "$(USE_SYSTEM_STLPORT)" "y"
 +ifeq "$(LINK_TO_STLPORT)" "y"
  	rm -f debian/ure/$(OOUREDIR)/lib/libstlport*
  	ln -s `readlink -f /usr/lib/libstlport_gcc.so` \
  		debian/ure/$(OOUREDIR)/lib/libstlport_gcc.so
 -  endif
  endif
  
  ifeq "$(ENABLE_JAVA)" "y"
@@@ -2640,12 -2681,10 +2639,12 @@@ ifeq "$(ENABLE_PDFIMPORT)" "y
  	rm -f $(PKGDIR)-pdfimport/$(OOBRANDDIR)/share/extensions/pdfimport/registration/LICENSE
  endif
  
 -	# move services.rdb to /var/lib/openoffice
 -	mkdir -p $(PKGDIR)-core/var/lib/$(OODIRNAME)/basis$(OOVER)/program
 +	# move "default" services.rdb to a hidden file
  	mv $(PKGDIR)-core/usr/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb \
 -		$(PKGDIR)-core/var/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb
 +		$(PKGDIR)-core/usr/lib/$(OODIRNAME)/basis$(OOVER)/program/.services.rdb
 +	# create dir for services.rdb which is read. like when we merged
 + 	# additional/optional components
 +	mkdir -p $(PKGDIR)-core/var/lib/$(OODIRNAME)/basis$(OOVER)/program
  	ln -s /var/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb \
  		$(PKGDIR)-core/usr/lib/$(OODIRNAME)/basis$(OOVER)/program/services.rdb
  
@@@ -2867,10 -2906,15 +2866,10 @@@ endi
  	  for x in *.png; do convert $$x `basename $$x .png`.xpm; done
  
  ifeq "$(ENABLE_JAVA)" "y"
 -	# symlink jars we use externally
    ifneq (,$(filter saxon, $(SYSTEM_STUFF)))
  	ln -sf /usr/share/java/saxonb.jar \
  		$(PKGDIR)-java-common/$(OODIR)/program/classes/saxon9.jar
    endif
 -  ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
 -	ln -sf /usr/share/java/bsh.jar \
 -	        $(PKGDIR)-java-common/$(OODIR)/program/classes/bsh.jar
 -  endif
  endif
  	# remove extra license files
  	rm -rf $(PKGDIR)-common/$(OOBRANDDIR)/licenses
@@@ -2955,6 -2999,7 +2954,6 @@@ endi
  	for i in $(IMAGES); do \
  		z=images_$$i.zip; p=$$i; \
  		case "$$i" in $(DEFAULT_IMAGE)) z=images.zip; esac; \
 -		case "$$i" in classic) p=andromeda; esac; \
  		mkdir -p $(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config; \
  		mv $(PKGDIR)-common/$(OODIR)/share/config/$$z \
  			$(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/; \
@@@ -2997,28 -3042,6 +2996,28 @@@ ifeq "$(PACKAGE_SDK)" "y
  		ln -s /$(OOSDKDIR)/index.html index.html
  endif
  
 +ifeq "$(ENABLE_JAVA)" "y"
 +	rm -rf $(PKGDIR)-script-provider-bsh
 +	mkdir -p $(PKGDIR)-script-provider-bsh/$(OOBRANDDIR)/share/extensions
 +	mv debian/tmp/$(OOBRANDDIR)/share/extensions/script-provider-for-beanshell \
 +	$(PKGDIR)-script-provider-bsh/$(OOBRANDDIR)/share/extensions
 +  ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
 +	ln -sf /usr/share/java/bsh.jar \
 +	        $(PKGDIR)-script-provider-bsh/$(OOBRANDDIR)/share/extensions/script-provider-for-beanshell/bsh.jar
 +  endif
 +	mkdir -p $(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
 +	mv $(PKGDIR)-common/$(OODIR)/share/Scripts/beanshell \
 +		$(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
 +
 +	rm -rf $(PKGDIR)-script-provider-js
 +	mkdir -p $(PKGDIR)-script-provider-js/$(OOBRANDDIR)/share/extensions
 +	mv debian/tmp/$(OOBRANDDIR)/share/extensions/script-provider-for-javascript \
 +		$(PKGDIR)-script-provider-js/$(OOBRANDDIR)/share/extensions
 +	mkdir -p $(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
 +	mv $(PKGDIR)-common/$(OODIR)/share/Scripts/javascript \
 +		$(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
 +endif
 +
  ifeq "$(ENABLE_REPORTDESIGN)" "y"
    ifeq "$(ENABLE_JAVA)" "y"
  	rm -rf $(PKGDIR)-report-builder
@@@ -3085,13 -3108,16 +3084,13 @@@ ifeq "$(USE_OOO_BUILD_DESKTOPS)" "n
  	    -e 's/  / /' \
  	    < $$dirname/extension.desktop \
  	    > $(PKGDIR)-common/usr/share/mimelnk/application/vnd.openofficeorg.extension.desktop || exit 1
  	perl -pi -e "s/Icon=openofficeorg.*-extension/Icon=application-vnd.openofficeorg.extension.png/" $(PKGDIR)-common/usr/share/mimelnk/application/vnd.openofficeorg.extension.desktop
  endif
  
 -	# fix permission
 -	chmod 644 $(PKGDIR)-common/$(OODIR)/program/gengalrc
 +#ifeq "$(PACKAGE_SDK)" "y"
 +#	# fix permission
 +#	chmod 644 $(PKGDIR)-common/$(OODIR)/program/gengalrc
 +#endif
  
  	# install extension shell lib for use by extensions not from here
  	install -D -m644 debian/shell-lib-extensions.sh \
@@@ -3198,8 -3224,8 +3197,8 @@@ ifeq "$(ENABLE_MONO)" "y
  	dh_installcligac -s
  endif
  	dh_compress -s -X.py -X.mk -X.sxd
 -	dh_makeshlibs -puno-libs3 -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -c0 -v$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
 -	dh_makeshlibs -n -pure -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -v$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
 +	dh_makeshlibs -puno-libs3 -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -c0 -v`echo $(BINARY_VERSION) | cut -d: -f2`
 +	dh_makeshlibs -n -pure -V"ure (>= $(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }'))" -- -v`echo $(BINARY_VERSION) | cut -d: -f2`
  	# ugly hack, but why does that happen? It's not in .symbols...
  	TMP=`mktemp -q`; \
  	grep -v PRIVATE debian/uno-libs3/DEBIAN/symbols > $$TMP && \
@@@ -3241,13 -3267,15 +3240,18 @@@ ifeq "$(ENABLE_JAVA)" "y
  			-ldebian/uno-libs3/$(OOUREDIR)/lib:debian/ure/$(OOUREDIR)/lib:$(PKGDIR)-core/$(OODIR)/program:$(GCJ_JAWT_DIR) \
  			$(SHLIBS_OVERRIDE)
  endif
 +ifeq "$(LINK_TO_STLPORT)" "y"
 +        perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/libstlport4.6*.shlibs | awk '{ print $$3,$$4,$$5 }')/' debian/ure.substvars
 +endif
  ifeq "$(ENABLE_MONO)" "y"
  	dh_makeclilibs -s
  	dh_clideps -s
  endif
+ ifeq "$(ENABLE_JAVA)" "y"
+ 	jh_depends -s -Xlibreoffice$(VER)-gcj
+ 	perl -pi -e "s/libhsqldb-java/libhsqldb-java $(HSQLDB_MINVER), libhsqldb-java (<< $(HSQLDB_TOONEWVER)~)/" \,
+ 		debian/libreoffice$(VER)-base.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
@@@ -3257,9 -3285,10 +3261,9 @@@
  		-Nlibreoffice$(VER)-pdfimport \
  		-Nlibreoffice$(VER)-sdbc-postgresql \
  		-Nlibreoffice$(VER)-mysql-connector -- \
 -		-V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`" \
 +		-V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')" \
  		-V'base-version=$(BASE_VERSION)' \
  		-V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
 -		-V'dev-stl-depends=$(DEV_STL_DEPENDS)' \
  		-V'base-hsqldb-depends=$(BASE_HSQLDB_DEPENDS)' \
  		-V'java-common-depends=$(JAVA_COMMON_DEPENDS) $(JAVA_COMMON_DEPENDS_VERSION)' \
  		-V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
@@@ -3305,9 -3334,9 +3309,9 @@@ ifeq "$(PACKAGE_BASE)" "y
  endif
  endif
  	dh_gencontrol -pure -pure-dbg -puno-libs3 -puno-libs3-dbg -- \
 -		-V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`" \
 -		-v$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
 -	dh_md5sums -s -X$(shell echo $(OOBASISDIR) | sed -e s/usr/var/)/program/services.rdb
 +		-V"ure:Version=`echo $(BINARY_VERSION) | cut -d: -f2`" \
 +		-v"`echo $(BINARY_VERSION) | cut -d: -f2`"
 +	dh_md5sums -s
  	dh_builddeb -s $(DEBHELPER_OPTIONS) $(BUILDDEB_OPTIONS)
  
  	touch $@
@@@ -3391,6 -3420,11 +3395,11 @@@ ifeq "$(ENABLE_MONO)" "y
  	dh_makeclilibs -i
  	dh_clideps -i
  endif
+ ifeq "$(ENABLE_JAVA)" "y"
+ 	# the help recommends lucene. this is enough. no need for a hard depend in
+         # -common, IMHO
+ 	jh_depends -i -Xbsh -Xlibreoffice$(VER)-gcj -Xliblucene2-java
+ endif
  	dh_gencontrol -i $(DEBHELPER_OPTIONS) \
  		-Nlibreoffice$(VER)-report-builder \
  		-Nlibreoffice$(VER)-wiki-publisher \
@@@ -3405,9 -3439,8 +3414,8 @@@
  		-V'basis-version=$(BASIS_VERSION)' \
  		-V'next-basis-version=$(NEXT_BASIS_VERSION)' \
  		-V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
 -		-V'common-bsh-depends=$(COMMON_BSH_DEPENDS)' \
 +		-V'bsh-depends=$(BSH_DEPENDS)' \
  		-V'java-common-depends=$(JAVA_COMMON_DEPENDS)' \
- 		-V'java-common-java-depends=$(JAVA_COMMON_JAVA_DEPENDS)' \
  		-V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
  		-V'lucene-depends=$(LUCENE_DEPENDS)' \
  		-V'lucene-conflicts=$(LUCENE_CONFLICTS)' \

-- 
LibreOffice packaging repository


Reply to: