1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Remove audio/gsi, abandonware not developed in the last 13 years

This commit is contained in:
Pietro Cerutti 2014-01-30 09:29:24 +00:00
parent 5cdb5e4d98
commit 8c5545d0d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341824
33 changed files with 1 additions and 710 deletions

1
MOVED
View File

@ -5417,3 +5417,4 @@ textproc/it-ispell|textproc/it-aspell|2014-01-29|Removed, consider using aspell
textproc/nl-ispell|textproc/nl-ispell|2014-01-29|Removed, consider using aspell instead
textproc/sk-ispell|textproc/sk-ispell|2014-01-29|Removed, consider using aspell instead
ukrainian/ispell|ukrainian/aspell|2014-01-29|Removed, consider using aspell instead
audio/gsi||2014-01-30|Removed, abandonware

View File

@ -235,7 +235,6 @@
SUBDIR += gqradio
SUBDIR += gramofile
SUBDIR += grip
SUBDIR += gsi
SUBDIR += gsm
SUBDIR += gspeakers
SUBDIR += gstreamer-plugins-a52dec

View File

@ -1,57 +0,0 @@
# Created by: Sean Farley <sean-freebsd@farley.org>
# $FreeBSD$
PORTNAME= gsi
PORTVERSION= 0.9.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/GSI%20Current/v${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= General sound interface
USE_BZIP2= yes
NO_STAGE= yes
USES= gmake
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" MYFLAGS="${CFLAGS}" OPTIMIZE=""
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
MANCOMPRESSED= no
MAN1= gsifile.1 gsiplay.1
MAN3= gsi.3 gsi_commands.3 gsi_events.3 gsif.3 gsipcm.3
MAN5= gsi.conf.5
MAN7= gsi_overview.7
MAN8= gsi_server.8
post-extract:
@${RM} -f ${WRKSRC}/lib/include/gsi/gsisynth.h
post-patch:
.for f in lib/device/gsimixer/api/mixer_fbsd.c \
lib/device/gsipcm/api/pcm_fbsd.c
@${REINPLACE_CMD} -e \
's|machine/soundcard.h|sys/soundcard.h|g' ${WRKSRC}/${f}
.endfor
.for f in server/FINISH_host_allow.c server/client.c server/conf.c
@${REINPLACE_CMD} -e \
's|"/etc/|"${PREFIX}/etc/|g' ${WRKSRC}/${f}
.endfor
do-configure:
@${SH} ${FILESDIR}/configure.sh ${PREFIX} ${WRKSRC}
post-install:
@${INSTALL_DATA} ${WRKSRC}/server/conf/gsi.conf.fbsd \
${PREFIX}/etc/gsi.conf.sample
.for fileNdx in gsi_server gsifile gsiplay
@${STRIP_CMD} ${PREFIX}/bin/${fileNdx}
.endfor
@${ECHO_MSG} "A sample configuration file was installed as" \
${PREFIX}/etc/gsi.conf.sample.
@${ECHO_MSG} "Copy and edit it to fit the system."
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (gsi-0.9.6.tar.bz2) = fc785f90aa9f2f520a0dd5ff1d42fb5ee283d482b6323ab1c4586944a27a05a9
SIZE (gsi-0.9.6.tar.bz2) = 376104

View File

@ -1,27 +0,0 @@
#!/bin/sh
PREFIX=$1
SYSCONFSCRIPT=Config/Configure_system.sh
APPCONFSCRIPT=Config/Configure_application.sh
# Change to the work directory.
cd $2
# Execute two configure scripts while piping the output to /dev/null.
# This is because the output looks somewhat mashed.
echo -n "Executing ${SYSCONFSCRIPT}... "
${SYSCONFSCRIPT} << _E_O_M_ > /dev/null 2>&1
0
${PREFIX}
_E_O_M_
echo "done."
echo -n "Executing ${APPCONFSCRIPT}... "
${APPCONFSCRIPT} << _E_O_M2_ > /dev/null 2>&1
3
_E_O_M2_
echo "done."

View File

@ -1,18 +0,0 @@
--- ../gsi/Config/Choose.sh Wed Jan 5 09:32:05 2000
+++ ./Config/Choose.sh Thu Dec 7 18:59:20 2000
@@ -7,15 +7,6 @@
prompt=$1
default=$2
-if [ "$default" != "" ]; then
- default="[$default]"
-fi
-if [ "`echo '\c'`" != "" ]; then
- echo -e "$prompt $default \c" >/dev/tty
-else
- echo -ne "$prompt $default " >/dev/tty
-fi
-#echo -e $prompt [$default] >/dev/tty
read answer
if [ "$answer" = "" ]; then
echo $2

View File

@ -1,33 +0,0 @@
--- applications/file/Makefile.orig Wed Dec 6 16:30:51 2000
+++ applications/file/Makefile Fri May 16 17:19:09 2003
@@ -23,7 +23,7 @@
INCLUDES = -I../../lib/include
-CFLAGS = -O2 -fomit-frame-pointer -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -38,7 +38,7 @@
INSTALL_FILE = $(BINDIR)/$(PRG)
CURRENT_GSI_LIBS= -L../../lib/gsif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsif -lm
+LIBS = $(CURRENT_GSI_LIBS) -lgsif -lm
#-----------------------------------------------------------------------------#
@@ -64,10 +64,10 @@
install: $(PRG) install.man
cp -f $(PRG) $(INSTALL_FILE) #$(INSTALL_DIR)
-install.man: doc/gsifile.1
+install.man: doc/man1/gsifile.1
@echo
@echo "Installing gsifile man page:"
- cp -f doc/*.1 $(MANDIR)/man1/
+ cp -f doc/man1/*.1 $(MANDIR)/man1/
#-----------------------------------------------------------------------------#

View File

@ -1,33 +0,0 @@
--- applications/player/Makefile.orig Tue Dec 19 02:31:29 2000
+++ applications/player/Makefile Fri May 16 17:12:31 2003
@@ -23,7 +23,7 @@
INCLUDES = -I../../lib/include
-CFLAGS = -O2 -fomit-frame-pointer -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -43,7 +43,7 @@
else
CURSES = ncurses
endif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
#-----------------------------------------------------------------------------#
@@ -69,10 +69,10 @@
install: $(PRG) install.man
cp -f $(PRG) $(INSTALL_FILE)
-install.man: doc/gsiplay.1
+install.man: doc/man1/gsiplay.1
@echo
@echo "Installing gsiplay man page:"
- cp -f doc/gsiplay.1 $(MANDIR)/man1/
+ cp -f doc/man1/gsiplay.1 $(MANDIR)/man1/
#-----------------------------------------------------------------------------#

View File

@ -1,29 +0,0 @@
--- lib/gsi/Makefile.orig Tue Jan 30 21:10:30 2001
+++ lib/gsi/Makefile Fri May 16 16:43:36 2003
@@ -23,7 +23,7 @@
STATIC_LIB = libgsi.a
DYNAMIC_LIB = libgsi.so
LIB_NAME = $(LIBGSI)
-VERSION = .0.2
+VERSION = .0
LIB_OBJS = connect.o event.o functions.o io.o utils.o log.o
@@ -31,7 +31,7 @@
INCLUDES = -I../include
-WARN = -Wall -Wstrict-prototypes
+WARN = -Wall #-Wstrict-prototypes
MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
@@ -132,7 +132,7 @@
install.man:
- cp -f doc/*.3 $(MANDIR)/man3/
+ cp -f doc/man3/*.3 $(MANDIR)/man3/
uninstall:
rm -f $(INSTALL_FILE)

View File

@ -1,19 +0,0 @@
--- lib/device/gsicd/Makefile.orig Tue Jan 30 21:12:12 2001
+++ lib/device/gsicd/Makefile Fri May 16 16:58:53 2003
@@ -23,14 +23,14 @@
STATIC_LIB = libgsicd.a
DYNAMIC_LIB = libgsicd.so
LIB_NAME = $(LIBGSICD)
-VERSION = .0.1
+VERSION = .0
LIB_OBJS = cd_functions.o utils.o event.o log.o
INCLUDES = -I../../include
-WARN = -Wall -Wstrict-prototypes
+WARN = -Wall #-Wstrict-prototypes
MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)

View File

@ -1,29 +0,0 @@
--- lib/gsif/Makefile.orig Tue Jan 30 16:23:10 2001
+++ lib/gsif/Makefile Fri May 16 16:44:47 2003
@@ -23,7 +23,7 @@
STATIC_LIB = libgsif.a
DYNAMIC_LIB = libgsif.so
LIB_NAME = $(LIBGSIF)
-VERSION = .0.2
+VERSION = .0
LIB_OBJS = io.o log.o error.o \
formats.o \
\
@@ -36,7 +36,7 @@
INCLUDES = -I../include
-WARN = -Wall -Wstrict-prototypes
+WARN = -Wall #-Wstrict-prototypes
MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
@@ -101,7 +101,7 @@
install.man:
- cp doc/*.3 $(MANDIR)/man3/
+ cp doc/man3/*.3 $(MANDIR)/man3/
uninstall:
rm -f $(INSTALL_FILE)

View File

@ -1,20 +0,0 @@
--- lib/gsimidi_pcm/Makefile.orig Mon Jan 8 19:49:16 2001
+++ lib/gsimidi_pcm/Makefile Fri May 16 16:47:01 2003
@@ -23,7 +23,7 @@
STATIC_LIB = libgsimidi_pcm.a
DYNAMIC_LIB = libgsimidi_pcm.so
LIB_NAME = $(LIBGSIMIDI_PCM)
-VERSION = .2.0
+VERSION = .2
LIB_SRCS = instrument/patchgram.c instrument/patchlex.c
LIB_OBJS = gsimidi_pcm.o midi_to_pcm.o midi_parse.o midi_init.o midi_data.o \
input/midi_file.o input/midi_stream.o volume.o \
@@ -38,7 +38,7 @@
INSTRUM_DIR = $(SHRDIR)/gsi/gsimidi_pcm
INSTRUM_MAP = $(INSTRUM_DIR)/patch.mp
-DEBUG_FLAGS = -Wall -Wstrict-prototypes #-DKPMIDI_DEBUG #-g
+DEBUG_FLAGS = -Wall #-Wstrict-prototypes #-DKPMIDI_DEBUG #-g
# Comment out the following line if you do not want to use the GPL'ed GUS
# patch reading code:

View File

@ -1,20 +0,0 @@
--- lib/device/gsimixer/Makefile.orig Mon Jan 15 01:13:55 2001
+++ lib/device/gsimixer/Makefile Fri May 16 17:22:30 2003
@@ -23,7 +23,7 @@
STATIC_LIB = libgsimixer.a
DYNAMIC_LIB = libgsimixer.so
LIB_NAME = $(LIBGSIMIXER)
-VERSION = .0.1
+VERSION = .0
LIB_OBJS = gsimixer.o log.o
@@ -31,7 +31,7 @@
INCLUDES = -I../../include
-WARN = -Wall -Wstrict-prototypes
+WARN = -Wall #-Wstrict-prototypes
MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)

View File

@ -1,29 +0,0 @@
--- lib/device/gsipcm/Makefile.orig Tue Jan 30 21:14:16 2001
+++ lib/device/gsipcm/Makefile Fri May 16 16:42:32 2003
@@ -23,7 +23,7 @@
STATIC_LIB = libgsipcm.a
DYNAMIC_LIB = libgsipcm.so
LIB_NAME = $(LIBGSIPCM)
-VERSION = .0.1
+VERSION = .0
LIB_OBJS = pcm_functions.o log.o
@@ -31,7 +31,7 @@
INCLUDES = -I../../include
-WARN = -Wall -Wstrict-prototypes
+WARN = -Wall #-Wstrict-prototypes
MY_CFLAGS = $(CFLAGS) $(DEBUG) $(OPTIMIZE) $(WARN) $(SYSCONFIG_THREADS_MAKELIB_CFLAGS)
@@ -95,7 +95,7 @@
install.man:
- cp doc/*.3 $(MANDIR)/man3/
+ cp doc/man3/*.3 $(MANDIR)/man3/
uninstall:
rm -f $(INSTALL_FILE)

View File

@ -1,35 +0,0 @@
--- server/Makefile.orig Tue Jan 30 13:05:51 2001
+++ server/Makefile Fri May 16 16:36:47 2003
@@ -23,7 +23,7 @@
DEFINES =
-WARN = -Wall -Wstrict-prototypes
+WARN = -Wall #-Wstrict-prototypes
CFLAGS = $(DEBUG) $(OPTIMIZE) $(WARN)
@@ -102,20 +102,14 @@
@echo
@echo "Installing the server:"
cp $(GSI_SERVER) $(INSTALL_FILE)
- @echo
- @echo "Don't forget to place a line in /etc/services, like this:"
- @echo "gsi_server 9000/tcp # Shared 3d sound server"
- @echo "if you want to be able to run the server over a network."
- @echo "[ note the security implications, see the documentation ]"
-
-install.man: doc/gsi_server.8 doc/gsi.conf.5
+install.man: doc/man8/gsi_server.8 doc/man5/gsi.conf.5
@echo
@echo "Installing gsi_server man page:"
- cp -f doc/gsi_server.8 $(MANDIR)/man8/
+ cp -f doc/man8/gsi_server.8 $(MANDIR)/man8/
@echo
@echo "Installing gsi.conf man page:"
- cp -f doc/gsi.conf.5 $(MANDIR)/man5/
+ cp -f doc/man5/gsi.conf.5 $(MANDIR)/man5/
uninstall.man:

View File

@ -1,20 +0,0 @@
--- test/device/gsicd/Makefile.orig Thu Dec 28 04:00:45 2000
+++ test/device/gsicd/Makefile Fri May 16 17:08:09 2003
@@ -21,7 +21,7 @@
#-----------------------------------------------------------------------------#
INCLUDES = -I../../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -35,7 +35,7 @@
CURRENT_GSI_LIBS= -L../../../lib/device/gsicd
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsicd $(EXTRALIBS_CD)
+LIBS = $(CURRENT_GSI_LIBS) -lgsicd $(EXTRALIBS_CD)
#-----------------------------------------------------------------------------#

View File

@ -1,20 +0,0 @@
--- test/gsif/Makefile.orig Tue Jan 30 16:38:07 2001
+++ test/gsif/Makefile Fri May 16 17:09:57 2003
@@ -20,7 +20,7 @@
#-----------------------------------------------------------------------------#
INCLUDES = -I../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -40,7 +40,7 @@
DEPEND = .depend
CURRENT_GSI_LIBS= -L../../lib/gsif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsif
+LIBS = $(CURRENT_GSI_LIBS) -lgsif
#-----------------------------------------------------------------------------#

View File

@ -1,20 +0,0 @@
--- test/device/gsimixer/Makefile.orig Wed Dec 6 16:32:21 2000
+++ test/device/gsimixer/Makefile Fri May 16 17:09:12 2003
@@ -21,7 +21,7 @@
#-----------------------------------------------------------------------------#
INCLUDES = -I../../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -32,7 +32,7 @@
CURRENT_GSI_LIBS= -L../../../lib/device/gsimixer
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsimixer $(EXTRALIBS_MIXER)
+LIBS = $(CURRENT_GSI_LIBS) -lgsimixer $(EXTRALIBS_MIXER)
#-----------------------------------------------------------------------------#

View File

@ -1,20 +0,0 @@
--- test/device/gsipcm/Makefile.orig Wed Dec 6 16:32:26 2000
+++ test/device/gsipcm/Makefile Fri May 16 16:52:33 2003
@@ -21,7 +21,7 @@
#-----------------------------------------------------------------------------#
INCLUDES = -I../../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -32,7 +32,7 @@
CURRENT_GSI_LIBS= -L../../../lib/device/gsipcm -L../../../lib/gsif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsipcm -lgsif $(EXTRALIBS_PCM)
+LIBS = $(CURRENT_GSI_LIBS) -lgsipcm -lgsif $(EXTRALIBS_PCM)
#-----------------------------------------------------------------------------#

View File

@ -1,20 +0,0 @@
--- test/server/memory_leak/Makefile.orig Thu Dec 28 02:59:47 2000
+++ test/server/memory_leak/Makefile Fri May 16 16:53:49 2003
@@ -23,7 +23,7 @@
INCLUDES = -I../../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -44,7 +44,7 @@
else
CURSES = ncurses
endif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
#-----------------------------------------------------------------------------#
# Targets

View File

@ -1,20 +0,0 @@
--- test/server/general/Makefile.orig Tue Jan 2 09:22:00 2001
+++ test/server/general/Makefile Fri May 16 16:54:46 2003
@@ -23,7 +23,7 @@
INCLUDES = -I../../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -42,7 +42,7 @@
else
CURSES = ncurses
endif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
#-----------------------------------------------------------------------------#

View File

@ -1,20 +0,0 @@
--- test/server/stream/Makefile.orig Wed Dec 6 16:32:56 2000
+++ test/server/stream/Makefile Fri May 16 16:55:55 2003
@@ -23,7 +23,7 @@
INCLUDES = -I../../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS)
@@ -42,7 +42,7 @@
else
CURSES = ncurses
endif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif -lm -l$(CURSES) $(EXTRALIBS)
#-----------------------------------------------------------------------------#

View File

@ -1,20 +0,0 @@
--- test/server/threads/Makefile.orig Wed Dec 6 16:33:01 2000
+++ test/server/threads/Makefile Fri May 16 16:57:21 2003
@@ -24,7 +24,7 @@
INCLUDES = -I../../../lib/include
-CFLAGS = -O2 -DDEBUG -g -Wall
+CFLAGS += -Wall -DDEBUG
ifeq ($(OS), OpenBSD)
ALL_CFLAGS = $(DEFINES) $(INCLUDES) $(CFLAGS) -pthread
else
@@ -50,7 +50,7 @@
else
CURSES = ncurses
endif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsi -lgsif $(SYSCONFIG_THREADS_LFLAGS) -l$(CURSES) $(EXTRALIBS)
+LIBS = $(CURRENT_GSI_LIBS) -lgsi -lgsif $(SYSCONFIG_THREADS_LFLAGS) -l$(CURSES) $(EXTRALIBS)
#-----------------------------------------------------------------------------#

View File

@ -1,11 +0,0 @@
--- test/gsimidi_pcm/Makefile.orig Tue Jan 2 09:42:20 2001
+++ test/gsimidi_pcm/Makefile Fri May 16 17:15:09 2003
@@ -33,7 +33,7 @@
CURRENT_GSI_LIBS= -L../../lib/device/gsipcm -L../../lib/gsimidi_pcm -L../../lib/gsif
-LIBS = $(CURRENT_GSI_LIBS) -L/usr/local/lib -lgsipcm -lgsimidi_pcm -lgsif -lm $(EXTRALIBS_PCM)
+LIBS = $(CURRENT_GSI_LIBS) -lgsipcm -lgsimidi_pcm -lgsif -lm $(EXTRALIBS_PCM)
#-----------------------------------------------------------------------------#

View File

@ -1,44 +0,0 @@
--- lib/gsif/sample/convert_block.c.orig 2001-01-30 13:28:09.000000000 +0100
+++ lib/gsif/sample/convert_block.c 2007-12-06 17:04:45.000000000 +0100
@@ -122,9 +122,9 @@
break;
case GSI_16BIT:
#ifdef SYSCONFIG_LITTLE_ENDIAN_MACHINE
- input_val = (int) (int16) ( ((*input++) << 8) | (*input++) );
+ input_val = (int) (int16) ( (*input++ << 8) | *input++ );
#else
- input_val = *((int16 *)input)++;
+ input_val = *input++;
#endif
break;
case GSI_8BIT_SIGNED:
@@ -132,9 +132,9 @@
break;
case GSI_16BIT_LE:
#ifdef SYSCONFIG_LITTLE_ENDIAN_MACHINE
- input_val = *((int16 *)input)++;
+ input_val = *input++;
#else
- input_val = (int) (int16) (*input++ | ((*input++) << 8) );
+ input_val = (int) (int16) (*(input++) | ((*input++) << 8) );
#endif
break;
case GSI_24BIT:
@@ -170,7 +170,7 @@
*output++ = (input_val >> 8) & 255;
*output++ = (input_val & 255);
#else
- *((int16 *) output)++ = input_val;
+ *output++ = input_val;
#endif
break;
case GSI_8BIT_SIGNED:
@@ -178,7 +178,7 @@
break;
case GSI_16BIT_LE:
#ifdef SYSCONFIG_LITTLE_ENDIAN_MACHINE
- *((int16 *) output)++ = input_val;
+ *output++ = input_val;
#else
*output++ = (input_val >> 8) & 255;
*output++ = (input_val & 255);

View File

@ -1,13 +0,0 @@
$FreeBSD$
--- lib/gsif/io.c.orig Sat Jan 10 22:22:35 2004
+++ lib/gsif/io.c Sat Jan 10 22:21:32 2004
@@ -80,7 +80,7 @@
fint = gsif_swap_int16(i);
status = write (fd, &fint, 2);
#else
- fint = val;
+ fint = i;
status = write (fd, &fint, 2);
#endif
if (status != 2) (*s) = status;

View File

@ -1,10 +0,0 @@
--- lib/gsimidi_pcm/instrument/patchgram.y.orig 2012-11-30 14:15:59.000000000 +0100
+++ lib/gsimidi_pcm/instrument/patchgram.y 2012-11-30 14:16:10.000000000 +0100
@@ -26,6 +26,7 @@
%{
#include <stdio.h>
+#include <stdlib.h>
#include "../kpmidi.h"
#include "../utils/log.h"
#include "../midi_to_pcm.h"

View File

@ -1,10 +0,0 @@
--- lib/gsimidi_pcm/midi_parse.c.orig Sun Jan 14 20:01:27 2001
+++ lib/gsimidi_pcm/midi_parse.c Wed Aug 18 18:34:03 2004
@@ -349,6 +349,7 @@
case 0xfc: /* Midi stop */
case 0xfe: /* Active sense */
case 0xff: /* Reset */
+ ;
}
}

