Add separate asymptote and indy. Various consistency edits and rephrasing Texlive pass 1 now describes itself as just texlive from source, the original texlive page is no longer rendered : I will archive the latter and then rename the pass1 file in later commits, then look at what might optionally xref to the binary page.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15327 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2015-01-11 21:06:00 +00:00
parent 0d36568111
commit 347e59c826
9 changed files with 496 additions and 60 deletions

View File

@ -47,6 +47,14 @@
<listitem> <listitem>
<para>January 11th, 2015</para> <para>January 11th, 2015</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[ken] - Separate asymptote and xindy from texlive.
Note that xindy does not at the moment work on i686. Remove
the second build of texlive. Fixes
<ulink url="&blfs-ticket-root;5956">#5956</ulink>
and partly addresses
<ulink url="&blfs-ticket-root;5926">#5926</ulink>.</para>
</listitem>
<listitem> <listitem>
<para>[fernando] - Update to ffmpeg-2.5.3. Fixes <para>[fernando] - Update to ffmpeg-2.5.3. Fixes
<ulink url="&blfs-ticket-root;6025">#6025</ulink>.</para> <ulink url="&blfs-ticket-root;6025">#6025</ulink>.</para>

View File

@ -589,6 +589,7 @@
<!ENTITY firefox-version "34.0.5"> <!ENTITY firefox-version "34.0.5">
<!-- Chapter 36 --> <!-- Chapter 36 -->
<!ENTITY asymptote-version "2.32">
<!ENTITY balsa-version "2.5.1"> <!ENTITY balsa-version "2.5.1">
<!ENTITY ekiga-version "4.0.1"> <!ENTITY ekiga-version "4.0.1">
<!ENTITY feh-version "2.12"> <!ENTITY feh-version "2.12">
@ -746,8 +747,10 @@
<!-- Chapter 47 --> <!-- Chapter 47 -->
<!ENTITY texlive-version "20140525"> <!ENTITY texlive-version "20140525">
<!-- the year is used when setting up PATHs in the tl-installer <!-- the year is used when setting up PATHs in the tl-installer
page, as well as to reference the directory in texlive --> page, as well as to reference the directory in texlive, also
in asymptote (above) and xindy -->
<!ENTITY texlive-year "2014"> <!ENTITY texlive-year "2014">
<!ENTITY biber-version "1.9"> <!ENTITY biber-version "1.9">
<!ENTITY biblatex-version "2.9"> <!ENTITY biblatex-version "2.9">
<!ENTITY xindy-version "2.5.1">

View File

@ -181,7 +181,8 @@ make</userinput></screen>
<note> <note>
<para> <para>
The shared library depends on <xref linkend="gtk2"/>. It is only used in The shared library depends on <xref linkend="gtk2"/>. It is only used in
external programs like <xref linkend="imagemagick"/>. external programs like <xref linkend="asymptote"/> and
<xref linkend="imagemagick"/>.
</para> </para>
</note> </note>

View File

@ -46,10 +46,10 @@ unset TEXARCH</userinput></screen>
/etc/profile</command>.</para> /etc/profile</command>.</para>
<para>If you arrived here after installing the TeX Live binary and do not <para>If you arrived here after installing the TeX Live binary and do not
wish to build from source, your installation is now complete. To continue wish to build from source, your installation is now complete.</para>
building from source, please procede to <xref linkend="texlive"/>.</para>
<para>Alternatively, if you do not wish to install the programs for asy, <para>Alternatively, if this is a from-source build you can now install
xindy, and biber (on a from-source build) you can stop here.</para> <xref linkend="asymptote"/>, <xref linkend="biber"/> and <xref
linkend="xindy"/> if you wish.</para>
</sect1> </sect1>

View File

