public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/java:master commit in: app-text/languagetool/files/, app-text/languagetool/
@ 2015-07-31 12:45 James Le Cuirot
  0 siblings, 0 replies; only message in thread
From: James Le Cuirot @ 2015-07-31 12:45 UTC (permalink / raw
  To: gentoo-commits

commit:     14e6eae5608e0e08ec3fdb78a6c22179fc33ba73
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Thu Jul 30 14:38:39 2015 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jul 30 14:38:39 2015 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=14e6eae5

[app-text/languagetool] Drop older version than in portage

(see app-officeext/languagetool)

 app-text/languagetool/ChangeLog                    |  18 --
 app-text/languagetool/Manifest                     |   1 -
 .../files/languagetool-0.9.8-build.xml.patch       | 217 ---------------------
 app-text/languagetool/languagetool-0.9.8.ebuild    |  78 --------
 app-text/languagetool/metadata.xml                 |   6 -
 5 files changed, 320 deletions(-)

diff --git a/app-text/languagetool/ChangeLog b/app-text/languagetool/ChangeLog
deleted file mode 100644
index b757fee..0000000
--- a/app-text/languagetool/ChangeLog
+++ /dev/null
@@ -1,18 +0,0 @@
-# ChangeLog for app-text/languagetool
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-  26 Apr 2009; Serkan Kaba <serkan@gentoo.org> -languagetool-0.9.7.ebuild,
-  -files/languagetool-0.9.7-build.xml.patch, +languagetool-0.9.8.ebuild,
-  +files/languagetool-0.9.8-build.xml.patch:
-  Version bump.
-
-  10 Apr 2009; Serkan Kaba <serkan@gentoo.org>
-  -languagetool-0.9.5-r1.ebuild, -files/languagetool-0.9.5-build.xml.patch,
-  +languagetool-0.9.7.ebuild, +files/languagetool-0.9.7-build.xml.patch:
-  Version bump. Add support for the OpenOffice.org extension using
-  openoffice-ext.eclass.
-
-  22 Jan 2009; Alistair Bush <ali_bush@gentoo.org> ChangeLog:
-  Add ChangeLog for QA.
-

diff --git a/app-text/languagetool/Manifest b/app-text/languagetool/Manifest
deleted file mode 100644
index 960922c..0000000
--- a/app-text/languagetool/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST languagetool-0.9.8.tar.bz2 15246143 SHA256 53be79c8ae793cfbd00f774c9d0c22e58153fe0ee04e3889b7ce0968f771ac3b

diff --git a/app-text/languagetool/files/languagetool-0.9.8-build.xml.patch b/app-text/languagetool/files/languagetool-0.9.8-build.xml.patch
deleted file mode 100644
index da98c69..0000000
--- a/app-text/languagetool/files/languagetool-0.9.8-build.xml.patch
+++ /dev/null
@@ -1,217 +0,0 @@
---- build.xml	2009-04-26 01:01:33.000000000 +0300
-+++ build.xml.fixed	2009-04-26 22:28:05.000000000 +0300
-@@ -18,10 +18,15 @@
-     <pathelement location="${ext.jaminid.lib}"/>
-     <pathelement location="${ext.jwordsplitter.lib}"/>
-   	<!-- -->
--    <pathelement location="${ext.ooo.juh.lib}"/>
--    <pathelement location="${ext.ooo.unoil.lib}"/>
--    <pathelement location="${ext.ooo.ridl.lib}"/>
--    <pathelement location="${ext.ooo.jurt.lib}"/>
-+    <fileset dir="${openoffice.root.dir}/basis-link/ure-link/share/java">
-+      <include name="**/*.jar" />
-+      <include name="**/*.zip" />
-+    </fileset>
-+    <fileset dir="${openoffice.root.dir}/basis-link/program/classes">
-+      <include name="**/*.jar" />
-+      <include name="**/*.zip" />
-+    </fileset>
-+
- 	<!-- -->
-     <pathelement location="${dist.dir}/resource"/>
-     <pathelement location="${dist.dir}/rules"/>
-@@ -79,7 +84,7 @@
-   <!-- TEST -->
-   <!-- ================================================================== -->
- 
--  <target name="test" depends="clean,init,build,ooo-build" description="Runs unit tests">
-+  <target name="test" description="Runs unit tests">
-   	
- 	<mkdir dir="${junit.classes.dir}"/>
- 	<mkdir dir="${dist.dir}/report/tests"/>
-@@ -241,16 +246,6 @@
- 	  debug="${debug}">
-       <classpath refid="classpath"/>
-     </javac>
--  	<javac encoding="${encoding}"
--      srcdir="${src.test.dir}"
--      includes="de/danielnaber/languagetool/rules/patterns/PatternRuleTest.java
--  		de/danielnaber/languagetool/ValidateXMLTest.java
--  		de/danielnaber/languagetool/XMLValidator.java"
--      destdir="${build.classes}"
--      target="${target}"
--	  debug="${debug}">
--      <classpath refid="classpath"/>
--    </javac>
- 
-   </target>
- 
-@@ -264,14 +259,21 @@
- 	  		<include name="*.properties" />
- 	  	</fileset>
- 	</copy>
--
-+	
-+	<copy todir="${build.classes}/resource">
-+	  	<fileset dir="src/resource"/>
-+	</copy>
-+	
-+	<copy todir="${build.classes}/rules">
-+	  	<fileset dir="src/rules"/>
-+	</copy>
- 	<jar
- 		jarfile="${dist.dir}/${final.name}.jar"
- 		basedir="${build.classes}"
- 		excludes="**/*.java">
- 		<manifest>
- 			<attribute name="Main-Class" value="de.danielnaber.languagetool.Main" />
--			<attribute name="Class-Path" value="./ ./rules ./resource ./${stempelator.lib} ./jWordSplitter.jar" />
-+			<attribute name="Class-Path" value="../ ../rules ../resource ./${stempelator.lib} ./jWordSplitter.jar" />
- 			<attribute name="Implementation-Version" value="${version}" />
- 			<attribute name="Implementation-Date" value="${date}" />
- 		</manifest>
-@@ -283,7 +285,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>
-@@ -350,12 +352,12 @@
-   	<jar
- 		jarfile="${dist.dir}/LanguageTool.uno.jar"
- 		basedir="${build.classes}"
--		includes="de/danielnaber/languagetool/**/*.class,de/danielnaber/languagetool/**/*.properties">
-+		includes="de/danielnaber/languagetool/openoffice/**/*.class">
-   		<manifest>
- 	  		<attribute name="RegistrationClassName" value="de.danielnaber.languagetool.openoffice.Main" />
- 			<attribute name="Implementation-Version" value="${version}" />
- 			<attribute name="Implementation-Date" value="${date}" />
--			<attribute name="Class-Path" value=". ./rules ./resource ./${stempelator.lib} ./jWordSplitter.jar" />
-+			<attribute name="Class-Path" value="../ /usr/share/languagetool/lib/LanguageTool.jar /usr/share/morfologik-stemming/lib/morfologik-stemming-nodict.jar /usr/share/jwordsplitter/lib/jWordSplitter.jar" />
- 			<attribute name="Uno-Type-Path" value="" />
-   		</manifest>
- 	</jar>
-@@ -393,14 +395,14 @@
-   	<zip compress="yes" destfile="${dist.dir}/LanguageTool-${version}.oxt"
-   		basedir="${dist.dir}"
-   		includes="**"
--  		excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,linux/**,windows/**,sunos/**,mac/**" />
-+  		excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,LanguageToolGUI.jar,LanguageTool.jar,linux/**,windows/**,sunos/**,mac/**" />
-   </target>
- 
-   <target name="fast" depends="ooo-internal" description="like dist, but without ZIP compression (for development only)">
-   	<zip compress="no" destfile="${dist.dir}/LanguageTool-${version}.oxt"
-   		basedir="${dist.dir}"
-   		includes="**" 
--  		excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,linux/**,windows/**,sunos/**,mac/**" />
-+  		excludes="deploy.sh,undeploy.sh,turn.sh,jdic.jar,printlocales.jar,LanguageToolGUI.jar,LanguageTool.jar,linux/**,windows/**,sunos/**,mac/**" />
-   </target>
- 
-   <target name="ooo-internal" depends="clean,init,build,ooo-build">
-@@ -437,103 +439,6 @@
-     <copy todir="${dist.dir}/">
-         <fileset dir="openoffice/" includes="images/**" />
-     </copy>
--  	<copy todir="${dist.dir}/rules">
--	  	<fileset dir="src/rules" excludes="CVS" />
--	</copy>
--		
--	<copy file="./README.txt" todir="${dist.dir}" />
--	<copy file="./CHANGES.txt" todir="${dist.dir}" />
--	<copy file="./COPYING.txt" todir="${dist.dir}" />
--  	<replace file="${dist.dir}/README.txt" token="###VERSION###" value="${version}"></replace>
--  	<replace file="${dist.dir}/README.txt" token="###DATE###" value="${date}"></replace>
--  	<copy file="${ext.dir}/LGPL.txt" todir="${dist.dir}" />
--  	<copy file="${ext.dir}/Morfologik-nodict-license.txt" tofile="${dist.dir}/Morfologik-license.txt" />
--  	<copy file="${ext.dir}/CPL.txt" tofile="${dist.dir}/junit-license.txt" />
--  	<copy file="${ext.dir}/Apache-License.txt" tofile="${dist.dir}/jWordSplitter-license.txt" />
--  	
--	<filter filtersFile="build.properties"/>
--  	<copy file="${ext.dir}/README" tofile="${dist.dir}/README-license.txt" 
--  	filtering="true"/>
--  		
--	<copy file="${ext.stempelator.lib}" todir="${dist.dir}" />
--	<copy file="${ext.jdic.lib}" todir="${dist.dir}" />
--	<copy file="${ext.jaminid.lib}" todir="${dist.dir}" />
--	<copy file="${ext.jwordsplitter.lib}" todir="${dist.dir}" />
--	<copy file="${ext.junit.lib}" todir="${dist.dir}" />
--
-- 	<copy todir="${dist.dir}/linux">
-- 		  	<fileset dir="${ext.dir}/linux"/>
--	</copy>
-- 	<copy todir="${dist.dir}/windows">
--   		  	<fileset dir="${ext.dir}/windows"/>
-- 	</copy>
-- 	<copy todir="${dist.dir}/sunos">
--   		  	<fileset dir="${ext.dir}/sunos"/>
-- 	</copy>
-- 	<copy todir="${dist.dir}/mac">
--   		  	<fileset dir="${ext.dir}/mac"/>
-- 	</copy>
--  	<zip compress="yes" destfile="${dist.dir}/standalone-libs.zip"
--  	  basedir="${dist.dir}"
--  	  includes="jdic.jar,linux/**,windows/**,sunos/**,mac/**" />
--
-- 	<copy file="${src.scripts.dir}/testrules.sh" todir="${dist.dir}" />
-- 	<copy file="${src.scripts.dir}/testrules.bat" todir="${dist.dir}" />
--
-- 	<copy file="${resource.dir}/api-output.dtd" todir="${dist.dir}/resource" />
--  	<copy file="${resource.dir}/disambiguation.dtd" todir="${dist.dir}/resource" />
-- 	<copy file="${resource.dir}/en/tagset.txt" todir="${dist.dir}/resource/en" />
--	<copy file="${resource.dir}/en/english.dict" todir="${dist.dir}/resource/en" />
--	<copy file="${resource.dir}/en/english.info" todir="${dist.dir}/resource/en" />
--	<copy file="${resource.dir}/en/english_synth.dict" todir="${dist.dir}/resource/en" />  	
--	<copy file="${resource.dir}/en/english_synth.info" todir="${dist.dir}/resource/en" />  	
--  	<copy file="${resource.dir}/en/english_tags.txt" todir="${dist.dir}/resource/en" />
--  	<copy file="${resource.dir}/en/disambiguation.xml" todir="${dist.dir}/resource/en" />
--  	<copy file="${resource.dir}/en/compounds.txt" todir="${dist.dir}/resource/en" />
--  	<copy file="${resource.dir}/it/italian.dict" todir="${dist.dir}/resource/it" />
--  	<copy file="${resource.dir}/it/italian.info" todir="${dist.dir}/resource/it" />
--  	<copy file="${resource.dir}/it/readme-morph-it.txt" todir="${dist.dir}/resource/it" />
-- 	<copy file="${resource.dir}/fr/french.dict" todir="${dist.dir}/resource/fr" />
-- 	<copy file="${resource.dir}/fr/french.info" todir="${dist.dir}/resource/fr" />
--  	<copy file="${resource.dir}/fr/readme.txt" todir="${dist.dir}/resource/fr" />
-- 	<copy file="${resource.dir}/fr/disambiguation.xml" todir="${dist.dir}/resource/fr" />
--	<copy file="${resource.dir}/es/spanish.dict" todir="${dist.dir}/resource/es" />
--	<copy file="${resource.dir}/es/spanish.info" todir="${dist.dir}/resource/es" />
--  	<copy file="${resource.dir}/es/etiquetas-eagles.txt" todir="${dist.dir}/resource/es" />  	
--	<copy file="${resource.dir}/de/german.dict" todir="${dist.dir}/resource/de" />
--	<copy file="${resource.dir}/de/german.info" todir="${dist.dir}/resource/de" />
--  	<copy file="${resource.dir}/de/compounds.txt" todir="${dist.dir}/resource/de" />
--	<copy file="${resource.dir}/de/added.txt" todir="${dist.dir}/resource/de" />
--	<copy file="${resource.dir}/pl/polish.dict" todir="${dist.dir}/resource/pl" />
--	<copy file="${resource.dir}/pl/polish.info" todir="${dist.dir}/resource/pl" />
--  	<copy file="${resource.dir}/pl/polish_synth.dict" todir="${dist.dir}/resource/pl" />
--  	<copy file="${resource.dir}/pl/polish_synth.info" todir="${dist.dir}/resource/pl" />
--  	<copy file="${resource.dir}/pl/polish_tags.txt" todir="${dist.dir}/resource/pl" />
--  	<copy file="${resource.dir}/pl/compounds.txt" todir="${dist.dir}/resource/pl" />
--  	<copy file="${resource.dir}/pl/disambiguation.xml" todir="${dist.dir}/resource/pl" />
--	<copy file="${resource.dir}/nl/dutch.dict" todir="${dist.dir}/resource/nl" />
--	<copy file="${resource.dir}/nl/dutch.info" todir="${dist.dir}/resource/nl" />
--	<copy file="${resource.dir}/nl/dutch_synth.dict" todir="${dist.dir}/resource/nl" />
--	<copy file="${resource.dir}/nl/dutch_synth.info" todir="${dist.dir}/resource/nl" />
--	<copy file="${resource.dir}/nl/dutch_tags.txt" todir="${dist.dir}/resource/nl" />
--  	<copy file="${resource.dir}/nl/disambiguation.xml" todir="${dist.dir}/resource/nl" />
-- 	<copy file="${resource.dir}/sv/swedish.info" todir="${dist.dir}/resource/sv" />
--	<copy file="${resource.dir}/sv/swedish.dict" todir="${dist.dir}/resource/sv" />
--  	<copy file="${resource.dir}/sv/compounds.txt" todir="${dist.dir}/resource/sv" />
--  	<copy file="${resource.dir}/uk/ukrainian.dict" todir="${dist.dir}/resource/uk" />
--	<copy file="${resource.dir}/ru/russian.dict" todir="${dist.dir}/resource/ru" />
--	<copy file="${resource.dir}/ru/russian.info" todir="${dist.dir}/resource/ru" />
--	<copy file="${resource.dir}/ru/russian_tags.txt" todir="${dist.dir}/resource/ru" />
--	<copy file="${resource.dir}/ru/compounds_ru.txt" todir="${dist.dir}/resource/ru" />
--	<copy file="${resource.dir}/ro/romanian.dict" todir="${dist.dir}/resource/ro" />
--  	<copy file="${resource.dir}/ro/romanian.info" todir="${dist.dir}/resource/ro" />
--	<copy file="${resource.dir}/ro/romanian_synth.dict" todir="${dist.dir}/resource/ro" />  	
--	<copy file="${resource.dir}/ro/romanian_synth.info" todir="${dist.dir}/resource/ro" />
--  	<copy file="${resource.dir}/ro/romanian_tags.txt" todir="${dist.dir}/resource/ro" />
--  	<copy file="${resource.dir}/ro/disambiguation.xml" todir="${dist.dir}/resource/ro" />
--  	<copy file="${resource.dir}/sk/slovak.dict" todir="${dist.dir}/resource/sk" />  	
--	<copy file="${resource.dir}/sk/compounds.txt" todir="${dist.dir}/resource/sk" />
--  	<copy file="${resource.dir}/xx/dummy.dict" tofile="${dist.dir}/resource/cs/czech.dict" />
-   </target>
- 
-   <target name="dict-de" description="Build the German tagger dictionary from Morphy data">

diff --git a/app-text/languagetool/languagetool-0.9.8.ebuild b/app-text/languagetool/languagetool-0.9.8.ebuild
deleted file mode 100644
index eacdedb..0000000
--- a/app-text/languagetool/languagetool-0.9.8.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-JAVA_PKG_IUSE="doc source test"
-
-inherit eutils java-pkg-2 java-ant-2 openoffice-ext
-
-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/${PF}.tar.bz2"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="openoffice"
-
-COMMON_DEPEND="dev-java/jdictrayapi:0
-	dev-java/jaminid:0
-	>=dev-java/morfologik-stemming-1.1.4:0
-	>=dev-java/jwordsplitter-2.2:0
-	openoffice? ( >=virtual/ooo-3.0.1[java] )"
-
-DEPEND=">=virtual/jdk-1.5
-	test? ( dev-java/ant-junit:0 )
-	${COMMON_DEPEND}"
-
-RDEPEND=">=virtual/jre-1.5
-	${COMMON_DEPEND}"
-
-OOO_EXTENSIONS="${PN}.oxt"
-
-EANT_GENTOO_CLASSPATH="jdictrayapi,jaminid,morfologik-stemming,jwordsplitter"
-JAVA_ANT_REWRITE_CLASSPATH="true"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-build.xml.patch
-	rm -vr src/test/de/danielnaber/languagetool/server/HTTPServerTest.java || die "failed removing HTTPServerTest"
-	java-pkg-2_src_prepare
-}
-
-src_compile() {
-	local build_target="init build"
-	use openoffice && build_target="dist"
-	eant -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}) \
-		-Dopenoffice.root.dir=${OOO_ROOT_DIR} \
-		${build_target}
-		
-}
-
-src_test() {
-	ANT_TASKS="ant-junit" \
-		eant \
-		-Dgentoo.classpath="$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(java-pkg_getjars --build-only junit)" \
-		-Dopenoffice.root.dir=${OOO_ROOT_DIR} \
-		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"
-	if use openoffice; then
-		mv dist/LanguageTool-${PV}.oxt ${PN}.oxt || die
-	fi
-	openoffice-ext_src_install
-}
-
-pkg_postinst() {
-	openoffice-ext_pkg_postinst
-	ewarn "HTTPServer of LanguageTool works unexpectedly with ASCII encoding."
-}

diff --git a/app-text/languagetool/metadata.xml b/app-text/languagetool/metadata.xml
deleted file mode 100644
index 604e0a4..0000000
--- a/app-text/languagetool/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>java</herd>
-</pkgmetadata>
-


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-31 12:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-31 12:45 [gentoo-commits] proj/java:master commit in: app-text/languagetool/files/, app-text/languagetool/ James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox