Package: mariadb-client-lgpl / 2.0.0-1

Metadata

Package Version Patches format
mariadb-client-lgpl 2.0.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
lib_install_dir.patch | (download)

CMakeLists.txt | 6 6 + 0 - 0 !
libmariadb/CMakeLists.txt | 8 4 + 4 - 0 !
mariadb_config/mariadb_config.c.in | 2 1 + 1 - 0 !
3 files changed, 11 insertions(+), 5 deletions(-)

 make the library install path configurable
 The upstream sources unconditionally install to
 CMAKE_INSTALL_PREFIX/lib/mariadb, whereas we want to install to
 /usr/lib/$(DEB_HOST_MULTIARCH).  This patch creates a new option
 LIB_INSTALL_DIR for the installation directory which debian/rules then sets
 accordingly.
rename_static_lib.patch | (download)

libmariadb/CMakeLists.txt | 9 8 + 1 - 0 !
1 file changed, 8 insertions(+), 1 deletion(-)

 rename static library from libmariadbclient.a to libmariadb.a
 The upstream build system creates libmariadb.so.2, but the static library
 is libmariadbclient.a -- which incidentally conflicts with the GPL client
 library included with MariaDB.  This fixes the static library naming to be
 consistent.  Also, for the purposes of submitting to upstream, on Windows
 systems where having the same name would create conflicts between the DLL
 stub library and the static library, it renames the static library to
 libmariadb_static.lib.
fix_mariadb_config_cflags.patch | (download)

mariadb_config/mariadb_config.c.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix mariadb_config --cflags output
 Without this patch, the output starts with something like
 "-I/usr/include/mariadb-g -O2".  This fixes the output to put a space
 between the -I parameter and -g.
no_install_buildsystem_files.patch | (download)

libmariadb/CMakeLists.txt | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 avoid installing build system files into /usr/include
debian_no_indirect_dependencies.patch | (download)

mariadb_config/mariadb_config.c.in | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 exclude indirect dependencies from mariadb_config --libs output
 On Debian systems, listing the libraries that libmariadb.so.2 is linked
 against in the output of mariadb_config --libs is inappropriate; so this
 patch removes those libraries from the output.