rbcdio 0.03 → 0.04
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +623 -289
- data/ChangeLog +342 -219
- data/INSTALL +35 -26
- data/Makefile.am +2 -3
- data/Makefile.in +61 -45
- data/NEWS +7 -3
- data/README +8 -9
- data/THANKS +1 -0
- data/VERSION +1 -1
- data/config.guess +21 -11
- data/config.sub +38 -6
- data/configure +1195 -1031
- data/configure.ac +1 -1
- data/example/README +5 -3
- data/example/audio.rb +0 -0
- data/example/cd-read.rb +0 -0
- data/example/cdchange.rb +0 -0
- data/example/cdtext.rb +70 -0
- data/example/device.rb +0 -0
- data/example/drives.rb +30 -32
- data/example/eject.rb +0 -0
- data/example/iso1.rb +0 -0
- data/example/iso2.rb +0 -0
- data/example/iso3.rb +0 -0
- data/example/tracks.rb +0 -0
- data/ext/cdio/Makefile +92 -56
- data/ext/cdio/rubycdio_wrap.c +387 -101
- data/ext/iso9660/Makefile +93 -57
- data/ext/iso9660/rubyiso9660_wrap.c +127 -70
- data/install-sh +355 -159
- data/lib/cdio.rb +877 -843
- data/missing +34 -27
- data/swig/Makefile +1 -1
- data/swig/cdtext.swg +67 -0
- data/swig/device.swg +3 -3
- data/swig/disc.swg +2 -2
- data/swig/rubycdio.swg +3 -1
- data/swig/track.swg +9 -4
- data/test/cdiotest.rb +214 -216
- data/test/cdtext.rb +44 -0
- data/test/isocopy.rb +8 -9
- data/test/isotest.rb +126 -107
- metadata +21 -29
- data/doc/created.rid +0 -1
- data/doc/fr_class_index.html +0 -42
- data/doc/fr_file_index.html +0 -41
- data/doc/fr_method_index.html +0 -133
- data/doc/index.html +0 -24
- data/doc/rdoc-style.css +0 -208
- data/example/COPYING +0 -340
- data/example/copying +0 -340
- data/example/drivers.rb +0 -60
data/INSTALL
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
Installation Instructions
|
2
2
|
*************************
|
3
3
|
|
4
|
-
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005
|
5
|
-
Software Foundation, Inc.
|
4
|
+
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
5
|
+
2006 Free Software Foundation, Inc.
|
6
6
|
|
7
7
|
This file is free documentation; the Free Software Foundation gives
|
8
8
|
unlimited permission to copy, distribute and modify it.
|
@@ -10,7 +10,21 @@ unlimited permission to copy, distribute and modify it.
|
|
10
10
|
Basic Installation
|
11
11
|
==================
|
12
12
|
|
13
|
-
|
13
|
+
If you downloaded the rbcdio gem package or have access to
|
14
|
+
rubyforge.net "gem install rbcdio" may work.
|
15
|
+
|
16
|
+
Briefly, the shell commands `./configure; make; make test; make
|
17
|
+
install' should configure, build, test and install this package. On
|
18
|
+
systems which don't install GNU Make by default you may have to use
|
19
|
+
"gmake" instead of "make".
|
20
|
+
|
21
|
+
Alternatively to be more Ruby like, you can use "rake", "rake test"
|
22
|
+
and "rake package" to build, and test and create a gem package. To
|
23
|
+
install the gem, cd to pkg and "gem install rbcdio-*.gem."
|
24
|
+
|
25
|
+
On systems which don't install GNU Make by default you may have to
|
26
|
+
use The following more-detailed instructions are generic; see the
|
27
|
+
`README' file for instructions specific to this package.
|
14
28
|
|
15
29
|
The `configure' shell script attempts to guess correct values for
|
16
30
|
various system-dependent variables used during compilation. It uses
|
@@ -23,9 +37,9 @@ debugging `configure').
|
|
23
37
|
|
24
38
|
It can also use an optional file (typically called `config.cache'
|
25
39
|
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
26
|
-
the results of its tests to speed up reconfiguring.
|
40
|
+
the results of its tests to speed up reconfiguring. Caching is
|
27
41
|
disabled by default to prevent problems with accidental use of stale
|
28
|
-
cache files.
|
42
|
+
cache files.
|
29
43
|
|
30
44
|
If you need to do unusual things to compile the package, please try
|
31
45
|
to figure out how `configure' could check whether to do them, and mail
|
@@ -35,20 +49,17 @@ some point `config.cache' contains results you don't want to keep, you
|
|
35
49
|
may remove or edit it.
|
36
50
|
|
37
51
|
The file `configure.ac' (or `configure.in') is used to create
|
38
|
-
`configure' by a program called `autoconf'. You
|
39
|
-
|
40
|
-
|
52
|
+
`configure' by a program called `autoconf'. You need `configure.ac' if
|
53
|
+
you want to change it or regenerate `configure' using a newer version
|
54
|
+
of `autoconf'.
|
41
55
|
|
42
56
|
The simplest way to compile this package is:
|
43
57
|
|
44
58
|
1. `cd' to the directory containing the package's source code and type
|
45
|
-
`./configure' to configure the package for your system.
|
46
|
-
using `csh' on an old version of System V, you might need to type
|
47
|
-
`sh ./configure' instead to prevent `csh' from trying to execute
|
48
|
-
`configure' itself.
|
59
|
+
`./configure' to configure the package for your system.
|
49
60
|
|
50
|
-
Running `configure'
|
51
|
-
messages telling which features it is checking for.
|
61
|
+
Running `configure' might take a while. While running, it prints
|
62
|
+
some messages telling which features it is checking for.
|
52
63
|
|
53
64
|
2. Type `make' to compile the package.
|
54
65
|
|
@@ -78,7 +89,7 @@ details on some of the pertinent environment variables.
|
|
78
89
|
by setting variables in the command line or in the environment. Here
|
79
90
|
is an example:
|
80
91
|
|
81
|
-
./configure CC=
|
92
|
+
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
82
93
|
|
83
94
|
*Note Defining Variables::, for more details.
|
84
95
|
|
@@ -87,17 +98,15 @@ Compiling For Multiple Architectures
|
|
87
98
|
|
88
99
|
You can compile the package for more than one kind of computer at the
|
89
100
|
same time, by placing the object files for each architecture in their
|
90
|
-
own directory. To do this, you
|
91
|
-
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
101
|
+
own directory. To do this, you can use GNU `make'. `cd' to the
|
92
102
|
directory where you want the object files and executables to go and run
|
93
103
|
the `configure' script. `configure' automatically checks for the
|
94
104
|
source code in the directory that `configure' is in and in `..'.
|
95
105
|
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
for another architecture.
|
106
|
+
With a non-GNU `make', it is safer to compile the package for one
|
107
|
+
architecture at a time in the source code directory. After you have
|
108
|
+
installed the package for one architecture, use `make distclean' before
|
109
|
+
reconfiguring for another architecture.
|
101
110
|
|
102
111
|
Installation Names
|
103
112
|
==================
|
@@ -190,12 +199,12 @@ them in the `configure' command line, using `VAR=value'. For example:
|
|
190
199
|
./configure CC=/usr/local2/bin/gcc
|
191
200
|
|
192
201
|
causes the specified `gcc' to be used as the C compiler (unless it is
|
193
|
-
overridden in the site shell script).
|
202
|
+
overridden in the site shell script).
|
194
203
|
|
195
|
-
|
204
|
+
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
205
|
+
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
196
206
|
|
197
|
-
|
198
|
-
configuration-related scripts to be executed by `/bin/bash'.
|
207
|
+
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
199
208
|
|
200
209
|
`configure' Invocation
|
201
210
|
======================
|
data/Makefile.am
CHANGED
@@ -159,8 +159,7 @@ MAINTAINERCLEANFILES = ChangeLog
|
|
159
159
|
if MAINTAINER_MODE
|
160
160
|
|
161
161
|
ChangeLog:
|
162
|
-
|
163
|
-
|
164
|
-
ACLOCAL_AMFLAGS=-I .
|
162
|
+
git log --pretty --numstat --summary | git2cl > ChangeLog
|
165
163
|
|
166
164
|
endif
|
165
|
+
ACLOCAL_AMFLAGS=-I .
|
data/Makefile.in
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.10.2 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
4
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
-
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
6
6
|
# This Makefile.in is free software; the Free Software Foundation
|
7
7
|
# gives unlimited permission to copy and/or distribute it,
|
8
8
|
# with or without modifications, as long as this notice is preserved.
|
@@ -30,15 +30,11 @@
|
|
30
30
|
#
|
31
31
|
# You should have received a copy of the GNU General Public License
|
32
32
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
33
|
-
srcdir = @srcdir@
|
34
|
-
top_srcdir = @top_srcdir@
|
35
33
|
VPATH = @srcdir@
|
36
34
|
pkgdatadir = $(datadir)/@PACKAGE@
|
37
35
|
pkglibdir = $(libdir)/@PACKAGE@
|
38
36
|
pkgincludedir = $(includedir)/@PACKAGE@
|
39
|
-
top_builddir = .
|
40
37
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
41
|
-
INSTALL = @INSTALL@
|
42
38
|
install_sh_DATA = $(install_sh) -c -m 644
|
43
39
|
install_sh_PROGRAM = $(install_sh) -c
|
44
40
|
install_sh_SCRIPT = $(install_sh) -c
|
@@ -52,18 +48,18 @@ PRE_UNINSTALL = :
|
|
52
48
|
POST_UNINSTALL = :
|
53
49
|
build_triplet = @build@
|
54
50
|
host_triplet = @host@
|
51
|
+
subdir = .
|
55
52
|
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
56
53
|
$(srcdir)/Makefile.in $(srcdir)/VERSION.in \
|
57
54
|
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
|
58
55
|
THANKS config.guess config.sub install-sh missing
|
59
|
-
subdir = .
|
60
56
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
61
57
|
am__aclocal_m4_deps = $(top_srcdir)/rubycdio.m4 \
|
62
58
|
$(top_srcdir)/configure.ac
|
63
59
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
64
60
|
$(ACLOCAL_M4)
|
65
61
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
66
|
-
configure.lineno
|
62
|
+
configure.lineno config.status.lineno
|
67
63
|
mkinstalldirs = $(install_sh) -d
|
68
64
|
CONFIG_CLEAN_FILES = VERSION
|
69
65
|
SOURCES =
|
@@ -80,8 +76,6 @@ GZIP_ENV = --best
|
|
80
76
|
distuninstallcheck_listfiles = find . -type f -print
|
81
77
|
distcleancheck_listfiles = find . -type f -print
|
82
78
|
ACLOCAL = @ACLOCAL@
|
83
|
-
AMDEP_FALSE = @AMDEP_FALSE@
|
84
|
-
AMDEP_TRUE = @AMDEP_TRUE@
|
85
79
|
AMTAR = @AMTAR@
|
86
80
|
AUTOCONF = @AUTOCONF@
|
87
81
|
AUTOHEADER = @AUTOHEADER@
|
@@ -99,6 +93,7 @@ ECHO_C = @ECHO_C@
|
|
99
93
|
ECHO_N = @ECHO_N@
|
100
94
|
ECHO_T = @ECHO_T@
|
101
95
|
EXEEXT = @EXEEXT@
|
96
|
+
INSTALL = @INSTALL@
|
102
97
|
INSTALL_DATA = @INSTALL_DATA@
|
103
98
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
104
99
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
@@ -110,9 +105,8 @@ LIBS = @LIBS@
|
|
110
105
|
LN_S = @LN_S@
|
111
106
|
LTLIBOBJS = @LTLIBOBJS@
|
112
107
|
MAINT = @MAINT@
|
113
|
-
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
114
|
-
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
115
108
|
MAKEINFO = @MAKEINFO@
|
109
|
+
MKDIR_P = @MKDIR_P@
|
116
110
|
OBJEXT = @OBJEXT@
|
117
111
|
PACKAGE = @PACKAGE@
|
118
112
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
@@ -133,9 +127,11 @@ STRIP = @STRIP@
|
|
133
127
|
SWIG = @SWIG@
|
134
128
|
SWIG_FLAGS = @SWIG_FLAGS@
|
135
129
|
VERSION = @VERSION@
|
130
|
+
abs_builddir = @abs_builddir@
|
131
|
+
abs_srcdir = @abs_srcdir@
|
132
|
+
abs_top_builddir = @abs_top_builddir@
|
133
|
+
abs_top_srcdir = @abs_top_srcdir@
|
136
134
|
ac_ct_CC = @ac_ct_CC@
|
137
|
-
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
138
|
-
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
139
135
|
am__include = @am__include@
|
140
136
|
am__leading_dot = @am__leading_dot@
|
141
137
|
am__quote = @am__quote@
|
@@ -147,6 +143,7 @@ build_alias = @build_alias@
|
|
147
143
|
build_cpu = @build_cpu@
|
148
144
|
build_os = @build_os@
|
149
145
|
build_vendor = @build_vendor@
|
146
|
+
builddir = @builddir@
|
150
147
|
datadir = @datadir@
|
151
148
|
datarootdir = @datarootdir@
|
152
149
|
docdir = @docdir@
|
@@ -178,8 +175,12 @@ program_transform_name = @program_transform_name@
|
|
178
175
|
psdir = @psdir@
|
179
176
|
sbindir = @sbindir@
|
180
177
|
sharedstatedir = @sharedstatedir@
|
178
|
+
srcdir = @srcdir@
|
181
179
|
sysconfdir = @sysconfdir@
|
182
180
|
target_alias = @target_alias@
|
181
|
+
top_build_prefix = @top_build_prefix@
|
182
|
+
top_builddir = @top_builddir@
|
183
|
+
top_srcdir = @top_srcdir@
|
183
184
|
CDIO_EXTCONF = $(top_builddir)/ext/cdio/extconf.rb
|
184
185
|
ISO_EXTCONF = $(top_builddir)/ext/iso9660/extconf.rb
|
185
186
|
|
@@ -258,7 +259,7 @@ EXTRA_DIST = $(CDIO_SRC) $(CDIO_C) $(ISO_SRC) $(ISO_C) $(CDIO_EXTCONF) \
|
|
258
259
|
|
259
260
|
# cvs2cl
|
260
261
|
MAINTAINERCLEANFILES = ChangeLog
|
261
|
-
|
262
|
+
ACLOCAL_AMFLAGS = -I .
|
262
263
|
all: all-am
|
263
264
|
|
264
265
|
.SUFFIXES:
|
@@ -297,7 +298,6 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
297
298
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
298
299
|
VERSION: $(top_builddir)/config.status $(srcdir)/VERSION.in
|
299
300
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
300
|
-
uninstall-info-am:
|
301
301
|
tags: TAGS
|
302
302
|
TAGS:
|
303
303
|
|
@@ -307,24 +307,22 @@ CTAGS:
|
|
307
307
|
|
308
308
|
distdir: $(DISTFILES)
|
309
309
|
$(am__remove_distdir)
|
310
|
-
mkdir $(distdir)
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
310
|
+
test -d $(distdir) || mkdir $(distdir)
|
311
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
312
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
313
|
+
list='$(DISTFILES)'; \
|
314
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
315
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
316
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
317
|
+
case $$dist_files in \
|
318
|
+
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
319
|
+
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
320
|
+
sort -u` ;; \
|
321
|
+
esac; \
|
322
|
+
for file in $$dist_files; do \
|
319
323
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
320
|
-
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
321
|
-
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
322
|
-
dir="/$$dir"; \
|
323
|
-
$(mkdir_p) "$(distdir)$$dir"; \
|
324
|
-
else \
|
325
|
-
dir=''; \
|
326
|
-
fi; \
|
327
324
|
if test -d $$d/$$file; then \
|
325
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
328
326
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
329
327
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
330
328
|
fi; \
|
@@ -338,7 +336,7 @@ distdir: $(DISTFILES)
|
|
338
336
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
339
337
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
340
338
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
341
|
-
! -type d ! -perm -444 -exec $(
|
339
|
+
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
342
340
|
|| chmod -R a+r $(distdir)
|
343
341
|
dist-gzip: distdir
|
344
342
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
@@ -348,6 +346,10 @@ dist-bzip2: distdir
|
|
348
346
|
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
349
347
|
$(am__remove_distdir)
|
350
348
|
|
349
|
+
dist-lzma: distdir
|
350
|
+
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
|
351
|
+
$(am__remove_distdir)
|
352
|
+
|
351
353
|
dist-tarZ: distdir
|
352
354
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
353
355
|
$(am__remove_distdir)
|
@@ -374,6 +376,8 @@ distcheck: dist
|
|
374
376
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
375
377
|
*.tar.bz2*) \
|
376
378
|
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
379
|
+
*.tar.lzma*) \
|
380
|
+
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
|
377
381
|
*.tar.Z*) \
|
378
382
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
379
383
|
*.shar.gz*) \
|
@@ -413,7 +417,7 @@ distcheck: dist
|
|
413
417
|
$(am__remove_distdir)
|
414
418
|
@(echo "$(distdir) archives ready for distribution: "; \
|
415
419
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
416
|
-
sed -e
|
420
|
+
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
417
421
|
distuninstallcheck:
|
418
422
|
@cd $(distuninstallcheck_dir) \
|
419
423
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
@@ -479,12 +483,20 @@ info-am:
|
|
479
483
|
|
480
484
|
install-data-am:
|
481
485
|
|
486
|
+
install-dvi: install-dvi-am
|
487
|
+
|
482
488
|
install-exec-am:
|
483
489
|
|
490
|
+
install-html: install-html-am
|
491
|
+
|
484
492
|
install-info: install-info-am
|
485
493
|
|
486
494
|
install-man:
|
487
495
|
|
496
|
+
install-pdf: install-pdf-am
|
497
|
+
|
498
|
+
install-ps: install-ps-am
|
499
|
+
|
488
500
|
installcheck-am:
|
489
501
|
|
490
502
|
maintainer-clean: maintainer-clean-am
|
@@ -505,18 +517,22 @@ ps: ps-am
|
|
505
517
|
|
506
518
|
ps-am:
|
507
519
|
|
508
|
-
uninstall-am:
|
520
|
+
uninstall-am:
|
521
|
+
|
522
|
+
.MAKE: install-am install-strip
|
509
523
|
|
510
524
|
.PHONY: all all-am am--refresh check check-am clean clean-generic dist \
|
511
|
-
dist-all dist-bzip2 dist-gzip dist-
|
512
|
-
distcheck distclean distclean-generic distcleancheck
|
513
|
-
distuninstallcheck dvi dvi-am html html-am info
|
514
|
-
install install-am install-data install-data-am
|
515
|
-
install-
|
516
|
-
install-
|
517
|
-
|
518
|
-
|
519
|
-
|
525
|
+
dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
|
526
|
+
dist-zip distcheck distclean distclean-generic distcleancheck \
|
527
|
+
distdir distuninstallcheck dvi dvi-am html html-am info \
|
528
|
+
info-am install install-am install-data install-data-am \
|
529
|
+
install-dvi install-dvi-am install-exec install-exec-am \
|
530
|
+
install-html install-html-am install-info install-info-am \
|
531
|
+
install-man install-pdf install-pdf-am install-ps \
|
532
|
+
install-ps-am install-strip installcheck installcheck-am \
|
533
|
+
installdirs maintainer-clean maintainer-clean-generic \
|
534
|
+
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
|
535
|
+
uninstall-am
|
520
536
|
|
521
537
|
|
522
538
|
.PHONY: test check ChangeLog doc rdoc, doc, rerdoc
|
@@ -557,7 +573,7 @@ install: all-am
|
|
557
573
|
gem install --local pkg/$(distdir).gem
|
558
574
|
|
559
575
|
@MAINTAINER_MODE_TRUE@ChangeLog:
|
560
|
-
@MAINTAINER_MODE_TRUE@
|
576
|
+
@MAINTAINER_MODE_TRUE@ git log --pretty --numstat --summary | git2cl > ChangeLog
|
561
577
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
562
578
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
563
579
|
.NOEXPORT:
|
data/NEWS
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
0.
|
2
|
-
|
1
|
+
0.04
|
2
|
+
2009-05-18
|
3
|
+
|
4
|
+
- Add Access to CDText
|
5
|
+
- Works now on Ruby 1.9
|
3
6
|
|
7
|
+
0.03
|
4
8
|
- Switch license to GPL V3. Make "make install work".
|
5
9
|
|
6
10
|
0.02
|
@@ -19,4 +23,4 @@
|
|
19
23
|
|
20
24
|
- First cut at converting to Ruby
|
21
25
|
|
22
|
-
$Id: NEWS,v 1.
|
26
|
+
$Id: NEWS,v 1.5 2008/09/22 20:26:24 rocky Exp $
|
data/README
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
=
|
1
|
+
= rbcdio
|
2
2
|
== Version
|
3
3
|
:include:VERSION
|
4
4
|
|
5
5
|
== Overview
|
6
|
-
|
6
|
+
rbcdio is a Ruby interface to the CD Input and Control library
|
7
7
|
(libcdio). You can get the source from rubyforge http://rubyforge.org/projects/rbcdio/ or at the same place as libcdio:
|
8
8
|
ftp://ftp.gnu.org:/pub/gnu/libcdio
|
9
9
|
|
10
|
-
The
|
10
|
+
The rbcdio (and libcdio) libraries encapsulate CD-ROM reading and
|
11
11
|
control. Ruby programs wishing to be oblivious of the OS- and
|
12
12
|
device-dependent properties of a CD-ROM can use this library.
|
13
13
|
|
14
14
|
== Requirements
|
15
15
|
|
16
|
-
I've
|
16
|
+
I've tested rcdio on Ruby 1.8.4 - 1.8.7 and 1.9.1
|
17
17
|
|
18
18
|
You'll need a C compiler so the extension can be compiled when it is
|
19
19
|
installed. You'll also need libcdio
|
@@ -33,10 +33,10 @@ What is in rubycdio is incomplete; over time it may grow to completion
|
|
33
33
|
depending on various factors: e.g. interest, whether others help out.
|
34
34
|
|
35
35
|
Sections of libcdio that are currently missing are the (SCSI) MMC
|
36
|
-
commands, the cdparanoia library
|
37
|
-
|
38
|
-
|
39
|
-
|
36
|
+
commands, and the cdparanoia library. Of the audio controls, I put in
|
37
|
+
those things that didn't require any thought. The ISO 9660 library is
|
38
|
+
pretty complete, except file "stat" information which is at present is
|
39
|
+
pretty minimal.
|
40
40
|
|
41
41
|
That said, what's in there is very usable. It contains probably more
|
42
42
|
access capabilities than what most media players that don't issue MMC
|
@@ -73,4 +73,3 @@ Standalone documentation is missing although many of the methods,
|
|
73
73
|
classes and functions have some document strings. See also the
|
74
74
|
programs in the example directory.
|
75
75
|
|
76
|
-
$Id: README,v 1.8 2007/10/13 17:11:45 rocky Exp $
|
data/THANKS
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.04
|
data/config.guess
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Attempt to guess a canonical system name.
|
3
3
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
5
|
-
# Inc.
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
5
|
+
# Free Software Foundation, Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2008-01-23'
|
8
8
|
|
9
9
|
# This file is free software; you can redistribute it and/or modify it
|
10
10
|
# under the terms of the GNU General Public License as published by
|
@@ -56,8 +56,8 @@ version="\
|
|
56
56
|
GNU config.guess ($timestamp)
|
57
57
|
|
58
58
|
Originally written by Per Bothner.
|
59
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
60
|
-
Free Software Foundation, Inc.
|
59
|
+
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
60
|
+
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
61
61
|
|
62
62
|
This is free software; see the source for copying conditions. There is NO
|
63
63
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
@@ -532,7 +532,7 @@ EOF
|
|
532
532
|
echo rs6000-ibm-aix3.2
|
533
533
|
fi
|
534
534
|
exit ;;
|
535
|
-
*:AIX:*:[
|
535
|
+
*:AIX:*:[456])
|
536
536
|
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
|
537
537
|
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
|
538
538
|
IBM_ARCH=rs6000
|
@@ -799,6 +799,9 @@ EOF
|
|
799
799
|
EM64T | authenticamd)
|
800
800
|
echo x86_64-unknown-interix${UNAME_RELEASE}
|
801
801
|
exit ;;
|
802
|
+
IA64)
|
803
|
+
echo ia64-unknown-interix${UNAME_RELEASE}
|
804
|
+
exit ;;
|
802
805
|
esac ;;
|
803
806
|
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
804
807
|
echo i${UNAME_MACHINE}-pc-mks
|
@@ -833,7 +836,14 @@ EOF
|
|
833
836
|
echo ${UNAME_MACHINE}-pc-minix
|
834
837
|
exit ;;
|
835
838
|
arm*:Linux:*:*)
|
836
|
-
|
839
|
+
eval $set_cc_for_build
|
840
|
+
if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
|
841
|
+
| grep -q __ARM_EABI__
|
842
|
+
then
|
843
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
844
|
+
else
|
845
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
846
|
+
fi
|
837
847
|
exit ;;
|
838
848
|
avr32*:Linux:*:*)
|
839
849
|
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
@@ -954,8 +964,8 @@ EOF
|
|
954
964
|
x86_64:Linux:*:*)
|
955
965
|
echo x86_64-unknown-linux-gnu
|
956
966
|
exit ;;
|
957
|
-
xtensa
|
958
|
-
echo
|
967
|
+
xtensa*:Linux:*:*)
|
968
|
+
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
959
969
|
exit ;;
|
960
970
|
i*86:Linux:*:*)
|
961
971
|
# The BFD linker knows what the default object file format is, so
|
@@ -1474,9 +1484,9 @@ This script, last modified $timestamp, has failed to recognize
|
|
1474
1484
|
the operating system you are using. It is advised that you
|
1475
1485
|
download the most up to date version of the config scripts from
|
1476
1486
|
|
1477
|
-
http://savannah.gnu.org/
|
1487
|
+
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
1478
1488
|
and
|
1479
|
-
http://savannah.gnu.org/
|
1489
|
+
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
1480
1490
|
|
1481
1491
|
If the version you run ($0) is already up to date, please
|
1482
1492
|
send the following data and any information you think might be
|
data/config.sub
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
#! /bin/sh
|
2
2
|
# Configuration validation subroutine script.
|
3
3
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
4
|
-
# 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
5
|
-
# Inc.
|
4
|
+
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
5
|
+
# Free Software Foundation, Inc.
|
6
6
|
|
7
|
-
timestamp='
|
7
|
+
timestamp='2008-01-16'
|
8
8
|
|
9
9
|
# This file is (in principle) common to ALL GNU software.
|
10
10
|
# The presence of a machine in this file suggests that SOME GNU software
|
@@ -72,8 +72,8 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|
72
72
|
version="\
|
73
73
|
GNU config.sub ($timestamp)
|
74
74
|
|
75
|
-
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
76
|
-
Free Software Foundation, Inc.
|
75
|
+
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
76
|
+
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
77
77
|
|
78
78
|
This is free software; see the source for copying conditions. There is NO
|
79
79
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
@@ -369,10 +369,14 @@ case $basic_machine in
|
|
369
369
|
| v850-* | v850e-* | vax-* \
|
370
370
|
| we32k-* \
|
371
371
|
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
372
|
-
| xstormy16-* | xtensa
|
372
|
+
| xstormy16-* | xtensa*-* \
|
373
373
|
| ymp-* \
|
374
374
|
| z8k-*)
|
375
375
|
;;
|
376
|
+
# Recognize the basic CPU types without company name, with glob match.
|
377
|
+
xtensa*)
|
378
|
+
basic_machine=$basic_machine-unknown
|
379
|
+
;;
|
376
380
|
# Recognize the various machine names and aliases which stand
|
377
381
|
# for a CPU type and a company and sometimes even an OS.
|
378
382
|
386bsd)
|
@@ -443,6 +447,14 @@ case $basic_machine in
|
|
443
447
|
basic_machine=ns32k-sequent
|
444
448
|
os=-dynix
|
445
449
|
;;
|
450
|
+
blackfin)
|
451
|
+
basic_machine=bfin-unknown
|
452
|
+
os=-linux
|
453
|
+
;;
|
454
|
+
blackfin-*)
|
455
|
+
basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
456
|
+
os=-linux
|
457
|
+
;;
|
446
458
|
c90)
|
447
459
|
basic_machine=c90-cray
|
448
460
|
os=-unicos
|
@@ -668,6 +680,14 @@ case $basic_machine in
|
|
668
680
|
basic_machine=m68k-isi
|
669
681
|
os=-sysv
|
670
682
|
;;
|
683
|
+
m68knommu)
|
684
|
+
basic_machine=m68k-unknown
|
685
|
+
os=-linux
|
686
|
+
;;
|
687
|
+
m68knommu-*)
|
688
|
+
basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
689
|
+
os=-linux
|
690
|
+
;;
|
671
691
|
m88k-omron*)
|
672
692
|
basic_machine=m88k-omron
|
673
693
|
;;
|
@@ -813,6 +833,14 @@ case $basic_machine in
|
|
813
833
|
basic_machine=i860-intel
|
814
834
|
os=-osf
|
815
835
|
;;
|
836
|
+
parisc)
|
837
|
+
basic_machine=hppa-unknown
|
838
|
+
os=-linux
|
839
|
+
;;
|
840
|
+
parisc-*)
|
841
|
+
basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
842
|
+
os=-linux
|
843
|
+
;;
|
816
844
|
pbd)
|
817
845
|
basic_machine=sparc-tti
|
818
846
|
;;
|
@@ -1021,6 +1049,10 @@ case $basic_machine in
|
|
1021
1049
|
basic_machine=tic6x-unknown
|
1022
1050
|
os=-coff
|
1023
1051
|
;;
|
1052
|
+
tile*)
|
1053
|
+
basic_machine=tile-unknown
|
1054
|
+
os=-linux-gnu
|
1055
|
+
;;
|
1024
1056
|
tx39)
|
1025
1057
|
basic_machine=mipstx39-unknown
|
1026
1058
|
;;
|