mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 13:02:35 +08:00
0f690395ed
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9477 af4574ff-66df-0310-9fd7-8a98e5e911e0
193 lines
7.0 KiB
XML
193 lines
7.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY gdk-pixbuf-download-http "&gnome-download-http;/gdk-pixbuf/2.24/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
|
<!ENTITY gdk-pixbuf-download-ftp "&gnome-download-ftp;/gdk-pixbuf/2.24/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
|
<!ENTITY gdk-pixbuf-md5sum "bd7c2a9d23b573db467e39833f12103d">
|
|
<!ENTITY gdk-pixbuf-size "1.1 MB">
|
|
<!ENTITY gdk-pixbuf-buildsize "22 MB">
|
|
<!ENTITY gdk-pixbuf-time "0.2 SBU">
|
|
]>
|
|
|
|
<sect1 id="gdk-pixbuf" xreflabel="gdk-pixbuf-&gdk-pixbuf-version;">
|
|
<?dbhtml filename="gdk-pixbuf.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>gdk-pixbuf-&gdk-pixbuf-version;</title>
|
|
|
|
<indexterm zone="gdk-pixbuf">
|
|
<primary sortas="a-gdk-pixbuf">gdk-pixbuf</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to gdk-pixbuf</title>
|
|
|
|
<para>The <application>gdk-pixbuf</application> library is a toolkit for
|
|
image loading and pixel buffer manipulation. It is used by gtk+-2 and
|
|
gtk+-3 to load and manipulate images. In the past it was distributed as
|
|
part of gtk+-2 but it was split off into a separate package in preparation
|
|
for the change to gtk+-3.</para>
|
|
|
|
&lfs70_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&gdk-pixbuf-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&gdk-pixbuf-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &gdk-pixbuf-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &gdk-pixbuf-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &gdk-pixbuf-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &gdk-pixbuf-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">gdk-pixbuf Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="pkgconfig"/></para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended"><xref linkend="libtiff"/>,
|
|
<xref linkend="libjpeg"/> and <xref linkend="libpng"/></para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="gobject-introspection"/>
|
|
(required if you want to build <xref linkend="gnome"/>),
|
|
<xref linkend="jasper"/> and <xref linkend="gtk-doc"/> (to rebuild the
|
|
documentation)</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/gdk-pixbuf"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of gdk-pixbuf</title>
|
|
|
|
<para>Install <application>gdk-pixbuf</application> by running the
|
|
following commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem>
|
|
user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><option>--with-libjasper</option>: If you've installed
|
|
<xref linkend="jasper"/> and you want gdk-pixbuf to use it to compile a
|
|
JPEG2000 image loader, pass this option to configure.</para>
|
|
|
|
<para><option>--without-libjpeg</option>: If you've not installed
|
|
<xref linkend="libjpeg"/> and you want to install gdk-pixbuf without jpeg
|
|
support, pass this option to configure.</para>
|
|
|
|
<para><option>--without-libpng</option>: If you've not installed
|
|
<xref linkend="libpng"/> and you want to install gdk-pixbuf without png
|
|
support, pass this option to configure.</para>
|
|
|
|
<para><option>--without-libtiff</option>: If you've not installed
|
|
<xref linkend="libtiff"/> and you want to install gdk-pixbuf without tiff
|
|
support, pass this option to configure.</para>
|
|
|
|
<para><option>--enable-gtk-doc</option>: Use this option if you want to
|
|
force it to rebuild the documentation.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>gdk-pixbuf-csource and gdk-pixbuf-query-loaders</seg>
|
|
<seg>libgdk_pixbuf-2.0.so and libgdk_pixbuf_xlib-2.0.so</seg>
|
|
<seg>/usr/include/gdk-pixbuf-2.0, /usr/lib/gdk-pixbuf-2.0 and
|
|
/usr/share/gtk-doc/html/gdk-pixbuf</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gdk-pixbuf-csource">
|
|
<term><command>gdk-pixbuf-csource</command></term>
|
|
<listitem>
|
|
<para>is a small utility that generates C code containing images,
|
|
used for compiling images directly into programs.</para>
|
|
<indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
|
|
<primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gdk-pixbuf-query-loaders">
|
|
<term><command>gdk-pixbuf-query-loaders</command></term>
|
|
<listitem>
|
|
<para>collects information about loadable modules for gdk-pixbuf and
|
|
writes it to the default cache file location, or to stdout.</para>
|
|
<indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
|
|
<primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libgdk_pixbuf-2.0">
|
|
<term><filename class='libraryfile'>libgdk_pixbuf-2.0.so</filename></term>
|
|
<listitem>
|
|
<para>contains functions that load and render images.</para>
|
|
<indexterm zone="gdk-pixbuf libgdk_pixbuf-2.0">
|
|
<primary sortas="c-libgdk_pixbuf-2.0">libgdk_pixbuf-2.0.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libgdk_pixbuf_xlib-2.0">
|
|
<term><filename class='libraryfile'>libgdk_pixbuf_xlib-2.0.so</filename></term>
|
|
<listitem>
|
|
<para>contains functions that manipulate images and interfaces with
|
|
xlib.</para>
|
|
<indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2.0">
|
|
<primary sortas="c-libgdk_pixbuf_xlib-2.0">libgdk_pixbuf_xlib-2.0.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|