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