public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Pagano" <mpagano@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/idea-community/files/, dev-util/idea-community/
Date: Thu, 15 Sep 2022 12:59:38 +0000 (UTC)	[thread overview]
Message-ID: <1663246743.e014d8ac4fdcd61536e1633a0368c631634ca698.mpagano@gentoo> (raw)

commit:     e014d8ac4fdcd61536e1633a0368c631634ca698
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 12:59:03 2022 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 12:59:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e014d8ac

dev-util/idea-community: Remove bundled java, fix JAVA vars

Closes: https://bugs.gentoo.org/870184

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 dev-util/idea-community/files/idea-community-jdk.patch | 2 +-
 dev-util/idea-community/idea-community-2022.2.2.ebuild | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-util/idea-community/files/idea-community-jdk.patch b/dev-util/idea-community/files/idea-community-jdk.patch
index 5556729fdd49..d99f8125e51c 100644
--- a/dev-util/idea-community/files/idea-community-jdk.patch
+++ b/dev-util/idea-community/files/idea-community-jdk.patch
@@ -5,7 +5,7 @@
  if [ -n "$IDEA_JDK" ] && [ -x "$IDEA_JDK/bin/java" ]; then
    JRE="$IDEA_JDK"
 +else
-+  JDK="/opt/openjdk-bin-11" && [[ -d "/opt/openjdk-11" ]] && JDK="/usr/lib64/openjdk-bin-11"
++  JRE="/opt/openjdk-bin-17" && [[ -d "/opt/openjdk-17" ]] && JRE="/usr/lib64/openjdk-bin-17"
  fi
  
  BITS=""

diff --git a/dev-util/idea-community/idea-community-2022.2.2.ebuild b/dev-util/idea-community/idea-community-2022.2.2.ebuild
index 8a5c03ffc6e3..7003ee45888c 100644
--- a/dev-util/idea-community/idea-community-2022.2.2.ebuild
+++ b/dev-util/idea-community/idea-community-2022.2.2.ebuild
@@ -126,8 +126,9 @@ src_install() {
 	echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
 
 	# remove bundled harfbuzz
-	rm -f "${D}"/lib/libharfbuzz.so || die
+	rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz"
 
 	# remove bundled java
-	rm -rf "$dst{jbr,jre{64}}"
+	rm -r ${dst}/jbr || die "Unable to remove bundled java"
+
 }


             reply	other threads:[~2022-09-15 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15 12:59 Mike Pagano [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-28 23:41 [gentoo-commits] repo/gentoo:master commit in: dev-util/idea-community/files/, dev-util/idea-community/ Mike Pagano

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=1663246743.e014d8ac4fdcd61536e1633a0368c631634ca698.mpagano@gentoo \
    --to=mpagano@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