Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2006 16:24:03 +0200 (CEST)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102273: [audio/herrie] Bump to 0.2
Message-ID:  <200608191424.k7JEO3ka081396@zonk.fxq.nl>
Resent-Message-ID: <200608191430.k7JEUJqL034687@freefall.freebsd.org>

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

>Number:         102273
>Category:       ports
>Synopsis:       [audio/herrie] Bump to 0.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 19 14:30:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ed Schouten
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD zonk.fxq.nl 6.1-STABLE FreeBSD 6.1-STABLE #0: Sat Jul 15 23:07:29 CEST 2006 root@zonk.fxq.nl:/usr/obj/usr/src/sys/ZONK i386

>Description:
A new version of the Herrie audio player is available. This version has
a lot of useful changes, including:

- The addition of a manual page.
- Usage of glib, resulting in a more portable (and safer) application.
- Improved threading, removing the need of semaphores. This makes Herrie
  work out of the box on FreeBSD. sem(4) is not needed anymore.
- AudioScrobbler, using libcurl.

>How-To-Repeat:
n/a

>Fix:
The patch below bumps the port to 0.2:

%%%
--- herrie/Makefile	Tue Aug  1 22:05:31 2006
+++ herrie/Makefile	Sat Aug 19 16:20:38 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	herrie
-PORTVERSION=	0.1
+PORTVERSION=	0.2
 CATEGORIES=	audio
 MASTER_SITES=	http://www.il.fontys.nl/~ed/projects/herrie/distfiles/ \
 		http://www.stack.nl/~ed/projects/herrie/distfiles/
@@ -14,19 +14,42 @@
 MAINTAINER=	ed@fxq.nl
 COMMENT=	A small command line interface music player
 
-LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis \
-		mad.2:${PORTSDIR}/audio/mad \
-		sndfile.1:${PORTSDIR}/audio/libsndfile
-
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+USE_GNOME=	glib20
+USE_OPENSSL=	yes
+USE_GMAKE=	yes
+MAKEFILE=	GNUmakefile
+ALL_TARGET=	herrie
+WRKSRC=		${WRKDIR}/${DISTNAME}/src
+
+OPTIONS=	MAD "MAD MP3 support" on \
+		VORBIS "Ogg Vorbis support" on \
+		SNDFILE "libsndfile support" off \
+		SCROBBLER "AudioScrobbler support" on
 
 PLIST_FILES=	bin/herrie
+MAN1=		herrie.1
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
-IGNORE=		doesn't like 4.x thread libs
+.if !defined(WITHOUT_MAD)
+LIB_DEPENDS+=	mad.2:${PORTSDIR}/audio/mad
+.else
+MAKE_ENV+=	NO_MP3=yes
+.endif
+.if !defined(WITHOUT_VORBIS)
+LIB_DEPENDS+=	vorbis.3:${PORTSDIR}/audio/libvorbis
+.else
+MAKE_ENV+=	NO_VORBIS=yes
+.endif
+.if !defined(WITHOUT_SNDFILE)
+LIB_DEPENDS+=	sndfile.1:${PORTSDIR}/audio/libsndfile
+.else
+MAKE_ENV+=	NO_SNDFILE=yes
+.endif
+.if !defined(WITHOUT_SCROBBLER)
+LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
+.else
+MAKE_ENV+=	NO_SCROBBLER=yes
 .endif
 
 .include <bsd.port.post.mk>
--- herrie/distinfo	Tue Aug  1 22:05:31 2006
+++ herrie/distinfo	Sat Aug 19 16:16:13 2006
@@ -1,3 +1,3 @@
-MD5 (herrie-0.1.tar.gz) = 895e18c071d41beef6b9806bfb7c97c7
-SHA256 (herrie-0.1.tar.gz) = b0858b939575155bb6b6da8160b27459099aa11d002564f40520edf106a8965e
-SIZE (herrie-0.1.tar.gz) = 128954
+MD5 (herrie-0.2.tar.gz) = dd29736faeae572bd4f21ea5b3fa9fb3
+SHA256 (herrie-0.2.tar.gz) = 6344d8471ddb1adb12cea5baa034bd064ecc7692ad8cc8a804d1d807b44be0f0
+SIZE (herrie-0.2.tar.gz) = 37705
--- herrie/pkg-descr	Tue Aug  1 22:05:31 2006
+++ herrie/pkg-descr	Sat Aug 19 16:13:29 2006
@@ -1,5 +1,6 @@
 Herrie is a small command line music player. It has vim-like controls
 and has some unique features, like chroot()'ing and dropping privileges.
-This makes it an ideal application for low-end jukeboxes.
+It also supports submission of songs to AudioScrobbler. This makes it an
+ideal application for low-end jukeboxes.
  
 WWW: http://g-rave.nl/projects/herrie/
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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