mhs-xapian 1.0.18a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. data/.gitignore +3 -0
  2. data/AUTHORS +1 -0
  3. data/COPYING +340 -0
  4. data/ChangeLog +5876 -0
  5. data/HACKING +101 -0
  6. data/INSTALL +293 -0
  7. data/Makefile +722 -0
  8. data/Makefile.am +26 -0
  9. data/Makefile.in +722 -0
  10. data/NEWS +2110 -0
  11. data/README +59 -0
  12. data/Rakefile +51 -0
  13. data/TODO +47 -0
  14. data/aclocal.m4 +7675 -0
  15. data/config.guess +1501 -0
  16. data/config.h +56 -0
  17. data/config.h.in +55 -0
  18. data/config.status +1298 -0
  19. data/config.sub +1705 -0
  20. data/configure +18536 -0
  21. data/configure.ac +944 -0
  22. data/csharp/.deps/xapian_wrap.Plo +1 -0
  23. data/csharp/AssemblyInfo.cs +40 -0
  24. data/csharp/AssemblyInfo.cs.in +40 -0
  25. data/csharp/Auto.cs +46 -0
  26. data/csharp/BM25Weight.cs +107 -0
  27. data/csharp/BoolWeight.cs +103 -0
  28. data/csharp/Database.cs +275 -0
  29. data/csharp/DateValueRangeProcessor.cs +61 -0
  30. data/csharp/Document.cs +177 -0
  31. data/csharp/ESet.cs +94 -0
  32. data/csharp/ESetIterator.cs +117 -0
  33. data/csharp/Enquire.cs +274 -0
  34. data/csharp/ExpandDecider.cs +76 -0
  35. data/csharp/Flint.cs +58 -0
  36. data/csharp/InMemory.cs +46 -0
  37. data/csharp/MSet.cs +193 -0
  38. data/csharp/MSetIterator.cs +141 -0
  39. data/csharp/Makefile +868 -0
  40. data/csharp/Makefile.am +106 -0
  41. data/csharp/Makefile.in +868 -0
  42. data/csharp/MatchDecider.cs +76 -0
  43. data/csharp/MultiValueSorter.cs +63 -0
  44. data/csharp/NumberValueRangeProcessor.cs +61 -0
  45. data/csharp/PositionIterator.cs +101 -0
  46. data/csharp/PostingIterator.cs +125 -0
  47. data/csharp/Quartz.cs +58 -0
  48. data/csharp/Query.cs +150 -0
  49. data/csharp/QueryParser.cs +174 -0
  50. data/csharp/RSet.cs +102 -0
  51. data/csharp/Remote.cs +100 -0
  52. data/csharp/SWIGTYPE_p_std__string.cs +30 -0
  53. data/csharp/SWIGTYPE_p_std__vectorTXapian__Query_t.cs +30 -0
  54. data/csharp/SWIGTYPE_p_std__vectorTstd__string_t.cs +30 -0
  55. data/csharp/SimpleStopper.cs +64 -0
  56. data/csharp/SmokeTest.cs +178 -0
  57. data/csharp/Sorter.cs +76 -0
  58. data/csharp/Stem.cs +66 -0
  59. data/csharp/Stopper.cs +91 -0
  60. data/csharp/StringValueRangeProcessor.cs +53 -0
  61. data/csharp/TermGenerator.cs +152 -0
  62. data/csharp/TermIterator.cs +125 -0
  63. data/csharp/TradWeight.cs +107 -0
  64. data/csharp/ValueIterator.cs +102 -0
  65. data/csharp/ValueRangeProcessor.cs +76 -0
  66. data/csharp/Version.cs +60 -0
  67. data/csharp/Weight.cs +93 -0
  68. data/csharp/WritableDatabase.cs +153 -0
  69. data/csharp/Xapian.cs +65 -0
  70. data/csharp/XapianPINVOKE.cs +1527 -0
  71. data/csharp/docs/Makefile +450 -0
  72. data/csharp/docs/Makefile.am +16 -0
  73. data/csharp/docs/Makefile.in +450 -0
  74. data/csharp/docs/examples/SimpleExpand.cs +109 -0
  75. data/csharp/docs/examples/SimpleIndex.cs +71 -0
  76. data/csharp/docs/examples/SimpleSearch.cs +78 -0
  77. data/csharp/docs/index.html +211 -0
  78. data/csharp/util.i +233 -0
  79. data/csharp/xapian_wrap.cc +10338 -0
  80. data/csharp/xapian_wrap.h +93 -0
  81. data/depcomp +632 -0
  82. data/extconf.rb +20 -0
  83. data/generic/except.i +80 -0
  84. data/generic/generic.mk +48 -0
  85. data/install-sh +520 -0
  86. data/java-swig/.deps/xapian_wrap.Plo +1 -0
  87. data/java-swig/Auto.java +35 -0
  88. data/java-swig/BM25Weight.java +81 -0
  89. data/java-swig/BoolWeight.java +77 -0
  90. data/java-swig/Database.java +195 -0
  91. data/java-swig/DateValueRangeProcessor.java +51 -0
  92. data/java-swig/Document.java +135 -0
  93. data/java-swig/ESet.java +71 -0
  94. data/java-swig/ESetIterator.java +71 -0
  95. data/java-swig/Enquire.java +246 -0
  96. data/java-swig/ExpandDecider.java +59 -0
  97. data/java-swig/Flint.java +43 -0
  98. data/java-swig/InMemory.java +35 -0
  99. data/java-swig/MSet.java +143 -0
  100. data/java-swig/MSetIterator.java +87 -0
  101. data/java-swig/Makefile +781 -0
  102. data/java-swig/Makefile.am +132 -0
  103. data/java-swig/Makefile.in +781 -0
  104. data/java-swig/MatchDecider.java +59 -0
  105. data/java-swig/MultiValueSorter.java +51 -0
  106. data/java-swig/NumberValueRangeProcessor.java +51 -0
  107. data/java-swig/PositionIterator.java +63 -0
  108. data/java-swig/PostingIterator.java +83 -0
  109. data/java-swig/Quartz.java +43 -0
  110. data/java-swig/Query.java +189 -0
  111. data/java-swig/QueryParser.java +214 -0
  112. data/java-swig/RSet.java +79 -0
  113. data/java-swig/Remote.java +71 -0
  114. data/java-swig/SWIGTYPE_p_std__string.java +25 -0
  115. data/java-swig/SimpleStopper.java +51 -0
  116. data/java-swig/SmokeTest.java +161 -0
  117. data/java-swig/Sorter.java +59 -0
  118. data/java-swig/Stem.java +51 -0
  119. data/java-swig/Stopper.java +63 -0
  120. data/java-swig/StringValueRangeProcessor.java +43 -0
  121. data/java-swig/TermGenerator.java +158 -0
  122. data/java-swig/TermIterator.java +83 -0
  123. data/java-swig/TradWeight.java +81 -0
  124. data/java-swig/ValueIterator.java +67 -0
  125. data/java-swig/ValueRangeProcessor.java +59 -0
  126. data/java-swig/Version.java +47 -0
  127. data/java-swig/Weight.java +68 -0
  128. data/java-swig/WritableDatabase.java +123 -0
  129. data/java-swig/Xapian.java +39 -0
  130. data/java-swig/XapianConstants.java +15 -0
  131. data/java-swig/XapianJNI.java +508 -0
  132. data/java-swig/run-java-test +6 -0
  133. data/java-swig/xapian_wrap.cc +12594 -0
  134. data/java-swig/xapian_wrap.h +91 -0
  135. data/java/Makefile +660 -0
  136. data/java/Makefile.am +35 -0
  137. data/java/Makefile.in +660 -0
  138. data/java/README +76 -0
  139. data/java/SmokeTest.java +148 -0
  140. data/java/native/.deps/Database.Plo +1 -0
  141. data/java/native/.deps/Document.Plo +1 -0
  142. data/java/native/.deps/ESet.Plo +1 -0
  143. data/java/native/.deps/ESetIterator.Plo +1 -0
  144. data/java/native/.deps/Enquire.Plo +1 -0
  145. data/java/native/.deps/MSet.Plo +1 -0
  146. data/java/native/.deps/MSetIterator.Plo +1 -0
  147. data/java/native/.deps/PositionIterator.Plo +1 -0
  148. data/java/native/.deps/Query.Plo +1 -0
  149. data/java/native/.deps/RSet.Plo +1 -0
  150. data/java/native/.deps/Stem.Plo +1 -0
  151. data/java/native/.deps/TermIterator.Plo +1 -0
  152. data/java/native/.deps/WritableDatabase.Plo +1 -0
  153. data/java/native/.deps/org_xapian_XapianJNI.Plo +1 -0
  154. data/java/native/.deps/utils.Plo +1 -0
  155. data/java/native/Database.cc +222 -0
  156. data/java/native/Document.cc +173 -0
  157. data/java/native/ESet.cc +79 -0
  158. data/java/native/ESetIterator.cc +82 -0
  159. data/java/native/Enquire.cc +271 -0
  160. data/java/native/MSet.cc +169 -0
  161. data/java/native/MSetIterator.cc +107 -0
  162. data/java/native/Makefile +594 -0
  163. data/java/native/Makefile.am +51 -0
  164. data/java/native/Makefile.in +594 -0
  165. data/java/native/PositionIterator.cc +64 -0
  166. data/java/native/Query.cc +180 -0
  167. data/java/native/RSet.cc +98 -0
  168. data/java/native/Stem.cc +75 -0
  169. data/java/native/TermIterator.cc +107 -0
  170. data/java/native/WritableDatabase.cc +118 -0
  171. data/java/native/XapianObjectHolder.h +115 -0
  172. data/java/native/org_xapian_XapianJNI.cc +78 -0
  173. data/java/native/org_xapian_XapianJNI.h +1369 -0
  174. data/java/native/utils.cc +51 -0
  175. data/java/native/xapian_jni.h +116 -0
  176. data/java/org/xapian/Database.java +148 -0
  177. data/java/org/xapian/Document.java +135 -0
  178. data/java/org/xapian/ESet.java +66 -0
  179. data/java/org/xapian/ESetIterator.java +97 -0
  180. data/java/org/xapian/Enquire.java +136 -0
  181. data/java/org/xapian/ExpandDecider.java +30 -0
  182. data/java/org/xapian/MSet.java +104 -0
  183. data/java/org/xapian/MSetIterator.java +132 -0
  184. data/java/org/xapian/Makefile +580 -0
  185. data/java/org/xapian/Makefile.am +38 -0
  186. data/java/org/xapian/Makefile.in +580 -0
  187. data/java/org/xapian/MatchDecider.java +30 -0
  188. data/java/org/xapian/PositionIterator.java +89 -0
  189. data/java/org/xapian/Query.java +190 -0
  190. data/java/org/xapian/RSet.java +89 -0
  191. data/java/org/xapian/Stem.java +80 -0
  192. data/java/org/xapian/TermIterator.java +142 -0
  193. data/java/org/xapian/WritableDatabase.java +92 -0
  194. data/java/org/xapian/Xapian.java +114 -0
  195. data/java/org/xapian/XapianJNI.java +444 -0
  196. data/java/org/xapian/errors/AssertionError.java +40 -0
  197. data/java/org/xapian/errors/DatabaseCorruptError.java +40 -0
  198. data/java/org/xapian/errors/DatabaseError.java +40 -0
  199. data/java/org/xapian/errors/DatabaseLockError.java +40 -0
  200. data/java/org/xapian/errors/DatabaseModifiedError.java +40 -0
  201. data/java/org/xapian/errors/DatabaseOpeningError.java +40 -0
  202. data/java/org/xapian/errors/DocNotFoundError.java +40 -0
  203. data/java/org/xapian/errors/FeatureUnavailableError.java +40 -0
  204. data/java/org/xapian/errors/InternalError.java +40 -0
  205. data/java/org/xapian/errors/InvalidArgumentError.java +40 -0
  206. data/java/org/xapian/errors/InvalidOperationError.java +40 -0
  207. data/java/org/xapian/errors/LogicError.java +40 -0
  208. data/java/org/xapian/errors/Makefile +416 -0
  209. data/java/org/xapian/errors/Makefile.am +32 -0
  210. data/java/org/xapian/errors/Makefile.in +416 -0
  211. data/java/org/xapian/errors/NetworkError.java +40 -0
  212. data/java/org/xapian/errors/NetworkTimeoutError.java +40 -0
  213. data/java/org/xapian/errors/RangeError.java +40 -0
  214. data/java/org/xapian/errors/RuntimeError.java +40 -0
  215. data/java/org/xapian/errors/UnimplementedError.java +40 -0
  216. data/java/org/xapian/errors/XapianError.java +40 -0
  217. data/java/org/xapian/errors/XapianRuntimeError.java +49 -0
  218. data/java/org/xapian/examples/Makefile +391 -0
  219. data/java/org/xapian/examples/Makefile.am +8 -0
  220. data/java/org/xapian/examples/Makefile.in +391 -0
  221. data/java/org/xapian/examples/SimpleIndex.java +68 -0
  222. data/java/org/xapian/examples/SimpleSearch.java +71 -0
  223. data/java/run-java-test +6 -0
  224. data/libtool +7618 -0
  225. data/ltmain.sh +6956 -0
  226. data/mhs-xapian.gemspec +368 -0
  227. data/missing +378 -0
  228. data/php/.deps/xapian_wrap.Plo +1 -0
  229. data/php/Makefile +871 -0
  230. data/php/Makefile.am +82 -0
  231. data/php/Makefile.in +871 -0
  232. data/php/docs/Makefile +453 -0
  233. data/php/docs/Makefile.am +19 -0
  234. data/php/docs/Makefile.in +453 -0
  235. data/php/docs/examples/simpleexpand.php4 +108 -0
  236. data/php/docs/examples/simpleexpand.php5 +104 -0
  237. data/php/docs/examples/simpleindex.php4 +76 -0
  238. data/php/docs/examples/simpleindex.php5 +73 -0
  239. data/php/docs/examples/simplesearch.php4 +75 -0
  240. data/php/docs/examples/simplesearch.php5 +72 -0
  241. data/php/docs/index.html +313 -0
  242. data/php/except.i +98 -0
  243. data/php/php4/php_xapian.h +323 -0
  244. data/php/php4/xapian.php +32 -0
  245. data/php/php4/xapian_wrap.cc +27656 -0
  246. data/php/php5/php_xapian.h +319 -0
  247. data/php/php5/xapian.php +1566 -0
  248. data/php/php5/xapian_wrap.cc +24330 -0
  249. data/php/smoketest.php +246 -0
  250. data/php/smoketest4.php +84 -0
  251. data/php/smoketest5.php +79 -0
  252. data/php/util.i +187 -0
  253. data/python/.deps/xapian_wrap.Plo +1 -0
  254. data/python/Makefile +891 -0
  255. data/python/Makefile.am +105 -0
  256. data/python/Makefile.in +891 -0
  257. data/python/doccomments.i +5134 -0
  258. data/python/docs/Makefile +448 -0
  259. data/python/docs/Makefile.am +14 -0
  260. data/python/docs/Makefile.in +448 -0
  261. data/python/docs/examples/simpleexpand.py +98 -0
  262. data/python/docs/examples/simpleindex.py +65 -0
  263. data/python/docs/examples/simplematchdecider.py +78 -0
  264. data/python/docs/examples/simplesearch.py +65 -0
  265. data/python/docs/index.html +420 -0
  266. data/python/except.i +290 -0
  267. data/python/extra.i +1048 -0
  268. data/python/extracomments.i +28 -0
  269. data/python/generate-python-exceptions +189 -0
  270. data/python/generate-python-exceptions.in +189 -0
  271. data/python/modern/xapian.py +5662 -0
  272. data/python/modern/xapian_wrap.cc +35170 -0
  273. data/python/modern/xapian_wrap.h +244 -0
  274. data/python/pythontest.py +1110 -0
  275. data/python/smoketest.py +328 -0
  276. data/python/testsuite.py +382 -0
  277. data/python/util.i +517 -0
  278. data/ruby/.deps/xapian_wrap.Plo +494 -0
  279. data/ruby/.libs/_xapian.bundle +0 -0
  280. data/ruby/.libs/_xapian.bundle.dSYM/Contents/Info.plist +25 -0
  281. data/ruby/.libs/_xapian.bundle.dSYM/Contents/Resources/DWARF/_xapian.bundle +0 -0
  282. data/ruby/.libs/_xapian.la +35 -0
  283. data/ruby/.libs/_xapian.lai +35 -0
  284. data/ruby/Makefile +854 -0
  285. data/ruby/Makefile.am +62 -0
  286. data/ruby/Makefile.in +854 -0
  287. data/ruby/_xapian.la +35 -0
  288. data/ruby/docs/Makefile +487 -0
  289. data/ruby/docs/Makefile.am +50 -0
  290. data/ruby/docs/Makefile.in +487 -0
  291. data/ruby/docs/examples/simpleexpand.rb +98 -0
  292. data/ruby/docs/examples/simpleindex.rb +60 -0
  293. data/ruby/docs/examples/simplematchdecider.rb +74 -0
  294. data/ruby/docs/examples/simplesearch.rb +63 -0
  295. data/ruby/docs/index.html +197 -0
  296. data/ruby/smoketest.rb +211 -0
  297. data/ruby/util.i +232 -0
  298. data/ruby/xapian.rb +280 -0
  299. data/ruby/xapian_wrap.cc +25837 -0
  300. data/ruby/xapian_wrap.h +65 -0
  301. data/ruby/xapian_wrap.lo +12 -0
  302. data/skiptest +2 -0
  303. data/stamp-h1 +1 -0
  304. data/tcl8/.deps/xapian_wrap.Plo +1 -0
  305. data/tcl8/Makefile +835 -0
  306. data/tcl8/Makefile.am +49 -0
  307. data/tcl8/Makefile.in +835 -0
  308. data/tcl8/docs/Makefile +448 -0
  309. data/tcl8/docs/Makefile.am +14 -0
  310. data/tcl8/docs/Makefile.in +448 -0
  311. data/tcl8/docs/examples/simpleexpand.tcl +104 -0
  312. data/tcl8/docs/examples/simpleindex.tcl +68 -0
  313. data/tcl8/docs/examples/simplesearch.tcl +66 -0
  314. data/tcl8/docs/index.html +208 -0
  315. data/tcl8/except.i +48 -0
  316. data/tcl8/pkgIndex.tcl +1 -0
  317. data/tcl8/pkgIndex.tcl.in +1 -0
  318. data/tcl8/run-tcl-test +15 -0
  319. data/tcl8/runtest.tcl +29 -0
  320. data/tcl8/smoketest.tcl +155 -0
  321. data/tcl8/util.i +76 -0
  322. data/tcl8/xapian_wrap.cc +20900 -0
  323. data/xapian-bindings.spec +206 -0
  324. data/xapian-bindings.spec.in +206 -0
  325. data/xapian-version.h +1 -0
  326. data/xapian-version.h.in +1 -0
  327. data/xapian.i +939 -0
  328. metadata +395 -0
