2000-02-22 00:29:00 +00:00
|
|
|
<appendix id="compiling">
|
2000-10-09 17:22:20 +00:00
|
|
|
<title>Compiling the &gdk-pixbuf; library</title>
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
<para>
|
|
|
|
This appendix describes the special options you can use while
|
2000-10-09 17:22:20 +00:00
|
|
|
compiling the &gdk-pixbuf; library.
|
2000-02-22 00:29:00 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<sect1 id="building">
|
|
|
|
<title>Building the Library</title>
|
|
|
|
<para>
|
2000-10-09 17:22:20 +00:00
|
|
|
The &gdk-pixbuf; library uses the standard GNU build system,
|
|
|
|
using <application>autoconf</application> for package
|
|
|
|
configuration and resolving portability issues,
|
2000-04-13 01:18:41 +00:00
|
|
|
<application>automake</application> for building makefiles
|
2000-02-22 00:29:00 +00:00
|
|
|
that comply with the GNU Coding Standards, and
|
2000-04-13 01:18:41 +00:00
|
|
|
<application>libtool</application> for building shared
|
2000-02-22 00:29:00 +00:00
|
|
|
libraries on multiple platforms. The normal sequence for
|
2000-10-09 17:22:20 +00:00
|
|
|
compiling and installing the &gdk-pixbuf; library is thus:
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
<literallayout>
|
|
|
|
<userinput>./configure</userinput>
|
|
|
|
<userinput>make</userinput>
|
|
|
|
<userinput>make install</userinput>
|
|
|
|
</literallayout>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
2000-04-13 01:18:41 +00:00
|
|
|
The standard options provided by <application>GNU
|
|
|
|
autoconf</application> may be passed to the
|
2000-02-22 00:29:00 +00:00
|
|
|
<command>configure</command> script. Please see the
|
2000-04-13 01:18:41 +00:00
|
|
|
<application>autoconf</application> documentation or run
|
2000-02-22 00:29:00 +00:00
|
|
|
<command>./configure --help</command> for information about
|
|
|
|
the standard options.
|
|
|
|
</para>
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
<sect1 id="extra-configuration-options">
|
|
|
|
<title>Extra Configuration Options</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
In addition to the normal options, the
|
2000-10-09 17:22:20 +00:00
|
|
|
<command>configure</command> script in the &gdk-pixbuf;
|
|
|
|
library supports these additional arguments:
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>configure</command>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<arg>--disable-modules</arg>
|
|
|
|
<arg>--enable-modules</arg>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<arg>--disable-gtk-doc</arg>
|
|
|
|
<arg>--enable-gtk-doc</arg>
|
|
|
|
</group>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
<title><systemitem>--disable-modules</systemitem> and
|
|
|
|
<systemitem>--enable-modules</systemitem></title>
|
|
|
|
|
|
|
|
<para>
|
2000-10-09 17:22:20 +00:00
|
|
|
Normally &gdk-pixbuf; will try to build the image file
|
|
|
|
format loaders as little shared libraries that are loaded on
|
|
|
|
demand. The <systemitem>--disable-modules</systemitem>
|
|
|
|
argument indicates that they should all be built statically
|
|
|
|
into the &gdk-pixbuf; library instead. This is useful for
|
|
|
|
people who need to produce statically-linked binaries. If
|
|
|
|
neither <systemitem>--disable-modules</systemitem> nor
|
2000-02-22 00:29:00 +00:00
|
|
|
<systemitem>--enable-modules</systemitem> is specified, then
|
|
|
|
the <command>configure</command> script will try to
|
|
|
|
auto-detect whether shared modules work on your system.
|
|
|
|
</para>
|
|
|
|
</formalpara>
|
|
|
|
|
|
|
|
<formalpara>
|
|
|
|
<title><systemitem>--disable-gtk-doc</systemitem> and
|
|
|
|
<systemitem>--enable-gtk-doc</systemitem></title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
By default the <command>configure</command> script will try
|
|
|
|
to auto-detect whether the
|
2000-04-13 01:18:41 +00:00
|
|
|
<application>gtk-doc</application> package is installed. If
|
2000-02-22 00:29:00 +00:00
|
|
|
it is, then it will use it to extract and build the
|
2000-10-09 17:22:20 +00:00
|
|
|
documentation for the &gdk-pixbuf; library. These options
|
|
|
|
can be used to explicitly control whether gtk-doc should be
|
|
|
|
used or not. If it is not used, the distributed,
|
|
|
|
pre-generated HTML files will be installed instead of
|
|
|
|
building them on your machine.
|
2000-02-22 00:29:00 +00:00
|
|
|
</para>
|
|
|
|
</formalpara>
|
|
|
|
</sect1>
|
|
|
|
</appendix>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-parent-document: ("gdk-pixbuf.sgml" "book" "book" "")
|
|
|
|
End:
|
|
|
|
-->
|