Add man page for check-symbols (Thanks to Albert Damen)

This commit is contained in:
Cesare Tirabassi 2007-12-17 00:23:03 +01:00
parent a23532c0fb
commit d335e3f06d
2 changed files with 66 additions and 1 deletions

5
debian/changelog vendored
View File

@ -6,7 +6,10 @@ ubuntu-dev-tools (0.24) UNRELEASED; urgency=low
[ Luke Yelavich ]
* update-maintainer: Default to main if rmadison gives no section output.
-- Luke Yelavich <themuso@ubuntu.com> Sat, 15 Dec 2007 15:48:33 +1100
[ Cesare Tirabassi ]
* Add man page for check-symbols (Thanks to Albert Damen - LP: #174123).
-- Cesare Tirabassi <norsetto@ubuntu.com> Mon, 17 Dec 2007 00:18:09 +0100
ubuntu-dev-tools (0.23) hardy; urgency=low

62
doc/check-symbols.1 Normal file
View File

@ -0,0 +1,62 @@
.\" Title: check-symbols
.\" Author: Albert Damen
.\" Contact details: albrt@gmx.net
.\"
.\" Copyright (C), 2007, Albert Damen
.\"
.\" Permission is granted to copy, distribute and/or modify this document under
.\" the terms of the GNU General Public License version 2.
.\"
.TH "CHECK\-SYMBOLS" "1" "December 9, 2007" "ubuntu-dev-tools"
.SH "NAME"
check\-symbols \- verify symbols exported by a new library version
.\"
.SH "SYNOPSIS"
\fBcheck\-symbols\fP <\fIsource\-package\fR\> [\fIDEBDIR\fR]
.\"
.SH "DESCRIPTION"
To verify the symbols exported by a new library version, run
\fBcheck-symbols\fP with the name of the source package as argument.
\fBcheck-symbols\fP will first determine the symbols exported by the existing
and installed libary version, then install the new libarary and compare the
symbols exported by the new library version with the symbols exported
by the old version. For each of the symbols found, \fBcheck-symbols\fP
will list if the symbol is new, unchanged or has been removed in the
new library version.
.PP
In case the source package contains multiple binary library packages,
all library files in each of the binary packages will be verified.
.PP
\fBcheck\-symbols\fP uses \fBnm\fP -D to determine
the exported symbols of the libraries.
.PP
If no value is given for DEBDIR, the script will assume the new library
deb files are stored in /var/cache/pbuilder/result.
.\"
.SH "EXAMPLES"
.TP
\fBcheck\-symbols\fP telepathy-glib .
.TP
This will:
.RS 2
.TP 2
\(bu Use \fBnm\fP -D to determine the exported symbols of the old,
installed versions of the libraries provided by telepathy\-glib.
.TP 2
\(bu Install the binary libaries provided by the new version of
telepathy\-glib.
.TP 2
\(bu Compare the output of \fBnm\fP -D of the new libraries with the
output of the old version.
.TP 2
\(bu List the result in diff format.
.RE
.\"
.SH "BUGS"
.nf
Please report bugs on:
https://bugs.launchpad.net/ubuntu/+source/ubuntu\-dev\-tools/
.fi
.\"
.SH "SEE ALSO"
.BR nm (1)