From roe@dragon.roe.ch  Wed Oct 12 01:37:05 2005
Return-Path: <roe@dragon.roe.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B827716A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Oct 2005 01:37:05 +0000 (GMT)
	(envelope-from roe@dragon.roe.ch)
Received: from dragon.roe.ch (dragon.roe.ch [212.53.102.185])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E247F43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Oct 2005 01:37:04 +0000 (GMT)
	(envelope-from roe@dragon.roe.ch)
Received: from aphrodite.roe ([192.168.1.13])
	by dragon.roe.ch (envelope-from <roe@dragon.roe.ch>)
	with ESMTP (TLSv1:AES256-SHA:256) id 1EPVYF-0005m4-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 12 Oct 2005 03:37:03 +0200
Received: from aphrodite.roe (localhost [127.0.0.1])
	by aphrodite.roe (8.13.4/8.13.3) with ESMTP id j9C1b987025169;
	Wed, 12 Oct 2005 03:37:09 +0200 (CEST)
	(envelope-from roe@aphrodite.roe)
Received: (from roe@localhost)
	by aphrodite.roe (8.13.4/8.13.3/Submit) id j9C1b8tf025168;
	Wed, 12 Oct 2005 03:37:08 +0200 (CEST)
	(envelope-from roe)
Message-Id: <200510120137.j9C1b8tf025168@aphrodite.roe>
Date: Wed, 12 Oct 2005 03:37:08 +0200 (CEST)
From: Daniel Roethlisberger <daniel@roe.ch>
Reply-To: Daniel Roethlisberger <daniel@roe.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Daniel Roethlisberger <daniel@roe.ch>
Subject: New port: audio/madman, an advanced digital music manager
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         87301
>Category:       ports
>Synopsis:       New port: audio/madman, an advanced digital music manager
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 12 01:40:17 GMT 2005
>Closed-Date:    Thu Oct 13 18:15:15 GMT 2005
>Last-Modified:  Thu Oct 13 18:15:15 GMT 2005
>Originator:     Daniel Roethlisberger
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD aphrodite.roe 5.4-STABLE FreeBSD 5.4-STABLE #7: Mon Oct 10 18:02:44 CEST 2005 root@aphrodite.roe:/usr/obj/usr/src/sys/APHRODITE i386
>Description:
Introducing madman, an advanced digital music manager.
>How-To-Repeat:
>Fix:
--- madman-0.93.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:
#
#	madman
#	madman/Makefile
#	madman/pkg-descr
#	madman/distinfo
#	madman/files
#	madman/files/patch-utility_refcnt_ptr.h
#	madman/files/patch-SConstruct
#	madman/files/patch-expatconfig.h
#	madman/files/patch-ui_auto_tag.cpp
#	madman/files/patch-main_SConscript
#	madman/files/patch-ui_prefs_dialog.cpp
#
echo c - madman
mkdir -p madman > /dev/null 2>&1
echo x - madman/Makefile
sed 's/^X//' >madman/Makefile << 'END-of-madman/Makefile'
X# New ports collection makefile for:	madman
X# Date created:		2005-10-12
X# Whom:			Daniel Roethlisberger <daniel@roe.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	madman
XPORTVERSION=	0.93
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	madman
X
XMAINTAINER=	daniel@roe.ch
XCOMMENT=	An advanced digital music manager
X
XBUILD_DEPENDS=	scons:${PORTSDIR}/devel/scons
XLIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms \
X		id3tag.2:${PORTSDIR}/audio/libid3tag \
X		vorbis.3:${PORTSDIR}/audio/libvorbis
XRUN_DEPENDS=	python:${PORTSDIR}/lang/python
X
XUSE_QT_VER=	3
XUSE_GNOME=	glib12
X
XUSE_REINPLACE=	yes
X
XPLIST_FILES=	bin/madman \
X		lib/madman/plugins/burn_to_audio_cd \
X		lib/madman/plugins/burn_to_data_cd \
X		lib/madman/plugins/export_m3u \
X		lib/madman/plugins/move_to_trash
XPLIST_DIRS=	lib/madman/plugins lib/madman
X
Xdo-build:
X	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons -C ${WRKSRC} prefix=${PREFIX} \
X	qt_directory=${QT_PREFIX} add_c_include_dirs=${LOCALBASE}/include add_lib_dirs=${LOCALBASE}/lib
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/main/madman ${PREFIX}/bin
X	${MKDIR} ${PREFIX}/lib/madman
X	${MKDIR} ${PREFIX}/lib/madman/plugins
X	for plugin in burn_to_audio_cd burn_to_data_cd export_m3u move_to_trash; do \
X		${INSTALL_DATA} -m0755 ${WRKSRC}/plugins/$$plugin ${PREFIX}/lib/madman/plugins; \
X	done
X
X.include <bsd.port.mk>
END-of-madman/Makefile
echo x - madman/pkg-descr
sed 's/^X//' >madman/pkg-descr << 'END-of-madman/pkg-descr'
XMadman is an advanced digital music organizer.  It can catalogue huge amounts
Xof digital music in different formats, including MP3 and Ogg Vorbis.  It has
Xflexible querying, tagging, intelligent scoring, and more.
X
XAuthor: Andreas Kloeckner <inducer@users.sf.net>
XWWW: http://madman.sourceforge.net/
END-of-madman/pkg-descr
echo x - madman/distinfo
sed 's/^X//' >madman/distinfo << 'END-of-madman/distinfo'
XMD5 (madman-0.93.tar.gz) = a9aeef95248ecd55e0479a6b8dec43f2
XSIZE (madman-0.93.tar.gz) = 548497
END-of-madman/distinfo
echo c - madman/files
mkdir -p madman/files > /dev/null 2>&1
echo x - madman/files/patch-utility_refcnt_ptr.h
sed 's/^X//' >madman/files/patch-utility_refcnt_ptr.h << 'END-of-madman/files/patch-utility_refcnt_ptr.h'
X--- utility/refcnt_ptr.h.orig	Wed Oct 12 01:20:34 2005
X+++ utility/refcnt_ptr.h	Wed Oct 12 01:20:40 2005
X@@ -109,7 +109,7 @@
X     refcnt_ptr(const refcnt_ptr<T2>& rhs) throw()
X 	{
X 	object = rhs.object;
X-	refcnt = rhs.refCnt;
X+	refCnt = rhs.refCnt;
X 	increaseCount();
X 	}
X 
END-of-madman/files/patch-utility_refcnt_ptr.h
echo x - madman/files/patch-SConstruct
sed 's/^X//' >madman/files/patch-SConstruct << 'END-of-madman/files/patch-SConstruct'
X--- SConstruct.orig	Thu May 20 16:03:14 2004
X+++ SConstruct	Wed Oct 12 01:01:10 2005
X@@ -1,6 +1,8 @@
X import os
X import glob
X 
X+SConsignFile()
X+
X opts = Options(	"my_options.py")
X 
X opts.Add("qt_directory", "Path to Qt directory", "not specified")
X@@ -112,7 +114,7 @@
X def CheckForQtAt(context, qtdir):
X   context.Message('Checking for Qt at %s... ' % qtdir)
X   result = AttemptLinkWithVariables(context,
X-      { "LIBS": "qt-mt", "LIBPATH": qtdir + '/lib', "CPPPATH": qtdir + '/include' },
X+      { "LINKFLAGS": "-pthread", "LIBS": "qt-mt", "LIBPATH": qtdir + '/lib', "CPPPATH": qtdir + '/include' },
X       """
X #include <qapplication.h>
X int main(int argc, char **argv) { 
END-of-madman/files/patch-SConstruct
echo x - madman/files/patch-expatconfig.h
sed 's/^X//' >madman/files/patch-expatconfig.h << 'END-of-madman/files/patch-expatconfig.h'
X--- expatconfig.h.org	2004-07-29 17:16:48.000000000 +0200
X+++ expatconfig.h	2004-07-29 17:17:36.000000000 +0200
X@@ -69,16 +69,16 @@
X #define HAVE_STRING_H 1
X 
X /* Define if you have strlcat */
X-/* #undef HAVE_STRLCAT */
X+#define HAVE_STRLCAT
X 
X /* Define if you have the strlcat prototype */
X-/* #undef HAVE_STRLCAT_PROTO */
X+#define HAVE_STRLCAT_PROTO
X 
X /* Define if you have strlcpy */
X-/* #undef HAVE_STRLCPY */
X+#define HAVE_STRLCPY
X 
X /* Define if you have the strlcpy prototype */
X-/* #undef HAVE_STRLCPY_PROTO */
X+#define HAVE_STRLCPY_PROTO
X 
X /* Define to 1 if you have the <sys/stat.h> header file. */
X #define HAVE_SYS_STAT_H 1
END-of-madman/files/patch-expatconfig.h
echo x - madman/files/patch-ui_auto_tag.cpp
sed 's/^X//' >madman/files/patch-ui_auto_tag.cpp << 'END-of-madman/files/patch-ui_auto_tag.cpp'
X--- ui/auto_tag.cpp.orig	2004-11-08 19:22:02.000000000 +0100
X+++ ui/auto_tag.cpp	2004-11-08 19:22:23.000000000 +0100
X@@ -654,4 +654,4 @@
X 
X 
X 
X-#include "moc_auto_tag.cc"
X+#include "auto_tag.moc"
END-of-madman/files/patch-ui_auto_tag.cpp
echo x - madman/files/patch-main_SConscript
sed 's/^X//' >madman/files/patch-main_SConscript << 'END-of-madman/files/patch-main_SConscript'
X--- main/SConscript.orig	Thu May 20 16:03:14 2004
X+++ main/SConscript	Wed Oct 12 01:30:29 2005
X@@ -18,6 +18,7 @@
X   myenv.Append(LIBS = "madman" + component)
X 
X myenv.Replace(QT_LIB = "qt-mt")
X+myenv.Append(LINKFLAGS = "-pthread")
X 
X madman_prog = myenv.Program(target = "madman",
X   source = [ "main.cpp" ])
END-of-madman/files/patch-main_SConscript
echo x - madman/files/patch-ui_prefs_dialog.cpp
sed 's/^X//' >madman/files/patch-ui_prefs_dialog.cpp << 'END-of-madman/files/patch-ui_prefs_dialog.cpp'
X--- ui/prefs_dialog.cpp.orig	2004-11-08 19:22:13.000000000 +0100
X+++ ui/prefs_dialog.cpp	2004-11-08 19:22:36.000000000 +0100
X@@ -498,4 +498,4 @@
X     return make_pair(false, false);
X }
X 
X-#include "moc_prefs_dialog.cc"
X+#include "prefs_dialog.moc"
END-of-madman/files/patch-ui_prefs_dialog.cpp
exit
--- madman-0.93.shar ends here ---


>Release-Note:
>Audit-Trail:

From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To: Daniel Roethlisberger <daniel@roe.ch>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/87301: New port: audio/madman,	an advanced digital music
 manager
Date: Wed, 12 Oct 2005 05:42:38 +0300

 --Multipart_Wed__12_Oct_2005_05_42_38_+0300_QRP4Dw+Wo6HIwz5W
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 On Wed, 12 Oct 2005 03:37:08 +0200 (CEST)
 Daniel Roethlisberger <daniel@roe.ch> wrote:
 
 > 
 > >Number:         87301
 > >Category:       ports
 > >Synopsis:       New port: audio/madman, an advanced digital music
 > >manager 
 
 With this little patch (also attached) this port is good to go
 (run-tested for about 15 minutes on 5-STABLE with ~17GB mp3s,
 portlint -A "looks fine." :).
 
 As a note, this is by far the fastest app of it's kind and has some
 nice features too.
 
 Thanks very much Daniel for your work.
 
 --- Makefile.orig       Wed Oct 12 05:17:50 2005
 +++ Makefile    Wed Oct 12 05:18:15 2005
 @@ -33,7 +33,7 @@
  PLIST_DIRS=    lib/madman/plugins lib/madman
 
  do-build:
 -       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/scons -C ${WRKSRC} prefix=${PREFIX} \
 +       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/scons -C ${WRKSRC} prefix=${PREFIX} \
         qt_directory=${QT_PREFIX} add_c_include_dirs=${LOCALBASE}/include add_lib_dirs=${LOCALBASE}/lib
 
  do-install:
 
 
 
 -- 
 IOnut
 Unregistered ;) FreeBSD "user"
   "Intellectual Property" is   nowhere near as valuable   as "Intellect"
 
 
 
 --Multipart_Wed__12_Oct_2005_05_42_38_+0300_QRP4Dw+Wo6HIwz5W
 Content-Type: application/octet-stream; name=Makefile.diff
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename=Makefile.diff
 
 LS0tIE1ha2VmaWxlLm9yaWcJV2VkIE9jdCAxMiAwNToxNzo1MCAyMDA1CisrKyBNYWtlZmlsZQlX
 ZWQgT2N0IDEyIDA1OjE4OjE1IDIwMDUKQEAgLTMzLDcgKzMzLDcgQEAKIFBMSVNUX0RJUlM9CWxp
 Yi9tYWRtYW4vcGx1Z2lucyBsaWIvbWFkbWFuCiAKIGRvLWJ1aWxkOgotCWNkICR7V1JLU1JDfSAm
 JiAke1NFVEVOVn0gJHtNQUtFX0VOVn0gJHtQUkVGSVh9L2Jpbi9zY29ucyAtQyAke1dSS1NSQ30g
 cHJlZml4PSR7UFJFRklYfSBcCisJY2QgJHtXUktTUkN9ICYmICR7U0VURU5WfSAke01BS0VfRU5W
 fSAke0xPQ0FMQkFTRX0vYmluL3Njb25zIC1DICR7V1JLU1JDfSBwcmVmaXg9JHtQUkVGSVh9IFwK
 IAlxdF9kaXJlY3Rvcnk9JHtRVF9QUkVGSVh9IGFkZF9jX2luY2x1ZGVfZGlycz0ke0xPQ0FMQkFT
 RX0vaW5jbHVkZSBhZGRfbGliX2RpcnM9JHtMT0NBTEJBU0V9L2xpYgogCiBkby1pbnN0YWxsOgo=
 
 --Multipart_Wed__12_Oct_2005_05_42_38_+0300_QRP4Dw+Wo6HIwz5W--

From: Daniel Roethlisberger <daniel@roe.ch>
To: Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/87301: New port: audio/madman,	an advanced digital music manager
Date: Wed, 12 Oct 2005 17:37:48 +0200

 Ion-Mihai Tetcu <itetcu@people.tecnik93.com> 2005-10-12:
 > With this little patch (also attached) this port is good to go
 
 Doh!  Of course it should look for scons in LOCALBASE, not PREFIX.
 Thanks for spotting the mistake.
 
 -- 
 Daniel Roethlisberger
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Thu Oct 13 15:48:58 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=87301 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Thu Oct 13 18:15:13 GMT 2005 
State-Changed-Why:  
New port added, I just mark it as BROKEN on 4.x because it doesn't 
build. Thanks!!! 

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