Ignore:
Timestamp:
06/30/2015 09:09:09 PM (9 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7ee3d722
Parents:
36336d8
Message:

Use the released tarball for biblatex-biber-2.1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16195 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/biber.xml

    r36336d8 r10e632f  
    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-ftp    " ">
     9  <!ENTITY biber-md5sum          "c46979acce3befdb3431ffadcc81bdf3">
     10  <!ENTITY biber-size            "2.0 MB">
    1511  <!-- 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)">
     12  <!ENTITY biber-buildsize       "37 MB">
     13  <!ENTITY biber-time            "less than 0.1 SBU (0.6 SBU to run the tests)">
    1814
    1915  <!ENTITY biblatex-download-http   "http://sourceforge.net/projects/biblatex/files/biblatex-&biblatex-version;/biblatex-&biblatex-version;.tds.tgz">
     
    4238
    4339    <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     &gcc5_checked;
     40    <application>Perl</application>, with full Unicode support.</para>
     41
     42    &lfs77_checked; &gcc5_checked;
    5043
    5144    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7164    </itemizedlist>
    7265
    73     <bridgehead renderas="sect3">Required Additional Download</bridgehead>
    74 
     66    <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
     67
     68    <itemizedlist spacing="compact">
     69      <listitem>
     70        <para>
     71          Required patch:
     72          <ulink url="&patch-root;/biblatex-biber-&biber-version;-upstream_fixes-1.patch"/>
     73        </para>
     74      </listitem>
     75      <listitem>
    7576      <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>
     77      a separate project - the tds tarball is pre-packaged for untarring into
     78      the <filename class="directory">texmf-dist</filename> directory.
     79      Download (HTTP): <ulink url="&biblatex-download-http;"/></para>
    8280      </listitem>
    8381      <listitem>
     
    108106      <xref linkend="perl-lwp"/>
    109107      <xref linkend="perl-list-allutils"/>
    110       <!-- perl-module-build is pulled in by perl-text-bibtex -->
     108      <!-- this is pulled in by perl-text-bibtex, but mention it explicitly
     109      so that the note on automatically installing missing dependencies makes
     110      more sense -->
     111      <xref linkend="perl-module-build"/>
    111112      <xref linkend="perl-regexp-common"/>
    112113      <xref linkend="perl-text-bibtex"/>
     
    135136    <note>
    136137      <para>
     138        Although the tarball name is unversioned, it will untar to a
     139        correctly-versioned biblatex-biber-&biber-version; directory.
     140      </para>
     141
     142      <para>
    137143        It is possible to install (all) missing dependencies automatically.
    138         Begin by running <command>perl ./Build.PL</command> and then when it
     144        From <application>perl-5.22.0</application> onwards,
     145        <xref linkend="perl-module-build"/> is no longer part of
     146        the core distribution.  To automatically install the remaining perl
     147        dependencies you will need to install that first.
     148        You can then run <command>perl ./Build.PL</command> and when it
    139149        prompts you, become the root user and run
    140150        <command>./Build installdeps</command>
    141151      </para>
     152
     153      <para>
     154        If you run <command>./Build.PL</command> under versions of
     155        <application>perl</application> after 5.20.2 it will tell you that the
     156        version of <application>Unicode::Normalize</application> is too
     157        <emphasis>new</emphasis>. In fact, the new version works, but is now
     158        pure perl and takes longer to run : <emphasis>much</emphasis> longer
     159        if you have a large bibliography.  You can find the old version at <ulink
     160        url="http://backpan.perl.org/authors/id/S/SA/SADAHIRO/Unicode-Normalize-1.17.tar.gz"/>
     161        and use the standard <xref linkend="perl-standard-install"/>
     162        to install it if you wish. Further details are in the User Notes.
     163      </para>
    142164    </note>
    143165
     
    151173
    152174    <para>Install <application>Biber</application> by running the following
    153     commands:</para>
    154 
    155 <screen><userinput>perl ./Build.PL &amp;&amp;
     175    commands (patching the read-only files will produce warnings):</para>
     176
     177<screen><userinput>patch -Np1 -i ../biblate-biber-&biber-version;-upstream_fixes-1.patch &amp;&amp;
     178sed -i 's/ 44/ 43/' t/bcfvalidation.t &amp;&amp;
     179perl ./Build.PL &amp;&amp;
    156180./Build</userinput></screen>
    157181
    158     <para>To test the results, enter: <command>./Build test</command></para>
     182    <para>To test the results, enter: <command>./Build test</command> - you will
     183    require the en_GB.UTF-8 and sv_SE.UTF-8 locales. Two tests (and two subtests)
     184    will fail : for speed the tests use system locales instead of the default
     185    Unicode::Collation algorithm, and some minor details of the locales in OSX
     186    (where development takes place) differ from those in
     187    <application>glibc</application></para>
    159188
    160189    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    168197  <sect2 role="commands">
    169198    <title>Command Explanations</title>
     199
     200    <para>
     201      <parameter>patch -Np1 -i
     202      ../biblate-biber-&biber-version;-upstream_fixes-1.patch</parameter>:
     203      <application>perl-5.22</application> has become more strict about
     204      what needs to be escaped.
     205    </para>
     206
     207    <para>
     208      <parameter>sed -i 's/ 44/ 43/' t/bcfvalidation.t</parameter>: Although
     209      the git master branch has 44 pairs of files for this test, the shipped
     210      tarball only contains 43. The sed prevents it failing.
     211    </para>
    170212
    171213    <para>
Note: See TracChangeset for help on using the changeset viewer.