summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-10-29 08:30:14 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-10-29 08:30:14 +0100
commit2ed1832b49dbf41c317ee821734cfb66bb34ed9d (patch)
treefbd0ea2bee77bdc10d52fdf9bcd0dab99e7e62ac
parent314c5d77edcb6fb902aa1ddd27e2a3cb28d7b4ff (diff)
build: increase version to 3
We used to provide libtsm as part of kmscon. To avoid any compatibility problems, increase the library version to 3 (same for symbol versions). This way, old libtsm libraries will not be linked to by new programs. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
-rw-r--r--Makefile.am2
-rw-r--r--docs/libtsm.sym13
2 files changed, 11 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 898caca..2c5388b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,7 @@
# Library Version Numbers
#
-LIBTSM_CURRENT = 1
+LIBTSM_CURRENT = 3
LIBTSM_REVISION = 0
LIBTSM_AGE = 0
diff --git a/docs/libtsm.sym b/docs/libtsm.sym
index 63d2cda..3593646 100644
--- a/docs/libtsm.sym
+++ b/docs/libtsm.sym
@@ -26,9 +26,18 @@
LIBTSM_1 {
global:
tsm_ucs4_get_width;
+local:
+ *;
+};
+
+LIBTSM_2 {
+global:
tsm_ucs4_to_utf8;
tsm_ucs4_to_utf8_alloc;
+} LIBTSM_1;
+LIBTSM_3 {
+global:
tsm_screen_new;
tsm_screen_ref;
tsm_screen_unref;
@@ -102,6 +111,4 @@ global:
tsm_vte_hard_reset;
tsm_vte_input;
tsm_vte_handle_keyboard;
-local:
- *;
-};
+} LIBTSM_2;