Permalink
Browse files

Initial commit. Incluing try main program.

  • Loading branch information...
0 parents commit ee5381c4bf08bd00e6b6374ddc9a89505cf9c052 @dedeibel committed May 6, 2012
Showing with 165,393 additions and 0 deletions.
  1. BIN .DS_Store
  2. +1 −0 .gitignore
  3. +165 −0 COPYING.txt
  4. +4 −0 META-INF/MANIFEST.MF
  5. 0 TODO_CREATE_MINIMAL_JNI_BINDING_AND_CALL
  6. +148 −0 build.xml
  7. +1 −0 buildtry.sh
  8. BIN dk/dren/hunspell/Hunspell$Dictionary.class
  9. BIN dk/dren/hunspell/Hunspell.class
  10. BIN dk/dren/hunspell/HunspellLibrary.class
  11. BIN dk/dren/hunspell/HunspellMain.class
  12. BIN hunspell-darwin-ppc-32.jnilib
  13. BIN hunspell-darwin-x86-32.jnilib
  14. BIN hunspell-darwin-x86-64.jnilib
  15. BIN hunspell-win-x86-32.dll
  16. BIN hunspell-win-x86-64.dll
  17. BIN lib/jna.jar
  18. BIN libhunspell-linux-x86-64.so
  19. +1 −0 libhyphen-linux-x86-64.so
  20. +116 −0 native-build.pl
  21. BIN native-lib/hunspell-darwin-ppc-32.jnilib
  22. BIN native-lib/hunspell-darwin-x86-32.jnilib
  23. BIN native-lib/hunspell-darwin-x86-64.jnilib
  24. BIN native-lib/hunspell-win-x86-32.dll
  25. BIN native-lib/hunspell-win-x86-64.dll
  26. BIN native-lib/libhunspell-linux-x86-32.so
  27. BIN native-lib/libhunspell-linux-x86-64.so
  28. +1 −0 native-lib/libhyphen-linux-x86-64.so
  29. BIN native-lib/libhyphen.so
  30. BIN native-src/hunspell-1.3.2.tar.gz
  31. BIN native-src/hyphen-2.8.3.tar.gz
  32. +103 −0 native-src/hyphen-2.8.3/.deps/example.Po
  33. +89 −0 native-src/hyphen-2.8.3/.deps/hnjalloc.Plo
  34. +103 −0 native-src/hyphen-2.8.3/.deps/hyphen.Plo
  35. +99 −0 native-src/hyphen-2.8.3/.deps/substrings.Po
  36. BIN native-src/hyphen-2.8.3/.libs/example
  37. BIN native-src/hyphen-2.8.3/.libs/hnjalloc.o
  38. BIN native-src/hyphen-2.8.3/.libs/hyphen.o
  39. BIN native-src/hyphen-2.8.3/.libs/libhyphen.a
  40. +1 −0 native-src/hyphen-2.8.3/.libs/libhyphen.la
  41. +41 −0 native-src/hyphen-2.8.3/.libs/libhyphen.lai
  42. +1 −0 native-src/hyphen-2.8.3/.libs/libhyphen.so
  43. +1 −0 native-src/hyphen-2.8.3/.libs/libhyphen.so.0
  44. BIN native-src/hyphen-2.8.3/.libs/libhyphen.so.0.2.1
  45. BIN native-src/hyphen-2.8.3/.libs/lt-example
  46. +17 −0 native-src/hyphen-2.8.3/AUTHORS
  47. +17 −0 native-src/hyphen-2.8.3/COPYING
  48. +515 −0 native-src/hyphen-2.8.3/COPYING.LGPL
  49. +470 −0 native-src/hyphen-2.8.3/COPYING.MPL
  50. +231 −0 native-src/hyphen-2.8.3/ChangeLog
  51. +229 −0 native-src/hyphen-2.8.3/INSTALL
  52. +956 −0 native-src/hyphen-2.8.3/Makefile
  53. +37 −0 native-src/hyphen-2.8.3/Makefile.am
  54. +956 −0 native-src/hyphen-2.8.3/Makefile.in
  55. +89 −0 native-src/hyphen-2.8.3/NEWS
  56. +127 −0 native-src/hyphen-2.8.3/README
  57. +87 −0 native-src/hyphen-2.8.3/README.compound
  58. +108 −0 native-src/hyphen-2.8.3/README.hyphen
  59. +122 −0 native-src/hyphen-2.8.3/README.nonstandard
  60. +53 −0 native-src/hyphen-2.8.3/README_hyph_en_US.txt
  61. +15 −0 native-src/hyphen-2.8.3/THANKS
  62. +3 −0 native-src/hyphen-2.8.3/TODO
  63. +8,917 −0 native-src/hyphen-2.8.3/aclocal.m4
  64. +18 −0 native-src/hyphen-2.8.3/checkme.lst
  65. +1,516 −0 native-src/hyphen-2.8.3/config.guess
  66. +548 −0 native-src/hyphen-2.8.3/config.log
  67. +1,906 −0 native-src/hyphen-2.8.3/config.status
  68. +1,626 −0 native-src/hyphen-2.8.3/config.sub
  69. +12,510 −0 native-src/hyphen-2.8.3/configure
  70. +10 −0 native-src/hyphen-2.8.3/configure.in
  71. +3 −0 native-src/hyphen-2.8.3/d
  72. +584 −0 native-src/hyphen-2.8.3/depcomp
  73. +347 −0 native-src/hyphen-2.8.3/doc/Makefile
  74. +1 −0 native-src/hyphen-2.8.3/doc/Makefile.am
  75. +347 −0 native-src/hyphen-2.8.3/doc/Makefile.in
  76. BIN native-src/hyphen-2.8.3/doc/tb87nemeth.pdf
  77. +148 −0 native-src/hyphen-2.8.3/example
  78. +207 −0 native-src/hyphen-2.8.3/example.c
  79. BIN native-src/hyphen-2.8.3/example.o
  80. +72 −0 native-src/hyphen-2.8.3/hnjalloc.c
  81. +46 −0 native-src/hyphen-2.8.3/hnjalloc.h
  82. +12 −0 native-src/hyphen-2.8.3/hnjalloc.lo
  83. BIN native-src/hyphen-2.8.3/hnjalloc.o
  84. +1,035 −0 native-src/hyphen-2.8.3/hyph_en_US.dic
  85. +1,183 −0 native-src/hyphen-2.8.3/hyphen.c
  86. +172 −0 native-src/hyphen-2.8.3/hyphen.h
  87. +12 −0 native-src/hyphen-2.8.3/hyphen.lo
  88. BIN native-src/hyphen-2.8.3/hyphen.o
  89. +45 −0 native-src/hyphen-2.8.3/hyphen.patch
  90. +4,469 −0 native-src/hyphen-2.8.3/hyphen.tex
  91. +4,465 −0 native-src/hyphen-2.8.3/hyphen.us
  92. +1,034 −0 native-src/hyphen-2.8.3/hyphen.us2
  93. +1,034 −0 native-src/hyphen-2.8.3/hyphen.us3
  94. 0 native-src/hyphen-2.8.3/hyphen.us3.bak
  95. +507 −0 native-src/hyphen-2.8.3/install-sh
  96. +41 −0 native-src/hyphen-2.8.3/libhyphen.la
  97. +8,900 −0 native-src/hyphen-2.8.3/libtool
  98. +42 −0 native-src/hyphen-2.8.3/lig.awk
  99. +62 −0 native-src/hyphen-2.8.3/ligpatch.txt
  100. +8,413 −0 native-src/hyphen-2.8.3/ltmain.sh
  101. +367 −0 native-src/hyphen-2.8.3/missing
  102. BIN native-src/hyphen-2.8.3/substrings
  103. +265 −0 native-src/hyphen-2.8.3/substrings.c
  104. BIN native-src/hyphen-2.8.3/substrings.o
  105. +169 −0 native-src/hyphen-2.8.3/substrings.pl
  106. +7 −0 native-src/hyphen-2.8.3/tbhyphext.sh
  107. +1,047 −0 native-src/hyphen-2.8.3/tbhyphext.tex
  108. +571 −0 native-src/hyphen-2.8.3/tests/Makefile
  109. +128 −0 native-src/hyphen-2.8.3/tests/Makefile.am
  110. +571 −0 native-src/hyphen-2.8.3/tests/Makefile.in
  111. +1 −0 native-src/hyphen-2.8.3/tests/alt.hyph
  112. +3 −0 native-src/hyphen-2.8.3/tests/alt.pat
  113. +4 −0 native-src/hyphen-2.8.3/tests/alt.test
  114. +1 −0 native-src/hyphen-2.8.3/tests/alt.word
  115. +2 −0 native-src/hyphen-2.8.3/tests/alt2.hyph
  116. +6 −0 native-src/hyphen-2.8.3/tests/alt2.pat
  117. +4 −0 native-src/hyphen-2.8.3/tests/alt2.test
  118. +2 −0 native-src/hyphen-2.8.3/tests/alt2.word
  119. +3 −0 native-src/hyphen-2.8.3/tests/alt3.hyph
  120. +8 −0 native-src/hyphen-2.8.3/tests/alt3.pat
  121. +4 −0 native-src/hyphen-2.8.3/tests/alt3.test
  122. +3 −0 native-src/hyphen-2.8.3/tests/alt3.word
  123. +1 −0 native-src/hyphen-2.8.3/tests/alt4.hyph
  124. +4 −0 native-src/hyphen-2.8.3/tests/alt4.pat
  125. +4 −0 native-src/hyphen-2.8.3/tests/alt4.test
  126. +1 −0 native-src/hyphen-2.8.3/tests/alt4.word
  127. +1 −0 native-src/hyphen-2.8.3/tests/alt5.hyph
  128. +4 −0 native-src/hyphen-2.8.3/tests/alt5.pat
  129. +4 −0 native-src/hyphen-2.8.3/tests/alt5.test
  130. +1 −0 native-src/hyphen-2.8.3/tests/alt5.word
  131. +2 −0 native-src/hyphen-2.8.3/tests/alt6.hyph
  132. +2 −0 native-src/hyphen-2.8.3/tests/alt6.pat
  133. +4 −0 native-src/hyphen-2.8.3/tests/alt6.test
  134. +2 −0 native-src/hyphen-2.8.3/tests/alt6.word
  135. +4,543 −0 native-src/hyphen-2.8.3/tests/base.hyph
  136. +5,539 −0 native-src/hyphen-2.8.3/tests/base.pat
  137. +4 −0 native-src/hyphen-2.8.3/tests/base.test
  138. +4,543 −0 native-src/hyphen-2.8.3/tests/base.word
  139. +8 −0 native-src/hyphen-2.8.3/tests/basealt.hyph
  140. +10 −0 native-src/hyphen-2.8.3/tests/basealt.pat
  141. +4 −0 native-src/hyphen-2.8.3/tests/basealt.test
  142. +8 −0 native-src/hyphen-2.8.3/tests/basealt.word
  143. +8 −0 native-src/hyphen-2.8.3/tests/basealt2.hyph
  144. +10 −0 native-src/hyphen-2.8.3/tests/basealt2.pat
  145. +4 −0 native-src/hyphen-2.8.3/tests/basealt2.test
  146. +8 −0 native-src/hyphen-2.8.3/tests/basealt2.word
  147. +1 −0 native-src/hyphen-2.8.3/tests/compound.hyph
  148. +11 −0 native-src/hyphen-2.8.3/tests/compound.pat
  149. +4 −0 native-src/hyphen-2.8.3/tests/compound.test
  150. +1 −0 native-src/hyphen-2.8.3/tests/compound.word
  151. +2 −0 native-src/hyphen-2.8.3/tests/compound2.hyph
  152. +8 −0 native-src/hyphen-2.8.3/tests/compound2.pat
  153. +4 −0 native-src/hyphen-2.8.3/tests/compound2.test
  154. +2 −0 native-src/hyphen-2.8.3/tests/compound2.word
  155. +1 −0 native-src/hyphen-2.8.3/tests/compound3.hyph
  156. +11 −0 native-src/hyphen-2.8.3/tests/compound3.pat
  157. +4 −0 native-src/hyphen-2.8.3/tests/compound3.test
  158. +1 −0 native-src/hyphen-2.8.3/tests/compound3.word
  159. +1 −0 native-src/hyphen-2.8.3/tests/compound4.hyph
  160. +11 −0 native-src/hyphen-2.8.3/tests/compound4.pat
  161. +4 −0 native-src/hyphen-2.8.3/tests/compound4.test
  162. +1 −0 native-src/hyphen-2.8.3/tests/compound4.word
  163. +18 −0 native-src/hyphen-2.8.3/tests/conv.dic
  164. +14 −0 native-src/hyphen-2.8.3/tests/conv.hyph
  165. +12 −0 native-src/hyphen-2.8.3/tests/conv.pat
  166. +4 −0 native-src/hyphen-2.8.3/tests/conv.test
  167. +14 −0 native-src/hyphen-2.8.3/tests/conv.word
  168. +1 −0 native-src/hyphen-2.8.3/tests/hyphen.hyph
  169. +6 −0 native-src/hyphen-2.8.3/tests/hyphen.pat
  170. +4 −0 native-src/hyphen-2.8.3/tests/hyphen.test
  171. +1 −0 native-src/hyphen-2.8.3/tests/hyphen.word
  172. +1 −0 native-src/hyphen-2.8.3/tests/lhmin.hyph
  173. +3 −0 native-src/hyphen-2.8.3/tests/lhmin.pat
  174. +4 −0 native-src/hyphen-2.8.3/tests/lhmin.test
  175. +1 −0 native-src/hyphen-2.8.3/tests/lhmin.word
  176. +1 −0 native-src/hyphen-2.8.3/tests/lig.hyph
  177. +3 −0 native-src/hyphen-2.8.3/tests/lig.pat
  178. +4 −0 native-src/hyphen-2.8.3/tests/lig.test
  179. +1 −0 native-src/hyphen-2.8.3/tests/lig.word
  180. +9 −0 native-src/hyphen-2.8.3/tests/num.hyph
  181. +6 −0 native-src/hyphen-2.8.3/tests/num.pat
  182. +4 −0 native-src/hyphen-2.8.3/tests/num.test
  183. +9 −0 native-src/hyphen-2.8.3/tests/num.word
  184. +1 −0 native-src/hyphen-2.8.3/tests/rhmin.hyph
  185. +4 −0 native-src/hyphen-2.8.3/tests/rhmin.pat
  186. +4 −0 native-src/hyphen-2.8.3/tests/rhmin.test
  187. +1 −0 native-src/hyphen-2.8.3/tests/rhmin.word
  188. +2 −0 native-src/hyphen-2.8.3/tests/settings.hyph
  189. +5 −0 native-src/hyphen-2.8.3/tests/settings.pat
  190. +4 −0 native-src/hyphen-2.8.3/tests/settings.test
  191. +2 −0 native-src/hyphen-2.8.3/tests/settings.word
  192. +1 −0 native-src/hyphen-2.8.3/tests/settings2.hyph
  193. +4 −0 native-src/hyphen-2.8.3/tests/settings2.pat
  194. +4 −0 native-src/hyphen-2.8.3/tests/settings2.test
  195. +1 −0 native-src/hyphen-2.8.3/tests/settings2.word
  196. +1 −0 native-src/hyphen-2.8.3/tests/settings3.hyph
  197. +4 −0 native-src/hyphen-2.8.3/tests/settings3.pat
  198. +4 −0 native-src/hyphen-2.8.3/tests/settings3.test
  199. +1 −0 native-src/hyphen-2.8.3/tests/settings3.word
  200. +1 −0 native-src/hyphen-2.8.3/tests/settings4.hyph
  201. +4 −0 native-src/hyphen-2.8.3/tests/settings4.pat
  202. +4 −0 native-src/hyphen-2.8.3/tests/settings4.test
  203. +1 −0 native-src/hyphen-2.8.3/tests/settings4.word
  204. +57 −0 native-src/hyphen-2.8.3/tests/test.sh
  205. +13 −0 native-src/hyphen-2.8.3/tests/unicode.hyph
  206. +16 −0 native-src/hyphen-2.8.3/tests/unicode.pat
  207. +4 −0 native-src/hyphen-2.8.3/tests/unicode.test
  208. +13 −0 native-src/hyphen-2.8.3/tests/unicode.word
  209. +25 −0 readme-darwin-64bit.txt
  210. +146 −0 readme.txt
  211. +1 −0 resources/dic/.aff
  212. +1 −0 resources/dic/.dic
  213. +717 −0 resources/dic/de_DE_igerman98.aff
  214. +72,552 −0 resources/dic/de_DE_igerman98.dic
  215. +7,550 −0 resources/dic/hyph_de_DE.dic
  216. +348 −0 src/dk/dren/hunspell/Hunspell.java
  217. +62 −0 src/dk/dren/hunspell/HunspellLibrary.java
  218. +73 −0 src/dk/dren/hunspell/HunspellMain.java
  219. BIN src/name/benjaminpeter/hyphen/.Hunspell.java.swp
  220. +348 −0 src/name/benjaminpeter/hyphen/Hyphen.java
  221. +62 −0 src/name/benjaminpeter/hyphen/HyphenLibrary.java
  222. +73 −0 src/name/benjaminpeter/hyphen/HyphenMain.java
  223. BIN testkeystore
  224. BIN try
  225. +68 −0 try.c
