chd 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +30 -0
- data/chd.gemspec +29 -0
- data/ext/chd.c +1008 -0
- data/ext/extconf.rb +60 -0
- data/lib/chd/cd.rb +272 -0
- data/lib/chd/metadata.rb +196 -0
- data/lib/chd/version.rb +4 -0
- data/lib/chd.rb +21 -0
- data/libchdr/CMakeLists.txt +104 -0
- data/libchdr/LICENSE.txt +24 -0
- data/libchdr/README.md +7 -0
- data/libchdr/deps/lzma-19.00/CMakeLists.txt +33 -0
- data/libchdr/deps/lzma-19.00/LICENSE +3 -0
- data/libchdr/deps/lzma-19.00/include/7zTypes.h +375 -0
- data/libchdr/deps/lzma-19.00/include/Alloc.h +51 -0
- data/libchdr/deps/lzma-19.00/include/Bra.h +64 -0
- data/libchdr/deps/lzma-19.00/include/Compiler.h +33 -0
- data/libchdr/deps/lzma-19.00/include/CpuArch.h +336 -0
- data/libchdr/deps/lzma-19.00/include/Delta.h +19 -0
- data/libchdr/deps/lzma-19.00/include/LzFind.h +121 -0
- data/libchdr/deps/lzma-19.00/include/LzHash.h +57 -0
- data/libchdr/deps/lzma-19.00/include/Lzma86.h +111 -0
- data/libchdr/deps/lzma-19.00/include/LzmaDec.h +234 -0
- data/libchdr/deps/lzma-19.00/include/LzmaEnc.h +76 -0
- data/libchdr/deps/lzma-19.00/include/LzmaLib.h +131 -0
- data/libchdr/deps/lzma-19.00/include/Precomp.h +10 -0
- data/libchdr/deps/lzma-19.00/include/Sort.h +18 -0
- data/libchdr/deps/lzma-19.00/lzma-history.txt +446 -0
- data/libchdr/deps/lzma-19.00/lzma.txt +328 -0
- data/libchdr/deps/lzma-19.00/lzma.vcxproj +543 -0
- data/libchdr/deps/lzma-19.00/lzma.vcxproj.filters +17 -0
- data/libchdr/deps/lzma-19.00/src/Alloc.c +455 -0
- data/libchdr/deps/lzma-19.00/src/Bra86.c +82 -0
- data/libchdr/deps/lzma-19.00/src/BraIA64.c +53 -0
- data/libchdr/deps/lzma-19.00/src/CpuArch.c +218 -0
- data/libchdr/deps/lzma-19.00/src/Delta.c +64 -0
- data/libchdr/deps/lzma-19.00/src/LzFind.c +1127 -0
- data/libchdr/deps/lzma-19.00/src/Lzma86Dec.c +54 -0
- data/libchdr/deps/lzma-19.00/src/LzmaDec.c +1185 -0
- data/libchdr/deps/lzma-19.00/src/LzmaEnc.c +1330 -0
- data/libchdr/deps/lzma-19.00/src/Sort.c +141 -0
- data/libchdr/deps/zlib-1.2.11/CMakeLists.txt +29 -0
- data/libchdr/deps/zlib-1.2.11/ChangeLog +1515 -0
- data/libchdr/deps/zlib-1.2.11/FAQ +368 -0
- data/libchdr/deps/zlib-1.2.11/INDEX +68 -0
- data/libchdr/deps/zlib-1.2.11/Makefile +5 -0
- data/libchdr/deps/zlib-1.2.11/Makefile.in +410 -0
- data/libchdr/deps/zlib-1.2.11/README +115 -0
- data/libchdr/deps/zlib-1.2.11/adler32.c +186 -0
- data/libchdr/deps/zlib-1.2.11/compress.c +86 -0
- data/libchdr/deps/zlib-1.2.11/configure +921 -0
- data/libchdr/deps/zlib-1.2.11/crc32.c +442 -0
- data/libchdr/deps/zlib-1.2.11/crc32.h +441 -0
- data/libchdr/deps/zlib-1.2.11/deflate.c +2163 -0
- data/libchdr/deps/zlib-1.2.11/deflate.h +349 -0
- data/libchdr/deps/zlib-1.2.11/doc/algorithm.txt +209 -0
- data/libchdr/deps/zlib-1.2.11/doc/rfc1950.txt +619 -0
- data/libchdr/deps/zlib-1.2.11/doc/rfc1951.txt +955 -0
- data/libchdr/deps/zlib-1.2.11/doc/rfc1952.txt +675 -0
- data/libchdr/deps/zlib-1.2.11/doc/txtvsbin.txt +107 -0
- data/libchdr/deps/zlib-1.2.11/gzclose.c +25 -0
- data/libchdr/deps/zlib-1.2.11/gzguts.h +218 -0
- data/libchdr/deps/zlib-1.2.11/gzlib.c +637 -0
- data/libchdr/deps/zlib-1.2.11/gzread.c +654 -0
- data/libchdr/deps/zlib-1.2.11/gzwrite.c +665 -0
- data/libchdr/deps/zlib-1.2.11/infback.c +640 -0
- data/libchdr/deps/zlib-1.2.11/inffast.c +323 -0
- data/libchdr/deps/zlib-1.2.11/inffast.h +11 -0
- data/libchdr/deps/zlib-1.2.11/inffixed.h +94 -0
- data/libchdr/deps/zlib-1.2.11/inflate.c +1561 -0
- data/libchdr/deps/zlib-1.2.11/inflate.h +125 -0
- data/libchdr/deps/zlib-1.2.11/inftrees.c +304 -0
- data/libchdr/deps/zlib-1.2.11/inftrees.h +62 -0
- data/libchdr/deps/zlib-1.2.11/make_vms.com +867 -0
- data/libchdr/deps/zlib-1.2.11/treebuild.xml +116 -0
- data/libchdr/deps/zlib-1.2.11/trees.c +1203 -0
- data/libchdr/deps/zlib-1.2.11/trees.h +128 -0
- data/libchdr/deps/zlib-1.2.11/uncompr.c +93 -0
- data/libchdr/deps/zlib-1.2.11/zconf.h +534 -0
- data/libchdr/deps/zlib-1.2.11/zconf.h.cmakein +536 -0
- data/libchdr/deps/zlib-1.2.11/zconf.h.in +534 -0
- data/libchdr/deps/zlib-1.2.11/zlib.3 +149 -0
- data/libchdr/deps/zlib-1.2.11/zlib.3.pdf +0 -0
- data/libchdr/deps/zlib-1.2.11/zlib.h +1912 -0
- data/libchdr/deps/zlib-1.2.11/zlib.map +94 -0
- data/libchdr/deps/zlib-1.2.11/zlib.pc.cmakein +13 -0
- data/libchdr/deps/zlib-1.2.11/zlib.pc.in +13 -0
- data/libchdr/deps/zlib-1.2.11/zlib2ansi +152 -0
- data/libchdr/deps/zlib-1.2.11/zutil.c +325 -0
- data/libchdr/deps/zlib-1.2.11/zutil.h +271 -0
- data/libchdr/include/dr_libs/dr_flac.h +12280 -0
- data/libchdr/include/libchdr/bitstream.h +43 -0
- data/libchdr/include/libchdr/cdrom.h +110 -0
- data/libchdr/include/libchdr/chd.h +427 -0
- data/libchdr/include/libchdr/chdconfig.h +10 -0
- data/libchdr/include/libchdr/coretypes.h +60 -0
- data/libchdr/include/libchdr/flac.h +50 -0
- data/libchdr/include/libchdr/huffman.h +90 -0
- data/libchdr/pkg-config.pc.in +10 -0
- data/libchdr/src/libchdr_bitstream.c +125 -0
- data/libchdr/src/libchdr_cdrom.c +415 -0
- data/libchdr/src/libchdr_chd.c +2744 -0
- data/libchdr/src/libchdr_flac.c +302 -0
- data/libchdr/src/libchdr_huffman.c +545 -0
- data/libchdr/src/link.T +5 -0
- data/libchdr/tests/CMakeLists.txt +2 -0
- data/libchdr/tests/benchmark.c +52 -0
- metadata +183 -0
@@ -0,0 +1,116 @@
|
|
1
|
+
<?xml version="1.0" ?>
|
2
|
+
<package name="zlib" version="1.2.11">
|
3
|
+
<library name="zlib" dlversion="1.2.11" dlname="z">
|
4
|
+
<property name="description"> zip compression library </property>
|
5
|
+
<property name="include-target-dir" value="$(@PACKAGE/install-includedir)" />
|
6
|
+
|
7
|
+
<!-- fixme: not implemented yet -->
|
8
|
+
<property name="compiler/c/inline" value="yes" />
|
9
|
+
|
10
|
+
<include-file name="zlib.h" scope="public" mode="644" />
|
11
|
+
<include-file name="zconf.h" scope="public" mode="644" />
|
12
|
+
|
13
|
+
<source name="adler32.c">
|
14
|
+
<depend name="zlib.h" />
|
15
|
+
<depend name="zconf.h" />
|
16
|
+
</source>
|
17
|
+
<source name="compress.c">
|
18
|
+
<depend name="zlib.h" />
|
19
|
+
<depend name="zconf.h" />
|
20
|
+
</source>
|
21
|
+
<source name="crc32.c">
|
22
|
+
<depend name="zlib.h" />
|
23
|
+
<depend name="zconf.h" />
|
24
|
+
<depend name="crc32.h" />
|
25
|
+
</source>
|
26
|
+
<source name="gzclose.c">
|
27
|
+
<depend name="zlib.h" />
|
28
|
+
<depend name="zconf.h" />
|
29
|
+
<depend name="gzguts.h" />
|
30
|
+
</source>
|
31
|
+
<source name="gzlib.c">
|
32
|
+
<depend name="zlib.h" />
|
33
|
+
<depend name="zconf.h" />
|
34
|
+
<depend name="gzguts.h" />
|
35
|
+
</source>
|
36
|
+
<source name="gzread.c">
|
37
|
+
<depend name="zlib.h" />
|
38
|
+
<depend name="zconf.h" />
|
39
|
+
<depend name="gzguts.h" />
|
40
|
+
</source>
|
41
|
+
<source name="gzwrite.c">
|
42
|
+
<depend name="zlib.h" />
|
43
|
+
<depend name="zconf.h" />
|
44
|
+
<depend name="gzguts.h" />
|
45
|
+
</source>
|
46
|
+
<source name="uncompr.c">
|
47
|
+
<depend name="zlib.h" />
|
48
|
+
<depend name="zconf.h" />
|
49
|
+
</source>
|
50
|
+
<source name="deflate.c">
|
51
|
+
<depend name="zlib.h" />
|
52
|
+
<depend name="zconf.h" />
|
53
|
+
<depend name="zutil.h" />
|
54
|
+
<depend name="deflate.h" />
|
55
|
+
</source>
|
56
|
+
<source name="trees.c">
|
57
|
+
<depend name="zlib.h" />
|
58
|
+
<depend name="zconf.h" />
|
59
|
+
<depend name="zutil.h" />
|
60
|
+
<depend name="deflate.h" />
|
61
|
+
<depend name="trees.h" />
|
62
|
+
</source>
|
63
|
+
<source name="zutil.c">
|
64
|
+
<depend name="zlib.h" />
|
65
|
+
<depend name="zconf.h" />
|
66
|
+
<depend name="zutil.h" />
|
67
|
+
</source>
|
68
|
+
<source name="inflate.c">
|
69
|
+
<depend name="zlib.h" />
|
70
|
+
<depend name="zconf.h" />
|
71
|
+
<depend name="zutil.h" />
|
72
|
+
<depend name="inftrees.h" />
|
73
|
+
<depend name="inflate.h" />
|
74
|
+
<depend name="inffast.h" />
|
75
|
+
</source>
|
76
|
+
<source name="infback.c">
|
77
|
+
<depend name="zlib.h" />
|
78
|
+
<depend name="zconf.h" />
|
79
|
+
<depend name="zutil.h" />
|
80
|
+
<depend name="inftrees.h" />
|
81
|
+
<depend name="inflate.h" />
|
82
|
+
<depend name="inffast.h" />
|
83
|
+
</source>
|
84
|
+
<source name="inftrees.c">
|
85
|
+
<depend name="zlib.h" />
|
86
|
+
<depend name="zconf.h" />
|
87
|
+
<depend name="zutil.h" />
|
88
|
+
<depend name="inftrees.h" />
|
89
|
+
</source>
|
90
|
+
<source name="inffast.c">
|
91
|
+
<depend name="zlib.h" />
|
92
|
+
<depend name="zconf.h" />
|
93
|
+
<depend name="zutil.h" />
|
94
|
+
<depend name="inftrees.h" />
|
95
|
+
<depend name="inflate.h" />
|
96
|
+
<depend name="inffast.h" />
|
97
|
+
</source>
|
98
|
+
</library>
|
99
|
+
</package>
|
100
|
+
|
101
|
+
<!--
|
102
|
+
CFLAGS=-O
|
103
|
+
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
|
104
|
+
#CFLAGS=-g -DZLIB_DEBUG
|
105
|
+
#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
|
106
|
+
# -Wstrict-prototypes -Wmissing-prototypes
|
107
|
+
|
108
|
+
# OBJA =
|
109
|
+
# to use the asm code: make OBJA=match.o
|
110
|
+
#
|
111
|
+
match.o: match.S
|
112
|
+
$(CPP) match.S > _match.s
|
113
|
+
$(CC) -c _match.s
|
114
|
+
mv _match.o match.o
|
115
|
+
rm -f _match.s
|
116
|
+
-->
|