source: pst/typesetting/biber.xml@ 15f411e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 15f411e was 52a7defa, checked in by Ken Moffat <ken@…>, 5 years ago

Another try at putting PerlIO in order in biber.

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

  • Property mode set to 100644
File size: 10.0 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 "https://github.com/plk/biber/archive/v&biber-version;.tar.gz">
8 <!ENTITY biber-download-ftp " ">
9 <!ENTITY biber-md5sum "2bbaffa7af5fedbcede60cfeaf56cd7c">
10 <!ENTITY biber-size "1.3 MB">
11 <!-- buildsize includes the installed biblatex -->
12 <!ENTITY biber-buildsize "36 MB">
13 <!ENTITY biber-time "0.4 SBU including tests">
14
15 <!-- Check path. Directory might not be &biblatex-version; if a suffixed update -->
16 <!ENTITY biblatex-download-http "http://sourceforge.net/projects/biblatex/files/biblatex-&biblatex-version;/biblatex-&biblatex-version;.tds.tgz">
17 <!ENTITY biblatex-download-ftp "">
18 <!ENTITY biblatex-md5sum "b15453a9b9aa7df55e0a9f82a50c8ffa">
19 <!ENTITY biblatex-size "19 MB">
20
21]>
22
23<sect1 id="biber" xreflabel="biber-&biber-version;">
24 <?dbhtml filename="biber.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>biber-&biber-version;</title>
32
33 <indexterm zone="biber">
34 <primary sortas="a-biber">Biber</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to biber</title>
39
40 <para>Biber is a BibTeX replacement for users of biblatex, written in
41 <application>Perl</application>, with full Unicode support.</para>
42
43 &lfs84_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>Download (HTTP): <ulink url="&biber-download-http;"/></para>
49 </listitem>
50 <listitem>
51 <para>Download (FTP): <ulink url="&biber-download-ftp;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download MD5 sum: &biber-md5sum;</para>
55 </listitem>
56 <listitem>
57 <para>Download size: &biber-size;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated disk space required: &biber-buildsize;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated build time: &biber-time;</para>
64 </listitem>
65 </itemizedlist>
66
67
68 <note>
69 <para>
70 The <application>biber</application> source tarball shown above
71 downloads with the correct name, biber-&biber-version;.tar.gz,
72 if using a browser such as Firefox. If you prefer to use a command line
73 program such as wget, you normally would obtain
74 v&biber-version;.tar.gz. To obtain this package with the proper
75 filename, run:
76
77<screen><userinput>wget -c &biber-download-http; \
78 -O biber-&biber-version;.tar.gz</userinput></screen>.
79 </para>
80
81 <para>
82 If you have updated to a new release of texlive-source, biber and its
83 perl dependencies are still in present in <filename
84 class="directory">/usr</filename> and do not need to be rebuilt. However,
85 biblatex installs in <filename
86 class="directory">/opt/texlive/&texlive-year;</filename> and does need to
87 be reinstalled.
88 </para>
89 </note>
90
91 <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
92
93 <itemizedlist spacing="compact">
94 <listitem>
95 <para>The corresponding version of <application>biblatex</application> is
96 a separate project - the tds tarball is pre-packaged for untarring into
97 the <filename class="directory">texmf-dist</filename> directory.
98 Download (HTTP): <ulink url="&biblatex-download-http;"/></para>
99 </listitem>
100 <listitem>
101 <para>Download MD5 sum: &biblatex-md5sum;</para>
102 </listitem>
103 <listitem>
104 <para>Download size: &biblatex-size;</para>
105 </listitem>
106 <listitem>
107 <para>
108 Patch to make the tests work correctly with perl-5.30.0.
109 <ulink url="&patch-root;/biber-&biber-version;-upstream_fixes-1.patch"/>
110 </para>
111 </listitem>
112 </itemizedlist>
113
114 <bridgehead renderas="sect3">Biber Dependencies</bridgehead>
115
116 <bridgehead renderas="sect4">Required</bridgehead>
117 <para role="required">
118 <!-- KFM: the order listed in Build.PL is not alphabetical -->
119 <xref linkend="perl-autovivification"/>
120 <xref linkend="perl-business-isbn"/>
121 <xref linkend="perl-business-ismn"/>
122 <xref linkend="perl-business-issn"/>
123 <xref linkend="perl-class-accessor"/>
124 <xref linkend="perl-data-compare"/>
125 <xref linkend="perl-data-dump"/>
126 <xref linkend="perl-data-uniqid"/>
127 <xref linkend="perl-datetime-calendar-julian"/>
128 <xref linkend="perl-datetime-format-builder"/>
129 <xref linkend="perl-encode-eucjpascii"/>
130 <xref linkend="perl-encode-hanextra"/>
131 <xref linkend="perl-encode-jis2k"/>
132 <xref linkend="perl-file-slurper"/>
133 <!-- IPC::Cmd is a part of core perl -->
134 <xref linkend="perl-ipc-run3"/>
135 <xref linkend="perl-lingua-translit"/>
136 <xref linkend="perl-list-allutils"/>
137 <xref linkend="perl-list-moreutils"/>
138 <!-- perl-list-moreutils-xs is a dep of perl-list-moreutils -->
139 <xref linkend="perl-log-log4perl"/>
140 <xref linkend="perl-lwp-protocol-https"/>
141 <!-- LWP::Simple is part of perl-libwww-perl,
142 that is pulled in by perl-lwp-protocol-https
143 and that pulls in perl-uri -->
144 <xref linkend="perl-module-build"/>
145 <xref linkend="perl-perlio-utf8_strict"/>
146 <!-- Mozilla::CA should not be needed when using system certificates -->
147 <xref linkend="perl-regexp-common"/>
148 <xref linkend="perl-sort-key"/>
149 <xref linkend="perl-text-bibtex"/>
150 <xref linkend="perl-text-csv"/>
151 <!-- perl-text-csv_xs is a recommended dependency for perl-text-csv -->
152 <xref linkend="perl-text-roman"/>
153 <!-- Unicode-Collate usually needs to be latest when biber is released,
154 core perl is usually older. To read the core version, look at
155 /usr/lib/perl5/5.xx.y/x86_64-linux-thread-multi/Unicode/Collate.pm -->
156 <xref linkend="perl-unicode-collate"/>
157 <!-- Unicode::GCstring is part of Unicode::LineBreak -->
158 <xref linkend="perl-unicode-linebreak"/>
159 <!-- Unicode::Normalize is part of core perl, found in
160 /usr/lib/perl5/5.xx.y/x86_64-linux-thread-multi/Unicode/Normalize.pm -->
161 <!-- perl-xml-libxml is a dependency of perl-xml-libxml-simple -->
162 <xref linkend="perl-xml-libxml-simple"/>
163 <xref linkend="perl-xml-libxslt"/>
164 <xref linkend="perl-xml-writer"/> and
165 <!-- untarring biblatex requires that the texmf directories already exist -->
166 <xref linkend="texlive"/>
167 (or <xref linkend="tl-installer"/>, but for that you can use
168 <command>tlmgr update </command>)
169 </para>
170
171 <note> <!-- assume people with an old release may be slowly building things -->
172 <para>
173 If you are using perl 5.26 or 5.28, please omit the patch (or follow the
174 instructions in the BLFS-8.4 book for this package).</para>
175 </note>
176
177 <bridgehead renderas="sect4">Recommended (required for the testsuite)</bridgehead>
178 <para role="recommended">
179 <xref linkend="perl-file-which"/> and
180 <xref linkend="perl-test-differences"/>
181 </para>
182
183 <note>
184 <para>
185 It is possible to install all missing dependencies automatically. You
186 must first install <xref linkend="perl-module-build"/> using <xref
187 linkend="perl-auto-install"/>. then run <command>perl ./Build.PL</command>
188 and when it prompts you, become the root user and run
189 <command>./Build installdeps</command>
190 </para>
191 </note>
192
193 <para condition="html" role="usernotes">User Notes:
194 <ulink url='&blfs-wiki;/biber'/></para>
195
196 </sect2>
197
198 <sect2 role="installation">
199 <title>Installation of Biber</title>
200
201 <para>Install <application>Biber</application> by running the following
202 commands:</para>
203
204<screen><userinput>patch -Np1 -i ../biber-&biber-version;-upstream_fixes-1.patch &amp;&amp;
205perl ./Build.PL &amp;&amp;
206./Build</userinput></screen>
207
208 <para>To test the results, enter: <command>./Build test</command></para>
209
210 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
211
212<screen role="root"><userinput>tar -xf ../biblatex-&biblatex-version;.tds.tgz -C /opt/texlive/&texlive-year;/texmf-dist &amp;&amp;
213texhash &amp;&amp;
214./Build install</userinput></screen>
215
216 </sect2>
217
218 <sect2 role="commands">
219 <title>Command Explanations</title>
220
221 <para>
222 <command>patch -Np1 -i ../biber-&biber-version;-upstream_fixes-1.patch</command>:
223 Perl version 5.30.0 shipped a new version of core module Unicode::Collate which
224 changed sortinit hashes. That broke many tests, the patch fixes them.
225 </para>
226
227 <para>
228 <command>tar -xf biblatex-&biblatex-version;.tds.tar.gz -C
229 /opt/texlive/&texlive-year;/texmf-dist</command>:
230 this installs the new <application>biblatex</application> files over those
231 installed by <application>texlive</application>.
232 </para>
233
234 <para>
235 <command>texhash</command> : this updates the file hash tables (otherwise
236 known as the file name database).
237 </para>
238
239 </sect2>
240
241 <sect2 role="content">
242 <title>Contents</title>
243
244 <segmentedlist>
245 <segtitle>Installed Programs</segtitle>
246 <segtitle>Installed Library</segtitle>
247 <segtitle>Installed Directory</segtitle>
248
249 <seglistitem>
250 <seg>biber</seg>
251 <seg>None</seg>
252 <seg>/usr/lib/perl5/site_perl/5.*{,/&lt;arch&gt;-linux/auto}/Biber</seg>
253 </seglistitem>
254 </segmentedlist>
255
256 <variablelist>
257 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
258 <?dbfo list-presentation="list"?>
259 <?dbhtml list-presentation="table"?>
260
261 <varlistentry id="biber-prog">
262 <term><command>biber</command></term>
263 <listitem>
264 <para>is used for producing bibliographies in LaTeX documents.</para>
265 <indexterm zone="biber biber-prog">
266 <primary sortas="b-biber">biber</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 </variablelist>
272
273 </sect2>
274
275</sect1>
Note: See TracBrowser for help on using the repository browser.