[libreoffice] 03/11: re-enable mysql-connector

Rene Engelhard rene at moszumanska.debian.org
Tue Nov 15 21:57:24 UTC 2016


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

rene pushed a commit to branch master
in repository libreoffice.

commit 4987966180e5a2a684c86da0cb1d4c8a43f8e36d
Author: Rene Engelhard <rene at debian.org>
Date:   Tue Nov 15 06:39:14 2016 +0100

    re-enable mysql-connector
    
    Conflicts:
    	changelog
    	control
    	rules
    	tests/control
---
 changelog                    |  4 ++++
 control                      | 19 ++++++++++++++++++-
 rules                        |  9 ++++++---
 shlibs.override.mysqlcppconn |  1 +
 4 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/changelog b/changelog
index ab00239..1b5475b 100644
--- a/changelog
+++ b/changelog
@@ -10,6 +10,10 @@ libreoffice (1:5.2.3-1) UNRELEASED; urgency=medium
   * debian/control.in:
     - add Breaks: browser-plugin-libreoffice to libreoffice-core
       (closes: #843980)
+  * debian/rules:
+    - enable mysql-connector again now that libmysqlcppconn _and_
+      mysql-workbench are built against mariadb.
+      Bump (Build-)Dependency on libmysqlcppconn to >= 1.1.7-3 to go sure
 
  -- Rene Engelhard <rene at debian.org>  Thu, 03 Nov 2016 19:18:20 +0100
 
diff --git a/control b/control
index 37f079d..8df7076 100644
--- a/control
+++ b/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian LibreOffice Maintainers <debian-openoffice at lists.debian.org>
 Uploaders: Rene Engelhard <rene at debian.org>, Chris Halls <halls at debian.org>
 Build-Depends: ant (>= 1.7.0) [!mips64],
-               ant-optional (>= 1.7.0) [!mips64],
+       ant-optional (>= 1.7.0) [!mips64],
                autoconf,
                automake,
                bc,
@@ -19,6 +19,7 @@ Build-Depends: ant (>= 1.7.0) [!mips64],
                default-jdk (>= 2:1.7-52.1) [kfreebsd-any],
                default-jdk (>= 2:1.8-55) [sparc64],
                default-jdk [!mips64],
+               default-libmysqlclient-dev,
                dh-python,
                dpkg-dev (>= 1.18.2~),
                fastjar,
@@ -4562,6 +4563,22 @@ Description: PostgreSQL SDBC driver for LibreOffice
  LibreOffice without any wrapper layer such as ODBC or JDBC.
 Homepage: http://wiki.documentfoundation.org/PostgreSQL-SDBC
 
+Package: libreoffice-mysql-connector
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386
+Depends: libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Suggests: default-mysql-server | virtual-mysql-server
+Conflicts: libreoffice-common (<< 1:3.5~),
+           libreoffice-core (<< 1:3.5~),
+           ure (<< 1.5.1+OOo3.1.1-15)
+Homepage: http://extensions.services.openoffice.org/en/project/mysql_connector
+Description: MariaDB/MySQL Connector extension for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The MariaDB/MySQL Connector extension allows one to use the MariaDB or MySQL
+ database from LibreOffice without any wrapper layer such as ODBC or JDBC.
+
 Package: libreoffice-evolution
 Architecture: alpha amd64 arm64 armel armhf i386 m68k mips mipsel mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc64 kfreebsd-amd64 kfreebsd-i386 hppa ia64 s390 sparc
 Section: gnome
diff --git a/rules b/rules
index 853cd01..bfdef17 100755
--- a/rules
+++ b/rules
@@ -415,13 +415,13 @@ CPPUNIT_MINVER=0.12
 endif
 DEFAULT_IMAGE=galaxy
 IMAGES:=$(DEFAULT_IMAGE) hicontrast oxygen tango sifr breeze
-ENABLE_MYSQLNATIVE=n
+ENABLE_MYSQLNATIVE=y
 MYSQL_FLAVOUR=default
 # set this also to y for system-mysql..
 SYSTEM_STUFF += mariadb
-#SYSTEM_STUFF += mysql-cppconn
+SYSTEM_STUFF += mysql-cppconn
 ifeq "$(shell dpkg --compare-versions $(SYSTEM_GCC_VERSION) ge 5 && echo true)" "true"
-MYSQLCPPCONN_MINVER= (>= 1.1.3-7)
+MYSQLCPPCONN_MINVER= (>= 1.1.7-3)
 else
 MYSQLCPPCONN_MINVER= (>= 1.1.0~r791)
 endif
@@ -3364,6 +3364,9 @@ endif
 ifeq (,$(filter liblangtag, $(SYSTEM_STUFF)))
 	cat debian/shlibs.override.liblangtag >> debian/shlibs.local
 endif
+ifeq (,$(filter mysqlcppconn, $(SYSTEM_STUFF)))
+	cat debian/shlibs.override.mysqlcppconn >> debian/shlibs.local
+endif
 	# the other way as the above, depend on a newer libcmis to that the
 	# advertised google 2-factor-auth fixes are present
 ifneq (,$(filter libcmis, $(SYSTEM_STUFF)))
diff --git a/shlibs.override.mysqlcppconn b/shlibs.override.mysqlcppconn
new file mode 100644
index 0000000..f696575
--- /dev/null
+++ b/shlibs.override.mysqlcppconn
@@ -0,0 +1 @@
+libmysqlcppconn 7 libmysqlcppconn7v5 (>= 1.1.7-3)

-- 
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