[ec41aad] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[244af838] | 7 | <!ENTITY gdk-pixbuf-download-http
|
---|
| 8 | "&gnome-download-http;/gdk-pixbuf/2.26/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
| 9 | <!ENTITY gdk-pixbuf-download-ftp
|
---|
| 10 | "&gnome-download-ftp;/gdk-pixbuf/2.26/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
[b8a081c] | 11 | <!ENTITY gdk-pixbuf-md5sum "82197921c651a81ae28178aa9adfc0e6">
|
---|
| 12 | <!ENTITY gdk-pixbuf-size "1.2 MB">
|
---|
[0913f48] | 13 | <!ENTITY gdk-pixbuf-buildsize "25 MB">
|
---|
[ec41aad] | 14 | <!ENTITY gdk-pixbuf-time "0.2 SBU">
|
---|
| 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="gdk-pixbuf" xreflabel="gdk-pixbuf-&gdk-pixbuf-version;">
|
---|
| 18 | <?dbhtml filename="gdk-pixbuf.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
[4949485e] | 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
[ec41aad] | 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>gdk-pixbuf-&gdk-pixbuf-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="gdk-pixbuf">
|
---|
| 28 | <primary sortas="a-gdk-pixbuf">gdk-pixbuf</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[244af838] | 32 | <title>Introduction to Gdk-Pixbuf</title>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
| 35 | The <application>Gdk-Pixbuf</application> library is a toolkit for image
|
---|
| 36 | loading and pixel buffer manipulation. It is used by
|
---|
| 37 | <application>Gtk 2</application> and <application>Gtk 3</application> to
|
---|
| 38 | load and manipulate images. In the past it was distributed as part of
|
---|
| 39 | <application>Gtk 2</application> but it was split off into a separate
|
---|
| 40 | package in preparation for the change to <application>Gtk 3</application>.
|
---|
| 41 | </para>
|
---|
[ec41aad] | 42 |
|
---|
[4c77a949] | 43 | &lfs71_checked;
|
---|
[ec41aad] | 44 |
|
---|
| 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing="compact">
|
---|
| 47 | <listitem>
|
---|
[244af838] | 48 | <para>
|
---|
| 49 | Download (HTTP): <ulink url="&gdk-pixbuf-download-http;"/>
|
---|
| 50 | </para>
|
---|
[ec41aad] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[244af838] | 53 | <para>
|
---|
| 54 | Download (FTP): <ulink url="&gdk-pixbuf-download-ftp;"/>
|
---|
| 55 | </para>
|
---|
[ec41aad] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[244af838] | 58 | <para>
|
---|
| 59 | Download MD5 sum: &gdk-pixbuf-md5sum;
|
---|
| 60 | </para>
|
---|
[ec41aad] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[244af838] | 63 | <para>
|
---|
| 64 | Download size: &gdk-pixbuf-size;
|
---|
| 65 | </para>
|
---|
[ec41aad] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[244af838] | 68 | <para>
|
---|
| 69 | Estimated disk space required: &gdk-pixbuf-buildsize;
|
---|
| 70 | </para>
|
---|
[ec41aad] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[244af838] | 73 | <para>
|
---|
| 74 | Estimated build time: &gdk-pixbuf-time;
|
---|
| 75 | </para>
|
---|
[ec41aad] | 76 | </listitem>
|
---|
| 77 | </itemizedlist>
|
---|
| 78 |
|
---|
[244af838] | 79 | <bridgehead renderas="sect3">Gdk-Pixbuf Dependencies</bridgehead>
|
---|
[ec41aad] | 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 82 | <para role="required">
|
---|
| 83 | <xref linkend="libjpeg"/>,
|
---|
| 84 | <xref linkend="libpng"/>,
|
---|
[244af838] | 85 | <xref linkend="libtiff"/> and
|
---|
| 86 | <xref linkend="pkgconfig"/>.
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
| 91 | <xref linkend="xorg7-lib"/>. <emphasis>Many</emphasis>
|
---|
| 92 | <application>Gtk</application> applications <emphasis>require</emphasis>
|
---|
| 93 | gdk-pixbuf-xlib.
|
---|
[b8a081c] | 94 | </para>
|
---|
[ec41aad] | 95 |
|
---|
[4c2be438] | 96 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 97 | <para role="optional">
|
---|
| 98 | <xref linkend="gobject-introspection"/>
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
[ec41aad] | 101 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b7a80c66] | 102 | <para role="optional">
|
---|
| 103 | <xref linkend="jasper"/> and
|
---|
| 104 | <xref linkend="gtk-doc"/>
|
---|
| 105 | </para>
|
---|
[ec41aad] | 106 |
|
---|
[244af838] | 107 | <para condition="html" role="usernotes">
|
---|
| 108 | User Notes: <ulink url="&blfs-wiki;/gdk-pixbuf"/>
|
---|
| 109 | </para>
|
---|
[ec41aad] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="installation">
|
---|
[244af838] | 113 | <title>Installation of Gdk-Pixbuf</title>
|
---|
[ec41aad] | 114 |
|
---|
[244af838] | 115 | <para>
|
---|
| 116 | Install <application>Gdk-Pixbuf</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
[ec41aad] | 119 |
|
---|
[0913f48] | 120 | <screen><userinput>./configure --prefix=/usr --with-x11 &&
|
---|
[ec41aad] | 121 | make</userinput></screen>
|
---|
| 122 |
|
---|
[244af838] | 123 | <para>
|
---|
| 124 | To test the results, issue: <command>make check</command>.
|
---|
| 125 | </para>
|
---|
[ec41aad] | 126 |
|
---|
[244af838] | 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
[ec41aad] | 130 |
|
---|
| 131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="commands">
|
---|
| 135 | <title>Command Explanations</title>
|
---|
| 136 |
|
---|
[244af838] | 137 | <para>
|
---|
| 138 | <option>--with-x11</option>: This switch enables building of the
|
---|
| 139 | <application>Gdk-Pixbuf</application> <application>X11</application>
|
---|
| 140 | library which is needed for <emphasis>many</emphasis> packages.
|
---|
| 141 | </para>
|
---|
[0913f48] | 142 |
|
---|
[244af838] | 143 | <para>
|
---|
| 144 | <option>--with-libjasper</option>: If you've installed
|
---|
| 145 | <xref linkend="jasper"/> and you want
|
---|
| 146 | <application>Gdk-Pixbuf</application> to use it to compile a JPEG2000
|
---|
| 147 | image loader, pass this option to configure.
|
---|
| 148 | </para>
|
---|
[05ae379] | 149 |
|
---|
[0913f48] | 150 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 151 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[ec41aad] | 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | <sect2 role="content">
|
---|
| 155 | <title>Contents</title>
|
---|
| 156 |
|
---|
| 157 | <segmentedlist>
|
---|
| 158 | <segtitle>Installed Programs</segtitle>
|
---|
| 159 | <segtitle>Installed Libraries</segtitle>
|
---|
| 160 | <segtitle>Installed Directories</segtitle>
|
---|
| 161 |
|
---|
| 162 | <seglistitem>
|
---|
[b8a081c] | 163 | <seg>
|
---|
[244af838] | 164 | gdk-pixbuf-csource,
|
---|
| 165 | gdk-pixbuf-pixdata and
|
---|
| 166 | gdk-pixbuf-query-loaders.
|
---|
[b8a081c] | 167 | </seg>
|
---|
| 168 | <seg>
|
---|
[244af838] | 169 | libgdk_pixbuf-2.0.so and
|
---|
| 170 | libgdk_pixbuf_xlib-2.0.so.
|
---|
[b8a081c] | 171 | </seg>
|
---|
| 172 | <seg>
|
---|
[244af838] | 173 | /usr/include/gdk-pixbuf-2.0,
|
---|
| 174 | /usr/lib/gdk-pixbuf-2.0 and
|
---|
| 175 | /usr/share/gtk-doc/html/gdk-pixbuf.
|
---|
[b8a081c] | 176 | </seg>
|
---|
[ec41aad] | 177 | </seglistitem>
|
---|
| 178 | </segmentedlist>
|
---|
| 179 |
|
---|
| 180 | <variablelist>
|
---|
| 181 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 182 | <?dbfo list-presentation="list"?>
|
---|
| 183 | <?dbhtml list-presentation="table"?>
|
---|
| 184 |
|
---|
[bcef05b] | 185 | <varlistentry id="gdk-pixbuf-csource">
|
---|
[ec41aad] | 186 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
| 187 | <listitem>
|
---|
[244af838] | 188 | <para>
|
---|
| 189 | is a small utility that generates C code containing images, used
|
---|
| 190 | for compiling images directly into programs.
|
---|
| 191 | </para>
|
---|
[ec41aad] | 192 | <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
|
---|
| 193 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
[bcef05b] | 198 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
[ec41aad] | 199 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
| 200 | <listitem>
|
---|
[244af838] | 201 | <para>
|
---|
| 202 | collects information about loadable modules for gdk-pixbuf and
|
---|
| 203 | writes it to the default cache file location, or to stdout.
|
---|
| 204 | </para>
|
---|
[ec41aad] | 205 | <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
|
---|
| 206 | <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="libgdk_pixbuf-2.0">
|
---|
| 212 | <term><filename class='libraryfile'>libgdk_pixbuf-2.0.so</filename></term>
|
---|
| 213 | <listitem>
|
---|
[244af838] | 214 | <para>
|
---|
| 215 | contains functions that load and render images.
|
---|
| 216 | </para>
|
---|
[ec41aad] | 217 | <indexterm zone="gdk-pixbuf libgdk_pixbuf-2.0">
|
---|
| 218 | <primary sortas="c-libgdk_pixbuf-2.0">libgdk_pixbuf-2.0.so</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="libgdk_pixbuf_xlib-2.0">
|
---|
| 224 | <term><filename class='libraryfile'>libgdk_pixbuf_xlib-2.0.so</filename></term>
|
---|
| 225 | <listitem>
|
---|
[244af838] | 226 | <para>
|
---|
| 227 | contains functions that manipulate images and interfaces with
|
---|
| 228 | <application>Xlib</application>.
|
---|
| 229 | </para>
|
---|
[ec41aad] | 230 | <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2.0">
|
---|
| 231 | <primary sortas="c-libgdk_pixbuf_xlib-2.0">libgdk_pixbuf_xlib-2.0.so</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 | </variablelist>
|
---|
| 236 | </sect2>
|
---|
| 237 | </sect1>
|
---|