From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 3 01:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 876849AC for ; Thu, 3 Apr 2014 01:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 671DC632 for ; Thu, 3 Apr 2014 01:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s331e0sI072074 for ; Thu, 3 Apr 2014 01:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s331e0gb072073; Thu, 3 Apr 2014 01:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 3 Apr 2014 01:40:00 GMT Resent-Message-Id: <201404030140.s331e0gb072073@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, Nikolai Lifanov Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B47B3600 for ; Thu, 3 Apr 2014 01:33:31 +0000 (UTC) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 837C85EF for ; Thu, 3 Apr 2014 01:33:31 +0000 (UTC) Received: by mail.lifanov.com (Postfix, from userid 1001) id C30831AF782; Wed, 2 Apr 2014 21:33:29 -0400 (EDT) Message-Id: <20140403013329.C30831AF782@mail.lifanov.com> Date: Wed, 2 Apr 2014 21:33:29 -0400 (EDT) From: Nikolai Lifanov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/188212: [patch] [fix] [update] [stage] multimedia/shell-fm 0.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Nikolai Lifanov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 01:40:00 -0000 >Number: 188212 >Category: ports >Synopsis: [patch] [fix] [update] [stage] multimedia/shell-fm 0.8 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 03 01:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Nikolai Lifanov >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD mail.lifanov.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: multimedia/shell-fm didn't actually work for a while now now that Last.fm changed their API. The upstream updated this version to 0.8, then later branched the api-v2 version to update it to actually work. This PR fixes multimedia/shell-fm runtime by taking a working snapshot some time after v0.8 release with upstream api-v2 fixes applied. While at it, stage, modernize, convert to new LIB_DEPENDS, and request to take this port. I would like to maintain it, if the current maintainer doesn't object. The version in ports is 5 years old and doesn't work. Tested with: manually on two systems, redports >How-To-Repeat: 1) install multimedia/shell-fm 2) try to use it >Fix: --- shell-fm.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 349960) +++ Makefile (working copy) @@ -2,30 +2,26 @@ # $FreeBSD$ PORTNAME= shell-fm -PORTVERSION= 0.7 +PORTVERSION= 0.8.20140402 PORTEPOCH= 2 CATEGORIES= multimedia -MASTER_SITES= http://nex.scrapping.cc/shell-fm/releases/ +MASTER_SITES= SF/lifanov-ports-distfiles/${PORTNAME} -MAINTAINER= ntarmos@cs.uoi.gr +MAINTAINER= lifanov@mail.lifanov.com COMMENT= A command-line client for Last.FM -LIB_DEPENDS= ao:${PORTSDIR}/audio/libao \ - mad:${PORTSDIR}/audio/libmad +LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao \ + libmad.so:${PORTSDIR}/audio/libmad USES= gmake pkgconfig -USE_BZIP2= true LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include -MAN1= shell-fm.1 -MANCOMPRESSED= yes -PLIST_FILES= bin/shell-fm +PLIST_FILES= bin/shell-fm man/man1/shell-fm.1.gz PORTDOCS= AUTHORS RELEASE INSTALL PORTEXAMPLES= shell-colors.sh shell-fm-tune.sh \ unix.pl zcontrol -NO_STAGE= yes pre-build: @${REINPLACE_CMD} \ -e 's/^PREFIX.*$$/\PREFIX := $$(LOCALBASE)/g' \ @@ -32,19 +28,14 @@ ${WRKSRC}/Makefile post-install: -.if !defined(NOPORTDOCS) - @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}" - @${MKDIR} ${DOCSDIR} + ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/bin/shell-fm + ${MKDIR} ${STAGEDIR}${DOCSDIR} . for doc in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} . endfor -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${ECHO_MSG} "installing examples to ${EXAMPLESDIR}" + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} . for example in ${PORTEXAMPLES} - @${INSTALL_DATA} ${WRKSRC}/scripts/${example} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/scripts/${example} ${STAGEDIR}${EXAMPLESDIR} . endfor -.endif .include Index: distinfo =================================================================== --- distinfo (revision 349960) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (shell-fm-0.7.tar.bz2) = 01262c65735ab2531795a471db845ceed0a3fc3b410e0fe7f75ad12bccca1cdc -SIZE (shell-fm-0.7.tar.bz2) = 41902 +SHA256 (shell-fm-0.8.20140402.tar.gz) = 689d47bed2c1e339ddf3150edce65f4bfda7bd29166afba397e555cfcb6420e3 +SIZE (shell-fm-0.8.20140402.tar.gz) = 62341 --- shell-fm.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: