Update net/transmission to 2.71.
Numerous bug fixes and small changes.

Includes work by dcoppa@ originally for 2.61.

Works for me, but there is too much functionality to test it all.

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/transmission/Makefile,v
retrieving revision 1.77
diff -u -p -r1.77 Makefile
--- Makefile    15 Jun 2012 08:32:17 -0000      1.77
+++ Makefile    27 Sep 2012 19:00:17 -0000
@@ -4,7 +4,7 @@ COMMENT-main=   BitTorrent command line an
 COMMENT-gtk=   BitTorrent client with GTK+ interface
 COMMENT-qt=    BitTorrent client with Qt interface
 
-VER=           2.52
+VER=           2.71
 DISTNAME=      transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gtk=   transmission-gtk-${VER}
@@ -12,8 +12,6 @@ PKGNAME-qt=   transmission-qt-${VER}
 CATEGORIES=    net
 HOMEPAGE=      http://www.transmissionbt.com/
 
-REVISION-gtk=  0
-
 MAINTAINER=    Christian Weisgerber <[email protected]>
 
 # GPLv2
@@ -38,11 +36,13 @@ FLAVOR?=
 
 WANTLIB=       c crypto curl event_core event_extra idn m miniupnpc \
                natpmp pthread ssl z
-WANTLIB-gtk=   ${WANTLIB} X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
-               Xfixes Xi Xinerama Xrandr Xrender Xxf86vm GL atk-1.0 cairo \
-               cairo-gobject drm expat ffi fontconfig freetype \
+WANTLIB-gtk=   ${WANTLIB} ICE SM X11 Xau Xcomposite Xcursor Xdamage \
+               Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm \
+               GL atk-1.0 atk-bridge-2.0 atspi cairo cairo-gobject \
+               dbus-1 drm expat ffi fontconfig freetype \
                gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 \
-               gobject-2.0 gthread-2.0 gtk-3 pango-1.0 pangoft2-1.0 \
+               gobject-2.0 gthread-2.0 gtk-3 \
+               harfbuzz icudata icule icuuc pango-1.0 pangoft2-1.0 \
                pangocairo-1.0 pixman-1 png pcre pthread-stubs stdc++ xcb \
                xcb-render xcb-shm
 WANTLIB-qt=    ${WANTLIB} ICE SM QtCore QtDBus QtGui QtNetwork QtXml \
@@ -91,6 +91,9 @@ QMAKE_ARGS=   QMAKE_CXX="${CXX}" \
 .if !${BUILD_PACKAGES:M-gtk}
 CONFIGURE_ARGS+=--without-gtk
 .endif
+
+pre-patch:
+       @cd ${WRKSRC}/third-party/libutp; perl -pi -e 's/\r$$//' *.h *.cpp
 
 .if ${BUILD_PACKAGES:M-qt}
 post-build:
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/transmission/distinfo,v
retrieving revision 1.39
diff -u -p -r1.39 distinfo
--- distinfo    26 May 2012 15:43:55 -0000      1.39
+++ distinfo    27 Sep 2012 19:00:17 -0000
@@ -1,5 +1,2 @@
-MD5 (transmission-2.52.tar.xz) = tQzIe0zXe6DL2pi1VopNBw==
-RMD160 (transmission-2.52.tar.xz) = rVQWSGS4hHbUElc+iaBUBSQCLCY=
-SHA1 (transmission-2.52.tar.xz) = ccQnOKqGs2DLUn7HltVi8S+GqEw=
-SHA256 (transmission-2.52.tar.xz) = 
vN37e+AUvCdld1olIXID0ye9HsEhlxlUYj2MM2DBThc=
-SIZE (transmission-2.52.tar.xz) = 2784408
+SHA256 (transmission-2.71.tar.xz) = 
1ieH1HKhyz6OBkgpvK5/F6cuWVmqg3AQzegv792oCDY=
+SIZE (transmission-2.71.tar.xz) = 2929516
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/net/transmission/patches/patch-configure,v
retrieving revision 1.28
diff -u -p -r1.28 patch-configure
--- patches/patch-configure     18 Apr 2012 10:46:07 -0000      1.28
+++ patches/patch-configure     27 Sep 2012 19:00:17 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.28 2012/04/18 10:46:07 naddy Exp $
---- configure.orig     Mon Apr  9 05:01:59 2012
-+++ configure  Sun Apr 15 12:01:27 2012
-@@ -11753,8 +11753,8 @@ if test 0 = "0"; then
+--- configure.orig     Tue Jul 24 03:59:24 2012
++++ configure  Wed Aug 29 14:06:00 2012
+@@ -11769,8 +11769,8 @@ if test 0 = "0"; then
  else
    supported_build=no
    if test "x$GCC" = "xyes" ; then
