1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY cdrtools-download-http "&sourceforge-dl;/cdrtools/cdrtools-&cdrtools-version;.tar.bz2">
<!ENTITY cdrtools-download-ftp " ">
<!ENTITY cdrtools-md5sum "1e224a6adbbe4ad40047b9fddbb0e60c">
<!ENTITY cdrtools-size "2.1 MB">
<!ENTITY cdrtools-buildsize "32 MB">
<!ENTITY cdrtools-time "0.7 SBU">
]>
<sect1 id="cdrtools" xreflabel="Cdrtools-&cdrtools-version;">
<?dbhtml filename="cdrtools.html"?>
<title>Cdrtools-&cdrtools-version;</title>
<indexterm zone="cdrtools">
<primary sortas="a-Cdrtools">Cdrtools</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Cdrtools</title>
<para>
The <application>Cdrtools</application> package contains
CD recording utilities. These are useful for reading, creating or writing
(burning) CDs, DVDs, and Blu-ray discs.
</para>
&lfs122_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&cdrtools-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&cdrtools-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &cdrtools-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &cdrtools-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &cdrtools-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &cdrtools-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Cdrtools Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="alsa-lib"/>
</para>
<para condition="html" role="usernotes">Editor Notes:
<ulink url="&blfs-wiki;/Cdrtools"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Cdrtools</title>
<note>
<para>
This package does not support parallel build.
</para>
</note>
<para>
Install <application>Cdrtools</application> by running the following
commands:
</para>
<screen><userinput>sed -i 's|/opt/schily|/usr|g' DEFAULTS/Defaults.linux &&
sed -i 's|DEFINSGRP=.*|DEFINSGRP=root|' DEFAULTS/Defaults.linux &&
sed -i 's|INSDIR=\s*sbin|INSDIR=bin|' rscsi/Makefile &&
export GMAKE_NOWARN=true &&
export CFLAGS="$CFLAGS -std=gnu89 -fno-strict-aliasing" &&
make -j1 INS_BASE=/usr \
DEFINSUSR=root \
DEFINSGRP=root \
VERSION_OS="LinuxFromScratch"</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>GMAKE_NOWARN=true &&
make INS_BASE=/usr \
DEFINSUSR=root \
DEFINSGRP=root \
MANSUFF_LIB=3cdr \
install &&
install -v -m755 -d /usr/share/doc/cdrtools-&cdrtools-version; &&
install -v -m644 README.* READMEs/* ABOUT doc/*.ps \
/usr/share/doc/cdrtools-&cdrtools-version;</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>export GMAKE_NOWARN=true</command>: This variable avoids a
warning when using GNU make.
</para>
<para>
<parameter>INS_BASE=/usr</parameter>: This parameter moves
the install directory from <filename class="directory">/opt/schily</filename>
to <filename class="directory">/usr</filename>.
</para>
<para>
<parameter>DEFINSUSR=root DEFINSGRP=root</parameter>: These parameters
install all programs with root:root ownership instead of the default
bin:bin.
</para>
<para>
<parameter>MANSUFF_LIB=3cdr</parameter>: This parameter prevents
<application>Cdrtools</application> from overwriting important pages
which are already installed by LFS. The installed man pages of section 3
will have a suffix <literal>3cdr</literal> and can be shown using
<command>man 3cdr <manpage></command>.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>btcflash, cdda2mp3, cdda2ogg, cdda2wav, cdrecord, devdump,
isodebug, isodump, isoinfo, isovfy, mkhybrid, mkisofs, readcd,
rscsi, scgcheck, scgskeleton</seg>
<seg>libcdrdeflt.a, libdeflt.a, libedc_ecc.a, libedc_ecc_dec.a,
libfile.a, libfind.a, libhfs.a, libmdigest.a, libparanoia.a,
librscg.a, libscg.a, libscgcmd.a, libschily.a, libsiconv.a</seg>
<seg>/usr/lib/{profiled,siconv}, /usr/include/{scg,schily},
/usr/share/doc/cdda2wav,cdrecord,libparanoia,mkisofs,rscsi}</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="btcflash">
<term><command>btcflash</command></term>
<listitem>
<para>
flashes the firmware on BTC DRW1008 DVD+/-RW recorders.
Please exercise care with this program
</para>
<indexterm zone="cdrtools btcflash">
<primary sortas="b-btcflash">btcflash</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="cdda2wav">
<term><command>cdda2wav</command></term>
<listitem>
<para>
converts Compact Disc audio into WAV sound files
</para>
<indexterm zone="cdrtools cdda2wav">
<primary sortas="b-cdda2wav">cdda2wav</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="cdrecord">
<term><command>cdrecord</command></term>
<listitem>
<para>
records audio or data onto Compact Discs
</para>
<indexterm zone="cdrtools cdrecord">
<primary sortas="b-cdrecord">cdrecord</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="devdump">
<term><command>devdump</command></term>
<listitem>
<para>
is a diagnostic program used to dump an
ISO-9660 device or file in hex
</para>
<indexterm zone="cdrtools devdump">
<primary sortas="b-devdump">devdump</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="isodebug">
<term><command>isodebug</command></term>
<listitem>
<para>
is used to display the command-line parameters used to create
an ISO-9660 image
</para>
<indexterm zone="cdrtools isodebug">
<primary sortas="b-isodebug">isodebug</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="isodump">
<term><command>isodump</command></term>
<listitem>
<para>
is a diagnostic program used to dump a device or file based on
ISO-9660
</para>
<indexterm zone="cdrtools isodump">
<primary sortas="b-isodump">isodump</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="isoinfo">
<term><command>isoinfo</command></term>
<listitem>
<para>
is used to analyze or list an ISO-9660 image
</para>
<indexterm zone="cdrtools isoinfo">
<primary sortas="b-isoinfo">isoinfo</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="isovfy">
<term><command>isovfy</command></term>
<listitem>
<para>
is used to verify an ISO-9660 image
</para>
<indexterm zone="cdrtools isovfy">
<primary sortas="b-isovfy">isovfy</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mkhybrid">
<term><command>mkhybrid</command></term>
<listitem>
<para>
is a symbolic link to <command>mkisofs</command> used to
create ISO-9660/HFS hybrid filesystem images
</para>
<indexterm zone="cdrtools mkhybrid">
<primary sortas="b-mkhybrid">mkhybrid</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mkisofs">
<term><command>mkisofs</command></term>
<listitem>
<para>
is used to create ISO-9660/JOLIET/HFS filesystem images,
optionally with Rock Ridge attributes
</para>
<indexterm zone="cdrtools mkisofs">
<primary sortas="b-mkisofs">mkisofs</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="readcd">
<term><command>readcd</command></term>
<listitem>
<para>
reads or writes Compact Discs
</para>
<indexterm zone="cdrtools readcd">
<primary sortas="b-readcd">readcd</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="rscsi">
<term><command>rscsi</command></term>
<listitem>
<para>
is a remote SCSI manager
</para>
<indexterm zone="cdrtools rscsi">
<primary sortas="b-rscsi">rscsi</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="scgcheck">
<term><command>scgcheck</command></term>
<listitem>
<para>
is used to check and verify the Application Binary Interface
of <filename class="libraryfile">libscg</filename>
</para>
<indexterm zone="cdrtools scgcheck">
<primary sortas="b-scgcheck">scgcheck</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libscg">
<term><filename class="libraryfile">libscg.a</filename></term>
<listitem>
<para>
is a highly portable SCSI transport library
</para>
<indexterm zone="cdrtools libscg">
<primary sortas="c-libscg">libscg.a</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>
|