1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 |
|
---|
7 | <!ENTITY webp-pixbuf-loader-download-http "https://github.com/aruiz/webp-pixbuf-loader/archive/&webp-pixbuf-loader-version;/webp-pixbuf-loader-&webp-pixbuf-loader-version;.tar.gz">
|
---|
8 | <!ENTITY webp-pixbuf-loader-download-ftp " ">
|
---|
9 | <!ENTITY webp-pixbuf-loader-md5sum "e97025dc70178877dbd041776f151947">
|
---|
10 | <!ENTITY webp-pixbuf-loader-size "8.8 MB">
|
---|
11 | <!ENTITY webp-pixbuf-loader-buildsize "9.7 MB">
|
---|
12 | <!ENTITY webp-pixbuf-loader-time "less than 0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="webp-pixbuf-loader" xreflabel="webp-pixbuf-loader-&webp-pixbuf-loader-version;">
|
---|
16 | <?dbhtml filename="webp-pixbuf-loader.html"?>
|
---|
17 |
|
---|
18 | <title>webp-pixbuf-loader-&webp-pixbuf-loader-version;</title>
|
---|
19 |
|
---|
20 | <indexterm zone="webp-pixbuf-loader">
|
---|
21 | <primary sortas="a-webp-pixbuf-loader">webp-pixbuf-loader</primary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
24 | <sect2 role="package">
|
---|
25 | <title>Introduction to webp-pixbuf-loader</title>
|
---|
26 |
|
---|
27 | <para>
|
---|
28 | The <application>webp-pixbuf-loader</application> package contains a
|
---|
29 | library that allows gdk-pixbuf to load and process webp images.
|
---|
30 | </para>
|
---|
31 |
|
---|
32 | &lfs122_checked;
|
---|
33 |
|
---|
34 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
35 | <itemizedlist spacing="compact">
|
---|
36 | <listitem>
|
---|
37 | <para>
|
---|
38 | Download (HTTP): <ulink url="&webp-pixbuf-loader-download-http;"/>
|
---|
39 | </para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (FTP): <ulink url="&webp-pixbuf-loader-download-ftp;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download MD5 sum: &webp-pixbuf-loader-md5sum;
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download size: &webp-pixbuf-loader-size;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Estimated disk space required: &webp-pixbuf-loader-buildsize;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated build time: &webp-pixbuf-loader-time;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | </itemizedlist>
|
---|
67 |
|
---|
68 | <bridgehead renderas="sect3">webp-pixbuf-loader Dependencies</bridgehead>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
71 | <para role="required">
|
---|
72 | <xref linkend="gdk-pixbuf"/> and
|
---|
73 | <xref linkend="libwebp"/>
|
---|
74 | </para>
|
---|
75 |
|
---|
76 | </sect2>
|
---|
77 |
|
---|
78 | <sect2 role="installation">
|
---|
79 | <title>Installation of webp-pixbuf-loader</title>
|
---|
80 |
|
---|
81 | <para>
|
---|
82 | Install <application>webp-pixbuf-loader</application> by running the following
|
---|
83 | commands:
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <screen><userinput>mkdir build &&
|
---|
87 | cd build &&
|
---|
88 |
|
---|
89 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
90 | ninja</userinput></screen>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | To test the results, issue: <command>ninja test</command>.
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | The webp format needs to be added to the loaders cache:
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <screen role="root"><userinput>gdk-pixbuf-query-loaders --update-cache</userinput></screen>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2 role="commands">
|
---|
111 | <title>Command Explanations</title>
|
---|
112 |
|
---|
113 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
114 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | <command>gdk-pixbuf-query-loaders --update-cache</command>: This command
|
---|
118 | updates the gdk-pixbuf loader cache so that it knows the webp loader has
|
---|
119 | been installed.
|
---|
120 | </para>
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="content">
|
---|
124 | <title>Contents</title>
|
---|
125 |
|
---|
126 | <segmentedlist>
|
---|
127 | <segtitle>Installed Programs</segtitle>
|
---|
128 | <segtitle>Installed Libraries</segtitle>
|
---|
129 | <segtitle>Installed Directories</segtitle>
|
---|
130 |
|
---|
131 | <seglistitem>
|
---|
132 | <seg>
|
---|
133 | None
|
---|
134 | </seg>
|
---|
135 | <seg>
|
---|
136 | libpixbufloader-webp.so
|
---|
137 | </seg>
|
---|
138 | <seg>
|
---|
139 | None
|
---|
140 | </seg>
|
---|
141 | </seglistitem>
|
---|
142 | </segmentedlist>
|
---|
143 |
|
---|
144 | <variablelist>
|
---|
145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
146 | <?dbfo list-presentation="list"?>
|
---|
147 | <?dbhtml list-presentation="table"?>
|
---|
148 |
|
---|
149 | <varlistentry id="libpixbufloader-webp">
|
---|
150 | <term><filename class="libraryfile">libpixbufloader-webp.so</filename></term>
|
---|
151 | <listitem>
|
---|
152 | <para>
|
---|
153 | contains functions that allow gdk-pixbuf to load webp images
|
---|
154 | </para>
|
---|
155 | <indexterm zone="webp-pixbuf-loader libpixbufloader-webp">
|
---|
156 | <primary sortas="c-libpixbufloader-webp">libpixbufloader-webp.so</primary>
|
---|
157 | </indexterm>
|
---|
158 | </listitem>
|
---|
159 | </varlistentry>
|
---|
160 | </variablelist>
|
---|
161 | </sect2>
|
---|
162 | </sect1>
|
---|