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