View File

@ -1,11 +0,0 @@
--- lib/gsimidi_pcm/midi_to_pcm.c.orig 2012-11-30 14:13:53.000000000 +0100
+++ lib/gsimidi_pcm/midi_to_pcm.c 2012-11-30 14:14:47.000000000 +0100
@@ -820,7 +820,7 @@
for (t = 0; t < d->reverbCount; t++) {
if (d->reverbTaps[t].offset == offset) {
d->reverbTaps[t].amount = amount;
- return; // WHS: Return what?? False ??
+ return False; // WHS: Return what?? False ??
}
}
taps = calloc (sizeof (MidiReverbTap), d->reverbCount + 1);

View File

@ -1,15 +0,0 @@
--- server/io.h.orig 2012-11-30 14:10:22.000000000 +0100
+++ server/io.h 2012-11-30 14:10:31.000000000 +0100
@@ -34,9 +34,9 @@
#define msb_int32_at(buf) msb_from_native_int32(*((int32 *) (buf)))
#define msb_int16_at(buf) msb_from_native_int16(*((int16 *) (buf)))
-#define next_msb_int32(buf) ( ((((byte *) (buf))++)[0] << 24) | ((((byte *) (buf))++)[1] << 16) | ((((byte *) (buf))++)[2] << 8) | (((byte *) (buf))++)[3] )
-#define next_msb_int16(buf) ( ((((byte *) (buf))++)[0] << 8) | (((byte *) (buf))++)[1] )
-#define next_byte(buf) ((((byte *) (buf))++)[0])
+#define next_msb_int32(buf) (((buf)++)[0] << 24 | ((buf)++)[1] << 16 | ((buf)++)[2] << 8 | ((buf)++)[3])
+#define next_msb_int16(buf) (((buf)++)[0] << 8 | ((buf)++)[1])
+#define next_byte(buf) (((buf)++)[0])
/* writing to clients */

