Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 1999 16:02:43 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13805: New port: audio/xmp
Message-ID:  <199909181402.QAA32392@totem.freenix.no>

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

>Number:         13805
>Category:       ports
>Synopsis:       New port: audio/xmp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 18 07:10:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

FreeBSD eggsilo.nome.no 3.2-STABLE FreeBSD 3.2-STABLE #0: Thu Sep 16
23:49:54 CEST 1999     root@eggsilo.nome.no:/usr/src/sys/compile/EGGSILO
i386

>Description:

Very nice moduleplayer, IMO.

"The current version of xmp supports many PC and Amiga module formats
(including packed, Powerpacked and SQSHed modules). This is the list of
formats currently supported by xmp: 

XM (Fast Tracker II), MOD (Noise/Fast/Protracker), MOD (Startrekker), MOD
(Soundtracker 2.2), IT (Impulse Tracker), S3M (Scream Tracker 3), STM
(Scream Tracker 2), STX (STMIK 0.2), MTM (Multitracker), IMF (Imago
Orpheus), PTM (Protracker), MDL (Digitrakker), ULT (Ultra Tracker), PTM
(Poly Tracker), MED (MED/OctaMED), DIGI (DIGI Booster), EMOD (Quadra
Composer), OKT (Oktalyzer), SFX (SoundFX 1.3), FAR (Farandole Composer),
STIM (Slamtilt), FC-M (FC-M Packer), KSM (Kefrens Sound Machine), WN
(Wanton Packer), PM (Power Music), KRIS (Kris Tracker), UNIC (Unic
Tracker), PRU1 (ProRunner 1.0), PRU2 (ProRunner 2.0), PM01 (Promizer 0.1),
PM10 (Promizer 1.0c), PM18 (Promizer 1.8a), PM20 (Promizer 2.0), PM40
(Promizer 4.0), AC1D (AC1D Packer), PP10 (Pha Packer), XANN (XANN Packer),
ZEN (Zen Packer), NP (NoisePacker), DI (Digital Illusions), MP (Module
Protector), 669 (Composer 669), FNK (Funktracker), AMD (Amusic Adlib 
Tracker), RAD (Reality Adlib Tracker),CRB (Heatseeker), ALM (Aley Keptr) 
[47 known formats]"

>How-To-Repeat:

	

>Fix:
	
