commit: 388aaa96306058add4e6b18e7f923bea06cd49f5 Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net> AuthorDate: Thu Jan 5 10:24:59 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Sun Jan 8 09:35:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388aaa96
net-p2p/biglybt: disable DorkBoxUpdaterPlugin - disables DorkBoxUpdaterPlugin - avoids InaccessibleObjectException on startup Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/28970 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> .../{biglybt-3.2.0.0-r1.ebuild => biglybt-3.2.0.0-r2.ebuild} | 8 +++++++- .../files/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch | 10 ++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild b/net-p2p/biglybt/biglybt-3.2.0.0-r2.ebuild similarity index 91% rename from net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild rename to net-p2p/biglybt/biglybt-3.2.0.0-r2.ebuild index dfe931337994..8847795e7c12 100644 --- a/net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild +++ b/net-p2p/biglybt/biglybt-3.2.0.0-r2.ebuild @@ -58,6 +58,7 @@ DOCS=( PATCHES=( "${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch" + "${FILESDIR}/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch" "${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch" ) @@ -66,8 +67,13 @@ S="${WORKDIR}/BiglyBT-${PV}" src_prepare() { default # AENameServiceDescriptor fails to compile with jdk >= 11 + # https://github.com/BiglySoftware/BiglyBT/pull/2611 # "error: package sun.net.spi.nameservice does not exist" - rm -r core/src/com/biglybt/core/util/spi/AENameServiceDescriptor.java || die + rm -r core/src/com/biglybt/core/util/spi || die + + sed \ + -e '/enable.update/s:true:false: ' \ + -i core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java || die cp -r core/{src,resources} || die find core/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed" diff --git a/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch new file mode 100644 index 000000000000..a1db6dce78ed --- /dev/null +++ b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch @@ -0,0 +1,10 @@ +--- a/uis/src/com/biglybt/ui/swt/systray/SystemTraySWT.java ++++ b/uis/src/com/biglybt/ui/swt/systray/SystemTraySWT.java +@@ -124,7 +124,6 @@ public class SystemTraySWT + SystemTraySWT.core = core; + gm = core.getGlobalManager(); + if (Constants.isUnix) { +- ensureDorkBoxPlugin(core); + } + } + });
