Add graphite2, update references to it. In libreoffice move both graphite2 and harfbuzz to recommended because otherwise internal versions will be used. Change the TeX Live link to graphite2, and temporarily point to #4647 until work on TeX is complete.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12676 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Ken Moffat 2014-02-06 23:15:02 +00:00
parent 57777f94d3
commit 2a75b9bc23
7 changed files with 235 additions and 6 deletions

View File

@ -284,6 +284,7 @@ export -f as_root</userinput></screen>
<!ENTITY fribidi-version "0.19.6">
<!ENTITY gegl-version "0.2.0">
<!ENTITY giflib-version "5.0.5">
<!ENTITY graphite2-version "1.2.4">
<!ENTITY harfbuzz-version "0.9.26">
<!ENTITY ijs-version "0.35">
<!ENTITY imlib2-version "1.4.6">

View File

@ -0,0 +1,213 @@
<?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;
<!-- the master source at palaso.org looks easy in a browser, but in fact
everything is in numbered attachment directories, one per file, so that will
probably be even worse than sf.net for finding if htere is a new version -->
<!ENTITY graphite2-download-http
"&sourceforge-repo;/silgraphite/graphite2-&graphite2-version;.tgz">
<!ENTITY graphite2-download-ftp " ">
<!ENTITY graphite2-md5sum "2ef839348fe28e3b923bf8cced440227">
<!ENTITY graphite2-size "6.7 MB">
<!ENTITY graphite2-buildsize "44 MB">
<!ENTITY graphite2-time "0.2 SBU">
]>
<sect1 id="graphite2" xreflabel="Graphite2-&graphite2-version;">
<?dbhtml filename="graphite2.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Graphite2-&graphite2-version;</title>
<indexterm zone="graphite2">
<primary sortas="a-Graphite2">Graphite2</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Graphite2</title>
<para>
<application>Graphite2</application> is a rendering engine for graphite
fonts. These are TrueType fonts with additional tables containing smart
rendering information and were originally developed to support complex
non-Roman writing systems. They may contain rules for e.g. ligatures,
glyph substitution, kerning, justification - this can make them useful
even on text written in Roman writing systems such as English. Note that
<application>firefox</application> provides an internal copy of the
graphite engine and cannot use a system version, but it too should benefit
from the availability of graphite fonts.
</para>
&lfs74_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&graphite2-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&graphite2-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &graphite2-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &graphite2-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &graphite2-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &graphite2-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Graphite2 Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>,
<xref linkend="freetype2"/> and
<xref linkend="python2"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="http://sourceforge.net/projects/silgraphite/files/silgraphite/2.3.1/">silgraphite</ulink>
to build the <command>comparerender</command> test and benchmarking tool,
and if that is present,
<xref linkend="harfbuzz"/> to add more functionality to it (this is a
circular dependency, you would need to first build
<application>graphite2</application> without
<application>harfbuzz</application>).
</para>
<para>To build the documentation, which is reported to be broken, would
require all of
<ulink url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink>,
<xref linkend="doxygen"/> and
<xref linkend="texlive"/>.
</para>
<bridgehead renderas="sect4">Optional (at runtime)</bridgehead>
<para role="optional">
You will need at least one suitable <ulink
url="http://scripts.sil.org/cms/scripts/page.php?site_id=projects&amp;item_id=graphite_fonts">graphite font</ulink>
for the package to be useful.
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/graphite2"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Graphite2</title>
<para>
Install <application>Graphite2</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr .. &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="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
gr2fonttest, and optionally comparerender
</seg>
<seg>
libgraphite2.so
</seg>
<seg>
/usr/include/graphite2 and
/usr/share/graphite2
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="comparerender">
<term><command>comparerender</command></term>
<listitem>
<para>
is a test and benchmarking tool.
</para>
<indexterm zone="graphite2 comparerender">
<primary sortas="b-comparerender">comparerender</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="gr2fonttest">
<term><command>gr2fonttest</command></term>
<listitem>
<para>
is a diagnostic console tool for graphite fonts.
</para>
<indexterm zone="graphite2 gr2fonttest">
<primary sortas="b-gr2fonttest">gr2fonttest</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libgraphite2">
<term><filename class="libraryfile">libgraphite2.so</filename></term>
<listitem>
<para>
is a rendering engine for graphite fonts.
</para>
<indexterm zone="graphite2 libgraphite2">
<primary sortas="c-libgraphite2">libgraphite2.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -28,6 +28,7 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fribidi.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gegl.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="giflib.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="graphite2.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="harfbuzz.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ijs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="jasper.xml"/>

View File

@ -86,7 +86,7 @@
<xref linkend="cairo"/>,
<xref linkend="gobject-introspection"/>,
<xref linkend="gtk-doc"/>, and
<ulink url="http://projects.palaso.org/projects/graphitedev/files">Graphite2</ulink>
<xref linkend="graphite2"/>
</para>
<warning>

View File

@ -46,6 +46,12 @@
<listitem>
<para>February 6th, 2014</para>
<itemizedlist>
<listitem>
<para>[ken] - Add graphite2. This fixes
<ulink url="&blfs-ticket-root;4657">#4657</ulink> and begins
work on <ulink url="&blfs-ticket-root;4647">#4647</ulink>
</para>
</listitem>
<listitem>
<para>[fernando] - Update to seamonkey-2.24. Fixes
<ulink url="&blfs-ticket-root;4662">#4662</ulink>.</para>

View File

@ -72,8 +72,14 @@
<bridgehead renderas="sect3">TeX Live Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="gs"/>,
<bridgehead renderas="sect4">Optional (to build from source)</bridgehead>
<para role="optional">
The source ships with its own versions of <emphasis>many</emphasis> of
these libraries, and will use them unless it is forced to use the system
versions. Work is in progress to deal with this, in the meantime please
see<ulink url="http://wiki.linuxfromscratch.org/blfs/ticket/4647"> ticket
#4647</ulink>.
<xref linkend="gs"/>,
<xref linkend="poppler"/>,
<xref linkend="freetype2"/>,
<xref linkend="fontconfig"/>,
@ -86,8 +92,8 @@
<ulink url="http://www.gnu.org/software/clisp/">CLISP</ulink>,
<xref linkend="lua"/>,
<ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=TECkitDownloads">TECkit</ulink>, and
<ulink url="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;cat_id=RenderingGraphite">
Graphite</ulink></para>
<xref linkend="graphite2"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/texlive"/></para>

View File

@ -161,8 +161,10 @@
<xref linkend="curl"/>,
<xref linkend="dbus"/>,
<xref linkend="expat"/>,
<xref linkend="graphite2"/>,
<xref linkend="gst-plugins-base"/> or
<xref linkend="gst10-plugins-base"/>,
<xref linkend="harfbuzz"/>,
<xref linkend="icu"/>,
<xref linkend="lcms2"/>,
<xref linkend="librsvg"/>,
@ -186,7 +188,6 @@
<xref linkend="bluez"/>,
<xref linkend="doxygen"/> (not relevant if using --disable-odk),
<ulink url="http://sourceforge.net/projects/cppunit/">Cppunit</ulink>,
<ulink url="http://sourceforge.net/projects/silgraphite/">Graphite2</ulink>,
<xref linkend="gtk3"/>,
<ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
<ulink url="http://sourceforge.net/projects/hunspell/files/Hyphen/">Hyphen</ulink>,
@ -333,6 +334,7 @@ sed -e "s/target\.mk/langlist\.mk/" \
--with-system-cairo \
--with-system-curl \
--with-system-expat \
--with-system-graphite \
--with-system-harfbuzz \
--with-system-icu \
--with-system-jpeg \