diff options
author | Keri Harris <keri@gentoo.org> | 2006-09-10 02:33:03 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2006-09-10 02:33:03 +0000 |
commit | 4a1981ed20b0c9d9e4a6ceea956250bab3570479 (patch) | |
tree | 8a39307a04e37242c1827de9bf2d83a1a763d05f /dev-lang | |
parent | Bump. Don't abort() when actual_format from XGetWindowAttributes is 0. (diff) | |
download | gentoo-2-4a1981ed20b0c9d9e4a6ceea956250bab3570479.tar.gz gentoo-2-4a1981ed20b0c9d9e4a6ceea956250bab3570479.tar.bz2 gentoo-2-4a1981ed20b0c9d9e4a6ceea956250bab3570479.zip |
Initial import for tuprolog.
(Portage version: 2.1.1)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/tuprolog/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/tuprolog/Manifest | 20 | ||||
-rw-r--r-- | dev-lang/tuprolog/files/digest-tuprolog-1.3.0 | 3 | ||||
-rw-r--r-- | dev-lang/tuprolog/files/tuprolog-1.3.0-javadocs.patch | 111 | ||||
-rw-r--r-- | dev-lang/tuprolog/metadata.xml | 5 | ||||
-rw-r--r-- | dev-lang/tuprolog/tuprolog-1.3.0.ebuild | 48 |
6 files changed, 197 insertions, 0 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog new file mode 100644 index 000000000000..4bcc41dd4108 --- /dev/null +++ b/dev-lang/tuprolog/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lang/tuprolog +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.1 2006/09/10 02:33:03 keri Exp $ + +*tuprolog-1.3.0 (10 Sep 2006) + + 10 Sep 2006; keri <keri@gentoo.org> +files/tuprolog-1.3.0-javadocs.patch, + +metadata.xml, +tuprolog-1.3.0.ebuild: + New ebuild for tuProlog. + diff --git a/dev-lang/tuprolog/Manifest b/dev-lang/tuprolog/Manifest new file mode 100644 index 000000000000..938ddee3e353 --- /dev/null +++ b/dev-lang/tuprolog/Manifest @@ -0,0 +1,20 @@ +AUX tuprolog-1.3.0-javadocs.patch 4869 RMD160 08d79d1eb54e8bf61ec54fa5167e7df107c7ad8d SHA1 4d33dd05f0f42b02ef2d8a14f3bbb094cf76ac48 SHA256 1f66707aa8c097d3bfbd452ce9ffc27ad077c3ffba234c46feb73fd4ce2a8bd6 +MD5 a0d149921c883310f17bee0f7430672e files/tuprolog-1.3.0-javadocs.patch 4869 +RMD160 08d79d1eb54e8bf61ec54fa5167e7df107c7ad8d files/tuprolog-1.3.0-javadocs.patch 4869 +SHA256 1f66707aa8c097d3bfbd452ce9ffc27ad077c3ffba234c46feb73fd4ce2a8bd6 files/tuprolog-1.3.0-javadocs.patch 4869 +DIST 2p-1.3.0.zip 2917856 RMD160 17c28db76873c4855df06992ffcc41e08d2d08c1 SHA1 4ad1500487762367a54981484d36579ce72af768 SHA256 c6fc6b1fadef7d22d24a7e454ebed4e67851e3960524a8730bbcbdea5216ceec +EBUILD tuprolog-1.3.0.ebuild 917 RMD160 1dca71f02f1a356431bf93a1d396b7c5c023c2e9 SHA1 038da40f8a0fab309533bd07d8e2135b123210c9 SHA256 84f7891f60156f39e0cc24f229300681363c6fe4c47577f33254c2263878c6e3 +MD5 f8c964d76cb58b2a7f8ea710ba061f11 tuprolog-1.3.0.ebuild 917 +RMD160 1dca71f02f1a356431bf93a1d396b7c5c023c2e9 tuprolog-1.3.0.ebuild 917 +SHA256 84f7891f60156f39e0cc24f229300681363c6fe4c47577f33254c2263878c6e3 tuprolog-1.3.0.ebuild 917 +MISC ChangeLog 294 RMD160 57d3f9dc93f974f63a7239119462947bfc335623 SHA1 0a7515ceacca19c45ec924c8470e0668746fa725 SHA256 a5d930ed07f4d847b256c838b551c56e4834388b31e3cbec7caa29c5b652c021 +MD5 0f3e425afd26bb632a5596c6374f4a56 ChangeLog 294 +RMD160 57d3f9dc93f974f63a7239119462947bfc335623 ChangeLog 294 +SHA256 a5d930ed07f4d847b256c838b551c56e4834388b31e3cbec7caa29c5b652c021 ChangeLog 294 +MISC metadata.xml 159 RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c SHA1 52b92682cf41e53e71bf432537a16215bd9546b1 SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba +MD5 9187f53634e60ab7eb2ac7e98b0b19f7 metadata.xml 159 +RMD160 38d27fd1c5faabedefa5507dfd83cb4c952fbc8c metadata.xml 159 +SHA256 851bf218a4283a1d8ea6ef98af0119a40eaa78bfaaec49c2f3440437f52889ba metadata.xml 159 +MD5 4bec894a65241b6a926b468aba5f6b95 files/digest-tuprolog-1.3.0 220 +RMD160 829f5dc320bf9c2998877ac2bbe3d78ea8fe0f5c files/digest-tuprolog-1.3.0 220 +SHA256 bc807f2ea119ca7c37243f1997577602bf68ca2fc67f07827ef508a10c13ee74 files/digest-tuprolog-1.3.0 220 diff --git a/dev-lang/tuprolog/files/digest-tuprolog-1.3.0 b/dev-lang/tuprolog/files/digest-tuprolog-1.3.0 new file mode 100644 index 000000000000..98ee13cc1c8a --- /dev/null +++ b/dev-lang/tuprolog/files/digest-tuprolog-1.3.0 @@ -0,0 +1,3 @@ +MD5 b9b7bcf89ca69c7231fbf07e32718f16 2p-1.3.0.zip 2917856 +RMD160 17c28db76873c4855df06992ffcc41e08d2d08c1 2p-1.3.0.zip 2917856 +SHA256 c6fc6b1fadef7d22d24a7e454ebed4e67851e3960524a8730bbcbdea5216ceec 2p-1.3.0.zip 2917856 diff --git a/dev-lang/tuprolog/files/tuprolog-1.3.0-javadocs.patch b/dev-lang/tuprolog/files/tuprolog-1.3.0-javadocs.patch new file mode 100644 index 000000000000..6c8fc635bd6e --- /dev/null +++ b/dev-lang/tuprolog/files/tuprolog-1.3.0-javadocs.patch @@ -0,0 +1,111 @@ +diff -ur tuprolog-1.3.0.orig/src/alice/tuprolog/lib/JavaLibrary.java tuprolog-1.3.0/src/alice/tuprolog/lib/JavaLibrary.java +--- tuprolog-1.3.0.orig/src/alice/tuprolog/lib/JavaLibrary.java 2006-02-05 13:30:36.000000000 +1300 ++++ tuprolog-1.3.0/src/alice/tuprolog/lib/JavaLibrary.java 2006-02-05 13:54:20.000000000 +1300 +@@ -1210,7 +1210,7 @@ + + /** + * Generates a fresh numeric identifier +- * @return ++ * @return fresh numeric identifier + */ + protected Struct generateFreshId() { + return new Struct("$obj_" + id++); +diff -ur tuprolog-1.3.0.orig/src/alice/tuprolog/Prolog.java tuprolog-1.3.0/src/alice/tuprolog/Prolog.java
+--- tuprolog-1.3.0.orig/src/alice/tuprolog/Prolog.java 2006-02-05 13:30:36.000000000 +1300
++++ tuprolog-1.3.0/src/alice/tuprolog/Prolog.java 2006-02-05 13:34:04.000000000 +1300
+@@ -1337,7 +1337,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
+ */
+ protected void identify(Term term, boolean forceArgumentIdentification) {
+ //System.out.println("IDENTIFYING "+term);
+diff -ur tuprolog-1.3.0.orig/src/alice/util/jedit/InputHandler.java tuprolog-1.3.0/src/alice/util/jedit/InputHandler.java +--- tuprolog-1.3.0.orig/src/alice/util/jedit/InputHandler.java 2006-02-05 13:30:36.000000000 +1300 ++++ tuprolog-1.3.0/src/alice/util/jedit/InputHandler.java 2006-02-05 13:51:12.000000000 +1300 +@@ -24,7 +24,7 @@
+ * + * @author Slava Pestov + * @version $Id: tuprolog-1.3.0-javadocs.patch,v 1.1 2006/09/10 02:33:03 keri 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-1.3.0.orig/src/alice/util/jedit/JEditTextArea.java tuprolog-1.3.0/src/alice/util/jedit/JEditTextArea.java +--- tuprolog-1.3.0.orig/src/alice/util/jedit/JEditTextArea.java 2006-02-05 13:30:36.000000000 +1300 ++++ tuprolog-1.3.0/src/alice/util/jedit/JEditTextArea.java 2006-02-05 13:43:25.000000000 +1300 +@@ -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-1.3.0.orig/src/alice/util/jedit/KeywordMap.java tuprolog-1.3.0/src/alice/util/jedit/KeywordMap.java +--- tuprolog-1.3.0.orig/src/alice/util/jedit/KeywordMap.java 2006-02-05 13:30:36.000000000 +1300 ++++ tuprolog-1.3.0/src/alice/util/jedit/KeywordMap.java 2006-02-05 13:39:39.000000000 +1300 +@@ -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-1.3.0.orig/src/alice/util/jedit/TextAreaPainter.java tuprolog-1.3.0/src/alice/util/jedit/TextAreaPainter.java +--- tuprolog-1.3.0.orig/src/alice/util/jedit/TextAreaPainter.java 2006-02-05 13:30:36.000000000 +1300 ++++ tuprolog-1.3.0/src/alice/util/jedit/TextAreaPainter.java 2006-02-05 13:50:49.000000000 +1300 +@@ -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-1.3.0.orig/src/alice/util/jedit/TokenMarker.java tuprolog-1.3.0/src/alice/util/jedit/TokenMarker.java +--- tuprolog-1.3.0.orig/src/alice/util/jedit/TokenMarker.java 2006-02-05 13:30:36.000000000 +1300 ++++ tuprolog-1.3.0/src/alice/util/jedit/TokenMarker.java 2006-02-05 13:48:41.000000000 +1300 +@@ -24,7 +24,7 @@ + * @author Slava Pestov + * @version $Id: tuprolog-1.3.0-javadocs.patch,v 1.1 2006/09/10 02:33:03 keri Exp $ + * +- * @see org.gjt.sp.jedit.syntax.Token ++ * @see alice.util.jedit.Token + */ + public abstract class TokenMarker + { diff --git a/dev-lang/tuprolog/metadata.xml b/dev-lang/tuprolog/metadata.xml new file mode 100644 index 000000000000..1990bb86aace --- /dev/null +++ b/dev-lang/tuprolog/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>prolog</herd> +</pkgmetadata> diff --git a/dev-lang/tuprolog/tuprolog-1.3.0.ebuild b/dev-lang/tuprolog/tuprolog-1.3.0.ebuild new file mode 100644 index 000000000000..e3125920d045 --- /dev/null +++ b/dev-lang/tuprolog/tuprolog-1.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-1.3.0.ebuild,v 1.1 2006/09/10 02:33:03 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:8080/tuProlog/" +SRC_URI="http://www.alice.unibo.it/download/tuprolog/files/core/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="doc" + +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip + dev-java/ant-core" +RDEPEND=">=virtual/jdk-1.3" + +S="${WORKDIR}"/${P} + +src_unpack() { + unpack ${A} + cd "${S}" + cp "${FILESDIR}"/build.xml "${S}" + + cd "${S}"/src + unpack ./${MY_SRC_P}.zip + + epatch "${FILESDIR}"/${P}-javadocs.patch +} + +src_compile() { + eant jar $(use_doc) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + if use doc ; then + java-pkg_dohtml -r docs/* + dodoc doc/*.pdf + fi +} |