@ -4,14 +4,13 @@
<!ENTITY % general-entities SYSTEM "../../general.ent"> <!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities; %general-entities;
<!ENTITY texlive-pass1-download-http " "> <!ENTITY texlive-download-http " ">
<!ENTITY texlive-pass1-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz"> <!ENTITY texlive-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-source.tar.xz">
<!ENTITY texlive-pass1-md5sum "09ee265ff51637827559affc7304078c"> <!ENTITY texlive-md5sum "09ee265ff51637827559affc7304078c">
<!ENTITY texlive-pass1-size "40 MB"> <!ENTITY texlive-size "40 MB">
<!-- when measured, 900MB for pass 1 itself, 3.6 GB for texmf --> <!ENTITY texlive-buildsize "3.6 GB including the additional download">
<!ENTITY texlive-pass1-buildsize "3.6 GB including the additional download"> <!ENTITY texlive-time "8.2 SBU including the additional download">
<!ENTITY texlive-pass1-time "8.2 SBU including the additional download">
<!ENTITY texlive-texmf-download-http " "> <!ENTITY texlive-texmf-download-http " ">
<!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz"> <!ENTITY texlive-texmf-download-ftp "ftp://tug.org/texlive/historic/&texlive-year;/texlive-&texlive-version;-texmf.tar.xz">
@ -21,57 +20,56 @@
]> ]>
<sect1 id="texpass1" xreflabel="texlive-&texlive-version;-source pass 1"> <sect1 id="texlive" xreflabel="texlive-&texlive-version;">
<?dbhtml filename="texlive-pass1.html"?> <?dbhtml filename="texlive.html"?>
<sect1info> <sect1info>
<othername>$LastChangedBy$</othername> <othername>$LastChangedBy$</othername>
<date>$Date$</date> <date>$Date$</date>
</sect1info> </sect1info>
<title>texlive-&texlive-version;-source pass 1</title> <title>texlive-&texlive-version;-source</title>
<indexterm zone="texpass1"> <indexterm zone="texlive">
<primary sortas="a-texpass1">texlive-pass-1</primary> <primary sortas="a-texlive">texlive</primary>
</indexterm> </indexterm>
<sect2 role="package"> <sect2 role="package">
<title>Introduction to TeX Live from source, pass 1</title> <title>Introduction to TeX Live from source</title>
<para>Most of TeX Live can be built from source without difficulty. <para>Most of TeX Live can be built from source without a pre-existing
However, <application>xindy</application> (for indexing) needs working installation, but <application>xindy</application> (for indexing) needs
versions of <command>latex</command> and <command>pdflatex</command> working versions of <command>latex</command> and <command>pdflatex</command>
when configure is run, and the testsuite for <command>asy</command> when configure is run, and the testsuite and install for
(for vector graphics) will fail if TeX has not already been installed. <command>asy</command> (for vector graphics) will fail if TeX has not
</para> already been installed. Additionally, <application>biber</application> is
not provided within the <application>texlive</application> source.</para>
<para>In addition, it is necessary to create various symlinks at the end of <para>All of those packages are dealt with on their own pages and can be
this install.</para> built after installing this package and proceeding to
<xref linkend="tex-path"/>.</para>
<para>We can later rebuild texlive in <xref linkend="texlive"/> to include
xindy. There we will install xindy and also build and install asy.</para>
&lfs76_checked; &lfs76_checked;
<bridgehead renderas="sect3">Package Information</bridgehead> <bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact"> <itemizedlist spacing="compact">
<listitem> <listitem>
<para>Download (HTTP): <ulink url="&texlive-pass1-download-http;"/></para> <para>Download (HTTP): <ulink url="&texlive-download-http;"/></para>
</listitem> </listitem>
<listitem> <listitem>
<para>Download (FTP): <ulink url="&texlive-pass1-download-ftp;"/></para> <para>Download (FTP): <ulink url="&texlive-download-ftp;"/></para>
</listitem> </listitem>
<listitem> <listitem>
<para>Download MD5 sum: &texlive-pass1-md5sum;</para> <para>Download MD5 sum: &texlive-md5sum;</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Download size: &texlive-pass1-size;</para> <para>Download size: &texlive-size;</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Estimated disk space required: &texlive-pass1-buildsize;</para> <para>Estimated disk space required: &texlive-buildsize;</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Estimated build time: &texlive-pass1-time;</para> <para>Estimated build time: &texlive-time;</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
@ -101,7 +99,7 @@
</listitem> </listitem>
</itemizedlist> </itemizedlist>
<bridgehead renderas="sect3">TeX Live from source pass 1 Dependencies</bridgehead> <bridgehead renderas="sect3">TeX Live from source Dependencies</bridgehead>
<bridgehead renderas="sect4">Recommended</bridgehead> <bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended"> <para role="recommended">
@ -118,20 +116,20 @@
href="../../xincludes/texoptional.xml"/> href="../../xincludes/texoptional.xml"/>
<bridgehead renderas="sect4">Runtime dependencies</bridgehead> <bridgehead renderas="sect4">Runtime dependencies</bridgehead>
<!-- text for runtime deps, shared with tl-installer and pass 1 --> <!-- text for runtime deps, shared with tl-installer -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/texruntime.xml"/> href="../../xincludes/texruntime.xml"/>
<para condition="html" role="usernotes">User Notes: <para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/texlive-pass1"/></para> <ulink url="&blfs-wiki;/texlive"/></para>
</sect2> </sect2>
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of TeX Live, pass 1</title> <title>Installation of TeX Live</title>
<para> <para>
Install TeX Live pass 1 by running the following commands: Install TeX Live by running the following commands:
</para> </para>
<!-- the configure switches should be identical to those in the <!-- the configure switches should be identical to those in the
@ -255,36 +253,36 @@ tar -xf texlive-&texlive-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --
<?dbfo list-presentation="list"?> <?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?> <?dbhtml list-presentation="table"?>
<varlistentry id="texpass1-programs"> <varlistentry id="texlive-programs">
<term><command>TeX&nbsp;programs</command></term> <term><command>TeX&nbsp;programs</command></term>
<listitem> <listitem>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/texprogs.xml"/> href="../../xincludes/texprogs.xml"/>
<indexterm zone="texpass1 texpass1-programs"> <indexterm zone="texlive texlive-programs">
<primary sortas="b-texpass1-programs">TeX Live programs</primary> <primary sortas="b-texlive-programs">TeX Live programs</primary>
</indexterm> </indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="libkpathsea-texpass1"> <varlistentry id="libkpathsea">
<term><filename class="libraryfile">libkpathsea.so</filename></term> <term><filename class="libraryfile">libkpathsea.so</filename></term>
<listitem> <listitem>
<para> <para>
(kpathsearch) exists to look up a file in a list of directories. (kpathsearch) exists to look up a file in a list of directories.
</para> </para>
<indexterm zone="texpass1 libkpathsea"> <indexterm zone="texlive libkpathsea">
<primary sortas="c-libkpathsea">libkpathsea.so</primary> <primary sortas="c-libkpathsea">libkpathsea.so</primary>
</indexterm> </indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="libptexenc-texpass1"> <varlistentry id="libptexenc">
<term><filename class="libraryfile">libptexenc.so</filename></term> <term><filename class="libraryfile">libptexenc.so</filename></term>
<listitem> <listitem>
<para> <para>
is a library for Japanese pTeX (publishing TeX). is a library for Japanese pTeX (publishing TeX).
</para> </para>
<indexterm zone="texpass1 libptexenc"> <indexterm zone="texlive libptexenc">
<primary sortas="c-libptexenc">libptexenc.so</primary> <primary sortas="c-libptexenc">libptexenc.so</primary>
</indexterm> </indexterm>
</listitem> </listitem>

