rb_cdio 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.txt +26 -0
- data/LICENSE +340 -0
- data/README.EXT +1051 -0
- data/README.txt +16 -0
- data/VERSION +1 -0
- data/doc/classes/CdIo.html +523 -0
- data/doc/classes/CdIo.src/M000001.html +17 -0
- data/doc/classes/CdIo.src/M000002.html +17 -0
- data/doc/classes/CdIo.src/M000003.html +17 -0
- data/doc/classes/CdIo.src/M000004.html +17 -0
- data/doc/classes/CdIo.src/M000005.html +17 -0
- data/doc/classes/CdIo.src/M000006.html +17 -0
- data/doc/classes/CdIo.src/M000007.html +17 -0
- data/doc/classes/CdIo.src/M000008.html +17 -0
- data/doc/classes/CdIo.src/M000009.html +17 -0
- data/doc/classes/CdIo.src/M000010.html +17 -0
- data/doc/classes/CdIo.src/M000011.html +17 -0
- data/doc/classes/CdIo.src/M000012.html +17 -0
- data/doc/classes/CdIo.src/M000013.html +17 -0
- data/doc/classes/CdIo.src/M000014.html +17 -0
- data/doc/classes/CdIo.src/M000015.html +17 -0
- data/doc/classes/CdIo.src/M000016.html +17 -0
- data/doc/classes/CdIo/Cd.html +348 -0
- data/doc/classes/CdIo/Cd.src/M000011.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000012.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000013.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000014.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000015.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000016.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000017.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000018.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000019.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000021.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000022.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000023.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000024.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000025.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000026.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000027.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000028.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000029.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000030.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000031.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000032.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000033.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000034.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000035.html +17 -0
- data/doc/classes/CdIo/Cd.src/M000036.html +17 -0
- data/doc/classes/CdIo/CdText.html +111 -0
- data/doc/classes/CdIo/Device.html +111 -0
- data/doc/classes/CdIo/Track.html +246 -0
- data/doc/classes/CdIo/Track.src/M000009.html +17 -0
- data/doc/classes/CdIo/Track.src/M000010.html +17 -0
- data/doc/classes/CdIo/Track.src/M000011.html +17 -0
- data/doc/classes/CdIo/Track.src/M000017.html +17 -0
- data/doc/classes/CdIo/Track.src/M000018.html +17 -0
- data/doc/classes/CdIo/Track.src/M000019.html +17 -0
- data/doc/classes/CdIo/Track.src/M000020.html +17 -0
- data/doc/classes/CdIo/TrackIso9660.html +159 -0
- data/doc/classes/CdIo/Tracks.html +199 -0
- data/doc/classes/CdIo/Tracks.src/M000020.html +17 -0
- data/doc/classes/CdIo/Tracks.src/M000021.html +17 -0
- data/doc/classes/CdIo/Tracks.src/M000022.html +17 -0
- data/doc/created.rid +1 -0
- data/doc/files/rb_cdio_def_rb.html +169 -0
- data/doc/files/test/testall_rb.html +110 -0
- data/doc/fr_class_index.html +31 -0
- data/doc/fr_file_index.html +27 -0
- data/doc/fr_method_index.html +48 -0
- data/doc/index.html +24 -0
- data/ext/CdIo.c +41 -20
- data/ext/CdIo.h +19 -9
- data/ext/CdIo_Cd.c +35 -52
- data/ext/CdIo_Common.c +56 -12
- data/ext/CdIo_Modulo.c +54 -34
- data/ext/CdIo_Track.c +24 -7
- data/ext/CdIo_TrackIso9660.c +1 -1
- data/ext/CdIo_Tracks.c +66 -0
- data/mkmf.log +26 -0
- data/rb_cdio.def.rb +187 -0
- data/svn-commit.tmp +5 -0
- data/tags +47 -0
- data/test/testclose.rb +19 -0
- data/test/testmethods.rb +28 -0
- metadata +253 -20
- data/ext/CdIo.o +0 -0
- data/ext/CdIo_Cd.o +0 -0
- data/ext/CdIo_Common.o +0 -0
- data/ext/CdIo_Modulo.o +0 -0
- data/ext/CdIo_Track.o +0 -0
- data/ext/CdIo_TrackIso9660.o +0 -0
- data/ext/Makefile +0 -127
- data/test/data/Makefile +0 -677
- data/test/data/Makefile.am +0 -78
- data/test/data/Makefile.in +0 -677
- data/test/data/testassert +0 -117
- data/test/data/testbincue +0 -117
- data/test/data/testdefault +0 -117
- data/test/data/testischar +0 -117
- data/test/data/testiso9660 +0 -117
- data/test/data/testtoc +0 -117
data/test/data/testiso9660
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
#! /bin/sh
|
2
|
-
|
3
|
-
# testiso9660 - temporary wrapper script for .libs/testiso9660
|
4
|
-
# Generated by ltmain.sh - GNU libtool 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)
|
5
|
-
#
|
6
|
-
# The testiso9660 program cannot be directly executed until all the libtool
|
7
|
-
# libraries that it depends on are installed.
|
8
|
-
#
|
9
|
-
# This wrapper script should never be moved out of the build directory.
|
10
|
-
# If it is, it will not operate correctly.
|
11
|
-
|
12
|
-
# Sed substitution that helps us do robust quoting. It backslashifies
|
13
|
-
# metacharacters that are still active within double-quoted strings.
|
14
|
-
Xsed='/bin/sed -e 1s/^X//'
|
15
|
-
sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
|
16
|
-
|
17
|
-
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
18
|
-
# if CDPATH is set.
|
19
|
-
if test "${CDPATH+set}" = set; then CDPATH=:; export CDPATH; fi
|
20
|
-
|
21
|
-
relink_command="(cd /home/cdx/libcdio-0.70/test; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; PATH=\"/opt/sun-jre-bin-1.5.0.03/bin:/opt/sun-jre-bin-1.5.0.03/javaws:/opt/sun-jre-bin-1.5.0.03/bin:/opt/sun-jre-bin-1.5.0.03/javaws:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/bin:/usr/games/bin:~/bin:~/RealPlayer:~/bin:~/RealPlayer\"; export PATH; gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -o \$progdir/\$file testiso9660.o ../lib/.libs/libiso9660.so /home/cdx/libcdio-0.70/lib/.libs/libcdio.so ../lib/.libs/libcdio.so -lm -Wl,--rpath -Wl,/home/cdx/libcdio-0.70/lib/.libs -Wl,--rpath -Wl,/home/cdx/libcdio-0.70/opt/lib)"
|
22
|
-
|
23
|
-
# This environment variable determines our operation mode.
|
24
|
-
if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then
|
25
|
-
# install mode needs the following variable:
|
26
|
-
notinst_deplibs=' ../lib/libiso9660.la /home/cdx/libcdio-0.70/lib/libcdio.la ../lib/libcdio.la'
|
27
|
-
else
|
28
|
-
# When we are sourced in execute mode, $file and $echo are already set.
|
29
|
-
if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
|
30
|
-
echo="echo"
|
31
|
-
file="$0"
|
32
|
-
# Make sure echo works.
|
33
|
-
if test "X$1" = X--no-reexec; then
|
34
|
-
# Discard the --no-reexec flag, and continue.
|
35
|
-
shift
|
36
|
-
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
|
37
|
-
# Yippee, $echo works!
|
38
|
-
:
|
39
|
-
else
|
40
|
-
# Restart under the correct shell, and then maybe $echo will work.
|
41
|
-
exec /bin/sh "$0" --no-reexec ${1+"$@"}
|
42
|
-
fi
|
43
|
-
fi
|
44
|
-
|
45
|
-
# Find the directory that this script lives in.
|
46
|
-
thisdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
|
47
|
-
test "x$thisdir" = "x$file" && thisdir=.
|
48
|
-
|
49
|
-
# Follow symbolic links until we get to the real thisdir.
|
50
|
-
file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'`
|
51
|
-
while test -n "$file"; do
|
52
|
-
destdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
|
53
|
-
|
54
|
-
# If there was a directory component, then change thisdir.
|
55
|
-
if test "x$destdir" != "x$file"; then
|
56
|
-
case "$destdir" in
|
57
|
-
[\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;;
|
58
|
-
*) thisdir="$thisdir/$destdir" ;;
|
59
|
-
esac
|
60
|
-
fi
|
61
|
-
|
62
|
-
file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
63
|
-
file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'`
|
64
|
-
done
|
65
|
-
|
66
|
-
# Try to get the absolute directory name.
|
67
|
-
absdir=`cd "$thisdir" && pwd`
|
68
|
-
test -n "$absdir" && thisdir="$absdir"
|
69
|
-
|
70
|
-
program=lt-'testiso9660'
|
71
|
-
progdir="$thisdir/.libs"
|
72
|
-
|
73
|
-
if test ! -f "$progdir/$program" || \
|
74
|
-
{ file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \
|
75
|
-
test "X$file" != "X$progdir/$program"; }; then
|
76
|
-
|
77
|
-
file="$$-$program"
|
78
|
-
|
79
|
-
if test ! -d "$progdir"; then
|
80
|
-
mkdir "$progdir"
|
81
|
-
else
|
82
|
-
rm -f "$progdir/$file"
|
83
|
-
fi
|
84
|
-
|
85
|
-
# relink executable if necessary
|
86
|
-
if test -n "$relink_command"; then
|
87
|
-
if relink_command_output=`eval $relink_command 2>&1`; then :
|
88
|
-
else
|
89
|
-
echo "$relink_command_output" >&2
|
90
|
-
rm -f "$progdir/$file"
|
91
|
-
exit 1
|
92
|
-
fi
|
93
|
-
fi
|
94
|
-
|
95
|
-
mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null ||
|
96
|
-
{ rm -f "$progdir/$program";
|
97
|
-
mv -f "$progdir/$file" "$progdir/$program"; }
|
98
|
-
rm -f "$progdir/$file"
|
99
|
-
fi
|
100
|
-
|
101
|
-
if test -f "$progdir/$program"; then
|
102
|
-
if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
|
103
|
-
# Run the actual program with our arguments.
|
104
|
-
|
105
|
-
exec $progdir/$program ${1+"$@"}
|
106
|
-
|
107
|
-
$echo "$0: cannot exec $program ${1+"$@"}"
|
108
|
-
exit 1
|
109
|
-
fi
|
110
|
-
else
|
111
|
-
# The program doesn't exist.
|
112
|
-
$echo "$0: error: $progdir/$program does not exist" 1>&2
|
113
|
-
$echo "This script is just a wrapper for $program." 1>&2
|
114
|
-
echo "See the libtool documentation for more information." 1>&2
|
115
|
-
exit 1
|
116
|
-
fi
|
117
|
-
fi
|
data/test/data/testtoc
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
#! /bin/sh
|
2
|
-
|
3
|
-
# testtoc - temporary wrapper script for .libs/testtoc
|
4
|
-
# Generated by ltmain.sh - GNU libtool 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)
|
5
|
-
#
|
6
|
-
# The testtoc program cannot be directly executed until all the libtool
|
7
|
-
# libraries that it depends on are installed.
|
8
|
-
#
|
9
|
-
# This wrapper script should never be moved out of the build directory.
|
10
|
-
# If it is, it will not operate correctly.
|
11
|
-
|
12
|
-
# Sed substitution that helps us do robust quoting. It backslashifies
|
13
|
-
# metacharacters that are still active within double-quoted strings.
|
14
|
-
Xsed='/bin/sed -e 1s/^X//'
|
15
|
-
sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
|
16
|
-
|
17
|
-
# The HP-UX ksh and POSIX shell print the target directory to stdout
|
18
|
-
# if CDPATH is set.
|
19
|
-
if test "${CDPATH+set}" = set; then CDPATH=:; export CDPATH; fi
|
20
|
-
|
21
|
-
relink_command="(cd /home/cdx/libcdio-0.70/test; { test -z \"\${LIBRARY_PATH+set}\" || unset LIBRARY_PATH || { LIBRARY_PATH=; export LIBRARY_PATH; }; }; { test -z \"\${COMPILER_PATH+set}\" || unset COMPILER_PATH || { COMPILER_PATH=; export COMPILER_PATH; }; }; { test -z \"\${GCC_EXEC_PREFIX+set}\" || unset GCC_EXEC_PREFIX || { GCC_EXEC_PREFIX=; export GCC_EXEC_PREFIX; }; }; { test -z \"\${LD_RUN_PATH+set}\" || unset LD_RUN_PATH || { LD_RUN_PATH=; export LD_RUN_PATH; }; }; PATH=\"/opt/sun-jre-bin-1.5.0.03/bin:/opt/sun-jre-bin-1.5.0.03/javaws:/opt/sun-jre-bin-1.5.0.03/bin:/opt/sun-jre-bin-1.5.0.03/javaws:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130:/opt/blackdown-jdk-1.4.2.01/bin:/opt/blackdown-jdk-1.4.2.01/jre/bin:/usr/qt/3/bin:/usr/kde/3.3/bin:/usr/games/bin:~/bin:~/RealPlayer:~/bin:~/RealPlayer\"; export PATH; gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -o \$progdir/\$file testtoc.o ../lib/.libs/libcdio.so -lm -Wl,--rpath -Wl,/home/cdx/libcdio-0.70/lib/.libs -Wl,--rpath -Wl,/home/cdx/libcdio-0.70/opt/lib)"
|
22
|
-
|
23
|
-
# This environment variable determines our operation mode.
|
24
|
-
if test "$libtool_install_magic" = "%%%MAGIC variable%%%"; then
|
25
|
-
# install mode needs the following variable:
|
26
|
-
notinst_deplibs=' ../lib/libcdio.la'
|
27
|
-
else
|
28
|
-
# When we are sourced in execute mode, $file and $echo are already set.
|
29
|
-
if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
|
30
|
-
echo="echo"
|
31
|
-
file="$0"
|
32
|
-
# Make sure echo works.
|
33
|
-
if test "X$1" = X--no-reexec; then
|
34
|
-
# Discard the --no-reexec flag, and continue.
|
35
|
-
shift
|
36
|
-
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
|
37
|
-
# Yippee, $echo works!
|
38
|
-
:
|
39
|
-
else
|
40
|
-
# Restart under the correct shell, and then maybe $echo will work.
|
41
|
-
exec /bin/sh "$0" --no-reexec ${1+"$@"}
|
42
|
-
fi
|
43
|
-
fi
|
44
|
-
|
45
|
-
# Find the directory that this script lives in.
|
46
|
-
thisdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
|
47
|
-
test "x$thisdir" = "x$file" && thisdir=.
|
48
|
-
|
49
|
-
# Follow symbolic links until we get to the real thisdir.
|
50
|
-
file=`ls -ld "$file" | /bin/sed -n 's/.*-> //p'`
|
51
|
-
while test -n "$file"; do
|
52
|
-
destdir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
|
53
|
-
|
54
|
-
# If there was a directory component, then change thisdir.
|
55
|
-
if test "x$destdir" != "x$file"; then
|
56
|
-
case "$destdir" in
|
57
|
-
[\\/]* | [A-Za-z]:[\\/]*) thisdir="$destdir" ;;
|
58
|
-
*) thisdir="$thisdir/$destdir" ;;
|
59
|
-
esac
|
60
|
-
fi
|
61
|
-
|
62
|
-
file=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
63
|
-
file=`ls -ld "$thisdir/$file" | /bin/sed -n 's/.*-> //p'`
|
64
|
-
done
|
65
|
-
|
66
|
-
# Try to get the absolute directory name.
|
67
|
-
absdir=`cd "$thisdir" && pwd`
|
68
|
-
test -n "$absdir" && thisdir="$absdir"
|
69
|
-
|
70
|
-
program=lt-'testtoc'
|
71
|
-
progdir="$thisdir/.libs"
|
72
|
-
|
73
|
-
if test ! -f "$progdir/$program" || \
|
74
|
-
{ file=`ls -1dt "$progdir/$program" "$progdir/../$program" 2>/dev/null | /bin/sed 1q`; \
|
75
|
-
test "X$file" != "X$progdir/$program"; }; then
|
76
|
-
|
77
|
-
file="$$-$program"
|
78
|
-
|
79
|
-
if test ! -d "$progdir"; then
|
80
|
-
mkdir "$progdir"
|
81
|
-
else
|
82
|
-
rm -f "$progdir/$file"
|
83
|
-
fi
|
84
|
-
|
85
|
-
# relink executable if necessary
|
86
|
-
if test -n "$relink_command"; then
|
87
|
-
if relink_command_output=`eval $relink_command 2>&1`; then :
|
88
|
-
else
|
89
|
-
echo "$relink_command_output" >&2
|
90
|
-
rm -f "$progdir/$file"
|
91
|
-
exit 1
|
92
|
-
fi
|
93
|
-
fi
|
94
|
-
|
95
|
-
mv -f "$progdir/$file" "$progdir/$program" 2>/dev/null ||
|
96
|
-
{ rm -f "$progdir/$program";
|
97
|
-
mv -f "$progdir/$file" "$progdir/$program"; }
|
98
|
-
rm -f "$progdir/$file"
|
99
|
-
fi
|
100
|
-
|
101
|
-
if test -f "$progdir/$program"; then
|
102
|
-
if test "$libtool_execute_magic" != "%%%MAGIC variable%%%"; then
|
103
|
-
# Run the actual program with our arguments.
|
104
|
-
|
105
|
-
exec $progdir/$program ${1+"$@"}
|
106
|
-
|
107
|
-
$echo "$0: cannot exec $program ${1+"$@"}"
|
108
|
-
exit 1
|
109
|
-
fi
|
110
|
-
else
|
111
|
-
# The program doesn't exist.
|
112
|
-
$echo "$0: error: $progdir/$program does not exist" 1>&2
|
113
|
-
$echo "This script is just a wrapper for $program." 1>&2
|
114
|
-
echo "See the libtool documentation for more information." 1>&2
|
115
|
-
exit 1
|
116
|
-
fi
|
117
|
-
fi
|