summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-10-10 16:20:47 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-10-10 16:20:47 +0000
commit451c3200ac2d30759fca2feb1505c1c62715a212 (patch)
tree1e27eee0b90abadfc8bd201390a816c368259d25 /app-misc
parentAdded Depends. Closes #20782. (diff)
downloadgentoo-2-451c3200ac2d30759fca2feb1505c1c62715a212.tar.gz
gentoo-2-451c3200ac2d30759fca2feb1505c1c62715a212.tar.bz2
gentoo-2-451c3200ac2d30759fca2feb1505c1c62715a212.zip
changelog:P
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/bluej/ChangeLog6
-rw-r--r--app-misc/bluej/Manifest8
-rw-r--r--app-misc/bluej/bluej-1.3.0.ebuild16
-rw-r--r--app-misc/bluej/files/bluej6
-rw-r--r--app-misc/bluej/files/bluej.desktop12
-rw-r--r--app-misc/bluej/metadata.xml9
6 files changed, 47 insertions, 10 deletions
diff --git a/app-misc/bluej/ChangeLog b/app-misc/bluej/ChangeLog
index c503c3cf8441..cd70ebffb7a8 100644
--- a/app-misc/bluej/ChangeLog
+++ b/app-misc/bluej/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/bluej
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/bluej/ChangeLog,v 1.3 2003/10/06 10:44:55 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bluej/ChangeLog,v 1.4 2003/10/10 16:20:42 lanius Exp $
+
+ 10 Oct 2003; Heinrich Wendel <lanius@gentoo.org> bluej-1.3.0.ebuild,
+ metadata.xml:
+ bug #30766
*bluej-1.3.0 (06 Oct 2003)
diff --git a/app-misc/bluej/Manifest b/app-misc/bluej/Manifest
index c4515b1ee001..25dcb8fd7733 100644
--- a/app-misc/bluej/Manifest
+++ b/app-misc/bluej/Manifest
@@ -1,6 +1,8 @@
-MD5 8b984f59483963171f9115ecc147a3c6 ChangeLog 666
+MD5 d09c43f9582960d8be234d58af92cfaa ChangeLog 767
MD5 0146688f14ddccfc40814da864f9f102 bluej-1.2.2.ebuild 1209
-MD5 afc9d20fbba0b932947788cab58207e4 bluej-1.3.0.ebuild 1208
-MD5 d94b13525dc0af6c565a16fe4e851085 files/bluej 170
+MD5 7c7e0c1bf663a730286dd0e4f33a2330 bluej-1.3.0.ebuild 1441
+MD5 503ccb1138f9c49f0855884d830988a6 metadata.xml 253
+MD5 dc091e8adc602f493ddc2d222240133c files/bluej 115
+MD5 ac193d7badaaf8349132498c13ba3416 files/bluej.desktop 260
MD5 7ae514074352749242eaad65fc86619d files/digest-bluej-1.2.2 169
MD5 0236435bbde2b04789397bc4476bccf7 files/digest-bluej-1.3.0 170
diff --git a/app-misc/bluej/bluej-1.3.0.ebuild b/app-misc/bluej/bluej-1.3.0.ebuild
index cfab2cc5cc92..42cf6a356b3e 100644
--- a/app-misc/bluej/bluej-1.3.0.ebuild
+++ b/app-misc/bluej/bluej-1.3.0.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/bluej/bluej-1.3.0.ebuild,v 1.1 2003/10/06 10:44:55 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bluej/bluej-1.3.0.ebuild,v 1.2 2003/10/10 16:20:42 lanius Exp $
inherit java-pkg
-IUSE="doc"
+IUSE="doc gnome kde"
-MY_P="bluej-130"
+MY_P=`echo ${P}|sed -e 's/\.//g'`
DESCRIPTION="BlueJ is an integrated Java environment specifically designed for introductory teaching."
SRC_URI="ftp://ftp.bluej.org/pub/bluej/${MY_P}.jar
@@ -50,4 +50,14 @@ src_install()
if [ "`use doc`" ]; then
dodoc tutorial.pdf manual.pdf
fi
+
+ if [ "`use gnome`" ]; then
+ insinto /usr/share/applications
+ doins ${FILESDIR}/bluej.desktop
+ fi
+
+ if [ "`use kde`" ]; then
+ insinto /usr/share/applnk/Development
+ doins ${FILESDIR}/bluej.desktop
+ fi
}
diff --git a/app-misc/bluej/files/bluej b/app-misc/bluej/files/bluej
index 4a02b7f7ee27..7f5e63ad746f 100644
--- a/app-misc/bluej/files/bluej
+++ b/app-misc/bluej/files/bluej
@@ -1,4 +1,4 @@
#!/bin/sh
-
-#`java-config --java` -cp "`java-config --classpath=bluej`:`java-config --jdk-home`/lib/tools.jar" bluej.Main $*
-cd /usr/share/bluej; java -jar lib/bluej.jar
+APPBASE="/usr/share/bluej"
+CP="${APPBASE}/lib/bluej.jar"
+`java-config --java` -jar "${CP}" bluej.Main $*
diff --git a/app-misc/bluej/files/bluej.desktop b/app-misc/bluej/files/bluej.desktop
new file mode 100644
index 000000000000..a6fbbfbcab33
--- /dev/null
+++ b/app-misc/bluej/files/bluej.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Exec=bluej
+TryExec=
+Icon=/usr/share/bluej/lib/images/bluej-icon.gif
+X-GNOME-DocPath=
+Terminal=false
+Name=BlueJ
+GenericName=
+Comment=Integrated Development Environment for Java
+Categories=Application;Development;
diff --git a/app-misc/bluej/metadata.xml b/app-misc/bluej/metadata.xml
new file mode 100644
index 000000000000..c3504b40c506
--- /dev/null
+++ b/app-misc/bluej/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>lanius@gentoo.org</email>
+ <name>Heinrich Wendel</name>
+</maintainer>
+</pkgmetadata>