]> git.donarmstrong.com Git - debian/debian-policy.git/commit
Clarifications to symbols and shlibs policy
authorJonathan Nieder <jrnieder@gmail.com>
Sun, 12 Aug 2012 20:43:50 +0000 (13:43 -0700)
committerRuss Allbery <rra@debian.org>
Sun, 12 Aug 2012 20:43:50 +0000 (13:43 -0700)
commitb19fb874de1a4913125c5be18b244e596cf7e847
tree1ad9e47136fc73289f4fe4a22b91b88be2434d47
parent28ec95b89d5f29d1aaa54b990a0dc9d10301ef1a
Clarifications to symbols and shlibs policy

subject/verb agreement: s/provide/provides/

Packages with libraries or binaries linking to a shared library must
use symbols or shlibs files to compute their dependencies.  Packages
that dlopen() a shared library should do so as well, but since that
is not typical practice and the tools to do that don't exist, it is
not made a policy "must" yet.

The minimal version for a symbol can be bumped after the version of
the package in which the symbol was introduced.

Add a footnote explaining why shlibs files cannot be used for
libraries with unusual sonames.

The shlibs file for a library udeb goes in the corresponding deb.

The library deb corresponding to a udeb is supposed to provide a
shlibs file, rather than consuming (using) one.

Add "for example" when talking about dpkg-shlibdeps -T.  This is
just an illustration and not meant to be normative.

If a library is used both directly and indirectly, the direct
dependency still needs to be declared.

Backward-compatibility is defined in terms of what reasonable
programs and libraries need.

In the normal case, symbols files go in dpkg's admindir as package
control files.

wording fix: "dependency on" avoids some of the ambiguity in
"dependency of".
policy.sgml