svn commit: r464430 - in head/net-p2p/deluge-cli: . files

Ruslan Makhmatkhanov rm at FreeBSD.org
Tue Mar 13 20:44:19 UTC 2018


Author: rm
Date: Tue Mar 13 20:44:18 2018
New Revision: 464430
URL: https://svnweb.freebsd.org/changeset/ports/464430

Log:
  net-p2p/deluge-cli: fix runtime
  
  Add upstream patch to fix bug with opening preferences window.
  This patch closing https://dev.deluge-torrent.org/ticket/3039
  
  PR:		226443
  Submitted by:	Rainbow <rainbow at sanitylinux.org>
  MFH:		2018Q1

Added:
  head/net-p2p/deluge-cli/files/patch-deluge_ui_gtkui_preferences.py   (contents, props changed)
Modified:
  head/net-p2p/deluge-cli/Makefile

Modified: head/net-p2p/deluge-cli/Makefile
==============================================================================
--- head/net-p2p/deluge-cli/Makefile	Tue Mar 13 20:32:20 2018	(r464429)
+++ head/net-p2p/deluge-cli/Makefile	Tue Mar 13 20:44:18 2018	(r464430)
@@ -3,7 +3,7 @@
 PORTNAME=	deluge
 DISTVERSIONPREFIX=	${PORTNAME}-
 DISTVERSION=	1.3.15
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-p2p python
 PKGNAMESUFFIX=	-cli
 

Added: head/net-p2p/deluge-cli/files/patch-deluge_ui_gtkui_preferences.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/deluge-cli/files/patch-deluge_ui_gtkui_preferences.py	Tue Mar 13 20:44:18 2018	(r464430)
@@ -0,0 +1,20 @@
+Closing upstream bug-report: https://dev.deluge-torrent.org/ticket/3039
+
+Index: deluge/ui/gtkui/preferences.py
+===================================================================
+--- deluge/ui/gtkui/preferences.py.orig	2017-05-12 12:57:19 UTC
++++ deluge/ui/gtkui/preferences.py
+@@ -318,11 +318,8 @@ class Preferences(component.Component):
+             }
+             # Add proxy stuff
+ 
+-            # Display workaround for single proxy in libtorrent >v0.16
+-            try:
+-                lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
+-            except AttributeError:
+-                lt_single_proxy = False
++            # Display workaround for single proxy in libtorrent >= v0.16
++            lt_single_proxy = True
+ 
+             for t in ("peer", "web_seed", "tracker", "dht"):
+                 if lt_single_proxy and not t == "peer":


More information about the svn-ports-all mailing list