# 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:
#
#	xmp
#	xmp/Makefile
#	xmp/files
#	xmp/files/md5
#	xmp/pkg
#	xmp/pkg/DESCR
#	xmp/pkg/COMMENT
#	xmp/pkg/PLIST
#	xmp/patches
#	xmp/patches/patch-aa
#	xmp/patches/patch-ab
#	xmp/patches/patch-ac
#
echo c - xmp
mkdir -p xmp > /dev/null 2>&1
echo x - xmp/Makefile
sed 's/^X//' >xmp/Makefile << 'END-of-xmp/Makefile'
X# New ports collection makefile for: 	xmp
X# Version required:	xmp-2.0.0-pre
X# Date created:		18 September 1999
X# Whom:			Anders Nordby <anders@fix.no>
X#
X# $Id$
X#
X
XDISTNAME=	xmp-2.0.0-pre
XPKGNAME=	xmp-2.0.0
XCATEGORIES=	audio
XMASTER_SITES=	http://xmp.helllabs.org/pkg/2.0.0/ \
X		http://xmp.linuxbox.com/pkg/2.0.0/
X
XMAINTAINER=	anders@fix.no
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	--disable-alsa
X
XUSE_XLIB=	yes
XUSE_GMAKE=	yes
XUSE_BZIP2=	yes
X
XCFLAGS+=          -DHAVE_SYS_RTPRIO_H
X
XMAN1=		xmp.1 xxmp.1
X
X.include <bsd.port.mk>
END-of-xmp/Makefile
echo c - xmp/files
mkdir -p xmp/files > /dev/null 2>&1
echo x - xmp/files/md5
sed 's/^X//' >xmp/files/md5 << 'END-of-xmp/files/md5'
XMD5 (xmp-2.0.0-pre.tar.bz2) = df88e2802bbbea98f26e38524c84bd87
END-of-xmp/files/md5
echo c - xmp/pkg
mkdir -p xmp/pkg > /dev/null 2>&1
echo x - xmp/pkg/DESCR
sed 's/^X//' >xmp/pkg/DESCR << 'END-of-xmp/pkg/DESCR'
XThis is the Extended Module Player, an open source module player for UNIX
Xdistributed under the terms of the GNU GPL. xmp currently runs on several
Xplatforms, including ALSA, OSS (for Linux on i386 and Alpha and FreeBSD),
XBSD, SunOS, Solaris, S/Linux and HP-UX.  On PC class machines with GUS or
XAWE cards xmp takes advantage of the  OSS sequencer to play modules  with
Xvirtually no system load. Using software mixing, xmp plays at rates up to
X48 kHz in mono or stereo, 8 or 16 bits, signed or unsigned, little or big
Xendian samples with 32 bit linear interpolation.
X
XThe current version of xmp supports many Amiga and PC module formats
X(including packed, Powerpacked and SQSHed modules) -- currently 47 known
Xformats.
X
XWWW: http://xmp.helllabs.org
END-of-xmp/pkg/DESCR
echo x - xmp/pkg/COMMENT
sed 's/^X//' >xmp/pkg/COMMENT << 'END-of-xmp/pkg/COMMENT'
XA player for many different Amiga and PC module formats.
END-of-xmp/pkg/COMMENT
echo x - xmp/pkg/PLIST
sed 's/^X//' >xmp/pkg/PLIST << 'END-of-xmp/pkg/PLIST'
Xbin/xmp
Xbin/xxmp
Xetc/xmp.conf
Xetc/xmp-modules.conf
END-of-xmp/pkg/PLIST
echo c - xmp/patches
mkdir -p xmp/patches > /dev/null 2>&1
echo x - xmp/patches/patch-aa
sed 's/^X//' >xmp/patches/patch-aa << 'END-of-xmp/patches/patch-aa'
X--- src/player/readrc.c.orig	Sat Jul  3 17:13:04 1999
X+++ src/player/readrc.c	Sat Sep 18 13:11:48 1999
X@@ -49,7 +49,7 @@
X 
X     if ((rc = fopen (myrc2, "r")) == NULL) {
X 	if ((rc = fopen (myrc, "r")) == NULL) {
X-	    if ((rc = fopen ("/etc/xmp.conf", "r")) == NULL) {
X+	    if ((rc = fopen ("/usr/local/etc/xmp.conf", "r")) == NULL) {
X 		free (myrc);
X 		return -1;
X 	    }
X@@ -191,7 +191,7 @@
X 
X     myrc = malloc ((home ? strlen (home) : 0) + 20);
X     sprintf (myrc, "%s/.xmp/modules.conf", home);
X-    parse_modconf (ctl, "/etc/xmp-modules.conf", crc, size);
X+    parse_modconf (ctl, "/usr/local/etc/xmp-modules.conf", crc, size);
X     parse_modconf (ctl, myrc, crc, size);
X     free (myrc);
X }
END-of-xmp/patches/patch-aa
echo x - xmp/patches/patch-ab
sed 's/^X//' >xmp/patches/patch-ab << 'END-of-xmp/patches/patch-ab'
X*** etc/Makefile.orig	Sat Sep 18 14:29:28 1999
X--- etc/Makefile	Sat Sep 18 14:29:39 1999
X***************
X*** 21,27 ****
X  	@if [ -f /etc/xmp-modules.conf]; then \
X  	    mv -f /etc/xmp-modules.conf /etc/xmp-modules.conf.old; \
X  	fi
X! 	$(INSTALL) -m644 xmp.conf xmp-modules.conf /etc
X  
X  xmp.spec: xmp.spec.in ../Makefile.rules
X  	cat $@.in | sed 's/@VERSION@/$(VERSION)/g' > $@
X--- 21,27 ----
X  	@if [ -f /etc/xmp-modules.conf]; then \
X  	    mv -f /etc/xmp-modules.conf /etc/xmp-modules.conf.old; \
X  	fi
X! 	$(INSTALL) -m644 xmp.conf xmp-modules.conf $(PREFIX)/etc
X  
X  xmp.spec: xmp.spec.in ../Makefile.rules
X  	cat $@.in | sed 's/@VERSION@/$(VERSION)/g' > $@
END-of-xmp/patches/patch-ab
echo x - xmp/patches/patch-ac
sed 's/^X//' >xmp/patches/patch-ac << 'END-of-xmp/patches/patch-ac'
X*** Makefile.orig	Sat Sep 18 15:34:54 1999
X--- Makefile	Sat Sep 18 15:35:29 1999
X***************
X*** 39,46 ****
X  
X  install::
X  	@echo
X! 	@echo "  Installation complete. To customize, copy /etc/xmp.conf to"
X! 	@echo "  \$$HOME/.xmp/xmp.conf and /etc/xmp-modules.conf to \$$HOME/.xmp/modules.conf"
X  	@echo
X  
X  uninstall:
X--- 39,46 ----
X  
X  install::
X  	@echo
X! 	@echo "  Installation complete. To customize, copy ${PREFIX}/etc/xmp.conf to"
X! 	@echo "  \$$HOME/.xmp/xmp.conf and ${PREFIX}/etc/xmp-modules.conf to \$$HOME/.xmp/modules.conf"
X  	@echo
X  
X  uninstall:
END-of-xmp/patches/patch-ac
exit


>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?199909181402.QAA32392>