source: pst/typesetting/biber.xml@ 145cccdf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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
Last change on this file since 145cccdf was 145cccdf, checked in by Ken Moffat <ken@…>, 8 years ago

Fix up the biber perl module dependencies. When I added that page, I convinced myself that List::MoreUtils and LWP::Protocol::https were always pulled in by other modules, which was wrong. I have now added some comments in the biber deps, ready for the next time it changes.

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

  • Property mode set to 100644
File size: 10.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
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">
11 <!-- buildsize includes the installed biblatex -->
12 <!ENTITY biber-buildsize "37 MB">
13 <!ENTITY biber-time "less than 0.1 SBU (0.6 SBU to run the tests)">
14
15 <!ENTITY biblatex-download-http "http://sourceforge.net/projects/biblatex/files/biblatex-&biblatex-version;/biblatex-&biblatex-version;.tds.tgz">
16 <!ENTITY biblatex-download-ftp "">
17 <!ENTITY biblatex-md5sum "c6dad1c1f8a46785981610b5165d9fe5">
18 <!ENTITY biblatex-size "19 MB">
19
20]>
21
22<sect1 id="biber" xreflabel="biber-&biber-version;">
23 <?dbhtml filename="biber.html"?>
24
25 <sect1info>
26 <othername>$LastChangedBy$</othername>
27 <date>$Date$</date>
28 </sect1info>
29
30 <title>biblatex-biber-&biber-version;</title>
31
32 <indexterm zone="biber">
33 <primary sortas="a-biber">Biber</primary>
34 </indexterm>
35
36 <sect2 role="package">
37 <title>Introduction to biber</title>
38
39 <para>Biber is a BibTeX replacement for users of biblatex, written in
40 <application>Perl</application>, with full Unicode support.</para>
41
42 &lfs78_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>Download (HTTP): <ulink url="&biber-download-http;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download (FTP): <ulink url="&biber-download-ftp;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download MD5 sum: &biber-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>Download size: &biber-size;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated disk space required: &biber-buildsize;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated build time: &biber-time;</para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
67
68 <itemizedlist spacing="compact">
69 <listitem>
70 <para>The corresponding version of <application>biblatex</application> is
71 a separate project - the tds tarball is pre-packaged for untarring into
72 the <filename class="directory">texmf-dist</filename> directory.
73 Download (HTTP): <ulink url="&biblatex-download-http;"/></para>
74 </listitem>
75 <listitem>
76 <para>Download MD5 sum: &biblatex-md5sum;</para>
77 </listitem>
78 <listitem>
79 <para>Download size: &biblatex-size;</para>
80 </listitem>
81 <listitem>
82 <para>
83 Required patch:
84 <ulink url="&patch-root;/biblatex-biber-&biber-version;-upstream_fixes-1.patch"/>
85 </para>
86 </listitem>
87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Biber Dependencies</bridgehead>
90
91 <bridgehead renderas="sect4">Required</bridgehead>
92 <para role="required">
93 <!-- KFM: because I always get confused by these deps, I've decided
94 to add some comments.
95 Both Config::AutoConf and ExtUtils::LibBuilder are listed as build
96 requirements in Build.PL, the rest are just requirements, but the
97 difference seems moot. Those two are needed to build Text::BibTeX
98 so not listed separately. -->
99 <xref linkend="perl-autovivification"/>
100 <xref linkend="perl-business-isbn"/>
101 <xref linkend="perl-business-ismn"/>
102 <xref linkend="perl-business-issn"/>
103 <xref linkend="perl-data-compare"/>
104 <xref linkend="perl-data-dump"/>
105 <xref linkend="perl-date-simple"/>
106 <xref linkend="perl-encode-eucjpascii"/>
107 <xref linkend="perl-encode-hanextra"/>
108 <xref linkend="perl-encode-jis2k"/>
109 <xref linkend="perl-file-slurp"/>
110 <!-- IPC::Cmd is a part of core perl -->
111 <xref linkend="perl-ipc-run3"/>
112 <!-- LWP::Simple is part of libwww-perl,
113 that is pulled in by LWP::Protocol::https -->
114 <xref linkend="perl-list-allutils"/>
115 <!-- List::MoreUtils was pulled in for the testsuite of List::AllUtils,
116 but it needs to be present even if people do not run the tests -->
117 <xref linkend="perl-list-moreutils"/>
118 <xref linkend="perl-log-log4perl"/>
119 <!-- I initially misread LWP-Protocol-https as part of libwww-perl
120 when I was preparing this list. In fact, it depends on that -->
121 <xref linkend="perl-lwp-protocol-https"/>
122 <!-- Module::Build is pulled in by perl-text-bibtex, but mention it explicitly
123 so that the note on automatically installing missing dependencies can be run -->
124 <xref linkend="perl-module-build"/>
125 <!-- Mozilla::CA is a dependency of LWP-Protocol-https -->
126 <xref linkend="perl-regexp-common"/>
127 <xref linkend="perl-text-bibtex"/>
128 <xref linkend="perl-text-roman"/>
129 <!-- Collate.pm ships in perl, but is sometimes too old, and we like current
130 versions. Make the latest version required so that everyone is using the
131 same version. In fact, the version in perl-5.20.2 is indeed too old for
132 biber-2.0 -->
133 <xref linkend="perl-unicode-collate"/>
134 <!-- Unicode::GCstring is part of Unicode::LineBreak -->
135 <xref linkend="perl-unicode-linebreak"/>
136 <xref linkend="perl-xml-libxml-simple"/>
137 <xref linkend="perl-xml-libxslt"/>
138 <xref linkend="perl-xml-writer"/> and
139 <!-- untarring biblatex requires that the texmf directories already exist -->
140 <xref linkend="texlive"/>
141 </para>
142
143 <bridgehead renderas="sect4">Recommended</bridgehead>
144 <para role="required">
145 <xref linkend="perl-file-which"/>,
146 <xref linkend="perl-test-differences"/>,
147 <xref linkend="perl-test-pod"/> and
148 <xref linkend="perl-test-pod-coverage"/> (all needed to run the testsuite)
149 </para>
150
151 <note>
152 <para>
153 Although the tarball name is unversioned, it will untar to a
154 correctly-versioned biblatex-biber-&biber-version; directory.
155 </para>
156
157 <para>
158 It is possible to install (all) missing dependencies automatically.
159 From <application>perl-5.22.0</application> onwards,
160 <xref linkend="perl-module-build"/> is no longer part of
161 the core distribution. To automatically install the remaining perl
162 dependencies you will need to install that first.
163 You can then run <command>perl ./Build.PL</command> and when it
164 prompts you, become the root user and run
165 <command>./Build installdeps</command>
166 </para>
167
168 <para>
169 If you run <command>./Build.PL</command> under versions of
170 <application>perl</application> after 5.20.2 it will tell you that the
171 version of <application>Unicode::Normalize</application> is too
172 <emphasis>new</emphasis>. In fact, the new version works, but is now
173 pure perl and takes longer to run : <emphasis>much</emphasis> longer
174 if you have a large bibliography. You can find the old version at <ulink
175 url="http://backpan.perl.org/authors/id/S/SA/SADAHIRO/Unicode-Normalize-1.17.tar.gz"/>
176 and use the standard <xref linkend="perl-standard-install"/>
177 to install it if you wish. Further details are in the User Notes.
178 </para>
179 </note>
180
181 <para condition="html" role="usernotes">User Notes:
182 <ulink url='&blfs-wiki;/biber'/></para>
183
184 </sect2>
185
186 <sect2 role="installation">
187 <title>Installation of Biber</title>
188
189 <para>Install <application>Biber</application> by running the following
190 commands (patching the read-only files will produce warnings):</para>
191
192<screen><userinput>patch -Np1 -i ../biblatex-biber-&biber-version;-upstream_fixes-1.patch &amp;&amp;
193sed -i 's/ 44/ 43/' t/bcfvalidation.t &amp;&amp;
194perl ./Build.PL &amp;&amp;
195./Build</userinput></screen>
196
197 <para>To test the results, enter: <command>./Build test</command> - you will
198 require the en_GB.UTF-8 and sv_SE.UTF-8 locales. Two tests (and two subtests)
199 will fail : for speed the tests use system locales instead of the default
200 Unicode::Collation algorithm, and some minor details of the locales in OSX
201 (where development takes place) differ from those in
202 <application>glibc</application></para>
203
204 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
205
206<screen role="root"><userinput>tar -xf ../biblatex-&biblatex-version;.tds.tgz -C /opt/texlive/&texlive-year;/texmf-dist &amp;&amp;
207texhash &amp;&amp;
208./Build install</userinput></screen>
209
210 </sect2>
211
212 <sect2 role="commands">
213 <title>Command Explanations</title>
214
215 <para>
216 <parameter>patch -Np1 -i
217 ../biblate-biber-&biber-version;-upstream_fixes-1.patch</parameter>:
218 <application>perl-5.22</application> has become more strict about
219 what needs to be escaped.
220 </para>
221
222 <para>
223 <parameter>sed -i 's/ 44/ 43/' t/bcfvalidation.t</parameter>: Although
224 the git master branch has 44 pairs of files for this test, the shipped
225 tarball only contains 43. The sed prevents it failing.
226 </para>
227
228 <para>
229 <parameter>tar -xf biblatex-&biblatex-version;a.tds.tar.gz -C
230 /opt/texlive/&texlive-year;/texmf-dist</parameter>:
231 this installs the new <application>biblatex</application> files over those
232 installed by <application>texlive</application>.
233 </para>
234
235 <para>
236 <parameter>texhash</parameter> : this updates the file hash tables (otherwise
237 known as the file name database).
238 </para>
239
240 </sect2>
241
242 <sect2 role="content">
243 <title>Contents</title>
244
245 <segmentedlist>
246 <segtitle>Installed Programs</segtitle>
247 <segtitle>Installed Library</segtitle>
248 <segtitle>Installed Directory</segtitle>
249
250 <seglistitem>
251 <seg>biber</seg>
252 <seg>None</seg>
253 <seg>/usr/lib/site_perl/5.*/Biber</seg>
254 </seglistitem>
255 </segmentedlist>
256
257 <variablelist>
258 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
259 <?dbfo list-presentation="list"?>
260 <?dbhtml list-presentation="table"?>
261
262 <varlistentry id="biber-prog">
263 <term><command>biber</command></term>
264 <listitem>
265 <para>is used for producing bibliographies in LaTeX documents.</para>
266 <indexterm zone="biber biber-prog">
267 <primary sortas="b-biber">biber</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 </variablelist>
273
274 </sect2>
275
276</sect1>
Note: See TracBrowser for help on using the repository browser.