[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[19b062d] | 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 |
|
---|
[8ff9257] | 7 | <!ENTITY libass-download-http "https://github.com/libass/libass/releases/download/&libass-version;/libass-&libass-version;.tar.xz">
|
---|
[19b062d] | 8 | <!ENTITY libass-download-ftp " ">
|
---|
[79a7ba9] | 9 | <!ENTITY libass-md5sum "baed6dfc87bed705c1955cc6b932d7f6">
|
---|
| 10 | <!ENTITY libass-size "436 KB">
|
---|
| 11 | <!ENTITY libass-buildsize "7.7 MB">
|
---|
[24a18e1] | 12 | <!ENTITY libass-time "less than 0.1 SBU">
|
---|
[19b062d] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libass" xreflabel="libass-&libass-version;">
|
---|
| 16 | <?dbhtml filename="libass.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libass-&libass-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libass">
|
---|
[1379348] | 22 | <primary sortas="a-libass">libass</primary>
|
---|
[19b062d] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libass</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>libass</application> is a portable subtitle renderer for the
|
---|
| 30 | ASS/SSA (Advanced Substation Alpha/Substation Alpha) subtitle format that
|
---|
| 31 | allows for more advanced subtitles than the conventional SRT and similar
|
---|
| 32 | formats.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[5efdd78] | 35 | &lfs122_checked;
|
---|
[19b062d] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&libass-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&libass-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &libass-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &libass-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &libass-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &libass-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">libass Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
[499fd60] | 75 | <xref linkend="freetype2"/>,
|
---|
| 76 | <xref linkend="fribidi"/>, and
|
---|
| 77 | <xref linkend="nasm"/>
|
---|
[19b062d] | 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 81 | <para role="recommended">
|
---|
| 82 | <xref linkend="fontconfig"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 86 | <para role="optional">
|
---|
[9d1401f] | 87 | <xref linkend="harfbuzz"/> and
|
---|
| 88 | <ulink url="https://github.com/adah1972/libunibreak">libunibreak</ulink>
|
---|
[19b062d] | 89 | </para>
|
---|
| 90 |
|
---|
[1379348] | 91 |
|
---|
[19b062d] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of libass</title>
|
---|
| 96 |
|
---|
| 97 | <para>
|
---|
| 98 | Install <application>libass</application> by running the following
|
---|
| 99 | commands:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
[8ff9257] | 102 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[19b062d] | 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
[f3429309] | 106 | This package does not come with a test suite.
|
---|
[19b062d] | 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 |
|
---|
| 120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 121 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | <option>--disable-fontconfig</option>: Use this switch if you didn't
|
---|
[1379348] | 125 | install <application>Fontconfig</application>.
|
---|
[19b062d] | 126 | </para>
|
---|
| 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 | None
|
---|
| 141 | </seg>
|
---|
| 142 | <seg>
|
---|
| 143 | libass.so
|
---|
| 144 | </seg>
|
---|
| 145 | <seg>
|
---|
| 146 | /usr/include/ass
|
---|
| 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="libass-lib">
|
---|
| 157 | <term><filename class="libraryfile">libass.so</filename></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>
|
---|
[4c24eb0a] | 160 | provides the functions used to render ASS/SSA subtitle format
|
---|
[19b062d] | 161 | </para>
|
---|
| 162 | <indexterm zone="libass libass-lib">
|
---|
| 163 | <primary sortas="c-libass">libass.so</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | </variablelist>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | </sect1>
|
---|