summaryrefslogtreecommitdiff
path: root/mysql-client/README-DEV
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-03-01 23:26:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-07 14:25:58 +0300
commit176d224b694b4f6ec2933fc9b8e3b76043659744 (patch)
treeb19c272941adef7fcdc7d2e4ee2d55d9c7235908 /mysql-client/README-DEV
parent0f00acbca40c056dcbba89423ac88dd819d222d9 (diff)
Release version 8.0.15+13v8.0.15+13
Add mysql-client package. Minor cleanups of the libmysqlclient library.
Diffstat (limited to 'mysql-client/README-DEV')
-rw-r--r--mysql-client/README-DEV15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-client/README-DEV b/mysql-client/README-DEV
new file mode 100644
index 0000000..6259c46
--- /dev/null
+++ b/mysql-client/README-DEV
@@ -0,0 +1,15 @@
+This document describes how the mysql utility was packaged for build2. In
+particular, this understanding will be useful when upgrading to a new upstream
+version. See ../README-DEV for general notes on MySQL packaging.
+
+Symlink the required upstream components:
+
+$ ln -s ../upstream/LICENSE
+
+$ mkdir -p mysql/{client,downstream}
+$ ln -s ../../../upstream/client/{{mysql,readline,completion_hash,pattern_matcher}.cc,{client_priv,my_readline,pattern_matcher,completion_hash}.h} mysql/client
+$ ln -s ../../libmysqlclient/mysql/{my_config,mysqld_error}.h mysql/
+$ ln -s ../../upstream/{include,libbinlogevents} mysql/
+
+Create mysql/downstream/mysql_version.h, so it can be found when included as
+"mysql_version.h" (which, for example, mysql.h does).