ports/115018: [PATCH] net-p2p/deluge: Update to 0.5.3
Andrey Slusar
anray at FreeBSD.org
Sun Jul 29 20:20:07 UTC 2007
>Number: 115018
>Category: ports
>Synopsis: [PATCH] net-p2p/deluge: Update to 0.5.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 29 20:20:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Andrey Slusar
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Jul 24 22:53:24 EEST 2007 anray at santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
- Update to 0.5.3
>How-To-Repeat:
>Fix:
--- deluge.diff begins here ---
Index: files/patch-setup.py
===================================================================
RCS file: /home/pcvs/ports/net-p2p/deluge/files/patch-setup.py,v
retrieving revision 1.4
diff -u -r1.4 patch-setup.py
--- files/patch-setup.py 6 Jul 2007 04:43:53 -0000 1.4
+++ files/patch-setup.py 29 Jul 2007 20:14:40 -0000
@@ -1,6 +1,13 @@
---- setup.py.orig Thu Jul 5 22:49:16 2007
-+++ setup.py Thu Jul 5 22:55:47 2007
-@@ -105,7 +105,7 @@
+--- setup.py.orig 2007-07-26 09:30:38.000000000 +0300
++++ setup.py 2007-07-26 19:56:18.000000000 +0300
+@@ -101,13 +101,13 @@
+ "-DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1",
+ "-DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1",
+ "-DHAVE_PTHREAD=1", "-DTORRENT_USE_OPENSSL=1", "-DHAVE_SSL=1",
+- "-DNDEBUG", "-O2"]
++ "-DNDEBUG"]
+ if ARCH == "x64":
+ EXTRA_COMPILE_ARGS.append("-DAMD64")
includedirs = ['./libtorrent', './libtorrent/include',
'./libtorrent/include/libtorrent',
@@ -8,17 +15,8 @@
+ '%%LOCALBASE%%/include']
if OS == "linux":
- if os.WEXITSTATUS(os.system('grep -iq "Debian GNU/Linux 4.0\|Ubuntu 7.04\|Ubuntu 6.06\|Ubuntu 6.10\|Fedora Core release 6\|openSUSE 10.2\|Mandriva Linux release 2007.1\|Fedora release 7" /etc/issue')) == 0:
-@@ -117,7 +117,7 @@
- else:
- boosttype = 'mt'
- removals = ['-g', '-Wstrict-prototypes']
-- additions = ['-DNDEBUG', '-O2']
-+ additions = ['-DNDEBUG']
-
- if python_version == '2.5':
- cv_opt = sysconfig.get_config_vars()["CFLAGS"]
-@@ -152,11 +152,11 @@
+ if os.WEXITSTATUS(os.system('grep -iq "Debian GNU/Linux 4.0\|Ubuntu 7.04\|Ubuntu 6.06\|Ubuntu 6.10\|Fedora Core release 6\|openSUSE 10.2\|Mandriva Linux release 2007.1\|Fedora release 7\|BLAG release 60001\|Yellow Dog Linux release 5.0 (Phoenix)" /etc/issue')) == 0:
+@@ -149,11 +149,11 @@
# Ubuntu possible.
if boosttype == "nomt":
librariestype = ['boost_filesystem', 'boost_date_time',
@@ -26,13 +24,13 @@
+ 'boost_thread', 'z', 'ssl']
print 'Libraries nomt'
elif boosttype == "mt":
- librariestype = ['boost_filesystem-mt', 'boost_date_time-mt',
-- 'boost_thread-mt', 'z', 'pthread', 'ssl']
-+ 'boost_thread-mt', 'z', 'ssl']
+ librariestype = ['boost_filesystem', 'boost_date_time',
+- 'boost_thread', 'z', 'pthread', 'ssl']
++ 'boost_thread', 'z', 'ssl']
print 'Libraries mt'
def fetchCpp():
-@@ -175,8 +175,10 @@
+@@ -172,8 +172,10 @@
deluge_core = Extension('deluge_core',
include_dirs = includedirs,
Index: files/patch-src_interface.py
===================================================================
RCS file: /home/pcvs/ports/net-p2p/deluge/files/patch-src_interface.py,v
retrieving revision 1.2
diff -u -r1.2 patch-src_interface.py
--- files/patch-src_interface.py 6 Jul 2007 04:43:53 -0000 1.2
+++ files/patch-src_interface.py 29 Jul 2007 20:14:40 -0000
@@ -1,15 +1,15 @@
---- src/interface.py.orig Thu Jul 5 22:48:09 2007
-+++ src/interface.py Thu Jul 5 22:48:21 2007
-@@ -43,9 +43,9 @@
- def __init__(self):
- APP = 'deluge'
- DIR = os.path.join(common.INSTALL_PREFIX, 'share', 'locale')
-- locale.setlocale(locale.LC_ALL, '')
-- locale.bindtextdomain(APP, DIR)
-- locale.textdomain(APP)
-+# locale.setlocale(locale.LC_ALL, '')
-+# locale.bindtextdomain(APP, DIR)
-+# locale.textdomain(APP)
- gettext.bindtextdomain(APP, DIR)
- gettext.textdomain(APP)
- gettext.install(APP, DIR)
+--- src/interface.py.orig 2007-07-25 03:52:55.000000000 +0300
++++ src/interface.py 2007-07-26 19:58:21.000000000 +0300
+@@ -54,9 +54,9 @@
+ def __init__(self):
+ APP = 'deluge'
+ DIR = os.path.join(common.INSTALL_PREFIX, 'share', 'locale')
+- locale.setlocale(locale.LC_ALL, '')
+- locale.bindtextdomain(APP, DIR)
+- locale.textdomain(APP)
++# locale.setlocale(locale.LC_ALL, '')
++# locale.bindtextdomain(APP, DIR)
++# locale.textdomain(APP)
+ gettext.bindtextdomain(APP, DIR)
+ gettext.textdomain(APP)
+ gettext.install(APP, DIR)
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-p2p/deluge/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 27 Jul 2007 22:02:11 -0000 1.13
+++ Makefile 29 Jul 2007 20:14:40 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= deluge
-PORTVERSION= 0.5.2
+PORTVERSION= 0.5.3
CATEGORIES= net-p2p python
MASTER_SITES= http://download.deluge-torrent.org/tarball/${PORTVERSION}/
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net-p2p/deluge/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 6 Jul 2007 04:43:52 -0000 1.7
+++ distinfo 29 Jul 2007 20:14:40 -0000
@@ -1,3 +1,3 @@
-MD5 (deluge-0.5.2.tar.gz) = 9a33f6b3d7cec3b27cd3044064c10d31
-SHA256 (deluge-0.5.2.tar.gz) = c1073ded5d6cc95bb6e9aa9847109a0d33ad06baaeb399e24ca400f833d91130
-SIZE (deluge-0.5.2.tar.gz) = 672369
+MD5 (deluge-0.5.3.tar.gz) = e642ba3794f183025928568911e03f71
+SHA256 (deluge-0.5.3.tar.gz) = f5af2b7011f9d436b860b7e7fa1c4e2d172dd8b8e02076e39f1347480a759d8d
+SIZE (deluge-0.5.3.tar.gz) = 876586
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net-p2p/deluge/pkg-plist,v
retrieving revision 1.6
diff -u -r1.6 pkg-plist
--- pkg-plist 7 Jul 2007 17:23:27 -0000 1.6
+++ pkg-plist 29 Jul 2007 20:14:40 -0000
@@ -2,6 +2,9 @@
%%PYTHON_SITELIBDIR%%/deluge/__init__.py
%%PYTHON_SITELIBDIR%%/deluge/__init__.pyc
%%PYTHON_SITELIBDIR%%/deluge/__init__.pyo
+%%PYTHON_SITELIBDIR%%/deluge/browser.py
+%%PYTHON_SITELIBDIR%%/deluge/browser.pyc
+%%PYTHON_SITELIBDIR%%/deluge/browser.pyo
%%PYTHON_SITELIBDIR%%/deluge/common.py
%%PYTHON_SITELIBDIR%%/deluge/common.pyc
%%PYTHON_SITELIBDIR%%/deluge/common.pyo
@@ -30,12 +33,20 @@
%%PYTHON_SITELIBDIR%%/deluge/pref.py
%%PYTHON_SITELIBDIR%%/deluge/pref.pyc
%%PYTHON_SITELIBDIR%%/deluge/pref.pyo
+%%PYTHON_SITELIBDIR%%/deluge/tab_details.py
+%%PYTHON_SITELIBDIR%%/deluge/tab_details.pyc
+%%PYTHON_SITELIBDIR%%/deluge/tab_details.pyo
+%%PYTHON_SITELIBDIR%%/deluge/tab_files.py
+%%PYTHON_SITELIBDIR%%/deluge/tab_files.pyc
+%%PYTHON_SITELIBDIR%%/deluge/tab_files.pyo
share/applications/deluge.desktop
%%DATADIR%%/glade/aboutdialog.glade
%%DATADIR%%/glade/delugegtk.glade
%%DATADIR%%/glade/dgtkpopups.glade
%%DATADIR%%/glade/edit_trackers.glade
%%DATADIR%%/glade/file_tab_menu.glade
+%%DATADIR%%/glade/files_dialog.glade
+%%DATADIR%%/glade/merge_dialog.glade
%%DATADIR%%/glade/plugin_dialog.glade
%%DATADIR%%/glade/preferences_dialog.glade
%%DATADIR%%/glade/torrent_menu.glade
@@ -60,19 +71,19 @@
%%DATADIR%%/plugins/BlocklistImport/text.py
%%DATADIR%%/plugins/BlocklistImport/ui.py
%%DATADIR%%/plugins/DesiredRatio/__init__.py
-%%DATADIR%%/plugins/ExamplePlugin/__init__.py
-%%DATADIR%%/plugins/ExamplePlugin/example-plugin.png
-%%DATADIR%%/plugins/ExamplePlugin/example.glade
-%%DATADIR%%/plugins/ExamplePlugin/plugin.py
-%%DATADIR%%/plugins/HelloWorld/__init__.py
%%DATADIR%%/plugins/NetworkGraph/__init__.py
%%DATADIR%%/plugins/NetworkGraph/plugin.py
%%DATADIR%%/plugins/NetworkHealth/__init__.py
%%DATADIR%%/plugins/NetworkHealth/plugin.py
-%%DATADIR%%/plugins/Scheduler/__init__.py
-%%DATADIR%%/plugins/Scheduler/plugin.py
+%%DATADIR%%/plugins/RSS/__init__.py
+%%DATADIR%%/plugins/RSS/feedparser.py
+%%DATADIR%%/plugins/RSS/plugin.py
+%%DATADIR%%/plugins/RSS/rss.glade
+%%DATADIR%%/plugins/RSS/rss.png
%%DATADIR%%/plugins/TorrentCreator/__init__.py
%%DATADIR%%/plugins/TorrentCreator/torrentcreator.glade
+%%DATADIR%%/plugins/TorrentNotification/__init__.py
+%%DATADIR%%/plugins/TorrentNotification/notification_preferences.glade
%%DATADIR%%/plugins/TorrentSearch/__init__.py
%%DATADIR%%/plugins/TorrentSearch/plugin.py
%%DATADIR%%/plugins/TorrentSearch/searchdlg.glade
@@ -122,7 +133,7 @@
share/locale/uk/LC_MESSAGES/deluge.mo
share/locale/zh_CN/LC_MESSAGES/deluge.mo
share/locale/zh_TW/LC_MESSAGES/deluge.mo
-share/pixmaps/deluge.xpm
+share/pixmaps/deluge.png
@dirrmtry share/locale/tlh/LC_MESSAGES
@dirrmtry share/locale/tlh
@dirrmtry share/locale/la/LC_MESSAGES
@@ -131,17 +142,16 @@
@dirrmtry share/locale/ast
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/plugins/TorrentSearch
+ at dirrm %%DATADIR%%/plugins/TorrentNotification
@dirrm %%DATADIR%%/plugins/TorrentCreator
- at dirrm %%DATADIR%%/plugins/Scheduler
+ at dirrm %%DATADIR%%/plugins/RSS
@dirrm %%DATADIR%%/plugins/NetworkHealth
@dirrm %%DATADIR%%/plugins/NetworkGraph
- at dirrm %%DATADIR%%/plugins/HelloWorld
- at dirrm %%DATADIR%%/plugins/ExamplePlugin
@dirrm %%DATADIR%%/plugins/DesiredRatio
@dirrm %%DATADIR%%/plugins/BlocklistImport
@dirrmtry %%DATADIR%%/plugins
- at dirrm %%DATADIR%%/pixmaps
@dirrm %%DATADIR%%/glade
+ at dirrm %%DATADIR%%/pixmaps
@dirrmtry %%DATADIR%%
@dirrmtry share/applications
@dirrm %%PYTHON_SITELIBDIR%%/deluge
--- deluge.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list