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