From 947189473c97b9038157c11fcfc4968c8ade491a Mon Sep 17 00:00:00 2001 From: abs Date: Sun, 22 Jul 2007 08:38:57 +0000 Subject: Updated net/ktorrent from 2.1.4 to 2.2: Changes in 2.2 : - Allow user to create torrents without tracker - Double clicking on files in files tab opens them Changes in 2.2rc1 - Revamped plugin settings page, looks much nicer now. - Scan dialog now has only one button cancel, which becomes close when the scan is finished - Add max seed time feature - Add download and seed time columns in view Changes in 2.2beta1 - Ditch KMDI in favor of KDevelop IDEA code - Infowidget has been fully moved to the bottom tabbar - Possibility to open as many views as needed - By default a downloads and uploads tab is now shown - Immediatly hide system tray icon at exit - Make sure to many files open bug is very unlikely to happen - Search plugin tab has now become a toolbar - Added option to fully preallocate diskspace for torrents - Added support for seeding from readonly filesystems - Make sure FileView remembers it's state - Sleep time of upload and download is now configurable through a CPU usage slider in the settings - Added option to move finished downloads to a different directory - Readded feature to show the total and the number of running torrents in the tab of each view - Added progress bar in status bar when searching - Redesigned FileSelectDlg - Added option to add torrent to group when loading - Added option to choose download directory for torrent when loading - Added option to copy .torrent files to user specified directory - Show torrent path when trying to load a corrupt torrent from torX/ directory - Added speed limits for individual torrents - Added dynamic diskspace checking. - Added option to disable diskspace preallocation - Improved system tray popup icon : we now use boxed style KPassivePopup instead of Qt tooltips, it also only disappears when the cursor is moved away from the tray icon and the text can be updated - The log now gets autorotated when it gets larger then 10 MB - Import dialog is now network transparent for the torrent file - Added statistics plugin which was developed by Krzysztof Kundzicz --- net/ktorrent/Makefile | 4 ++-- net/ktorrent/PLIST | 13 +++++-------- net/ktorrent/distinfo | 11 ++++++----- net/ktorrent/patches/patch-aa | 6 +++--- net/ktorrent/patches/patch-ab | 13 +++++++++++++ 5 files changed, 29 insertions(+), 18 deletions(-) create mode 100644 net/ktorrent/patches/patch-ab diff --git a/net/ktorrent/Makefile b/net/ktorrent/Makefile index 3eacb0151a4..52e1c19e70d 100644 --- a/net/ktorrent/Makefile +++ b/net/ktorrent/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.7 2007/06/21 19:32:54 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2007/07/22 08:38:57 abs Exp $ DISTNAME= ktorrent-${KTORRENT_VER} CATEGORIES= net kde MASTER_SITES= http://ktorrent.org/downloads/${KTORRENT_VER}/ -KTORRENT_VER= 2.1.4 +KTORRENT_VER= 2.2 MAINTAINER= shattered@users.sourceforge.net HOMEPAGE= http://ktorrent.org/ diff --git a/net/ktorrent/PLIST b/net/ktorrent/PLIST index 9504cf08762..5dd3e5646ab 100644 --- a/net/ktorrent/PLIST +++ b/net/ktorrent/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2007/06/21 19:32:54 wiz Exp $ +@comment $NetBSD: PLIST,v 1.6 2007/07/22 08:38:57 abs Exp $ bin/ktcachecheck bin/ktorrent bin/ktshell @@ -12,6 +12,7 @@ lib/kde3/ktrssfeedplugin.la lib/kde3/ktscanfolderplugin.la lib/kde3/ktschedulerplugin.la lib/kde3/ktsearchplugin.la +lib/kde3/ktstatsplugin.la lib/kde3/ktupnpplugin.la lib/kde3/ktwebinterfaceplugin.la lib/libktorrent.la @@ -356,6 +357,7 @@ share/kde/config.kcfg/ktrssfeedplugin.kcfg share/kde/config.kcfg/ktscanfolderplugin.kcfg share/kde/config.kcfg/ktschedulerplugin.kcfg share/kde/config.kcfg/ktsearchplugin.kcfg +share/kde/config.kcfg/ktstatsplugin.kcfg share/kde/config.kcfg/ktupnpplugin.kcfg share/kde/config.kcfg/ktwebinterfaceplugin.kcfg share/kde/services/ktinfowidgetplugin.desktop @@ -366,6 +368,7 @@ share/kde/services/ktrssfeedplugin.desktop share/kde/services/ktscanfolderplugin.desktop share/kde/services/ktschedulerplugin.desktop share/kde/services/ktsearchplugin.desktop +share/kde/services/ktstatsplugin.desktop share/kde/services/ktupnpplugin.desktop share/kde/services/ktwebinterfaceplugin.desktop share/kde/services/ktzeroconfplugin.desktop @@ -382,21 +385,15 @@ share/locale/el/LC_MESSAGES/ktorrent.mo share/locale/en_GB/LC_MESSAGES/ktorrent.mo share/locale/es/LC_MESSAGES/ktorrent.mo share/locale/et/LC_MESSAGES/ktorrent.mo -share/locale/eu/LC_MESSAGES/ktorrent.mo share/locale/fa/LC_MESSAGES/ktorrent.mo -share/locale/fi/LC_MESSAGES/ktorrent.mo share/locale/fr/LC_MESSAGES/ktorrent.mo -share/locale/ga/LC_MESSAGES/ktorrent.mo share/locale/gl/LC_MESSAGES/ktorrent.mo -share/locale/hr/LC_MESSAGES/ktorrent.mo share/locale/hu/LC_MESSAGES/ktorrent.mo share/locale/it/LC_MESSAGES/ktorrent.mo share/locale/ja/LC_MESSAGES/ktorrent.mo -share/locale/km/LC_MESSAGES/ktorrent.mo +share/locale/ka/LC_MESSAGES/ktorrent.mo share/locale/lt/LC_MESSAGES/ktorrent.mo -share/locale/mk/LC_MESSAGES/ktorrent.mo share/locale/ms/LC_MESSAGES/ktorrent.mo -share/locale/nb/LC_MESSAGES/ktorrent.mo share/locale/nds/LC_MESSAGES/ktorrent.mo share/locale/nl/LC_MESSAGES/ktorrent.mo share/locale/pa/LC_MESSAGES/ktorrent.mo diff --git a/net/ktorrent/distinfo b/net/ktorrent/distinfo index dc5c2631e90..ce66a267b9a 100644 --- a/net/ktorrent/distinfo +++ b/net/ktorrent/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2007/06/21 19:32:54 wiz Exp $ +$NetBSD: distinfo,v 1.4 2007/07/22 08:38:57 abs Exp $ -SHA1 (ktorrent-2.1.4.tar.gz) = 454992ec5f0b4f67e62474cf863a2d66dbd77f28 -RMD160 (ktorrent-2.1.4.tar.gz) = 8286012e5fbc0bd827d5cb70c7895e5460f21a0b -Size (ktorrent-2.1.4.tar.gz) = 3631999 bytes -SHA1 (patch-aa) = 0d545e270b759427c1103b2c10c4fbc0968e7bf2 +SHA1 (ktorrent-2.2.tar.gz) = 1adaa8267b05cc53bd0ef325c9571a378d2f73f8 +RMD160 (ktorrent-2.2.tar.gz) = 54a9f38aedc71a6f0429995d49837a5e0c974e98 +Size (ktorrent-2.2.tar.gz) = 3666182 bytes +SHA1 (patch-aa) = ef4fb3204159a548ba13b8259efb1aa9cb50a19f +SHA1 (patch-ab) = ca44c60b7de0d9cc82d02b2266a9b95e34fa0bb0 diff --git a/net/ktorrent/patches/patch-aa b/net/ktorrent/patches/patch-aa index ae9c11db411..f4871665e6d 100644 --- a/net/ktorrent/patches/patch-aa +++ b/net/ktorrent/patches/patch-aa @@ -1,6 +1,6 @@ -$NetBSD: patch-aa,v 1.3 2007/06/21 19:32:55 wiz Exp $ +$NetBSD: patch-aa,v 1.4 2007/07/22 08:38:58 abs Exp $ ---- libktorrent/net/socket.cpp.orig 2007-02-04 13:22:44.000000000 +0000 +--- libktorrent/net/socket.cpp.orig 2007-07-02 17:48:46.000000000 +0100 +++ libktorrent/net/socket.cpp @@ -38,7 +38,7 @@ #include @@ -20,7 +20,7 @@ $NetBSD: patch-aa,v 1.3 2007/06/21 19:32:55 wiz Exp $ int val = 1; if (setsockopt(m_fd,SOL_SOCKET,SO_NOSIGPIPE,&val,sizeof(int)) < 0) { -@@ -73,7 +73,7 @@ namespace net +@@ -74,7 +74,7 @@ namespace net Out(SYS_GEN|LOG_IMPORTANT) << QString("Cannot create socket : %1").arg(strerror(errno)) << endl; } m_fd = fd; diff --git a/net/ktorrent/patches/patch-ab b/net/ktorrent/patches/patch-ab new file mode 100644 index 00000000000..ea5b378d13f --- /dev/null +++ b/net/ktorrent/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.3 2007/07/22 08:38:58 abs Exp $ + +--- plugins/stats/ChartDrawer.cc.orig 2007-07-18 15:37:03.000000000 +0100 ++++ plugins/stats/ChartDrawer.cc +@@ -272,6 +272,8 @@ void ChartDrawer::AddValue(const size_t + + #ifdef USE_SOLARIS + if(isnand(val) || (isinf(val))) ++#elif defined(Q_OS_NETBSD) ++ if(isnan(val) || isinf(val)) + #else + if(std::isnan(val) || (std::isinf(val))) + #endif -- cgit v1.2.3