Update to Transmission 1.73, which brings a number of bug fixes and
minor tweaks. Transmission users may want to test this.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/transmission/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile 27 Jun 2009 21:48:47 -0000 1.38
+++ Makefile 19 Jul 2009 12:41:25 -0000
@@ -3,10 +3,10 @@
COMMENT-main= lightweight BitTorrent command line and daemon client
COMMENT-gui= lightweight BitTorrent client with graphical interface
-VER= 1.72
+VER= 1.73
DISTNAME= transmission-${VER}
-PKGNAME-main= transmission-${VER}p0
-PKGNAME-gui= transmission-gui-${VER}p0
+PKGNAME-main= transmission-${VER}
+PKGNAME-gui= transmission-gui-${VER}
CATEGORIES= net
HOMEPAGE= http://www.transmissionbt.com/
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/transmission/distinfo,v
retrieving revision 1.23
diff -u -p -r1.23 distinfo
--- distinfo 20 Jun 2009 13:07:22 -0000 1.23
+++ distinfo 19 Jul 2009 12:41:25 -0000
@@ -1,5 +1,5 @@
-MD5 (transmission-1.72.tar.bz2) = Tru51MJ6AZ9aztkmgYvk+g==
-RMD160 (transmission-1.72.tar.bz2) = 7rXmjTKMjg4Vovj/7qOAQNK+hPg=
-SHA1 (transmission-1.72.tar.bz2) = GNJcAx1KrzuK5UbVtLSSZyIU7wo=
-SHA256 (transmission-1.72.tar.bz2) =
cfqfioyUYRGpkbe8fMxRgleN/HejAbfoAXkcxLPBU1M=
-SIZE (transmission-1.72.tar.bz2) = 4810233
+MD5 (transmission-1.73.tar.bz2) = nBtdhPud271QtXdsHNbapA==
+RMD160 (transmission-1.73.tar.bz2) = lBQKe2mesWZHIBesOCZ2NwDpk1I=
+SHA1 (transmission-1.73.tar.bz2) = GONHFB/NZaOFzRQGuoozA7DJkVY=
+SHA256 (transmission-1.73.tar.bz2) =
7dd14G5m3HdcqCcrvS5HrE/vb8uITMwQAViTQ/2dCGY=
+SIZE (transmission-1.73.tar.bz2) = 4804894
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-configure,v
retrieving revision 1.14
diff -u -p -r1.14 patch-configure
--- patches/patch-configure 20 Jun 2009 13:07:22 -0000 1.14
+++ patches/patch-configure 19 Jul 2009 12:41:25 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.14 2009/06/20 13:07:22 naddy Exp $
---- configure.orig Wed Jun 17 02:03:56 2009
-+++ configure Wed Jun 17 13:35:19 2009
-@@ -11259,8 +11259,8 @@ CC="$lt_save_CC"
+--- configure.orig Sat Jul 18 03:28:54 2009
++++ configure Sun Jul 19 14:13:32 2009
+@@ -11317,8 +11317,8 @@ CC="$lt_save_CC"
if test 0 = "0"; then
supported_build=yes
if test "x$GCC" = "xyes" ; then
@@ -10,9 +10,9 @@ $OpenBSD: patch-configure,v 1.14 2009/06
+ : CFLAGS="$CFLAGS -g -O3 "
+ : CXXFLAGS="$CXXFLAGS -g -O3 "
fi
-
- cat >>confdefs.h <<\_ACEOF
-@@ -16306,7 +16306,7 @@ esac
+ else
+ supported_build=no
+@@ -16403,7 +16403,7 @@ esac
if test "x$GCC" = "xyes" ; then
@@ -21,7 +21,7 @@ $OpenBSD: patch-configure,v 1.14 2009/06
{ $as_echo "$as_me:$LINENO: checking gcc version" >&5
$as_echo_n "checking gcc version... " >&6; }
-@@ -16318,7 +16318,7 @@ $as_echo_n "checking gcc version... " >&6; }
+@@ -16415,7 +16415,7 @@ $as_echo_n "checking gcc version... " >&6; }
{ $as_echo "$as_me:$LINENO: result: $GCC_VERSION" >&5
$as_echo "$GCC_VERSION" >&6; }
if test $GCC_VERSION_NUM -ge 304; then
Index: patches/patch-daemon_watch_c
===================================================================
RCS file: patches/patch-daemon_watch_c
diff -N patches/patch-daemon_watch_c
--- patches/patch-daemon_watch_c 20 Jun 2009 13:07:22 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-daemon_watch_c,v 1.1 2009/06/20 13:07:22 naddy Exp $
---- daemon/watch.c.orig Wed Jun 17 14:06:23 2009
-+++ daemon/watch.c Wed Jun 17 14:11:17 2009
-@@ -141,7 +141,7 @@ is_file_in_list( struct evbuffer * buf, const char * f
- tr_bool in_list;
- struct evbuffer * test = evbuffer_new( );
- add_file_to_list( test, filename, len );
-- in_list = evbuffer_find( buf, EVBUFFER_DATA( test ), EVBUFFER_LENGTH(
test ) );
-+ in_list = evbuffer_find( buf, EVBUFFER_DATA( test ), EVBUFFER_LENGTH(
test ) ) != NULL;
- evbuffer_free( test );
- return in_list;
- }
Index: patches/patch-gtk_details_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-gtk_details_c,v
retrieving revision 1.9
diff -u -p -r1.9 patch-gtk_details_c
--- patches/patch-gtk_details_c 20 Jun 2009 13:07:22 -0000 1.9
+++ patches/patch-gtk_details_c 19 Jul 2009 12:41:25 -0000
@@ -1,16 +1,26 @@
$OpenBSD: patch-gtk_details_c,v 1.9 2009/06/20 13:07:22 naddy Exp $
---- gtk/details.c.orig Wed Jun 17 02:01:45 2009
-+++ gtk/details.c Wed Jun 17 13:35:20 2009
-@@ -910,7 +910,7 @@ refreshInfo( struct DetailsImpl * di, tr_torrent ** to
- for( i=0; i<n; ++i )
- sum += infos[i]->pieceCount;
- g_snprintf( buf, sizeof( buf ),
-- ngettext( "%'d Piece", "%'d Pieces", sum ), sum );
-+ ngettext( "%d Piece", "%d Pieces", sum ), sum );
- for( i=1; i<n; ++i )
- if( baseline != (int)infos[i]->pieceSize )
- break;
-@@ -1462,11 +1462,11 @@ refreshPeers( struct DetailsImpl * di, tr_torrent ** t
+--- gtk/details.c.orig Sat Jul 18 03:20:55 2009
++++ gtk/details.c Sun Jul 19 13:59:33 2009
+@@ -755,14 +755,14 @@ refreshInfo( struct DetailsImpl * di, tr_torrent ** to
+ char piecebuf[128];
+ tr_strlsize( piecebuf, (uint64_t)pieceSize, sizeof( piecebuf ) );
+ g_snprintf( buf, sizeof( buf ),
+- ngettext( "%1$s (%2$'d piece @ %3$s)",
+- "%1$s (%2$'d pieces @ %3$s)", pieces ),
++ ngettext( "%1$s (%2$d piece @ %3$s)",
++ "%1$s (%2$d pieces @ %3$s)", pieces ),
+ sizebuf, pieces, piecebuf );
+ str = buf;
+ } else {
+ g_snprintf( buf, sizeof( buf ),
+- ngettext( "%1$s (%2$'d piece)",
+- "%1$s (%2$'d pieces)", pieces ),
++ ngettext( "%1$s (%2$d piece)",
++ "%1$s (%2$d pieces)", pieces ),
+ sizebuf, pieces );
+ str = buf;
+ }
+@@ -1362,11 +1362,11 @@ refreshPeers( struct DetailsImpl * di, tr_torrent ** t
leechers = s->leechers;
completed += s->timesCompleted;
}
@@ -25,7 +35,7 @@ $OpenBSD: patch-gtk_details_c,v 1.9 2009
gtk_label_set_text( GTK_LABEL( di->completed_lb ), buf );
}
-@@ -2073,7 +2073,7 @@ torrent_inspector_set_torrents( GtkWidget * w, GSList
+@@ -1967,7 +1967,7 @@ torrent_inspector_set_torrents( GtkWidget * w, GSList
{
file_list_clear( di->file_list );
tracker_list_clear( di->tracker_list );
Index: patches/patch-gtk_makemeta-ui_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-gtk_makemeta-ui_c,v
retrieving revision 1.3
diff -u -p -r1.3 patch-gtk_makemeta-ui_c
--- patches/patch-gtk_makemeta-ui_c 2 Dec 2008 15:29:07 -0000 1.3
+++ patches/patch-gtk_makemeta-ui_c 19 Jul 2009 12:41:25 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-gtk_makemeta-ui_c,v 1.3 2008/12/02 15:29:07 naddy Exp $
---- gtk/makemeta-ui.c.orig Mon Nov 10 16:52:26 2008
-+++ gtk/makemeta-ui.c Thu Nov 27 22:33:20 2008
-@@ -268,9 +268,9 @@ refreshFromBuilder( MakeMetaUI * ui )
+--- gtk/makemeta-ui.c.orig Sat Jul 18 03:20:55 2009
++++ gtk/makemeta-ui.c Sun Jul 19 13:59:33 2009
+@@ -266,9 +266,9 @@ refreshFromBuilder( MakeMetaUI * ui )
else {
tr_strlsize( sizeStr, builder->totalSize, sizeof( sizeStr ) );
buf = g_strdup_printf( /* %1$s is the torrent size
@@ -14,7 +14,7 @@ $OpenBSD: patch-gtk_makemeta-ui_c,v 1.3
builder->fileCount ),
sizeStr, builder->fileCount );
}
-@@ -281,7 +281,7 @@ refreshFromBuilder( MakeMetaUI * ui )
+@@ -279,7 +279,7 @@ refreshFromBuilder( MakeMetaUI * ui )
if( !filename )
buf = g_strdup( "" );
else {
Index: patches/patch-gtk_tr-icon_c
===================================================================
RCS file: patches/patch-gtk_tr-icon_c
diff -N patches/patch-gtk_tr-icon_c
--- patches/patch-gtk_tr-icon_c 2 Dec 2008 15:29:07 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-$OpenBSD: patch-gtk_tr-icon_c,v 1.3 2008/12/02 15:29:07 naddy Exp $
---- gtk/tr-icon.c.orig Mon Nov 10 16:52:26 2008
-+++ gtk/tr-icon.c Thu Nov 27 22:33:20 2008
-@@ -62,11 +62,11 @@ refresh_tooltip_cb( gpointer data )
- tr_strlspeed( downStr, stats.clientDownloadSpeed, sizeof( downStr ) );
- tr_strlspeed( upStr, stats.clientUploadSpeed, sizeof( upStr ) );
- g_snprintf( tip, sizeof( tip ),
-- /* %1$'d is the number of torrents we're seeding,
-- %2$'d is the number of torrents we're downloading,
-+ /* %1$d is the number of torrents we're seeding,
-+ %2$d is the number of torrents we're downloading,
- %3$s is our download speed,
- %4$s is our upload speed */
-- _( "%1$'d Seeding, %2$'d Downloading\nDown: %3$s, Up: %4$s" ),
-+ _( "%1$d Seeding, %2$d Downloading\nDown: %3$s, Up: %4$s" ),
- stats.seedingCount,
- stats.downloadCount,
- downStr, upStr );
Index: patches/patch-gtk_tr-torrent_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-gtk_tr-torrent_c,v
retrieving revision 1.4
diff -u -p -r1.4 patch-gtk_tr-torrent_c
--- patches/patch-gtk_tr-torrent_c 15 Feb 2009 18:09:29 -0000 1.4
+++ patches/patch-gtk_tr-torrent_c 19 Jul 2009 12:41:25 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-gtk_tr-torrent_c,v 1.4 2009/02/15 18:09:29 naddy Exp $
---- gtk/tr-torrent.c.orig Thu Feb 12 22:00:32 2009
-+++ gtk/tr-torrent.c Fri Feb 13 15:33:04 2009
-@@ -256,8 +256,8 @@ tr_torrent_status_str( TrTorrent * gtor )
+--- gtk/tr-torrent.c.orig Sat Jul 18 03:20:55 2009
++++ gtk/tr-torrent.c Sun Jul 19 13:59:33 2009
+@@ -255,8 +255,8 @@ tr_torrent_status_str( TrTorrent * gtor )
case TR_STATUS_SEED:
top = g_strdup_printf(
Index: patches/patch-gtk_tr-window_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-gtk_tr-window_c,v
retrieving revision 1.8
diff -u -p -r1.8 patch-gtk_tr-window_c
--- patches/patch-gtk_tr-window_c 20 Jun 2009 13:07:22 -0000 1.8
+++ patches/patch-gtk_tr-window_c 19 Jul 2009 12:41:25 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-gtk_tr-window_c,v 1.8 2009/06/20 13:07:22 naddy Exp $
---- gtk/tr-window.c.orig Wed Jun 17 02:01:45 2009
-+++ gtk/tr-window.c Wed Jun 17 13:35:20 2009
-@@ -1040,13 +1040,13 @@ updateTorrentCount( PrivateData * p )
+--- gtk/tr-window.c.orig Sat Jul 18 03:20:55 2009
++++ gtk/tr-window.c Sun Jul 19 13:59:33 2009
+@@ -1085,13 +1085,13 @@ updateTorrentCount( PrivateData * p )
*buf = '\0';
else if( torrentCount != visibleCount )
g_snprintf( buf, sizeof( buf ),
Index: patches/patch-libtransmission_utils_c
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-libtransmission_utils_c,v
retrieving revision 1.5
diff -u -p -r1.5 patch-libtransmission_utils_c
--- patches/patch-libtransmission_utils_c 20 Jun 2009 13:07:22 -0000
1.5
+++ patches/patch-libtransmission_utils_c 19 Jul 2009 12:41:25 -0000
@@ -1,18 +1,9 @@
$OpenBSD: patch-libtransmission_utils_c,v 1.5 2009/06/20 13:07:22 naddy Exp $
---- libtransmission/utils.c.orig Wed Jun 17 02:01:44 2009
-+++ libtransmission/utils.c Wed Jun 17 13:35:20 2009
-@@ -1330,7 +1330,7 @@ printf_double_without_rounding( char * buf, int buflen
- char * pch;
- char tmp[128];
- int len;
-- tr_snprintf( tmp, sizeof( tmp ), "%'.64f", d );
-+ tr_snprintf( tmp, sizeof( tmp ), "%.64f", d );
- pch = tmp;
- while( isdigit( *pch ) ) ++pch; /* walk to the decimal point */
- ++pch; /* walk over the decimal point */
-@@ -1352,7 +1352,7 @@ tr_strratio( char * buf, size_t buflen, double ratio,
+--- libtransmission/utils.c.orig Sat Jul 18 03:20:54 2009
++++ libtransmission/utils.c Sun Jul 19 14:01:43 2009
+@@ -1346,7 +1346,7 @@ tr_strratio( char * buf, size_t buflen, double ratio,
else if( ratio < 100.0 )
- printf_double_without_rounding( buf, buflen, ratio, 1 );
+ tr_snprintf( buf, buflen, "%.1f", tr_truncd( ratio, 1 ) );
else
- tr_snprintf( buf, buflen, "%'.0f", ratio );
+ tr_snprintf( buf, buflen, "%.0f", ratio );
Index: patches/patch-third-party_libnatpmp_getgateway_c
===================================================================
RCS file:
/cvs/ports/net/transmission/patches/patch-third-party_libnatpmp_getgateway_c,v
retrieving revision 1.1
diff -u -p -r1.1 patch-third-party_libnatpmp_getgateway_c
--- patches/patch-third-party_libnatpmp_getgateway_c 27 Jun 2009 21:48:47
-0000 1.1
+++ patches/patch-third-party_libnatpmp_getgateway_c 19 Jul 2009 12:41:25
-0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-third-party_libnatpmp_getgateway_c,v 1.1 2009/06/27 21:48:47
sthen Exp $
---- third-party/libnatpmp/getgateway.c.orig Thu Jun 25 23:41:44 2009
-+++ third-party/libnatpmp/getgateway.c Thu Jun 25 23:41:45 2009
-@@ -230,7 +230,7 @@ int getdefaultgateway(in_addr_t *addr)
+--- third-party/libnatpmp/getgateway.c.orig Sat Jul 18 03:21:07 2009
++++ third-party/libnatpmp/getgateway.c Sun Jul 19 14:13:32 2009
+@@ -249,7 +249,7 @@ int getdefaultgateway(in_addr_t *addr)
do {
l = read(s, (char *)&m_rtmsg, sizeof(m_rtmsg));
Index: pkg/PLIST-gui
===================================================================
RCS file: /cvs/ports/net/transmission/pkg/PLIST-gui,v
retrieving revision 1.17
diff -u -p -r1.17 PLIST-gui
--- pkg/PLIST-gui 20 Jun 2009 13:07:22 -0000 1.17
+++ pkg/PLIST-gui 19 Jul 2009 12:41:25 -0000
@@ -28,6 +28,7 @@ share/locale/ar/LC_MESSAGES/transmission
share/locale/ast/
share/locale/ast/LC_MESSAGES/
share/locale/ast/LC_MESSAGES/transmission.mo
+share/locale/be/LC_MESSAGES/transmission.mo
share/locale/b...@latin/
share/locale/b...@latin/LC_MESSAGES/
share/locale/b...@latin/LC_MESSAGES/transmission.mo
@@ -70,6 +71,9 @@ share/locale/fr/LC_MESSAGES/transmission
share/locale/ga/LC_MESSAGES/transmission.mo
share/locale/gl/LC_MESSAGES/transmission.mo
share/locale/he/LC_MESSAGES/transmission.mo
+share/locale/hi/
+share/locale/hi/LC_MESSAGES/
+share/locale/hi/LC_MESSAGES/transmission.mo
share/locale/hu/LC_MESSAGES/transmission.mo
share/locale/id/LC_MESSAGES/transmission.mo
share/locale/is/
--
Christian "naddy" Weisgerber [email protected]