[SCM] LibreOffice packaging repository branch, debian-experimental-4.0, updated. libreoffice_3.6.4_rc1-1-149-g7769f6b
The following commit has been merged in the debian-experimental-4.0 branch:
commit 7769f6b4bc0f00769136d51b784c33b7025f8fe9
Merge: b9dcf967f898a626915f29dea51a77b0da00b24b ee414d69da2a038fd2eae8d250a5d97fecfa4405
Author: Rene Engelhard <rene@debian.org>
Date: Mon Nov 26 20:15:02 2012 +0100
Merge remote-tracking branch 'origin/debian-experimental-3.6' into debian-experimental-4.0
diff --combined changelog
index 6247efa,4562527..9c8a687
--- a/changelog
+++ b/changelog
@@@ -1,34 -1,3 +1,34 @@@
+libreoffice (1:4.0.0~alpha1+git20121126-1) UNRELEASED; urgency=low
+
+ * new upstream snapshot
+ - contains new driver for mozab (mork). Automatically enabled thus
+ this closes: #321099
+
+ * debian/control.in:
+ - make -impress suggest bluez (for impress remote control)
+ - make libreoffice depend on / -common recommend python-uno for the
+ new python-based wizards
+ * debian/rules:
+ - disable langpacks for now; translations not yet updated causing
+ weird stuff
+ - add new conditionals for new dependencies: liblangtag, liborcus,
+ libmspub, (u)cpp; remove them for gone saxon, librsvg, db
+ - enable sdrmeote on all archs; b-d on libbluetooth-dev on where we
+ enable bluetooth (!kfreebsd-*)
+ - use gstreamer1.0
+ - temporarily disable python3-uno as the new python-based wizards
+ (in comon!) don't work with it...
+ - use --disable-dependency-tracking instead of gb_FULLDEPS=
+ - python3 is default now; reverse logic (use python3 per default and
+ and build python2 in a extra step)
+ * debian/uno-libs3.symbols: update
+ * debian/control*.in, debian/rules, debian/scripts/gid2pkgdirs.sh: binfilter
+ is gone. yay.
+ * debian/control.in, debian/rules: until we have a default python of 3.3,
+ use 3.3 explicitely and build a python3.3-uno instead of a python3-uno
+
+ -- Rene Engelhard <rene@debian.org> Tue, 20 Nov 2012 14:16:33 +0100
+
libreoffice (1:3.6.4~rc1-2) UNRELEASED; urgency=low
* debian/patches/poppler_0_21_x.diff: moove from poppler_0_21_0.diff; fix
@@@ -39,6 -8,8 +39,8 @@@
* debian/control.in:
- remove obsolete Pre-Depends on ure (>= 1.5.1+OOo3.1.1-15)
(by the way closes: #693626)
+ * debian/control.mozilla.in, debian/rules: rename
+ mozilla-libreoffice -> browser-plugin-libreoffice
-- Rene Engelhard <rene@debian.org> Mon, 19 Nov 2012 00:36:51 +0100
diff --combined rules
index 9614db2,caa053d..7dcab6a
--- a/rules
+++ b/rules
@@@ -21,9 -21,9 +21,9 @@@ CURDIR ?= $(realpath $(dir $(firstword
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:=3.6
-#VER:=3
-OOVER:=3.6
+HELP_L10N_VIRTUAL_VERSION:=4.0
+#VER:=4
+OOVER:=4.0
NEXT_OOVER:=$(shell echo "$(OOVER) + 0.1" | bc)
ARCH_INDEP_PACKAGES := $(shell dh_listpackages -i)
@@@ -34,7 -34,6 +34,7 @@@ include /usr/share/dpkg/architecture.m
include /usr/share/dpkg/vendor.mk
DISTREL := $(shell lsb_release -cs)
SHELL:=/bin/bash
+export gb_SHELL:=$(SHELL)
SYSTEM_GCC_VERSION = $(shell gcc --version | sed -n '/^gcc/s/.*\(.\..\)\..$$/\1/p')
@@@ -70,11 -69,11 +70,11 @@@ USE_SOURCE_TARBALLS=
USE_GIT_TARBALLS=n
ifeq "$(USE_GIT_TARBALLS)" "y"
GIT_BASEURL:=git://anongit.freedesktop.org/libreoffice
-lo_sources_ver=3.6.4.1
+lo_sources_ver=4.0.0.0.alpha1
# NOT in proper libreoffice-3-6 branch
-# use ./g checkout -b tag-libreoffice-3.6.4.1 libreoffice-3.6.4.1
+# use ./g checkout -b tag-libreoffice-3.6.2.1 libreoffice-3.6.2.1
GIT_TAG=libreoffice-$(lo_sources_ver)
-GIT_BRANCH=libreoffice-3-6-4
+#GIT_BRANCH=libreoffice-3-6-2
endif
ifeq "$(USE_SOURCE_TARBALLS)" "y"
lo_sources_ver=$(shell cat $(CURDIR)/sources.ver | cut -d= -f2)
@@@ -96,10 -95,9 +96,10 @@@ BUILD_DEPS
SYSTEM_STUFF = dicts
BUILD_PYUNO=y
-ENABLE_PYTHON3=y
+ENABLE_PYTHON2=y
ifeq "$(BUILD_PYUNO)" "y"
ENABLE_SCRIPT_PROVIDER_PYTHON=y
+ PACKAGE_LIBRELOGO=n
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
@@@ -108,22 -106,23 +108,22 @@@
# note we are NOT working with python < 2.6 anymore!
PYTHON_VERSION=current
ifeq "$(PYTHON_VERSION)" "current"
- PYTHON=python (>= 2.6)
-export PYTHON=python
+ PYTHON=python3
+export PYTHON=python3
else
PYTHON=python$(PYTHON_VERSION)
export PYTHON=python$(PYTHON_VERSION)
endif
-ifeq "$(ENABLE_PYTHON3)" "y"
- PYTHON3_VERSION=current
- ifeq "$(PYTHON3_VERSION)" "current"
- PYTHON3=python3
+ifeq "$(ENABLE_PYTHON2)" "y"
+ PYTHON2_VERSION=current
+ ifeq "$(PYTHON2_VERSION)" "current"
+ PYTHON2=python
else
- PYTHON3=python$(PYTHON3_VERSION)
+ PYTHON2=python$(PYTHON2_VERSION)
endif
endif
PACKAGE_TTF_OPENSYMBOL=y
-BUILD_BINFILTERS=y
-BUILD_ONLY_EN_US=n
+BUILD_ONLY_EN_US=y
ENABLE_HELP=y
ENABLE_JAVA=y
ifeq "$(ENABLE_JAVA)" "y"
@@@ -158,7 -157,6 +158,7 @@@ ICU_MINVER= (>= 4.0
SYSTEM_STUFF += libwpd libwpg libwps
SYSTEM_STUFF += libvisio
SYSTEM_STUFF += libcdr
+SYSTEM_STUFF += libmspub
#SYSTEM_STUFF += xmlsec
BUILD_CAIROCANVAS=y
SYSTEM_STUFF += cairo
@@@ -186,25 -184,17 +186,25 @@@ ifeq "$(ENABLE_JAVA)" "y
SYSTEM_STUFF += hsqldb
HSQLDB_MINVER= (>> 1.8.0.10)
HSQLDB_TOONEWVER=1.8.1
- # disabled because system-saxon breaks all kinds exports using XSLT transforms
- # (e.g. M$ Word/Excel 2003 XML, Mediawiki, XHTML, UOF, ...)
- # It does *NOT* fail with _plain_ saxon 9.0.0.8 built with OOos build.xml
- # for UOF, but still for e.g. M$.
- #SYSTEM_STUFF += saxon
endif
SYSTEM_STUFF += lpsolve
USE_SHARED_LPSOLVE=y
LPSOLVE_MIN_VERSION= (>= 5.5.0.13-5+b1)
USE_DBUS=y
+ifeq "$(USE_DBUS)" "y"
+ ifneq (,$(findstring kfreebsd,$(DEB_HOST_ARCH)))
+ ENABLE_BLUETOOTH=n
+ else
+ ENABLE_BLUETOOTH=y
+ SYSTEM_STUFF += bluez
+ endif
+endif
USE_GSTREAMER=y
+ifneq "$(WHEEZY_BACKPORT)" "y"
+ GSTREAMER_VERSION=1.0
+else
+ GSTREAMER_VERSION=0.10
+endif
SYSTEM_STUFF += neon
NEON_SECTYPE=gnutls
NEONSONR=27
@@@ -259,6 -249,7 +259,6 @@@ els
endif
ENABLE_SDBC_POSTGRESQL=y
ENABLE_MINIMIZER=y
-ENABLE_PRESENTER_CONSOLE=y
ENABLE_PDFIMPORT=y
BUILD_GTK=y
#ifeq "$(DEB_DISTRIBUTION)" "experimental"
@@@ -272,7 -263,7 +272,7 @@@ ENABLE_RANDR=
ifeq "$(BUILD_GTK)" "y"
PACKAGE_NSPLUGIN=y
ifeq "$(PACKAGE_NSPLUGIN)" "y"
- SYSTEM_STUFF += mozilla-headers
+ SYSTEM_STUFF += npapi-headers
endif
endif
PACKAGE_BASE=y
@@@ -306,26 -297,17 +306,26 @@@ SYSTEM_STUFF += cur
SYSTEM_STUFF += sane
SYSTEM_STUFF += xextensions-headers
SYSTEM_STUFF += mesa-headers
-SYSTEM_STUFF += db
SYSTEM_STUFF += poppler
SYSTEM_STUFF += libpng
SYSTEM_STUFF += nss
SYSTEM_STUFF += clucene
SYSTEM_STUFF += lcms2
+SYSTEM_STUFF += openldap
PACKAGE_UNOWINREG_DLL=y
ifeq "$(DEB_VENDOR)" "Debian"
BUILD_UNOWINREG_DLL=y
endif
FAKEROOT_LIBDIR=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/libfakeroot
+# upstream says: "it's 'highly experimental'", I wouldn't enable it for
+# distros"
+ENABLE_TELEPATHY=n
+SYSTEM_STUFF += liblangtag
+SYSTEM_STUFF += orcus
+USE_UCPP=n
+ifeq "$(USE_UCPP)" "y"
+ SYSTEM_STUFF += ucpp
+endif
# Default flags to pass to configure
CONFIGURE_FLAGS= \
@@@ -338,13 -320,9 +338,13 @@@
--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--disable-online-update \
--disable-fetch-external \
- --enable-release-build \
--without-fonts \
- --without-myspell-dicts
+ --without-myspell-dicts \
+ --disable-dependency-tracking
+
+ifeq "$(shell echo $(DEB_VERSION_UPSTREAM) | grep -E '(alpha|beta)'; echo $$?)" "0"
+CONFIGURE_FLAGS += --enable-release-build
+endif
ifneq ($(ON_BUILDD),y)
CONFIGURE_FLAGS += --enable-verbose
@@@ -430,10 -408,13 +430,10 @@@ endi
ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_ARCH_DEP_EXTENSIONS_ARCHS)))
ENABLE_MINIMIZER=n
ENABLE_MYSQLNATIVE=n
DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-mysql-connector
DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-report-builder-bin -Nlibreoffice$(VER)-report-builder
- DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-pdfimport -Nlibreoffice$(VER)-presentation-minimizer
- DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-presenter-console
+ DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-presentation-minimizer
endif
ifeq (,$(findstring $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
ENABLE_MEDIAWIKI=n
@@@ -481,6 -462,12 +481,6 @@@ OOO_NSPLUGIN_ARCHS
endif
$(eval $(call gen_no_archs,OOO_NSPLUGIN_ARCHS))
-# builds long and is for legacy filters. probably not needed on {arm,mips}{,el}
-ifneq (,$(filter arm% mips% m68k, $(DEB_HOST_ARCH)))
- BUILD_BINFILTERS=n
-endif
-OOO_BINFILTER_ARCHS:=$(filter-out arm% mips% m68k, $(OOO_ARCHS))
-
#############
# Distro-specific overrides
@@@ -492,7 -479,7 +492,7 @@@ endi
# Debian Squeeze
ifeq "$(WHEEZY_BACKPORT)" "y"
BUGS=mailto:debian-backports@lists.debian.org
- SYSTEM_STUFF := $(filter-out libcmis libcdr clucene, $(SYSTEM_STUFF))
+ SYSTEM_STUFF := $(filter-out libcmis libcdr clucene libmspub mdds liblangtag orcus, $(SYSTEM_STUFF))
endif
CONFIGURE_FLAGS += $(foreach i, $(SYSTEM_STUFF),--with-system-$(i))
@@@ -533,10 -520,13 +533,10 @@@ endi
ifneq "$(ENABLE_MINIMIZER)" "y"
CONFIGURE_FLAGS += --disable-ext-presenter-minimizer
endif
ifeq "$(ENABLE_PDFIMPORT)" "y"
BUILD_DEPS += , libpoppler-dev (>= 0.8.0), libpoppler-private-dev, libpoppler-cpp-dev
else
- CONFIGURE_FLAGS += --disable-ext-pdfimport
+ CONFIGURE_FLAGS += --disable-pdfimport
endif
# fails their tests
@@@ -596,6 -586,22 +596,6 @@@ ifneq (,$(filter openssl, $(SYSTEM_STUF
DBG_DBG_SUGGESTS += , libssl$(shell readlink /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/libssl.so | cut -d"." -f3,4,5)-dbg
endif
-ifneq "$(ENABLE_RSVG)" "y"
- ifeq "$(SYSTEM_LIBRSVG)" "y"
- BUILD_DEPS += , librsvg2-dev
- CONFIGURE_FLAGS += --enable-librsvg=auto
- else
- CONFIGURE_FLAGS += --enable-librsvg=internal
- endif
-else
- CONFIGURE_FLAGS += --enable-librsvg=no
-endif
-
-ifneq (,$(findstring db,$(SYSTEM_STUFF)))
- BUILD_DEPS += , libdb-dev
- DBG_DBG_SUGGESTS += , $(shell dpkg -s libdb-dev | grep Depends | awk '{ print $$2 }' | sed -e s/dev/dbg/)
-endif
-
ifeq "$(BUILD_DBG_PACKAGE)" "y"
ifneq (,$(findstring i386,$(DEB_HOST_ARCH)))
SMALL_SYMBOLS = n
@@@ -622,27 -628,21 +622,27 @@@ ifeq (debug,$(findstring debug,$(DEB_BU
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/python-uno/$(shell $(PYTHON) -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
-PY3MAJOR:=$(shell $(PYTHON3) -c "import sys; print (sys.version_info[0])")
-PY3MINOR:=$(shell $(PYTHON3) -c "import sys; print (sys.version_info[1])")
-PY3MINORPLUS1:=$(shell $(PYTHON3) -c "import sys; print (sys.version_info[1]+1)")
-PYTHON3_SITE:=debian/python3-uno/$(shell $(PYTHON3) -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+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())')
+PY2MAJOR:=$(shell $(PYTHON2) -c "import sys; print sys.version_info[0]")
+PY2MINOR:=$(shell $(PYTHON2) -c "import sys; print sys.version_info[1]")
+PY2MINORPLUS1:=$(shell $(PYTHON2) -c "import sys; print sys.version_info[1]+1")
+PYTHON2_SITE:=debian/python-uno/$(shell $(PYTHON2) -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+
+ifeq "$(PYTHON_VERSION)" "current"
+ PYTHON_VERSION_CONTROL := $(PYMAJOR).$(PYMINOR)
+else
+ PYTHON_VERSION_CONTROL := $(PYTHON_VERSION)
+endif
ifeq "$(BUILD_PYUNO)" "y"
BUILD_DEPS += , python (>= 2.6.6-3+squeeze4)
DBG_DBG_SUGGESTS+= , python-dbg
- BUILD_DEPS += , $(PYTHON)-dev (>= 2.6)
- ifeq "$(ENABLE_PYTHON3)" "y"
- BUILD_DEPS += , $(PYTHON3)-dev
+ BUILD_DEPS += , $(PYTHON)-dev (>= 3.3)
+ ifeq "$(ENABLE_PYTHON2)" "y"
+ BUILD_DEPS += , $(PYTHON2)-dev (>= 2.6)
endif
else
BUILD_DEPS += , python
@@@ -795,6 -795,10 +795,6 @@@ export JAVA_HOM
CONFIGURE_FLAGS += --with-jdk-home=$(JAVA_HOME)
JAVA_COMMON_DEPENDS= , libreoffice$(VER)-java-common
JAVA_COMMON_DEPENDS_VERSION:= (>= $(BASE_VERSION)~)
- 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)
- endif
ifeq "$(PACKAGE_SDK)" "y"
ifeq "$(PACKAGE_UNOWINREG_DLL)" "y"
ifeq "$(BUILD_UNOWINREG_DLL)" "y"
@@@ -845,7 -849,7 +845,7 @@@ ifneq (,$(filter nss, $(SYSTEM_STUFF))
BUILD_DEPS+= , libnss3-dev (>= 3.12.3)
DBG_DBG_SUGGESTS+= , libnss3-1d-dbg
endif
-ifneq (,$(filter mozilla-headers, $(SYSTEM_STUFF)))
+ifneq (,$(filter npapi-headers, $(SYSTEM_STUFF)))
BUILD_DEPS+= , xulrunner-dev$(OOO_NO_NSPLUGIN_ARCHS)
endif
CONFIGURE_FLAGS += --disable-build-mozilla --disable-mozilla
@@@ -857,15 -861,6 +857,15 @@@ endi
ifeq "$(USE_SYSTEM_DMAKE)" "y"
BUILD_DEPS += , dmake (>= 1:4.11)
endif
+ifeq "$(USE_UCPP)" "y"
+ ifneq (,$(filter ucpp, $(SYSTEM_STUFF)))
+ IDLC_CPP_DEPENDS := ucpp
+ BUILD_DEPS += , $(UCPP_DEPENDS)
+ endif
+else
+ IDLC_CPP_DEPENDS := cpp
+ CONFIGURE_FLAGS += --with-idlc-cpp=cpp
+endif
ifneq (,$(filter hunspell, $(SYSTEM_STUFF)))
BUILD_DEPS += , libhunspell-dev $(HUNSPELL_MIN_VER)
@@@ -909,11 -904,7 +909,11 @@@ ifneq (,$(filter boost, $(SYSTEM_STUFF)
endif
ifneq (,$(filter mdds, $(SYSTEM_STUFF)))
- BUILD_DEPS += , libmdds-dev (>= 0.5.0)
+ BUILD_DEPS += , libmdds-dev (>= 0.6.0)
+endif
+
+ifneq (,$(filter orcus, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , liborcus-dev
endif
ifneq (,$(filter vigra, $(SYSTEM_STUFF)))
@@@ -946,11 -937,8 +946,11 @@@ ifeq "$(USE_EXTERNAL_CXXLIBS)" "y
ifneq (,$(filter libcdr, $(SYSTEM_STUFF)))
BUILD_DEPS += , libcdr-dev
endif
+ ifneq (,$(filter libmspub, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmspub-dev
+ endif
ifneq (,$(filter libcmis, $(SYSTEM_STUFF)))
- BUILD_DEPS += , libcmis-dev (>= 0.2.1)
+ BUILD_DEPS += , libcmis-dev (>= 0.3.0)
endif
endif
CONFIGURE_FLAGS += --with-external-thes-dir=$(THES_DIR)
@@@ -959,19 -947,6 +959,19 @@@ 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
+
+ifneq (,$(filter liblangtag, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , liblangtag-dev (>= 0.3)
+endif
+
ifneq (,$(filter icu, $(SYSTEM_STUFF)))
BUILD_DEPS += , libicu-dev $(ICU_MINVER)
endif
@@@ -1058,6 -1033,11 +1058,6 @@@ els
CONFIGURE_FLAGS += --disable-randr
endif
-ifeq "$(BUILD_BINFILTERS)" "y"
- CONFIGURE_FLAGS+= --enable-binfilter
- OOO_BINFILTER_DEP = libreoffice$(VER)-filter-binfilter
-endif
-
ifneq "$(BUILD_PYUNO)" "y"
DEBHELPER_OPTIONS+= -Npython-uno -Npython3-uno -Nlibreoffice-script-provider-python
CONFIGURE_FLAGS += --disable-python
@@@ -1080,12 -1060,12 +1080,12 @@@ ifeq "$(ENABLE_JAVA)" "y
BSH_DEPENDS = bsh (>= 2.0b4)
JAVA_GCJ_DEPENDS += , bsh-gcj [$(OOO_GCJ_ARCHS)]
endif
- CONFIGURE_FLAGS += --enable-ext-scripting-beanshell
+ CONFIGURE_FLAGS += --enable-scripting-beanshell
else
DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-script-provider-bsh
endif
ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
- CONFIGURE_FLAGS += --enable-ext-scripting-javascript
+ CONFIGURE_FLAGS += --enable-scripting-javascript
else
DEBHELPER_OPTIONS += -Nlibreoffice$(VER)-script-provider-js
endif
@@@ -1110,25 -1090,14 +1110,25 @@@ endi
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 [!kfreebsd-amd64 !kfreebsd-i386]
+ endif
+ else
+ CONFIGURE_FLAGS += --disable-sdremote-bluetooth
+ endif
endif
ifeq "$(USE_GSTREAMER)" "y"
- BUILD_DEPS += , libgstreamer-plugins-base0.10-dev
- GSTREAMER_PLUGINS_SUGGESTS += , gstreamer0.10-plugins-base, gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad, gstreamer0.10-ffmpeg
- DBG_DBG_SUGGESTS+= , libgstreamer0.10-0-dbg
+ ifeq "$(GSTREAMER_VERSION)" "1.0"
+ BUILD_DEPS += , libgstreamer$(GSTREAMER_VERSION)-dev
+ CONFIGURE_FLAGS += --enable-gstreamer --disable-gstreamer-0-10
+ endif
+ BUILD_DEPS += , libgstreamer-plugins-base$(GSTREAMER_VERSION)-dev
+ GSTREAMER_PLUGINS_SUGGESTS += , gstreamer$(GSTREAMER_VERSION)-plugins-base, gstreamer$(GSTREAMER_VERSION)-plugins-good, gstreamer$(GSTREAMER_VERSION)-plugins-ugly, gstreamer$(GSTREAMER_VERSION)-plugins-bad, gstreamer$(GSTREAMER_VERSION)-ffmpeg
+ DBG_DBG_SUGGESTS+= , libgstreamer$(GSTREAMER_VERSION)-0-dbg
else
- CONFIGURE_FLAGS += --disable-gstreamer
+ CONFIGURE_FLAGS += --disable-gstreamer-0-10
endif
ifneq (,$(filter neon, $(SYSTEM_STUFF)))
@@@ -1186,13 -1155,11 +1186,13 @@@ AVAIL_CPUS := $(shell getconf _NPROCESS
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-num-cpus=$(NUM_CPUS)
+ CONFIGURE_FLAGS += --with-parallelism=$(NUM_CPUS)
endif
else
- CONFIGURE_FLAGS += --with-num-cpus=1
+ CONFIGURE_FLAGS += --without-parallelism
endif
@@@ -1210,6 -1177,16 +1210,6 @@@ endi
BUILD_PATH := $(CURDIR)/debian/usr/bin:$(BUILD_PATH)
BUILD_LD_LIBRARY_PATH := $(BUILD_LD_LIBRARY_PATH):$(GCJ_JAWT_DIR)
-ifeq "$(ENABLE_LDAP)" "y"
- ifeq "$(USE_OPENLDAP)" "y"
- BUILD_DEPS += , libldap2-dev
- LDAP_LIB := $(shell echo libldap-`grep LDAP_VENDOR_VERSION_M /usr/include/ldap_features.h | cut -d: -f2 | awk '{ print $$3 }' | xargs | sed -e "s/ /\./"`-`grep LDAP_VENDOR_VERSION_MAJOR /usr/include/ldap_features.h | cut -d: -f2 | awk '{ print $$3 }'`)
- CONFIGURE_FLAGS += --with-openldap
- endif
-else
- CONFIGURE_FLAGS += --disable-ldap
-endif
-
# 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
@@@ -1267,9 -1244,10 +1267,9 @@@ clean
fi
find $(SOURCE_TREE)/solenv/gdb -name "*.pyc" -exec rm {} \;
rm -rf */*.pro.obsolete
- rm -f solenv/bin/concat-deps
rm -rf $(SOURCE_TREE)/file-lists
- rm -rf $(SOURCE_TREE)/pyuno-py3
+ rm -rf $(SOURCE_TREE)/py2uno
rm -f configure aclocal.m4 autogen.lastrun
rm -f build_error.log
@@@ -1296,11 -1274,20 +1296,11 @@@ debian/control: $(wildcard debian/contr
-e "s#%[A-Za-z]*=[^%]*%##g#" \
-e "s#%BUILD_DEPS%#$(strip $(BUILD_DEPS))#g" \
-e "s#%BUILD_DEPS_INDEP%#$(strip $(BUILD_DEPS_INDEP))#g" \
- -e "s#@PYTHON_VERSION@#$(PYTHON_VERSION)#g" \
+ -e "s#@PYTHON_VERSION_CONTROL@#$(PYTHON_VERSION_CONTROL)#g" \
+ -e "s#@PYTHON2_VERSION@#$(PYTHON2_VERSION)#g" \
-e "s#@BUGS@#$(BUGS)#g" \
< debian/control.in > debian/control
-ifeq "$(ENABLE_LDAP)" "y"
- # build-depends might not be satified when running debian/rules control. prevent bad subsitition with
- # nothing (libldap--)
- if [ ! -f /usr/include/ldap_features.h ]; then \
- echo "/usr/include/ldap_features.h not found. Is libldap2-dev installed?"; \
- echo 'Needed for properly setting $$(LDAP_LIB). Stopping,'; \
- exit 1; \
- fi
-endif
-
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`; \
@@@ -1412,6 -1399,10 +1412,6 @@@ ifeq "$(ENABLE_MINIMIZER)" "y
sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
>> debian/control < debian/control.minimizer.in
endif
-ifeq "$(ENABLE_PRESENTER_CONSOLE)" "y"
- sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
- >> debian/control < debian/control.presenter.in
-endif
ifeq "$(ENABLE_PDFIMPORT)" "y"
sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
>> debian/control < debian/control.pdfimport.in
@@@ -1445,14 -1436,14 +1445,14 @@@ 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
endif
+ifeq "$(PACKAGE_LIBRELOGO)" "y"
+ sed -e "s|libreofficeVER|libreoffice$(VER)|g" \
+ >> debian/control < debian/control.librelogo.in
+endif
perl -pi -e "s,%OOO_ARCHS%,$(OOO_ARCHS),g" debian/control
perl -pi -e "s,%OOO_BASE_ARCHS%,$(OOO_BASE_ARCHS),g" debian/control
@@@ -1461,6 -1452,7 +1461,6 @@@
perl -pi -e "s,%OOO_GCJ_ARCHS%,$(OOO_GCJ_ARCHS),g" debian/control
perl -pi -e "s,%OOO_NSPLUGIN_ARCHS%,$(OOO_NSPLUGIN_ARCHS),g" debian/control
perl -pi -e "s,%OOO_OGLTRANS_ARCHS%,$(OOO_OGLTRANS_ARCHS),g" debian/control
- perl -pi -e "s,%OOO_BINFILTER_ARCHS%,$(OOO_BINFILTER_ARCHS),g" debian/control
perl -pi -e "s,%OOO_STLPORT_ARCHS%,$(OOO_STLPORT_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
@@@ -1514,9 -1506,8 +1514,9 @@@ ifeq "$(BUILD_KDE)" "y
perl -pi -e 's/GConf backend$$/GConf backend\n * libreoffice$(VER)-kde: KDE UI Plugin and KDE File Picker support/' debian/control
endif
-ifeq "$(ENABLE_LDAP)" "y"
- perl -pi -e 's/paperconf$$/paperconf\n * $(LDAP_LIB): LDAP client library; needed for LibreOffice getting its\n profiles from LDAP/' debian/control
+ifeq "$(USE_DBUS)" "y"
+ perl -pi -e 's/paperconf$$/paperconf\n * bluez: Bluetooth support for Impress (slideshow remote control/' debian/control
+ 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"
@@@ -1577,23 -1568,30 +1577,23 @@@ $(STAMP_DIR)/build-arch
# 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) ./autogen.sh $(CONFIGURE_FLAGS) \
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+ PYTHON=$(PYTHON) PYTHON_CFLAGS="$(shell pkg-config --cflags python-$(PYMAJOR).$(PYMINOR))" PYTHON_LIBS="$(shell pkg-config --libs python-$(PYMAJOR).$(PYMINOR))" \
+ ./autogen.sh $(CONFIGURE_FLAGS) \
--without-help --without-doxygen --disable-ext-wiki-publisher \
- --disable-ext-report-builder --disable-ext-scripting-javascript \
- --disable-ext-scripting-beanshell
+ --disable-ext-report-builder --disable-scripting-javascript \
+ --disable-scripting-beanshell
- PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) build gb_FULLDEPS= gb_Deliver_HARDLINK=T
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) build gb_Deliver_HARDLINK=T
ifeq "$(BUILD_PYUNO)" "y"
- ifeq "$(ENABLE_PYTHON3)" "y"
- # FIXME: won't work when pyuno is migrated to gbuild as all is directly in solver
- # then...
- rm -rf $(SOURCE_TREE)/pyuno-py3
- cp -ra $(SOURCE_TREE)/pyuno $(SOURCE_TREE)/pyuno-py3
- ifeq "$(PYTHON3_VERSION)" "current"
- . $(SOURCE_TREE)/config_host.mk.source; \
- cd pyuno-py3 && \
- rm -rf $$OUTPATH$$PROEXT; \
- PYTHON=$(PYTHON3) PYTHON_CFLAGS="$(shell pkg-config --cflags python$(PY3MAJOR))" PYTHON_LIBS="$(shell pkg-config --libs python$(PY3MAJOR))" ../solenv/bin/build.pl
- else
- . $(SOURCE_TREE)/config_host.mk.source; \
- cd pyuno-py3 && \
- rm -rf $$OUTPATH$$PROEXT; \
- PYTHON=$(PYTHON3) PYTHON_CFLAGS="$(shell pkg-config --cflags python-$(PY3MAJOR).$(PY3MINOR))" PYTHON_LIBS="$(shell pkg-config --libs python-$(PY3MAJOR).$(PY3MINOR))" ../solenv/bin/build.pl
- endif
+ ifeq "$(ENABLE_PYTHON2)" "y"
+ rm -rf $(SOURCE_TREE)/py2uno
+ cp -ra $(SOURCE_TREE)/pyuno $(SOURCE_TREE)/py2uno
+ cd py2uno && \
+ patch -p1 < $(CURDIR)/debian/patches/pyuno-copy-for-python2.diff
+ $(MAKE) py2uno.clean
+ make cmd cmd='cd py2uno; export PYTHON=$(PYTHON2); export PYTHON_CFLAGS="$(shell pkg-config --cflags python-$(PY2MAJOR).$(PY2MINOR))"; export PYTHON_LIBS="$(shell pkg-config --libs python-$(PY2MAJOR).$(PY2MINOR))"; $(MAKE)'
endif
endif
@@@ -1625,7 -1623,7 +1625,7 @@@ $(STAMP_DIR)/build-indep
PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ./autogen.sh $(CONFIGURE_FLAGS) $(CONFIGURE_FLAGS_LANG)
- PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) build gb_FULLDEPS= gb_Deliver_HARDLINK=T
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) DEFAULT_TO_ENGLISH_FOR_PACKING=1 ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" $(MAKE) build gb_Deliver_HARDLINK=T
touch $@
@@@ -1646,7 -1644,7 +1646,7 @@@ endi
export HOME=$$t; \
export SAL_USE_VCLPLUGIN="svp"; \
if [ -x /usr/bin/gdb ]; then ulimit -c unlimited; fi && \
- $(MAKE) -k check gb_FULLDEPS= gb_Deliver_HARDLINK=T && \
+ CHECK_PARALLELISM=1 $(MAKE) -k check gb_FULLDEPS= gb_Deliver_HARDLINK=T && \
rm -rf $$t
ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
@@@ -1764,16 -1762,23 +1764,16 @@@ ifneq "$(ENABLE_HELP)" "n
done
endif
-ifneq "$(BUILD_BINFILTERS)" "y"
- # somewhow there's a libreoffice-filter-binfilter here even when binfilter disabled.
- # go sure.
- rm -rf debian/tmp/pkg/libreoffice-filter-binfilter/usr/share/applications
-endif
-
dh_installdirs -A
dh_install -A --sourcedir=debian/tmp/pkg --fail-missing
rm -rf debian/tmp/pkg
# move desktop files to their correct packages
- for i in base calc draw impress math writer binfilter; do \
- if [ "$$i" = "binfilter" ]; then j=filter-binfilter; else j=$$i; fi; \
- mkdir -p $(PKGDIR)-$$j/$(OODIR)/share/xdg; \
+ 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)-$$j/$(OODIR)/share/xdg; \
+ $(PKGDIR)-$$i/$(OODIR)/share/xdg; \
done
# move help to /usr/share
@@@ -1859,18 -1864,6 +1859,18 @@@ ifeq "$(ENABLE_EVO2)" "y
$(PKGDIR)-evolution/$(OODIR)/presets/database
endif
+ifeq "$(ENABLE_PDFIMPORT)" "y"
+ rm -rf $(PKGDIR)-pdfimport
+ mkdir -p $(PKGDIR)-pdfimport/$(OODIR)/program
+ mkdir -p $(PKGDIR)-pdfimport/$(OODIR)/share/
+ mv $(PKGDIR)-core/$(OODIR)/program/pdfimport.uno.so \
+ $(PKGDIR)-pdfimport/$(OODIR)/program
+ mv $(PKGDIR)-core/$(OODIR)/program/xpdfimport \
+ $(PKGDIR)-pdfimport/$(OODIR)/program
+ mv $(PKGDIR)-common/$(OODIR)/share/xpdfimport \
+ $(PKGDIR)-pdfimport/$(OODIR)/share
+endif
+
find debian/tmp ! -perm -200 | xargs -r chmod u+w
touch $@
@@@ -1995,6 -1988,9 +1995,6 @@@ ifeq "$(PACKAGE_BASE)" "y
endif
: # remove problematic ones
rm -f debian/tmp/native-jars/ridl.jar
-ifneq "$(USE_SYSTEM_SAXON)" "y"
- rm -f debian/tmp/native-jars/saxon9.jar
-endif
: # compile the others
# the Debian i386 buildd, although having much ram still OOMs without
# this (at unoil.jar).
@@@ -2115,11 -2111,11 +2115,11 @@@ ifeq "$(ENABLE_EVO2)" "y
endif
ifeq "$(PACKAGE_NSPLUGIN)" "y"
- mkdir -p -m755 debian/mozilla-libreoffice$(VER)/$(OODIR)/program
+ mkdir -p -m755 debian/browser-plugin-libreoffice$(VER)/$(OODIR)/program
for f in libnpsoplugin.so nsplugin; do \
- mv $(PKGDIR)-core/$(OODIR)/program/$$f debian/mozilla-libreoffice$(VER)/$(OODIR)/program; \
+ mv $(PKGDIR)-core/$(OODIR)/program/$$f debian/browser-plugin-libreoffice$(VER)/$(OODIR)/program; \
done
- cd debian/mozilla-libreoffice$(VER) && \
+ cd debian/browser-plugin-libreoffice$(VER) && \
mkdir -p usr/lib/mozilla/plugins && \
ln -sf /$(OODIR)/program/libnpsoplugin.so \
usr/lib/mozilla/plugins/libnpsoplugin.so
@@@ -2181,62 -2177,58 +2181,62 @@@ endi
ifeq "$(BUILD_PYUNO)" "y"
# PyUNO packaging
install -d $(PYTHON_SITE)
- mv debian/python-uno/$(OODIR)/program/uno.py $(PYTHON_SITE)
- mv debian/python-uno/$(OODIR)/program/unohelper.py $(PYTHON_SITE)
- touch debian/python-uno/$(OODIR)/program/pythonloader.unorc
- chmod u+w debian/python-uno/$(OODIR)/program/pythonloader.unorc
+ mv debian/python3-uno/$(OODIR)/program/uno.py $(PYTHON_SITE)
+ 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 '[Bootstrap]'; \
echo 'PYTHONHOME=file:///usr/lib/python$(PYMAJOR).$(PYMINOR)' ;\
echo 'PYTHONPATH=$$PYTHONHOME $$PYTHONHOME/site-packages $$PYTHONHOME/lib-dynload $$PYTHONHOME/lib-tk $$ORIGIN' \
- ) > debian/python-uno/$(OODIR)/program/pythonloader.unorc
- chmod u-w debian/python-uno/$(OODIR)/program/pythonloader.unorc
- ifeq "$(ENABLE_PYTHON3)" "y"
- install -d $(PYTHON3_SITE)
+ ) > debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+ chmod u-w debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+ ifeq "$(ENABLE_PYTHON2)" "y"
+ install -d $(PYTHON2_SITE)
cp $(PYTHON_SITE)/uno.py \
- $(PYTHON3_SITE)
+ $(PYTHON2_SITE)
cp $(PYTHON_SITE)/unohelper.py \
- $(PYTHON3_SITE)
- mkdir -p debian/python3-uno/$(OODIR)/program
- mkdir -p debian/python3-uno/$(OODIR)/share/registry
- mkdir -p debian/python3-uno/$(OODIR)/share/Scripts
- cat debian/python-uno/$(OODIR)/program/pythonloader.unorc \
- | sed -e "s/$(PYMAJOR).$(PYMINOR)/$(PY3MAJOR).$(PY3MINOR)/" \
- > debian/python3-uno/$(OODIR)/program/pythonloader.unorc
- for i in pyuno.so pythonloader.uno.so libpyuno.so; do \
- install -m644 $(SOURCE_TREE)/pyuno-py3/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/lib/$$i \
- debian/python3-uno/$(OODIR)/program/$$i; \
+ $(PYTHON2_SITE)
+ mkdir -p debian/python-uno/$(OODIR)/program
+ mkdir -p debian/python-uno/$(OODIR)/share/registry
+ mkdir -p debian/python-uno/$(OODIR)/share/Scripts
+ cat debian/python3-uno/$(OODIR)/program/pythonloader.unorc \
+ | sed -e "s/$(PYMAJOR).$(PYMINOR)/$(PY2MAJOR).$(PY2MINOR)/" \
+ > debian/python-uno/$(OODIR)/program/pythonloader.unorc
+ for i in py2uno.so libpy2uno.so; do \
+ install -m644 $(SOURCE_TREE)/workdir/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/LinkTarget/Library/$$i \
+ debian/python-uno/$(OODIR)/program/$$i; \
+ ln -s $$i debian/python-uno/$(OODIR)/program/`echo $$i | sed -e s/2//`; \
done
- cp debian/python-uno/$(OODIR)/program/pythonloader.py \
- debian/python3-uno/$(OODIR)/program
- cp debian/python-uno/$(OODIR)/share/registry/pyuno.xcd \
- debian/python3-uno/$(OODIR)/share/registry
- cp -r debian/python-uno/$(OODIR)/share/Scripts/python \
- debian/python3-uno/$(OODIR)/share/Scripts
+ install -m644 $(SOURCE_TREE)/workdir/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/LinkTarget/Library/python2loader.uno.so \
+ debian/python-uno/$(OODIR)/program/python2loader.uno.so
+ ln -s python2loader.uno.so debian/python-uno/$(OODIR)/program/pythonloader.uno.so
+ cp debian/python3-uno/$(OODIR)/program/pythonloader.py \
+ debian/python-uno/$(OODIR)/program
+ cp debian/python3-uno/$(OODIR)/share/registry/pyuno.xcd \
+ debian/python-uno/$(OODIR)/share/registry
+ cp -r debian/python3-uno/$(OODIR)/share/Scripts/python \
+ debian/python-uno/$(OODIR)/share/Scripts
endif
ifeq "$(ENABLE_SCRIPT_PROVIDER_PYTHON)" "y"
rm -f debian/libreoffice$(VER)-script-provider-python/$(OODIR)/share/extensions/script-provider-for-python/registration/LICENSE
endif
- mkdir -p debian/python-uno/usr/share/doc/python-uno
+ mkdir -p debian/python3-uno/usr/share/doc/python3-uno
cp -r $(SOURCE_TREE)/pyuno/demo \
- debian/python-uno/usr/share/doc/python-uno; \
+ debian/python3-uno/usr/share/doc/python3-uno; \
for i in $(SOURCE_TREE)/pyuno/doc/*; do \
- cp $$i debian/python-uno/usr/share/doc/python-uno; \
+ cp $$i debian/python3-uno/usr/share/doc/python-uno; \
done
- cd debian/python-uno/usr/share/doc/python-uno && \
+ cd debian/python3-uno/usr/share/doc/python3-uno && \
find . -type d -name "CVS" | xargs -r rm -rf
- ifeq "$(ENABLE_PYTHON3)" "y"
- mkdir -p debian/python3-uno/usr/share/doc/python3-uno
+ ifeq "$(ENABLE_PYTHON2)" "y"
+ mkdir -p debian/python-uno/usr/share/doc/python-uno
cp -r $(SOURCE_TREE)/pyuno/demo \
- debian/python3-uno/usr/share/doc/python3-uno; \
+ debian/python-uno/usr/share/doc/python-uno; \
for i in $(SOURCE_TREE)/pyuno/doc/*; do \
- cp $$i debian/python3-uno/usr/share/doc/python3-uno; \
+ cp $$i debian/python-uno/usr/share/doc/python-uno; \
done
- cd debian/python3-uno/usr/share/doc/python3-uno && \
+ cd debian/python-uno/usr/share/doc/python-uno && \
find . -type d -name "CVS" | xargs -r rm -rf
endif
endif
@@@ -2284,6 -2276,18 +2284,6 @@@ ifeq "$(PACKAGE_SDK)" "y
cd $(PKGDIR)-dev/$(OOSDKDIR) && \
rm docs
- # install gsicheck into -dev
- mkdir -p $(PKGDIR)-dev/$(OODIR)/program
- install -m755 $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/bin/gsicheck \
- $(PKGDIR)-dev/$(OODIR)/program/gsicheck.bin
- ( \
- echo '#! /bin/sh'; \
- echo 'LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}/$(OODIR)/program'; \
- echo 'export LD_LIBRARY_PATH'; \
- echo 'exec /$(OODIR)/program/gsicheck.bin "$$@"'; \
- ) > $(PKGDIR)-dev/$(OODIR)/program/gsicheck
- chmod 755 $(PKGDIR)-dev/$(OODIR)/program/gsicheck
-
# fix permissions
find $(PKGDIR)-dev/usr/share/idl/$(OODIRNAME) -type f -exec chmod 644 {} \;
@@@ -2310,7 -2314,7 +2310,7 @@@ ifeq "$(PACKAGE_SDK)" "y
ifeq "$(ENABLE_JAVA)" "y"
# install the UNO Java sources for e.g. eclipse
mkdir -p $(CURDIR)/$(PKGDIR)-dev/usr/share/java
- cd $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/pck && \
+ cd $(SOURCE_TREE)/solver/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/pck && \
for i in juh jurt jut ridl unoloader; do \
cp $${i}_src.zip \
$(CURDIR)/$(PKGDIR)-dev/usr/share/java; \
@@@ -2352,6 -2356,10 +2352,6 @@@ ifeq "$(ENABLE_MYSQLNATIVE)" "y
rm -f $(PKGDIR)-mysql-connector/$(OODIR)/share/extensions/mysql-connector-ooo/registration/LICENSE
endif
-ifeq "$(ENABLE_PDFIMPORT)" "y"
- rm -f $(PKGDIR)-pdfimport/$(OODIR)/share/extensions/pdfimport/registration/LICENSE
-endif
-
ifeq "$(ENABLE_MEDIAWIKI)" "y"
rm -f $(PKGDIR)-wiki-publisher/$(OODIR)/share/extensions/wiki-publisher/registration/LICENSE
endif
@@@ -2359,9 -2367,9 +2359,9 @@@
#ifeq "$(PACKAGE_SDK)" "y"
# # install gengal stuff into -dev
# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
-# install -m755 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/bin/gengal \
+# install -m755 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/bin/gengal \
# $(PKGDIR)-dev/$(OODIR)/program/gengal
-# install -m755 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/bin/gengal.bin \
+# install -m755 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/bin/gengal.bin \
# $(PKGDIR)-dev/$(OODIR)/program/gengal.bin
#endif
@@@ -2515,6 -2523,12 +2515,6 @@@ endi
cd $(PKGDIR)-common/usr/share/icons/hicolor/32x32/apps && \
for x in *.png; do convert $$x `basename $$x .png`.xpm; done
-ifeq "$(ENABLE_JAVA)" "y"
- ifneq (,$(filter saxon, $(SYSTEM_STUFF)))
- ln -sf /usr/share/java/saxonb.jar \
- $(PKGDIR)-java-common/$(OODIR)/program/classes/saxon9.jar
- endif
-endif
# remove extra license files
rm -rf $(PKGDIR)-common/$(OODIR)/licenses
rm -f $(PKGDIR)-common/$(OODIR)/share/readme/LICENSE*
@@@ -2740,17 -2754,9 +2740,17 @@@ endi
#ifeq "$(PACKAGE_SDK)" "y"
# # install gengal stuff into -dev
# mkdir -p $(PKGDIR)-dev/$(OODIR)/program
-# install -m644 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/bin/gengalrc \
+# 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 "$(PACKAGE_LIBRELOGO)" "y"
+ rm -rf $(PKGDIR)-librelogo
+ mkdir -p $(PKGDIR)-librelogo/$(OODIR)/share/extensions/librelogo
+ cd $(PKGDIR)-librelogo/$(OODIR)/share/extensions/librelogo && \
+ unzip $(CURDIR)/solver/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/bin/librelogo.oxt
+endif
+
touch $@
binary-arch: $(STAMP_DIR)/binary-arch
@@@ -2766,7 -2772,7 +2766,7 @@@ $(STAMP_DIR)/binary-arch: $(STAMP_DIR)/
dh_installdocs -s -A
for p in $(ARCH_DEP_PACKAGES); do \
mkdir -p debian/$$p/usr/share/doc/$$p; \
- cat readlicense_oo/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/misc/UNX/README_en-US \
+ cat solver/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/bin/osl/README_en-US \
| sed -e 's/$${PRODUCTNAME}/LibreOffice/g' \
| sed -e 's/$${PRODUCTVERSION}/3.6/g' \
> debian/$$p/usr/share/doc/$$p/README; \
@@@ -2789,17 -2795,9 +2789,17 @@@ ifeq "$(ENABLE_JAVA)" "y
dh_nativejava -plibreoffice$(VER)-gcj -o
endif
endif
- dh_python2 -ppython-uno --no-guessing-versions --no-guessing-deps
-ifeq "$(ENABLE_PYTHON3)" "y"
dh_python3 -ppython3-uno --no-guessing-deps
+ # adds a python3 (>= 3.2.3-3~)
+ifeq "$(PYTHON_VERSION)" "current"
+ sed -i -e 's/python$(PYMAJOR) (>= .*)/python$(PYMAJOR) (>= 3.3~)/g' \
+ debian/python3-uno.substvars
+else
+ sed -i -e 's/python$(PYMAJOR) (>= .*)/python$(PYMAJOR).$(PYMINOR)/g' \
+ debian/python3-uno.substvars
+endif
+ifeq "$(ENABLE_PYTHON2)" "y"
+ dh_python2 -ppython-uno --no-guessing-versions --no-guessing-deps
endif
dh_lintian -s
dh_bugfiles -s -A
@@@ -2824,8 -2822,8 +2824,8 @@@ els
endif
dh_icons -s
dh_compress -s -X.py -X.mk -X.sxd
- 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 -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)~)" -- -v`echo $(BINARY_VERSION) | cut -d: -f2`
+ 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 && \
@@@ -2858,6 -2856,12 +2858,6 @@@ ifneq (,$(filter redland, $(SYSTEM_STUF
# which quickly can get outdated
perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/$(shell dpkg -S /usr/lib/`objdump -p $(PKGDIR)-core/$(OODIR)/program/libunordf*.so | grep NEEDED | grep librdf | awk '{ print $$2 }'` | cut -d: -f1).shlibs | awk '{ print $$3,$$4,$$5 }')/' $(PKGDIR)-core.substvars
endif
-ifeq "$(ENABLE_LIBRSVG)" "y"
- ifeq "$(SYSTEM_LIBRSVG)" "y"
- # dlopen()'ed only for some weird reason (even when --with-librsvg=internal!)
- perl -pi -e 's/(shlibs.*$$)/$$1, $(shell cat /var/lib/dpkg/info/librsvg*.shlibs | awk '{ print $$3 }')/' $(PKGDIR)-core.substvars
- endif
-endif
# don't make uno-libs3 depend on ure...
perl -pi -e 's/, ure$$//' debian/uno-libs3.substvars
# .. and prevent ure to depend on itself..
@@@ -2894,6 -2898,8 +2894,6 @@@ endi
# -l $(PKGDIR)-core/$(OPENOFFICEDIR)/program
dh_gencontrol -s $(DEBHELPER_OPTIONS) -Nure -Nure-dbg -Nuno-libs3 -Nuno-libs3-dbg \
-Nlibreoffice$(VER)-presentation-minimizer \
- -Nlibreoffice$(VER)-presenter-console \
- -Nlibreoffice$(VER)-pdfimport \
-Nlibreoffice$(VER)-mysql-connector -- \
-V"ure:Version=$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }')" \
-V'base-version=$(BASE_VERSION)' \
@@@ -2905,12 -2911,13 +2905,12 @@@
-V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
-V'java-gcj-depends=$(JAVA_GCJ_DEPENDS)' \
-V'Binary-Version=$(BINARY_VERSION)' \
- -V'ooo-binfilter-dep=$(OOO_BINFILTER_DEP)' \
-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'libldap-suggests=$(LDAP_LIB)' \
+ -V'idlc-cpp-depends=$(IDLC_CPP_DEPENDS)' \
-V'dbg-dbg-suggests=$(DBG_DBG_SUGGESTS)' \
-v$(BINARY_VERSION)
ifeq "$(ENABLE_JAVA)" "y"
@@@ -2918,14 -2925,22 +2918,14 @@@
debian/libreoffice$(VER)-officebean/DEBIAN/control
endif
ifneq (,$(findstring $(DEB_HOST_ARCH),$(OOO_ARCH_DEP_EXTENSIONS_ARCHS)))
-ifeq "$(ENABLE_PDFIMPORT)" "y"
- dh_gencontrol -plibreoffice$(VER)-pdfimport -- \
- -v$(shell grep "<version" $(SOURCE_TREE)/sdext/source/pdfimport/description.xml | perl -pi -e 's,<version.*value=\"(.*)\" />,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
-endif
ifeq "$(ENABLE_MINIMIZER)" "y"
dh_gencontrol -plibreoffice$(VER)-presentation-minimizer -- \
-v$(shell grep "<version" $(SOURCE_TREE)/sdext/source/minimizer/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
endif
ifeq "$(PACKAGE_BASE)" "y"
ifeq "$(ENABLE_MYSQLNATIVE)" "y"
dh_gencontrol -plibreoffice$(VER)-mysql-connector -- \
- -v$(shell grep "<version" $(SOURCE_TREE)/mysqlc/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/misc/description.xml | perl -pi -e 's,<version value=\"(.*)\" />,\1,; s/^\s+//; s/\s+$$//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+ -v$(shell grep "<version" $(SOURCE_TREE)/mysqlc/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/misc/description.xml | perl -pi -e 's,<version value=\"(.*)\" />,\1,; s/^\s+//; s/\s+$$//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
endif
endif
endif
@@@ -2986,9 -3001,9 +2986,9 @@@ endi
dh_installdocs -i -A
for p in $(ARCH_INDEP_PACKAGES); do \
mkdir -p debian/$$p/usr/share/doc/$$p; \
- cat readlicense_oo/$(shell . $(SOURCE_TREE)/config_host.mk.source; echo $$OUTPATH$$PROEXT)/misc/UNX/README_en-US \
+ cat solver/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/bin/osl/README_en-US \
| sed -e 's/$${PRODUCTNAME}/LibreOffice/g' \
- | sed -e 's/$${PRODUCTVERSION}/3.6/g' \
+ | sed -s 's/$${PRODUCTVERSION}/3.6/g' \
> debian/$$p/usr/share/doc/$$p/README; \
done
dh_installman -i
@@@ -3022,7 -3037,6 +3022,7 @@@ endi
dh_gencontrol -i $(DEBHELPER_OPTIONS) \
-Nlibreoffice$(VER)-report-builder \
-Nlibreoffice$(VER)-wiki-publisher \
+ -Nlibreoffice$(VER)-librelogo \
-Nfonts-opensymbol \
-Nopenoffice.org-dtd-officedocument1.0 -- \
-V'base-version=$(BASE_VERSION)' \
@@@ -3034,6 -3048,7 +3034,6 @@@
-V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
-V'textcat-data-recommends=$(TEXTCAT_DATA_RECOMMENDS)' \
-V'Binary-Version=$(BINARY_VERSION)' \
- -V'ooo-binfilter-dep=$(OOO_BINFILTER_DEP)' \
-V'dbg-dbg-suggests=$(DBG_DBG_SUGGESTS)' \
-v$(BINARY_VERSION)
ifeq "$(PACKAGE_TTF_OPENSYMBOL)" "y"
@@@ -3053,10 -3068,6 +3053,10 @@@ ifeq "$(ENABLE_REPORTDESIGN)" "y
-V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
-v`echo $(BINARY_VERSION) | cut -d: -f1`:$(shell grep "<version" $(SOURCE_TREE)/reportbuilder/util/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
endif
+ifeq "$(PACKAGE_LIBRELOGO)" "y"
+ dh_gencontrol -plibreoffice$(VER)-librelogo -- \
+ -v$(shell grep "<version" $(SOURCE_TREE)/librelogo/source/description.xml | perl -pi -e 's,<version value=\"(.*)\" />,\1,; s/^\s+//; s/\s+$$//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
dh_gencontrol -popenoffice.org-dtd-officedocument1.0 -- \
-v$(shell echo `echo $(BINARY_VERSION) | cut -d: -f1` + 1 | bc):1.0+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
dh_md5sums -i
@@@ -3105,17 -3116,17 +3105,17 @@@ $(call get_orig_tarball)
$(call pack_gittarball,core,$@,)
$(call get_orig_tarball,-helpcontent2):
- $(call pack_gittarball,help,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/helpcontent2)
+ $(call pack_gittarball,help,$@,libreoffice-$(DEB_VERSION_UPSTREAM))
$(call get_orig_tarball,-%):
- $(call pack_gittarball,$*,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/$*)
+ $(call pack_gittarball,$*,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/)
# Get upstream external sources
-$(call get_orig_tarball,-src): binfilter/no_localization helpcontent2/makefile.pmk translations/makefile.mk .gitignore
+$(call get_orig_tarball,-src): helpcontent2/makefile.pmk translations/makefile.mk .gitignore
dh_testdir
rm -rf $(TARFIILE_LOCATION)
mkdir -p $(TARFILE_LOCATION)
- ./autogen.sh
+ ./autogen.sh $(patsubst --with-system-%,--without-system-%,$(CONFIGURE_FLAGS)) --with-system-mysql
./download
tar cvJf $@ -C $(TARFILE_LOCATION) --transform 's,./,,' .
@@@ -3123,6 -3134,9 +3123,6 @@@
.gitignore: $(call get_orig_tarball)
$(call unpack_gittarball,,$<,--strip-components=1)
-binfilter/no_localization: $(call get_orig_tarball,-binfilter)
- $(call unpack_gittarball,binfilter,$<,)
-
translations/makefile.mk: $(call get_orig_tarball,-translations)
$(call unpack_gittarball,translations,$<,)
--
LibreOffice packaging repository
Reply to: