aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/deluge
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-12-23 22:09:09 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-12-23 22:09:09 +0000
commit971796b3206c0e78ddbe38c758a62528e8a4c1ef (patch)
tree828a6c91e685291340e1f5282d5a01306a56be25 /net-p2p/deluge
parent85e249a3630fd9d8362c2fda71440dfc38419263 (diff)
downloadports-971796b3206c0e78ddbe38c758a62528e8a4c1ef.tar.gz
ports-971796b3206c0e78ddbe38c758a62528e8a4c1ef.zip
Disable check version update and set invisible option from perference. It's
useless for FreeBSD. Bump the PORTREVISION. Reported by: Aryeh M. Friedman <aryeh.friedman@gmail.com>
Notes
Notes: svn path=/head/; revision=204419
Diffstat (limited to 'net-p2p/deluge')
-rw-r--r--net-p2p/deluge/Makefile2
-rw-r--r--net-p2p/deluge/files/patch-disable_check_update33
2 files changed, 34 insertions, 1 deletions
diff --git a/net-p2p/deluge/Makefile b/net-p2p/deluge/Makefile
index db44a68e886f..02031d8e6f47 100644
--- a/net-p2p/deluge/Makefile
+++ b/net-p2p/deluge/Makefile
@@ -7,7 +7,7 @@
PORTNAME= deluge
PORTVERSION= 0.5.7.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p python
MASTER_SITES= http://download.deluge-torrent.org/tarball/${PORTVERSION}/
diff --git a/net-p2p/deluge/files/patch-disable_check_update b/net-p2p/deluge/files/patch-disable_check_update
new file mode 100644
index 000000000000..45e990bb2a87
--- /dev/null
+++ b/net-p2p/deluge/files/patch-disable_check_update
@@ -0,0 +1,33 @@
+--- glade/preferences_dialog.glade.orig 2007-12-23 15:53:01.000000000 -0600
++++ glade/preferences_dialog.glade 2007-12-23 15:53:35.000000000 -0600
+@@ -2738,7 +2738,7 @@
+ </child>
+ <child>
+ <widget class="GtkFrame" id="frame4">
+- <property name="visible">True</property>
++ <property name="visible">False</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>
+--- src/interface.py.orig 2007-12-23 15:53:04.000000000 -0600
++++ src/interface.py 2007-12-23 15:54:45.000000000 -0600
+@@ -112,9 +112,6 @@
+ # Boolean set to true if window is not minimized and is "visible"
+ self.update_interface = True
+
+- def new_release_check():
+- common.new_release_check()
+-
+ def send_info():
+ import time
+
+@@ -130,9 +127,6 @@
+ else:
+ _run_script()
+
+- if self.config.get("new_releases"):
+- new_release_check()
+-
+ if self.config.get("send_info"):
+ send_info()
+