Skip to content

Commit

Permalink
MDEV-5725: mysqld embedded libraries into libmariadbd19 Deb package
Browse files Browse the repository at this point in the history
libmariadbd19 was intended to be added as the package that
included the libmysqld shared library. This was missing
from the debian control file.

The libmariadbd-dev package requires libmariadbd19 to provide
the shared library.

The shared libraries for embedded mysql will go into the libmariadbd18
package rather than the libmariadbd-dev development package.

/usr/bin/mariadb_config is a executable that assists embedded developers
to use the correctly correct header and library files during their
development.

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
  • Loading branch information
grooverdan authored and ottok committed Nov 17, 2016
1 parent 2387c91 commit 7072ca1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
18 changes: 17 additions & 1 deletion debian/control
Expand Up @@ -74,7 +74,8 @@ Architecture: any
Section: libdevel
Provides: libmysqld-dev
Pre-Depends: ${misc:Pre-Depends}
Depends: libmariadbclient-dev (= ${binary:Version}),
Depends: libmariadbd19,
libmariadbclient-dev (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends}
Breaks: libmysqld-dev
Expand All @@ -87,6 +88,21 @@ Description: MariaDB embedded database, development files
.
This package includes the embedded server library development and header files.

Package: libmariadbd19
Architecture: any
Section: libs
Depends: ${misc:Depends}, ${shlibs:Depends}
Multi-Arch: same
Breaks: libmariadbd-dev (<< ${source:Version}), libmysqld-dev
Replaces: libmariadbd-dev (<< ${source:Version}), libmysqld-dev
Description: MariaDB embedded database, shared library
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 a shared library for embedded MariaDB applications

Package: libmariadbclient-dev
Architecture: any
Section: libdevel
Expand Down
2 changes: 1 addition & 1 deletion debian/libmariadbd-dev.install
@@ -1,2 +1,2 @@
usr/lib/*/libmysqld.a
usr/lib/*/libmysqld.so
usr/bin/mariadb_config
1 change: 0 additions & 1 deletion debian/libmariadbd18.install

This file was deleted.

1 change: 1 addition & 0 deletions debian/libmariadbd19.install
@@ -0,0 +1 @@
usr/lib/*/libmysqld.so*

0 comments on commit 7072ca1

Please sign in to comment.