Ignore:
Timestamp:
01/26/2016 06:29:53 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
fd21cdf
Parents:
a6a9fc5
Message:

Merge Chapter 10 changes from trunk, fix boost sed (from trunk).

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16844 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/graphite2.xml

    ra6a9fc5 r94b4def9  
    1111           "&sourceforge-repo;/silgraphite/graphite2-&graphite2-version;.tgz">
    1212  <!ENTITY graphite2-download-ftp  " ">
    13   <!ENTITY graphite2-md5sum        "7cda6fc6bc197b216777b15ce52c38a8">
    14   <!ENTITY graphite2-size          "6.5 MB">
    15   <!ENTITY graphite2-buildsize     "48 MB">
    16   <!ENTITY graphite2-time          "0.3 SBU">
     13  <!ENTITY graphite2-md5sum        "5b8d22a8bbf031838e31432868c0109c">
     14  <!ENTITY graphite2-size          "3.8 MB">
     15  <!ENTITY graphite2-buildsize     "27 MB (with docs and tests)">
     16  <!ENTITY graphite2-time          "0.3 SBU (with docs and tests)">
    1717]>
    1818
     
    101101      <application>harfbuzz</application>).
    102102    </para>
    103     <para>To build the documentation, which is reported to be broken, would
    104       require all of
     103
     104    <para>To build the documentation:
    105105      <ulink url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink>,
    106       <xref linkend="doxygen"/> and
    107       <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
     106      <xref linkend="doxygen"/>,
     107      <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>), and
     108      <ulink url="http://dblatex.sourceforge.net/">
     109      dblatex</ulink>  (for PDF docs)
     110    </para>
     111
     112    <para>To execute the test suite you will need
     113      <ulink url="https://pypi.python.org/pypi/FontTools">FontTools</ulink>
     114      (Python 2 module), otherwise, the "cmp" tests fail.
    108115    </para>
    109116
     
    131138cd    build &amp;&amp;
    132139
    133 cmake -DCMAKE_INSTALL_PREFIX=/usr \
    134       -DCMAKE_BUILD_TYPE=Release  \
    135       -Wno-dev                    .. &amp;&amp;
     140cmake -G "Unix Makefiles"         \
     141      -DCMAKE_INSTALL_PREFIX=/usr \
     142      .. &amp;&amp;
     143
    136144make</userinput></screen>
    137145
    138146    <para>
    139       To test the results, issue: <command>make -k test</command>. Several
    140       tests fail for unknown reasons.
     147      If you wish to build the documentation, issue:
     148    </para>
     149
     150<screen><userinput>make docs</userinput></screen>
     151
     152    <para>
     153      Some tests fail if
     154      <ulink url="https://pypi.python.org/pypi/FontTools">FontTools</ulink>
     155      (Python 2 module) is not installed. These tests can be removed with:
     156    </para>
     157
     158<screen><userinput>sed -i '/cmptest/d' tests/CMakeLists.txt</userinput></screen>
     159
     160    <para>
     161      To test the results, issue: <command>make test</command>.
    141162    </para>
    142163
     
    146167
    147168<screen role="root"><userinput>make install</userinput></screen>
     169
     170    <para>
     171      If you built the documentation, install, as the
     172      <systemitem class="username">root</systemitem> user:
     173    </para>
     174
     175<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/graphite2-&graphite2-version;/api &amp;&amp;
     176cp      -v -r -f    doc/doxygen/{html,latex/refman.pdf} \
     177                    /usr/share/doc/graphite2-&graphite2-version;/api &amp;&amp;
     178cp      -v -r -f    doc/{GTF,manual}.html \
     179                    /usr/share/doc/graphite2-&graphite2-version;</userinput></screen>
     180
     181  </sect2>
     182
     183  <sect2 role="commands">
     184    <title>Command Explanations</title>
     185
     186    <para><option>-DCMAKE_VERBOSE_MAKEFILE=ON</option>: This switch turns on
     187    build verbose mode.</para>
     188
    148189  </sect2>
    149190
     
    164205        </seg>
    165206        <seg>
    166           /usr/include/graphite2 and
    167           /usr/share/graphite2
     207          /usr/{include,share}/graphite2 and optionally
     208          /usr/share/doc/graphite2-&graphite2-version;
    168209        </seg>
    169210      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.