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/files/, net-p2p/biglybt/
Date: Thu,  5 Jan 2023 09:23:11 +0000 (UTC)	[thread overview]
Message-ID: <1672910561.e365f9443478d4231a21377c3718a2f9b19dd7ad.sam@gentoo> (raw)

commit:     e365f9443478d4231a21377c3718a2f9b19dd7ad
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Jan  2 11:30:26 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=e365f944

net-p2p/biglybt: disable SWTUpdateChecker

Closes: https://bugs.gentoo.org/889032
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-p2p/biglybt/biglybt-3.2.0.0.ebuild                 |  7 ++++++-
 .../biglybt-3.2.0.0-disable-SWTUpdateChecker.patch     | 10 ++++++++++
 .../files/biglybt-3.2.0.0-disable-shared-plugins.patch | 18 ++++++++++++++++++
 3 files changed, 34 insertions(+), 1 deletion(-)

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);
+ 	}
+ }


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

Thread overview: 2+ 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 --
2023-12-07 12:53 [gentoo-commits] repo/gentoo:master commit in: net-p2p/biglybt/files/, net-p2p/biglybt/ Miroslav Šulc

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.e365f9443478d4231a21377c3718a2f9b19dd7ad.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