summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-01-02 12:30:26 +0100
committerSam James <sam@gentoo.org>2023-01-05 09:22:41 +0000
commite365f9443478d4231a21377c3718a2f9b19dd7ad (patch)
treecfd5ff288eba6221c5e7d699e330e474b3f5e7fb /net-p2p
parentprofiles: drop obsolete dev-lang/python-exec[python_targets_python3_11] unmas... (diff)
downloadgentoo-e365f9443478d4231a21377c3718a2f9b19dd7ad.tar.gz
gentoo-e365f9443478d4231a21377c3718a2f9b19dd7ad.tar.bz2
gentoo-e365f9443478d4231a21377c3718a2f9b19dd7ad.zip
net-p2p/biglybt: disable SWTUpdateChecker
Closes: https://bugs.gentoo.org/889032 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/biglybt/biglybt-3.2.0.0.ebuild7
-rw-r--r--net-p2p/biglybt/files/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch10
-rw-r--r--net-p2p/biglybt/files/biglybt-3.2.0.0-disable-shared-plugins.patch18
3 files changed, 34 insertions, 1 deletions
diff --git a/net-p2p/biglybt/biglybt-3.2.0.0.ebuild b/net-p2p/biglybt/biglybt-3.2.0.0.ebuild
index 1bc1a2708f1c..67831c7d368b 100644
--- a/net-p2p/biglybt/biglybt-3.2.0.0.ebuild
+++ b/net-p2p/biglybt/biglybt-3.2.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Skeleton command:
@@ -53,6 +53,11 @@ DOCS=(
TRANSLATE.md
)
+PATCHES=(
+ "${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch"
+ "${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch"
+)
+
S="${WORKDIR}/BiglyBT-${PV}"
src_prepare() {
diff --git a/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch
new file mode 100644
index 000000000000..b801a20c93c2
--- /dev/null
+++ b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch
@@ -0,0 +1,10 @@
+--- a/uis/src/com/biglybt/ui/swt/updater2/SWTUpdateChecker.java
++++ b/uis/src/com/biglybt/ui/swt/updater2/SWTUpdateChecker.java
+@@ -65,7 +65,6 @@ public class SWTUpdateChecker implements UpdatableComponent
+ public static void
+ initialize()
+ {
+- PluginInitializer.getDefaultInterface().getUpdateManager().registerUpdatableComponent(new SWTUpdateChecker(),true);
+ }
+
+ public SWTUpdateChecker() {
diff --git a/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-shared-plugins.patch b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-shared-plugins.patch
new file mode 100644
index 000000000000..fe110d590692
--- /dev/null
+++ b/net-p2p/biglybt/files/biglybt-3.2.0.0-disable-shared-plugins.patch
@@ -0,0 +1,18 @@
+--- a/uis/src/com/biglybt/ui/swt/plugininstaller/IPWFilePanel.java
++++ b/uis/src/com/biglybt/ui/swt/plugininstaller/IPWFilePanel.java
+@@ -162,12 +162,12 @@ public class IPWFilePanel extends AbstractWizardPanel<InstallPluginWizard> {
+ }
+
+ public boolean
+- isNextEnabled()
++ isFinishEnabled()
+ {
+ return valid;
+ }
+
+- public IWizardPanel<InstallPluginWizard> getNextPanel() {
+- return new IPWInstallModePanel(wizard,this);
++ public IWizardPanel<InstallPluginWizard> getFinishPanel() {
++ return new IPWFinishPanel(wizard,this);
+ }
+ }