public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/deluge/files/
Date: Fri,  4 Mar 2016 08:44:43 +0000 (UTC)	[thread overview]
Message-ID: <1456757067.c7a49e7c181fd8041bdfa9c62a9971dd3b98392d.idella4@gentoo> (raw)

commit:     c7a49e7c181fd8041bdfa9c62a9971dd3b98392d
Author:     Paolo Pedroni <paolo.pedroni <AT> iol <DOT> it>
AuthorDate: Mon Feb 29 14:44:27 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Feb 29 14:44:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a49e7c

net-p2p/deluge: remove unused patch

This file is no longer needed

 ...uge-1.3.5-rb_libtorrent-disable-python-bindings | 60 ----------------------
 1 file changed, 60 deletions(-)

diff --git a/net-p2p/deluge/files/deluge-1.3.5-rb_libtorrent-disable-python-bindings b/net-p2p/deluge/files/deluge-1.3.5-rb_libtorrent-disable-python-bindings
deleted file mode 100644
index 301019e..0000000
--- a/net-p2p/deluge/files/deluge-1.3.5-rb_libtorrent-disable-python-bindings
+++ /dev/null
@@ -1,60 +0,0 @@
-https://bugs.gentoo.org/show_bug.cgi?id=437356
-
-From 37ea2854a21e50debdf7bc953a3411e5934b74d9 Mon Sep 17 00:00:00 2001
-From: Calum Lind <calumlind+deluge@gmail.com>
-Date: Thu, 27 Sep 2012 16:53:22 +0000
-Subject: Fix 2160 : Disable use of python bindings for libtorrent extensions and replace with session flag
-
-The fixes a GIL issue causing libtorrent segfault. https://code.google.com/p/libtorrent/issues/detail?id=369
-
-Note: The ut_pex plugin (Peer Exchange) will now always be enabled.
----
-diff --git a/deluge/core/core.py b/deluge/core/core.py
-index 4bda811..4ca3d96 100644
---- a/deluge/core/core.py
-+++ b/deluge/core/core.py
-@@ -84,7 +84,10 @@ class Core(component.Component):
-         while len(version) < 4:
-             version.append(0)
- 
--        self.session = lt.session(lt.fingerprint("DE", *version), flags=0)
-+        # Note: All libtorrent python bindings to set plugins/extensions need to be disabled
-+        # due to  GIL issue. https://code.google.com/p/libtorrent/issues/detail?id=369
-+        # Setting session flags to 1 enables all libtorrent default plugins
-+        self.session = lt.session(lt.fingerprint("DE", *version), flags=1)
- 
-         # Load the session state if available
-         self.__load_session_state()
-@@ -103,9 +106,11 @@ class Core(component.Component):
-         self.session.set_settings(self.settings)
- 
-         # Load metadata extension
--        self.session.add_extension(lt.create_metadata_plugin)
--        self.session.add_extension(lt.create_ut_metadata_plugin)
--        self.session.add_extension(lt.create_smart_ban_plugin)
-+        # Note: All libtorrent python bindings to set plugins/extensions need to be disabled
-+        # due to  GIL issue. https://code.google.com/p/libtorrent/issues/detail?id=369
-+        # self.session.add_extension(lt.create_metadata_plugin)
-+        # self.session.add_extension(lt.create_ut_metadata_plugin)
-+        # self.session.add_extension(lt.create_smart_ban_plugin)
- 
-         # Create the components
-         self.eventmanager = EventManager()
-diff --git a/deluge/core/preferencesmanager.py b/deluge/core/preferencesmanager.py
-index 40070bb..2a5cb1b 100644
---- a/deluge/core/preferencesmanager.py
-+++ b/deluge/core/preferencesmanager.py
-@@ -338,7 +338,10 @@ class PreferencesManager(component.Component):
-     def _on_set_utpex(self, key, value):
-         log.debug("utpex value set to %s", value)
-         if value:
--            self.session.add_extension(lt.create_ut_pex_plugin)
-+            # Note: All libtorrent python bindings to set plugins/extensions need to be disabled
-+            # due to  GIL issue. https://code.google.com/p/libtorrent/issues/detail?id=369
-+            #self.session.add_extension(lt.create_ut_pex_plugin)
-+            pass
- 
-     def _on_set_encryption(self, key, value):
-         log.debug("encryption value %s set to %s..", key, value)
---
-cgit v0.9.0.2


             reply	other threads:[~2016-03-04  8:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04  8:44 Ian Delaney [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-05 23:03 [gentoo-commits] repo/gentoo:master commit in: net-p2p/deluge/files/ Conrad Kostecki
2020-04-30 18:46 Andreas Sturmlechner
2020-04-27 13:48 Mikle Kolyada
2019-10-21 13:25 Craig Andrews
2017-12-20 22:13 Kristian Fiskerstrand
2016-03-10 10:34 Patrice Clement
2016-03-10 10:34 Patrice Clement
2016-03-10 10:34 Patrice Clement
2016-02-28 20:38 Kristian Fiskerstrand
2016-02-28 20:38 Kristian Fiskerstrand
2016-02-28 20:38 Kristian Fiskerstrand
2016-02-16 18:21 Kristian Fiskerstrand
2016-02-16 18:21 Kristian Fiskerstrand
2016-02-16 18:21 Kristian Fiskerstrand
2016-02-16 18:21 Kristian Fiskerstrand

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=1456757067.c7a49e7c181fd8041bdfa9c62a9971dd3b98392d.idella4@gentoo \
    --to=idella4@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