charguess 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +134 -0
- data/PostInstall.txt +7 -0
- data/README.rdoc +26 -0
- data/Rakefile +25 -0
- data/ext/charguess/charguess.c +29 -0
- data/ext/charguess/extconf.rb +11 -0
- data/ext/libcharguess/cpp/.deps/EUCJPProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EUCJPProber.Po +87 -0
- data/ext/libcharguess/cpp/.deps/EUCKRProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EUCKRProber.Po +85 -0
- data/ext/libcharguess/cpp/.deps/EUCTWProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EUCTWProber.Po +85 -0
- data/ext/libcharguess/cpp/.deps/EscCharsetProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EscCharsetProber.Po +83 -0
- data/ext/libcharguess/cpp/.deps/EscSM.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/EscSM.Po +77 -0
- data/ext/libcharguess/cpp/.deps/GB2312Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/GB2312Prober.Po +85 -0
- data/ext/libcharguess/cpp/.deps/LangBulgarianModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangBulgarianModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangCyrillicModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangCyrillicModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangGreekModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangGreekModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangHungarianModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangHungarianModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/LangThaiModel.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/LangThaiModel.Po +78 -0
- data/ext/libcharguess/cpp/.deps/Latin1Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/Latin1Prober.Po +78 -0
- data/ext/libcharguess/cpp/.deps/MBCSGroupProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/MBCSGroupProber.Po +102 -0
- data/ext/libcharguess/cpp/.deps/MBCSSM.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/MBCSSM.Po +77 -0
- data/ext/libcharguess/cpp/.deps/SBCSGroupProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/SBCSGroupProber.Po +80 -0
- data/ext/libcharguess/cpp/.deps/SBCharsetProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/SBCharsetProber.Po +78 -0
- data/ext/libcharguess/cpp/.deps/SJISProber.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/SJISProber.Po +86 -0
- data/ext/libcharguess/cpp/.deps/UTF8Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/UTF8Prober.Po +82 -0
- data/ext/libcharguess/cpp/.deps/big5Prober.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/big5Prober.Po +84 -0
- data/ext/libcharguess/cpp/.deps/charDistribution.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/charDistribution.Po +87 -0
- data/ext/libcharguess/cpp/.deps/chardet.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/chardet.Po +84 -0
- data/ext/libcharguess/cpp/.deps/charguess.Po +77 -0
- data/ext/libcharguess/cpp/.deps/jpCntx.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/jpCntx.Po +75 -0
- data/ext/libcharguess/cpp/.deps/universal.Plo +1 -0
- data/ext/libcharguess/cpp/.deps/universal.Po +111 -0
- data/ext/libcharguess/cpp/AUTHORS +3 -0
- data/ext/libcharguess/cpp/Big5Freq.tab +928 -0
- data/ext/libcharguess/cpp/COPYING +340 -0
- data/ext/libcharguess/cpp/COPYRIGHT +20 -0
- data/ext/libcharguess/cpp/ChangeLog +0 -0
- data/ext/libcharguess/cpp/EUCJPProber.cpp +80 -0
- data/ext/libcharguess/cpp/EUCJPProber.h +58 -0
- data/ext/libcharguess/cpp/EUCKRFreq.tab +615 -0
- data/ext/libcharguess/cpp/EUCKRProber.cpp +80 -0
- data/ext/libcharguess/cpp/EUCKRProber.h +54 -0
- data/ext/libcharguess/cpp/EUCTWFreq.tab +448 -0
- data/ext/libcharguess/cpp/EUCTWProber.cpp +79 -0
- data/ext/libcharguess/cpp/EUCTWProber.h +53 -0
- data/ext/libcharguess/cpp/EscCharsetProber.cpp +89 -0
- data/ext/libcharguess/cpp/EscCharsetProber.h +49 -0
- data/ext/libcharguess/cpp/EscSM.cpp +244 -0
- data/ext/libcharguess/cpp/GB2312Freq.tab +476 -0
- data/ext/libcharguess/cpp/GB2312Prober.cpp +84 -0
- data/ext/libcharguess/cpp/GB2312Prober.h +56 -0
- data/ext/libcharguess/cpp/INSTALL +229 -0
- data/ext/libcharguess/cpp/JISFreq.tab +574 -0
- data/ext/libcharguess/cpp/LICENSE +504 -0
- data/ext/libcharguess/cpp/LangBulgarianModel.cpp +230 -0
- data/ext/libcharguess/cpp/LangCyrillicModel.cpp +340 -0
- data/ext/libcharguess/cpp/LangGreekModel.cpp +229 -0
- data/ext/libcharguess/cpp/LangHungarianModel.cpp +228 -0
- data/ext/libcharguess/cpp/LangThaiModel.cpp +206 -0
- data/ext/libcharguess/cpp/Latin1Prober.cpp +190 -0
- data/ext/libcharguess/cpp/Latin1Prober.h +49 -0
- data/ext/libcharguess/cpp/MBCSGroupProber.cpp +186 -0
- data/ext/libcharguess/cpp/MBCSGroupProber.h +58 -0
- data/ext/libcharguess/cpp/MBCSSM.cpp +610 -0
- data/ext/libcharguess/cpp/Makefile.am +45 -0
- data/ext/libcharguess/cpp/Makefile.in +608 -0
- data/ext/libcharguess/cpp/NEWS +0 -0
- data/ext/libcharguess/cpp/README +0 -0
- data/ext/libcharguess/cpp/SBCSGroupProber.cpp +244 -0
- data/ext/libcharguess/cpp/SBCSGroupProber.h +54 -0
- data/ext/libcharguess/cpp/SBCharsetProber.cpp +100 -0
- data/ext/libcharguess/cpp/SBCharsetProber.h +89 -0
- data/ext/libcharguess/cpp/SJISProber.cpp +86 -0
- data/ext/libcharguess/cpp/SJISProber.h +60 -0
- data/ext/libcharguess/cpp/UTF8Prober.cpp +75 -0
- data/ext/libcharguess/cpp/UTF8Prober.h +46 -0
- data/ext/libcharguess/cpp/aclocal.m4 +1008 -0
- data/ext/libcharguess/cpp/autogen.sh +153 -0
- data/ext/libcharguess/cpp/big5Prober.cpp +76 -0
- data/ext/libcharguess/cpp/big5Prober.h +53 -0
- data/ext/libcharguess/cpp/charDistribution.cpp +90 -0
- data/ext/libcharguess/cpp/charDistribution.h +219 -0
- data/ext/libcharguess/cpp/charguess.cpp +56 -0
- data/ext/libcharguess/cpp/charguess.h +23 -0
- data/ext/libcharguess/cpp/charsetProber.h +50 -0
- data/ext/libcharguess/cpp/codingStateMachine.h +92 -0
- data/ext/libcharguess/cpp/config.h +36 -0
- data/ext/libcharguess/cpp/config.h.in +35 -0
- data/ext/libcharguess/cpp/config.status +1075 -0
- data/ext/libcharguess/cpp/configure +5226 -0
- data/ext/libcharguess/cpp/configure.in +49 -0
- data/ext/libcharguess/cpp/depcomp +472 -0
- data/ext/libcharguess/cpp/fix_copyright +32 -0
- data/ext/libcharguess/cpp/install-sh +294 -0
- data/ext/libcharguess/cpp/jpCntx.cpp +194 -0
- data/ext/libcharguess/cpp/jpCntx.h +100 -0
- data/ext/libcharguess/cpp/missing +336 -0
- data/ext/libcharguess/cpp/mkinstalldirs +111 -0
- data/ext/libcharguess/cpp/pkgInt.h +72 -0
- data/ext/libcharguess/cpp/stamp-h1 +1 -0
- data/ext/libcharguess/cpp/test/test.cpp +78 -0
- data/ext/libcharguess/cpp/types.h +41 -0
- data/ext/libcharguess/cpp/universal.cpp +273 -0
- data/ext/libcharguess/cpp/universal.h +65 -0
- data/script/console +9 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/tasks/extconf/charguess.rake +47 -0
- data/tasks/extconf.rake +13 -0
- data/test/test_charguess.rb +7 -0
- data/test/test_charguess_extn.rb +10 -0
- data/test/test_helper.rb +3 -0
- metadata +219 -0
data/History.txt
ADDED
data/Manifest.txt
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
History.txt
|
2
|
+
Manifest.txt
|
3
|
+
PostInstall.txt
|
4
|
+
README.rdoc
|
5
|
+
Rakefile
|
6
|
+
ext/charguess/charguess.c
|
7
|
+
ext/charguess/extconf.rb
|
8
|
+
ext/libcharguess/cpp/.deps/EUCJPProber.Plo
|
9
|
+
ext/libcharguess/cpp/.deps/EUCJPProber.Po
|
10
|
+
ext/libcharguess/cpp/.deps/EUCKRProber.Plo
|
11
|
+
ext/libcharguess/cpp/.deps/EUCKRProber.Po
|
12
|
+
ext/libcharguess/cpp/.deps/EUCTWProber.Plo
|
13
|
+
ext/libcharguess/cpp/.deps/EUCTWProber.Po
|
14
|
+
ext/libcharguess/cpp/.deps/EscCharsetProber.Plo
|
15
|
+
ext/libcharguess/cpp/.deps/EscCharsetProber.Po
|
16
|
+
ext/libcharguess/cpp/.deps/EscSM.Plo
|
17
|
+
ext/libcharguess/cpp/.deps/EscSM.Po
|
18
|
+
ext/libcharguess/cpp/.deps/GB2312Prober.Plo
|
19
|
+
ext/libcharguess/cpp/.deps/GB2312Prober.Po
|
20
|
+
ext/libcharguess/cpp/.deps/LangBulgarianModel.Plo
|
21
|
+
ext/libcharguess/cpp/.deps/LangBulgarianModel.Po
|
22
|
+
ext/libcharguess/cpp/.deps/LangCyrillicModel.Plo
|
23
|
+
ext/libcharguess/cpp/.deps/LangCyrillicModel.Po
|
24
|
+
ext/libcharguess/cpp/.deps/LangGreekModel.Plo
|
25
|
+
ext/libcharguess/cpp/.deps/LangGreekModel.Po
|
26
|
+
ext/libcharguess/cpp/.deps/LangHungarianModel.Plo
|
27
|
+
ext/libcharguess/cpp/.deps/LangHungarianModel.Po
|
28
|
+
ext/libcharguess/cpp/.deps/LangThaiModel.Plo
|
29
|
+
ext/libcharguess/cpp/.deps/LangThaiModel.Po
|
30
|
+
ext/libcharguess/cpp/.deps/Latin1Prober.Plo
|
31
|
+
ext/libcharguess/cpp/.deps/Latin1Prober.Po
|
32
|
+
ext/libcharguess/cpp/.deps/MBCSGroupProber.Plo
|
33
|
+
ext/libcharguess/cpp/.deps/MBCSGroupProber.Po
|
34
|
+
ext/libcharguess/cpp/.deps/MBCSSM.Plo
|
35
|
+
ext/libcharguess/cpp/.deps/MBCSSM.Po
|
36
|
+
ext/libcharguess/cpp/.deps/SBCSGroupProber.Plo
|
37
|
+
ext/libcharguess/cpp/.deps/SBCSGroupProber.Po
|
38
|
+
ext/libcharguess/cpp/.deps/SBCharsetProber.Plo
|
39
|
+
ext/libcharguess/cpp/.deps/SBCharsetProber.Po
|
40
|
+
ext/libcharguess/cpp/.deps/SJISProber.Plo
|
41
|
+
ext/libcharguess/cpp/.deps/SJISProber.Po
|
42
|
+
ext/libcharguess/cpp/.deps/UTF8Prober.Plo
|
43
|
+
ext/libcharguess/cpp/.deps/UTF8Prober.Po
|
44
|
+
ext/libcharguess/cpp/.deps/big5Prober.Plo
|
45
|
+
ext/libcharguess/cpp/.deps/big5Prober.Po
|
46
|
+
ext/libcharguess/cpp/.deps/charDistribution.Plo
|
47
|
+
ext/libcharguess/cpp/.deps/charDistribution.Po
|
48
|
+
ext/libcharguess/cpp/.deps/chardet.Plo
|
49
|
+
ext/libcharguess/cpp/.deps/chardet.Po
|
50
|
+
ext/libcharguess/cpp/.deps/charguess.Po
|
51
|
+
ext/libcharguess/cpp/.deps/jpCntx.Plo
|
52
|
+
ext/libcharguess/cpp/.deps/jpCntx.Po
|
53
|
+
ext/libcharguess/cpp/.deps/universal.Plo
|
54
|
+
ext/libcharguess/cpp/.deps/universal.Po
|
55
|
+
ext/libcharguess/cpp/AUTHORS
|
56
|
+
ext/libcharguess/cpp/Big5Freq.tab
|
57
|
+
ext/libcharguess/cpp/COPYING
|
58
|
+
ext/libcharguess/cpp/COPYRIGHT
|
59
|
+
ext/libcharguess/cpp/ChangeLog
|
60
|
+
ext/libcharguess/cpp/EUCJPProber.cpp
|
61
|
+
ext/libcharguess/cpp/EUCJPProber.h
|
62
|
+
ext/libcharguess/cpp/EUCKRFreq.tab
|
63
|
+
ext/libcharguess/cpp/EUCKRProber.cpp
|
64
|
+
ext/libcharguess/cpp/EUCKRProber.h
|
65
|
+
ext/libcharguess/cpp/EUCTWFreq.tab
|
66
|
+
ext/libcharguess/cpp/EUCTWProber.cpp
|
67
|
+
ext/libcharguess/cpp/EUCTWProber.h
|
68
|
+
ext/libcharguess/cpp/EscCharsetProber.cpp
|
69
|
+
ext/libcharguess/cpp/EscCharsetProber.h
|
70
|
+
ext/libcharguess/cpp/EscSM.cpp
|
71
|
+
ext/libcharguess/cpp/GB2312Freq.tab
|
72
|
+
ext/libcharguess/cpp/GB2312Prober.cpp
|
73
|
+
ext/libcharguess/cpp/GB2312Prober.h
|
74
|
+
ext/libcharguess/cpp/INSTALL
|
75
|
+
ext/libcharguess/cpp/JISFreq.tab
|
76
|
+
ext/libcharguess/cpp/LICENSE
|
77
|
+
ext/libcharguess/cpp/LangBulgarianModel.cpp
|
78
|
+
ext/libcharguess/cpp/LangCyrillicModel.cpp
|
79
|
+
ext/libcharguess/cpp/LangGreekModel.cpp
|
80
|
+
ext/libcharguess/cpp/LangHungarianModel.cpp
|
81
|
+
ext/libcharguess/cpp/LangThaiModel.cpp
|
82
|
+
ext/libcharguess/cpp/Latin1Prober.cpp
|
83
|
+
ext/libcharguess/cpp/Latin1Prober.h
|
84
|
+
ext/libcharguess/cpp/MBCSGroupProber.cpp
|
85
|
+
ext/libcharguess/cpp/MBCSGroupProber.h
|
86
|
+
ext/libcharguess/cpp/MBCSSM.cpp
|
87
|
+
ext/libcharguess/cpp/Makefile.am
|
88
|
+
ext/libcharguess/cpp/Makefile.in
|
89
|
+
ext/libcharguess/cpp/NEWS
|
90
|
+
ext/libcharguess/cpp/README
|
91
|
+
ext/libcharguess/cpp/SBCSGroupProber.cpp
|
92
|
+
ext/libcharguess/cpp/SBCSGroupProber.h
|
93
|
+
ext/libcharguess/cpp/SBCharsetProber.cpp
|
94
|
+
ext/libcharguess/cpp/SBCharsetProber.h
|
95
|
+
ext/libcharguess/cpp/SJISProber.cpp
|
96
|
+
ext/libcharguess/cpp/SJISProber.h
|
97
|
+
ext/libcharguess/cpp/UTF8Prober.cpp
|
98
|
+
ext/libcharguess/cpp/UTF8Prober.h
|
99
|
+
ext/libcharguess/cpp/aclocal.m4
|
100
|
+
ext/libcharguess/cpp/autogen.sh
|
101
|
+
ext/libcharguess/cpp/big5Prober.cpp
|
102
|
+
ext/libcharguess/cpp/big5Prober.h
|
103
|
+
ext/libcharguess/cpp/charDistribution.cpp
|
104
|
+
ext/libcharguess/cpp/charDistribution.h
|
105
|
+
ext/libcharguess/cpp/charguess.cpp
|
106
|
+
ext/libcharguess/cpp/charguess.h
|
107
|
+
ext/libcharguess/cpp/charsetProber.h
|
108
|
+
ext/libcharguess/cpp/codingStateMachine.h
|
109
|
+
ext/libcharguess/cpp/config.h
|
110
|
+
ext/libcharguess/cpp/config.h.in
|
111
|
+
ext/libcharguess/cpp/config.status
|
112
|
+
ext/libcharguess/cpp/configure
|
113
|
+
ext/libcharguess/cpp/configure.in
|
114
|
+
ext/libcharguess/cpp/depcomp
|
115
|
+
ext/libcharguess/cpp/fix_copyright
|
116
|
+
ext/libcharguess/cpp/install-sh
|
117
|
+
ext/libcharguess/cpp/jpCntx.cpp
|
118
|
+
ext/libcharguess/cpp/jpCntx.h
|
119
|
+
ext/libcharguess/cpp/missing
|
120
|
+
ext/libcharguess/cpp/mkinstalldirs
|
121
|
+
ext/libcharguess/cpp/pkgInt.h
|
122
|
+
ext/libcharguess/cpp/stamp-h1
|
123
|
+
ext/libcharguess/cpp/test/test.cpp
|
124
|
+
ext/libcharguess/cpp/types.h
|
125
|
+
ext/libcharguess/cpp/universal.cpp
|
126
|
+
ext/libcharguess/cpp/universal.h
|
127
|
+
script/console
|
128
|
+
script/destroy
|
129
|
+
script/generate
|
130
|
+
tasks/extconf.rake
|
131
|
+
tasks/extconf/charguess.rake
|
132
|
+
test/test_charguess.rb
|
133
|
+
test/test_charguess_extn.rb
|
134
|
+
test/test_helper.rb
|
data/PostInstall.txt
ADDED
data/README.rdoc
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
= charguess
|
2
|
+
|
3
|
+
* http://github.com/ernesto-jimenez/charguess
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
This gem builds and installs libcharguess and it's binding libcharguess-ruby
|
8
|
+
|
9
|
+
* libcharguess: http://libcharguess.sourceforge.net/
|
10
|
+
* libcharguess-ruby: http://raa.ruby-lang.org/project/charguess/
|
11
|
+
|
12
|
+
== INSTALL:
|
13
|
+
|
14
|
+
* sudo gem install charguess
|
15
|
+
|
16
|
+
== USSAGE:
|
17
|
+
|
18
|
+
require "rubygems"
|
19
|
+
require "charguess"
|
20
|
+
|
21
|
+
CharGuess.guess("áéíóú")
|
22
|
+
#=> "UTF-8"
|
23
|
+
|
24
|
+
== LICENSE:
|
25
|
+
|
26
|
+
GPL
|
data/Rakefile
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
|
2
|
+
|
3
|
+
# Generate all the Rake tasks
|
4
|
+
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
5
|
+
$hoe = Hoe.new('charguess', "1.0") do |p|
|
6
|
+
p.developer('Ernesto Jiménez', 'erjica@gmail.com')
|
7
|
+
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
8
|
+
p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required
|
9
|
+
p.rubyforge_name = p.name
|
10
|
+
p.extra_dev_deps = [
|
11
|
+
['newgem', ">= #{::Newgem::VERSION}"]
|
12
|
+
]
|
13
|
+
|
14
|
+
p.clean_globs |= %w[**/.DS_Store tmp *.log]
|
15
|
+
path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
|
16
|
+
p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
|
17
|
+
p.rsync_args = '-av --delete --ignore-errors'
|
18
|
+
p.spec_extras = { :extensions => ["ext/charguess/extconf.rb"] }
|
19
|
+
end
|
20
|
+
|
21
|
+
require 'newgem/tasks' # load /tasks/*.rake
|
22
|
+
Dir['tasks/**/*.rake'].each { |t| load t }
|
23
|
+
|
24
|
+
# TODO - want other tests/tasks run by default? Add them to the list
|
25
|
+
# task :default => [:spec, :features]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
#include "ruby.h"
|
2
|
+
#include "intern.h"
|
3
|
+
#include <charguess.h>
|
4
|
+
|
5
|
+
|
6
|
+
static VALUE mCharGuess;
|
7
|
+
|
8
|
+
static VALUE cg_s_guess(VALUE klass, VALUE str) {
|
9
|
+
const char*ptr;
|
10
|
+
int ret;
|
11
|
+
Check_Type(str, T_STRING);
|
12
|
+
ret = CharGuessInit();
|
13
|
+
ptr = GuessChardet((const char *)RSTRING(str)->ptr);
|
14
|
+
ret = CharGuessDone();
|
15
|
+
return ptr ? rb_str_new2(ptr) : Qnil;
|
16
|
+
}
|
17
|
+
|
18
|
+
void Init_charguess()
|
19
|
+
{
|
20
|
+
ID id;
|
21
|
+
|
22
|
+
id = rb_intern("CharGuess");
|
23
|
+
if (rb_const_defined(rb_cObject, id)) {
|
24
|
+
mCharGuess = rb_const_get(rb_cObject, id);
|
25
|
+
} else {
|
26
|
+
mCharGuess = rb_define_module("CharGuess");
|
27
|
+
}
|
28
|
+
rb_define_module_function(mCharGuess, "guess", cg_s_guess, 1);
|
29
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
require 'mkmf'
|
3
|
+
|
4
|
+
libcharguess = File.expand_path(File.dirname(__FILE__), "../libcharguess/cpp")
|
5
|
+
dir_config('charguess', libcharguess, libcharguess)
|
6
|
+
|
7
|
+
if have_library('charguess') && have_library('stdc++') && have_header('charguess.h')
|
8
|
+
create_makefile('charguess')
|
9
|
+
else
|
10
|
+
raise "Charguess library not installed"
|
11
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|
@@ -0,0 +1,87 @@
|
|
1
|
+
EUCJPProber.o EUCJPProber.o: EUCJPProber.cpp EUCJPProber.h \
|
2
|
+
charsetProber.h types.h /usr/include/stdlib.h \
|
3
|
+
/usr/include/Availability.h /usr/include/AvailabilityInternal.h \
|
4
|
+
/usr/include/_types.h /usr/include/sys/_types.h \
|
5
|
+
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
6
|
+
/usr/include/i386/_types.h /usr/include/sys/wait.h \
|
7
|
+
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
8
|
+
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
9
|
+
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
10
|
+
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
11
|
+
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
12
|
+
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
13
|
+
/usr/include/libkern/_OSByteOrder.h \
|
14
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
15
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
16
|
+
/usr/include/i386/_types.h /usr/include/stdio.h codingStateMachine.h \
|
17
|
+
pkgInt.h jpCntx.h charDistribution.h
|
18
|
+
|
19
|
+
EUCJPProber.h:
|
20
|
+
|
21
|
+
charsetProber.h:
|
22
|
+
|
23
|
+
types.h:
|
24
|
+
|
25
|
+
/usr/include/stdlib.h:
|
26
|
+
|
27
|
+
/usr/include/Availability.h:
|
28
|
+
|
29
|
+
/usr/include/AvailabilityInternal.h:
|
30
|
+
|
31
|
+
/usr/include/_types.h:
|
32
|
+
|
33
|
+
/usr/include/sys/_types.h:
|
34
|
+
|
35
|
+
/usr/include/sys/cdefs.h:
|
36
|
+
|
37
|
+
/usr/include/machine/_types.h:
|
38
|
+
|
39
|
+
/usr/include/i386/_types.h:
|
40
|
+
|
41
|
+
/usr/include/sys/wait.h:
|
42
|
+
|
43
|
+
/usr/include/sys/signal.h:
|
44
|
+
|
45
|
+
/usr/include/sys/appleapiopts.h:
|
46
|
+
|
47
|
+
/usr/include/machine/signal.h:
|
48
|
+
|
49
|
+
/usr/include/i386/signal.h:
|
50
|
+
|
51
|
+
/usr/include/i386/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/sys/_structs.h:
|
54
|
+
|
55
|
+
/usr/include/machine/_structs.h:
|
56
|
+
|
57
|
+
/usr/include/mach/i386/_structs.h:
|
58
|
+
|
59
|
+
/usr/include/sys/resource.h:
|
60
|
+
|
61
|
+
/usr/include/machine/endian.h:
|
62
|
+
|
63
|
+
/usr/include/i386/endian.h:
|
64
|
+
|
65
|
+
/usr/include/sys/_endian.h:
|
66
|
+
|
67
|
+
/usr/include/libkern/_OSByteOrder.h:
|
68
|
+
|
69
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
70
|
+
|
71
|
+
/usr/include/alloca.h:
|
72
|
+
|
73
|
+
/usr/include/machine/types.h:
|
74
|
+
|
75
|
+
/usr/include/i386/types.h:
|
76
|
+
|
77
|
+
/usr/include/i386/_types.h:
|
78
|
+
|
79
|
+
/usr/include/stdio.h:
|
80
|
+
|
81
|
+
codingStateMachine.h:
|
82
|
+
|
83
|
+
pkgInt.h:
|
84
|
+
|
85
|
+
jpCntx.h:
|
86
|
+
|
87
|
+
charDistribution.h:
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|
@@ -0,0 +1,85 @@
|
|
1
|
+
EUCKRProber.o EUCKRProber.o: EUCKRProber.cpp EUCKRProber.h \
|
2
|
+
charsetProber.h types.h /usr/include/stdlib.h \
|
3
|
+
/usr/include/Availability.h /usr/include/AvailabilityInternal.h \
|
4
|
+
/usr/include/_types.h /usr/include/sys/_types.h \
|
5
|
+
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
6
|
+
/usr/include/i386/_types.h /usr/include/sys/wait.h \
|
7
|
+
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
8
|
+
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
9
|
+
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
10
|
+
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
11
|
+
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
12
|
+
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
13
|
+
/usr/include/libkern/_OSByteOrder.h \
|
14
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
15
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
16
|
+
/usr/include/i386/_types.h /usr/include/stdio.h codingStateMachine.h \
|
17
|
+
pkgInt.h charDistribution.h
|
18
|
+
|
19
|
+
EUCKRProber.h:
|
20
|
+
|
21
|
+
charsetProber.h:
|
22
|
+
|
23
|
+
types.h:
|
24
|
+
|
25
|
+
/usr/include/stdlib.h:
|
26
|
+
|
27
|
+
/usr/include/Availability.h:
|
28
|
+
|
29
|
+
/usr/include/AvailabilityInternal.h:
|
30
|
+
|
31
|
+
/usr/include/_types.h:
|
32
|
+
|
33
|
+
/usr/include/sys/_types.h:
|
34
|
+
|
35
|
+
/usr/include/sys/cdefs.h:
|
36
|
+
|
37
|
+
/usr/include/machine/_types.h:
|
38
|
+
|
39
|
+
/usr/include/i386/_types.h:
|
40
|
+
|
41
|
+
/usr/include/sys/wait.h:
|
42
|
+
|
43
|
+
/usr/include/sys/signal.h:
|
44
|
+
|
45
|
+
/usr/include/sys/appleapiopts.h:
|
46
|
+
|
47
|
+
/usr/include/machine/signal.h:
|
48
|
+
|
49
|
+
/usr/include/i386/signal.h:
|
50
|
+
|
51
|
+
/usr/include/i386/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/sys/_structs.h:
|
54
|
+
|
55
|
+
/usr/include/machine/_structs.h:
|
56
|
+
|
57
|
+
/usr/include/mach/i386/_structs.h:
|
58
|
+
|
59
|
+
/usr/include/sys/resource.h:
|
60
|
+
|
61
|
+
/usr/include/machine/endian.h:
|
62
|
+
|
63
|
+
/usr/include/i386/endian.h:
|
64
|
+
|
65
|
+
/usr/include/sys/_endian.h:
|
66
|
+
|
67
|
+
/usr/include/libkern/_OSByteOrder.h:
|
68
|
+
|
69
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
70
|
+
|
71
|
+
/usr/include/alloca.h:
|
72
|
+
|
73
|
+
/usr/include/machine/types.h:
|
74
|
+
|
75
|
+
/usr/include/i386/types.h:
|
76
|
+
|
77
|
+
/usr/include/i386/_types.h:
|
78
|
+
|
79
|
+
/usr/include/stdio.h:
|
80
|
+
|
81
|
+
codingStateMachine.h:
|
82
|
+
|
83
|
+
pkgInt.h:
|
84
|
+
|
85
|
+
charDistribution.h:
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|
@@ -0,0 +1,85 @@
|
|
1
|
+
EUCTWProber.o EUCTWProber.o: EUCTWProber.cpp EUCTWProber.h \
|
2
|
+
charsetProber.h types.h /usr/include/stdlib.h \
|
3
|
+
/usr/include/Availability.h /usr/include/AvailabilityInternal.h \
|
4
|
+
/usr/include/_types.h /usr/include/sys/_types.h \
|
5
|
+
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
6
|
+
/usr/include/i386/_types.h /usr/include/sys/wait.h \
|
7
|
+
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
8
|
+
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
9
|
+
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
10
|
+
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
11
|
+
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
12
|
+
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
13
|
+
/usr/include/libkern/_OSByteOrder.h \
|
14
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
15
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
16
|
+
/usr/include/i386/_types.h /usr/include/stdio.h codingStateMachine.h \
|
17
|
+
pkgInt.h charDistribution.h
|
18
|
+
|
19
|
+
EUCTWProber.h:
|
20
|
+
|
21
|
+
charsetProber.h:
|
22
|
+
|
23
|
+
types.h:
|
24
|
+
|
25
|
+
/usr/include/stdlib.h:
|
26
|
+
|
27
|
+
/usr/include/Availability.h:
|
28
|
+
|
29
|
+
/usr/include/AvailabilityInternal.h:
|
30
|
+
|
31
|
+
/usr/include/_types.h:
|
32
|
+
|
33
|
+
/usr/include/sys/_types.h:
|
34
|
+
|
35
|
+
/usr/include/sys/cdefs.h:
|
36
|
+
|
37
|
+
/usr/include/machine/_types.h:
|
38
|
+
|
39
|
+
/usr/include/i386/_types.h:
|
40
|
+
|
41
|
+
/usr/include/sys/wait.h:
|
42
|
+
|
43
|
+
/usr/include/sys/signal.h:
|
44
|
+
|
45
|
+
/usr/include/sys/appleapiopts.h:
|
46
|
+
|
47
|
+
/usr/include/machine/signal.h:
|
48
|
+
|
49
|
+
/usr/include/i386/signal.h:
|
50
|
+
|
51
|
+
/usr/include/i386/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/sys/_structs.h:
|
54
|
+
|
55
|
+
/usr/include/machine/_structs.h:
|
56
|
+
|
57
|
+
/usr/include/mach/i386/_structs.h:
|
58
|
+
|
59
|
+
/usr/include/sys/resource.h:
|
60
|
+
|
61
|
+
/usr/include/machine/endian.h:
|
62
|
+
|
63
|
+
/usr/include/i386/endian.h:
|
64
|
+
|
65
|
+
/usr/include/sys/_endian.h:
|
66
|
+
|
67
|
+
/usr/include/libkern/_OSByteOrder.h:
|
68
|
+
|
69
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
70
|
+
|
71
|
+
/usr/include/alloca.h:
|
72
|
+
|
73
|
+
/usr/include/machine/types.h:
|
74
|
+
|
75
|
+
/usr/include/i386/types.h:
|
76
|
+
|
77
|
+
/usr/include/i386/_types.h:
|
78
|
+
|
79
|
+
/usr/include/stdio.h:
|
80
|
+
|
81
|
+
codingStateMachine.h:
|
82
|
+
|
83
|
+
pkgInt.h:
|
84
|
+
|
85
|
+
charDistribution.h:
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|
@@ -0,0 +1,83 @@
|
|
1
|
+
EscCharsetProber.o EscCharsetProber.o: EscCharsetProber.cpp \
|
2
|
+
EscCharsetProber.h charsetProber.h types.h /usr/include/stdlib.h \
|
3
|
+
/usr/include/Availability.h /usr/include/AvailabilityInternal.h \
|
4
|
+
/usr/include/_types.h /usr/include/sys/_types.h \
|
5
|
+
/usr/include/sys/cdefs.h /usr/include/machine/_types.h \
|
6
|
+
/usr/include/i386/_types.h /usr/include/sys/wait.h \
|
7
|
+
/usr/include/sys/signal.h /usr/include/sys/appleapiopts.h \
|
8
|
+
/usr/include/machine/signal.h /usr/include/i386/signal.h \
|
9
|
+
/usr/include/i386/_structs.h /usr/include/sys/_structs.h \
|
10
|
+
/usr/include/machine/_structs.h /usr/include/mach/i386/_structs.h \
|
11
|
+
/usr/include/sys/resource.h /usr/include/machine/endian.h \
|
12
|
+
/usr/include/i386/endian.h /usr/include/sys/_endian.h \
|
13
|
+
/usr/include/libkern/_OSByteOrder.h \
|
14
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
15
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
16
|
+
/usr/include/i386/_types.h /usr/include/stdio.h codingStateMachine.h \
|
17
|
+
pkgInt.h
|
18
|
+
|
19
|
+
EscCharsetProber.h:
|
20
|
+
|
21
|
+
charsetProber.h:
|
22
|
+
|
23
|
+
types.h:
|
24
|
+
|
25
|
+
/usr/include/stdlib.h:
|
26
|
+
|
27
|
+
/usr/include/Availability.h:
|
28
|
+
|
29
|
+
/usr/include/AvailabilityInternal.h:
|
30
|
+
|
31
|
+
/usr/include/_types.h:
|
32
|
+
|
33
|
+
/usr/include/sys/_types.h:
|
34
|
+
|
35
|
+
/usr/include/sys/cdefs.h:
|
36
|
+
|
37
|
+
/usr/include/machine/_types.h:
|
38
|
+
|
39
|
+
/usr/include/i386/_types.h:
|
40
|
+
|
41
|
+
/usr/include/sys/wait.h:
|
42
|
+
|
43
|
+
/usr/include/sys/signal.h:
|
44
|
+
|
45
|
+
/usr/include/sys/appleapiopts.h:
|
46
|
+
|
47
|
+
/usr/include/machine/signal.h:
|
48
|
+
|
49
|
+
/usr/include/i386/signal.h:
|
50
|
+
|
51
|
+
/usr/include/i386/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/sys/_structs.h:
|
54
|
+
|
55
|
+
/usr/include/machine/_structs.h:
|
56
|
+
|
57
|
+
/usr/include/mach/i386/_structs.h:
|
58
|
+
|
59
|
+
/usr/include/sys/resource.h:
|
60
|
+
|
61
|
+
/usr/include/machine/endian.h:
|
62
|
+
|
63
|
+
/usr/include/i386/endian.h:
|
64
|
+
|
65
|
+
/usr/include/sys/_endian.h:
|
66
|
+
|
67
|
+
/usr/include/libkern/_OSByteOrder.h:
|
68
|
+
|
69
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
70
|
+
|
71
|
+
/usr/include/alloca.h:
|
72
|
+
|
73
|
+
/usr/include/machine/types.h:
|
74
|
+
|
75
|
+
/usr/include/i386/types.h:
|
76
|
+
|
77
|
+
/usr/include/i386/_types.h:
|
78
|
+
|
79
|
+
/usr/include/stdio.h:
|
80
|
+
|
81
|
+
codingStateMachine.h:
|
82
|
+
|
83
|
+
pkgInt.h:
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|
@@ -0,0 +1,77 @@
|
|
1
|
+
EscSM.o EscSM.o: EscSM.cpp codingStateMachine.h pkgInt.h types.h \
|
2
|
+
/usr/include/stdlib.h /usr/include/Availability.h \
|
3
|
+
/usr/include/AvailabilityInternal.h /usr/include/_types.h \
|
4
|
+
/usr/include/sys/_types.h /usr/include/sys/cdefs.h \
|
5
|
+
/usr/include/machine/_types.h /usr/include/i386/_types.h \
|
6
|
+
/usr/include/sys/wait.h /usr/include/sys/signal.h \
|
7
|
+
/usr/include/sys/appleapiopts.h /usr/include/machine/signal.h \
|
8
|
+
/usr/include/i386/signal.h /usr/include/i386/_structs.h \
|
9
|
+
/usr/include/sys/_structs.h /usr/include/machine/_structs.h \
|
10
|
+
/usr/include/mach/i386/_structs.h /usr/include/sys/resource.h \
|
11
|
+
/usr/include/machine/endian.h /usr/include/i386/endian.h \
|
12
|
+
/usr/include/sys/_endian.h /usr/include/libkern/_OSByteOrder.h \
|
13
|
+
/usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \
|
14
|
+
/usr/include/machine/types.h /usr/include/i386/types.h \
|
15
|
+
/usr/include/i386/_types.h /usr/include/stdio.h
|
16
|
+
|
17
|
+
codingStateMachine.h:
|
18
|
+
|
19
|
+
pkgInt.h:
|
20
|
+
|
21
|
+
types.h:
|
22
|
+
|
23
|
+
/usr/include/stdlib.h:
|
24
|
+
|
25
|
+
/usr/include/Availability.h:
|
26
|
+
|
27
|
+
/usr/include/AvailabilityInternal.h:
|
28
|
+
|
29
|
+
/usr/include/_types.h:
|
30
|
+
|
31
|
+
/usr/include/sys/_types.h:
|
32
|
+
|
33
|
+
/usr/include/sys/cdefs.h:
|
34
|
+
|
35
|
+
/usr/include/machine/_types.h:
|
36
|
+
|
37
|
+
/usr/include/i386/_types.h:
|
38
|
+
|
39
|
+
/usr/include/sys/wait.h:
|
40
|
+
|
41
|
+
/usr/include/sys/signal.h:
|
42
|
+
|
43
|
+
/usr/include/sys/appleapiopts.h:
|
44
|
+
|
45
|
+
/usr/include/machine/signal.h:
|
46
|
+
|
47
|
+
/usr/include/i386/signal.h:
|
48
|
+
|
49
|
+
/usr/include/i386/_structs.h:
|
50
|
+
|
51
|
+
/usr/include/sys/_structs.h:
|
52
|
+
|
53
|
+
/usr/include/machine/_structs.h:
|
54
|
+
|
55
|
+
/usr/include/mach/i386/_structs.h:
|
56
|
+
|
57
|
+
/usr/include/sys/resource.h:
|
58
|
+
|
59
|
+
/usr/include/machine/endian.h:
|
60
|
+
|
61
|
+
/usr/include/i386/endian.h:
|
62
|
+
|
63
|
+
/usr/include/sys/_endian.h:
|
64
|
+
|
65
|
+
/usr/include/libkern/_OSByteOrder.h:
|
66
|
+
|
67
|
+
/usr/include/libkern/i386/_OSByteOrder.h:
|
68
|
+
|
69
|
+
/usr/include/alloca.h:
|
70
|
+
|
71
|
+
/usr/include/machine/types.h:
|
72
|
+
|
73
|
+
/usr/include/i386/types.h:
|
74
|
+
|
75
|
+
/usr/include/i386/_types.h:
|
76
|
+
|
77
|
+
/usr/include/stdio.h:
|
@@ -0,0 +1 @@
|
|
1
|
+
# dummy
|