From 5fcc98348b560f1e40261044d59048d2c4ff016f Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 7 Oct 2019 01:13:57 +0100 Subject: [PATCH] debian/: Ship `symbols' file for better downstream dependency versioning. --- Makefile.am | 1 + debian/libsod.symbols | 30 ++++++++++++++++++++++++++++++ debian/rules | 3 +++ 3 files changed, 34 insertions(+) create mode 100644 debian/libsod.symbols diff --git a/Makefile.am b/Makefile.am index 3f03a38..6bfe89b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -65,6 +65,7 @@ EXTRA_DIST += debian/compat ## libsod EXTRA_DIST += debian/libsod.install +EXTRA_DIST += debian/libsod.symbols ## libsod-dev EXTRA_DIST += debian/libsod-dev.install diff --git a/debian/libsod.symbols b/debian/libsod.symbols new file mode 100644 index 0000000..3fc2da9 --- /dev/null +++ b/debian/libsod.symbols @@ -0,0 +1,30 @@ +### -*-conf-*- + +libsod.so.0 libsod #MINVER# +* Build-Depends-Package: libsod-dev + +## kw + kw_parseempty@Base 0.2.99~ + kw_unknown@Base 0.2.99~ + kw_unkhook@Base 0.2.99~ + kw_defunknown@Base 0.2.99~ + kw__hookfailed@Base 0.2.99~ + +## sod + sod_init@Base 0.2.99~ + sod_initv@Base 0.2.99~ + sod_teardown@Base 0.2.99~ + sod_subclassp@Base 0.2.0 + sod_convert@Base 0.2.0 + sod_make@Base 0.2.99~ + sod_makev@Base 0.2.99~ + sod_destroy@Base 0.2.99~ + sod__chksz_fail@Base 0.2.99~ + +## SodObject + SodObject__classobj@Base 0.2.0 + SodObject__vtable_obj@Base 0.2.0 + +## SodClass + SodClass__classobj@Base 0.2.0 + SodClass__vtable_obj@Base 0.2.0 diff --git a/debian/rules b/debian/rules index 0f04977..5a407ca 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,9 @@ override_dh_auto_clean: rm -rf debian/build/cache rm -f doc/*.pdf +## Check that the shared-library symbols are plausible. +override_dh_makeshlibs:; dh_makeshlibs -- -c4 + ## Don't strip the main executable. (It doesn't work, and you get left with ## a bare SBCL.) override_dh_strip:; dh_strip -Xusr/bin/sod -- 2.11.0