From ehaupt@beaver.critical.ch  Fri Jul 15 00:54:49 2005
Return-Path: <ehaupt@beaver.critical.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4402D16A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jul 2005 00:54:49 +0000 (GMT)
	(envelope-from ehaupt@beaver.critical.ch)
Received: from beaver.critical.ch (217-162-251-247.dclient.hispeed.ch [217.162.251.247])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B8A6E43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jul 2005 00:54:48 +0000 (GMT)
	(envelope-from ehaupt@beaver.critical.ch)
Received: from beaver.critical.ch (localhost [127.0.0.1])
	by beaver.critical.ch (8.13.3/8.13.1) with ESMTP id j6F0siRc031590
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Jul 2005 02:54:44 +0200 (CEST)
	(envelope-from ehaupt@beaver.critical.ch)
Received: (from ehaupt@localhost)
	by beaver.critical.ch (8.13.3/8.13.1/Submit) id j6F0silj031589;
	Fri, 15 Jul 2005 02:54:44 +0200 (CEST)
	(envelope-from ehaupt)
Message-Id: <200507150054.j6F0silj031589@beaver.critical.ch>
Date: Fri, 15 Jul 2005 02:54:44 +0200 (CEST)
From: Emanuel Haupt <ehaupt@critical.ch>
Reply-To: Emanuel Haupt <ehaupt@critical.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: audio/xmms-rateplug - Add song rating control to the XMMS playlist 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         83484
>Category:       ports
>Synopsis:       new port: audio/xmms-rateplug - Add song rating control to the XMMS playlist
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 15 01:00:29 GMT 2005
>Closed-Date:    Sat Jul 16 12:38:14 GMT 2005
>Last-Modified:  Sat Jul 16 12:38:14 GMT 2005
>Originator:     Emanuel Haupt
>Release:        FreeBSD 5.4-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD beaver.critical.ch 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #0: Wed Jul  6 20:05:27 CEST 2005 root@beaver.critical.ch:/usr/obj/usr/src-release/src/sys/BEAVER i386


	
>Description:
new port: audio/xmms-rateplug - Add song rating control to the XMMS playlist

Adds extra control to the XMMS playlist and automatically skips songs you don't
like and play the ones you do like.

  * High rated songs will be played privileged
  * Manual manipulation of the assessment of single songs
  * Ignore single songs
  * Configurable


>How-To-Repeat:
	
>Fix:

	



--- xmms-rateplug.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmms-rateplug
#	xmms-rateplug/Makefile
#	xmms-rateplug/pkg-descr
#	xmms-rateplug/distinfo
#	xmms-rateplug/files
#	xmms-rateplug/files/install-user
#	xmms-rateplug/pkg-message
#
echo c - xmms-rateplug
mkdir -p xmms-rateplug > /dev/null 2>&1
echo x - xmms-rateplug/Makefile
sed 's/^X//' >xmms-rateplug/Makefile << 'END-of-xmms-rateplug/Makefile'
X# New ports collection makefile for:	xmms-rateplug
X# Date created:				15 Jul 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmms-rateplug
XDISTVERSION=	0.4.2-3
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	xmmsassesment
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	Add song rating control to the XMMS playlist
X
XUSE_X_PREFIX=	yes
XUSE_GNOME=	gtk12
X
XCXXFLAGS+=	-w -shared `xmms-config --cflags` `gtk-config --cflags` \
X		`gtk-config --libs`
XPLUGIN=		rateplug
X
XPLIST_FILES=	lib/xmms/General/rateplug.so
X
Xdo-build:
X	${CXX} ${CXXFLAGS} ${WRKSRC}/${PLUGIN}.c++ -o ${WRKSRC}/${PLUGIN}.so
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PLUGIN}.so ${PREFIX}/lib/xmms/General
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
Xinstall-user:
X	${SH} ${FILESDIR}/install-user
X
X.include <bsd.port.mk>
END-of-xmms-rateplug/Makefile
echo x - xmms-rateplug/pkg-descr
sed 's/^X//' >xmms-rateplug/pkg-descr << 'END-of-xmms-rateplug/pkg-descr'
XAdds extra control to the XMMS playlist and automatically skips songs you don't
Xlike and play the ones you do like.
X
X  * High rated songs will be played privileged
X  * Manual manipulation of the assessment of single songs
X  * Ignore single songs
X  * Configurable
X
XWWW: http://xmmsassesment.sourceforge.net/
X
X- ehaupt
Xehaupt@critical.ch
END-of-xmms-rateplug/pkg-descr
echo x - xmms-rateplug/distinfo
sed 's/^X//' >xmms-rateplug/distinfo << 'END-of-xmms-rateplug/distinfo'
XMD5 (xmms-rateplug-0.4.2-3.tar.gz) = a29ddbf2b16632ce5c26228c8ee3a76c
XSIZE (xmms-rateplug-0.4.2-3.tar.gz) = 20041
END-of-xmms-rateplug/distinfo
echo c - xmms-rateplug/files
mkdir -p xmms-rateplug/files > /dev/null 2>&1
echo x - xmms-rateplug/files/install-user
sed 's/^X//' >xmms-rateplug/files/install-user << 'END-of-xmms-rateplug/files/install-user'
X#!/bin/sh
X#
X# Emanuel Haupt <ehaupt@critical.ch>
X#
X# This script creates the users configfile that needs to
X# exist in order to use this plugin
X#
X# $FreeBSD$
X
X
Xif [ ! -d ~/.xmms ]; then
X	echo "===>  Creating xmms directory"
X	mkdir ~/.xmms
Xfi
X
Xif [ -f ~/.xmms/database.txt ]; then
X	echo "===>  Database already exists"
Xelse
X	echo "===>  Initializing database"
X	touch ~/.xmms/database.txt
X	echo "===>  Database initialized"
Xfi
END-of-xmms-rateplug/files/install-user
echo x - xmms-rateplug/pkg-message
sed 's/^X//' >xmms-rateplug/pkg-message << 'END-of-xmms-rateplug/pkg-message'
X===============================================================================
XYou can run "make install-user" in this directory as user to initialize the
Xrating database. 
X===============================================================================
END-of-xmms-rateplug/pkg-message
exit
--- xmms-rateplug.shar ends here ---

>Release-Note:
>Audit-Trail:

From: Emanuel Haupt <ehaupt@critical.ch>
To: bug-followup@FreeBSD.org, ehaupt@critical.ch
Cc:  
Subject: Re: ports/83484: new port: audio/xmms-rateplug - Add song rating
 control to the XMMS playlist
Date: Fri, 15 Jul 2005 03:12:55 +0200

 Forgot to register the dependencies:
 
 
 --- Makefile.patch begins here ---
 --- Makefile.orig	Fri Jul 15 03:09:51 2005
 +++ Makefile	Fri Jul 15 03:10:25 2005
 @@ -14,6 +14,9 @@
  MAINTAINER=	ehaupt@critical.ch
  COMMENT=	Add song rating control to the XMMS playlist
  
 +BUILD_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
 +RUN_DEPENDS=	xmms:${PORTSDIR}/multimedia/xmms
 +
  USE_X_PREFIX=	yes
  USE_GNOME=	gtk12
  
 --- Makefile.patch ends here ---
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sat Jul 16 12:38:07 GMT 2005 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83484 
>Unformatted:
