ports/87301: New port: audio/madman, an advanced digital music manager

Daniel Roethlisberger daniel at roe.ch
Wed Oct 12 01:40:18 UTC 2005


>Number:         87301
>Category:       ports
>Synopsis:       New port: audio/madman, an advanced digital music manager
>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:   Wed Oct 12 01:40:17 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list