Binary file not shown.
@@ -0,0 +1 @@
+build
@@ -0,0 +1,165 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+ This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+ 0. Additional Definitions.
+
+ As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+ "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+ An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+ A "Combined Work" is a work produced by combining or linking an
+Application with the Library. The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+ The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+ The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+ 1. Exception to Section 3 of the GNU GPL.
+
+ You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+ 2. Conveying Modified Versions.
+
+ If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+ a) under this License, provided that you make a good faith effort to
+ ensure that, in the event an Application does not supply the
+ function or data, the facility still operates, and performs
+ whatever part of its purpose remains meaningful, or
+
+ b) under the GNU GPL, with none of the additional permissions of
+ this License applicable to that copy.
+
+ 3. Object Code Incorporating Material from Library Header Files.
+
+ The object code form of an Application may incorporate material from
+a header file that is part of the Library. You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+ a) Give prominent notice with each copy of the object code that the
+ Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the object code with a copy of the GNU GPL and this license
+ document.
+
+ 4. Combined Works.
+
+ You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+ a) Give prominent notice with each copy of the Combined Work that
+ the Library is used in it and that the Library and its use are
+ covered by this License.
+
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
+ document.
+
+ c) For a Combined Work that displays copyright notices during
+ execution, include the copyright notice for the Library among
+ these notices, as well as a reference directing the user to the
+ copies of the GNU GPL and this license document.
+
+ d) Do one of the following:
+
+ 0) Convey the Minimal Corresponding Source under the terms of this
+ License, and the Corresponding Application Code in a form
+ suitable for, and under terms that permit, the user to
+ recombine or relink the Application with a modified version of
+ the Linked Version to produce a modified Combined Work, in the
+ manner specified by section 6 of the GNU GPL for conveying
+ Corresponding Source.
+
+ 1) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (a) uses at run time
+ a copy of the Library already present on the user's computer
+ system, and (b) will operate properly with a modified version
+ of the Library that is interface-compatible with the Linked
+ Version.
+
+ e) Provide Installation Information, but only if you would otherwise
+ be required to provide such information under section 6 of the
+ GNU GPL, and only to the extent that such information is
+ necessary to install and execute a modified version of the
+ Combined Work produced by recombining or relinking the
+ Application with a modified version of the Linked Version. (If
+ you use option 4d0, the Installation Information must accompany
+ the Minimal Corresponding Source and Corresponding Application
+ Code. If you use option 4d1, you must provide the Installation
+ Information in the manner specified by section 6 of the GNU GPL
+ for conveying Corresponding Source.)
+
+ 5. Combined Libraries.
+
+ You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+ a) Accompany the combined library with a copy of the same work based
+ on the Library, uncombined with any other library facilities,
+ conveyed under the terms of this License.
+
+ b) Give prominent notice with the combined library that part of it
+ is a work based on the Library, and explaining where to find the
+ accompanying uncombined form of the same work.
+
+ 6. Revised Versions of the GNU Lesser General Public License.
+
+ The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+ If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.8.2
+Created-By: 1.6.0_26-b03 (Sun Microsystems Inc.)
+
No changes.
@@ -0,0 +1,148 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="hunspell-java" default="jar" basedir=".">
+ <description>Builds the java bindings for hunspell.</description>
+
+ <path id="classpath">
+ <fileset dir="lib" includes="**/*.jar"/>
+ </path>
+
+ <target name="clean">
+ <delete dir="build"/>
+ </target>
+
+ <target name="compile">
+ <mkdir dir="build/classes"/>
+ <javac srcdir="src" destdir="build/classes" debug="true">
+ <classpath>
+ <path refid="classpath"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile">
+ <mkdir dir="build/jar"/>
+ <jar destfile="build/jar/hunspell.jar">
+ <fileset dir="build/classes"/>
+ <fileset dir="native-lib"/>
+ </jar>
+ </target>
+
+
+ <target name="webstart" depends="jar">
+
+ <!--
+ Split the monolithic jna file into a shared one with java code and
+ platform sepecifc ones for each supported platform, this is needed for
+ webstart that handles native libs
+ -->
+ <zip destfile="build/jar/jna-jws.jar">
+ <zipfileset src="lib/jna.jar">
+ <exclude name="**/*.dll" />
+ <exclude name="**/*.so" />
+ <exclude name="**/*.jnilib" />
+ <exclude name="**/*.dylib" />
+ </zipfileset>
+ </zip>
+
+ <zip destfile="build/jar/jna-linux-i386.jar">
+ <zipfileset src="lib/jna.jar" includes="com/sun/jna/linux-i386/libjnidispatch.so" fullpath="libjnidispatch.so"/>
+ </zip>
+
+ <zip destfile="build/jar/jna-linux-amd64.jar">
+ <zipfileset src="lib/jna.jar" includes="com/sun/jna/linux-amd64/libjnidispatch.so" fullpath="libjnidispatch.so"/>
+ </zip>
+
+ <zip destfile="build/jar/jna-darwin.jar">
+ <zipfileset src="lib/jna.jar" includes="com/sun/jna/darwin/libjnidispatch.jnilib" fullpath="libjnidispatch.jnilib"/>
+ </zip>
+
+ <zip destfile="build/jar/jna-win32-x86.jar">
+ <zipfileset src="lib/jna.jar" includes="com/sun/jna/win32-x86/jnidispatch.dll" fullpath="jnidispatch.dll"/>
+ </zip>
+
+ <zip destfile="build/jar/jna-win32-amd64.jar">
+ <zipfileset src="lib/jna.jar" includes="com/sun/jna/win32-amd64/jnidispatch.dll" fullpath="jnidispatch.dll"/>
+ </zip>
+
+ <!--
+ Create separate jar files with the hunspell natives as well.
+ -->
+ <jar destfile="build/jar/hunspell-jws.jar">
+ <fileset dir="build/classes"/>
+ </jar>
+
+ <zip destfile="build/jar/hunspell-win32-x86.jar">
+ <fileset dir="native-lib">
+ <filename name="hunspell-win-x86-32.dll"/>
+ </fileset>
+ </zip>
+
+ <zip destfile="build/jar/hunspell-win32-amd64.jar">
+ <fileset dir="native-lib">
+ <filename name="hunspell-win-x86-64.dll"/>
+ </fileset>
+ </zip>
+
+ <zip destfile="build/jar/hunspell-linux-i386.jar">
+ <fileset dir="native-lib">
+ <filename name="libhunspell-linux-x86-32.so"/>
+ </fileset>
+ </zip>
+
+ <zip destfile="build/jar/hunspell-linux-amd64.jar">
+ <fileset dir="native-lib">
+ <filename name="libhunspell-linux-x86-64.so"/>
+ </fileset>
+ </zip>
+
+ <zip destfile="build/jar/hypen-linux-amd64.jar">
+ <fileset dir="native-lib">
+ <filename name="libhyphen-linux-x86-64.so"/>
+ </fileset>
+ </zip>
+
+ <zip destfile="build/jar/hunspell-darwin-i386.jar">
+ <fileset dir="native-lib">
+ <filename name="hunspell-darwin-x86-32.*"/>
+ </fileset>
+ </zip>
+
+ <zip destfile="build/jar/hunspell-darwin-amd64.jar">
+ <fileset dir="native-lib">
+ <filename name="hunspell-darwin-x86-64.*"/>
+ </fileset>
+ </zip>
+
+ <zip destfile="build/jar/hunspell-darwin-ppc.jar">
+ <fileset dir="native-lib">
+ <filename name="hunspell-darwin-ppc-32.*"/>
+ </fileset>
+ </zip>
+
+ </target>
+
+ <target name="dist" depends="webstart">
+ <zip destfile="build/hunspell-jna-${version}.zip">
+ <fileset dir="build/jar"/>
+ <fileset dir="lib"/>
+ <fileset dir="." includes="src"/>
+ </zip>
+ </target>
+
+ <target name="sign" depends="webstart">
+ <signjar alias="testonly" keystore="testkeystore" storepass="testtest" lazy="true">
+ <fileset dir="build/jar" includes="**/*.jar" />
+ </signjar>
+ </target>
+
+ <target name="run" depends="jar">
+ <exec executable="java">
+ <arg value="-cp"/>
+ <arg value="lib/jna.jar:build/jar/hunspell.jar"/>
+ <arg value="-Droot=${basedir}"/>
+ <arg value="dk.dren.hunspell.HunspellMain"/>
+ </exec>
+ </target>
+
+</project>
@@ -0,0 +1 @@
+gcc -std=gnu99 -Wall -o try try.c -I native-src/hyphen-2.8.3 -L native-src/hyphen-2.8.3/.libs -lhyphen -ggdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit ee5381c

Please sign in to comment.