View File

@ -28,28 +28,32 @@ $Date$
linkend="tl-installer"/> instructions,. After installing, they can run linkend="tl-installer"/> instructions,. After installing, they can run
<command>tlmgr</command> to update their system.</para> <command>tlmgr</command> to update their system.</para>
<para>Most people reading BLFS will wish to build from source. You can either <para>Most people reading BLFS will wish to build from source. BLFS used to
do as BLFS used to do, by starting with <application>install-tl-unx</application>, start by installing <application>install-tl-unx</application> and then use that
or you can avoid the binary files completely and begin at to bootstrap the build. Nowadays, we build almost the whole of
<xref linkend="texpass1"/> which will install most of <application>texlive</application> <emphasis>without</emphasis> a binary install,
by adding the separately-packaged texmf files into this build. For this, begin
at <xref linkend="texlive"/> which will install most of
<application>texlive</application>, together with <emphasis>all</emphasis> of the <application>texlive</application>, together with <emphasis>all</emphasis> of the
supporting files. This almost-complete install is then used to build two supporting files. This almost-complete install can then be used to build the
remaining parts of <application>texlive</application>, xindy and asy (that remaining parts of <application>texlive</application>, <xref
involves recompiling all of the package, but not reinstalling all of it).</para> linkend="asymptote"/>, <xref linkend="xindy"/> and <xref linkend="biber"/>.
</para>
<para>Because the texmf files (including documentation, fonts, scripts and <para>Because the texmf files (including documentation, fonts, scripts and
supporting files) are all in one tarball, it is not practical to limit what supporting files) are all in one tarball, it is not practical to limit what
gets extracted in a sensible way (e.g. to exclude one or other of the typesetting gets extracted in a sensible way (e.g. to exclude one or other of the typesetting
engines).</para> engines) when building from source in this manner.</para>
<para>After that, people building from source will wish to install <xref <para>In either case, BLFS installs into
linkend="biber"/>, which is supplied separately, to complete the full <filename class="directory">/opt/texlive/&texlive-year;</filename> with the sole
installation.</para> exception of two libraries from the source install which are installed into
<filename class="directory">/usr/lib</filename> for convenience.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tl-installer.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tl-installer.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texlive-pass1.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texlive-pass1.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tex-path.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tex-path.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texlive.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="biber.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="biber.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xindy.xml"/>
</chapter> </chapter>

