[dconf/wip/reorg: 523/523] gsettings/: add an abicheck.sh script



commit cf31cc34f41ba2e70fd28e563f073898cad693be
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Jul 8 22:41:12 2012 -0400

    gsettings/: add an abicheck.sh script
    
    Make sure no unexpected symbols are leaking out.

 gsettings/Makefile.am |    3 +++
 gsettings/abicheck.sh |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index 929536a..8b372ee 100644
--- a/gsettings/Makefile.am
+++ b/gsettings/Makefile.am
@@ -26,3 +26,6 @@ install-data-hook:
 	if test -z "$(DESTDIR)" -a "$(gio_QUERYMODULES)" != "no" ; then \
 	  $(gio_QUERYMODULES) $(giomodulesdir) ;  \
 	fi
+
+TESTS = abicheck.sh
+EXTRA_DIST = abicheck.sh
diff --git a/gsettings/abicheck.sh b/gsettings/abicheck.sh
new file mode 100755
index 0000000..c7b8154
--- /dev/null
+++ b/gsettings/abicheck.sh
@@ -0,0 +1,2 @@
+nm --dynamic --defined-only libdconfsettings.so > public-abi
+test "`cat public-abi | cut -f 3 -d ' ' | grep -v ^_ | grep -v ^g_io_module | wc -l`" -eq 0 && rm public-abi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]