[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
|
---|
[a2912ff] | 8 | "&gnome-download-http;/gdk-pixbuf/2.26/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
[244af838] | 9 | <!ENTITY gdk-pixbuf-download-ftp
|
---|
[a2912ff] | 10 | "&gnome-download-ftp;/gdk-pixbuf/2.26/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
[a2bf8b17] | 11 | <!ENTITY gdk-pixbuf-md5sum "339329e6d619ee3e1cb93979111b04c0">
|
---|
[b8a081c] | 12 | <!ENTITY gdk-pixbuf-size "1.2 MB">
|
---|
[0913f48] | 13 | <!ENTITY gdk-pixbuf-buildsize "25 MB">
|
---|
[d356833] | 14 | <!ENTITY gdk-pixbuf-time "0.2 SBU">
|
---|
[ec41aad] | 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">
|
---|
[a2912ff] | 32 | <title>Introduction to Gdk Pixbuf</title>
|
---|
[244af838] | 33 |
|
---|
| 34 | <para>
|
---|
[a2912ff] | 35 | The <application>Gdk Pixbuf</application> is a toolkit for image
|
---|
[244af838] | 36 | loading and pixel buffer manipulation. It is used by
|
---|
[a2912ff] | 37 | <application>GTK+ 2</application> and <application>GTK+ 3</application> to
|
---|
[244af838] | 38 | load and manipulate images. In the past it was distributed as part of
|
---|
[a2912ff] | 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>.
|
---|
[244af838] | 41 | </para>
|
---|
[ec41aad] | 42 |
|
---|
[2839d1e] | 43 | &lfs72_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 |
|
---|
[d356833] | 79 | <bridgehead renderas="sect3">Gdk Pixbuf Dependencies</bridgehead>
|
---|
[ec41aad] | 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 82 | <para role="required">
|
---|
[b0ae5b7] | 83 | <xref linkend="glib2"/>,
|
---|
[b8a081c] | 84 | <xref linkend="libjpeg"/>,
|
---|
[b0ae5b7] | 85 | <xref linkend="libpng"/> and
|
---|
| 86 | <xref linkend="libtiff"/>
|
---|
[244af838] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
[a2912ff] | 91 | <xref linkend="xorg7-lib"/>
|
---|
[440d664] | 92 | (<emphasis>Many</emphasis> <application>GTK+</application>
|
---|
| 93 | applications <emphasis>require</emphasis> 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">
|
---|
[a2912ff] | 113 | <title>Installation of Gdk Pixbuf</title>
|
---|
[ec41aad] | 114 |
|
---|
[244af838] | 115 | <para>
|
---|
[a2912ff] | 116 | Install <application>Gdk Pixbuf</application> by running the following
|
---|
[244af838] | 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>
|
---|
[2ffe965] | 132 |
|
---|
| 133 | <note>
|
---|
| 134 | <para>
|
---|
[41d7532] | 135 | If you installed the package on your system using a
|
---|
| 136 | <quote><envar>DESTDIR</envar></quote> method, an important file was not
|
---|
| 137 | installed and should be generated. Generate it using the following
|
---|
| 138 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
[2ffe965] | 139 | </para>
|
---|
| 140 |
|
---|
[41d7532] | 141 | <screen role="root"><userinput>install -v -m755 -d /etc/gtk-2.0 &&
|
---|
| 142 | gdk-pixbuf-query-loaders --update-cache > /etc/gtk-2.0/gdk-pixbuf.loaders</userinput></screen>
|
---|
[2ffe965] | 143 | </note>
|
---|
[ec41aad] | 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="commands">
|
---|
| 147 | <title>Command Explanations</title>
|
---|
| 148 |
|
---|
[244af838] | 149 | <para>
|
---|
| 150 | <option>--with-x11</option>: This switch enables building of the
|
---|
[a2912ff] | 151 | <application>Gdk Pixbuf</application> <application>X11</application>
|
---|
[244af838] | 152 | library which is needed for <emphasis>many</emphasis> packages.
|
---|
| 153 | </para>
|
---|
[0913f48] | 154 |
|
---|
[244af838] | 155 | <para>
|
---|
| 156 | <option>--with-libjasper</option>: If you've installed
|
---|
| 157 | <xref linkend="jasper"/> and you want
|
---|
[440d664] | 158 | <application>Gdk Pixbuf</application> to use it to compile a
|
---|
[41d7532] | 159 | JPEG2000 image loader, pass this switch to <command>configure</command>.
|
---|
[244af838] | 160 | </para>
|
---|
[05ae379] | 161 |
|
---|
[0913f48] | 162 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[a2912ff] | 163 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 164 |
|
---|
[ec41aad] | 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
| 171 | <segtitle>Installed Programs</segtitle>
|
---|
| 172 | <segtitle>Installed Libraries</segtitle>
|
---|
| 173 | <segtitle>Installed Directories</segtitle>
|
---|
| 174 |
|
---|
| 175 | <seglistitem>
|
---|
[b8a081c] | 176 | <seg>
|
---|
[a2912ff] | 177 | gdk-pixbuf-csource, gdk-pixbuf-pixdata and gdk-pixbuf-query-loaders
|
---|
[b8a081c] | 178 | </seg>
|
---|
| 179 | <seg>
|
---|
[a2912ff] | 180 | libgdk_pixbuf-2.0.so and libgdk_pixbuf_xlib-2.0.so
|
---|
[b8a081c] | 181 | </seg>
|
---|
| 182 | <seg>
|
---|
[244af838] | 183 | /usr/include/gdk-pixbuf-2.0,
|
---|
| 184 | /usr/lib/gdk-pixbuf-2.0 and
|
---|
[a2912ff] | 185 | /usr/share/gtk-doc/html/gdk-pixbuf
|
---|
[b8a081c] | 186 | </seg>
|
---|
[ec41aad] | 187 | </seglistitem>
|
---|
| 188 | </segmentedlist>
|
---|
| 189 |
|
---|
| 190 | <variablelist>
|
---|
| 191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 192 | <?dbfo list-presentation="list"?>
|
---|
| 193 | <?dbhtml list-presentation="table"?>
|
---|
| 194 |
|
---|
[bcef05b] | 195 | <varlistentry id="gdk-pixbuf-csource">
|
---|
[ec41aad] | 196 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
| 197 | <listitem>
|
---|
[244af838] | 198 | <para>
|
---|
| 199 | is a small utility that generates C code containing images, used
|
---|
| 200 | for compiling images directly into programs.
|
---|
| 201 | </para>
|
---|
[ec41aad] | 202 | <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
|
---|
| 203 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
[bcef05b] | 208 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
[ec41aad] | 209 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
| 210 | <listitem>
|
---|
[244af838] | 211 | <para>
|
---|
[a2912ff] | 212 | collects information about loadable modules for
|
---|
| 213 | <application>Gdk Pixbuf</application> and writes it
|
---|
| 214 | to the default cache file location, or to stdout.
|
---|
[244af838] | 215 | </para>
|
---|
[ec41aad] | 216 | <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
|
---|
| 217 | <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
[d356833] | 222 | <varlistentry id="libgdk_pixbuf-2">
|
---|
[440d664] | 223 | <term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
|
---|
[ec41aad] | 224 | <listitem>
|
---|
[244af838] | 225 | <para>
|
---|
[440d664] | 226 | contains functions used to load and render images.
|
---|
[244af838] | 227 | </para>
|
---|
[d356833] | 228 | <indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
|
---|
| 229 | <primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
|
---|
[ec41aad] | 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
[d356833] | 234 | <varlistentry id="libgdk_pixbuf_xlib-2">
|
---|
[440d664] | 235 | <term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
|
---|
[ec41aad] | 236 | <listitem>
|
---|
[244af838] | 237 | <para>
|
---|
[440d664] | 238 | contains functions used to manipulate images and interfaces with
|
---|
[244af838] | 239 | <application>Xlib</application>.
|
---|
| 240 | </para>
|
---|
[d356833] | 241 | <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
|
---|
| 242 | <primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
|
---|
[ec41aad] | 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
[a2912ff] | 246 |
|
---|
[ec41aad] | 247 | </variablelist>
|
---|
[a2912ff] | 248 |
|
---|
[ec41aad] | 249 | </sect2>
|
---|
[a2912ff] | 250 |
|
---|
[ec41aad] | 251 | </sect1>
|
---|