debian/: Ship `symbols' file for better downstream dependency versioning.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 7 Oct 2019 00:13:57 +0000 (01:13 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 7 Oct 2019 00:35:01 +0000 (01:35 +0100)
Makefile.am
debian/libsod.symbols [new file with mode: 0644]
debian/rules

index 3f03a38..6bfe89b 100644 (file)
@@ -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 (file)
index 0000000..3fc2da9
--- /dev/null
@@ -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
index 0f04977..5a407ca 100755 (executable)
@@ -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