diff options
author | miwi <miwi@FreeBSD.org> | 2009-05-29 07:49:42 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-05-29 07:49:42 +0800 |
commit | 669871694e88bf96d87991b7bf59af37dbd7ae81 (patch) | |
tree | 2c6b00e2ef0fead05d59e09791786757d48d1031 /net-p2p | |
parent | d453f21023450ef8d223359a65e6cd22c639ae03 (diff) | |
download | freebsd-ports-graphics-669871694e88bf96d87991b7bf59af37dbd7ae81.tar.gz freebsd-ports-graphics-669871694e88bf96d87991b7bf59af37dbd7ae81.tar.zst freebsd-ports-graphics-669871694e88bf96d87991b7bf59af37dbd7ae81.zip |
- Update to 1.1.8
PR: 135036
Submitted by: Ports Fury
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/deluge/Makefile | 14 | ||||
-rw-r--r-- | net-p2p/deluge/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge__core__preferencesmanager.py | 40 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__main_window.glade | 199 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__preferences_dialog.glade | 119 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge__ui__gtkui__preferences.py | 47 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge__ui__gtkui__signals.py | 24 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge_core_core.py | 93 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge_ui_gtkui_gtkui.py | 35 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-deluge_ui_webui_deluge_webserver.py | 19 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-disable_check_update | 523 | ||||
-rw-r--r-- | net-p2p/deluge/pkg-plist | 16 |
12 files changed, 540 insertions, 595 deletions
diff --git a/net-p2p/deluge/Makefile b/net-p2p/deluge/Makefile index 2061303416b..559d6ef5553 100644 --- a/net-p2p/deluge/Makefile +++ b/net-p2p/deluge/Makefile @@ -6,9 +6,9 @@ # PORTNAME= deluge -PORTVERSION= 1.1.5 +PORTVERSION= 1.1.8 CATEGORIES= net-p2p python -MASTER_SITES= http://ftp.osuosl.org/pub/deluge/source/ +MASTER_SITES= http://download.deluge-torrent.org/source/ MAINTAINER= ports@FreeBSD.org COMMENT= A Bittorrent client, using Python, GTK+2 and Rasterbar libtorrent @@ -25,12 +25,12 @@ USE_GETTEXT= yes USE_OPENSSL= yes USE_PYTHON= yes USE_GCC= 4.3+ +MAKE_ENV= PYTHONPATH="${PYTHONPREFIX_SITELIBDIR}" -MAKE_ENV+= PYTHONPATH=${PYTHONPREFIX_SITELIBDIR} - -DOCS= ChangeLog LICENSE README MAN1= deluge.1 deluged.1 +PLIST_SUB= VERSION="${PORTVERSION}" PYTHON_VER="${PYTHON_VER}" + .if !defined(WITHOUT_PYGTK) RUN_DEPENDS+= xdg-open:${PORTSDIR}/devel/xdg-utils \ ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \ @@ -73,9 +73,9 @@ post-install: .if !defined(WITHOUT_PYGTK) @-update-desktop-database .endif -.ifndef (NOPORTDOCS) +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for i in ${DOCS} +.for i in ChangeLog LICENSE README @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif diff --git a/net-p2p/deluge/distinfo b/net-p2p/deluge/distinfo index c8d1d4695de..904ef703ed6 100644 --- a/net-p2p/deluge/distinfo +++ b/net-p2p/deluge/distinfo @@ -1,3 +1,3 @@ -MD5 (deluge-1.1.5.tar.bz2) = 027fec63e189a39939df6777c0426814 -SHA256 (deluge-1.1.5.tar.bz2) = 8eee6286f8a73461d76062cba5792b3825f5e3a6d5edf7819dbdf5ced7816a9b -SIZE (deluge-1.1.5.tar.bz2) = 2159521 +MD5 (deluge-1.1.8.tar.bz2) = 191a5b14fe8e63e99bc934669a0b3aa7 +SHA256 (deluge-1.1.8.tar.bz2) = d201fc2fb3fa4547d50bd3c461e07de8b215bb7c161d3458a2ed0824a5c1b742 +SIZE (deluge-1.1.8.tar.bz2) = 2145717 diff --git a/net-p2p/deluge/files/patch-deluge__core__preferencesmanager.py b/net-p2p/deluge/files/patch-deluge__core__preferencesmanager.py new file mode 100644 index 00000000000..46f12e8802c --- /dev/null +++ b/net-p2p/deluge/files/patch-deluge__core__preferencesmanager.py @@ -0,0 +1,40 @@ +--- deluge/core/preferencesmanager.py.orig 2009-05-16 03:09:59.000000000 +0900 ++++ deluge/core/preferencesmanager.py 2009-05-28 02:24:21.000000000 +0900 +@@ -105,7 +105,6 @@ + "auto_managed": True, + "move_completed": False, + "move_completed_path": deluge.common.get_default_download_dir(), +- "new_release_check": True, + "proxies": { + "peer": { + "type": 0, +@@ -215,9 +214,6 @@ + self._on_send_info) + self.config.register_set_function("proxies", + self._on_set_proxies) +- self.new_release_timer = None +- self.config.register_set_function("new_release_check", +- self._on_new_release_check) + self.config.register_set_function("rate_limit_ip_overhead", + self._on_rate_limit_ip_overhead) + +@@ -457,19 +453,6 @@ + if value: + Send_Info_Thread(self.config).start() + +- def _on_new_release_check(self, key, value): +- if value: +- log.debug("Checking for new release..") +- threading.Thread(target=self.core.get_new_release).start() +- if self.new_release_timer: +- gobject.source_remove(self.new_release_timer) +- # Set a timer to check for a new release every 3 days +- self.new_release_timer = gobject.timeout_add( +- 72 * 60 * 60 * 1000, self._on_new_release_check, "new_release_check", True) +- else: +- if self.new_release_timer: +- gobject.source_remove(self.new_release_timer) +- + def _on_set_proxies(self, key, value): + for k, v in value.items(): + if v["type"]: diff --git a/net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__main_window.glade b/net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__main_window.glade new file mode 100644 index 00000000000..797e6724604 --- /dev/null +++ b/net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__main_window.glade @@ -0,0 +1,199 @@ +--- deluge/ui/gtkui/glade/main_window.glade.orig 2009-05-16 14:47:35.000000000 +0900 ++++ deluge/ui/gtkui/glade/main_window.glade 2009-05-28 02:25:00.000000000 +0900 +@@ -2403,196 +2403,6 @@ + </widget> + </child> + </widget> +- <widget class="GtkDialog" id="new_release_dialog"> +- <property name="border_width">5</property> +- <property name="title" translatable="yes">New Release</property> +- <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property> +- <property name="icon_name">deluge</property> +- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> +- <property name="has_separator">False</property> +- <child internal-child="vbox"> +- <widget class="GtkVBox" id="dialog-vbox2"> +- <property name="visible">True</property> +- <property name="spacing">2</property> +- <child> +- <widget class="GtkVBox" id="vbox7"> +- <property name="visible">True</property> +- <property name="border_width">10</property> +- <property name="spacing">5</property> +- <child> +- <widget class="GtkHBox" id="hbox3"> +- <property name="visible">True</property> +- <property name="spacing">5</property> +- <child> +- <widget class="GtkImage" id="image_new_release"> +- <property name="visible">True</property> +- <property name="stock">gtk-missing-image</property> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- </packing> +- </child> +- <child> +- <widget class="GtkLabel" id="label23"> +- <property name="visible">True</property> +- <property name="label" translatable="yes"><b><big>New Release Available!</big></b></property> +- <property name="use_markup">True</property> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- <property name="position">1</property> +- </packing> +- </child> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- </packing> +- </child> +- <child> +- <widget class="GtkHSeparator" id="hseparator2"> +- <property name="visible">True</property> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="position">1</property> +- </packing> +- </child> +- <child> +- <widget class="GtkAlignment" id="alignment11"> +- <property name="visible">True</property> +- <property name="left_padding">5</property> +- <child> +- <widget class="GtkTable" id="table2"> +- <property name="visible">True</property> +- <property name="n_rows">2</property> +- <property name="n_columns">2</property> +- <property name="column_spacing">10</property> +- <property name="row_spacing">2</property> +- <child> +- <widget class="GtkLabel" id="label24"> +- <property name="visible">True</property> +- <property name="xalign">0</property> +- <property name="label" translatable="yes"><i>Current Version:</i></property> +- <property name="use_markup">True</property> +- </widget> +- <packing> +- <property name="x_options">GTK_FILL</property> +- </packing> +- </child> +- <child> +- <widget class="GtkLabel" id="label_current_version"> +- <property name="visible">True</property> +- </widget> +- <packing> +- <property name="left_attach">1</property> +- <property name="right_attach">2</property> +- <property name="x_options"></property> +- </packing> +- </child> +- <child> +- <widget class="GtkLabel" id="label25"> +- <property name="visible">True</property> +- <property name="xalign">0</property> +- <property name="label" translatable="yes"><i>Available Version:</i></property> +- <property name="use_markup">True</property> +- </widget> +- <packing> +- <property name="top_attach">1</property> +- <property name="bottom_attach">2</property> +- <property name="x_options">GTK_FILL</property> +- </packing> +- </child> +- <child> +- <widget class="GtkLabel" id="label_available_version"> +- <property name="visible">True</property> +- </widget> +- <packing> +- <property name="left_attach">1</property> +- <property name="right_attach">2</property> +- <property name="top_attach">1</property> +- <property name="bottom_attach">2</property> +- <property name="x_options"></property> +- </packing> +- </child> +- </widget> +- </child> +- </widget> +- <packing> +- <property name="position">2</property> +- </packing> +- </child> +- <child> +- <widget class="GtkAlignment" id="alignment10"> +- <property name="visible">True</property> +- <property name="top_padding">5</property> +- <child> +- <widget class="GtkCheckButton" id="chk_do_not_show_new_release"> +- <property name="visible">True</property> +- <property name="can_focus">True</property> +- <property name="label" translatable="yes">Do not show this dialog in the future</property> +- <property name="response_id">0</property> +- <property name="draw_indicator">True</property> +- </widget> +- </child> +- </widget> +- <packing> +- <property name="position">3</property> +- </packing> +- </child> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- <property name="position">1</property> +- </packing> +- </child> +- <child internal-child="action_area"> +- <widget class="GtkHButtonBox" id="dialog-action_area2"> +- <property name="visible">True</property> +- <property name="layout_style">GTK_BUTTONBOX_END</property> +- <child> +- <widget class="GtkButton" id="button_close_new_release"> +- <property name="visible">True</property> +- <property name="can_focus">True</property> +- <property name="receives_default">True</property> +- <property name="label">gtk-close</property> +- <property name="use_stock">True</property> +- <property name="response_id">0</property> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- </packing> +- </child> +- <child> +- <widget class="GtkButton" id="button_goto_downloads"> +- <property name="visible">True</property> +- <property name="can_focus">True</property> +- <property name="receives_default">True</property> +- <property name="label" translatable="yes">_Goto Website</property> +- <property name="use_underline">True</property> +- <property name="response_id">0</property> +- <signal name="clicked" handler="on_button1_clicked"/> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- <property name="position">1</property> +- </packing> +- </child> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- <property name="pack_type">GTK_PACK_END</property> +- </packing> +- </child> +- </widget> +- </child> +- </widget> + <widget class="GtkMenu" id="menu_peer_tab"> + <property name="visible">True</property> + <child> diff --git a/net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__preferences_dialog.glade b/net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__preferences_dialog.glade new file mode 100644 index 00000000000..185d664b069 --- /dev/null +++ b/net-p2p/deluge/files/patch-deluge__ui__gtkui__glade__preferences_dialog.glade @@ -0,0 +1,119 @@ +--- deluge/ui/gtkui/glade/preferences_dialog.glade.orig 2009-03-16 03:38:08.000000000 +0900 ++++ deluge/ui/gtkui/glade/preferences_dialog.glade 2009-05-28 02:38:57.000000000 +0900 +@@ -2070,66 +2070,6 @@ + </packing> + </child> + <child> +- <widget class="GtkFrame" id="frame19"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="label_xalign">0</property> +- <property name="shadow_type">GTK_SHADOW_NONE</property> +- <child> +- <widget class="GtkAlignment" id="alignment35"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="top_padding">2</property> +- <property name="left_padding">12</property> +- <child> +- <widget class="GtkVBox" id="vbox18"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <child> +- <widget class="GtkAlignment" id="alignment36"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <child> +- <widget class="GtkCheckButton" id="chk_show_new_releases"> +- <property name="visible">True</property> +- <property name="can_focus">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="tooltip" translatable="yes">Deluge will check our servers and will tell you if a newer version has been released</property> +- <property name="label" translatable="yes">Be alerted about new releases</property> +- <property name="response_id">0</property> +- <property name="draw_indicator">True</property> +- </widget> +- </child> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- </packing> +- </child> +- </widget> +- </child> +- </widget> +- </child> +- <child> +- <widget class="GtkLabel" id="label43"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="label" translatable="yes"><b>Updates</b></property> +- <property name="use_markup">True</property> +- </widget> +- <packing> +- <property name="type">label_item</property> +- </packing> +- </child> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- <property name="padding">5</property> +- <property name="position">2</property> +- </packing> +- </child> +- <child> + <widget class="GtkFrame" id="frame20"> + <property name="visible">True</property> + <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +@@ -2381,49 +2321,6 @@ + <property name="position">3</property> + </packing> + </child> +- <child> +- <widget class="GtkFrame" id="frame22"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="label_xalign">0</property> +- <property name="shadow_type">GTK_SHADOW_NONE</property> +- <child> +- <widget class="GtkAlignment" id="alignment27"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="top_padding">5</property> +- <property name="left_padding">10</property> +- <child> +- <widget class="GtkCheckButton" id="chk_new_releases"> +- <property name="visible">True</property> +- <property name="can_focus">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="label" translatable="yes">Periodically check the website for new releases</property> +- <property name="response_id">0</property> +- <property name="draw_indicator">True</property> +- </widget> +- </child> +- </widget> +- </child> +- <child> +- <widget class="GtkLabel" id="label56"> +- <property name="visible">True</property> +- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> +- <property name="label" translatable="yes"><b>Other</b></property> +- <property name="use_markup">True</property> +- </widget> +- <packing> +- <property name="type">label_item</property> +- </packing> +- </child> +- </widget> +- <packing> +- <property name="expand">False</property> +- <property name="fill">False</property> +- <property name="padding">5</property> +- <property name="position">4</property> +- </packing> +- </child> + </widget> + </child> + </widget> diff --git a/net-p2p/deluge/files/patch-deluge__ui__gtkui__preferences.py b/net-p2p/deluge/files/patch-deluge__ui__gtkui__preferences.py new file mode 100644 index 00000000000..a4ba8325a2f --- /dev/null +++ b/net-p2p/deluge/files/patch-deluge__ui__gtkui__preferences.py @@ -0,0 +1,47 @@ +--- deluge/ui/gtkui/preferences.py.orig 2009-04-07 05:24:02.000000000 +0900 ++++ deluge/ui/gtkui/preferences.py 2009-05-28 02:39:06.000000000 +0900 +@@ -231,7 +231,6 @@ + "chk_natpmp": ("active", self.core_config["natpmp"]), + "chk_utpex": ("active", self.core_config["utpex"]), + "chk_lsd": ("active", self.core_config["lsd"]), +- "chk_new_releases": ("active", self.core_config["new_release_check"]), + "chk_send_info": ("active", self.core_config["send_info"]), + "combo_encin": ("active", self.core_config["enc_in_policy"]), + "combo_encout": ("active", self.core_config["enc_out_policy"]), +@@ -372,7 +371,6 @@ + "chk_utpex", + "chk_lsd", + "chk_send_info", +- "chk_new_releases", + "combo_encin", + "combo_encout", + "combo_enclevel", +@@ -438,10 +436,6 @@ + self.glade.get_widget("chk_show_rate_in_title").set_active( + self.gtkui_config["show_rate_in_title"]) + +- ## Other tab ## +- self.glade.get_widget("chk_show_new_releases").set_active( +- self.gtkui_config["show_new_releases"]) +- + ## Notification tab ## + self.glade.get_widget("chk_ntf_tray_blink").set_active( + self.gtkui_config["ntf_tray_blink"]) +@@ -654,8 +648,6 @@ + new_gtkui_config["ntf_security"] = 'TLS' + + ## Other tab ## +- new_gtkui_config["show_new_releases"] = \ +- self.glade.get_widget("chk_show_new_releases").get_active() + new_core_config["send_info"] = \ + self.glade.get_widget("chk_send_info").get_active() + +@@ -664,8 +656,6 @@ + self.glade.get_widget("spin_daemon_port").get_value_as_int() + new_core_config["allow_remote"] = \ + self.glade.get_widget("chk_allow_remote_connections").get_active() +- new_core_config["new_release_check"] = \ +- self.glade.get_widget("chk_new_releases").get_active() + + ## Proxy tab ## + new_core_config["proxies"] = {} diff --git a/net-p2p/deluge/files/patch-deluge__ui__gtkui__signals.py b/net-p2p/deluge/files/patch-deluge__ui__gtkui__signals.py new file mode 100644 index 00000000000..3a75a2b2f1e --- /dev/null +++ b/net-p2p/deluge/files/patch-deluge__ui__gtkui__signals.py @@ -0,0 +1,24 @@ +--- deluge/ui/gtkui/signals.py.orig 2009-04-07 05:24:02.000000000 +0900 ++++ deluge/ui/gtkui/signals.py 2009-05-28 02:39:16.000000000 +0900 +@@ -72,8 +72,6 @@ + self.torrent_queue_changed) + self.receiver.connect_to_signal("torrent_resume_at_stop_ratio", + self.torrent_resume_at_stop_ratio) +- self.receiver.connect_to_signal("new_version_available", +- self.new_version_available) + self.receiver.connect_to_signal("args_from_external", + self.args_from_external) + self.receiver.connect_to_signal("torrent_state_changed", +@@ -152,12 +150,6 @@ + component.get("StatusBar").display_warning( + text=_("Torrent is past stop ratio.")) + +- def new_version_available(self, value): +- log.debug("new_version_available: %s", value) +- if self.config["show_new_releases"]: +- from deluge.ui.gtkui.new_release_dialog import NewReleaseDialog +- NewReleaseDialog().show(value) +- + def args_from_external(self, value): + log.debug("args_from_external: %s", value) + import ipcinterface diff --git a/net-p2p/deluge/files/patch-deluge_core_core.py b/net-p2p/deluge/files/patch-deluge_core_core.py index 6343f89b290..38f64b35de5 100644 --- a/net-p2p/deluge/files/patch-deluge_core_core.py +++ b/net-p2p/deluge/files/patch-deluge_core_core.py @@ -1,19 +1,76 @@ ---- deluge/core/core.py.orig 2009-01-17 11:31:58.000000000 -0600 -+++ deluge/core/core.py 2009-01-17 11:33:32.000000000 -0600 -@@ -115,11 +115,11 @@ +--- deluge/core/core.py.orig 2009-05-16 03:09:59.000000000 +0900 ++++ deluge/core/core.py 2009-05-28 02:42:12.000000000 +0900 +@@ -232,9 +227,6 @@ + # Start the AuthManager + self.authmanager = AuthManager() - # Initialize gettext - try: -- locale.setlocale(locale.LC_ALL, '') -- if hasattr(locale, "bindtextdomain"): -- locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) -- if hasattr(locale, "textdomain"): -- locale.textdomain("deluge") -+# locale.setlocale(locale.LC_ALL, '') -+# if hasattr(locale, "bindtextdomain"): -+# locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) -+# if hasattr(locale, "textdomain"): -+# locale.textdomain("deluge") - gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) - gettext.textdomain("deluge") - gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n")) +- # New release check information +- self.new_release = None +- + component.start("PreferencesManager") + component.start() + +@@ -319,54 +311,6 @@ + except Exception, e: + log.warning("Failed to save dht state: %s", e) + +- def get_new_release(self): +- log.debug("get_new_release") +- from urllib2 import urlopen +- try: +- self.new_release = urlopen( +- "http://download.deluge-torrent.org/version-1.0").read().strip() +- except Exception, e: +- log.debug("Unable to get release info from website: %s", e) +- return +- self.check_new_release() +- +- def check_new_release(self): +- if self.new_release: +- log.debug("new_release: %s", self.new_release) +- class VersionSplit(object): +- def __init__(self, ver): +- ver = ver.lower() +- vs = ver.split("_") if "_" in ver else ver.split("-") +- self.version = vs[0] +- self.suffix = None +- if len(vs) > 1: +- for s in ("rc", "alpha", "beta", "dev"): +- if s in vs[1][:len(s)]: +- self.suffix = vs[1] +- +- def __cmp__(self, ver): +- if self.version > ver.version or (self.suffix and self.suffix[:3] == "dev"): +- return 1 +- if self.version < ver.version: +- return -1 +- +- if self.version == ver.version: +- if self.suffix == ver.suffix: +- return 0 +- if self.suffix is None: +- return 1 +- if ver.suffix is None: +- return -1 +- if self.suffix < ver.suffix: +- return -1 +- if self.suffix > ver.suffix: +- return 1 +- +- if VersionSplit(self.new_release) > VersionSplit(deluge.common.get_version()): +- self.signals.emit("new_version_available", self.new_release) +- return self.new_release +- return False +- + # Exported Methods + def export_ping(self): + """A method to see if the core is running""" +@@ -381,8 +325,6 @@ + """Registers a client with the signal manager so that signals are + sent to it.""" + self.signals.register_client(self.client_address, port) +- if self.config["new_release_check"]: +- self.check_new_release() + + def export_deregister_client(self): + """De-registers a client with the signal manager.""" diff --git a/net-p2p/deluge/files/patch-deluge_ui_gtkui_gtkui.py b/net-p2p/deluge/files/patch-deluge_ui_gtkui_gtkui.py index 74c8d7aef2a..f351f99b3e0 100644 --- a/net-p2p/deluge/files/patch-deluge_ui_gtkui_gtkui.py +++ b/net-p2p/deluge/files/patch-deluge_ui_gtkui_gtkui.py @@ -1,17 +1,18 @@ ---- deluge/ui/gtkui/gtkui.py.orig 2009-02-21 16:50:22.000000000 -0600 -+++ deluge/ui/gtkui/gtkui.py 2009-02-21 16:50:24.000000000 -0600 -@@ -119,10 +119,10 @@ - - # Initialize gettext - try: -- if hasattr(locale, "bindtextdomain"): -- locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) -- if hasattr(locale, "textdomain"): -- locale.textdomain("deluge") -+# if hasattr(locale, "bindtextdomain"): -+# locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) -+# if hasattr(locale, "textdomain"): -+# locale.textdomain("deluge") - gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) - gettext.textdomain("deluge") - gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n")) +--- deluge/ui/gtkui/gtkui.py.orig 2009-04-10 01:40:52.000000000 +0900 ++++ deluge/ui/gtkui/gtkui.py 2009-05-27 04:37:04.000000000 +0900 +@@ -81,7 +81,6 @@ + "start_in_tray": False, + "lock_tray": False, + "tray_password": "", +- "check_new_releases": True, + "default_load_path": None, + "window_maximized": False, + "window_x_pos": 0, +@@ -101,7 +100,6 @@ + "autoadd_enable": False, + "autoadd_location": "", + "choose_directory_dialog_path": deluge.common.get_default_download_dir(), +- "show_new_releases": True, + "signal_port": 40000, + "ntf_tray_blink": True, + "ntf_sound": False, diff --git a/net-p2p/deluge/files/patch-deluge_ui_webui_deluge_webserver.py b/net-p2p/deluge/files/patch-deluge_ui_webui_deluge_webserver.py deleted file mode 100644 index 0aa626e4747..00000000000 --- a/net-p2p/deluge/files/patch-deluge_ui_webui_deluge_webserver.py +++ /dev/null @@ -1,19 +0,0 @@ ---- deluge/ui/webui/deluge_webserver.py.orig 2009-01-17 11:35:46.000000000 -0600 -+++ deluge/ui/webui/deluge_webserver.py 2009-01-17 11:35:59.000000000 -0600 -@@ -35,11 +35,11 @@ - - # Initialize gettext - try: -- locale.setlocale(locale.LC_ALL, '') -- if hasattr(locale, "bindtextdomain"): -- locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) -- if hasattr(locale, "textdomain"): -- locale.textdomain("deluge") -+# locale.setlocale(locale.LC_ALL, '') -+# if hasattr(locale, "bindtextdomain"): -+# locale.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) -+# if hasattr(locale, "textdomain"): -+# locale.textdomain("deluge") - gettext.bindtextdomain("deluge", pkg_resources.resource_filename("deluge", "i18n")) - gettext.textdomain("deluge") - gettext.install("deluge", pkg_resources.resource_filename("deluge", "i18n")) diff --git a/net-p2p/deluge/files/patch-disable_check_update b/net-p2p/deluge/files/patch-disable_check_update deleted file mode 100644 index 773b6f84fa5..00000000000 --- a/net-p2p/deluge/files/patch-disable_check_update +++ /dev/null @@ -1,523 +0,0 @@ ---- deluge/core/core.py.orig 2009-01-17 11:39:22.000000000 -0600 -+++ deluge/core/core.py 2009-01-17 11:40:58.000000000 -0600 -@@ -216,9 +216,6 @@ - # Start the AuthManager - self.authmanager = AuthManager() - -- # New release check information -- self.new_release = None -- - component.start("PreferencesManager") - component.start() - -@@ -303,54 +300,6 @@ - except Exception, e: - log.warning("Failed to save dht state: %s", e) - -- def get_new_release(self): -- log.debug("get_new_release") -- from urllib2 import urlopen -- try: -- self.new_release = urlopen( -- "http://download.deluge-torrent.org/version-1.0").read().strip() -- except Exception, e: -- log.debug("Unable to get release info from website: %s", e) -- return -- self.check_new_release() -- -- def check_new_release(self): -- if self.new_release: -- log.debug("new_release: %s", self.new_release) -- class VersionSplit(object): -- def __init__(self, ver): -- ver = ver.lower() -- vs = ver.split("_") if "_" in ver else ver.split("-") -- self.version = vs[0] -- self.suffix = None -- if len(vs) > 1: -- for s in ("rc", "alpha", "beta", "dev"): -- if s in vs[1][:len(s)]: -- self.suffix = vs[1] -- -- def __cmp__(self, ver): -- if self.version > ver.version or (self.suffix and self.suffix[:3] == "dev"): -- return 1 -- if self.version < ver.version: -- return -1 -- -- if self.version == ver.version: -- if self.suffix == ver.suffix: -- return 0 -- if self.suffix is None: -- return 1 -- if ver.suffix is None: -- return -1 -- if self.suffix < ver.suffix: -- return -1 -- if self.suffix > ver.suffix: -- return 1 -- -- if VersionSplit(self.new_release) > VersionSplit(deluge.common.get_version()): -- self.signals.emit("new_version_available", self.new_release) -- return self.new_release -- return False -- - # Exported Methods - def export_ping(self): - """A method to see if the core is running""" -@@ -365,8 +314,6 @@ - """Registers a client with the signal manager so that signals are - sent to it.""" - self.signals.register_client(self.client_address, port) -- if self.config["new_release_check"]: -- self.check_new_release() - - def export_deregister_client(self): - """De-registers a client with the signal manager.""" ---- deluge/core/preferencesmanager.py.orig 2009-01-17 11:48:36.000000000 -0600 -+++ deluge/core/preferencesmanager.py 2009-01-17 11:48:42.000000000 -0600 -@@ -93,7 +93,6 @@ - "auto_managed": True, - "move_completed": False, - "move_completed_path": deluge.common.get_default_download_dir(), -- "new_release_check": True, - "proxies": { - "peer": { - "type": 0, -@@ -203,9 +202,6 @@ - self._on_send_info) - self.config.register_set_function("proxies", - self._on_set_proxies) -- self.new_release_timer = None -- self.config.register_set_function("new_release_check", -- self._on_new_release_check) - self.config.register_set_function("rate_limit_ip_overhead", - self._on_rate_limit_ip_overhead) - -@@ -444,19 +440,6 @@ - if value: - Send_Info_Thread(self.config).start() - -- def _on_new_release_check(self, key, value): -- if value: -- log.debug("Checking for new release..") -- threading.Thread(target=self.core.get_new_release).start() -- if self.new_release_timer: -- gobject.source_remove(self.new_release_timer) -- # Set a timer to check for a new release every 3 days -- self.new_release_timer = gobject.timeout_add( -- 72 * 60 * 60 * 1000, self._on_new_release_check, "new_release_check", True) -- else: -- if self.new_release_timer: -- gobject.source.remove(self.new_release_timer) -- - def _on_set_proxies(self, key, value): - for k, v in value.items(): - if v["type"]: ---- deluge/ui/gtkui/glade/main_window.glade.orig 2009-03-17 22:54:36.000000000 -0500 -+++ deluge/ui/gtkui/glade/main_window.glade 2009-03-17 22:55:10.000000000 -0500 -@@ -2404,196 +2404,6 @@ - </widget> - </child> - </widget> -- <widget class="GtkDialog" id="new_release_dialog"> -- <property name="border_width">5</property> -- <property name="title" translatable="yes">New Release</property> -- <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property> -- <property name="icon_name">deluge</property> -- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property> -- <property name="has_separator">False</property> -- <child internal-child="vbox"> -- <widget class="GtkVBox" id="dialog-vbox2"> -- <property name="visible">True</property> -- <property name="spacing">2</property> -- <child> -- <widget class="GtkVBox" id="vbox7"> -- <property name="visible">True</property> -- <property name="border_width">10</property> -- <property name="spacing">5</property> -- <child> -- <widget class="GtkHBox" id="hbox3"> -- <property name="visible">True</property> -- <property name="spacing">5</property> -- <child> -- <widget class="GtkImage" id="image_new_release"> -- <property name="visible">True</property> -- <property name="stock">gtk-missing-image</property> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- <child> -- <widget class="GtkLabel" id="label23"> -- <property name="visible">True</property> -- <property name="label" translatable="yes"><b><big>New Release Available!</big></b></property> -- <property name="use_markup">True</property> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- <property name="position">1</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- <child> -- <widget class="GtkHSeparator" id="hseparator2"> -- <property name="visible">True</property> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="position">1</property> -- </packing> -- </child> -- <child> -- <widget class="GtkAlignment" id="alignment11"> -- <property name="visible">True</property> -- <property name="left_padding">5</property> -- <child> -- <widget class="GtkTable" id="table2"> -- <property name="visible">True</property> -- <property name="n_rows">2</property> -- <property name="n_columns">2</property> -- <property name="column_spacing">10</property> -- <property name="row_spacing">2</property> -- <child> -- <widget class="GtkLabel" id="label24"> -- <property name="visible">True</property> -- <property name="xalign">0</property> -- <property name="label" translatable="yes"><i>Current Version:</i></property> -- <property name="use_markup">True</property> -- </widget> -- <packing> -- <property name="x_options">GTK_FILL</property> -- </packing> -- </child> -- <child> -- <widget class="GtkLabel" id="label_current_version"> -- <property name="visible">True</property> -- </widget> -- <packing> -- <property name="left_attach">1</property> -- <property name="right_attach">2</property> -- <property name="x_options"></property> -- </packing> -- </child> -- <child> -- <widget class="GtkLabel" id="label25"> -- <property name="visible">True</property> -- <property name="xalign">0</property> -- <property name="label" translatable="yes"><i>Available Version:</i></property> -- <property name="use_markup">True</property> -- </widget> -- <packing> -- <property name="top_attach">1</property> -- <property name="bottom_attach">2</property> -- <property name="x_options">GTK_FILL</property> -- </packing> -- </child> -- <child> -- <widget class="GtkLabel" id="label_available_version"> -- <property name="visible">True</property> -- </widget> -- <packing> -- <property name="left_attach">1</property> -- <property name="right_attach">2</property> -- <property name="top_attach">1</property> -- <property name="bottom_attach">2</property> -- <property name="x_options"></property> -- </packing> -- </child> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="position">2</property> -- </packing> -- </child> -- <child> -- <widget class="GtkAlignment" id="alignment10"> -- <property name="visible">True</property> -- <property name="top_padding">5</property> -- <child> -- <widget class="GtkCheckButton" id="chk_do_not_show_new_release"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="label" translatable="yes">Do not show this dialog in the future</property> -- <property name="response_id">0</property> -- <property name="draw_indicator">True</property> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="position">3</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- <property name="position">1</property> -- </packing> -- </child> -- <child internal-child="action_area"> -- <widget class="GtkHButtonBox" id="dialog-action_area2"> -- <property name="visible">True</property> -- <property name="layout_style">GTK_BUTTONBOX_END</property> -- <child> -- <widget class="GtkButton" id="button_close_new_release"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="receives_default">True</property> -- <property name="label">gtk-close</property> -- <property name="use_stock">True</property> -- <property name="response_id">0</property> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- <child> -- <widget class="GtkButton" id="button_goto_downloads"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="receives_default">True</property> -- <property name="label" translatable="yes">_Goto Website</property> -- <property name="use_underline">True</property> -- <property name="response_id">0</property> -- <signal name="clicked" handler="on_button1_clicked"/> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- <property name="position">1</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- <property name="pack_type">GTK_PACK_END</property> -- </packing> -- </child> -- </widget> -- </child> -- </widget> - <widget class="GtkMenu" id="menu_peer_tab"> - <property name="visible">True</property> - <child> ---- deluge/ui/gtkui/glade/preferences_dialog.glade.orig 2009-01-17 11:39:34.000000000 -0600 -+++ deluge/ui/gtkui/glade/preferences_dialog.glade 2009-01-17 11:43:26.000000000 -0600 -@@ -2070,66 +2070,6 @@ - </packing> - </child> - <child> -- <widget class="GtkFrame" id="frame19"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="label_xalign">0</property> -- <property name="shadow_type">GTK_SHADOW_NONE</property> -- <child> -- <widget class="GtkAlignment" id="alignment35"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="top_padding">2</property> -- <property name="left_padding">12</property> -- <child> -- <widget class="GtkVBox" id="vbox18"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <child> -- <widget class="GtkAlignment" id="alignment36"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <child> -- <widget class="GtkCheckButton" id="chk_show_new_releases"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="tooltip" translatable="yes">Deluge will check our servers and will tell you if a newer version has been released</property> -- <property name="label" translatable="yes">Be alerted about new releases</property> -- <property name="response_id">0</property> -- <property name="draw_indicator">True</property> -- </widget> -- </child> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- </packing> -- </child> -- </widget> -- </child> -- </widget> -- </child> -- <child> -- <widget class="GtkLabel" id="label43"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="label" translatable="yes"><b>Updates</b></property> -- <property name="use_markup">True</property> -- </widget> -- <packing> -- <property name="type">label_item</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- <property name="padding">5</property> -- <property name="position">2</property> -- </packing> -- </child> -- <child> - <widget class="GtkFrame" id="frame20"> - <property name="visible">True</property> - <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -@@ -2381,49 +2321,6 @@ - <property name="position">3</property> - </packing> - </child> -- <child> -- <widget class="GtkFrame" id="frame22"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="label_xalign">0</property> -- <property name="shadow_type">GTK_SHADOW_NONE</property> -- <child> -- <widget class="GtkAlignment" id="alignment27"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="top_padding">5</property> -- <property name="left_padding">10</property> -- <child> -- <widget class="GtkCheckButton" id="chk_new_releases"> -- <property name="visible">True</property> -- <property name="can_focus">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="label" translatable="yes">Periodically check the website for new releases</property> -- <property name="response_id">0</property> -- <property name="draw_indicator">True</property> -- </widget> -- </child> -- </widget> -- </child> -- <child> -- <widget class="GtkLabel" id="label56"> -- <property name="visible">True</property> -- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> -- <property name="label" translatable="yes"><b>Other</b></property> -- <property name="use_markup">True</property> -- </widget> -- <packing> -- <property name="type">label_item</property> -- </packing> -- </child> -- </widget> -- <packing> -- <property name="expand">False</property> -- <property name="fill">False</property> -- <property name="padding">5</property> -- <property name="position">4</property> -- </packing> -- </child> - </widget> - </child> - </widget> ---- deluge/ui/gtkui/gtkui.py.orig 2009-01-17 11:39:41.000000000 -0600 -+++ deluge/ui/gtkui/gtkui.py 2009-01-17 11:44:09.000000000 -0600 -@@ -69,7 +69,6 @@ - "start_in_tray": False, - "lock_tray": False, - "tray_password": "", -- "check_new_releases": True, - "default_load_path": None, - "window_maximized": False, - "window_x_pos": 0, -@@ -89,7 +88,6 @@ - "autoadd_enable": False, - "autoadd_location": "", - "choose_directory_dialog_path": deluge.common.get_default_download_dir(), -- "show_new_releases": True, - "signal_port": 40000, - "ntf_tray_blink": True, - "ntf_sound": False, ---- deluge/ui/gtkui/preferences.py.orig 2009-01-17 11:39:46.000000000 -0600 -+++ deluge/ui/gtkui/preferences.py 2009-01-17 11:45:11.000000000 -0600 -@@ -219,7 +219,6 @@ - "chk_natpmp": ("active", self.core_config["natpmp"]), - "chk_utpex": ("active", self.core_config["utpex"]), - "chk_lsd": ("active", self.core_config["lsd"]), -- "chk_new_releases": ("active", self.core_config["new_release_check"]), - "chk_send_info": ("active", self.core_config["send_info"]), - "combo_encin": ("active", self.core_config["enc_in_policy"]), - "combo_encout": ("active", self.core_config["enc_out_policy"]), -@@ -360,7 +359,6 @@ - "chk_utpex", - "chk_lsd", - "chk_send_info", -- "chk_new_releases", - "combo_encin", - "combo_encout", - "combo_enclevel", -@@ -426,10 +424,6 @@ - self.glade.get_widget("chk_show_rate_in_title").set_active( - self.gtkui_config["show_rate_in_title"]) - -- ## Other tab ## -- self.glade.get_widget("chk_show_new_releases").set_active( -- self.gtkui_config["show_new_releases"]) -- - ## Notification tab ## - self.glade.get_widget("chk_ntf_tray_blink").set_active( - self.gtkui_config["ntf_tray_blink"]) -@@ -639,8 +633,6 @@ - new_gtkui_config["ntf_security"] = 'TLS' - - ## Other tab ## -- new_gtkui_config["show_new_releases"] = \ -- self.glade.get_widget("chk_show_new_releases").get_active() - new_core_config["send_info"] = \ - self.glade.get_widget("chk_send_info").get_active() - -@@ -649,8 +641,6 @@ - self.glade.get_widget("spin_daemon_port").get_value_as_int() - new_core_config["allow_remote"] = \ - self.glade.get_widget("chk_allow_remote_connections").get_active() -- new_core_config["new_release_check"] = \ -- self.glade.get_widget("chk_new_releases").get_active() - - ## Proxy tab ## - new_core_config["proxies"] = {} ---- deluge/ui/gtkui/signals.py.orig 2009-01-17 11:39:51.000000000 -0600 -+++ deluge/ui/gtkui/signals.py 2009-01-17 11:46:08.000000000 -0600 -@@ -60,8 +60,6 @@ - self.torrent_queue_changed) - self.receiver.connect_to_signal("torrent_resume_at_stop_ratio", - self.torrent_resume_at_stop_ratio) -- self.receiver.connect_to_signal("new_version_available", -- self.new_version_available) - self.receiver.connect_to_signal("args_from_external", - self.args_from_external) - self.receiver.connect_to_signal("torrent_state_changed", -@@ -140,12 +138,6 @@ - component.get("StatusBar").display_warning( - text=_("Torrent is past stop ratio.")) - -- def new_version_available(self, value): -- log.debug("new_version_available: %s", value) -- if self.config["show_new_releases"]: -- from deluge.ui.gtkui.new_release_dialog import NewReleaseDialog -- NewReleaseDialog().show(value) -- - def args_from_external(self, value): - log.debug("args_from_external: %s", value) - import ipcinterface diff --git a/net-p2p/deluge/pkg-plist b/net-p2p/deluge/pkg-plist index 5285d50c58d..0ed68442fd6 100644 --- a/net-p2p/deluge/pkg-plist +++ b/net-p2p/deluge/pkg-plist @@ -1,10 +1,10 @@ bin/deluge bin/deluged -%%PYTHON_SITELIBDIR%%/deluge-1.1.5-py2.5.egg-info/PKG-INFO -%%PYTHON_SITELIBDIR%%/deluge-1.1.5-py2.5.egg-info/SOURCES.txt -%%PYTHON_SITELIBDIR%%/deluge-1.1.5-py2.5.egg-info/dependency_links.txt -%%PYTHON_SITELIBDIR%%/deluge-1.1.5-py2.5.egg-info/entry_points.txt -%%PYTHON_SITELIBDIR%%/deluge-1.1.5-py2.5.egg-info/top_level.txt +%%PYTHON_SITELIBDIR%%/deluge-%%VERSION%%-py%%PYTHON_VER%%.egg-info/PKG-INFO +%%PYTHON_SITELIBDIR%%/deluge-%%VERSION%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt +%%PYTHON_SITELIBDIR%%/deluge-%%VERSION%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt +%%PYTHON_SITELIBDIR%%/deluge-%%VERSION%%-py%%PYTHON_VER%%.egg-info/entry_points.txt +%%PYTHON_SITELIBDIR%%/deluge-%%VERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt %%PYTHON_SITELIBDIR%%/deluge/SimpleXMLRPCServer.py %%PYTHON_SITELIBDIR%%/deluge/SimpleXMLRPCServer.pyc %%PYTHON_SITELIBDIR%%/deluge/SimpleXMLRPCServer.pyo @@ -427,8 +427,8 @@ bin/deluged %%PYTHON_SITELIBDIR%%/deluge/pluginmanagerbase.py %%PYTHON_SITELIBDIR%%/deluge/pluginmanagerbase.pyc %%PYTHON_SITELIBDIR%%/deluge/pluginmanagerbase.pyo -%%PYTHON_SITELIBDIR%%/deluge/plugins/Blocklist-1.0-py2.5.egg -%%PYTHON_SITELIBDIR%%/deluge/plugins/Label-0.1-py2.5.egg +%%PYTHON_SITELIBDIR%%/deluge/plugins/Blocklist-1.0-py%%PYTHON_VER%%.egg +%%PYTHON_SITELIBDIR%%/deluge/plugins/Label-0.1-py%%PYTHON_VER%%.egg %%PYTHON_SITELIBDIR%%/deluge/plugins/__init__.py %%PYTHON_SITELIBDIR%%/deluge/plugins/__init__.pyc %%PYTHON_SITELIBDIR%%/deluge/plugins/__init__.pyo @@ -1174,7 +1174,7 @@ share/pixmaps/deluge.xpm @dirrm %%PYTHON_SITELIBDIR%%/deluge/data/pixmaps @dirrm %%PYTHON_SITELIBDIR%%/deluge/data @dirrm %%PYTHON_SITELIBDIR%%/deluge/core -@dirrm %%PYTHON_SITELIBDIR%%/deluge-1.1.5-py2.5.egg-info +@dirrm %%PYTHON_SITELIBDIR%%/deluge-%%VERSION%%-py%%PYTHON_VER%%.egg-info @dirrm %%PYTHON_SITELIBDIR%%/deluge @exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true @unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |