2011-11-19 08:55:06 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2013-02-12 02:51:17 +08:00
|
|
|
<!ENTITY gdk-pixbuf-download-http
|
2020-11-12 10:12:06 +08:00
|
|
|
"&gnome-download-http;/gdk-pixbuf/2.42/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
2013-02-12 02:51:17 +08:00
|
|
|
<!ENTITY gdk-pixbuf-download-ftp
|
2020-11-12 10:12:06 +08:00
|
|
|
"&gnome-download-ftp;/gdk-pixbuf/2.42/gdk-pixbuf-&gdk-pixbuf-version;.tar.xz">
|
2021-05-07 02:09:40 +08:00
|
|
|
<!ENTITY gdk-pixbuf-md5sum "7cd2fdaa3c55e2302316fe36968f7425">
|
|
|
|
<!ENTITY gdk-pixbuf-size "7.4 MB">
|
|
|
|
<!ENTITY gdk-pixbuf-buildsize "71 MB (with tests)">
|
2021-04-03 10:53:04 +08:00
|
|
|
<!ENTITY gdk-pixbuf-time "0.2 SBU (Using parallelism=4; with tests)">
|
2011-11-19 08:55:06 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="gdk-pixbuf" xreflabel="gdk-pixbuf-&gdk-pixbuf-version;">
|
|
|
|
<?dbhtml filename="gdk-pixbuf.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
2012-01-24 11:05:41 +08:00
|
|
|
<date>$Date$</date>
|
2011-11-19 08:55:06 +08:00
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>gdk-pixbuf-&gdk-pixbuf-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="gdk-pixbuf">
|
|
|
|
<primary sortas="a-gdk-pixbuf">gdk-pixbuf</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2012-07-25 00:17:44 +08:00
|
|
|
<title>Introduction to Gdk Pixbuf</title>
|
2012-05-02 01:27:02 +08:00
|
|
|
|
|
|
|
<para>
|
2017-01-20 15:18:30 +08:00
|
|
|
The <application>Gdk Pixbuf</application> package is a toolkit for image
|
2012-05-02 01:27:02 +08:00
|
|
|
loading and pixel buffer manipulation. It is used by
|
2012-07-25 00:17:44 +08:00
|
|
|
<application>GTK+ 2</application> and <application>GTK+ 3</application> to
|
2012-05-02 01:27:02 +08:00
|
|
|
load and manipulate images. In the past it was distributed as part of
|
2012-07-25 00:17:44 +08:00
|
|
|
<application>GTK+ 2</application> but it was split off into a separate
|
|
|
|
package in preparation for the change to <application>GTK+ 3</application>.
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2021-08-18 03:08:16 +08:00
|
|
|
&lfs110_checked;
|
2011-11-19 08:55:06 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&gdk-pixbuf-download-http;"/>
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&gdk-pixbuf-download-ftp;"/>
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &gdk-pixbuf-md5sum;
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
|
|
|
Download size: &gdk-pixbuf-size;
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &gdk-pixbuf-buildsize;
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &gdk-pixbuf-time;
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<bridgehead renderas="sect3">Gdk Pixbuf Dependencies</bridgehead>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2012-04-17 00:14:42 +08:00
|
|
|
<para role="required">
|
2012-06-09 07:56:43 +08:00
|
|
|
<xref linkend="glib2"/>,
|
2017-08-21 12:39:02 +08:00
|
|
|
<xref linkend="libjpeg"/>,
|
|
|
|
<xref linkend="libpng"/>, and
|
|
|
|
<xref linkend="shared-mime-info"/>
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
2018-03-18 02:29:20 +08:00
|
|
|
<xref role="runtime" linkend="librsvg"/> (runtime dependency, needed for
|
2020-11-12 10:12:06 +08:00
|
|
|
loading symbolic icons) and
|
|
|
|
<xref linkend="libtiff"/>
|
2012-04-17 00:14:42 +08:00
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2012-05-01 20:35:38 +08:00
|
|
|
<bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="gobject-introspection"/>
|
|
|
|
</para>
|
|
|
|
|
2011-11-19 08:55:06 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2012-04-20 17:33:30 +08:00
|
|
|
<para role="optional">
|
2020-11-12 10:12:06 +08:00
|
|
|
<!--<xref linkend="jasper"/> and-->
|
2021-05-07 02:09:40 +08:00
|
|
|
<xref linkend="gtk-doc"/> and
|
|
|
|
<ulink url="https://gitlab.gnome.org/ebassi/gi-docgen">gi-docgen</ulink>
|
2012-04-20 17:33:30 +08:00
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2012-05-02 01:27:02 +08:00
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/gdk-pixbuf"/>
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2012-07-25 00:17:44 +08:00
|
|
|
<title>Installation of Gdk Pixbuf</title>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
2012-07-25 00:17:44 +08:00
|
|
|
Install <application>Gdk Pixbuf</application> by running the following
|
2012-05-02 01:27:02 +08:00
|
|
|
commands:
|
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2018-09-07 10:55:45 +08:00
|
|
|
<screen><userinput>mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
|
2021-06-04 20:57:26 +08:00
|
|
|
meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
2018-09-07 10:55:45 +08:00
|
|
|
ninja</userinput></screen>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
2018-09-07 10:55:45 +08:00
|
|
|
To test the results, issue: <command>ninja test</command>. The tests
|
2017-08-10 04:11:20 +08:00
|
|
|
make a heavy use of disk.
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2013-12-18 01:18:12 +08:00
|
|
|
<para>
|
2014-09-28 04:55:43 +08:00
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
2013-12-18 01:18:12 +08:00
|
|
|
</para>
|
|
|
|
|
2018-09-07 10:55:45 +08:00
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
2014-09-28 04:55:43 +08:00
|
|
|
|
2012-06-15 19:54:10 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
2012-12-29 01:49:18 +08:00
|
|
|
If you installed the package on to your system using a
|
|
|
|
<quote>DESTDIR</quote> method, an important file was not installed and
|
|
|
|
should be copied and/or generated. Generate it using the following
|
|
|
|
command as the <systemitem class="username">root</systemitem> user:
|
2012-06-15 19:54:10 +08:00
|
|
|
</para>
|
|
|
|
|
2012-12-29 01:49:18 +08:00
|
|
|
<screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
2012-06-15 19:54:10 +08:00
|
|
|
</note>
|
2011-11-19 08:55:06 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
2019-01-24 05:11:58 +08:00
|
|
|
|
2021-06-04 20:57:26 +08:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
2020-11-12 10:12:06 +08:00
|
|
|
<option>-Dgtk_doc=true</option>: Use this parameter if
|
2019-01-24 05:11:58 +08:00
|
|
|
<application>GTK-Doc</application> is installed and you wish to rebuild
|
|
|
|
and install the API documentation.
|
2021-05-07 02:09:40 +08:00
|
|
|
<!-- -Dgtk_doc is set to "yield=true" in meson_options.txt -->
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2020-11-12 10:12:06 +08:00
|
|
|
<!-- Removed in 2.42.0
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
2018-09-07 10:55:45 +08:00
|
|
|
<option>-Djasper=true</option>: If you've installed
|
2012-05-02 01:27:02 +08:00
|
|
|
<xref linkend="jasper"/> and you want
|
2012-08-29 19:34:27 +08:00
|
|
|
<application>Gdk Pixbuf</application> to use it to compile a
|
2019-06-14 04:20:48 +08:00
|
|
|
JPEG2000 image loader, pass this switch to meson.
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2020-11-12 10:12:06 +08:00
|
|
|
-->
|
2011-11-19 08:55:06 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2012-04-17 00:14:42 +08:00
|
|
|
<seg>
|
2015-09-04 23:04:07 +08:00
|
|
|
gdk-pixbuf-csource,
|
2016-12-15 23:27:06 +08:00
|
|
|
gdk-pixbuf-pixdata,
|
2017-02-14 14:39:59 +08:00
|
|
|
gdk-pixbuf-query-loaders, and
|
2020-11-12 10:12:06 +08:00
|
|
|
gdk-pixbuf-thumbnailer
|
2012-04-17 00:14:42 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2020-11-12 10:12:06 +08:00
|
|
|
libgdk_pixbuf-2.0.so
|
2012-04-17 00:14:42 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
2016-12-15 23:27:06 +08:00
|
|
|
/usr/{include,lib}/gdk-pixbuf-2.0,
|
2021-04-03 10:53:04 +08:00
|
|
|
/usr/libexec/installed-tests/gdk-pixbuf,
|
2018-09-07 10:55:45 +08:00
|
|
|
/usr/share/installed-tests/gdk-pixbuf,
|
2016-12-15 23:27:06 +08:00
|
|
|
/usr/share/gtk-doc/html/gdk-pixbuf, and
|
|
|
|
/usr/share/thumbnailers
|
2012-04-17 00:14:42 +08:00
|
|
|
</seg>
|
2011-11-19 08:55:06 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2011-11-20 08:42:35 +08:00
|
|
|
<varlistentry id="gdk-pixbuf-csource">
|
2011-11-19 08:55:06 +08:00
|
|
|
<term><command>gdk-pixbuf-csource</command></term>
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
|
|
|
is a small utility that generates C code containing images, used
|
2021-02-19 23:20:16 +08:00
|
|
|
for compiling images directly into programs
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
<indexterm zone="gdk-pixbuf gdk-pixbuf-csource">
|
|
|
|
<primary sortas="b-gdk-pixbuf-csource">gdk-pixbuf-csource</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2015-08-17 09:29:04 +08:00
|
|
|
<varlistentry id="gdk-pixbuf-pixdata">
|
|
|
|
<term><command>gdk-pixbuf-pixdata</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a tool used to convert GdkPixbuf to GdkPixdata
|
2015-08-17 09:29:04 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gdk-pixbuf gdk-pixbuf-pixdata">
|
|
|
|
<primary sortas="b-gdk-pixbuf-pixdata">gdk-pixbuf-pixdata</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2011-11-20 08:42:35 +08:00
|
|
|
<varlistentry id="gdk-pixbuf-query-loaders">
|
2011-11-19 08:55:06 +08:00
|
|
|
<term><command>gdk-pixbuf-query-loaders</command></term>
|
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
2013-02-12 02:51:17 +08:00
|
|
|
collects information about loadable modules for
|
2012-07-25 00:17:44 +08:00
|
|
|
<application>Gdk Pixbuf</application> and writes it
|
2021-02-19 23:20:16 +08:00
|
|
|
to the default cache file location, or to stdout
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2011-11-19 08:55:06 +08:00
|
|
|
<indexterm zone="gdk-pixbuf gdk-pixbuf-query-loaders">
|
|
|
|
<primary sortas="b-gdk-pixbuf-query-loaders">gdk-pixbuf-query-loaders</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2016-12-15 23:27:06 +08:00
|
|
|
|
|
|
|
<varlistentry id="gdk-pixbuf-thumbnailer">
|
|
|
|
<term><command>gdk-pixbuf-thumbnailer</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
creates thumbnails of pictures for use in other applications
|
2016-12-15 23:27:06 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="gdk-pixbuf gdk-pixbuf-thumbnailer">
|
|
|
|
<primary sortas="b-gdk-pixbuf-thumbnailer">gdk-pixbuf-thumbnailer</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2011-11-19 08:55:06 +08:00
|
|
|
|
2012-09-27 03:37:55 +08:00
|
|
|
<varlistentry id="libgdk_pixbuf-2">
|
2012-08-29 19:34:27 +08:00
|
|
|
<term><filename class="libraryfile">libgdk_pixbuf-2.0.so</filename></term>
|
2011-11-19 08:55:06 +08:00
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
contains functions used to load and render images
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<indexterm zone="gdk-pixbuf libgdk_pixbuf-2">
|
|
|
|
<primary sortas="c-libgdk_pixbuf-2">libgdk_pixbuf-2.0.so</primary>
|
2011-11-19 08:55:06 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2021-04-03 10:53:04 +08:00
|
|
|
<!-- Split off into gdk-pixbuf-xlib
|
2012-09-27 03:37:55 +08:00
|
|
|
<varlistentry id="libgdk_pixbuf_xlib-2">
|
2012-08-29 19:34:27 +08:00
|
|
|
<term><filename class="libraryfile">libgdk_pixbuf_xlib-2.0.so</filename></term>
|
2011-11-19 08:55:06 +08:00
|
|
|
<listitem>
|
2012-05-02 01:27:02 +08:00
|
|
|
<para>
|
2012-08-29 19:34:27 +08:00
|
|
|
contains functions used to manipulate images and interfaces with
|
2021-02-19 23:20:16 +08:00
|
|
|
<application>Xlib</application>
|
2012-05-02 01:27:02 +08:00
|
|
|
</para>
|
2012-09-27 03:37:55 +08:00
|
|
|
<indexterm zone="gdk-pixbuf libgdk_pixbuf_xlib-2">
|
|
|
|
<primary sortas="c-libgdk_pixbuf_xlib-2">libgdk_pixbuf_xlib-2.0.so</primary>
|
2011-11-19 08:55:06 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2021-04-03 10:53:04 +08:00
|
|
|
-->
|
2011-11-19 08:55:06 +08:00
|
|
|
</variablelist>
|
2012-07-25 00:17:44 +08:00
|
|
|
|
2011-11-19 08:55:06 +08:00
|
|
|
</sect2>
|
2012-07-25 00:17:44 +08:00
|
|
|
|
2011-11-19 08:55:06 +08:00
|
|
|
</sect1>
|