View File

@ -1,20 +0,0 @@
From the home page:
GSI is an easy to use audio system which can be used over a network
and which gives applications, through a very simple API, sample
playing with stereo, 3D, doppler effects, music playing (MIDI, HMP,
MUS), cd playing and ejecting/changing.
GSI also contains a separately usable sound/music
loading/saving/format conversion library libgsif
(au/aiff/voc/wav/raw, midi/hmp/mus), although saving/format
conversion is not completely done.
GSI runs on any unix system that has generic /dev/audio (8000Hz mono
mulaw), OSS, ultrasound project drivers, or NAS (well, it did once, I
need to update the NAS stuff), e.g. Linux, OpenBSD and FreeBSD. CD
playing is dependent on the OS' ioctl's and structs so that probably
works on linux/*BSD only (Solaris may work, as it seems to use the
same ioctl's/structs as Linux).
License: 2-clause BSD-style for code / public domain for headers
WWW: http://gsi.sourceforge.net/

View File

@ -1,6 +0,0 @@
Don't forget to place a line in /etc/services, like this:
gsi_server 9000/tcp # Shared 3d sound server
if you want to be able to run the server over a network.
[ note the security implications, see the documentation ]

View File

@ -1,58 +0,0 @@
bin/gsi_server
bin/gsifile
bin/gsiplay
etc/gsi.conf.sample
include/gsi/config.h
include/gsi/device.h
include/gsi/gsi.h
include/gsi/gsi_command_lengths.h
include/gsi/gsi_command_names.h
include/gsi/gsi_commands.h
include/gsi/gsi_config.h
include/gsi/gsi_debug.h
include/gsi/gsi_event_lengths.h
include/gsi/gsi_event_names.h
include/gsi/gsi_eventmasks.h
include/gsi/gsi_events.h
include/gsi/gsi_instrumentnames_gus.h
include/gsi/gsi_midi_names.h
include/gsi/gsi_shm.h
include/gsi/gsi_subcommands.h
include/gsi/gsicd.h
include/gsi/gsicd_config.h
include/gsi/gsif.h
include/gsi/gsif_config.h
include/gsi/gsif_midi.h
include/gsi/gsimidi_pcm.h
include/gsi/gsimidi_pcm_config.h
include/gsi/gsimixer.h
include/gsi/gsimixer_config.h
include/gsi/gsipcm.h
include/gsi/gsipcm_config.h
include/gsi/gsisynth_config.h
include/gsi/kpmidi.h
include/gsi/kpmidi_patch.h
include/gsi/mixer_data.h
include/gsi/p_signal.c
include/gsi/p_signal.h
include/gsi/pcm_data.h
include/gsi/synth_data.h
include/gsi/version.h
include/gsi/volume.h
include/gsi/whs_debug.h
include/gsi/whs_debug2.h
include/gsi/whs_defines.h
include/gsi/whs_types.h
lib/libgsi.so
lib/libgsi.so.0
lib/libgsicd.so
lib/libgsicd.so.0
lib/libgsif.so
lib/libgsif.so.0
lib/libgsimidi_pcm.so
lib/libgsimidi_pcm.so.2
lib/libgsimixer.so
lib/libgsimixer.so.0
lib/libgsipcm.so
lib/libgsipcm.so.0
@dirrm include/gsi