204
pst/typesetting/xindy.xml Normal file
View File

@ -0,0 +1,204 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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 xindy-download-http "http://tug.ctan.org/support/xindy/base/xindy-&xindy-version;.tar.gz">
<!ENTITY xindy-download-ftp " ">
<!ENTITY xindy-md5sum "221acfeeb0f6f8388f89a59c56491041">
<!ENTITY xindy-size "506 KB">
<!ENTITY xindy-buildsize "15 MB">
<!ENTITY xindy-time "less than 0.1 SBU">
]>
<sect1 id="xindy" xreflabel="xindy-&xindy-version;">
<?dbhtml filename="xindy.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>xindy-&xindy-version;</title>
<indexterm zone="xindy">
<primary sortas="a-xindy">xindy</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to xindy</title>
<para>
<!-- LaTeX for the system, but just latex for the command -->
<application>Xindy</application> is an index processor that can be used
to generate book-like indexes for arbitrary document-preparation systems.
This includes systems such as TeX and LaTeX, the roff-family,
SGML/XML-based systems (e.g., HTML) that process some kind of text and
generate indexing information.
</para>
<note>
<para>
At the moment, this works on x86_64 but does not work on 32-bit x86.
Help in debugging this will be welcomed.
</para>
</note>
&lfs76_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&xindy-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&xindy-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &xindy-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &xindy-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &xindy-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &xindy-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Xindy Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="clisp"/>,
<xref linkend="texlive"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/xindy"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of xindy</title>
<para>
Install <application>xindy</application> by running the following
commands:
</para>
<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
./configure --prefix=/opt/texlive/&texlive-year; \
--bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
--datarootdir=/opt/texlive/&texlive-year; \
--includedir=/usr/include \
--libdir=/opt/texlive/&texlive-year;/texmf-dist \
--mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &amp;&amp;
make</userinput></screen>
<para>
This package does not have a testsuite.
</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/tex-prefix.xml"/>
<para><parameter>--includedir=/usr/include</parameter>:
This parameter ensures that the <filename>kpathsea</filename>
headers from <xref linkend="texlive"/> will be found.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
tex2xindy, texindy, xindy
</seg>
<seg>
None
</seg>
<seg>
/opt/texlive/&texlive-year;/texmf-dist/xindy
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="tex2xindy">
<term><command>tex2xindy</command></term>
<listitem>
<para>
transforms a LaTeX index file into a xindy raw index file.
</para>
<indexterm zone="xindy tex2xindy">
<primary sortas="b-tex2xindy">tex2xindy</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="texindy">
<term><command>texindy</command></term>
<listitem>
<para>
is a wrapper for xindy that turns on many LaTeX conventions by default.
</para>
<indexterm zone="xindy texindy">
<primary sortas="b-texindy">texindy</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="xindy-prog">
<term><command>xindy</command></term>
<listitem>
<para>
creates a sorted and tagged index from a raw LaTeX index.
</para>
<indexterm zone="xindy xindy">
<primary sortas="b-xindy">xindy</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

