glfs/general/graphlib/libspiro.xml
2024-01-19 22:39:35 +01:00

145 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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;
<!ENTITY libspiro-download-http "https://github.com/fontforge/libspiro/releases/download/&libspiro-version;/libspiro-dist-&libspiro-version;.tar.gz">
<!ENTITY libspiro-download-ftp " ">
<!ENTITY libspiro-md5sum "c21f86e6c1ad65ed4cb1f754f6d7563c">
<!ENTITY libspiro-size "428 KB">
<!ENTITY libspiro-buildsize "5.1 MB (add 1.3 MB if running the tests)">
<!ENTITY libspiro-time "0.1 SBU">
]>
<!-- Try to keep the indentation used in this file-->
<sect1 id="libspiro" xreflabel="libspiro-&libspiro-version;">
<?dbhtml filename="libspiro.html"?>
<title>Libspiro-&libspiro-version;</title>
<indexterm zone="libspiro">
<primary sortas="a-libspiro">libspiro</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libspiro</title>
<para>
<application>Libspiro</application> will take an array of spiro control
points and convert them into a series of bezier splines which can then be
used in the myriad of ways the world has come to use beziers.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libspiro-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libspiro-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libspiro-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libspiro-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libspiro-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libspiro-time;
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of libspiro</title>
<para>
Install <application>libspiro</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libspiro.so
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libspiro-lib">
<term><filename class="libraryfile">libspiro.so</filename></term>
<listitem>
<para>
is a shareable library that can be used by programs to do the Spiro
computations for you
</para>
<indexterm zone="libspiro libspiro-lib">
<primary sortas="c-libspiro">libspiro.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>