public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/oracle-jdk-bin/
Date: Mon, 23 Jan 2017 22:52:39 +0000 (UTC)	[thread overview]
Message-ID: <1485211931.ed49e92a6e7a7dfc99e6671bef19d0c3a263bb8f.chewi@gentoo> (raw)

commit:     ed49e92a6e7a7dfc99e6671bef19d0c3a263bb8f
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 22:10:35 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 22:52:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed49e92a

dev-java/oracle-jdk-bin: Trim the commercial and duplicated fat

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-java/oracle-jdk-bin/metadata.xml               |  1 +
 .../oracle-jdk-bin/oracle-jdk-bin-1.8.0.121.ebuild | 23 +++++++++-------------
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/dev-java/oracle-jdk-bin/metadata.xml b/dev-java/oracle-jdk-bin/metadata.xml
index 6eb282a..6850de6 100644
--- a/dev-java/oracle-jdk-bin/metadata.xml
+++ b/dev-java/oracle-jdk-bin/metadata.xml
@@ -7,6 +7,7 @@
   </maintainer>
   <longdescription>Oracle Java SE Development Kit, Official Binary Distribution</longdescription>
   <use>
+    <flag name="commercial">Install features requiring a commercial license for production use</flag>
     <flag name="derby">Install bundled Derby (Java database)</flag>
     <flag name="headless-awt">Don't install the X backend for AWT, needed by some GUIs (used to be X flag)</flag>
     <flag name="javafx">Install JavaFX libraries</flag>

diff --git a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.121.ebuild b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.121.ebuild
index f0a77c0..ac3ee6a 100644
--- a/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.121.ebuild
+++ b/dev-java/oracle-jdk-bin/oracle-jdk-bin-1.8.0.121.ebuild
@@ -61,7 +61,7 @@ SRC_URI+=" jce? ( ${JCE_FILE} )"
 LICENSE="Oracle-BCLA-JavaSE examples? ( BSD )"
 SLOT="1.8"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc64-solaris ~x64-solaris"
-IUSE="alsa cups derby doc examples +fontconfig headless-awt javafx jce nsplugin selinux source"
+IUSE="alsa commercial cups derby doc examples +fontconfig headless-awt javafx jce nsplugin selinux source"
 REQUIRED_USE="javafx? ( alsa fontconfig )"
 
 RESTRICT="fetch preserve-libs strip"
