Debian Codegraph @

man1/pkgkde-gensymbols.1

raw
1 .TH PKGKDE\-GENSYMBOLS 1 "2015-04-18" "0.15" "Debian KDE dpkg-gensymbols wrapper"
2 .SH NAME
3 .B pkgkde\-gensymbols
4 \- a helper tool for Debian pkg-kde symbols files.
5 .SH SYNOPSIS
6 .B pkgkde\-gensymbols
7 [\fB
8 .P
9 .SH DESCRIPTION
10 .B pkgkde-gensymbols
11 is a wrapper around dpkg-gensymbols that provides additional support
12 for tracking C++ symbols such as template instantiated symbols.
13 See
14 .BR dpkg\-gensymbols (1)
15 for more information about maintaining symbols files.
16 .P
17 .SH OPTIONS
18 .TP
19 .BI \-P package-build-dir
20 Scan \fIpackage-build-dir\fR instead of debian/tmp.
21 .TP
22 .BI \-p package
23 Define the package name. Required if more than one binary package is listed in
24 debian/control (or if there's no debian/control file).
25 .TP
26 .BI \-v version
27 Define the package version. Defaults to the version extracted from
28 debian/changelog. Required if called outside of a source package tree.
29 .TP
30 .BI \-e library-file
31 Only analyze libraries explicitly listed instead of finding all public
32 libraries. You can use shell patterns used for pathname expansions (see
33 the \fBFile::Glob\fP(3perl) manual page for details) in \fIlibrary-file\fR
34 to match multiple libraries with a single argument (otherwise you need
35 multiple \fB\-e\fR).
36 .TP
37 .BI \-I filename
38 Use \fIfilename\fR as reference file to generate the symbols file
39 that is integrated in the package itself.
40 .TP
41 .BR \-O [\fIfilename\fP]
42 Print the generated symbols file to standard output or to \fIfilename\fR
43 if specified, rather than to
44 .B debian/tmp/DEBIAN/symbols
45 (or
46 .IB package-build-dir /DEBIAN/symbols
47 if
48 .B \-P
49 was used). If \fIfilename\fR is pre-existing, its contents are used as
50 basis for the generated symbols file.
51 You can use this feature to update a symbols file so that it matches a
52 newer upstream version of your library.
53 .TP
54 .BI \-t
55 Write the symbol file in template mode rather than the format compatible with
56 \fBdeb\-symbols\fP(5). The main difference is that in the template mode symbol
57 names and tags are written in their original form contrary to the
58 post-processed symbol names with tags stripped in the compatibility mode.
59 Moreover, some symbols might be omitted when writing a standard
60 \fBdeb\-symbols\fP(5) file (according to the tag processing rules) while all
61 symbols are always written to the symbol file template.
62 .TP
63 .BI \-c [0-4]
64 Define the checks to do when comparing the generated symbols file with the
65 template file used as starting point. By default the level is 1. Increasing
66 levels do more checks and include all checks of lower levels. Level 0 never
67 fails. Level 1 fails if some symbols have disappeared. Level 2 fails if some
68 new symbols have been introduced. Level 3 fails if some libraries have
69 disappeared. Level 4 fails if some libraries have been introduced.
70
71 This value can be overridden by the environment variable
72 .BR DPKG_GENSYMBOLS_CHECK_LEVEL .
73 .TP
74 .BI \-q
75 Keep quiet and never generate a diff between generated symbols file and the
76 template file used as starting point or show any warnings about new/lost
77 libraries or new/lost symbols. This option only disables informational output
78 but not the checks themselves (see \fB\-c\fP option).
79 .TP
80 .BI \-a arch
81 Assume \fIarch\fR as host architecture when processing symbol files. Use this
82 option to generate a symbol file or diff for any architecture provided its
83 binaries are already available.
84 .TP
85 .BI \-d
86 Enable debug mode. Numerous messages are displayed to explain what
87 .B dpkg\-gensymbols
88 does.
89 .TP
90 .BI \-V
91 Enable verbose mode. The generated symbols file contains deprecated
92 symbols as comments. Furthermore in template mode, pattern symbols
93 are followed by comments listing real symbols that have matched the
94 pattern.
95 .TP
96 .BR \-? ", " \-\-help
97 Show the usage message and exit.
98 .TP
99 .BR \-\-version
100 Show the version and exit.
101 .SH NOTES
102 This man page was based on the pkg-kde symbols file help page and
103 the
104 .BR dpkg-gensymbols (1)
105 man page.
106 .SH SEE ALSO
107 .BR https://qt-kde-team.pages.debian.net/symbolfiles.html
108 .br
109 .BR https://people.redhat.com/drepper/symbol\-versioning
110 .br
111 .BR https://people.redhat.com/drepper/goodpractice.pdf
112 .br
113 .BR https://people.redhat.com/drepper/dsohowto.pdf
114 .br
115 .BR dpkg\-gensymbols (1),
116 .BR deb\-symbols (5),
117 .BR dpkg\-shlibdeps (1).