public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/biglybt/
Date: Thu,  5 Jan 2023 09:23:11 +0000 (UTC)	[thread overview]
Message-ID: <1672910561.eeb69624a6100911b847fb1264ed637fd0d37d04.sam@gentoo> (raw)

commit:     eeb69624a6100911b847fb1264ed637fd0d37d04
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Jan  5 08:33:21 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 09:22:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb69624

net-p2p/biglybt: exclude AENameServiceDescriptor and set min java 11

Gentoo does not yet support versioned jar files, so we have to decide
between jdk:1.8 or jdk >= 11.

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/28958
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{biglybt-3.2.0.0.ebuild => biglybt-3.2.0.0-r1.ebuild}        | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-p2p/biglybt/biglybt-3.2.0.0.ebuild b/net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild
similarity index 86%
rename from net-p2p/biglybt/biglybt-3.2.0.0.ebuild
rename to net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild
index 67831c7d368b..dfe931337994 100644
--- a/net-p2p/biglybt/biglybt-3.2.0.0.ebuild
+++ b/net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild
@@ -35,8 +35,11 @@ CP_DEPEND="
 # test? org.assertj:assertj-core:3.12.1 -> !!!suitable-mavenVersion-not-found!!!
 # test? org.junit.jupiter:junit-jupiter:5.4.0 -> !!!groupId-not-found!!!
 
+# Due to removal of AENameServiceDescriptor it would fail to start under jdk:1.8
+# StartServer ERROR: unable to bind to 127.0.0.1:6880 listening for passed torrent info: \
+# sun.net.spi.nameservice.NameServiceDescriptor: Provider com.biglybt.core.util.spi.AENameServiceDescriptor not found
 DEPEND="
-	>=virtual/jdk-1.8:*
+	>=virtual/jdk-11:*
 	${CP_DEPEND}
 "
 
@@ -62,9 +65,9 @@ S="${WORKDIR}/BiglyBT-${PV}"
 
 src_prepare() {
 	default
-	# This directory would break compilation with jdk >= 11
+	# AENameServiceDescriptor fails to compile with jdk >= 11
 	# "error: package sun.net.spi.nameservice does not exist"
-	rm -r core/src/com/biglybt/core/util/spi || die
+	rm -r core/src/com/biglybt/core/util/spi/AENameServiceDescriptor.java || die
 
 	cp -r core/{src,resources} || die
 	find core/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"


             reply	other threads:[~2023-01-05  9:23 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05  9:23 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  8:22 [gentoo-commits] repo/gentoo:master commit in: net-p2p/biglybt/ Miroslav Šulc
2024-11-25 12:31 Arthur Zamarin
2024-11-08 11:41 Miroslav Šulc
2024-11-08 11:41 Miroslav Šulc
2024-10-26  7:39 Miroslav Šulc
2024-08-14  8:54 Miroslav Šulc
2024-07-20 12:50 Arthur Zamarin
2024-07-20 11:48 Arthur Zamarin
2024-06-20 10:56 Florian Schmaus
2024-06-20 10:56 Florian Schmaus
2024-01-10  8:29 Florian Schmaus
2024-01-07 13:26 Sam James
2024-01-07 12:42 Arthur Zamarin
2024-01-07 12:42 Arthur Zamarin
2023-08-18  6:14 Miroslav Šulc
2023-08-16 19:17 Sam James
2023-08-03 15:10 Sam James
2023-07-27 10:35 Sam James
2023-06-27  7:29 Miroslav Šulc
2023-04-24 15:10 Jakov Smolić
2023-04-24 14:40 Jakov Smolić
2023-04-24 12:38 Jakov Smolić
2023-03-31 12:40 Arthur Zamarin
2022-12-30 17:09 Sam James
2022-12-29 10:06 Florian Schmaus
2022-12-29 10:06 Florian Schmaus

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=1672910561.eeb69624a6100911b847fb1264ed637fd0d37d04.sam@gentoo \
    --to=sam@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