diff options
author | mezz <mezz@FreeBSD.org> | 2007-03-08 03:28:28 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-03-08 03:28:28 +0800 |
commit | 56c7b36b176f910671346529061f34f6532ed2b2 (patch) | |
tree | 4be77beb723f033d43269859c9dc6ac118078c6b /net-p2p | |
parent | 9fe49bc741d294ffa17a7f5782c8542b8f33a84e (diff) | |
download | freebsd-ports-gnome-56c7b36b176f910671346529061f34f6532ed2b2.tar.gz freebsd-ports-gnome-56c7b36b176f910671346529061f34f6532ed2b2.tar.zst freebsd-ports-gnome-56c7b36b176f910671346529061f34f6532ed2b2.zip |
Update to 0.4.99.1 as in Deluge 0.5 Release Candidate 1.
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/deluge/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/deluge/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-setup.py | 8 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-src_deluge_core.cpp | 12 | ||||
-rw-r--r-- | net-p2p/deluge/files/patch-src_delugegtk.py | 50 | ||||
-rw-r--r-- | net-p2p/deluge/pkg-plist | 66 | ||||
-rw-r--r-- | net-p2p/deluge05/Makefile | 7 | ||||
-rw-r--r-- | net-p2p/deluge05/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/deluge05/files/patch-setup.py | 8 | ||||
-rw-r--r-- | net-p2p/deluge05/files/patch-src_deluge_core.cpp | 12 | ||||
-rw-r--r-- | net-p2p/deluge05/files/patch-src_delugegtk.py | 50 | ||||
-rw-r--r-- | net-p2p/deluge05/pkg-plist | 66 |
12 files changed, 184 insertions, 114 deletions
diff --git a/net-p2p/deluge/Makefile b/net-p2p/deluge/Makefile index 7b4393263532..41f0a531f65e 100644 --- a/net-p2p/deluge/Makefile +++ b/net-p2p/deluge/Makefile @@ -6,7 +6,7 @@ # PORTNAME= deluge -PORTVERSION= 0.4.90.3 +PORTVERSION= 0.4.99.1 CATEGORIES= net-p2p python MASTER_SITES= http://deluge-torrent.org/downloads/ @@ -17,7 +17,7 @@ LIB_DEPENDS= boost_thread.3:${PORTSDIR}/devel/boost RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \ ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus -USE_GNOME= pygtk2 +USE_GNOME= pygtk2 desktopfileutils USE_PYTHON= yes USE_PYDISTUTILS=yes @@ -27,8 +27,9 @@ post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' ${WRKSRC}/setup.py -.ifndef (NOPORTDOCS) post-install: + @-update-desktop-database +.ifndef (NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} diff --git a/net-p2p/deluge/distinfo b/net-p2p/deluge/distinfo index f6d764b27466..6ea4203c412f 100644 --- a/net-p2p/deluge/distinfo +++ b/net-p2p/deluge/distinfo @@ -1,3 +1,3 @@ -MD5 (deluge-0.4.90.3.tar.gz) = eecdbae003a9240d93ec023d7a81cd97 -SHA256 (deluge-0.4.90.3.tar.gz) = ab20445917020c05984e252be46f188155cbf928dcd93ae6dff2b5ec727ad8fc -SIZE (deluge-0.4.90.3.tar.gz) = 470203 +MD5 (deluge-0.4.99.1.tar.gz) = 631c45e864a27df4925ecec8e8db415f +SHA256 (deluge-0.4.99.1.tar.gz) = 596a6141c4e5a006cf26127e0fc3614c9517a66025d1227153312a418ce43af2 +SIZE (deluge-0.4.99.1.tar.gz) = 512688 diff --git a/net-p2p/deluge/files/patch-setup.py b/net-p2p/deluge/files/patch-setup.py index fe3f68d5c867..9fbfc5ca0639 100644 --- a/net-p2p/deluge/files/patch-setup.py +++ b/net-p2p/deluge/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py.orig Thu Mar 1 18:27:45 2007 -+++ setup.py Fri Mar 2 18:38:43 2007 -@@ -44,7 +44,7 @@ +--- setup.py.orig Tue Mar 6 21:43:47 2007 ++++ setup.py Tue Mar 6 21:45:44 2007 +@@ -51,7 +51,7 @@ # removals = ['-g', '-DNDEBUG', '-O2', '-Wstrict-prototypes'] @@ -9,7 +9,7 @@ if pythonVersion == '2.5': cv_opt = sysconfig.get_config_vars()["CFLAGS"] -@@ -78,12 +78,14 @@ +@@ -85,12 +85,14 @@ deluge_core = Extension('deluge_core', include_dirs = ['./libtorrent', './libtorrent/include', './libtorrent/include/libtorrent', diff --git a/net-p2p/deluge/files/patch-src_deluge_core.cpp b/net-p2p/deluge/files/patch-src_deluge_core.cpp deleted file mode 100644 index 656a51348ced..000000000000 --- a/net-p2p/deluge/files/patch-src_deluge_core.cpp +++ /dev/null @@ -1,12 +0,0 @@ -Index: /trunk/src/deluge_core.cpp -=================================================================== ---- src/deluge_core.cpp (revision 205) -+++ src/deluge_core.cpp (revision 292) -@@ -861,4 +861,7 @@ - "pieces", py_pieces - ); -+ -+ Py_DECREF(py_pieces); // Assuming the previous line does NOT steal the ref, then this is -+ // needed! - - PyTuple_SetItem(ret, i, peer_info); diff --git a/net-p2p/deluge/files/patch-src_delugegtk.py b/net-p2p/deluge/files/patch-src_delugegtk.py index f2d1cba3e84f..0a0bf5e99919 100644 --- a/net-p2p/deluge/files/patch-src_delugegtk.py +++ b/net-p2p/deluge/files/patch-src_delugegtk.py @@ -1,35 +1,15 @@ -Index: /trunk/src/delugegtk.py -=================================================================== ---- src/delugegtk.py (revision 288) -+++ src/delugegtk.py (revision 289) -@@ -695,6 +695,5 @@ - self.wtree.get_widget("toolbutton_pause").set_stock_id(gtk.STOCK_MEDIA_PAUSE) - except KeyError: -- pass -- self.saved_peer_info = None -+ pass - - -@@ -744,8 +743,5 @@ - unique_id = self.get_selected_torrent() - -- self.saved_peer_info = self.manager.get_torrent_peer_info(unique_id) -- -- -- new_peer_info = self.saved_peer_info -+ new_peer_info = self.manager.get_torrent_peer_info(unique_id) - - new_ips = {} -@@ -782,4 +778,12 @@ - dcommon.frate(peer["download_speed"]), - dcommon.frate(peer["upload_speed"])]) -+ #print new_ips -+ #print curr_ips -+ #print new_peer_info -+ del new_peer_info -+ del new_ips -+ del curr_ips -+ -+ - - elif tab == 2: #File List +--- src/delugegtk.py.orig Tue Mar 6 20:46:00 2007 ++++ src/delugegtk.py Tue Mar 6 22:42:58 2007 +@@ -33,9 +33,9 @@ + def __init__(self): + APP = 'deluge' + DIR = os.path.join(dcommon.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) diff --git a/net-p2p/deluge/pkg-plist b/net-p2p/deluge/pkg-plist index c29b7b15fa91..25dd770305ff 100644 --- a/net-p2p/deluge/pkg-plist +++ b/net-p2p/deluge/pkg-plist @@ -49,8 +49,72 @@ share/applications/deluge.desktop %%DATADIR%%/plugins/TorrentSearch/searchdlg.glade %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README +share/locale/bg/LC_MESSAGES/deluge.mo +share/locale/ca/LC_MESSAGES/deluge.mo +share/locale/cs/LC_MESSAGES/deluge.mo +share/locale/da/LC_MESSAGES/deluge.mo +share/locale/de/LC_MESSAGES/deluge.mo +share/locale/el/LC_MESSAGES/deluge.mo +share/locale/en_CA/LC_MESSAGES/deluge.mo +share/locale/en_GB/LC_MESSAGES/deluge.mo +share/locale/es/LC_MESSAGES/deluge.mo +share/locale/et/LC_MESSAGES/deluge.mo +share/locale/eu/LC_MESSAGES/deluge.mo +share/locale/fi/LC_MESSAGES/deluge.mo +share/locale/fr/LC_MESSAGES/deluge.mo +share/locale/gl/LC_MESSAGES/deluge.mo +share/locale/he/LC_MESSAGES/deluge.mo +share/locale/hr/LC_MESSAGES/deluge.mo +share/locale/hu/LC_MESSAGES/deluge.mo +share/locale/it/LC_MESSAGES/deluge.mo +share/locale/ja/LC_MESSAGES/deluge.mo +share/locale/ko/LC_MESSAGES/deluge.mo +share/locale/la/LC_MESSAGES/deluge.mo +share/locale/lt/LC_MESSAGES/deluge.mo +share/locale/lv/LC_MESSAGES/deluge.mo +share/locale/nb/LC_MESSAGES/deluge.mo +share/locale/nl/LC_MESSAGES/deluge.mo +share/locale/pl/LC_MESSAGES/deluge.mo +share/locale/pt/LC_MESSAGES/deluge.mo +share/locale/pt_BR/LC_MESSAGES/deluge.mo +share/locale/ru/LC_MESSAGES/deluge.mo +share/locale/sk/LC_MESSAGES/deluge.mo +share/locale/sl/LC_MESSAGES/deluge.mo +share/locale/sr/LC_MESSAGES/deluge.mo +share/locale/sv/LC_MESSAGES/deluge.mo +share/locale/tr/LC_MESSAGES/deluge.mo +share/locale/zh_CN/LC_MESSAGES/deluge.mo +share/locale/zh_TW/LC_MESSAGES/deluge.mo share/pixmaps/deluge.xpm @dirrmtry share/pixmaps +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/sk/LC_MESSAGES +@dirrmtry share/locale/sk +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/la/LC_MESSAGES +@dirrmtry share/locale/la +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/plugins/TorrentSearch @dirrm %%DATADIR%%/plugins/NetworkHealth @@ -63,3 +127,5 @@ share/pixmaps/deluge.xpm @dirrm %%DATADIR%% @dirrmtry share/applications @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 diff --git a/net-p2p/deluge05/Makefile b/net-p2p/deluge05/Makefile index 7b4393263532..41f0a531f65e 100644 --- a/net-p2p/deluge05/Makefile +++ b/net-p2p/deluge05/Makefile @@ -6,7 +6,7 @@ # PORTNAME= deluge -PORTVERSION= 0.4.90.3 +PORTVERSION= 0.4.99.1 CATEGORIES= net-p2p python MASTER_SITES= http://deluge-torrent.org/downloads/ @@ -17,7 +17,7 @@ LIB_DEPENDS= boost_thread.3:${PORTSDIR}/devel/boost RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \ ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus -USE_GNOME= pygtk2 +USE_GNOME= pygtk2 desktopfileutils USE_PYTHON= yes USE_PYDISTUTILS=yes @@ -27,8 +27,9 @@ post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; \ s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g' ${WRKSRC}/setup.py -.ifndef (NOPORTDOCS) post-install: + @-update-desktop-database +.ifndef (NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} diff --git a/net-p2p/deluge05/distinfo b/net-p2p/deluge05/distinfo index f6d764b27466..6ea4203c412f 100644 --- a/net-p2p/deluge05/distinfo +++ b/net-p2p/deluge05/distinfo @@ -1,3 +1,3 @@ -MD5 (deluge-0.4.90.3.tar.gz) = eecdbae003a9240d93ec023d7a81cd97 -SHA256 (deluge-0.4.90.3.tar.gz) = ab20445917020c05984e252be46f188155cbf928dcd93ae6dff2b5ec727ad8fc -SIZE (deluge-0.4.90.3.tar.gz) = 470203 +MD5 (deluge-0.4.99.1.tar.gz) = 631c45e864a27df4925ecec8e8db415f +SHA256 (deluge-0.4.99.1.tar.gz) = 596a6141c4e5a006cf26127e0fc3614c9517a66025d1227153312a418ce43af2 +SIZE (deluge-0.4.99.1.tar.gz) = 512688 diff --git a/net-p2p/deluge05/files/patch-setup.py b/net-p2p/deluge05/files/patch-setup.py index fe3f68d5c867..9fbfc5ca0639 100644 --- a/net-p2p/deluge05/files/patch-setup.py +++ b/net-p2p/deluge05/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py.orig Thu Mar 1 18:27:45 2007 -+++ setup.py Fri Mar 2 18:38:43 2007 -@@ -44,7 +44,7 @@ +--- setup.py.orig Tue Mar 6 21:43:47 2007 ++++ setup.py Tue Mar 6 21:45:44 2007 +@@ -51,7 +51,7 @@ # removals = ['-g', '-DNDEBUG', '-O2', '-Wstrict-prototypes'] @@ -9,7 +9,7 @@ if pythonVersion == '2.5': cv_opt = sysconfig.get_config_vars()["CFLAGS"] -@@ -78,12 +78,14 @@ +@@ -85,12 +85,14 @@ deluge_core = Extension('deluge_core', include_dirs = ['./libtorrent', './libtorrent/include', './libtorrent/include/libtorrent', diff --git a/net-p2p/deluge05/files/patch-src_deluge_core.cpp b/net-p2p/deluge05/files/patch-src_deluge_core.cpp deleted file mode 100644 index 656a51348ced..000000000000 --- a/net-p2p/deluge05/files/patch-src_deluge_core.cpp +++ /dev/null @@ -1,12 +0,0 @@ -Index: /trunk/src/deluge_core.cpp -=================================================================== ---- src/deluge_core.cpp (revision 205) -+++ src/deluge_core.cpp (revision 292) -@@ -861,4 +861,7 @@ - "pieces", py_pieces - ); -+ -+ Py_DECREF(py_pieces); // Assuming the previous line does NOT steal the ref, then this is -+ // needed! - - PyTuple_SetItem(ret, i, peer_info); diff --git a/net-p2p/deluge05/files/patch-src_delugegtk.py b/net-p2p/deluge05/files/patch-src_delugegtk.py index f2d1cba3e84f..0a0bf5e99919 100644 --- a/net-p2p/deluge05/files/patch-src_delugegtk.py +++ b/net-p2p/deluge05/files/patch-src_delugegtk.py @@ -1,35 +1,15 @@ -Index: /trunk/src/delugegtk.py -=================================================================== ---- src/delugegtk.py (revision 288) -+++ src/delugegtk.py (revision 289) -@@ -695,6 +695,5 @@ - self.wtree.get_widget("toolbutton_pause").set_stock_id(gtk.STOCK_MEDIA_PAUSE) - except KeyError: -- pass -- self.saved_peer_info = None -+ pass - - -@@ -744,8 +743,5 @@ - unique_id = self.get_selected_torrent() - -- self.saved_peer_info = self.manager.get_torrent_peer_info(unique_id) -- -- -- new_peer_info = self.saved_peer_info -+ new_peer_info = self.manager.get_torrent_peer_info(unique_id) - - new_ips = {} -@@ -782,4 +778,12 @@ - dcommon.frate(peer["download_speed"]), - dcommon.frate(peer["upload_speed"])]) -+ #print new_ips -+ #print curr_ips -+ #print new_peer_info -+ del new_peer_info -+ del new_ips -+ del curr_ips -+ -+ - - elif tab == 2: #File List +--- src/delugegtk.py.orig Tue Mar 6 20:46:00 2007 ++++ src/delugegtk.py Tue Mar 6 22:42:58 2007 +@@ -33,9 +33,9 @@ + def __init__(self): + APP = 'deluge' + DIR = os.path.join(dcommon.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) diff --git a/net-p2p/deluge05/pkg-plist b/net-p2p/deluge05/pkg-plist index c29b7b15fa91..25dd770305ff 100644 --- a/net-p2p/deluge05/pkg-plist +++ b/net-p2p/deluge05/pkg-plist @@ -49,8 +49,72 @@ share/applications/deluge.desktop %%DATADIR%%/plugins/TorrentSearch/searchdlg.glade %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/README +share/locale/bg/LC_MESSAGES/deluge.mo +share/locale/ca/LC_MESSAGES/deluge.mo +share/locale/cs/LC_MESSAGES/deluge.mo +share/locale/da/LC_MESSAGES/deluge.mo +share/locale/de/LC_MESSAGES/deluge.mo +share/locale/el/LC_MESSAGES/deluge.mo +share/locale/en_CA/LC_MESSAGES/deluge.mo +share/locale/en_GB/LC_MESSAGES/deluge.mo +share/locale/es/LC_MESSAGES/deluge.mo +share/locale/et/LC_MESSAGES/deluge.mo +share/locale/eu/LC_MESSAGES/deluge.mo +share/locale/fi/LC_MESSAGES/deluge.mo +share/locale/fr/LC_MESSAGES/deluge.mo +share/locale/gl/LC_MESSAGES/deluge.mo +share/locale/he/LC_MESSAGES/deluge.mo +share/locale/hr/LC_MESSAGES/deluge.mo +share/locale/hu/LC_MESSAGES/deluge.mo +share/locale/it/LC_MESSAGES/deluge.mo +share/locale/ja/LC_MESSAGES/deluge.mo +share/locale/ko/LC_MESSAGES/deluge.mo +share/locale/la/LC_MESSAGES/deluge.mo +share/locale/lt/LC_MESSAGES/deluge.mo +share/locale/lv/LC_MESSAGES/deluge.mo +share/locale/nb/LC_MESSAGES/deluge.mo +share/locale/nl/LC_MESSAGES/deluge.mo +share/locale/pl/LC_MESSAGES/deluge.mo +share/locale/pt/LC_MESSAGES/deluge.mo +share/locale/pt_BR/LC_MESSAGES/deluge.mo +share/locale/ru/LC_MESSAGES/deluge.mo +share/locale/sk/LC_MESSAGES/deluge.mo +share/locale/sl/LC_MESSAGES/deluge.mo +share/locale/sr/LC_MESSAGES/deluge.mo +share/locale/sv/LC_MESSAGES/deluge.mo +share/locale/tr/LC_MESSAGES/deluge.mo +share/locale/zh_CN/LC_MESSAGES/deluge.mo +share/locale/zh_TW/LC_MESSAGES/deluge.mo share/pixmaps/deluge.xpm @dirrmtry share/pixmaps +@dirrmtry share/locale/zh_TW/LC_MESSAGES +@dirrmtry share/locale/zh_TW +@dirrmtry share/locale/zh_CN/LC_MESSAGES +@dirrmtry share/locale/zh_CN +@dirrmtry share/locale/sr/LC_MESSAGES +@dirrmtry share/locale/sr +@dirrmtry share/locale/sl/LC_MESSAGES +@dirrmtry share/locale/sl +@dirrmtry share/locale/sk/LC_MESSAGES +@dirrmtry share/locale/sk +@dirrmtry share/locale/pt/LC_MESSAGES +@dirrmtry share/locale/pt +@dirrmtry share/locale/pl/LC_MESSAGES +@dirrmtry share/locale/pl +@dirrmtry share/locale/la/LC_MESSAGES +@dirrmtry share/locale/la +@dirrmtry share/locale/ko/LC_MESSAGES +@dirrmtry share/locale/ko +@dirrmtry share/locale/gl/LC_MESSAGES +@dirrmtry share/locale/gl +@dirrmtry share/locale/fi/LC_MESSAGES +@dirrmtry share/locale/fi +@dirrmtry share/locale/el/LC_MESSAGES +@dirrmtry share/locale/el +@dirrmtry share/locale/cs/LC_MESSAGES +@dirrmtry share/locale/cs +@dirrmtry share/locale/ca/LC_MESSAGES +@dirrmtry share/locale/ca %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/plugins/TorrentSearch @dirrm %%DATADIR%%/plugins/NetworkHealth @@ -63,3 +127,5 @@ share/pixmaps/deluge.xpm @dirrm %%DATADIR%% @dirrmtry share/applications @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 |