summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2010-09-08 08:35:35 +0000
committerKeri Harris <keri@gentoo.org>2010-09-08 08:35:35 +0000
commit0d5ede8bc7bf5a09391875137f9e5a5254b9e3f6 (patch)
tree7b365ae9b621efad6546066d5a9653e307610cd2
parentFixed installing the language files (bug #336412). (diff)
downloadhistorical-0d5ede8bc7bf5a09391875137f9e5a5254b9e3f6.tar.gz
historical-0d5ede8bc7bf5a09391875137f9e5a5254b9e3f6.tar.bz2
historical-0d5ede8bc7bf5a09391875137f9e5a5254b9e3f6.zip
Version bump
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
-rw-r--r--dev-lang/tuprolog/ChangeLog10
-rw-r--r--dev-lang/tuprolog/Manifest7
-rw-r--r--dev-lang/tuprolog/files/build.xml28
-rw-r--r--dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-javadocs.patch212
-rw-r--r--dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild56
5 files changed, 306 insertions, 7 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog
index 5674b1236612..c8516fa45139 100644
--- a/dev-lang/tuprolog/ChangeLog
+++ b/dev-lang/tuprolog/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/tuprolog
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.29 2009/02/28 21:41:14 keri Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.30 2010/09/08 08:35:35 keri Exp $
+
+*tuprolog-2.3.0_alpha (08 Sep 2010)
+
+ 08 Sep 2010; <keri@gentoo.org> +tuprolog-2.3.0_alpha.ebuild,
+ +files/tuprolog-2.3.0_alpha-javadocs.patch, files/build.xml:
+ Version bump
28 Feb 2009; <keri@gentoo.org> -files/tuprolog-2.1-DCGLibrary.patch,
-files/tuprolog-2.1-java1.4.patch, -files/tuprolog-2.1-javadocs.patch,
diff --git a/dev-lang/tuprolog/Manifest b/dev-lang/tuprolog/Manifest
index c3a677265670..cf7de4ce6146 100644
--- a/dev-lang/tuprolog/Manifest
+++ b/dev-lang/tuprolog/Manifest
@@ -1,7 +1,10 @@
-AUX build.xml 2282 RMD160 f02843d5762be2497b64ae9acbf090c1bc8acf4a SHA1 8ddb9b2e23d85fded8c2fa117716d319896d2f95 SHA256 c9528b5ecd3eaa06a3e3cec75007990dcdf2d7a41c441521f00dc9973a107e1a
+AUX build.xml 2388 RMD160 022f9159fac0de7e7609bc6868997f0afb8e8ada SHA1 4c34133ae643e0fb7d5f5fc1a98610bf4f71a674 SHA256 a25dcbe42c235e2274c4cf16c1b70986df04d83513dd6573188214bce19933e3
AUX tuprolog-2.1.1-java1.4.patch 6318 RMD160 621aec83d6f77585f15d4d0109b085c380d6e001 SHA1 4b0a471bd4103270274c5cd7e417140c45f06e15 SHA256 35bb62c71b645289242b2bb610879a455f408eddb8f65b6ead7ac71ebdfe12bc
AUX tuprolog-2.1.1-javadocs.patch 6573 RMD160 0cc1f044ada95113ae638a9cd48c920fa3903a31 SHA1 64206767a27e7fceea9b04f9e65d2846bcd56b9d SHA256 12bc23f7f9300cc6e6d3ca0d3ebac163acec01bc490ad08135127bcded883bef
+AUX tuprolog-2.3.0_alpha-javadocs.patch 9052 RMD160 00519f7e432060932db0b824398617d78e91992c SHA1 b1fcae8bc453130ba7c2d68937019f584cbd5ed1 SHA256 6252483b72b7477e9e000768f9748558540034e1f28a9a654722d6866e3c9f75
DIST 2p-2.1.1.zip 1879216 RMD160 4cb3c1505c78ac0c432a0369ca117244cf4a7bba SHA1 3477a5432a74e5d58fb9cdf1e227288025300be0 SHA256 fe49fbee0c22c3bb6799895f4e1694ead184a689ab753ebf56031c2891dab7b5
+DIST 2p-2.3.0alpha.zip 2757862 RMD160 c6fc771b8b236433de41e160ca1ebe5ea0605b12 SHA1 d379fd42db9f4accf75b5b9d4570854fd3e9dc46 SHA256 f8c1da73d0a5ca04267aec46e0636754dad747f4354069fad40e054aaacbfed2
EBUILD tuprolog-2.1.1.ebuild 1158 RMD160 67d6af25e461d64096a82432bc5b5206d6566281 SHA1 fe843f7462451d1217bde223d68b518592ced492 SHA256 11a8bbcc8a7602ad1c5532c5bf3e82ea7d2d7c907f73dd68a0ab6230d909bb4d
-MISC ChangeLog 4019 RMD160 5213b874a75067592105157c12532fc7d138dbe0 SHA1 bffe249696fc7a4d60b5723163190583848c9e8b SHA256 ca9d7cac12b6477942f5f8389753ce6de40c209693b111deeb64ac07b773cdbd
+EBUILD tuprolog-2.3.0_alpha.ebuild 1170 RMD160 ccc7223c7746d74ee3ee847add9c955275594da3 SHA1 165c2e6a9ce58ab474c3ce5dd564758cede210c6 SHA256 de493d014ca6e9bf470394a4ea5eb5ebea2b16f8839aa275dda5c7d1ba0ad825
+MISC ChangeLog 4198 RMD160 909e2830e2f1c11012d6080e70cafb0dc8dcc17c SHA1 f0578f6d4a7d4ec0c63867357d582192e49c86fa SHA256 0bbfc346f7e22d4b1fc45156794f39dafe3759bf79a75a251f40f0258ff66e95
MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba
diff --git a/dev-lang/tuprolog/files/build.xml b/dev-lang/tuprolog/files/build.xml
index 7362ff40ef83..d7dd6af46c78 100644
--- a/dev-lang/tuprolog/files/build.xml
+++ b/dev-lang/tuprolog/files/build.xml
@@ -21,7 +21,13 @@
<!-- compile everything -->
<target depends="init" name="compile">
- <javac classpath="${classpath}" deprecation="on" destdir="${build.dir}" encoding="ISO-8859-1" source="1.4" srcdir="${src.dir}" target="1.4"/>
+ <javac classpath="${gentoo.classpath}"
+ deprecation="off"
+ destdir="${build.dir}"
+ encoding="ISO-8859-1"
+ source="1.5"
+ srcdir="${src.dir}"
+ target="1.5"/>
<copy todir="${build.dir}">
<fileset dir="${src.dir}">
<exclude name="**/*.java"/>
@@ -36,7 +42,17 @@
<!-- generate javadocs -->
<target depends="init" name="javadoc">
- <javadoc author="true" destdir="${docs.dir}" encoding="ISO-8859-1" packagenames="alice.*" source="1.4" sourcepath="${src.dir}" use="true" version="true" windowtitle="${ant.project.name} API"/>
+ <javadoc classpath="${gentoo.classpath}"
+ author="true"
+ destdir="${docs.dir}"
+ encoding="ISO-8859-1"
+ packagenames="alice.*"
+ source="1.5"
+ sourcepath="${src.dir}"
+ use="true"
+ version="true"
+ windowtitle="${ant.project.name}
+ API"/>
</target>
<!-- clean up -->
@@ -54,7 +70,13 @@
<include name="*.jar"/>
</fileset>
</path>
- <javac classpathref="dist.classpath" deprecation="on" destdir="${test.build.dir}" encoding="ISO-8859-1" source="1.4" srcdir="${test.dir}" target="1.4"/>
+ <javac classpathref="dist.classpath"
+ deprecation="off"
+ destdir="${test.build.dir}"
+ encoding="ISO-8859-1"
+ source="1.5"
+ srcdir="${test.dir}"
+ target="1.5"/>
<junit haltonfailure="on" showoutput="no" printsummary="yes">
<classpath>
<path refid="dist.classpath"/>
diff --git a/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-javadocs.patch b/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-javadocs.patch
new file mode 100644
index 000000000000..434c7577e336
--- /dev/null
+++ b/dev-lang/tuprolog/files/tuprolog-2.3.0_alpha-javadocs.patch
@@ -0,0 +1,212 @@
+diff -ur tuprolog.orig/src/alice/tuprolog/ChoicePointStore.java tuprolog/src/alice/tuprolog/ChoicePointStore.java
+--- tuprolog.orig/src/alice/tuprolog/ChoicePointStore.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/tuprolog/ChoicePointStore.java 2010-09-08 20:02:31.000000000 +1200
+@@ -35,7 +35,6 @@
+
+ /**
+ * Return the actual choice-point store
+- * @return
+ */
+ public ChoicePointContext getPointer() {
+ return pointer;
+@@ -44,7 +43,6 @@
+ /**
+ * Check if a choice point exists in the store.
+ * As a side effect, removes choice points which have been already used and are now empty.
+- * @return
+ */
+ protected boolean existChoicePoint() {
+ if (pointer == null) return false;
+diff -ur tuprolog.orig/src/alice/tuprolog/ClauseStore.java tuprolog/src/alice/tuprolog/ClauseStore.java
+--- tuprolog.orig/src/alice/tuprolog/ClauseStore.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/tuprolog/ClauseStore.java 2010-09-08 20:04:18.000000000 +1200
+@@ -58,8 +58,6 @@
+
+ /**
+ * Verify if there is a term in compatibleGoals compatible with goal.
+- * @param goal
+- * @param compGoals
+ * @return true if compatible or false otherwise.
+ */
+ protected boolean existCompatibleClause() {
+diff -ur tuprolog.orig/src/alice/tuprolog/EngineManager.java tuprolog/src/alice/tuprolog/EngineManager.java
+--- tuprolog.orig/src/alice/tuprolog/EngineManager.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/tuprolog/EngineManager.java 2010-09-08 20:05:24.000000000 +1200
+@@ -87,7 +87,7 @@
+ /**
+ * Solves a query
+ *
+- * @param g the term representing the goal to be demonstrated
++ * @param query the term representing the goal to be demonstrated
+ * @return the result of the demonstration
+ * @see SolveInfo
+ **/
+diff -ur tuprolog.orig/src/alice/tuprolog/PrimitiveManager.java tuprolog/src/alice/tuprolog/PrimitiveManager.java
+--- tuprolog.orig/src/alice/tuprolog/PrimitiveManager.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/tuprolog/PrimitiveManager.java 2010-09-08 20:06:12.000000000 +1200
+@@ -87,7 +87,7 @@
+ * This involves identifying structs representing builtin
+ * predicates and functors, and setting up related structures and links
+ *
+- * @parm term the term to be identified
++ * @param term the term to be identified
+ * @return term with the identified built-in directive
+ */
+ public Term identifyDirective(Term term) {
+diff -ur tuprolog.orig/src/alice/tuprolog/lib/BasicLibrary.java tuprolog/src/alice/tuprolog/lib/BasicLibrary.java
+--- tuprolog.orig/src/alice/tuprolog/lib/BasicLibrary.java 2010-05-28 10:11:46.000000000 +1200
++++ tuprolog/src/alice/tuprolog/lib/BasicLibrary.java 2010-09-08 20:06:48.000000000 +1200
+@@ -109,7 +109,7 @@
+ /**
+ * Loads a library constructed from a theory.
+ *
+- * @param theory
++ * @param th
+ * theory text
+ * @param libName
+ * name of the library
+diff -ur tuprolog.orig/src/alice/tuprolog/lib/IOLibrary.java tuprolog/src/alice/tuprolog/lib/IOLibrary.java
+--- tuprolog.orig/src/alice/tuprolog/lib/IOLibrary.java 2010-02-09 19:56:58.000000000 +1300
++++ tuprolog/src/alice/tuprolog/lib/IOLibrary.java 2010-09-08 20:07:27.000000000 +1200
+@@ -372,7 +372,7 @@
+ /**
+ * Sets an arbitrary seed for the Random object.
+ *
+- * @param seed Seed to use
++ * @param t Seed to use
+ * @return true if seed Term has a valid long value, false otherwise
+ */
+ public boolean set_seed_1(Term t) throws PrologError {
+diff -ur tuprolog.orig/src/alice/tuprolog/lib/JavaLibrary.java tuprolog/src/alice/tuprolog/lib/JavaLibrary.java
+--- tuprolog.orig/src/alice/tuprolog/lib/JavaLibrary.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/tuprolog/lib/JavaLibrary.java 2010-09-08 20:08:01.000000000 +1200
+@@ -1390,8 +1390,6 @@
+
+ /**
+ * Generates a fresh numeric identifier
+- *
+- * @return
+ */
+ protected Struct generateFreshId() {
+ return new Struct("$obj_" + id++);
+diff -ur tuprolog.orig/src/alice/tuprologx/ide/LibraryDialogFrame.java tuprolog/src/alice/tuprologx/ide/LibraryDialogFrame.java
+--- tuprolog.orig/src/alice/tuprologx/ide/LibraryDialogFrame.java 2010-01-21 21:29:22.000000000 +1300
++++ tuprolog/src/alice/tuprologx/ide/LibraryDialogFrame.java 2010-09-08 20:09:36.000000000 +1200
+@@ -317,7 +317,6 @@
+ displayLibraryManagerStatus();
+ }
+
+- /** @see alice.tuprologx.ide.SwingFrame#onClose()*/
+ public void closeLibraryDialog()
+ {
+ onClose();
+diff -ur tuprolog.orig/src/alice/tuprologx/ide/ToolBar.java tuprolog/src/alice/tuprologx/ide/ToolBar.java
+--- tuprolog.orig/src/alice/tuprologx/ide/ToolBar.java 2010-01-21 21:29:22.000000000 +1300
++++ tuprolog/src/alice/tuprologx/ide/ToolBar.java 2010-09-08 20:10:48.000000000 +1200
+@@ -232,8 +232,6 @@
+
+ /**
+ * Set the tuProlog config frame
+- *
+- * @param libraryManager a libraryManager to associate to the libraryDialog
+ */
+ public void setPrologConfig(PrologConfigFrame configFrame)
+ {
+diff -ur tuprolog.orig/src/alice/tuprologx/pj/lib/PJLibrary.java tuprolog/src/alice/tuprologx/pj/lib/PJLibrary.java
+--- tuprolog.orig/src/alice/tuprologx/pj/lib/PJLibrary.java 2010-01-21 21:29:48.000000000 +1300
++++ tuprolog/src/alice/tuprologx/pj/lib/PJLibrary.java 2010-09-08 20:13:15.000000000 +1200
+@@ -1252,7 +1252,6 @@
+
+ /**
+ * Generates a fresh numeric identifier
+- * @return
+ */
+ protected Struct generateFreshId() {
+ return new Struct("$obj_" + id++);
+diff -ur tuprolog.orig/src/alice/util/jedit/InputHandler.java tuprolog/src/alice/util/jedit/InputHandler.java
+--- tuprolog.orig/src/alice/util/jedit/InputHandler.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/util/jedit/InputHandler.java 2010-09-08 20:22:49.000000000 +1200
+@@ -24,7 +24,7 @@
+ *
+ * @author Slava Pestov
+ * @version $Id: InputHandler.java,v 1.14 1999/12/13 03:40:30 sp Exp $
+- * @see org.gjt.sp.jedit.textarea.DefaultInputHandler
++ * @see alice.util.jedit.DefaultInputHandler
+ */
+ public abstract class InputHandler extends KeyAdapter
+ {
+@@ -187,7 +187,7 @@
+ /**
+ * Grabs the next key typed event and invokes the specified
+ * action with the key as a the action command.
+- * @param action The action
++ * @param listener The action
+ */
+ public void grabNextKeyStroke(ActionListener listener)
+ {
+diff -ur tuprolog.orig/src/alice/util/jedit/JEditTextArea.java tuprolog/src/alice/util/jedit/JEditTextArea.java
+--- tuprolog.orig/src/alice/util/jedit/JEditTextArea.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/util/jedit/JEditTextArea.java 2010-09-08 20:16:23.000000000 +1200
+@@ -1389,7 +1389,7 @@
+
+ /**
+ * Sets if the selection should be rectangular.
+- * @param overwrite True if the selection should be rectangular,
++ * @param rectSelect True if the selection should be rectangular,
+ * false otherwise.
+ */
+ public final void setSelectionRectangular(boolean rectSelect)
+diff -ur tuprolog.orig/src/alice/util/jedit/KeywordMap.java tuprolog/src/alice/util/jedit/KeywordMap.java
+--- tuprolog.orig/src/alice/util/jedit/KeywordMap.java 2010-01-21 21:29:22.000000000 +1300
++++ tuprolog/src/alice/util/jedit/KeywordMap.java 2010-09-08 20:16:52.000000000 +1200
+@@ -75,7 +75,7 @@
+ /**
+ * Adds a key-value mapping.
+ * @param keyword The key
+- * @Param id The value
++ * @param id The value
+ */
+ public void add(String keyword, byte id)
+ {
+diff -ur tuprolog.orig/src/alice/util/jedit/TextAreaPainter.java tuprolog/src/alice/util/jedit/TextAreaPainter.java
+--- tuprolog.orig/src/alice/util/jedit/TextAreaPainter.java 2010-01-21 21:29:24.000000000 +1300
++++ tuprolog/src/alice/util/jedit/TextAreaPainter.java 2010-09-08 20:18:43.000000000 +1200
+@@ -75,7 +75,7 @@
+ /**
+ * Returns the syntax styles used to paint colorized text. Entry <i>n</i>
+ * will be used to paint tokens with id = <i>n</i>.
+- * @see org.gjt.sp.jedit.syntax.Token
++ * @see alice.util.jedit.Token
+ */
+ public final SyntaxStyle[] getStyles()
+ {
+@@ -86,7 +86,7 @@
+ * Sets the syntax styles used to paint colorized text. Entry <i>n</i>
+ * will be used to paint tokens with id = <i>n</i>.
+ * @param styles The syntax styles
+- * @see org.gjt.sp.jedit.syntax.Token
++ * @see alice.util.jedit.Token
+ */
+ public final void setStyles(SyntaxStyle[] styles)
+ {
+@@ -356,7 +356,7 @@
+
+ /**
+ * Repaints the text.
+- * @param g The graphics context
++ * @param gfx The graphics context
+ */
+ public void paint(Graphics gfx)
+ {
+diff -ur tuprolog.orig/src/alice/util/jedit/TokenMarker.java tuprolog/src/alice/util/jedit/TokenMarker.java
+--- tuprolog.orig/src/alice/util/jedit/TokenMarker.java 2010-01-21 21:29:22.000000000 +1300
++++ tuprolog/src/alice/util/jedit/TokenMarker.java 2010-09-08 20:19:08.000000000 +1200
+@@ -24,7 +24,7 @@
+ * @author Slava Pestov
+ * @version $Id: TokenMarker.java,v 1.32 1999/12/13 03:40:30 sp Exp $
+ *
+- * @see org.gjt.sp.jedit.syntax.Token
++ * @see alice.util.jedit.Token
+ */
+ public abstract class TokenMarker
+ {
diff --git a/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild b/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild
new file mode 100644
index 000000000000..ebbec4a6277d
--- /dev/null
+++ b/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.3.0_alpha.ebuild,v 1.1 2010/09/08 08:35:35 keri Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P="2p-${PV/_/}"
+MY_SRC_P="src-J2SE-${PV}"
+
+DESCRIPTION="tuProlog is a light-weight Prolog for Internet applications and infrastructures"
+HOMEPAGE="http://www.alice.unibo.it/tuProlog/"
+SRC_URI="mirror://sourceforge/tuprolog/${MY_P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc test"
+
+DEPEND=">=virtual/jdk-1.5
+ >=dev-java/javassist-3
+ app-arch/unzip
+ dev-java/ant-core
+ test? ( dev-java/ant-junit )"
+RDEPEND=">=virtual/jdk-1.5"
+
+S="${WORKDIR}"
+
+EANT_GENTOO_CLASSPATH="javassist-3"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-javadocs.patch
+
+ cp "${FILESDIR}"/build.xml "${S}"
+}
+
+src_compile() {
+ eant jar $(use_doc)
+}
+
+src_test() {
+ cd "${S}"/dist
+ java-pkg_jar-from junit
+ cd "${S}"
+ ANT_TASKS="ant-junit" eant test || die "eant test failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ if use doc ; then
+ java-pkg_dohtml -r docs/*
+ fi
+
+ dodoc CHANGELOG
+}