@@ -211,6 +211,10 @@ src_install() {
 		rm -vf jre/lib/*/libjsoundalsa.* || die
 	fi
 
+	if ! use commercial; then
+		rm -vfr lib/missioncontrol jre/lib/jfr* || die
+	fi
+
 	if use headless-awt ; then
 		rm -vf {,jre/}lib/*/lib*{[jx]awt,splashscreen}* \
 		   {,jre/}bin/{javaws,policytool} \
@@ -233,6 +237,9 @@ src_install() {
 	# provided, they generally lag behind what Gentoo has available.
 	rm -vf jre/lib/*/libavplugin* || die
 
+	# We package this as dev-util/visualvm.
+	rm -vfr lib/visualvm || die
+
 	dodoc COPYRIGHT
 	dodir "${dest}"
 	cp -pPR bin include jre lib man "${ddest}" || die
@@ -325,7 +332,7 @@ src_install() {
 	if use x64-macos ; then
 		# Fix miscellaneous install_name issues.
 		pushd "${ddest}"/jre/lib > /dev/null || die
-		local lib needed nlib npath
+		local lib
 		for lib in decora_sse glass prism_{common,es2,sw} ; do
 			lib=lib${lib}.dylib
 			einfo "Fixing self-reference of ${lib}"
@@ -334,18 +341,6 @@ src_install() {
 				"${lib}"
 		done
 		popd > /dev/null
-
-		# This is still jdk1{5,6}, even on Java 8, so don't change it
-		# until you know different.
-		for nlib in jdk1{5,6} ; do
-			install_name_tool -change \
-				/usr/lib/libgcc_s_ppc64.1.dylib \
-				/usr/lib/libSystem.B.dylib \
-				"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
-			install_name_tool -id \
-				"${EPREFIX}${dest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib \
-				"${ddest}"/lib/visualvm/profiler/lib/deployed/${nlib}/mac/libprofilerinterface.jnilib
-		done
 	fi
 
 	java-vm_install-env "${FILESDIR}"/${PN}.env.sh


             reply	other threads:[~2017-01-23 22:52 UTC|newest]

Thread overview: 100+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-23 22:52 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-20  7:59 [gentoo-commits] repo/gentoo:master commit in: dev-java/oracle-jdk-bin/ Michał Górny
2019-08-18  7:21 Georgy Yakovlev
2019-01-25 10:16 Miroslav Šulc
2019-01-25 10:05 Mikle Kolyada
2019-01-24 22:22 Thomas Deutschmann
2019-01-20  5:26 Georgy Yakovlev
2019-01-17  9:50 Miroslav Šulc
2019-01-17  9:50 Miroslav Šulc
2019-01-17  8:45 Miroslav Šulc
2019-01-16 21:00 Miroslav Šulc
2018-10-26  0:52 Thomas Deutschmann
2018-10-20 17:46 Mikle Kolyada
2018-10-19 14:34 James Le Cuirot
2018-08-18 21:30 James Le Cuirot
2018-08-16  0:39 Thomas Deutschmann
2018-08-14 18:52 James Le Cuirot
2018-08-14  0:50 Mikle Kolyada
2018-08-10 21:02 James Le Cuirot
2018-04-25 20:43 James Le Cuirot
2018-04-24 23:41 Thomas Deutschmann
2018-04-23 20:42 James Le Cuirot
2018-04-23 10:01 Mikle Kolyada
2018-04-22 23:01 James Le Cuirot
2018-02-10 11:11 James Le Cuirot
2018-01-25 11:51 Fabian Groffen
2018-01-23 21:28 James Le Cuirot
2018-01-23 16:41 Agostino Sarubbo
2018-01-21 21:08 Thomas Deutschmann
2018-01-21 16:39 James Le Cuirot
2018-01-21 16:39 James Le Cuirot
2018-01-19 20:34 James Le Cuirot
2018-01-19 20:34 James Le Cuirot
2017-12-10 22:01 Ulrich Müller
2017-10-25 20:05 James Le Cuirot
2017-10-24  7:07 Agostino Sarubbo
2017-10-23 10:41 James Le Cuirot
2017-10-22 20:33 Thomas Deutschmann
2017-10-21 23:20 James Le Cuirot
2017-10-21 23:20 James Le Cuirot
2017-08-18 20:55 James Le Cuirot
2017-08-18 20:25 Thomas Deutschmann
2017-08-01 19:47 James Le Cuirot
2017-07-31 11:40 Tobias Klausmann
2017-07-26 21:18 Patrick McLean
2017-07-21  8:57 Pacho Ramos
2017-07-20 20:02 James Le Cuirot
2017-04-26  9:47 James Le Cuirot
2017-04-26  9:01 Agostino Sarubbo
2017-04-26  9:00 Agostino Sarubbo
2017-04-25 21:13 James Le Cuirot
2017-04-25 21:13 James Le Cuirot
2017-01-24  8:39 Agostino Sarubbo
2017-01-24  8:39 Agostino Sarubbo
2017-01-23 22:52 James Le Cuirot
2017-01-23 22:52 James Le Cuirot
2017-01-23 22:52 James Le Cuirot
2017-01-23 22:52 James Le Cuirot
2017-01-23 22:52 James Le Cuirot
2016-10-19 12:49 James Le Cuirot
2016-10-19 10:28 Agostino Sarubbo
2016-10-19 10:26 Agostino Sarubbo
2016-10-19 10:17 James Le Cuirot
2016-07-28 14:27 James Le Cuirot
2016-07-28 14:08 Agostino Sarubbo
2016-07-28  8:43 Agostino Sarubbo
2016-07-27 22:19 James Le Cuirot
2016-07-16 12:57 Patrice Clement
2016-04-21 20:33 James Le Cuirot
2016-04-21 10:22 Agostino Sarubbo
2016-04-21 10:21 Agostino Sarubbo
2016-04-20 21:39 James Le Cuirot
2016-04-17 22:09 James Le Cuirot
2016-03-26 16:33 James Le Cuirot
2016-03-26 16:03 Agostino Sarubbo
2016-03-26 16:02 Agostino Sarubbo
2016-03-25 22:34 James Le Cuirot
2016-03-25 22:34 James Le Cuirot
2016-02-14  9:06 Fabian Groffen
2016-02-13 16:38 James Le Cuirot
2016-02-13 15:42 Agostino Sarubbo
2016-02-13 15:42 Agostino Sarubbo
2016-02-09 22:19 James Le Cuirot
2016-01-27 10:10 Fabian Groffen
2016-01-22 13:43 James Le Cuirot
2016-01-21 14:48 James Le Cuirot
2016-01-21 14:26 Agostino Sarubbo
2016-01-21 14:26 Agostino Sarubbo
2016-01-21 13:54 James Le Cuirot
2016-01-14 14:31 Fabian Groffen
2016-01-01 22:50 James Le Cuirot
2015-10-22  9:29 James Le Cuirot
2015-10-22  7:33 Agostino Sarubbo
2015-10-22  7:33 Agostino Sarubbo
2015-10-21 21:48 James Le Cuirot
2015-10-21 21:48 James Le Cuirot
2015-09-12 13:57 James Le Cuirot
2015-09-09  9:05 James Le Cuirot
2015-09-06 21:00 James Le Cuirot
2015-08-31 22:43 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=1485211931.ed49e92a6e7a7dfc99e6671bef19d0c3a263bb8f.chewi@gentoo \
    --to=chewi@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