diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-lang/interprolog | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-lang/interprolog')
-rw-r--r-- | dev-lang/interprolog/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/interprolog/files/build.xml | 45 | ||||
-rw-r--r-- | dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch | 24 | ||||
-rw-r--r-- | dev-lang/interprolog/interprolog-2.1.2.ebuild | 61 | ||||
-rw-r--r-- | dev-lang/interprolog/metadata.xml | 5 |
5 files changed, 136 insertions, 0 deletions
diff --git a/dev-lang/interprolog/Manifest b/dev-lang/interprolog/Manifest new file mode 100644 index 000000000000..8136b616c1db --- /dev/null +++ b/dev-lang/interprolog/Manifest @@ -0,0 +1 @@ +DIST interprolog212.zip 1066931 SHA256 cf5b463576a51624703300a3966f1d3619d1ccd1011b59950b7b37365de8f182 SHA512 e3d8b216f7e76d5d95ad9d27a96720075575fd717c89ddf9403376a72e18d56fd68afa2b1e6e70da55b99cd84043a16695ff37a59ec3366115cd4c36ed1ff50c WHIRLPOOL 1aa842d432bb1bd6834c9961dd65c16354d3e37087df49758cea26b9d6917f49149a957a2f97cdf03f53418d5c5ff0f8b6f7f62cc786f90c36cc90e14d474032 diff --git a/dev-lang/interprolog/files/build.xml b/dev-lang/interprolog/files/build.xml new file mode 100644 index 000000000000..a24536d8936d --- /dev/null +++ b/dev-lang/interprolog/files/build.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" ?><project default="jar" name="interprolog"> + + <!-- some properties --> + <property name="src.dir" value="src"/> + <property name="build.dir" value="build"/> + <property name="docs.dir" value="docs"/> + <property name="dist.dir" value="dist"/> + <property name="jarfile" value="${ant.project.name}.jar"/> + <property file="build.properties"/> + + <!-- init --> + <target name="init"> + <tstamp/> + <mkdir dir="${dist.dir}"/> + <mkdir dir="${build.dir}"/> + <mkdir dir="${docs.dir}"/> + </target> + + <!-- compile everything --> + <target depends="init" name="compile"> + <javac classpath="${gentoo.classpath}" deprecation="on" destdir="${build.dir}" encoding="ISO-8859-1" source="1.4" srcdir="${src.dir}" target="1.4"/> + <copy todir="${build.dir}"> + <fileset dir="${src.dir}"> + <exclude name="**/*.java"/> + </fileset> + </copy> + </target> + + <!-- build the jar file --> + <target depends="compile" name="jar"> + <jar basedir="${build.dir}" jarfile="${dist.dir}/${jarfile}"/> + </target> + + <!-- generate javadocs --> + <target depends="init" name="javadoc"> + <javadoc classpath="${gentoo.classpath}" author="true" destdir="${docs.dir}" encoding="ISO-8859-1" packagenames="com.*" source="1.4" sourcepath="${src.dir}" use="true" version="true" windowtitle="${ant.project.name} API"/> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build.dir}"/> + <delete dir="${dist.dir}"/> + <delete dir="${docs.dir}"/> + </target> +</project> diff --git a/dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch b/dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch new file mode 100644 index 000000000000..614b2f2a1ed0 --- /dev/null +++ b/dev-lang/interprolog/files/interprolog-2.1.2-java1.4.patch @@ -0,0 +1,24 @@ +diff -ur interprolog212.orig/com/declarativa/interprolog/examples/SudokuWindow.java interprolog212/com/declarativa/interprolog/examples/SudokuWindow.java +--- interprolog212.orig/com/declarativa/interprolog/examples/SudokuWindow.java 2005-10-20 15:14:12.000000000 +1300 ++++ interprolog212/com/declarativa/interprolog/examples/SudokuWindow.java 2007-02-02 21:56:22.000000000 +1300 +@@ -34,7 +34,7 @@ + JTable board = new SudokuBoard(model);
+
+ getContentPane().add(BorderLayout.CENTER,board);
+- pack(); show();
++ pack(); setVisible(true);
+ }
+
+ /** An ObjectExamplePair illustrating how to pass around a matrix of basic type values */
+diff -ur interprolog212.orig/com/declarativa/interprolog/gui/ListenerWindow.java interprolog212/com/declarativa/interprolog/gui/ListenerWindow.java +--- interprolog212.orig/com/declarativa/interprolog/gui/ListenerWindow.java 2005-09-15 17:57:44.000000000 +1200 ++++ interprolog212/com/declarativa/interprolog/gui/ListenerWindow.java 2007-02-02 21:57:42.000000000 +1300 +@@ -344,7 +344,7 @@ + void load_dynFile(){
+ String nome,directorio; File filetoreconsult=null;
+ FileDialog d = new FileDialog(this,"load_dyn file...");
+- d.show();
++ d.setVisible(true);
+ nome = d.getFile(); directorio = d.getDirectory();
+ if (nome!=null) {
+ filetoreconsult = new File(directorio,nome);
diff --git a/dev-lang/interprolog/interprolog-2.1.2.ebuild b/dev-lang/interprolog/interprolog-2.1.2.ebuild new file mode 100644 index 000000000000..f3c2deccdf57 --- /dev/null +++ b/dev-lang/interprolog/interprolog-2.1.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils java-pkg-2 java-ant-2 versionator + +MY_PV="$(delete_all_version_separators)" +MY_P="${PN}${MY_PV}" + +DESCRIPTION="InterProlog is a Java front-end and enhancement for Prolog" +HOMEPAGE="http://www.declarativa.com/interprolog/" +SRC_URI="http://www.declarativa.com/interprolog/interprolog212.zip" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + dev-java/ant-core + =dev-java/junit-3.8*" + +RDEPEND=">=virtual/jdk-1.4 + =dev-java/junit-3.8* + || ( + dev-lang/xsb + dev-lang/swi-prolog + dev-lang/yap )" + +S="${WORKDIR}"/${MY_P} + +EANT_GENTOO_CLASSPATH="junit" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-java1.4.patch + + cp "${FILESDIR}"/build.xml "${S}" + mkdir "${S}"/src + mv "${S}"/com "${S}"/src + rm interprolog.jar junit.jar +} + +src_compile() { + java-pkg_jar-from junit + eant jar $(use_doc) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + if use doc ; then + java-pkg_dohtml -r docs/* + dohtml INSTALL.htm faq.htm prologAPI.htm + dohtml -r images + dodoc PaperEPIA01.doc + fi +} diff --git a/dev-lang/interprolog/metadata.xml b/dev-lang/interprolog/metadata.xml new file mode 100644 index 000000000000..1990bb86aace --- /dev/null +++ b/dev-lang/interprolog/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> |