summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-01-05 11:24:59 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-01-08 10:35:21 +0100
commit388aaa96306058add4e6b18e7f923bea06cd49f5 (patch)
tree8b06642e1e9ccfbb8fa353ac3165e0c697d9906d /net-p2p
parentapp-crypt/adcli: drop old (diff)
downloadgentoo-388aaa96306058add4e6b18e7f923bea06cd49f5.tar.gz
gentoo-388aaa96306058add4e6b18e7f923bea06cd49f5.tar.bz2
gentoo-388aaa96306058add4e6b18e7f923bea06cd49f5.zip
net-p2p/biglybt: disable DorkBoxUpdaterPlugin
- disables DorkBoxUpdaterPlugin - avoids InaccessibleObjectException on startup Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/28970 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/biglybt/biglybt-3.2.0.0-r2.ebuild (renamed from net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild)8
-rw-r--r--net-p2p/biglybt/files/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch10
2 files changed, 17 insertions, 1 deletions
diff --git a/net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild b/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);
+ }
+ }
+ });