maintenance update to 1.73

This commit is contained in:
naddy 2009-07-22 15:52:07 +00:00
parent 951f5c8ad4
commit 8db5f06144
12 changed files with 68 additions and 93 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.38 2009/06/27 21:48:47 sthen Exp $
# $OpenBSD: Makefile,v 1.39 2009/07/22 15:52:07 naddy Exp $
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/

View File

@ -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

View File

@ -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"
$OpenBSD: patch-configure,v 1.15 2009/07/22 15:52:07 naddy Exp $
--- 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/20 13:07:22 naddy Exp $
+ : 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/20 13:07:22 naddy Exp $
{ $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

View File

@ -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;
}

View File

@ -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
$OpenBSD: patch-gtk_details_c,v 1.10 2009/07/22 15:52:07 naddy Exp $
--- 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/06/20 13:07:22 naddy Exp $
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 );

View File

@ -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 )
$OpenBSD: patch-gtk_makemeta-ui_c,v 1.4 2009/07/22 15:52:07 naddy Exp $
--- 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 2008/12/02 15:29:07 naddy Exp $
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 {

View File

@ -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 );

View File

@ -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 )
$OpenBSD: patch-gtk_tr-torrent_c,v 1.5 2009/07/22 15:52:07 naddy Exp $
--- 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(

View File

@ -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 )
$OpenBSD: patch-gtk_tr-window_c,v 1.9 2009/07/22 15:52:07 naddy Exp $
--- 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 ),

View File

@ -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,
$OpenBSD: patch-libtransmission_utils_c,v 1.6 2009/07/22 15:52:07 naddy Exp $
--- 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 );

View File

@ -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)
$OpenBSD: patch-third-party_libnatpmp_getgateway_c,v 1.2 2009/07/22 15:52:07 naddy Exp $
--- 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));

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-gui,v 1.17 2009/06/20 13:07:22 naddy Exp $
@comment $OpenBSD: PLIST-gui,v 1.18 2009/07/22 15:52:07 naddy Exp $
@bin bin/transmission
@man man/man1/transmission.1
share/applications/transmission.desktop
@ -28,6 +28,7 @@ share/locale/ar/LC_MESSAGES/transmission.mo
share/locale/ast/
share/locale/ast/LC_MESSAGES/
share/locale/ast/LC_MESSAGES/transmission.mo
share/locale/be/LC_MESSAGES/transmission.mo
share/locale/be@latin/
share/locale/be@latin/LC_MESSAGES/
share/locale/be@latin/LC_MESSAGES/transmission.mo
@ -70,6 +71,9 @@ share/locale/fr/LC_MESSAGES/transmission.mo
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/