@@ -12,7 +12,7 @@ $OpenBSD: patch-configure,v 1.28 2012/04
    fi
  fi
   if test "x$supported_build" = "xno"; then
-@@ -16163,7 +16163,7 @@ esac
+@@ -16176,7 +16176,7 @@ esac
  
  if test "x$GCC" = "xyes" ; then
  
@@ -21,7 +21,7 @@ $OpenBSD: patch-configure,v 1.28 2012/04
  
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5
  $as_echo_n "checking gcc version... " >&6; }
-@@ -16175,10 +16175,10 @@ $as_echo_n "checking gcc version... " >&6; }
+@@ -16188,10 +16188,10 @@ $as_echo_n "checking gcc version... " >&6; }
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VERSION" >&5
  $as_echo "$GCC_VERSION" >&6; }
      if test $GCC_VERSION_NUM -ge 304; then
Index: patches/patch-third-party_libutp_utypes_h
===================================================================
RCS file: patches/patch-third-party_libutp_utypes_h
diff -N patches/patch-third-party_libutp_utypes_h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-third-party_libutp_utypes_h   27 Sep 2012 19:00:17 -0000
@@ -0,0 +1,19 @@
+$OpenBSD$
+
+tr-utp.c:66: error: conflicting types for 'UTP_Write'
+(https://trac.transmissionbt.com/ticket/4528)
+
+--- third-party/libutp/utypes.h.orig   Wed Aug 29 14:11:31 2012
++++ third-party/libutp/utypes.h        Wed Aug 29 14:12:28 2012
+@@ -36,7 +36,11 @@ typedef const char * cstr;
+ typedef char * str;
+ 
+ #ifndef __cplusplus
++#ifdef HAVE_STDBOOL_H
++#include <stdbool.h>
++#else
+ typedef uint8 bool;
++#endif
+ #endif
+ 
+ #endif //__UTYPES_H__
Index: pkg/PLIST-gtk
===================================================================
RCS file: /cvs/ports/net/transmission/pkg/PLIST-gtk,v
retrieving revision 1.7
diff -u -p -r1.7 PLIST-gtk
--- pkg/PLIST-gtk       15 Jun 2012 08:32:17 -0000      1.7
+++ pkg/PLIST-gtk       27 Sep 2012 19:00:17 -0000
@@ -126,6 +126,9 @@ share/locale/ko/LC_MESSAGES/transmission
 share/locale/ku/
 share/locale/ku/LC_MESSAGES/
 share/locale/ku/LC_MESSAGES/transmission-gtk.mo
+share/locale/ky/
+share/locale/ky/LC_MESSAGES/
+share/locale/ky/LC_MESSAGES/transmission-gtk.mo
 share/locale/li/
 share/locale/li/LC_MESSAGES/
 share/locale/li/LC_MESSAGES/transmission-gtk.mo
@@ -148,6 +151,9 @@ share/locale/ms/LC_MESSAGES/transmission
 share/locale/mt/
 share/locale/mt/LC_MESSAGES/
 share/locale/mt/LC_MESSAGES/transmission-gtk.mo
+share/locale/my/
+share/locale/my/LC_MESSAGES/
+share/locale/my/LC_MESSAGES/transmission-gtk.mo
 share/locale/nb/LC_MESSAGES/transmission-gtk.mo
 share/locale/nds/
 share/locale/nds/LC_MESSAGES/
@@ -175,6 +181,9 @@ share/locale/sq/LC_MESSAGES/
 share/locale/sq/LC_MESSAGES/transmission-gtk.mo
 share/locale/sr/LC_MESSAGES/transmission-gtk.mo
 share/locale/sv/LC_MESSAGES/transmission-gtk.mo
+share/locale/sw/
+share/locale/sw/LC_MESSAGES/
+share/locale/sw/LC_MESSAGES/transmission-gtk.mo
 share/locale/ta_LK/
 share/locale/ta_LK/LC_MESSAGES/
 share/locale/ta_LK/LC_MESSAGES/transmission-gtk.mo
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/net/transmission/pkg/PLIST-main,v
retrieving revision 1.21
diff -u -p -r1.21 PLIST-main
--- pkg/PLIST-main      7 Apr 2012 10:55:04 -0000       1.21
+++ pkg/PLIST-main      27 Sep 2012 19:00:17 -0000
@@ -37,6 +37,7 @@ share/transmission/web/javascript/jquery
 share/transmission/web/javascript/jquery/jquery.transmenu.min.js
 share/transmission/web/javascript/jquery/jqueryui-1.8.16.min.js
 share/transmission/web/javascript/jquery/json2.min.js
+share/transmission/web/javascript/notifications.js
 share/transmission/web/javascript/prefs-dialog.js
 share/transmission/web/javascript/remote.js
 share/transmission/web/javascript/torrent-row.js
-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to