217
xsoft/other/asymptote.xml Normal file
View File

@ -0,0 +1,217 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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 asymptote-download-http "&sourceforge-repo;/sourceforge/asymptote/asymptote-&asymptote-version;.src.tgz">
<!ENTITY asymptote-download-ftp " ">
<!ENTITY asymptote-md5sum "9c817c2a9763294d3b66e4b57054eed3">
<!ENTITY asymptote-size "1.8 MB">
<!ENTITY asymptote-buildsize "163 MB">
<!ENTITY asymptote-time "2.1 SBU">
]>
<sect1 id="asymptote" xreflabel="asymptote-&asymptote-version;">
<?dbhtml filename="asymptote.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>asymptote-&asymptote-version;</title>
<indexterm zone="asymptote">
<primary sortas="a-asymptote">asymptote</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to asymptote</title>
<para>
<application>Asymptote</application> is a powerful descriptive vector
graphics language that provides a natural coordinate-based framework for
technical drawing. Labels and equations can be typeset with LaTeX.
</para>
&lfs76_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&asymptote-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&asymptote-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &asymptote-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &asymptote-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &asymptote-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &asymptote-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/asymptote-&asymptote-version;-ghostscript_fix-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Asymptote Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="gs"/>,
<xref linkend="texlive"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="freeglut"/> (for 3D drawing)
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="http://www.fftw.org/">FFTW</ulink>,
<xref linkend="gsl"/>
</para>
<bridgehead renderas="sect4">Optional (at runtime, to use xasy)</bridgehead>
<para role="optional">
<ulink url="http://effbot.org/downloads/Imaging-1.1.7.tar.gz">Imaging</ulink>
which needs
<!-- hard-coded because I'm not sure if the book scripts will find this and move
it to svn/ -->
<ulink url="http://www.linuxfromscratch.org/patches/downloads/Imaging/Imaging-1.1.7-freetype_fix-1.patch">Imaging-1.1.7-freetype_fix-1.patch</ulink>
and has a build dependency of
<xref linkend="python2"/> (re-) compiled against <xref linkend="tk"/>
to provide <filename>_tkinter.so</filename>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/asymptote"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of asymptote</title>
<para>
Install <application>asymptote</application> by running the following
commands:
</para>
<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
patch -Np1 -i ../asymptote-&asymptote-version;-ghostscript_fix-1.patch &amp;&amp;
./configure --prefix=/opt/texlive/&texlive-year; \
--bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
--datarootdir=/opt/texlive/&texlive-year; \
--libdir=/opt/texlive/&texlive-year;/texmf-dist \
--mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man &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/tex-prefix.xml"/>
<para><parameter>--libdir=/opt/texlive/&texlive-year;/texmf-dist;</parameter>:
This parameter ensures that the <filename class="directory">asymptote</filename>
directory will similarly overwrite any files installed by install-tl-unx.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
asy, xasy
</seg>
<seg>
None
</seg>
<seg>
/opt/texlive/&texlive-year;/asymptote, /opt/texlive/&texlive-year;/doc/asymptote,
/opt/texlive/&texlive-year;/info/asymptote
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="asy">
<term><command>asy</command></term>
<listitem>
<para>
is a vector graphics program.
</para>
<indexterm zone="asymptote asy">
<primary sortas="b-asy">asy</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="xasy">
<term><command>xasy</command></term>
<listitem>
<para>
is a Python script providing the preliminary GUI for asy. It can be
used for final adjustments of an existing asy file.
</para>
<indexterm zone="asymptote xasy">
<primary sortas="b-xasy">xasy</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -18,6 +18,7 @@ $Date$
<para>These programs use the X Window System and don't fit easily into any <para>These programs use the X Window System and don't fit easily into any
of the other chapters.</para> of the other chapters.</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="asymptote.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="balsa.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="balsa.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ekiga.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ekiga.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="feh.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="feh.xml"/>