pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/gmodplay Removing package because gmodplay is no...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b3ad2a5199e9
branches: trunk
changeset: 476987:b3ad2a5199e9
user: ben <ben%pkgsrc.org@localhost>
date: Thu Jun 24 22:54:27 2004 +0000
description:
Removing package because gmodplay is no longer maintained. For a
modplug-based player, see audio/xmms-modplug.
diffstat:
audio/gmodplay/DESCR | 3 -
audio/gmodplay/Makefile | 46 ------------
audio/gmodplay/PLIST | 5 -
audio/gmodplay/distinfo | 12 ---
audio/gmodplay/files/mod2wav | 59 ----------------
audio/gmodplay/patches/patch-aa | 33 ---------
audio/gmodplay/patches/patch-ab | 13 ---
audio/gmodplay/patches/patch-ac | 49 -------------
audio/gmodplay/patches/patch-ad | 13 ---
audio/gmodplay/patches/patch-ae | 143 ----------------------------------------
audio/gmodplay/patches/patch-af | 25 ------
audio/gmodplay/patches/patch-ag | 49 -------------
audio/gmodplay/patches/patch-ah | 29 --------
13 files changed, 0 insertions(+), 479 deletions(-)
diffs (truncated from 531 to 300 lines):
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/DESCR
--- a/audio/gmodplay/DESCR Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-Gmodplay is a MOD player based on the modplug source code.
-It understands IT, XM, S3M, MOD, MTM, STM, FAR, ULT, 669, AMS, DBM, MDL,
-and OKT module formats.
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/Makefile
--- a/audio/gmodplay/Makefile Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-# $NetBSD: Makefile,v 1.17 2004/04/18 14:34:19 ben Exp $
-
-DISTNAME= gmodplay-0.08
-PKGREVISION= 3
-CATEGORIES= audio
-MASTER_SITES= http://magic.metawire.com/~rani/ \
- http://rani.free.fr/
-
-MAINTAINER= ben%NetBSD.org@localhost
-HOMEPAGE= http://rani.free.fr/
-COMMENT= MOD player for IT XM S3M MOD MTM STM FAR ULT 669 AMS DBM MDL OKT files
-
-# only runs correctly on little-endian machines
-ONLY_FOR_PLATFORM= *-*-alpha *-*-arc *-*-cobalt *-*-dreamcast \
- *-*-hpcmips *-*-hpcsh *-*-i386 *-*-pc532 *-*-pmax \
- *-*-vax
-
-USE_BUILDLINK3= YES
-USE_GNU_TOOLS+= make
-USE_LANGUAGES= c c++
-
-# for libslang and ossaudio
-CFLAGS+= -DAUDIO_DEV="\"\\\"$(DEVOSSAUDIO)\\\"\""
-LDFLAGS+= ${LIBOSSAUDIO}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-LDFLAGS+= -lcurses
-.endif
-
-.if ${OPSYS} == "Linux"
-LDFLAGS+= -lncurses -ldl
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gmodplay ${PREFIX}/bin/gmodplay
- ${INSTALL_SCRIPT} ${FILESDIR}/mod2wav ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gmodplay
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gmodplay
-
-.include "../../devel/libslang/buildlink3.mk"
-.include "../../devel/glib/buildlink3.mk"
-.include "../../mk/ossaudio.buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/PLIST
--- a/audio/gmodplay/PLIST Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:16:36 zuntum Exp $
-bin/gmodplay
-bin/mod2wav
-share/doc/gmodplay/README
-@dirrm share/doc/gmodplay
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/distinfo
--- a/audio/gmodplay/distinfo Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.4 2003/12/13 17:59:57 ben Exp $
-
-SHA1 (gmodplay-0.08.tar.gz) = fb19c21cfd08b96e5a4ef5bb802127803260c3bd
-Size (gmodplay-0.08.tar.gz) = 104056 bytes
-SHA1 (patch-aa) = 9017c2645ff85792f606007270ec2cbf31eca4b1
-SHA1 (patch-ab) = bb3ab618f39109d9c528770feaf1ae8516c9162f
-SHA1 (patch-ac) = 34bb9d525107359c0decd35af197ded216cd588a
-SHA1 (patch-ad) = 3cd04b588226e2e5f2fb2c899ca6c61297a5ccbf
-SHA1 (patch-ae) = 09c7f894b6289d9fb262d825c594f3ab875714d5
-SHA1 (patch-af) = 6f5614591a9a544958ad6f4541db217da47c203b
-SHA1 (patch-ag) = a8e1e1d54ecb17dfb8fbd438b5b7a81bf73c085b
-SHA1 (patch-ah) = 44073bbefd4b48414588e15e5eb2da073b815007
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/files/mod2wav
--- a/audio/gmodplay/files/mod2wav Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: mod2wav,v 1.3 2003/11/25 22:16:28 wiz Exp $
-#
-# I wrote this shell script long ago to be able to master CDs from modules
-# in Un*x using gmodplay. -Ben
-
-CMD=$(basename $0)
-
-if [ -z "$*" ]
-then
- echo "
-Usage: $CMD <module>
-for example \"$CMD funky.xm\" would create funky.xm.wav
-"
- exit
-fi
-
-sox -V 2>&1 | grep sox >/dev/null 2>&1
-if [ $? -ne 0 ]
-then
- echo "
-FATAL: I can't find sox in your path. Is it installed?
-"
- exit
-fi
-
-WAVDIR=$(dirname "$*")
-WAVNAME=$(basename "$*").wav
-
-echo -e "$* -> $WAVDIR/$WAVNAME\c"
-
-
-echo -e " [step 1]\c"
-gmodplay -n -w "$*" >/dev/null 2>&1
-if [ $? -ne 0 ]
-then
- echo "
-FATAL: gmodplay returned an error.
-"
- exit
-fi
-
-echo -e " [step 2]\c"
-chmod a+r output.raw
-sox -t raw -r 44100 -s -w -c 2 output.raw "$WAVDIR/$WAVNAME" >/dev/null 2>&1
-if [ $? -ne 0 ]
-then
- echo "
-FATAL: sox returned an error.
-You may need to remove output.raw
-"
- exit
-fi
-
-echo -e " [step 3]\c"
-rm -f output.raw
-
-echo " Finished!"
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/patches/patch-aa
--- a/audio/gmodplay/patches/patch-aa Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2003/07/22 19:34:31 jmmv Exp $
-
---- cmdline/cmdline.cpp.orig 1998-10-03 13:29:20.000000000 +0200
-+++ cmdline/cmdline.cpp
-@@ -10,6 +10,7 @@
- #include <slang.h>
- #include <math.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <signal.h>
- #include <string.h>
-
-@@ -213,7 +214,7 @@ InitTextMode(int argc, char **argv, Play
- char *modfile;
-
- _player = Player;
-- Player->generic = new struct CmdInfo;
-+ Player->generic = new CmdInfo;
- CMD_INFO(Player)->first_visible_instrument = 0;
- CMD_INFO(Player)->last_visible_instrument = 0;
-
-@@ -415,9 +416,11 @@ InitTextMode(int argc, char **argv, Play
- Player->repeat = !Player->repeat;
- goto update_info;
- case '+':
-+ case 'e':
- volume = VolumeCtrl(2, 2, &Player->mixer);
- goto update_info;
- case '-':
-+ case 'w':
- volume = VolumeCtrl(-2, -2, &Player->mixer);
- goto update_info;
- case '<':
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/patches/patch-ab
--- a/audio/gmodplay/patches/patch-ab Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/03/19 19:35:51 wiz Exp $
-
---- cmdline/cmdline.h.orig Sun Jan 28 10:58:04 2001
-+++ cmdline/cmdline.h Sun Jan 28 10:58:23 2001
-@@ -26,7 +26,7 @@
- #define _LINE_SPECTRO_BANDS_ (_LINE_SPECTRO_MIN_ + 1)
- #define _LINE_INSTRUMENTS_ (_LINE_SPECTRO_BANDS_ + 1)
-
--#define CMD_INFO(playerinfo) ((struct CmdInfo*) playerinfo->generic)
-+#define CMD_INFO(playerinfo) ((CmdInfo*) playerinfo->generic)
- typedef struct {
- int first_visible_instrument;
- int last_visible_instrument;
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/patches/patch-ac
--- a/audio/gmodplay/patches/patch-ac Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2003/12/13 17:59:57 ben Exp $
-
---- common/devices.cpp.orig 1998-09-28 14:59:27.000000000 -0700
-+++ common/devices.cpp
-@@ -13,6 +13,7 @@
- #include <unistd.h>
- #include <fcntl.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/ioctl.h>
- #include <sys/soundcard.h>
-
-@@ -24,13 +25,26 @@ OpenDSP(DSPInfo * DSP)
- int val;
-
- //DSP->fd = open(AUDIO_DEV, O_WRONLY|O_NONBLOCK);
-- DSP->fd = open(DSP->name?DSP->name:AUDIO_DEV, O_WRONLY);
-+ //DSP->fd = open(DSP->name?DSP->name:AUDIO_DEV, O_WRONLY);
-+ if (DSP->rawdump) {
-+ DSP->fd = open(DSP->name, O_WRONLY|O_CREAT);
-+ } else {
-+ DSP->fd = open(DSP->name?DSP->name:AUDIO_DEV, O_WRONLY);
-+ }
-+
- if (DSP->fd == -1) {
- return -1;
- }
-
- val = SND_FORMAT;
- dsp_format:
-+ if (DSP->rawdump) {
-+ DSP->snd_format = SND_FORMAT;
-+ DSP->bits_per_sample = 16;
-+ DSP->stereo_support = 1;
-+ DSP->sample_rate = DEFAULT_RATE;
-+ return 0;
-+ }
- if (ioctl(DSP->fd, SNDCTL_DSP_SETFMT, &val) == -1) {
- perror("ioctl SNDCTL_DSP_SETFMT failed");
- exit(-1);
-@@ -76,7 +90,7 @@ OpenDSP(DSPInfo * DSP)
- }
- DSP->sample_rate = val;
-
-- ioctl(DSP->fd, SNDCTL_DSP_RESET);
-+ ioctl(DSP->fd, SNDCTL_DSP_RESET, NULL);
- return 0;
- }
-
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/patches/patch-ad
--- a/audio/gmodplay/patches/patch-ad Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/03/19 19:35:52 wiz Exp $
-
---- common/modfile.cpp.orig Sun Jan 28 11:06:47 2001
-+++ common/modfile.cpp Sun Jan 28 11:07:29 2001
-@@ -79,7 +79,7 @@
- return -1;
- }
-
-- Mod->ptr = mmap(0, st.st_size, PROT_READ, MAP_PRIVATE, Mod->fd, 0);
-+ Mod->ptr = (char *)mmap(0, st.st_size, PROT_READ, MAP_PRIVATE, Mod->fd, 0);
- if ((int) *Mod->ptr == -1) {
- Mod->ptr = NULL;
- close(Mod->fd);
diff -r c49240554465 -r b3ad2a5199e9 audio/gmodplay/patches/patch-ae
--- a/audio/gmodplay/patches/patch-ae Thu Jun 24 21:07:09 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,143 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2003/12/13 17:59:57 ben Exp $
-
---- common/modplay.cpp.orig 1998-10-05 01:29:52.000000000 -0700
-+++ common/modplay.cpp
-@@ -16,6 +16,7 @@
- #include <sys/ioctl.h>
- #include <sys/soundcard.h>
- #include <string.h>
-+#include <libgen.h>
-
- #include "stdafx.h"
- #include "sndfile.h"
-@@ -88,9 +89,9 @@ ResetPlayer(PlayerInfo * Player)
- }
- else {
- int val = Player->stereo?1:0;
-- ioctl(Player->dsp.fd, SNDCTL_DSP_POST);
-+ ioctl(Player->dsp.fd, SNDCTL_DSP_POST, NULL);
- ioctl(Player->dsp.fd, SNDCTL_DSP_STEREO, &val);
-- ioctl(Player->dsp.fd, SNDCTL_DSP_RESET);
-+ ioctl(Player->dsp.fd, SNDCTL_DSP_RESET, NULL);
- }
-
- bufsize = (TIMELEN * Player->dsp.sample_rate) / 1000;
-@@ -127,8 +128,8 @@ PausePlayer(PlayerInfo * Player)
- Player->paused = true;
- /* FIXME: Useless when doing a close(dsp)??
Home |
Main Index |
Thread Index |
Old Index