source: general/graphlib/woff2.xml@ d7189a1c

10.0 10.1 11.0 11.1 11.2 9.1 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since d7189a1c was d7189a1c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update URLs for new packages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22347 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.5 KB
Line 
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 woff2-download-http "https://github.com/google/woff2/archive/v&woff2-version;/woff2-&woff2-version;.tar.gz">
8 <!ENTITY woff2-download-ftp " ">
9 <!ENTITY woff2-md5sum "793c8844845351cb80730a74937e411b">
10 <!ENTITY woff2-size "39 KB">
11 <!ENTITY woff2-buildsize "1.6 MB">
12 <!ENTITY woff2-time "less than 0.1 SBU">
13]>
14
15<sect1 id="woff2" xreflabel="WOFF2-&woff2-version;">
16 <?dbhtml filename="woff2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>woff2-&woff2-version;</title>
24
25 <indexterm zone="woff2">
26 <primary sortas="a-woff2">woff2</primary>
27 </indexterm>
28
29 <!--Required section-->
30 <sect2 role="package">
31 <title>Introduction to WOFF2</title>
32
33 <para>
34 <application>WOFF2</application> is a library for converting fonts from
35 the TTF format to the WOFF 2.0 format. It also allows decompression from
36 WOFF 2.0 to TTF. The WOFF 2.0 format uses the Brotli compression algorithm
37 to compress fonts suitable for downloading in CSS @font-face rules.
38 </para>
39
40 &lfs90_built;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&woff2-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&woff2-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &woff2-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &woff2-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &woff2-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &woff2-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75<!--
76 <note>
77 <para>
78 The <application>WOFF2</application> source tarball shown above
79 downloads with the correct name, woff2-&woff2-version;.tar.gz,
80 if using a browser such as Firefox. If you prefer to use a command line
81 program such as wget, you normally would obtain
82 v&woff2-version;.tar.gz. To obtain this package with the proper
83 filename, run:
84
85<screen><userinput>wget -c https://github.com/google/woff2/v&brotli-version;.tar.gz \
86 -O woff2-&woff2-version;.tar.gz</userinput></screen>.
87 </para>
88 </note>
89-->
90 <bridgehead renderas="sect3">WOFF2 Dependencies</bridgehead>
91
92 <bridgehead renderas="sect4">Required</bridgehead>
93 <para role="required">
94 <xref linkend="brotli"/>,
95 <xref linkend="cmake"/>
96 </para>
97
98 <para condition="html" role="usernotes">
99 User Notes: <ulink url="&blfs-wiki;/woff2"/>
100 </para>
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of WOFF2</title>
105
106 <para>
107 Install <application>WOFF2</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>mkdir out &amp;
112cd out &amp;
113cmake -DCMAKE_INSTALL_PREFIX=/usr \
114 -DCMAKE_BUILD_TYPE=Release .. &amp;
115make</userinput></screen>
116
117 <para>
118 This package does not come with a test suite.
119 </para>
120
121 <para>
122 Now, as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"><userinput>make install</userinput></screen>
126 </sect2>
127
128 <sect2 role="content">
129 <title>Contents</title>
130
131 <segmentedlist>
132 <segtitle>Installed Program</segtitle>
133 <segtitle>Installed Libraries</segtitle>
134 <segtitle>Installed Directory</segtitle>
135
136 <seglistitem>
137 <seg>
138 </seg>
139 <seg>
140 libwoff2common.so, libwoff2dec.so and libwoff2enc.so.
141 </seg>
142 <seg>
143 /usr/include/woff2.
144 </seg>
145 </seglistitem>
146 </segmentedlist>
147
148 <variablelist>
149 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
150 <?dbfo list-presentation="list"?>
151 <?dbhtml list-presentation="table"?>
152
153 <varlistentry id="libwoff2common">
154 <term><filename class="libraryfile">libwoff2common.so</filename></term>
155 <listitem>
156 <para>
157 provides shared data used by the libwoff2dec and libwoff2enc libraries.
158 </para>
159 <indexterm zone="woff2 libwoff2common">
160 <primary sortas="c-libwoff2common">libwoff2common.so</primary>
161 </indexterm>
162 </listitem>
163 </varlistentry>
164
165 <varlistentry id="libwoff2dec">
166 <term><filename class="libraryfile">libwoff2dec.so</filename></term>
167 <listitem>
168 <para>
169 is the WOFF2 decoder library.
170 </para>
171 <indexterm zone="woff2 libwoff2dec">
172 <primary sortas="c-libwoff2dec">libwoff2dec.so</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 <varlistentry id="libwoff2enc">
178 <term><filename class="libraryfile">libwoff2enc.so</filename></term>
179 <listitem>
180 <para>
181 is the WOFF2 encoder library.
182 </para>
183 <indexterm zone="woff2 libwoff2enc">
184 <primary sortas="c-libwoff2common">libwoff2enc.so</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190 </sect2>
191</sect1>
Note: See TracBrowser for help on using the repository browser.