# dpkg manual page - deb-symbols(5) # # Copyright © 2007-2012 Raphaël Hertzog # Copyright © 2011, 2013-2015 Guillem Jover # # This is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . =encoding utf8 =head1 NAME deb-symbols - Debian's extended shared library information file =head1 SYNOPSIS B =head1 DESCRIPTION The symbol files are shipped in Debian binary packages, and its format is a subset of the template symbol files used by B(1) in Debian source packages, see L. The format for an extended shared library dependency information entry in these files is: Z<> I I [| I] [...] [* I: I] [...] I I [I] The I is exactly the value of the SONAME field as exported by B(1). A I is a dependency where I<#MINVER#> is dynamically replaced either by a version check like “(E= I)” or by nothing (if an unversioned dependency is deemed sufficient). Each exported I (listed as I@I, with I being “Base” if the library is not versioned) is associated to a I of its dependency template (the main dependency template is always used and will end up being combined with the dependency template referenced by I if present). The first alternative dependency template is numbered 1, the second one 2, etc. Each column is separated by exactly a single whitespace. Each entry for a library can also have some fields of meta-information. Those fields are stored on lines starting with an asterisk. Currently, the only valid fields are: =over =item B It indicates the name of the “-dev” package associated to the library and is used by B to make sure that the dependency generated is at least as strict as the corresponding build dependency (since dpkg 1.14.13). =item B The same as B but accepts a comma-separated list of package names (since dpkg 1.20.0). This field will override any B field present, and is mostly useful with “-dev” packages and metapackages depending on these, say for a transition period. =item B It indicates what internal symbol groups should be ignored, as a whitespace separated list, so that the symbols contained in those groups get included in the output file (since dpkg 1.20.1). This should only be necessary for toolchain packages providing those internal symbols. The available groups are system dependent, for ELF and GNU-based systems these are B and B. =item B A deprecated alias for B (since dpkg 1.20.1, supported since dpkg 1.17.6). =back =head1 EXAMPLES =head2 Simple symbols file libftp.so.3 libftp3 #MINVER# DefaultNetbuf@Base 3.1-1-6 FtpAccess@Base 3.1-1-6 [...] =head2 Advanced symbols file libGL.so.1 libgl1 | libgl1-mesa-glx #MINVER# * Build-Depends-Package: libgl1-mesa-dev publicGlSymbol@Base 6.3-1 [...] implementationSpecificSymbol@Base 6.5.2-7 1 [...] =head1 SEE ALSO L, L, B(1), B(1).