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 | 65887cc3462d157d61bd8cde07016dba8c8a6276 (patch) | |
tree | 3ce0c043c7e13cf250e883102f8171cdb98bb819 | |
parent | Bump. Don't abort() when actual_format from XGetWindowAttributes is 0. (diff) | |
download | historical-65887cc3462d157d61bd8cde07016dba8c8a6276.tar.gz historical-65887cc3462d157d61bd8cde07016dba8c8a6276.tar.bz2 historical-65887cc3462d157d61bd8cde07016dba8c8a6276.zip |
Initial import for tuprolog.
Package-Manager: portage-2.1.1
-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..939f2e6017cc --- /dev/null +++ b/dev-lang/tuprolog/Manifest @@ -0,0 +1,20 @@ +AUX tuprolog-1.3.0-javadocs.patch 4896 RMD160 8db43608a9909d6dacf114c3d15a697286dbdace SHA1 021149b526d7addec2ace1fb90e2e67949ef2774 SHA256 86286ef603a6cc34dffd0d1f02bd51f6732d9063f86da4ef7c86484d57542ea3 +MD5 6f0bda39dd585e40559b6a7d1daf0bd9 files/tuprolog-1.3.0-javadocs.patch 4896 +RMD160 8db43608a9909d6dacf114c3d15a697286dbdace files/tuprolog-1.3.0-javadocs.patch 4896 +SHA256 86286ef603a6cc34dffd0d1f02bd51f6732d9063f86da4ef7c86484d57542ea3 files/tuprolog-1.3.0-javadocs.patch 4896 +DIST 2p-1.3.0.zip 2917856 RMD160 17c28db76873c4855df06992ffcc41e08d2d08c1 SHA1 4ad1500487762367a54981484d36579ce72af768 SHA256 c6fc6b1fadef7d22d24a7e454ebed4e67851e3960524a8730bbcbdea5216ceec +EBUILD tuprolog-1.3.0.ebuild 1016 RMD160 8ffbe44d8208829e5f0d83af2fcc7c01eb46f6ed SHA1 1cac773c213a129c2610799d835f81a2254c6b76 SHA256 53cf730dfb4dd481f45e9fb11ea69cdbf6b2ba169126e56391e785903df22f51 +MD5 cb330f12fcaec5c74b2f5ba1d8d450af tuprolog-1.3.0.ebuild 1016 +RMD160 8ffbe44d8208829e5f0d83af2fcc7c01eb46f6ed tuprolog-1.3.0.ebuild 1016 +SHA256 53cf730dfb4dd481f45e9fb11ea69cdbf6b2ba169126e56391e785903df22f51 tuprolog-1.3.0.ebuild 1016 +MISC ChangeLog 381 RMD160 8716d04656eb0dae56d9b4cf39ed77930f57cdca SHA1 d7f59e7f953ca21b7d5ee4dc7b9fd210e5ac432b SHA256 e0b3f63477ee82d80a01b1b4e91bfc07900d8cde3dfacd63abc99a52a6833c9e +MD5 5be5a0561f1566e3f4073893b532315a ChangeLog 381 +RMD160 8716d04656eb0dae56d9b4cf39ed77930f57cdca ChangeLog 381 +SHA256 e0b3f63477ee82d80a01b1b4e91bfc07900d8cde3dfacd63abc99a52a6833c9e ChangeLog 381 +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 +} |