[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
|
---|
[f176628] | 8 | "&gnome-download-http;/gdk-pixbuf/2.42/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
[0d7900a] | 9 | <!ENTITY gdk-pixbuf-download-ftp
|
---|
[f176628] | 10 | "&gnome-download-ftp;/gdk-pixbuf/2.42/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
---|
[85506b2] | 11 | <!ENTITY gdk-pixbuf-md5sum "7cd2fdaa3c55e2302316fe36968f7425">
|
---|
| 12 | <!ENTITY gdk-pixbuf-size "7.4 MB">
|
---|
| 13 | <!ENTITY gdk-pixbuf-buildsize "71 MB (with tests)">
|
---|
[9d31900] | 14 | <!ENTITY gdk-pixbuf-time "0.2 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 | <date>$Date$</date>
|
---|
[ec41aad] | 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>gdk-pixbuf-&gdk-pixbuf-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="gdk-pixbuf">
|
---|
| 27 | <primary sortas="a-gdk-pixbuf">gdk-pixbuf</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[a2912ff] | 31 | <title>Introduction to Gdk Pixbuf</title>
|
---|
[244af838] | 32 |
|
---|
| 33 | <para>
|
---|
[93883ec] | 34 | The <application>Gdk Pixbuf</application> package is a toolkit for image
|
---|
[244af838] | 35 | loading and pixel buffer manipulation. It is used by
|
---|
[a2912ff] | 36 | <application>GTK+ 2</application> and <application>GTK+ 3</application> to
|
---|
[244af838] | 37 | load and manipulate images. In the past it was distributed as part of
|
---|
[a2912ff] | 38 | <application>GTK+ 2</application> but it was split off into a separate
|
---|
| 39 | package in preparation for the change to <application>GTK+ 3</application>.
|
---|
[244af838] | 40 | </para>
|
---|
[ec41aad] | 41 |
|
---|
[3df8ea47] | 42 | &lfs101_checked;
|
---|
[ec41aad] | 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[244af838] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&gdk-pixbuf-download-http;"/>
|
---|
| 49 | </para>
|
---|
[ec41aad] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[244af838] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&gdk-pixbuf-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[ec41aad] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[244af838] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &gdk-pixbuf-md5sum;
|
---|
| 59 | </para>
|
---|
[ec41aad] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[244af838] | 62 | <para>
|
---|
| 63 | Download size: &gdk-pixbuf-size;
|
---|
| 64 | </para>
|
---|
[ec41aad] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[244af838] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &gdk-pixbuf-buildsize;
|
---|
| 69 | </para>
|
---|
[ec41aad] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[244af838] | 72 | <para>
|
---|
| 73 | Estimated build time: &gdk-pixbuf-time;
|
---|
| 74 | </para>
|
---|
[ec41aad] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 |
|
---|
[d356833] | 78 | <bridgehead renderas="sect3">Gdk Pixbuf Dependencies</bridgehead>
|
---|
[ec41aad] | 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b8a081c] | 81 | <para role="required">
|
---|
[b0ae5b7] | 82 | <xref linkend="glib2"/>,
|
---|
[7655fafd] | 83 | <xref linkend="libjpeg"/>,
|
---|
| 84 | <xref linkend="libpng"/>, and
|
---|
| 85 | <xref linkend="shared-mime-info"/>
|
---|
[244af838] | 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
[2fb1e2b] | 90 | <xref role="runtime" linkend="librsvg"/> (runtime dependency, needed for
|
---|
[f176628] | 91 | loading symbolic icons) and
|
---|
| 92 | <xref linkend="libtiff"/>
|
---|
[b8a081c] | 93 | </para>
|
---|
[ec41aad] | 94 |
|
---|
[4c2be438] | 95 | <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
---|
| 96 | <para role="optional">
|
---|
| 97 | <xref linkend="gobject-introspection"/>
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
[ec41aad] | 100 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b7a80c66] | 101 | <para role="optional">
|
---|
[f176628] | 102 | <!--<xref linkend="jasper"/> and-->
|
---|
[85506b2] | 103 | <xref linkend="gtk-doc"/> and
|
---|
| 104 | <ulink url="https://gitlab.gnome.org/ebassi/gi-docgen">gi-docgen</ulink>
|
---|
[b7a80c66] | 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 |
|
---|
[316d2235] | 120 | <screen><userinput>mkdir build &&
|
---|
| 121 | cd build &&
|
---|
| 122 |
|
---|
[adf17153] | 123 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
[316d2235] | 124 | ninja</userinput></screen>
|
---|
[ec41aad] | 125 |
|
---|
[244af838] | 126 | <para>
|
---|
[316d2235] | 127 | To test the results, issue: <command>ninja test</command>. The tests
|
---|
[b541318] | 128 | make a heavy use of disk.
|
---|
[244af838] | 129 | </para>
|
---|
[ec41aad] | 130 |
|
---|
[74d00b79] | 131 | <para>
|
---|
[e1617c94] | 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
[74d00b79] | 133 | </para>
|
---|
| 134 |
|
---|
[316d2235] | 135 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[e1617c94] | 136 |
|
---|
[2ffe965] | 137 | <note>
|
---|
| 138 | <para>
|
---|
[865c844] | 139 | If you installed the package on to your system using a
|
---|
| 140 | <quote>DESTDIR</quote> method, an important file was not installed and
|
---|
| 141 | should be copied and/or generated. Generate it using the following
|
---|
| 142 | command as the <systemitem class="username">root</systemitem> user:
|
---|
[2ffe965] | 143 | </para>
|
---|
| 144 |
|
---|
[865c844] | 145 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
[2ffe965] | 146 | </note>
|
---|
[ec41aad] | 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="commands">
|
---|
| 150 | <title>Command Explanations</title>
|
---|
[5da4c02] | 151 |
|
---|
[adf17153] | 152 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 153 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 154 |
|
---|
[244af838] | 155 | <para>
|
---|
[f176628] | 156 | <option>-Dgtk_doc=true</option>: Use this parameter if
|
---|
[5da4c02] | 157 | <application>GTK-Doc</application> is installed and you wish to rebuild
|
---|
| 158 | and install the API documentation.
|
---|
[85506b2] | 159 | <!-- -Dgtk_doc is set to "yield=true" in meson_options.txt -->
|
---|
[244af838] | 160 | </para>
|
---|
[f176628] | 161 | <!-- Removed in 2.42.0
|
---|
[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>
|
---|
[f176628] | 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
|
---|
[f176628] | 184 | gdk-pixbuf-thumbnailer
|
---|
[b8a081c] | 185 | </seg>
|
---|
| 186 | <seg>
|
---|
[f176628] | 187 | libgdk_pixbuf-2.0.so
|
---|
[b8a081c] | 188 | </seg>
|
---|
| 189 | <seg>
|
---|
[0df923f] | 190 | /usr/{include,lib}/gdk-pixbuf-2.0,
|
---|
[9d31900] | 191 | /usr/libexec/installed-tests/gdk-pixbuf,
|
---|
[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
|
---|
[4c24eb0a] | 209 | for compiling images directly into programs
|
---|
[244af838] | 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>
|
---|
[4c24eb0a] | 221 | is a tool used to convert GdkPixbuf to GdkPixdata
|
---|
[8b9ad6e] | 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
|
---|
[4c24eb0a] | 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>
|
---|
[4c24eb0a] | 247 | creates thumbnails of pictures for use in other applications
|
---|
[0df923f] | 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>
|
---|
[4c24eb0a] | 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 |
|
---|
[9d31900] | 267 | <!-- Split off into gdk-pixbuf-xlib
|
---|
[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
|
---|
[4c24eb0a] | 273 | <application>Xlib</application>
|
---|
[244af838] | 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>
|
---|
[9d31900] | 280 | -->
|
---|
[ec41aad] | 281 | </variablelist>
|
---|
[a2912ff] | 282 |
|
---|
[ec41aad] | 283 | </sect2>
|
---|
[a2912ff] | 284 |
|
---|
[ec41aad] | 285 | </sect1>
|
---|