man-pages/man1/dh_girepository.1.html
2021-03-31 01:06:50 +01:00

116 lines
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DH_GIREPOSITORY</TITLE>
</HEAD><BODY>
<H1>DH_GIREPOSITORY</H1>
Section: gobject-introspection (1)<BR>Updated: 2020-05-04<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
dh_girepository - compute dependencies for GObject introspection packages
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>dh_girepository</B> [<I>debhelper options</I>] [-l<I>directory</I>] [-p<I>directory</I>] [-X<I>item</I>] [<I>private [...]</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
dh_girepository is a debhelper program to compute dependencies for packages
shipping GObject introspection data.
<P>
The dependencies are generated in the ${gir:Depends} substitution variable.
<P>
The minimal version of the generated dependencies is calculated by looking
first at the version of the packages declared in the build-dependencies of the
building package. If a package is not declared in the build-dependencies, the
minimal version of that package is calculated by looking at the version of the
package containing the corresponding .gir file defined in the
build-dependencies.
<P>
Note that dh_girepository will not be executed automatically by dh; you
need to use <TT>&quot;dh $@ --with gir&quot;</TT> for <TT>&quot;dh&quot;</TT> to include it.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-l</B><I>directory</I><DD>
Specify a directory (or a colon-separated list of directories) where to look
for the .gir <FONT SIZE="-1">XML</FONT> files that were used to generate the .typelib files that
are scanned. This option is only necessary if those files are not shipped in
another, architecture-dependent package.
<DT id="2"><B>-p</B><I>directory</I><DD>
Specify a directory (or a colon-separated list of directories) where to look
for the dependencies. This is useful when a dependency ships the .typelib
in a private directory.
<DT id="3"><B>-X</B><I>item</I><DD>
Exclude files that contain <I>item</I> anywhere in their filename from being
analyzed.
<DT id="4"><I>private [...]</I> List of directories where to look for typelibs and the corresponding .gir files. Useful when the package installs its typelibs in a private directory, such as /usr/lib/&lt;package&gt;. Library dependencies are also looked there, in case your typelib depends on a library that you ship on a private directory.<DD>
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>CONFORMS TO</H2>
GObject introspection mini policy as of 2011-03-30.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7)
<P>
This program is a part of gobject-introspection but is made to work with
debhelper.
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Josselin Mouette &lt;<A HREF="mailto:joss@debian.org">joss@debian.org</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="9"><A HREF="#lbAF">CONFORMS TO</A><DD>
<DT id="10"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="11"><A HREF="#lbAH">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:10 GMT, March 31, 2021
</BODY>
</HTML>