@@ -0,0 +1,368 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{mhs-xapian}
8
+ s.version = "1.0.18a"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Tom Adams", "Zach Dennis"]
12
+ s.date = %q{2010-05-10}
13
+ s.description = %q{xapian 1.0.18 bindings for Ruby}
14
+ s.email = %q{zdennis@mutuallyhuman.com}
15
+ s.extensions = ["extconf.rb"]
16
+ s.extra_rdoc_files = [
17
+ "ChangeLog",
18
+ "README",
19
+ "TODO"
20
+ ]
21
+ s.files = [
22
+ ".gitignore",
23
+ "AUTHORS",
24
+ "COPYING",
25
+ "ChangeLog",
26
+ "HACKING",
27
+ "INSTALL",
28
+ "Makefile",
29
+ "Makefile.am",
30
+ "Makefile.in",
31
+ "NEWS",
32
+ "README",
33
+ "Rakefile",
34
+ "TODO",
35
+ "aclocal.m4",
36
+ "config.guess",
37
+ "config.h",
38
+ "config.h.in",
39
+ "config.log",
40
+ "config.status",
41
+ "config.sub",
42
+ "configure",
43
+ "configure.ac",
44
+ "csharp/.deps/xapian_wrap.Plo",
45
+ "csharp/AssemblyInfo.cs",
46
+ "csharp/AssemblyInfo.cs.in",
47
+ "csharp/Auto.cs",
48
+ "csharp/BM25Weight.cs",
49
+ "csharp/BoolWeight.cs",
50
+ "csharp/Database.cs",
51
+ "csharp/DateValueRangeProcessor.cs",
52
+ "csharp/Document.cs",
53
+ "csharp/ESet.cs",
54
+ "csharp/ESetIterator.cs",
55
+ "csharp/Enquire.cs",
56
+ "csharp/ExpandDecider.cs",
57
+ "csharp/Flint.cs",
58
+ "csharp/InMemory.cs",
59
+ "csharp/MSet.cs",
60
+ "csharp/MSetIterator.cs",
61
+ "csharp/Makefile",
62
+ "csharp/Makefile.am",
63
+ "csharp/Makefile.in",
64
+ "csharp/MatchDecider.cs",
65
+ "csharp/MultiValueSorter.cs",
66
+ "csharp/NumberValueRangeProcessor.cs",
67
+ "csharp/PositionIterator.cs",
68
+ "csharp/PostingIterator.cs",
69
+ "csharp/Quartz.cs",
70
+ "csharp/Query.cs",
71
+ "csharp/QueryParser.cs",
72
+ "csharp/RSet.cs",
73
+ "csharp/Remote.cs",
74
+ "csharp/SWIGTYPE_p_std__string.cs",
75
+ "csharp/SWIGTYPE_p_std__vectorTXapian__Query_t.cs",
76
+ "csharp/SWIGTYPE_p_std__vectorTstd__string_t.cs",
77
+ "csharp/SimpleStopper.cs",
78
+ "csharp/SmokeTest.cs",
79
+ "csharp/Sorter.cs",
80
+ "csharp/Stem.cs",
81
+ "csharp/Stopper.cs",
82
+ "csharp/StringValueRangeProcessor.cs",
83
+ "csharp/TermGenerator.cs",
84
+ "csharp/TermIterator.cs",
85
+ "csharp/TradWeight.cs",
86
+ "csharp/ValueIterator.cs",
87
+ "csharp/ValueRangeProcessor.cs",
88
+ "csharp/Version.cs",
89
+ "csharp/Weight.cs",
90
+ "csharp/WritableDatabase.cs",
91
+ "csharp/Xapian.cs",
92
+ "csharp/XapianPINVOKE.cs",
93
+ "csharp/docs/Makefile",
94
+ "csharp/docs/Makefile.am",
95
+ "csharp/docs/Makefile.in",
96
+ "csharp/docs/examples/SimpleExpand.cs",
97
+ "csharp/docs/examples/SimpleIndex.cs",
98
+ "csharp/docs/examples/SimpleSearch.cs",
99
+ "csharp/docs/index.html",
100
+ "csharp/util.i",
101
+ "csharp/xapian_wrap.cc",
102
+ "csharp/xapian_wrap.h",
103
+ "depcomp",
104
+ "extconf.rb",
105
+ "generic/except.i",
106
+ "generic/generic.mk",
107
+ "install-sh",
108
+ "java-swig/.deps/xapian_wrap.Plo",
109
+ "java-swig/Auto.java",
110
+ "java-swig/BM25Weight.java",
111
+ "java-swig/BoolWeight.java",
112
+ "java-swig/Database.java",
113
+ "java-swig/DateValueRangeProcessor.java",
114
+ "java-swig/Document.java",
115
+ "java-swig/ESet.java",
116
+ "java-swig/ESetIterator.java",
117
+ "java-swig/Enquire.java",
118
+ "java-swig/ExpandDecider.java",
119
+ "java-swig/Flint.java",
120
+ "java-swig/InMemory.java",
121
+ "java-swig/MSet.java",
122
+ "java-swig/MSetIterator.java",
123
+ "java-swig/Makefile",
124
+ "java-swig/Makefile.am",
125
+ "java-swig/Makefile.in",
126
+ "java-swig/MatchDecider.java",
127
+ "java-swig/MultiValueSorter.java",
128
+ "java-swig/NumberValueRangeProcessor.java",
129
+ "java-swig/PositionIterator.java",
130
+ "java-swig/PostingIterator.java",
131
+ "java-swig/Quartz.java",
132
+ "java-swig/Query.java",
133
+ "java-swig/QueryParser.java",
134
+ "java-swig/RSet.java",
135
+ "java-swig/Remote.java",
136
+ "java-swig/SWIGTYPE_p_std__string.java",
137
+ "java-swig/SimpleStopper.java",
138
+ "java-swig/SmokeTest.java",
139
+ "java-swig/Sorter.java",
140
+ "java-swig/Stem.java",
141
+ "java-swig/Stopper.java",
142
+ "java-swig/StringValueRangeProcessor.java",
143
+ "java-swig/TermGenerator.java",
144
+ "java-swig/TermIterator.java",
145
+ "java-swig/TradWeight.java",
146
+ "java-swig/ValueIterator.java",
147
+ "java-swig/ValueRangeProcessor.java",
148
+ "java-swig/Version.java",
149
+ "java-swig/Weight.java",
150
+ "java-swig/WritableDatabase.java",
151
+ "java-swig/Xapian.java",
152
+ "java-swig/XapianConstants.java",
153
+ "java-swig/XapianJNI.java",
154
+ "java-swig/run-java-test",
155
+ "java-swig/xapian_wrap.cc",
156
+ "java-swig/xapian_wrap.h",
157
+ "java/Makefile",
158
+ "java/Makefile.am",
159
+ "java/Makefile.in",
160
+ "java/README",
161
+ "java/SmokeTest.java",
162
+ "java/native/.deps/Database.Plo",
163
+ "java/native/.deps/Document.Plo",
164
+ "java/native/.deps/ESet.Plo",
165
+ "java/native/.deps/ESetIterator.Plo",
166
+ "java/native/.deps/Enquire.Plo",
167
+ "java/native/.deps/MSet.Plo",
168
+ "java/native/.deps/MSetIterator.Plo",
169
+ "java/native/.deps/PositionIterator.Plo",
170
+ "java/native/.deps/Query.Plo",
171
+ "java/native/.deps/RSet.Plo",
172
+ "java/native/.deps/Stem.Plo",
173
+ "java/native/.deps/TermIterator.Plo",
174
+ "java/native/.deps/WritableDatabase.Plo",
175
+ "java/native/.deps/org_xapian_XapianJNI.Plo",
176
+ "java/native/.deps/utils.Plo",
177
+ "java/native/Database.cc",
178
+ "java/native/Document.cc",
179
+ "java/native/ESet.cc",
180
+ "java/native/ESetIterator.cc",
181
+ "java/native/Enquire.cc",
182
+ "java/native/MSet.cc",
183
+ "java/native/MSetIterator.cc",
184
+ "java/native/Makefile",
185
+ "java/native/Makefile.am",
186
+ "java/native/Makefile.in",
187
+ "java/native/PositionIterator.cc",
188
+ "java/native/Query.cc",
189
+ "java/native/RSet.cc",
190
+ "java/native/Stem.cc",
191
+ "java/native/TermIterator.cc",
192
+ "java/native/WritableDatabase.cc",
193
+ "java/native/XapianObjectHolder.h",
194
+ "java/native/org_xapian_XapianJNI.cc",
195
+ "java/native/org_xapian_XapianJNI.h",
196
+ "java/native/utils.cc",
197
+ "java/native/xapian_jni.h",
198
+ "java/org/xapian/Database.java",
199
+ "java/org/xapian/Document.java",
200
+ "java/org/xapian/ESet.java",
201
+ "java/org/xapian/ESetIterator.java",
202
+ "java/org/xapian/Enquire.java",
203
+ "java/org/xapian/ExpandDecider.java",
204
+ "java/org/xapian/MSet.java",
205
+ "java/org/xapian/MSetIterator.java",
206
+ "java/org/xapian/Makefile",
207
+ "java/org/xapian/Makefile.am",
208
+ "java/org/xapian/Makefile.in",
209
+ "java/org/xapian/MatchDecider.java",
210
+ "java/org/xapian/PositionIterator.java",
211
+ "java/org/xapian/Query.java",
212
+ "java/org/xapian/RSet.java",
213
+ "java/org/xapian/Stem.java",
214
+ "java/org/xapian/TermIterator.java",
215
+ "java/org/xapian/WritableDatabase.java",
216
+ "java/org/xapian/Xapian.java",
217
+ "java/org/xapian/XapianJNI.java",
218
+ "java/org/xapian/errors/AssertionError.java",
219
+ "java/org/xapian/errors/DatabaseCorruptError.java",
220
+ "java/org/xapian/errors/DatabaseError.java",
221
+ "java/org/xapian/errors/DatabaseLockError.java",
222
+ "java/org/xapian/errors/DatabaseModifiedError.java",
223
+ "java/org/xapian/errors/DatabaseOpeningError.java",
224
+ "java/org/xapian/errors/DocNotFoundError.java",
225
+ "java/org/xapian/errors/FeatureUnavailableError.java",
226
+ "java/org/xapian/errors/InternalError.java",
227
+ "java/org/xapian/errors/InvalidArgumentError.java",
228
+ "java/org/xapian/errors/InvalidOperationError.java",
229
+ "java/org/xapian/errors/LogicError.java",
230
+ "java/org/xapian/errors/Makefile",
231
+ "java/org/xapian/errors/Makefile.am",
232
+ "java/org/xapian/errors/Makefile.in",
233
+ "java/org/xapian/errors/NetworkError.java",
234
+ "java/org/xapian/errors/NetworkTimeoutError.java",
235
+ "java/org/xapian/errors/RangeError.java",
236
+ "java/org/xapian/errors/RuntimeError.java",
237
+ "java/org/xapian/errors/UnimplementedError.java",
238
+ "java/org/xapian/errors/XapianError.java",
239
+ "java/org/xapian/errors/XapianRuntimeError.java",
240
+ "java/org/xapian/examples/Makefile",
241
+ "java/org/xapian/examples/Makefile.am",
242
+ "java/org/xapian/examples/Makefile.in",
243
+ "java/org/xapian/examples/SimpleIndex.java",
244
+ "java/org/xapian/examples/SimpleSearch.java",
245
+ "java/run-java-test",
246
+ "libtool",
247
+ "ltmain.sh",
248
+ "mhs-xapian.gemspec",
249
+ "missing",
250
+ "php/.deps/xapian_wrap.Plo",
251
+ "php/Makefile",
252
+ "php/Makefile.am",
253
+ "php/Makefile.in",
254
+ "php/docs/Makefile",
255
+ "php/docs/Makefile.am",
256
+ "php/docs/Makefile.in",
257
+ "php/docs/examples/simpleexpand.php4",
258
+ "php/docs/examples/simpleexpand.php5",
259
+ "php/docs/examples/simpleindex.php4",
260
+ "php/docs/examples/simpleindex.php5",
261
+ "php/docs/examples/simplesearch.php4",
262
+ "php/docs/examples/simplesearch.php5",
263
+ "php/docs/index.html",
264
+ "php/except.i",
265
+ "php/php4/php_xapian.h",
266
+ "php/php4/xapian.php",
267
+ "php/php4/xapian_wrap.cc",
268
+ "php/php5/php_xapian.h",
269
+ "php/php5/xapian.php",
270
+ "php/php5/xapian_wrap.cc",
271
+ "php/smoketest.php",
272
+ "php/smoketest4.php",
273
+ "php/smoketest5.php",
274
+ "php/util.i",
275
+ "pkg/mhs-xapian-1.0.18.gem",
276
+ "python/.deps/xapian_wrap.Plo",
277
+ "python/Makefile",
278
+ "python/Makefile.am",
279
+ "python/Makefile.in",
280
+ "python/doccomments.i",
281
+ "python/docs/Makefile",
282
+ "python/docs/Makefile.am",
283
+ "python/docs/Makefile.in",
284
+ "python/docs/examples/simpleexpand.py",
285
+ "python/docs/examples/simpleindex.py",
286
+ "python/docs/examples/simplematchdecider.py",
287
+ "python/docs/examples/simplesearch.py",
288
+ "python/docs/index.html",
289
+ "python/except.i",
290
+ "python/extra.i",
291
+ "python/extracomments.i",
292
+ "python/generate-python-exceptions",
293
+ "python/generate-python-exceptions.in",
294
+ "python/modern/xapian.py",
295
+ "python/modern/xapian_wrap.cc",
296
+ "python/modern/xapian_wrap.h",
297
+ "python/pythontest.py",
298
+ "python/smoketest.py",
299
+ "python/testsuite.py",
300
+ "python/util.i",
301
+ "ruby/.deps/xapian_wrap.Plo",
302
+ "ruby/.libs/_xapian.bundle",
303
+ "ruby/.libs/_xapian.bundle.dSYM/Contents/Info.plist",
304
+ "ruby/.libs/_xapian.bundle.dSYM/Contents/Resources/DWARF/_xapian.bundle",
305
+ "ruby/.libs/_xapian.la",
306
+ "ruby/.libs/_xapian.lai",
307
+ "ruby/Makefile",
308
+ "ruby/Makefile.am",
309
+ "ruby/Makefile.in",
310
+ "ruby/_xapian.la",
311
+ "ruby/docs/Makefile",
312
+ "ruby/docs/Makefile.am",
313
+ "ruby/docs/Makefile.in",
314
+ "ruby/docs/examples/simpleexpand.rb",
315
+ "ruby/docs/examples/simpleindex.rb",
316
+ "ruby/docs/examples/simplematchdecider.rb",
317
+ "ruby/docs/examples/simplesearch.rb",
318
+ "ruby/docs/index.html",
319
+ "ruby/smoketest.rb",
320
+ "ruby/util.i",
321
+ "ruby/xapian.rb",
322
+ "ruby/xapian_wrap.cc",
323
+ "ruby/xapian_wrap.h",
324
+ "ruby/xapian_wrap.lo",
325
+ "skiptest",
326
+ "stamp-h1",
327
+ "tcl8/.deps/xapian_wrap.Plo",
328
+ "tcl8/Makefile",
329
+ "tcl8/Makefile.am",
330
+ "tcl8/Makefile.in",
331
+ "tcl8/docs/Makefile",
332
+ "tcl8/docs/Makefile.am",
333
+ "tcl8/docs/Makefile.in",
334
+ "tcl8/docs/examples/simpleexpand.tcl",
335
+ "tcl8/docs/examples/simpleindex.tcl",
336
+ "tcl8/docs/examples/simplesearch.tcl",
337
+ "tcl8/docs/index.html",
338
+ "tcl8/except.i",
339
+ "tcl8/pkgIndex.tcl",
340
+ "tcl8/pkgIndex.tcl.in",
341
+ "tcl8/run-tcl-test",
342
+ "tcl8/runtest.tcl",
343
+ "tcl8/smoketest.tcl",
344
+ "tcl8/util.i",
345
+ "tcl8/xapian_wrap.cc",
346
+ "xapian-bindings.spec",
347
+ "xapian-bindings.spec.in",
348
+ "xapian-version.h",
349
+ "xapian-version.h.in",
350
+ "xapian.i"
351
+ ]
352
+ s.homepage = %q{http://github.com/mhs/xapian-ruby}
353
+ s.rdoc_options = ["--charset=UTF-8"]
354
+ s.require_paths = ["lib"]
355
+ s.rubygems_version = %q{1.3.6}
356
+ s.summary = %q{xapian 1.0.18 bindings for Ruby}
357
+
358
+ if s.respond_to? :specification_version then
359
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
360
+ s.specification_version = 3
361
+
362
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
363
+ else
364
+ end
365
+ else
366
+ end
367
+ end
368
+
data/missing ADDED
@@ -0,0 +1,378 @@
1
+ #! /bin/sh
2
+ # Common stub for a few missing GNU programs while installing.
3
+
4
+ scriptversion=2009-04-28.21; # UTC
5
+
6
+ # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7
+ # 2008, 2009 Free Software Foundation, Inc.
8
+ # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
+
10
+ # This program is free software; you can redistribute it and/or modify
11
+ # it under the terms of the GNU General Public License as published by
12
+ # the Free Software Foundation; either version 2, or (at your option)
13
+ # any later version.
14
+
15
+ # This program is distributed in the hope that it will be useful,
16
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ # GNU General Public License for more details.
19
+
20
+ # You should have received a copy of the GNU General Public License
21
+ # along with this program; if not, write to the Free Software
22
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
+ # 02110-1301, USA.
24
+
25
+ # As a special exception to the GNU General Public License, if you
26
+ # distribute this file as part of a program that contains a
27
+ # configuration script generated by Autoconf, you may include it under
28
+ # the same distribution terms that you use for the rest of that program.
29
+
30
+ if test $# -eq 0; then
31
+ echo 1>&2 "Try \`$0 --help' for more information"
32
+ exit 1
33
+ fi
34
+
35
+ run=:
36
+ sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
37
+ sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
38
+
39
+ # In the cases where this matters, `missing' is being run in the
40
+ # srcdir already.
41
+ if test -f configure.ac; then
42
+ configure_ac=configure.ac
43
+ else
44
+ configure_ac=configure.in
45
+ fi
46
+
47
+ msg="missing on your system"
48
+
49
+ case $1 in
50
+ --run)
51
+ # Try to run requested program, and just exit if it succeeds.
52
+ run=
53
+ shift
54
+ "$@" && exit 0
55
+ # Exit code 63 means version mismatch. This often happens
56
+ # when the user try to use an ancient version of a tool on
57
+ # a file that requires a minimum version. In this case we
58
+ # we should proceed has if the program had been absent, or
59
+ # if --run hadn't been passed.
60
+ if test $? = 63; then
61
+ run=:
62
+ msg="probably too old"
63
+ fi
64
+ ;;
65
+
66
+ -h|--h|--he|--hel|--help)
67
+ echo "\
68
+ $0 [OPTION]... PROGRAM [ARGUMENT]...
69
+
70
+ Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
71
+ error status if there is no known handling for PROGRAM.
72
+
73
+ Options:
74
+ -h, --help display this help and exit
75
+ -v, --version output version information and exit
76
+ --run try to run the given command, and emulate it if it fails
77
+
78
+ Supported PROGRAM values:
79
+ aclocal touch file \`aclocal.m4'
80
+ autoconf touch file \`configure'
81
+ autoheader touch file \`config.h.in'
82
+ autom4te touch the output file, or create a stub one
83
+ automake touch all \`Makefile.in' files
84
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
85
+ flex create \`lex.yy.c', if possible, from existing .c
86
+ help2man touch the output file
87
+ lex create \`lex.yy.c', if possible, from existing .c
88
+ makeinfo touch the output file
89
+ tar try tar, gnutar, gtar, then tar without non-portable flags
90
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
91
+
92
+ Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
93
+ \`g' are ignored when checking the name.
94
+
95
+ Send bug reports to <bug-automake@gnu.org>."
96
+ exit $?
97
+ ;;
98
+
99
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
100
+ echo "missing $scriptversion (GNU Automake)"
101
+ exit $?
102
+ ;;
103
+
104
+ -*)
105
+ echo 1>&2 "$0: Unknown \`$1' option"
106
+ echo 1>&2 "Try \`$0 --help' for more information"
107
+ exit 1
108
+ ;;
109
+
110
+ esac
111
+
112
+ # normalize program name to check for.
113
+ program=`echo "$1" | sed '
114
+ s/^gnu-//; t
115
+ s/^gnu//; t
116
+ s/^g//; t'`
117
+
118
+ # Now exit if we have it, but it failed. Also exit now if we
119
+ # don't have it and --version was passed (most likely to detect
120
+ # the program). This is about non-GNU programs, so use $1 not
121
+ # $program.
122
+ case $1 in
123
+ lex*|yacc*)
124
+ # Not GNU programs, they don't have --version.
125
+ ;;
126
+
127
+ tar*)
128
+ if test -n "$run"; then
129
+ echo 1>&2 "ERROR: \`tar' requires --run"
130
+ exit 1
131
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
132
+ exit 1
133
+ fi
134
+ ;;
135
+
136
+ *)
137
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
138
+ # We have it, but it failed.
139
+ exit 1
140
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
141
+ # Could not run --version or --help. This is probably someone
142
+ # running `$TOOL --version' or `$TOOL --help' to check whether
143
+ # $TOOL exists and not knowing $TOOL uses missing.
144
+ exit 1
145
+ fi
146
+ ;;
147
+ esac
148
+
149
+ # If it does not exist, or fails to run (possibly an outdated version),
150
+ # try to emulate it.
151
+ case $program in
152
+ aclocal*)
153
+ echo 1>&2 "\
154
+ WARNING: \`$1' is $msg. You should only need it if
155
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
156
+ to install the \`Automake' and \`Perl' packages. Grab them from
157
+ any GNU archive site."
158
+ touch aclocal.m4
159
+ ;;
160
+
161
+ autoconf*)
162
+ echo 1>&2 "\
163
+ WARNING: \`$1' is $msg. You should only need it if
164
+ you modified \`${configure_ac}'. You might want to install the
165
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
166
+ archive site."
167
+ touch configure
168
+ ;;
169
+
170
+ autoheader*)
171
+ echo 1>&2 "\
172
+ WARNING: \`$1' is $msg. You should only need it if
173
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
174
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
175
+ from any GNU archive site."
176
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
177
+ test -z "$files" && files="config.h"
178
+ touch_files=
179
+ for f in $files; do
180
+ case $f in
181
+ *:*) touch_files="$touch_files "`echo "$f" |
182
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
183
+ *) touch_files="$touch_files $f.in";;
184
+ esac
185
+ done
186
+ touch $touch_files
187
+ ;;
188
+
189
+ automake*)
190
+ echo 1>&2 "\
191
+ WARNING: \`$1' is $msg. You should only need it if
192
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
193
+ You might want to install the \`Automake' and \`Perl' packages.
194
+ Grab them from any GNU archive site."
195
+ find . -type f -name Makefile.am -print |
196
+ sed 's/\.am$/.in/' |
197
+ while read f; do touch "$f"; done
198
+ ;;
199
+
200
+ autom4te*)
201
+ echo 1>&2 "\
202
+ WARNING: \`$1' is needed, but is $msg.
203
+ You might have modified some files without having the
204
+ proper tools for further handling them.
205
+ You can get \`$1' as part of \`Autoconf' from any GNU
206
+ archive site."
207
+
208
+ file=`echo "$*" | sed -n "$sed_output"`
209
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
210
+ if test -f "$file"; then
211
+ touch $file
212
+ else
213
+ test -z "$file" || exec >$file
214
+ echo "#! /bin/sh"
215
+ echo "# Created by GNU Automake missing as a replacement of"
216
+ echo "# $ $@"
217
+ echo "exit 0"
218
+ chmod +x $file
219
+ exit 1
220
+ fi
221
+ ;;
222
+
223
+ bison*|yacc*)
224
+ echo 1>&2 "\
225
+ WARNING: \`$1' $msg. You should only need it if
226
+ you modified a \`.y' file. You may need the \`Bison' package
227
+ in order for those modifications to take effect. You can get
228
+ \`Bison' from any GNU archive site."
229
+ rm -f y.tab.c y.tab.h
230
+ if test $# -ne 1; then
231
+ eval LASTARG="\${$#}"
232
+ case $LASTARG in
233
+ *.y)
234
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
235
+ if test -f "$SRCFILE"; then
236
+ cp "$SRCFILE" y.tab.c
237
+ fi
238
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
239
+ if test -f "$SRCFILE"; then
240
+ cp "$SRCFILE" y.tab.h
241
+ fi
242
+ ;;
243
+ esac
244
+ fi
245
+ if test ! -f y.tab.h; then
246
+ echo >y.tab.h
247
+ fi
248
+ if test ! -f y.tab.c; then
249
+ echo 'main() { return 0; }' >y.tab.c
250
+ fi
251
+ ;;
252
+
253
+ lex*|flex*)
254
+ echo 1>&2 "\
255
+ WARNING: \`$1' is $msg. You should only need it if
256
+ you modified a \`.l' file. You may need the \`Flex' package
257
+ in order for those modifications to take effect. You can get
258
+ \`Flex' from any GNU archive site."
259
+ rm -f lex.yy.c
260
+ if test $# -ne 1; then
261
+ eval LASTARG="\${$#}"
262
+ case $LASTARG in
263
+ *.l)
264
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
265
+ if test -f "$SRCFILE"; then
266
+ cp "$SRCFILE" lex.yy.c
267
+ fi
268
+ ;;
269
+ esac
270
+ fi
271
+ if test ! -f lex.yy.c; then
272
+ echo 'main() { return 0; }' >lex.yy.c
273
+ fi
274
+ ;;
275
+
276
+ help2man*)
277
+ echo 1>&2 "\
278
+ WARNING: \`$1' is $msg. You should only need it if
279
+ you modified a dependency of a manual page. You may need the
280
+ \`Help2man' package in order for those modifications to take
281
+ effect. You can get \`Help2man' from any GNU archive site."
282
+
283
+ file=`echo "$*" | sed -n "$sed_output"`
284
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
285
+ if test -f "$file"; then
286
+ touch $file
287
+ else
288
+ test -z "$file" || exec >$file
289
+ echo ".ab help2man is required to generate this page"
290
+ exit $?
291
+ fi
292
+ ;;
293
+
294
+ makeinfo*)
295
+ echo 1>&2 "\
296
+ WARNING: \`$1' is $msg. You should only need it if
297
+ you modified a \`.texi' or \`.texinfo' file, or any other file
298
+ indirectly affecting the aspect of the manual. The spurious
299
+ call might also be the consequence of using a buggy \`make' (AIX,
300
+ DU, IRIX). You might want to install the \`Texinfo' package or
301
+ the \`GNU make' package. Grab either from any GNU archive site."
302
+ # The file to touch is that specified with -o ...
303
+ file=`echo "$*" | sed -n "$sed_output"`
304
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
305
+ if test -z "$file"; then
306
+ # ... or it is the one specified with @setfilename ...
307
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
308
+ file=`sed -n '
309
+ /^@setfilename/{
310
+ s/.* \([^ ]*\) *$/\1/
311
+ p
312
+ q
313
+ }' $infile`
314
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
315
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
316
+ fi
317
+ # If the file does not exist, the user really needs makeinfo;
318
+ # let's fail without touching anything.
319
+ test -f $file || exit 1
320
+ touch $file
321
+ ;;
322
+
323
+ tar*)
324
+ shift
325
+
326
+ # We have already tried tar in the generic part.
327
+ # Look for gnutar/gtar before invocation to avoid ugly error
328
+ # messages.
329
+ if (gnutar --version > /dev/null 2>&1); then
330
+ gnutar "$@" && exit 0
331
+ fi
332
+ if (gtar --version > /dev/null 2>&1); then
333
+ gtar "$@" && exit 0
334
+ fi
335
+ firstarg="$1"
336
+ if shift; then
337
+ case $firstarg in
338
+ *o*)
339
+ firstarg=`echo "$firstarg" | sed s/o//`
340
+ tar "$firstarg" "$@" && exit 0
341
+ ;;
342
+ esac
343
+ case $firstarg in
344
+ *h*)
345
+ firstarg=`echo "$firstarg" | sed s/h//`
346
+ tar "$firstarg" "$@" && exit 0
347
+ ;;
348
+ esac
349
+ fi
350
+
351
+ echo 1>&2 "\
352
+ WARNING: I can't seem to be able to run \`tar' with the given arguments.
353
+ You may want to install GNU tar or Free paxutils, or check the
354
+ command line arguments."
355
+ exit 1
356
+ ;;
357
+
358
+ *)
359
+ echo 1>&2 "\
360
+ WARNING: \`$1' is needed, and is $msg.
361
+ You might have modified some files without having the
362
+ proper tools for further handling them. Check the \`README' file,
363
+ it often tells you about the needed prerequisites for installing
364
+ this package. You may also peek at any GNU archive site, in case
365
+ some other package would contain this missing \`$1' program."
366
+ exit 1
367
+ ;;
368
+ esac
369
+
370
+ exit 0
371
+
372
+ # Local variables:
373
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
374
+ # time-stamp-start: "scriptversion="
375
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
376
+ # time-stamp-time-zone: "UTC"
377
+ # time-stamp-end: "; # UTC"
378
+ # End: