[libreoffice] 01/01: recommend -sdbc-firebird only where it's built (LE) to prepare for it being a dependency when firebird will be the default embedded engine

Rene Engelhard rene at moszumanska.debian.org
Tue Feb 21 20:26:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch debian-experimental-5.3
in repository libreoffice.

commit 63abedd7eaed7429f0be06e2621a42250d9be74b
Author: Rene Engelhard <rene at debian.org>
Date:   Fri Feb 17 10:41:06 2017 +0100

    recommend -sdbc-firebird only where it's built (LE) to prepare for it being a dependency when firebird will be the default embedded engine
---
 changelog  | 3 +++
 control    | 2 +-
 control.in | 2 +-
 rules      | 8 ++++++--
 4 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/changelog b/changelog
index 4fe6481..ab6ccd6 100644
--- a/changelog
+++ b/changelog
@@ -22,6 +22,9 @@ libreoffice (1:5.3.1~rc1-1) experimental; urgency=medium
     - fix generating lo-idl-ref doc-base file
   * debian/control.in, debian/rules, debian/scripts/cleandupes: remove unused
     fdupes B-D-I and commented-out usage
+  * debian/rules, debian/control.in: recommend -sdbc-firebird only where it's
+    built (LE) to prepare for it being a dependency when firebird will be the
+    default embedded engine
 
  -- Rene Engelhard <rene at debian.org>  Mon, 20 Feb 2017 23:58:36 +0100
 
diff --git a/control b/control
index 5a25a27..dcfeea0 100644
--- a/control
+++ b/control
@@ -906,7 +906,7 @@ Suggests: libjtds-java,
           libreoffice-mysql-connector | libmyodbc | libmysql-java,
           libreoffice-sdbc-postgresql | odbc-postgresql | libpg-java,
           libsqliteodbc | tdsodbc | mdbtools
-Recommends: libreoffice-sdbc-firebird,
+Recommends: libreoffice-sdbc-firebird [alpha amd64 arm64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mipsel mips64el ppc64el],
             libreoffice-sdbc-hsqldb [alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386]
 Replaces: libreoffice-base (<< 1:4.3.0-3), libreoffice-core (<< 1:4.2~)
 Breaks: libreoffice-base (<< 1:4.3.0-3)
diff --git a/control.in b/control.in
index b66142a..6bdc45d 100644
--- a/control.in
+++ b/control.in
@@ -730,7 +730,7 @@ 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%], libreoffice-sdbc-firebird
+Recommends: libreoffice-sdbc-hsqldb [%OOO_JAVA_ARCHS%], libreoffice-sdbc-firebird [%OOO_FIREBIRD_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
diff --git a/rules b/rules
index 4a3c1dd..4baa7d2 100755
--- a/rules
+++ b/rules
@@ -601,6 +601,8 @@ OOO_BASE_ARCHS := $(OOO_JAVA_ARCHS)
 $(eval $(call gen_no_archs,OOO_BASE_ARCHS))
 OOO_REPORTDESIGN_ARCHS := $(OOO_BASE_ARCHS)
 $(eval $(call gen_no_archs,OOO_REPORTDESIGN_ARCHS))
+OOO_FIREBIRD_ARCHS := $(OOO_LE_ARCHS)
+$(eval $(call gen_no_archs,OOO_FIREBIRD_ARCHS))
 
 OOO_CHECK_ARCHS := $(filter-out kfreebsd-i386 kfreebsd-amd64 sparc64,$(OOO_ARCHS))
 $(eval $(call gen_no_archs,OOO_CHECK_ARCHS))
@@ -1301,9 +1303,9 @@ ifeq "$(ENABLE_FIREBIRD)" "y"
 	BUILD_DEPS += , libtommath-dev$(OOO_NO_BE_ARCHS)
   endif
   ifneq (,$(filter firebird, $(SYSTEM_STUFF)))
-	BUILD_DEPS += , firebird-dev (>= 3.0.0.32483.ds4-4)$(OOO_NO_LE_ARCHS)
+	BUILD_DEPS += , firebird-dev (>= 3.0.0.32483.ds4-4)$(OOO_NO_FIREBIRD_ARCHS)
 	# we need libEngine12.so
-	BUILD_DEPS += , firebird3.0-server-core $(OOO_NO_LE_ARCHS) <!nocheck>
+	BUILD_DEPS += , firebird3.0-server-core $(OOO_NO_FIREBIRD_ARCHS) <!nocheck>
 	FIREBIRD_ENGINE_DEPENDS += firebird3.0-server-core
   endif
 else
@@ -1807,6 +1809,8 @@ endif
 	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,%OOO_FIREBIRD_ARCHS%,$(OOO_FIREBIRD_ARCHS),g" debian/control
+	perl -pi -e "s,%OOO_NO_FIREBIRD_ARCHS%,$(OOO_NO_FIREBIRD_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"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice.git



More information about the Pkg-openoffice-commits mailing list