[c72f1ff] | 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 |
|
---|
| 7 | <!ENTITY libwebp-download-http "https://webp.googlecode.com/files/libwebp-&libwebp-version;.tar.gz">
|
---|
| 8 | <!ENTITY libwebp-download-ftp " ">
|
---|
[780a799a] | 9 | <!ENTITY libwebp-md5sum "c8dd1d26eb9566833aba269b86d97e68">
|
---|
| 10 | <!ENTITY libwebp-size "868 KB">
|
---|
| 11 | <!ENTITY libwebp-buildsize "13 MB">
|
---|
| 12 | <!ENTITY libwebp-time "0.1 SBU">
|
---|
[c72f1ff] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libwebp" xreflabel="libwebp-&libwebp-version;">
|
---|
| 16 | <?dbhtml filename="libwebp.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libwebp-&libwebp-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libwebp">
|
---|
| 26 | <primary sortas="a-libwebp">libwebp</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libwebp</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libwebp</application> package contains a library
|
---|
| 34 | and support programs to encode and decode images in WebP format.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[682f45b2] | 37 | &lfs75_checked;
|
---|
[c72f1ff] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libwebp-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libwebp-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libwebp-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libwebp-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libwebp-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libwebp-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">libwebp Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
| 77 | <xref linkend="libjpeg"/>,
|
---|
| 78 | <xref linkend="libpng"/> and
|
---|
| 79 | <xref linkend="libtiff"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 83 | <para role="optional">
|
---|
[5b24455] | 84 | <xref linkend="freeglut"/> and
|
---|
[c72f1ff] | 85 | <xref linkend="giflib"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <para condition="html" role="usernotes">
|
---|
| 89 | User Notes: <ulink url="&blfs-wiki;/libwebp"/>
|
---|
| 90 | </para>
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of libwebp</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Install <application>libwebp</application> by running the following
|
---|
| 98 | commands:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
[fd372f6] | 101 | <screen><userinput>sed -i '/DGifCloseFile/s:gif:&, NULL:g' examples/gif2webp.c &&
|
---|
| 102 | ./configure --prefix=/usr --disable-static &&
|
---|
[c72f1ff] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | This package does not come with a test suite.
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
[fd372f6] | 120 | <para>
|
---|
| 121 | <command>sed -i...</command>: This sed fixes building with new versions
|
---|
| 122 | of giflib.
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
[c72f1ff] | 125 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 126 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
| 129 |
|
---|
| 130 | <sect2 role="content">
|
---|
| 131 | <title>Contents</title>
|
---|
| 132 |
|
---|
| 133 | <segmentedlist>
|
---|
| 134 | <segtitle>Installed Programs</segtitle>
|
---|
| 135 | <segtitle>Installed Library</segtitle>
|
---|
| 136 | <segtitle>Installed Directory</segtitle>
|
---|
| 137 |
|
---|
| 138 | <seglistitem>
|
---|
| 139 | <seg>
|
---|
| 140 | cwebp and dwebp
|
---|
| 141 | </seg>
|
---|
| 142 | <seg>
|
---|
| 143 | libwebp.so
|
---|
| 144 | </seg>
|
---|
| 145 | <seg>
|
---|
| 146 | /usr/include/webp
|
---|
| 147 | </seg>
|
---|
| 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="cwebp">
|
---|
| 157 | <term><command>cwebp</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>
|
---|
| 160 | compresses an image using the WebP format.
|
---|
| 161 | </para>
|
---|
| 162 | <indexterm zone="libwebp cwebp">
|
---|
| 163 | <primary sortas="b-cwebp">cwebp</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="dwebp">
|
---|
| 169 | <term><command>dwebp</command></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
| 172 | decompresses WebP files into PNG, PAM, PPM or PGM images.
|
---|
| 173 | </para>
|
---|
| 174 | <indexterm zone="libwebp dwebp">
|
---|
| 175 | <primary sortas="b-dwebp">dwebp</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | <varlistentry id="libwebp-lib">
|
---|
| 181 | <term><filename class="libraryfile">libwebp.so</filename></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>
|
---|
| 184 | contains the API functions for WebP encoding and decoding.
|
---|
| 185 | </para>
|
---|
| 186 | <indexterm zone="libwebp libwebp-lib">
|
---|
| 187 | <primary sortas="c-libwebp">libwebp.so</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | </variablelist>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | </sect1>
|
---|