summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2009-09-15 22:46:30 +0000
committerAlistair Bush <ali_bush@gentoo.org>2009-09-15 22:46:30 +0000
commitcc52e02189bd95645c4134d2c3f03ec6124bf4b2 (patch)
treea29a5ac3561d05234eddd70c8e642d573c1f7bfa /dev-java
parentrevision bump, remove false dep on media-libs/gd[-fontconfig], remove broken ... (diff)
downloadgentoo-2-cc52e02189bd95645c4134d2c3f03ec6124bf4b2.tar.gz
gentoo-2-cc52e02189bd95645c4134d2c3f03ec6124bf4b2.tar.bz2
gentoo-2-cc52e02189bd95645c4134d2c3f03ec6124bf4b2.zip
Revbump for bug fixes
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/java-config/ChangeLog8
-rw-r--r--dev-java/java-config/files/java-config-2.1.9.patch35
-rw-r--r--dev-java/java-config/java-config-2.1.9-r1.ebuild47
3 files changed, 89 insertions, 1 deletions
diff --git a/dev-java/java-config/ChangeLog b/dev-java/java-config/ChangeLog
index 622e6f4e5ebf..3b55dfac012f 100644
--- a/dev-java/java-config/ChangeLog
+++ b/dev-java/java-config/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/java-config
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.223 2009/08/27 19:31:29 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/ChangeLog,v 1.224 2009/09/15 22:46:29 ali_bush Exp $
+
+*java-config-2.1.9-r1 (15 Sep 2009)
+
+ 15 Sep 2009; Alistair Bush <ali_bush@gentoo.org>
+ +java-config-2.1.9-r1.ebuild, +files/java-config-2.1.9.patch:
+ Bug fixes.
*java-config-2.1.9 (27 Aug 2009)
diff --git a/dev-java/java-config/files/java-config-2.1.9.patch b/dev-java/java-config/files/java-config-2.1.9.patch
new file mode 100644
index 000000000000..d2e81af330b8
--- /dev/null
+++ b/dev-java/java-config/files/java-config-2.1.9.patch
@@ -0,0 +1,35 @@
+Index: src/depend-java-query
+===================================================================
+--- src/depend-java-query (revision 7909)
++++ src/depend-java-query (working copy)
+@@ -40,7 +40,7 @@
+
+ def get_vm(option, opt, value, parser):
+ try:
+- vm = verman.get_vm(value, False)
++ vm = verman.get_vm(value, True)
+ printer._print(vm)
+ except Exception, ex:
+ printer._printError(str(ex))
+Index: java-config-2
+===================================================================
+--- src/java-config-2 (revision 7909)
++++ src/java-config-2 (working copy)
+@@ -143,12 +143,15 @@
+ printer._print('%HThe following VMs are available for generation-2:%$')
+ for i, vm in vm_list.iteritems():
+ if vm is active:
+- printer._print('%G' + '*)\t%s [%s]%s' % (vm.query('VERSION'), vm.name(), '%$'))
++ if not vm.is_build_only():
++ printer._print('%G' + '*)\t%s [%s]%s' % (vm.query('VERSION'), vm.name(), '%$'))
++ else:
++ printer._print('%G' + '*)\t%s [%s]%s' % (vm.query('VERSION'), vm.name(), '%$') + '%r (Build Only)%$')
+ else:
+ if not vm.is_build_only():
+ printer._print('%i)\t%s [%s]' % (i, vm.query('VERSION'), vm.name()))
+ else:
+- printer._print('%i)\t%s [%s]' % (i, vm.query('VERSION'), vm.name()) + '%r (Build Only)')
++ printer._print('%i)\t%s [%s]' % (i, vm.query('VERSION'), vm.name()) + '%r (Build Only)%$')
+
+ printer._print('')
+ printer._print('%r' + 'VMs marked as Build Only may contain Security Vulnerabilities and/or be EOL.')
diff --git a/dev-java/java-config/java-config-2.1.9-r1.ebuild b/dev-java/java-config/java-config-2.1.9-r1.ebuild
new file mode 100644
index 000000000000..f6fed3837baa
--- /dev/null
+++ b/dev-java/java-config/java-config-2.1.9-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/java-config-2.1.9-r1.ebuild,v 1.1 2009/09/15 22:46:30 ali_bush Exp $
+
+inherit fdo-mime gnome2-utils distutils eutils
+
+DESCRIPTION="Java environment configuration tool"
+HOMEPAGE="http://www.gentoo.org/proj/en/java/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-lang/python"
+RDEPEND="${DEPEND}
+ >=dev-java/java-config-wrapper-0.15"
+
+PYTHON_MODNAME="java_config_2"
+
+src_unpack() {
+ distutils_src_unpack
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}.patch"
+}
+
+src_install() {
+ distutils_src_install
+
+ insinto /usr/share/java-config-2/config/
+ newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found"
+}
+
+pkg_postrm() {
+ distutils_python_version
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}