Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Mar 2014 22:43:59 GMT
From:      Rene Ladan <rene@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187833: audio/musicpd : enable curl by default
Message-ID:  <201403212243.s2LMhxMf016609@freefall.freebsd.org>
Resent-Message-ID: <201403212250.s2LMo0Ai016770@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187833
>Category:       ports
>Synopsis:       audio/musicpd : enable curl by default
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 21 22:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r262685: Sun Mar 2 11:35:38 UTC 2014 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64

Ports head/348602
>Description:
audio/musicpd is used by multimedia/spotify-websocket-api as its audio 
backend, but it relies on curl being enabled in musicpd in order to work.

Without curl the client (respotify) just hangs as soon as the user tries
to play a song.

While here convert USE_XZ=yes to USES=tar:xz

Bump PORTREVISION
>How-To-Repeat:
1. install multimedia/spotify-websocket-api
2. start it:
   respotify user pass (possibly from LOCALBASE)
3. make sure that respotify-helper is running (it should...)
   (cd /usr/local/bin ; respotify-helper user pass)
4a. search for a song using the "search" command
4b. play it back: "play 1"

Now the client hangs ...
>Fix:
Index: Makefile
===================================================================
--- Makefile	(revision 348602)
+++ Makefile	(working copy)
@@ -2,7 +2,7 @@
 
 PORTNAME=	musicpd
 PORTVERSION=	0.18.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio ipv6
 MASTER_SITES=	http://www.musicpd.org/download/mpd/${PORTVERSION:R}/
 DISTNAME=	mpd-${PORTVERSION}
@@ -12,8 +12,7 @@
 
 LICENSE=	GPLv2
 
-USES=		gmake pkgconfig compiler:c++11-lib
-USE_XZ=		yes
+USES=		gmake pkgconfig compiler:c++11-lib tar:xz
 GNU_CONFIGURE=	yes
 USE_GNOME=	glib20
 
@@ -54,7 +53,7 @@
 WAVPACK_DESC=	WavPack support
 WILDMIDI_DESC=	WildMIDI support (MIDI files)
 
-OPTIONS_DEFAULT=ID3TAG IPV6 MAD OSS FLAC VORBIS WAV FFMPEG SNDFILE
+OPTIONS_DEFAULT=ID3TAG IPV6 MAD OSS FLAC VORBIS WAV FFMPEG SNDFILE CURL
 
 AAC_CONFIGURE_ENABLE=aac
 AAC_LIB_DEPENDS=libfaad.so:${PORTSDIR}/audio/faad
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403212243.s2LMhxMf016609>