Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 20:07:34 +0200 (CEST)
From:      hendrik@scholz.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44059: new port: audio/xmms-midi (a MIDI input plugin for XMMS)
Message-ID:  <200210141807.g9EI7Y0H069882@goanna.lan.raisdorf.net>

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

>Number:         44059
>Category:       ports
>Synopsis:       new port: audio/xmms-midi (a MIDI input plugin for XMMS)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 11:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD goanna.lan.raisdorf.net 4.6-STABLE FreeBSD 4.6-STABLE #4: Tue Oct 1 19:58:23 CEST 2002 hscholz@goanna.lan.raisdorf.net:/usr/src/sys/compile/GOANNA i386


	
>Description:
xmms-midi is a XMMS Input which allows XMMS to play midi files through timidity.

Download URL: http://www.raisdorf.net/files/FreeBSD/xmms-midi.shar

	
>How-To-Repeat:
	
>Fix:

	

--- xmms-midi.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-midi
#	xmms-midi/files
#	xmms-midi/files/patch-mix.c
#	xmms-midi/files/patch-config.h
#	xmms-midi/Makefile
#	xmms-midi/distinfo
#	xmms-midi/pkg-comment
#	xmms-midi/pkg-descr
#	xmms-midi/pkg-plist
#
echo c - xmms-midi
mkdir -p xmms-midi > /dev/null 2>&1
echo c - xmms-midi/files
mkdir -p xmms-midi/files > /dev/null 2>&1
echo x - xmms-midi/files/patch-mix.c
sed 's/^X//' >xmms-midi/files/patch-mix.c << 'END-of-xmms-midi/files/patch-mix.c'
X--- mix.c.orig	Mon Oct 14 19:26:23 2002
X+++ mix.c	Mon Oct 14 19:26:35 2002
X@@ -23,7 +23,7 @@
X 
X #include <math.h>
X #include <stdio.h>
X-#include <malloc.h>
X+#include <stdlib.h>
X 
X #include "config.h"
X #include "common.h"
END-of-xmms-midi/files/patch-mix.c
echo x - xmms-midi/files/patch-config.h
sed 's/^X//' >xmms-midi/files/patch-config.h << 'END-of-xmms-midi/files/patch-config.h'
X--- config.h.orig	Mon Oct 14 19:31:22 2002
X+++ config.h	Mon Oct 14 19:31:32 2002
X@@ -359,3 +359,7 @@
X   #include <errno.h>
X   #define PI 3.14159265358979323846
X #endif
X+
X+#ifdef __FreeBSD__
X+#define PI 3.14159265358979323846
X+#endif
END-of-xmms-midi/files/patch-config.h
echo x - xmms-midi/Makefile
sed 's/^X//' >xmms-midi/Makefile << 'END-of-xmms-midi/Makefile'
X# New ports collection makefile for:	xmms-midi
X# Date created:		2002-10-14
X# Whom:			Hendrik Scholz <hendrik@scholz.net
X#
X# $FreeBSD$
X
XPORTNAME=	xmms-midi
XPORTVERSION=	0.03
XCATEGORIES=	audio
XMASTER_SITES=	http://ban.joh.cam.ac.uk/~cr212/xmms-midi/
X
XMAINTAINER=	hendrik@scholz.net
X
XLIB_DEPENDS=	xmms.3:${PORTSDIR}/audio/xmms
XRUN_DEPENDS=    timidity:${PORTSDIR}/audio/timidity
X
XUSE_REINPLACE=	yes
XUSE_GNOMENG=    yes
XUSE_GNOME=  glib12 gtk12
XUSE_GMAKE=  yes
XUSE_X_PREFIX=	yes
XGNU_CONFIGURE=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -E -e 's|xmms\/Input|lib\/xmms\/Input|g' ${WRKSRC}/Makefile.in
X
Xpost-install:
X	@${RM} ${PREFIX}/lib/xmms/Input/libmid.la
X	@${RM} ${PREFIX}/lib/xmms/Input/libmid.a
X	@${RM} ${PREFIX}/lib/xmms/Input/libmid.so
X	@${MV} ${PREFIX}/lib/xmms/Input/libmid.so.0 ${PREFIX}/lib/xmms/Input/libmid.so
X
X.include <bsd.port.mk>
END-of-xmms-midi/Makefile
echo x - xmms-midi/distinfo
sed 's/^X//' >xmms-midi/distinfo << 'END-of-xmms-midi/distinfo'
XMD5 (xmms-midi-0.03.tar.gz) = a35c62378fc3ccdf420fe81636e5b2f8
END-of-xmms-midi/distinfo
echo x - xmms-midi/pkg-comment
sed 's/^X//' >xmms-midi/pkg-comment << 'END-of-xmms-midi/pkg-comment'
XXMMS input plugin to play midi files
END-of-xmms-midi/pkg-comment
echo x - xmms-midi/pkg-descr
sed 's/^X//' >xmms-midi/pkg-descr << 'END-of-xmms-midi/pkg-descr'
Xxmms-midi is a XMMS Input plugin to play midi files.
X
XWWW: http://ban.joh.cam.ac.uk/~cr212/xmms-midi/
X- Hendrik Scholz <hendrik@scholz.net>
END-of-xmms-midi/pkg-descr
echo x - xmms-midi/pkg-plist
sed 's/^X//' >xmms-midi/pkg-plist << 'END-of-xmms-midi/pkg-plist'
Xlib/xmms/Input/libmid.so.0
Xlib/xmms/Input/libmid.so
END-of-xmms-midi/pkg-plist
exit
--- xmms-midi.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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