From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-java/
Date: Mon, 11 Jul 2016 16:58:59 +0000 (UTC) [thread overview]
Message-ID: <1468256295.b0e0734184c491a61ed0f397e5e23cf4a5e6a3d6.robbat2@gentoo> (raw)
commit: b0e0734184c491a61ed0f397e5e23cf4a5e6a3d6
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 11 16:58:02 2016 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 11 16:58:15 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e07341
app-eselect/eselect-java: bug #549498: less spam from "eselect $x show".
Package-Manager: portage-2.2.28
.../eselect-java/eselect-java-0.2.0-r1.ebuild | 46 ++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild b/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild
new file mode 100644
index 0000000..8207580
--- /dev/null
+++ b/app-eselect/eselect-java/eselect-java-0.2.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools
+
+DESCRIPTION="A set of eselect modules for Java"
+HOMEPAGE="https://www.gentoo.org/proj/en/java/"
+SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ !app-eselect/eselect-ecj
+ !app-eselect/eselect-maven
+ !<dev-java/java-config-2.2
+ app-admin/eselect"
+
+src_prepare() {
+ eautoreconf
+
+ # Bug 549498: "eselect XXX show" should never send output to stderr.
+ sed -i \
+ -e '/^do_show.. {$/,/^}$/{ /echo/s,>&2$,, }' \
+ "${S}"/src/modules/maven.eselect.in \
+ "${S}"/src/modules/ecj.eselect.in
+}
+
+pkg_postinst() {
+ local REMOVED=0
+
+ rm -v "${EROOT}"usr/lib*/nsbrowser/plugins/javaplugin.so 2>/dev/null && REMOVED=1
+ rm -v "${EROOT}"etc/java-config-2/current-icedtea-web-vm 2>/dev/null && REMOVED=1
+
+ if [[ "${REMOVED}" = 1 ]]; then
+ elog "The eselect java-nsplugin module has been removed and your configuration"
+ elog "has been cleaned up. From now on, you may only install either Oracle or"
+ elog "IcedTea's plugin but not both. Note you can use IcedTea's plugin with an"
+ elog "Oracle VM. See the README installed with icedtea-web for more details."
+ fi
+}
next reply other threads:[~2016-07-11 16:59 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 16:58 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-27 6:44 [gentoo-commits] repo/gentoo:master commit in: app-eselect/eselect-java/ Miroslav Šulc
2024-05-26 16:14 Arthur Zamarin
2024-04-20 11:30 Florian Schmaus
2022-07-26 17:53 Miroslav Šulc
2022-07-26 2:05 Sam James
2022-06-24 10:40 Florian Schmaus
2022-05-01 20:47 Georgy Yakovlev
2021-11-16 11:38 Miroslav Šulc
2021-11-16 10:08 Jakov Smolić
2021-10-16 18:04 Georgy Yakovlev
2021-07-20 12:40 Georgy Yakovlev
2021-07-20 12:40 Georgy Yakovlev
2021-07-20 12:40 Georgy Yakovlev
2021-07-20 12:40 Georgy Yakovlev
2021-07-20 12:40 Georgy Yakovlev
2021-01-06 13:12 Fabian Groffen
2020-09-17 8:32 Georgy Yakovlev
2020-09-17 7:12 Georgy Yakovlev
2018-03-04 12:07 James Le Cuirot
2018-03-04 12:07 James Le Cuirot
2018-03-04 9:13 Jason Zaman
2018-01-03 22:57 James Le Cuirot
2017-10-04 7:47 Michał Górny
2017-02-07 11:28 Agostino Sarubbo
2017-01-24 20:21 James Le Cuirot
2016-11-28 22:51 Austin English
2016-09-17 14:42 Patrice Clement
2016-05-18 9:05 Fabian Groffen
2016-05-17 21:43 James Le Cuirot
2016-05-17 21:43 James Le Cuirot
2016-03-15 7:06 James Le Cuirot
2016-01-01 22:50 James Le Cuirot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468256295.b0e0734184c491a61ed0f397e5e23cf4a5e6a3d6.robbat2@gentoo \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox