Changeset 293e9cdc for pst/typesetting


Ignore:
Timestamp:
02/10/2016 07:29:53 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
062e1f05
Parents:
53192f0
Message:

Merge PST and Printing section from trunk.

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

Location:
pst/typesetting
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/asymptote.xml

    r53192f0 r293e9cdc  
    3636    </para>
    3737
    38     &lfs77_checked;
     38    &lfs78_checked;
    3939
    4040    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7272    </itemizedlist>
    7373
    74     <bridgehead renderas="sect3">Asymptote Dependencies</bridgehead>
    75 
    7674    <bridgehead renderas="sect4">Required</bridgehead>
    7775    <para role="required">
    78       <xref linkend="gs"/> and
     76      <xref linkend="gs"/>,
    7977      <xref linkend="texlive"/>
    8078    </para>
     
    8280    <bridgehead renderas="sect4">Recommended</bridgehead>
    8381    <para role="recommended">
    84       <xref linkend="freeglut"/> (for 3D drawing) and
     82      <xref linkend="freeglut"/> (for 3D drawing),
    8583      <xref linkend="gc"/>
    8684    </para>
     
    8886    <bridgehead renderas="sect4">Optional</bridgehead>
    8987    <para role="optional">
    90       <ulink url="http://www.fftw.org/">FFTW</ulink> and
     88      <ulink url="http://www.fftw.org/">FFTW</ulink>,
    9189      <xref linkend="gsl"/>
    9290    </para>
     
    113111
    114112    <para>
     113      If you have installed version 2 of libgsl, fix a build failure:
     114    </para>
     115
     116<screen><userinput>sed -i -e '/ellint_D/s/3/2/' \
     117       -e '/ellint_D/s/.SYM(n)//' gsl.cc</userinput></screen>
     118
     119    <para>
    115120      Install <application>asymptote</application> by running the following
    116121      commands:
     
    118123
    119124<screen><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
    120 
    121 ./configure --prefix=/opt/texlive/&texlive-year;                          \
    122             --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH            \
    123             --datarootdir=/opt/texlive/&texlive-year;                    \
    124             --libdir=/opt/texlive/&texlive-year;/texmf-dist              \
    125             --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man      \
    126             --enable-gc=system                                  \
    127             --with-latex=/opt/texlive/&texlive-year;/texmf-dist/tex/latex \
    128             --with-context=/opt/texlive/&texlive-year;/texmf-dist/tex/context/third &amp;&amp;
     125./configure --prefix=/opt/texlive/&texlive-year; \
     126 --bindir=/opt/texlive/&texlive-year;/bin/$TEXARCH \
     127 --datarootdir=/opt/texlive/&texlive-year;/texmf-dist \
     128 --infodir=/opt/texlive/&texlive-year;/texmf-dist/doc/info \
     129 --libdir=/opt/texlive/&texlive-year;/texmf-dist \
     130 --mandir=/opt/texlive/&texlive-year;/texmf-dist/doc/man \
     131 --enable-gc=system \
     132 --with-latex=/opt/texlive/&texlive-year;/texmf-dist/tex/latex \
     133 --with-context=/opt/texlive/&texlive-year;/texmf-dist/tex/context/third &amp;&amp;
    129134make</userinput></screen>
    130135
     
    146151    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    147152     href="../../xincludes/tex-prefix.xml"/>
     153
     154    <para>
     155      Exceptionally, asymptote will create an <filename
     156      class="directory">asymptote/</filename> subdirectory for
     157      <filename>asymptote.info</filename> even though the
     158      <filename>asy-faq.info</filename> file will be in the main
     159      <application>texlive</application>
     160      <filename class="directory">info/</filename> directory. Both files
     161      <emphasis>will</emphasis> be found by <command>info</command>.
     162    </para>
     163
     164    <para><parameter>sed ...</parameter>: change the reference to
     165    <literal>gsl_sf_ellint_D</literal> to use addGSLDOUBLE2Func and to therefore
     166    omit the last parameter, for gsl major version 2.</para>
    148167
    149168    <para><parameter>--libdir=/opt/texlive/&texlive-year;/texmf-dist;</parameter>:
     
    178197        </seg>
    179198        <seg>
    180           /opt/texlive/&texlive-year;/asymptote, /opt/texlive/&texlive-year;/doc/asymptote,
     199          /opt/texlive/&texlive-year;texmf-dist/asymptote,
     200          /opt/texlive/&texlive-year;/doc/asymptote,
    181201          /opt/texlive/&texlive-year;/info/asymptote
    182202        </seg>
  • pst/typesetting/biber.xml

    r53192f0 r293e9cdc  
    55  %general-entities;
    66
    7   <!-- please keep the alternative http, with one of them commented, so that
    8    a tarball can always be downloaded by a user even if anduin is not yet updated -->
    9   <!ENTITY biber-download-http   "&sources-anduin-http;/b/biblatex-biber-&biber-version;.tar.xz">
    10   <!-- please edit this one to point to wherever you uploaded \-\->
    11   <!ENTITY biber-download-http   "http://www.linuxfromscratch.org/~ken/tmp/biblatex-biber-&biber-version;.tar.xz"> -->
    12   <!ENTITY biber-download-ftp    "&sources-anduin-ftp;/b/biblatex-biber-&biber-version;.tar.xz">
    13   <!ENTITY biber-md5sum          "bf5191099887a652105ee9bf08bcf958">
    14   <!ENTITY biber-size            "1.4 MB">
     7<!--  <!ENTITY biber-download-http   "http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/&biber-version;/biblatex-biber.tar.gz">-->
     8  <!ENTITY biber-download-http   "&sources-anduin-http;/biblatex-biber/biblatex-biber-&biber-version;.tar.gz">
     9  <!ENTITY biber-download-ftp    "&sources-anduin-ftp;/biblatex-biber/biblatex-biber-&biber-version;.tar.gz">
     10  <!ENTITY biber-md5sum          "8bcfcc5c66a357521a2977c699a8c289">
     11  <!ENTITY biber-size            "2.0 MB">
    1512  <!-- buildsize includes the installed biblatex -->
    16   <!ENTITY biber-buildsize       "40 MB">
    17   <!ENTITY biber-time            "less than 0.1 SBU (0.5 SBU to run the tests)">
     13  <!ENTITY biber-buildsize       "37 MB">
     14  <!ENTITY biber-time            "less than 0.1 SBU (0.4 SBU to run the tests)">
    1815
    1916  <!ENTITY biblatex-download-http   "http://sourceforge.net/projects/biblatex/files/biblatex-&biblatex-version;/biblatex-&biblatex-version;.tds.tgz">
    2017  <!ENTITY biblatex-download-ftp    "">
    21   <!ENTITY biblatex-md5sum          "c6dad1c1f8a46785981610b5165d9fe5">
     18  <!ENTITY biblatex-md5sum          "bc08cbfe976b326774a6ba3e1f6b5efc">
    2219  <!ENTITY biblatex-size            "19 MB">
    2320
     
    4239
    4340    <para>Biber is a BibTeX replacement for users of biblatex, written in
    44     <application>Perl</application>. Upstream prefers to provide binaries
    45     and no longer offers a source tarball, so that has been taken from the
    46     git tree : see the file <filename>Fixes-from-git</filename> to see
    47     which changes (since 2.1 was tagged) have been included.</para>
    48 
    49     &lfs77_checked;
     41    <application>Perl</application>, with full Unicode support.</para>
     42
     43    &lfs78_checked;
    5044
    5145    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7367    <bridgehead renderas="sect3">Required Additional Download</bridgehead>
    7468
     69
     70    <itemizedlist spacing="compact">
     71      <listitem>
    7572      <para>The corresponding version of <application>biblatex</application> is
    76       a separate project - the tds version is pre-packaged for untarring into
    77       the <filename class="directory">texmf-dist</filename> directory.</para>
    78 
    79     <itemizedlist spacing="compact">
    80       <listitem>
    81         <para>Download (HTTP): <ulink url="&biblatex-download-http;"/></para>
     73      a separate project - the tds tarball is pre-packaged for untarring into
     74      the <filename class="directory">texmf-dist</filename> directory.
     75      Download (HTTP): <ulink url="&biblatex-download-http;"/></para>
    8276      </listitem>
    8377      <listitem>
     
    9387    <bridgehead renderas="sect4">Required</bridgehead>
    9488    <para role="required">
    95       <xref linkend="perl-autovivification"/>,
    96       <xref linkend="perl-business-isbn"/>,
    97       <xref linkend="perl-business-ismn"/>,
    98       <xref linkend="perl-business-issn"/>,
    99       <xref linkend="perl-data-compare"/>,
    100       <xref linkend="perl-data-dump"/>,
    101       <xref linkend="perl-date-simple"/>,
    102       <xref linkend="perl-encode-eucjpascii"/>,
    103       <xref linkend="perl-encode-hanextra"/>,
    104       <xref linkend="perl-encode-jis2k"/>,
    105       <xref linkend="perl-file-slurp"/>,
    106       <xref linkend="perl-ipc-run3"/>,
    107       <xref linkend="perl-log-log4perl"/>,
    108       <xref linkend="perl-lwp"/>,
    109       <xref linkend="perl-list-allutils"/>,
    110       <!-- perl-module-build is pulled in by perl-text-bibtex -->
    111       <xref linkend="perl-regexp-common"/>,
    112       <xref linkend="perl-text-bibtex"/>,
    113       <xref linkend="perl-text-roman"/>,
     89      <!-- KFM: because I always get confused by these deps, I've decided
     90      to add some comments.
     91      Both Config::AutoConf and ExtUtils::LibBuilder are listed as build
     92      requirements in Build.PL, the rest are just requirements, but the
     93      difference seems moot.  Those two are needed to build Text::BibTeX
     94      so not listed separately. -->
     95      <xref linkend="perl-autovivification"/>
     96      <xref linkend="perl-business-isbn"/>
     97      <xref linkend="perl-business-ismn"/>
     98      <xref linkend="perl-business-issn"/>
     99      <xref linkend="perl-data-compare"/>
     100      <xref linkend="perl-data-dump"/>
     101      <xref linkend="perl-date-simple"/>
     102      <xref linkend="perl-encode-eucjpascii"/>
     103      <xref linkend="perl-encode-hanextra"/>
     104      <xref linkend="perl-encode-jis2k"/>
     105      <xref linkend="perl-file-slurp"/>
     106      <!-- IPC::Cmd is a part of core perl -->
     107      <xref linkend="perl-ipc-run3"/>
     108      <!-- LWP::Simple is part of libwww-perl,
     109      that is pulled in by LWP::Protocol::https -->
     110      <xref linkend="perl-list-allutils"/>
     111      <!-- List::MoreUtils was pulled in for the testsuite of List::AllUtils,
     112      but it needs to be present even if people do not run the tests -->
     113      <xref linkend="perl-list-moreutils"/>
     114      <xref linkend="perl-log-log4perl"/>
     115      <!-- I initially misread LWP-Protocol-https as part of libwww-perl
     116      when I was preparing this list.  In fact, it depends on that -->
     117      <xref linkend="perl-lwp-protocol-https"/>
     118      <!-- Module::Build is pulled in by perl-text-bibtex, but mention it explicitly
     119      so that the note on automatically installing missing dependencies can be run -->
     120      <xref linkend="perl-module-build"/>
     121      <!-- Mozilla::CA is a dependency of LWP-Protocol-https -->
     122      <xref linkend="perl-regexp-common"/>
     123      <xref linkend="perl-text-bibtex"/>
     124      <xref linkend="perl-text-roman"/>
    114125      <!-- Collate.pm ships in perl, but is sometimes too old, and we like current
    115126      versions.  Make the latest version required so that everyone is using the
    116127      same version.  In fact, the version in perl-5.20.2 is indeed too old for
    117128      biber-2.0 -->
    118       <xref linkend="perl-unicode-collate"/>,
    119       <xref linkend="perl-unicode-linebreak"/>,
    120       <xref linkend="perl-xml-libxml-simple"/>,
    121       <xref linkend="perl-xml-libxslt"/>,
     129      <xref linkend="perl-unicode-collate"/>
     130      <!-- Unicode::GCstring is part of Unicode::LineBreak -->
     131      <xref linkend="perl-unicode-linebreak"/>
     132      <xref linkend="perl-unicode-normalize"/>
     133      <xref linkend="perl-xml-libxml-simple"/>
     134      <xref linkend="perl-xml-libxslt"/>
    122135      <xref linkend="perl-xml-writer"/> and
    123136      <!-- untarring biblatex requires that the texmf directories already exist -->
    124137      <xref linkend="texlive"/>
     138      (or <xref linkend="tl-installer"/>)
    125139    </para>
    126140
     
    135149    <note>
    136150      <para>
     151        Although the tarball name is unversioned, it will untar to a
     152        correctly-versioned biblatex-biber-&biber-version; directory.
     153      </para>
     154
     155      <para>
    137156        It is possible to install (all) missing dependencies automatically.
    138         Begin by running <command>perl ./Build.PL</command> and then when it
     157        Except, from <application>perl-5.22.0</application> onwards,
     158        <xref linkend="perl-module-build"/> is no longer part of
     159        the core distribution.  To automatically install the remaining perl
     160        dependencies you will need to manually install that first.
     161        You can then run <command>perl ./Build.PL</command> and when it
    139162        prompts you, become the root user and run
    140163        <command>./Build installdeps</command>
    141164      </para>
     165<!--
     166      <para>
     167        If you run <command>./Build.PL</command> under versions of
     168        <application>perl</application> after 5.20.2 it will tell you that the
     169        version of <application>Unicode::Normalize</application> is too
     170        <emphasis>new</emphasis>. In fact, the new version works, but is now
     171        pure perl and takes longer to run : <emphasis>much</emphasis> longer
     172        if you have a large bibliography.  You can find the old version at <ulink
     173        url="http://backpan.perl.org/authors/id/S/SA/SADAHIRO/Unicode-Normalize-1.17.tar.gz"/>
     174        and use the standard <xref linkend="perl-standard-install"/>
     175        to install it if you wish. Further details are in the User Notes.
     176      </para>-->
    142177    </note>
    143178
     
    153188    commands:</para>
    154189
     190<!--<screen><userinput>sed -i 's/ 44/ 43/' t/bcfvalidation.t &amp;&amp;-->
    155191<screen><userinput>perl ./Build.PL &amp;&amp;
    156192./Build</userinput></screen>
    157193
    158     <para>To test the results, enter: <command>./Build test</command></para>
     194    <para>To test the results, enter: <command>./Build test</command> - you will
     195    require the en_GB.UTF-8 and sv_SE.UTF-8 locales. Some tests will fail : for
     196    speed the tests use system locales instead of the default Unicode::Collation
     197    algorithm, and some minor details of the locales in OSX (where development
     198    takes place) differ from those in <application>glibc</application></para>
    159199
    160200    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    168208  <sect2 role="commands">
    169209    <title>Command Explanations</title>
    170 
     210<!--
    171211    <para>
    172       <parameter>tar -xf biblatex-&biblatex-version;a.tds.tar.gz -C
    173       /opt/texlive/&texlive-year;/texmf-dist</parameter>:
     212      <parameter>sed -i 's/ 44/ 43/' t/bcfvalidation.t</parameter>: Although
     213      the git master branch has 44 pairs of files for this test, the shipped
     214      tarball only contains 43. The sed prevents it reporting a failure.
     215    </para>-->
     216
     217    <para>
     218      <command>tar -xf biblatex-&biblatex-version;.tds.tar.gz -C
     219      /opt/texlive/&texlive-year;/texmf-dist</command>:
    174220      this installs the new <application>biblatex</application> files over those
    175221      installed by <application>texlive</application>.
     
    177223
    178224    <para>
    179       <parameter>texhash</parameter> : this updates the file hash tables (otherwise
     225      <command>texhash</command> : this updates the file hash tables (otherwise
    180226      known as the file name database).
    181227    </para>
     
    194240        <seg>biber</seg>
    195241        <seg>None</seg>
    196         <seg>/usr/lib/site_perl/5.*/Biber</seg>
     242        <seg>/usr/lib/perl5/site_perl/5.*{,/&lt;arch&gt;-linux/auto}/Biber</seg>
    197243      </seglistitem>
    198244    </segmentedlist>
  • pst/typesetting/texlive.xml

    r53192f0 r293e9cdc  
    5151    initialise the new installation will be found.</para>
    5252
    53     &lfs77_checked;
     53    &lfs78_checked;
    5454
    5555    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    205205make texlinks &amp;&amp;
    206206ldconfig &amp;&amp;
    207 mkdir -pv /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/ &amp;&amp;
    208 install -v -m444 ../texk/tests/TeXLive/* /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/</userinput></screen>
     207mkdir -pv /opt/texlive/&texlive-year;/tlpkg/TeXLive/ &amp;&amp;
     208install -v -m444 ../texk/tests/TeXLive/* /opt/texlive/&texlive-year;/tlpkg/TeXLive/</userinput></screen>
    209209
    210210    <note>
     
    277277    <para>
    278278      <parameter>install -v -m444 ../texk/tests/TeXLive/*
    279       /opt/texlive/${TEXYEAR}/tlpkg/TeXLive/</parameter>: This puts the perl
     279      /opt/texlive/&texlive-year;/tlpkg/TeXLive/</parameter>: This puts the perl
    280280      modules <filename>TLConfig.pm</filename> and <filename>TLUtils.pm</filename>
    281281      into the directory where the binary installer puts them - it is at the
  • pst/typesetting/tl-installer.xml

    r53192f0 r293e9cdc  
    4747    <filename class="directory">&texlive-year;/</filename> directory.</para>
    4848
    49     &lfs77_checked;
     49    &lfs78_checked;
    5050
    5151    <bridgehead renderas="sect3">Package Information</bridgehead>
  • pst/typesetting/xindy.xml

    r53192f0 r293e9cdc  
    3939    </para>
    4040
    41     &lfs77_checked;
     41    &lfs78_checked;
    4242
    4343    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7979    <bridgehead renderas="sect4">Required</bridgehead>
    8080    <para role="required">
    81       <xref linkend="clisp"/> and
     81      <xref linkend="clisp"/>,
    8282      <xref linkend="texlive"/>
    8383    </para>
Note: See TracChangeset for help on using the changeset viewer.