From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 2 10:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A7D5B125 for ; Sat, 2 Feb 2013 10:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 880DAA07 for ; Sat, 2 Feb 2013 10:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r12Ao0H1047629 for ; Sat, 2 Feb 2013 10:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r12Ao0sO047628; Sat, 2 Feb 2013 10:50:00 GMT (envelope-from gnats) Resent-Date: Sat, 2 Feb 2013 10:50:00 GMT Resent-Message-Id: <201302021050.r12Ao0sO047628@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Veniamin Gvozdikov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1607BD1 for ; Sat, 2 Feb 2013 10:44:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E3CDC9E3 for ; Sat, 2 Feb 2013 10:44:33 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r12AiXJi005181 for ; Sat, 2 Feb 2013 10:44:33 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r12AiXFB005180; Sat, 2 Feb 2013 10:44:33 GMT (envelope-from nobody) Message-Id: <201302021044.r12AiXFB005180@red.freebsd.org> Date: Sat, 2 Feb 2013 10:44:33 GMT From: Veniamin Gvozdikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175779: [update]: audio/liblastfm update to latest new version from lastfm X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 10:50:00 -0000 >Number: 175779 >Category: ports >Synopsis: [update]: audio/liblastfm update to latest new version from lastfm >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Feb 02 10:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 8.3-RELEASE-p5 >Organization: >Environment: FreeBSD ololo 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Thu Dec 6 16:25:28 MSK 2012 root@ololo:/usr/obj/usr/src/sys/OLOLO amd64 >Description: Update to latest version of liblastfm with official support. Detailed information: http://blog.last.fm/2013/01/31/lastfm-desktop-scrobbler-released >How-To-Repeat: >Fix: diff -ruN liblastfm.orig/Makefile liblastfm/Makefile --- liblastfm.orig/Makefile 2013-02-02 14:38:58.863388994 +0400 +++ liblastfm/Makefile 2013-02-02 01:00:58.523524571 +0400 @@ -1,46 +1,49 @@ -# New ports collection makefile for: liblastfm -# Date created: Jun 7 2009 -# Whom: Matt Tosto -# -# $FreeBSD: ports/audio/liblastfm/Makefile,v 1.16 2012/11/17 05:54:36 svnexp Exp $ -# +# Created by: Matt Tosto +# $FreeBSD$ PORTNAME= liblastfm -PORTVERSION= 0.3.3 -PORTREVISION= 4 +PORTVERSION= 1.0.5 CATEGORIES= audio -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= swills -DISTNAME= mxcl-${PORTNAME}-${PORTVERSION}-0-gf0b3239 +MASTER_SITES= http://cdn.last.fm/client/Linux/ +DISTNAME= Last.fm-2.1.30 MAINTAINER= datahead4@gmail.com COMMENT= Collection of libraries to help integrate Last.fm services -LIB_DEPENDS= samplerate.1:${PORTSDIR}/audio/libsamplerate \ +LIB_DEPENDS= samplerate:${PORTSDIR}/audio/libsamplerate \ fftw3:${PORTSDIR}/math/fftw3 \ fftw3f:${PORTSDIR}/math/fftw3-float -USE_CSTD= gnu89 -USE_RUBY= yes -USE_GMAKE= yes -USE_QT4= corelib xml network sql gui qtestlib \ +USE_BZIP2= yes +USE_CMAKE= yes +USE_QT4= corelib xml network sql gui qtestlib dbus \ qmake_build moc_build rcc_build uic_build -HAS_CONFIGURE= yes -CONFIGURE_ARGS+= -release --prefix ${PREFIX} MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes -WRKSRC= ${WRKDIR}/mxcl-liblastfm-1c739eb +OPTIONS_DEFINE= FINGERPRINT TESTS +FINGERPRINT_DESC= Build the lastfm-fingerprint library +TESTS_DESC= Build liblastfm tests + +OPTIONS_DEFAULT= FINGERPRINT + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +.include + +.if ${PORT_OPTIONS:MFINGERPRINT} +CMAKE_ARGS+= -DBUILD_FINGERPRINT=ON +PLIST_SUB+= FINGERPRINT="" +.else +CMAKE_ARGS+= -DBUILD_FINGERPRINT=OFF +PLIST_SUB+= FINGERPRINT="@comment " +.endif + +.if ${PORT_OPTIONS:MTESTS} +CMAKE_ARGS+= -DBUILD_TESTS=ON +.else +CMAKE_ARGS+= -DBUILD_TESTS=OFF +.endif -.include -post-extract: - ${REINPLACE_CMD} -e 's|#!/usr/bin/ruby|#!${RUBY_WITH_SUFFIX}|' ${WRKSRC}/configure - ${REINPLACE_CMD} -e 's|\`ruby |`${RUBY_WITH_SUFFIX} |' ${WRKSRC}/configure - ${REINPLACE_CMD} -e 's|__demos __tests||' ${WRKSRC}/admin/Makefile.rb - ${REINPLACE_CMD} -e '/QMAKE_CXXFLAGS_RELEASE.*/d' \ - -e 's|linux:|unix:|' ${WRKSRC}/.qmake.cache - ${FIND} ${WRKSRC}/admin -type f | ${XARGS} \ - ${REINPLACE_CMD} -e 's|#!/usr/bin/ruby|#!${RUBY_WITH_SUFFIX}|' - -.include +.include diff -ruN liblastfm.orig/distinfo liblastfm/distinfo --- liblastfm.orig/distinfo 2013-02-02 14:38:58.876492894 +0400 +++ liblastfm/distinfo 2013-02-01 18:30:44.872039258 +0400 @@ -1,2 +1,2 @@ -SHA256 (mxcl-liblastfm-0.3.3-0-gf0b3239.tar.gz) = 2607ba6c1495bae8c0f93df1e6271ba5c4503ee53e5657d815fdd584e4df636c -SIZE (mxcl-liblastfm-0.3.3-0-gf0b3239.tar.gz) = 111700 +SHA256 (Last.fm-2.1.30.tar.bz2) = a8591930af2c76100840fa94082e831d5aeb2893c264528a15ec5151bf0cc2a4 +SIZE (Last.fm-2.1.30.tar.bz2) = 5970748 diff -ruN liblastfm.orig/files/patch-no-ftools liblastfm/files/patch-no-ftools --- liblastfm.orig/files/patch-no-ftools 2013-02-02 14:38:58.802908402 +0400 +++ liblastfm/files/patch-no-ftools 1970-01-01 03:00:00.000000000 +0300 @@ -1,36 +0,0 @@ ---- admin/findsrc.rb.orig 2010-09-19 10:35:34.783333338 +0200 -+++ admin/findsrc.rb 2010-09-19 10:35:57.730000003 +0200 -@@ -1,6 +1,6 @@ - #!/usr/bin/ruby - require 'find' --require "#{File.dirname __FILE__}/platform" -+require "#{Dir.getwd}/admin/platform.rb" - - def findsrc dir='.' - excludes = ['.svn','.git','_include','tests','_build'] ---- admin/qpp.orig 2010-09-19 10:36:09.276666670 +0200 -+++ admin/qpp 2010-09-19 10:36:16.926666670 +0200 -@@ -2,9 +2,8 @@ - # Creates a qmake .pro file for all valid SOURCES, HEADERS, FORMS and - #Â RESOURCES under each argument to ARGV as directories - --cwd=File.dirname __FILE__ - require 'find' --require "#{cwd}/findsrc" -+require "#{Dir.getwd}/admin/findsrc.rb" - - sources = Array.new - headers = Array.new ---- admin/Makefile.rb.orig 2010-09-19 10:35:38.086666671 +0200 -+++ admin/Makefile.rb 2010-09-19 10:36:05.816666671 +0200 -@@ -4,9 +4,8 @@ - # and then creates the directory _include and creates files named after the - # class names in there which #include the file that contains the class - --cwd = File.dirname( __FILE__ ) - require 'find' --require "#{cwd}/platform.rb" -+require "#{Dir.getwd}/admin/platform.rb" - - - ######################################################################### defs diff -ruN liblastfm.orig/files/patch-src_fingerprint_fingerprint.pro liblastfm/files/patch-src_fingerprint_fingerprint.pro --- liblastfm.orig/files/patch-src_fingerprint_fingerprint.pro 2013-02-02 14:38:58.842220660 +0400 +++ liblastfm/files/patch-src_fingerprint_fingerprint.pro 1970-01-01 03:00:00.000000000 +0300 @@ -1,12 +0,0 @@ ---- src/fingerprint/fingerprint.pro.orig 2011-03-06 17:36:13.070963361 -0500 -+++ src/fingerprint/fingerprint.pro 2011-03-06 17:36:32.901964223 -0500 -@@ -23,6 +23,6 @@ - # the difference with win32 is that windows doesn't have the f suffix - # but I think this may be because doug didn't compile it with single - # precision, and I'm not sure if that matters or not -- PKGCONFIG += fftw3f -+ LIBS += -lsamplerate -lfftw3f - } --} -\ No newline at end of file -+} diff -ruN liblastfm.orig/files/patch-src_fingerprint_fplib_FloatingAverage.h liblastfm/files/patch-src_fingerprint_fplib_FloatingAverage.h --- liblastfm.orig/files/patch-src_fingerprint_fplib_FloatingAverage.h 2013-02-02 14:38:58.823069065 +0400 +++ liblastfm/files/patch-src_fingerprint_fplib_FloatingAverage.h 1970-01-01 03:00:00.000000000 +0300 @@ -1,13 +0,0 @@ -$NetBSD: patch-src_fingerprint_fplib_FloatingAverage.h,v 1.1 2012/04/17 17:39:47 joerg Exp $ - ---- src/fingerprint/fplib/FloatingAverage.h.orig 2012-04-17 15:10:50.000000000 +0000 -+++ src/fingerprint/fplib/FloatingAverage.h -@@ -76,7 +76,7 @@ public: - { - T real_sum = 0; - const T* pCircularBuffer = m_values.get_buffer(); -- for ( int i = 0; i < size; ++i ) -+ for ( int i = 0; i < size(); ++i ) - real_sum += pCircularBuffer[i]; - return abs(real_sum - m_sum) / this->size(); - } diff -ruN liblastfm.orig/pkg-plist liblastfm/pkg-plist --- liblastfm.orig/pkg-plist 2013-02-02 14:38:58.869437248 +0400 +++ liblastfm/pkg-plist 2013-02-02 00:36:26.436964129 +0400 @@ -1,37 +1,36 @@ -include/lastfm/Album -include/lastfm/Artist -include/lastfm/Audioscrobbler -include/lastfm/AuthenticatedUser -include/lastfm/Fingerprint -include/lastfm/FingerprintId -include/lastfm/FingerprintableSource -include/lastfm/InternetConnectionMonitor -include/lastfm/Mbid -include/lastfm/MutableTrack -include/lastfm/NetworkAccessManager -include/lastfm/ParseError -include/lastfm/Playlist -include/lastfm/RadioStation -include/lastfm/RadioTuner -include/lastfm/Scrobble -include/lastfm/ScrobbleCache -include/lastfm/ScrobblePoint -include/lastfm/Tag -include/lastfm/Track -include/lastfm/UrlBuilder -include/lastfm/User -include/lastfm/XmlQuery -include/lastfm/Xspf +%%FINGERPRINT%%include/lastfm/Fingerprint.h +%%FINGERPRINT%%include/lastfm/FingerprintableSource.h +%%FINGERPRINT%%lib/liblastfm_fingerprint.so +%%FINGERPRINT%%lib/liblastfm_fingerprint.so.1 +%%FINGERPRINT%%lib/liblastfm_fingerprint.so.1.0.5 +include/lastfm/AbstractType.h +include/lastfm/Album.h +include/lastfm/Artist.h +include/lastfm/Audioscrobbler.h +include/lastfm/Auth.h +include/lastfm/Chart.h +include/lastfm/FingerprintId.h +include/lastfm/InternetConnectionMonitor.h +include/lastfm/Library.h +include/lastfm/Mbid.h +include/lastfm/NetworkAccessManager.h +include/lastfm/NetworkConnectionMonitor.h +include/lastfm/Playlist.h +include/lastfm/RadioStation.h +include/lastfm/RadioTuner.h +include/lastfm/ScrobbleCache.h +include/lastfm/ScrobblePoint.h +include/lastfm/Tag.h +include/lastfm/Tasteometer.h +include/lastfm/Track.h +include/lastfm/UrlBuilder.h +include/lastfm/User.h +include/lastfm/XmlQuery.h +include/lastfm/Xspf.h include/lastfm/global.h include/lastfm/misc.h include/lastfm/ws.h -include/lastfm.h lib/liblastfm.so -lib/liblastfm.so.0 -lib/liblastfm.so.0.3 -lib/liblastfm.so.0.3.3 -lib/liblastfm_fingerprint.so -lib/liblastfm_fingerprint.so.0 -lib/liblastfm_fingerprint.so.0.3 -lib/liblastfm_fingerprint.so.0.3.3 +lib/liblastfm.so.1 +lib/liblastfm.so.1.0.5 @dirrm include/lastfm >Release-Note: >Audit-Trail: >Unformatted: