summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/languagetool')
-rw-r--r--app-text/languagetool/Manifest3
-rw-r--r--app-text/languagetool/files/languagetool-0.9.5-build.xml.patch44
-rw-r--r--app-text/languagetool/languagetool-0.9.5-r1.ebuild62
3 files changed, 0 insertions, 109 deletions
diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest
deleted file mode 100644
index 83d0a2d..0000000
--- a/app-text/languagetool/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-AUX languagetool-0.9.5-build.xml.patch 2000 RMD160 412071941f9b1f03295bb076ee6eb2f1b16ed513 SHA1 df577d68c78bcfd299152f63910a50c03b008860 SHA256 a49802d85865eac423f7a34a7ced594e5b1094ee085e7b1ea1d315e78d7cce96
-DIST languagetool-0.9.5.tar.bz2 12835625 RMD160 1dc607b38388c3b5e0f0b57c21ad3e2295137d1b SHA1 5523f7922905b02ec1cb618eed94b39c31037efd SHA256 f179cc75768cd73c3bd7ad34b0f25e05af32d97d08184f750e2ac883b31f0742
-EBUILD languagetool-0.9.5-r1.ebuild 1810 RMD160 37d0dab12651a87fbfac3bd5bcfaf9ca25794279 SHA1 5f3b2c785e270874242e6faaf129a8c71b9cd701 SHA256 55b31141449402bfd33c93ebf11e2fc5afbe64114ded1d74d5fd6d46863ae924
diff --git a/app-text/languagetool/files/languagetool-0.9.5-build.xml.patch b/app-text/languagetool/files/languagetool-0.9.5-build.xml.patch
deleted file mode 100644
index 50dc67b..0000000
--- a/app-text/languagetool/files/languagetool-0.9.5-build.xml.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- build.xml 2008-10-30 00:30:07.000000000 +0200
-+++ build.xml.fixed 2008-11-12 06:27:09.000000000 +0200
-@@ -78,7 +78,7 @@
- <!-- TEST -->
- <!-- ================================================================== -->
-
-- <target name="test" depends="clean,init,build" description="Runs unit tests">
-+ <target name="test" description="Runs unit tests">
-
- <mkdir dir="${junit.classes.dir}"/>
- <mkdir dir="${dist.dir}/report/tests"/>
-@@ -239,14 +239,6 @@
- debug="${debug}">
- <classpath refid="classpath"/>
- </javac>
-- <javac encoding="${encoding}"
-- srcdir="${src.test.dir}"
-- includes="de/danielnaber/languagetool/rules/patterns/PatternRuleTest.java"
-- destdir="${build.classes}"
-- target="${target}"
-- debug="${debug}">
-- <classpath refid="classpath"/>
-- </javac>
-
- </target>
-
-@@ -267,7 +259,7 @@
- excludes="**/*.java">
- <manifest>
- <attribute name="Main-Class" value="de.danielnaber.languagetool.Main" />
-- <attribute name="Class-Path" value="./ ./rules ./resource ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" />
-+ <attribute name="Class-Path" value="./ ../rules ../resource ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" />
- <attribute name="Implementation-Version" value="${version}" />
- <attribute name="Implementation-Date" value="${date}" />
- </manifest>
-@@ -279,7 +271,7 @@
- includes="de/danielnaber/languagetool/gui/*.class">
- <manifest>
- <attribute name="Main-Class" value="de.danielnaber.languagetool.gui.Main" />
-- <attribute name="Class-Path" value="./LanguageTool.jar ./ ./resource ./rules ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" />
-+ <attribute name="Class-Path" value="./LanguageTool.jar ../ ../resource ../rules ./${stempelator.lib} ./jdic.jar ./jaminid.jar ./jWordSplitter.jar" />
- <attribute name="Implementation-Version" value="${version}" />
- <attribute name="Implementation-Date" value="${date}" />
- </manifest>
diff --git a/app-text/languagetool/languagetool-0.9.5-r1.ebuild b/app-text/languagetool/languagetool-0.9.5-r1.ebuild
deleted file mode 100644
index f5297df..0000000
--- a/app-text/languagetool/languagetool-0.9.5-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=1
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2
-
-DESCRIPTION="An Open Source language checker for English, German, Polish, Dutch, and other languages."
-HOMEPAGE="http://www.languagetool.org/"
-SRC_URI="http://dev.gentoo.org/~serkan/distfiles/${P}.tar.bz2"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-COMMON_DEPEND="dev-java/jdictrayapi:0
- dev-java/jaminid:0
- dev-java/morfologik-stemming:0
- >=dev-java/jwordsplitter-2.2:0"
-
-DEPEND=">=virtual/jdk-1.5
- test? ( dev-java/ant-junit:0 )
- ${COMMON_DEPEND}"
-
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEPEND}"
-
-EANT_GENTOO_CLASSPATH="jdictrayapi,jaminid,morfologik-stemming,jwordsplitter"
-EANT_BUILD_TARGET="init build"
-JAVA_ANT_REWRITE_CLASSPATH="true"
-
-src_unpack() {
- unpack ${A}
- cd "${S}" || die
- epatch "${FILESDIR}"/${P}-build.xml.patch
- rm -vr src/test/de/danielnaber/languagetool/server/HTTPServerTest.java || die "failed removing HTTPServerTest"
-}
-
-src_test() {
- ANT_TASKS="ant-junit" \
- eant -Dgentoo.classpath="$(java-pkg_getjars jdictrayapi,jaminid,morfologik-stemming,jwordsplitter):$(java-pkg_getjars --build-only junit)" test
-}
-
-src_install() {
- java-pkg_dojar dist/LanguageTool.jar
- java-pkg_dojar dist/LanguageToolGUI.jar
-
- java-pkg_dolauncher ${PN} --main de.danielnaber.languagetool.Main
- java-pkg_dolauncher ${PN}-gui --main de.danielnaber.languagetool.gui.Main
-
- use doc && java-pkg_dojavadoc dist/docs/api
- use source && java-pkg_dosrc src/java/de
- dodoc {README,CHANGES}.txt || die "dodoc failed"
- insinto /usr/share/languagetool
- doins -r src/{rules,resource} || die "doins failed"
-}
-
-pkg_postinst() {
- ewarn "HTTPServer of LanguageTool works unexpectedly with ASCII encoding."
-}