[debian-mysql] [PATCH] libmariadbclient-dev: adding new package install target

Otto Kekäläinen otto at seravo.fi
Tue Oct 27 10:51:05 UTC 2015


Hello!

This binary package was on purpose removed from the MariaDB packaging,
as I was told by senior DDs that it is against policy to ship two
versions of the same libmysqlclient.so

The last commit regarding this issue was
http://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/commit/?id=24ed76b33cb076ef886b9637d96aa310cb8efa88

Searching the git log of mariadb-10.0 and mariadb-5.5 you can find
more. Also there is some discussion about this in the mailing list
archives and on the team wiki page. Sorry I don't have time to list
all the details, but I think a quick reply on the main issue will be
helpful for you here.

Current recommendation is to build against libmariadb2 instead from
https://tracker.debian.org/pkg/mariadb-client-lgpl


2015-10-27 12:41 GMT+02:00 Carsten Schoenert <c.schoenert at t-online.de>:
> Currently there will be no public headers and needed libraries for
> building own packages against mariadb client functions within a package
> created.
> libmariadbclient-dev is the compliment to the old libmysqlclient-dev
> package from the mysql source package. For building and linking
> applications that using the functions from the mariadb client side the
> packaged headers and libraries are needed.
>
> Signed-off-by: Carsten Schoenert <c.schoenert at t-online.de>
> ---
>  debian/control                      | 13 +++++++++++++
>  debian/libmariadbclient-dev.install |  8 ++++++++
>  2 files changed, 21 insertions(+)
>  create mode 100644 debian/libmariadbclient-dev.install
>
> diff --git a/debian/control b/debian/control
> index 9f02a21..11c57ff 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -56,6 +56,19 @@ Description: MariaDB embedded database, development files
>   .
>   This package includes the embedded server library development and header files.
>
> +Package: libmariadbclient-dev
> +Architecture: any
> +Depends: libmariadbd18 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
> +Breaks: libmysqlclient-dev
> +Replaces: libmysqlclient-dev
> +Description: MariaDB database, client development files
> + MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
> + server. SQL (Structured Query Language) is the most popular database query
> + language in the world. The main goals of MariaDB are speed, robustness and
> + ease of use.
> + .
> + This package includes development libraries and header files.
> +
>  Package: mariadb-common
>  Architecture: all
>  Depends: mysql-common (>= 5.6.25), ${misc:Depends}
> diff --git a/debian/libmariadbclient-dev.install b/debian/libmariadbclient-dev.install
> new file mode 100644
> index 0000000..7333a53
> --- /dev/null
> +++ b/debian/libmariadbclient-dev.install
> @@ -0,0 +1,8 @@
> +usr/bin/mysql_config
> +usr/include/mysql
> +usr/lib/*/libmysqlservices.a
> +usr/lib/*/libmysqlclient.a
> +usr/lib/*/libmysqlclient.so
> +usr/lib/*/libmysqlclient_r.so
> +usr/lib/*/libmysqlclient_r.a
> +#usr/share/pkgconfig/mariadb.pc
> --
> 2.6.1
>
>
> _______________________________________________
> pkg-mysql-maint mailing list
> pkg-mysql-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mysql-maint



-- 
Check out our blog at http://seravo.fi/blog
and follow @ottokekalainen



More information about the pkg-mysql-maint mailing list