[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 |
|
---|
[0d7900a] | 7 | <!ENTITY gdk-pixbuf-download-http
|
---|
[c511d38] | 8 | "&gnome-download-http;/gdk-pixbuf/2.40/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
[0d7900a] | 9 | <!ENTITY gdk-pixbuf-download-ftp
|
---|
[c511d38] | 10 | "&gnome-download-ftp;/gdk-pixbuf/2.40/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
| 11 | <!ENTITY gdk-pixbuf-md5sum "05eb1ebc258ba905f1c8644ef49de064">
|
---|
[c7918a9] | 12 | <!ENTITY gdk-pixbuf-size "5.3 MB">
|
---|
[c511d38] | 13 | <!ENTITY gdk-pixbuf-buildsize "64 MB (with tests)">
|
---|
| 14 | <!ENTITY gdk-pixbuf-time "0.3 SBU (with tests)">
|
---|
[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>
|
---|
[93883ec] | 35 | The <application>Gdk Pixbuf</application> package 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 |
|
---|
[11193870] | 43 | &lfs91_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"/>,
|
---|
[7655fafd] | 84 | <xref linkend="libjpeg"/>,
|
---|
| 85 | <xref linkend="libpng"/>, and
|
---|
| 86 | <xref linkend="shared-mime-info"/>
|
---|
[244af838] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 90 | <para role="recommended">
|
---|
[2fb1e2b] | 91 | <xref role="runtime" linkend="librsvg"/> (runtime dependency, needed for
|
---|
| 92 | loading symbolic icons),
|
---|
| 93 | <xref linkend="libtiff"/>, and
|
---|
[a2912ff] | 94 | <xref linkend="xorg7-lib"/>
|
---|
[440d664] | 95 | (<emphasis>Many</emphasis> <application>GTK+</application>
|
---|
| 96 | applications <emphasis>require</emphasis> gdk-pixbuf-xlib).
|
---|
[b8a081c] | 97 | </para>
|
---|
[ec41aad] | 98 |
|
---|
[4c2be438] | 99 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 100 | <para role="optional">
|
---|
| 101 | <xref linkend="gobject-introspection"/>
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
[ec41aad] | 104 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b7a80c66] | 105 | <para role="optional">
|
---|
[c511d38] | 106 | <xref linkend="jasper"/>,
|
---|
| 107 | <xref linkend="gtk-doc"/>, and
|
---|
| 108 | <ulink url="https://github.com/mak/mlib">MLib</ulink>
|
---|
[b7a80c66] | 109 | </para>
|
---|
[ec41aad] | 110 |
|
---|
[244af838] | 111 | <para condition="html" role="usernotes">
|
---|
| 112 | User Notes: <ulink url="&blfs-wiki;/gdk-pixbuf"/>
|
---|
| 113 | </para>
|
---|
[ec41aad] | 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="installation">
|
---|
[a2912ff] | 117 | <title>Installation of Gdk Pixbuf</title>
|
---|
[ec41aad] | 118 |
|
---|
[244af838] | 119 | <para>
|
---|
[a2912ff] | 120 | Install <application>Gdk Pixbuf</application> by running the following
|
---|
[244af838] | 121 | commands:
|
---|
| 122 | </para>
|
---|
[ec41aad] | 123 |
|
---|
[316d2235] | 124 | <screen><userinput>mkdir build &&
|
---|
| 125 | cd build &&
|
---|
| 126 |
|
---|
| 127 | meson --prefix=/usr .. &&
|
---|
| 128 | ninja</userinput></screen>
|
---|
[ec41aad] | 129 |
|
---|
[244af838] | 130 | <para>
|
---|
[316d2235] | 131 | To test the results, issue: <command>ninja test</command>. The tests
|
---|
[b541318] | 132 | make a heavy use of disk.
|
---|
[244af838] | 133 | </para>
|
---|
[ec41aad] | 134 |
|
---|
[74d00b79] | 135 | <para>
|
---|
[e1617c94] | 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[74d00b79] | 137 | </para>
|
---|
| 138 |
|
---|
[316d2235] | 139 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[e1617c94] | 140 |
|
---|
[2ffe965] | 141 | <note>
|
---|
| 142 | <para>
|
---|
[865c844] | 143 | If you installed the package on to your system using a
|
---|
| 144 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
| 145 | should be copied and/or generated. Generate it using the following
|
---|
| 146 | command as the <systemitem class="username">root</systemitem> user:
|
---|
[2ffe965] | 147 | </para>
|
---|
| 148 |
|
---|
[865c844] | 149 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
[2ffe965] | 150 | </note>
|
---|
[ec41aad] | 151 | </sect2>
|
---|
| 152 |
|
---|
| 153 | <sect2 role="commands">
|
---|
| 154 | <title>Command Explanations</title>
|
---|
[5da4c02] | 155 |
|
---|
[244af838] | 156 | <para>
|
---|
[5da4c02] | 157 | <option>-Ddocs=true</option>: Use this parameter if
|
---|
| 158 | <application>GTK-Doc</application> is installed and you wish to rebuild
|
---|
| 159 | and install the API documentation.
|
---|
[244af838] | 160 | </para>
|
---|
[5da4c02] | 161 |
|
---|
[244af838] | 162 | <para>
|
---|
[316d2235] | 163 | <option>-Djasper=true</option>: If you've installed
|
---|
[244af838] | 164 | <xref linkend="jasper"/> and you want
|
---|
[440d664] | 165 | <application>Gdk Pixbuf</application> to use it to compile a
|
---|
[341deb7] | 166 | JPEG2000 image loader, pass this switch to meson.
|
---|
[244af838] | 167 | </para>
|
---|
[a2912ff] | 168 |
|
---|
[ec41aad] | 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | <sect2 role="content">
|
---|
| 172 | <title>Contents</title>
|
---|
| 173 |
|
---|
| 174 | <segmentedlist>
|
---|
| 175 | <segtitle>Installed Programs</segtitle>
|
---|
| 176 | <segtitle>Installed Libraries</segtitle>
|
---|
| 177 | <segtitle>Installed Directories</segtitle>
|
---|
| 178 |
|
---|
| 179 | <seglistitem>
|
---|
[b8a081c] | 180 | <seg>
|
---|
[58b7101] | 181 | gdk-pixbuf-csource,
|
---|
[0df923f] | 182 | gdk-pixbuf-pixdata,
|
---|
[45bdabd] | 183 | gdk-pixbuf-query-loaders, and
|
---|
| 184 | gdk-pixbuf-thumbnailer,
|
---|
[b8a081c] | 185 | </seg>
|
---|
| 186 | <seg>
|
---|
[e1617c94] | 187 | libgdk_pixbuf-2.0.so and
|
---|
| 188 | libgdk_pixbuf_xlib-2.0.so
|
---|
[b8a081c] | 189 | </seg>
|
---|
| 190 | <seg>
|
---|
[0df923f] | 191 | /usr/{include,lib}/gdk-pixbuf-2.0,
|
---|
[316d2235] | 192 | /usr/share/installed-tests/gdk-pixbuf,
|
---|
[0df923f] | 193 | /usr/share/gtk-doc/html/gdk-pixbuf, and
|
---|
| 194 | /usr/share/thumbnailers
|
---|
[b8a081c] | 195 | </seg>
|
---|
[ec41aad] | 196 | </seglistitem>
|
---|
| 197 | </segmentedlist>
|
---|
| 198 |
|
---|
| 199 | <variablelist>
|
---|
| 200 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 201 | <?dbfo list-presentation="list"?>
|
---|
| 202 | <?dbhtml list-presentation="table"?>
|
---|
| 203 |
|
---|
[bcef05b] | 204 | <varlistentry id="gdk-pixbuf-csource">
|
---|
[ec41aad] | 205 | <term><command>gdk-pixbuf-csource</command></term>
|
---|
| 206 | <listitem>
|
---|
[244af838] | 207 | <para>
|
---|
| 208 | is a small utility that generates C code containing images, used
|
---|
| 209 | for compiling images directly into programs.
|
---|
| 210 | </para>
|
---|
[ec41aad] | 211 | <indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
|
---|
| 212 | <primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
---|
| 213 | </indexterm>
|
---|
| 214 | </listitem>
|
---|
| 215 | </varlistentry>
|
---|
| 216 |
|
---|
[8b9ad6e] | 217 | <varlistentry id="gdk-pixbuf-pixdata">
|
---|
| 218 | <term><command>gdk-pixbuf-pixdata</command></term>
|
---|
| 219 | <listitem>
|
---|
| 220 | <para>
|
---|
| 221 | is a tool used to convert GdkPixbuf to GdkPixdata.
|
---|
| 222 | </para>
|
---|
| 223 | <indexterm zone="gdk-pixbuf gdk-pixbuf-pixdata">
|
---|
| 224 | <primary sortas="b-gdk-pixbuf-pixdata">gdk-pixbuf-pixdata</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
[bcef05b] | 229 | <varlistentry id="gdk-pixbuf-query-loaders">
|
---|
[ec41aad] | 230 | <term><command>gdk-pixbuf-query-loaders</command></term>
|
---|
| 231 | <listitem>
|
---|
[244af838] | 232 | <para>
|
---|
[0d7900a] | 233 | collects information about loadable modules for
|
---|
[a2912ff] | 234 | <application>Gdk Pixbuf</application> and writes it
|
---|
| 235 | to the default cache file location, or to stdout.
|
---|
[244af838] | 236 | </para>
|
---|
[ec41aad] | 237 | <indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
|
---|
| 238 | <primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
[0df923f] | 242 |
|
---|
| 243 | <varlistentry id="gdk-pixbuf-thumbnailer">
|
---|
| 244 | <term><command>gdk-pixbuf-thumbnailer</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>
|
---|
| 247 | creates thumbnails of pictures for use in other applications.
|
---|
| 248 | </para>
|
---|
| 249 | <indexterm zone="gdk-pixbuf gdk-pixbuf-thumbnailer">
|
---|
| 250 | <primary sortas="b-gdk-pixbuf-thumbnailer">gdk-pixbuf-thumbnailer</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
[ec41aad] | 254 |
|
---|
[d356833] | 255 | <varlistentry id="libgdk_pixbuf-2">
|
---|
[440d664] | 256 | <term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
|
---|
[ec41aad] | 257 | <listitem>
|
---|
[244af838] | 258 | <para>
|
---|
[440d664] | 259 | contains functions used to load and render images.
|
---|
[244af838] | 260 | </para>
|
---|
[d356833] | 261 | <indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
|
---|
| 262 | <primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
|
---|
[ec41aad] | 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
[d356833] | 267 | <varlistentry id="libgdk_pixbuf_xlib-2">
|
---|
[440d664] | 268 | <term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
|
---|
[ec41aad] | 269 | <listitem>
|
---|
[244af838] | 270 | <para>
|
---|
[440d664] | 271 | contains functions used to manipulate images and interfaces with
|
---|
[244af838] | 272 | <application>Xlib</application>.
|
---|
| 273 | </para>
|
---|
[d356833] | 274 | <indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
|
---|
| 275 | <primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
|
---|
[ec41aad] | 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
[a2912ff] | 279 |
|
---|
[ec41aad] | 280 | </variablelist>
|
---|
[a2912ff] | 281 |
|
---|
[ec41aad] | 282 | </sect2>
|
---|
[a2912ff] | 283 |
|
---|
[ec41aad] | 284 | </sect1>
|
---|