summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-10-07 00:59:51 +0000
committerKeri Harris <keri@gentoo.org>2006-10-07 00:59:51 +0000
commit59e5c4db8c2d1b05b63184c1142ea518a12b594f (patch)
treeb919b118befe8702e5386200c7a5887412031aeb /dev-lang/tuprolog
parentCorrectly (r)depend on xinetd. Pointed out by Massimiliano Adamo <massimilian... (diff)
downloadgentoo-2-59e5c4db8c2d1b05b63184c1142ea518a12b594f.tar.gz
gentoo-2-59e5c4db8c2d1b05b63184c1142ea518a12b594f.tar.bz2
gentoo-2-59e5c4db8c2d1b05b63184c1142ea518a12b594f.zip
Add java1.4 patch.
(Portage version: 2.1.2_pre2-r5)
Diffstat (limited to 'dev-lang/tuprolog')
-rw-r--r--dev-lang/tuprolog/ChangeLog6
-rw-r--r--dev-lang/tuprolog/files/tuprolog-1.3.0-java1.4.patch76
-rw-r--r--dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild3
3 files changed, 83 insertions, 2 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog
index 258733777a9f..a87bc8ea4921 100644
--- a/dev-lang/tuprolog/ChangeLog
+++ b/dev-lang/tuprolog/ChangeLog
@@ -1,6 +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.5 2006/10/06 22:15:59 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.6 2006/10/07 00:59:50 keri Exp $
+
+ 07 Oct 2006; keri <keri@gentoo.org> +files/tuprolog-1.3.0-java1.4.patch,
+ tuprolog-1.3.0-r1.ebuild:
+ Add java1.4 patch
06 Oct 2006; keri <keri@gentoo.org> files/tuprolog-1.3.0-javadocs.patch:
Fix generation of javadocs.
diff --git a/dev-lang/tuprolog/files/tuprolog-1.3.0-java1.4.patch b/dev-lang/tuprolog/files/tuprolog-1.3.0-java1.4.patch
new file mode 100644
index 000000000000..a9d3bd3664cf
--- /dev/null
+++ b/dev-lang/tuprolog/files/tuprolog-1.3.0-java1.4.patch
@@ -0,0 +1,76 @@
+diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/AWTFrameLauncher.java tuprolog-1.3.0/src/alice/tuprologx/ide/AWTFrameLauncher.java
+--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/AWTFrameLauncher.java 2005-06-08 09:05:34.000000000 +1200
++++ tuprolog-1.3.0/src/alice/tuprologx/ide/AWTFrameLauncher.java 2006-10-07 13:43:24.000000000 +1300
+@@ -88,7 +88,7 @@
+ height = Math.min(height, screenSize.height);
+ setBounds((screenSize.width - width) / 2, (screenSize.height - height) / 2, width, height);
+ }
+- show();
++ setVisible(true);
+ }
+
+ public void update(Graphics g) {
+diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/Applet.java tuprolog-1.3.0/src/alice/tuprologx/ide/Applet.java
+--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/Applet.java 2005-06-08 09:05:32.000000000 +1200
++++ tuprolog-1.3.0/src/alice/tuprologx/ide/Applet.java 2006-10-07 13:44:04.000000000 +1300
+@@ -41,7 +41,7 @@
+ ide.removeWindowListener(listeners[i]);
+
+ ide.pack();
+- ide.show();
++ ide.setVisible(true);
+ }
+
+ } // end Applet class
+\ No newline at end of file
+diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/DotNetIOManager.java tuprolog-1.3.0/src/alice/tuprologx/ide/DotNetIOManager.java
+--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/DotNetIOManager.java 2005-06-08 09:05:38.000000000 +1200
++++ tuprolog-1.3.0/src/alice/tuprologx/ide/DotNetIOManager.java 2006-10-07 13:49:09.000000000 +1300
+@@ -46,7 +46,7 @@
+ FileDialog dialog = new FileDialog(parent, "Load Theory", FileDialog.LOAD);
+ dialog.setDirectory(currentLoadDirectory);
+ dialog.setFile("*.pro");
+- dialog.show();
++ dialog.setVisible(true);
+ String directory = dialog.getDirectory();
+ currentLoadDirectory = directory;
+ String fileName = dialog.getFile();
+@@ -61,7 +61,7 @@
+ public String saveTheoryAs(Prolog engine) throws Exception {
+ FileDialog dialog = new FileDialog(parent, "Save Theory As...", FileDialog.SAVE);
+ dialog.setDirectory(currentSaveDirectory);
+- dialog.show();
++ dialog.setVisible(true);
+ String directory = dialog.getDirectory();
+ currentSaveDirectory = directory;
+ String fileName = dialog.getFile();
+diff -ur tuprolog-1.3.0.orig/src/alice/tuprologx/ide/GUILauncher.java tuprolog-1.3.0/src/alice/tuprologx/ide/GUILauncher.java
+--- tuprolog-1.3.0.orig/src/alice/tuprologx/ide/GUILauncher.java 2005-06-08 09:05:36.000000000 +1200
++++ tuprolog-1.3.0/src/alice/tuprologx/ide/GUILauncher.java 2006-10-07 13:49:37.000000000 +1300
+@@ -74,7 +74,7 @@
+ private void launchDotNetGUI() {
+ DotNetIDE ide = new DotNetIDE();
+ ide.pack();
+- ide.show();
++ ide.setVisible(true);
+ }
+
+ /**
+diff -ur tuprolog-1.3.0.orig/src/alice/util/thinlet/Thinlet.java tuprolog-1.3.0/src/alice/util/thinlet/Thinlet.java
+--- tuprolog-1.3.0.orig/src/alice/util/thinlet/Thinlet.java 2005-06-08 09:05:34.000000000 +1200
++++ tuprolog-1.3.0/src/alice/util/thinlet/Thinlet.java 2006-10-07 13:48:00.000000000 +1300
+@@ -1,4 +1,4 @@
+-/* áÁÕôÛûÍí
++/* ����
+ Thinlet GUI toolkit - www.thinlet.com
+ Copyright (C) 2002 Robert Bajzat (robert.bajzat@thinlet.com)
+
+@@ -2157,7 +2157,7 @@
+ *
+ * @return true as focus-transverable component, overwrites the default false value
+ */
+- public boolean isFocusTraversable() {
++ public boolean isFocusable() {
+ return true;
+ }
+
diff --git a/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild b/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild
index 0194acf365d7..09f5586eb31d 100644
--- a/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild
+++ b/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild
@@ -1,6 +1,6 @@
# 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-r1.ebuild,v 1.1 2006/10/04 06:38:53 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-1.3.0-r1.ebuild,v 1.2 2006/10/07 00:59:50 keri Exp $
inherit eutils java-pkg-2 java-ant-2
@@ -31,6 +31,7 @@ src_unpack() {
cd "${S}"/src
unpack ./${MY_SRC_P}.zip
+ epatch "${FILESDIR}"/${P}-java1.4.patch
epatch "${FILESDIR}"/${P}-javadocs.patch
}