xmcd port

This commit is contained in:
angelos 1998-05-21 01:38:01 +00:00
parent 479dc81a01
commit cbff228de6
99 changed files with 7884 additions and 0 deletions

23
audio/xmcd/Makefile Normal file
View File

@ -0,0 +1,23 @@
# OpenBSD makefile for: xmcd
# Version required: 2.2
# Date created: May 20 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/21 01:38:30 angelos Exp $
#
DISTNAME= xmcd-2.2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications/xmcd
MAINTAINER= angelos@openbsd.org
REQUIRES_MOTIF= yes
USE_IMAKE= yes
IS_INTERACTIVE= yes # asks a lot of questions
post-install:
${CP} ${WRKSRC}/README ${PREFIX}/lib/X11/xmcd
.include <bsd.port.mk>

1
audio/xmcd/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xmcd-2.2.tar.gz) = a47e379e7b93c597b9bf729d79c13ded

View File

@ -0,0 +1,59 @@
*** ./xmcd_d/Imakefile.orig Thu Apr 4 21:42:31 1996
--- ./xmcd_d/Imakefile Thu Apr 4 23:31:17 1996
***************
*** 43,49 ****
* #include "Motif.tmpl"
* #include "Motif.rules"
*/
! LOCAL_LIBRARIES= XmClientLibs
/**** Optional defines: Change as you see fit. *****************************
--- 43,49 ----
* #include "Motif.tmpl"
* #include "Motif.rules"
*/
! LOCAL_LIBRARIES= ${MOTIFLIB} XawClientLibs
/**** Optional defines: Change as you see fit. *****************************
***************
*** 67,78 ****
DEFINES=
#endif
/*
* Add local include path
*/
INCLUDES=-I..
-
/*
* C Source files
--- 67,78 ----
DEFINES=
#endif
+ MANSUFFIX = 1
/*
* Add local include path
*/
INCLUDES=-I..
/*
* C Source files
*** ./dbconv_d/Imakefile.orig Thu Apr 4 23:33:09 1996
--- ./dbconv_d/Imakefile Thu Apr 4 23:33:53 1996
***************
*** 24,29 ****
--- 24,31 ----
*
*/
+ MANSUFFIX = 1
+
/*
* Add local include path

138
audio/xmcd/patches/patch-ab Normal file
View File

@ -0,0 +1,138 @@
*** install.sh.orig Tue Aug 12 19:12:27 1997
--- install.sh Sun Sep 7 16:23:43 1997
***************
*** 48,53 ****
--- 48,56 ----
ERRFILE=/tmp/xmcd.err
TMPFILE=/tmp/xmcdinst.$$
+ # Flag for indicating we do not want to prompt the user if possible.
+ NO_PROMPT=1
+
#
# Utility functions
#
***************
*** 586,592 ****
while :
do
! if getstr "\nEnter X binary directory\n[${BINDIR}]:"
then
if [ -d "$ANS" ]
then
--- 589,599 ----
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "X binary directory - using ${BINDIR}"
! break
! elif getstr "\nEnter X binary directory\n[${BINDIR}]:"
then
if [ -d "$ANS" ]
then
***************
*** 634,640 ****
while :
do
! if getstr "\nEnter X library directory\n[${LIBDIR}]:"
then
if [ -d "$ANS" ]
then
--- 641,651 ----
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "X library directory - using ${LIBDIR}"
! break
! elif getstr "\nEnter X library directory\n[${LIBDIR}]:"
then
if [ -d "$ANS" ]
then
***************
*** 657,663 ****
APPDEFAULTSDIR=$LIBDIR/app-defaults
while :
do
! if getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:"
then
if [ -d "$ANS" ]
then
--- 668,678 ----
APPDEFAULTSDIR=$LIBDIR/app-defaults
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "X app-defaults directory - using ${LIBDIR}"
! break
! elif getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:"
then
if [ -d "$ANS" ]
then
***************
*** 680,686 ****
XMCDLIB=$LIBDIR/xmcd
while :
do
! if getstr "\nEnter xmcd library directory\n[${XMCDLIB}]:"
then
if [ -d "$ANS" ]
then
--- 695,705 ----
XMCDLIB=$LIBDIR/xmcd
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "xmcd library directory - using ${XMCDLIB}"
! break
! elif getstr "\nEnter xmcd library directory\n[${XMCDLIB}]:"
then
if [ -d "$ANS" ]
then
***************
*** 733,739 ****
$ECHO "\n\nThe on-line manual directory is where the man pages in"
$ECHO "in the xmcd package will be installed."
! if getstr "\nEnter on-line manual directory\n[${MANDIR}]:"
then
MANDIR=$ANS
fi
--- 752,761 ----
$ECHO "\n\nThe on-line manual directory is where the man pages in"
$ECHO "in the xmcd package will be installed."
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "xmcd on-line manual directory - using ${MANDIR}"
! elif getstr "\nEnter on-line manual directory\n[${MANDIR}]:"
then
MANDIR=$ANS
fi
***************
*** 758,764 ****
MANSUFFIX=1
fi
! if getstr "\nEnter on-line manual file name suffix\n[${MANSUFFIX}]:"
then
MANSUFFIX=$ANS
fi
--- 780,789 ----
MANSUFFIX=1
fi
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "xmcd on-line manual file name suffix - using ${MANSUFFIX}"
! elif getstr "\nEnter on-line manual file name suffix\n[${MANSUFFIX}]:"
then
MANSUFFIX=$ANS
fi

View File

@ -0,0 +1,46 @@
*** cda_d/Imakefile.orig Sun Nov 30 18:36:25 1997
--- cda_d/Imakefile Wed May 20 21:28:11 1998
***************
*** 86,92 ****
LOCAL_LIBRARIES=
#else
#if defined(OpenBSDArchitecture)
! LOCAL_LIBRARIES=-lncurses -ltermlib
#else
#if defined(UltrixArchitecture)
LOCAL_LIBRARIES=-lcursesX
--- 86,92 ----
LOCAL_LIBRARIES=
#else
#if defined(OpenBSDArchitecture)
! LOCAL_LIBRARIES=-lcurses -ltermlib
#else
#if defined(UltrixArchitecture)
LOCAL_LIBRARIES=-lcursesX
***************
*** 97,103 ****
#if defined(__QNX__)
LOCAL_LIBRARIES=-lncurses
#else
! LOCAL_LIBRARIES=-lcurses
#endif /* __QNX__ */
#endif /* SINIX */
#endif /* ultrix */
--- 97,103 ----
#if defined(__QNX__)
LOCAL_LIBRARIES=-lncurses
#else
! LOCAL_LIBRARIES=-lcurses -ltermlib -lossaudio
#endif /* __QNX__ */
#endif /* SINIX */
#endif /* ultrix */
***************
*** 107,112 ****
--- 107,113 ----
#endif /* LinuxArchitecture OpenBSDArchitecture */
#endif /* SunArchitecture */
+ MANSUFFIX = 1
/*
* C Source files

1
audio/xmcd/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Motif CD player.

14
audio/xmcd/pkg/DESCR Normal file
View File

@ -0,0 +1,14 @@
Xmcd is a program that allows the use of the CD-ROM drive
as a full-featured stereo compact-disc player for the X
window system.
Most of the features found on real CD players are
available in xmcd, such as shuffle and repeat, track
programming functions, a numeric keypad and track warp
slider for direct track access. Additional functions
include sample play, A to B segment play, volume control,
balance control, etc. Several automation options are also
available on CD load, eject, play completion and program
exit. A Channel Routing feature allow you to select from
several stereo or mono routing options. The volume
control slider taper characteristics can also be altered.

148
audio/xmcd/pkg/PLIST Normal file
View File

@ -0,0 +1,148 @@
bin/xmcd
bin/cda
bin/wm2xmcd
lib/X11/app-defaults/XMcd
lib/X11/xmcd/help/Ab.btn
lib/X11/xmcd/help/DbProg.btn
lib/X11/xmcd/help/DdCancel.btn
lib/X11/xmcd/help/DdClr.btn
lib/X11/xmcd/help/DdOk.btn
lib/X11/xmcd/help/DpAbout.btn
lib/X11/xmcd/help/DpAddPgm.btn
lib/X11/xmcd/help/DpCancel.btn
lib/X11/xmcd/help/DpClrPgm.btn
lib/X11/xmcd/help/DpDExt.btn
lib/X11/xmcd/help/DpLink.btn
lib/X11/xmcd/help/DpLoad.btn
lib/X11/xmcd/help/DpSave.btn
lib/X11/xmcd/help/DpSend.btn
lib/X11/xmcd/help/DpTExt.btn
lib/X11/xmcd/help/DpTimSel.btn
lib/X11/xmcd/help/DsCancel.btn
lib/X11/xmcd/help/DsOk.btn
lib/X11/xmcd/help/DtCancel.btn
lib/X11/xmcd/help/DtClr.btn
lib/X11/xmcd/help/DtOk.btn
lib/X11/xmcd/help/Eject.btn
lib/X11/xmcd/help/Ff.btn
lib/X11/xmcd/help/Help.btn
lib/X11/xmcd/help/Keypad.btn
lib/X11/xmcd/help/KpCancel.btn
lib/X11/xmcd/help/KpClear.btn
lib/X11/xmcd/help/KpEnter.btn
lib/X11/xmcd/help/KpNum.btn
lib/X11/xmcd/help/KpSel.btn
lib/X11/xmcd/help/LsCancel.btn
lib/X11/xmcd/help/LsOk.btn
lib/X11/xmcd/help/NextDisc.btn
lib/X11/xmcd/help/NextIdx.btn
lib/X11/xmcd/help/NextTrk.btn
lib/X11/xmcd/help/OpBalCtr.btn
lib/X11/xmcd/help/OpOk.btn
lib/X11/xmcd/help/OpReset.btn
lib/X11/xmcd/help/OpSave.btn
lib/X11/xmcd/help/Options.btn
lib/X11/xmcd/help/PlayPaus.btn
lib/X11/xmcd/help/Power.btn
lib/X11/xmcd/help/PrevDisc.btn
lib/X11/xmcd/help/PrevIdx.btn
lib/X11/xmcd/help/PrevTrk.btn
lib/X11/xmcd/help/Rew.btn
lib/X11/xmcd/help/Sample.btn
lib/X11/xmcd/help/Stop.btn
lib/X11/xmcd/help/Time.btn
lib/X11/xmcd/help/DbMode.lbl
lib/X11/xmcd/help/Disc.lbl
lib/X11/xmcd/help/DiscId.lbl
lib/X11/xmcd/help/DiscTitl.lbl
lib/X11/xmcd/help/Index.lbl
lib/X11/xmcd/help/Keypad.lbl
lib/X11/xmcd/help/PlayMode.lbl
lib/X11/xmcd/help/ProgMode.lbl
lib/X11/xmcd/help/RptCnt.lbl
lib/X11/xmcd/help/Time.lbl
lib/X11/xmcd/help/TimeMode.lbl
lib/X11/xmcd/help/Track.lbl
lib/X11/xmcd/help/TrkTitle.lbl
lib/X11/xmcd/help/DdDisc.txw
lib/X11/xmcd/help/DpDTitle.txw
lib/X11/xmcd/help/DpPgmSeq.txw
lib/X11/xmcd/help/DpTTitle.txw
lib/X11/xmcd/help/DtTrack.txw
lib/X11/xmcd/help/KpWarp.scl
lib/X11/xmcd/help/Level.scl
lib/X11/xmcd/help/OpBal.scl
lib/X11/xmcd/help/DpTrk.lsw
lib/X11/xmcd/help/DsDir.lsw
lib/X11/xmcd/help/LsLink.lsw
lib/X11/xmcd/help/OpChRt.rbx
lib/X11/xmcd/help/OpExit.rbx
lib/X11/xmcd/help/OpLoad.rbx
lib/X11/xmcd/help/OpVolTpr.rbx
lib/X11/xmcd/help/Main.cbx
lib/X11/xmcd/help/OpChgr.cbx
lib/X11/xmcd/help/OpDone.cbx
lib/X11/xmcd/help/OpEject.cbx
lib/X11/xmcd/help/OpLoad.cbx
lib/X11/xmcd/cddb/misc/4102560a
lib/X11/xmcd/pixmaps/xmcd.icon
lib/X11/xmcd/pixmaps/xmcd_a.px
lib/X11/xmcd/pixmaps/xmcd_b.px
lib/X11/xmcd/pixmaps/xmcd.xpm
lib/X11/xmcd/config/common.cfg
lib/X11/xmcd/config/device.cfg
lib/X11/xmcd/config/.tbl/Acer
lib/X11/xmcd/config/.tbl/Apple
lib/X11/xmcd/config/.tbl/Aztech
lib/X11/xmcd/config/.tbl/Chinon
lib/X11/xmcd/config/.tbl/Compaq
lib/X11/xmcd/config/.tbl/Compro
lib/X11/xmcd/config/.tbl/Creative
lib/X11/xmcd/config/.tbl/DEC
lib/X11/xmcd/config/.tbl/Goldstar
lib/X11/xmcd/config/.tbl/HP
lib/X11/xmcd/config/.tbl/Hitachi
lib/X11/xmcd/config/.tbl/IBM
lib/X11/xmcd/config/.tbl/Longshin
lib/X11/xmcd/config/.tbl/MDI
lib/X11/xmcd/config/.tbl/MediaVis
lib/X11/xmcd/config/.tbl/Mitsumi
lib/X11/xmcd/config/.tbl/NEC
lib/X11/xmcd/config/.tbl/Nakamich
lib/X11/xmcd/config/.tbl/Okano
lib/X11/xmcd/config/.tbl/Opticsto
lib/X11/xmcd/config/.tbl/Orchid
lib/X11/xmcd/config/.tbl/Panasoni
lib/X11/xmcd/config/.tbl/Philips
lib/X11/xmcd/config/.tbl/Pioneer
lib/X11/xmcd/config/.tbl/Plextor
lib/X11/xmcd/config/.tbl/Procom
lib/X11/xmcd/config/.tbl/SGI
lib/X11/xmcd/config/.tbl/Sanyo
lib/X11/xmcd/config/.tbl/Sony
lib/X11/xmcd/config/.tbl/Stratus
lib/X11/xmcd/config/.tbl/Sun
lib/X11/xmcd/config/.tbl/Teac
lib/X11/xmcd/config/.tbl/Toshiba
lib/X11/xmcd/config/.tbl/Yamaha
lib/X11/xmcd/config/config.sh
man/man1/xmcd.1
man/man1/cda.1
man/man1/wm2xmcd.1
@dirrm lib/X11/xmcd/pixmaps
@dirrm lib/X11/xmcd/help
@dirrm lib/X11/xmcd/config/.tbl
@dirrm lib/X11/xmcd/config
@dirrm lib/X11/xmcd/cddb/soundtrack
@dirrm lib/X11/xmcd/cddb/rock
@dirrm lib/X11/xmcd/cddb/reggae
@dirrm lib/X11/xmcd/cddb/newage
@dirrm lib/X11/xmcd/cddb/misc
@dirrm lib/X11/xmcd/cddb/jazz
@dirrm lib/X11/xmcd/cddb/folk
@dirrm lib/X11/xmcd/cddb/data
@dirrm lib/X11/xmcd/cddb/country
@dirrm lib/X11/xmcd/cddb/classical
@dirrm lib/X11/xmcd/cddb/blues
@dirrm lib/X11/xmcd/cddb
@dirrm lib/X11/xmcd

View File

@ -0,0 +1,23 @@
# New ports collection makefile for: playmidi
# Version required: 2.3
# Date created: 27 Feb 1995
# Whom: ache
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:01 angelos Exp $
#
DISTNAME= playmidi-2.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/sound/players
MAINTAINER= ache@FreeBSD.ORG
IS_INTERACTIVE= YES # asks what devices you want to support
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= Configure
CONFIGURE_ENV= PREFIX=${PREFIX}
INSTALL_TARGET= install.lame install.man
MAN1= playmidi.1
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (playmidi-2.3.tar.gz) = f5114d85cdbf6096f5820eb58b9ea390

View File

@ -0,0 +1,16 @@
*** patchload.c.orig Sun Nov 20 03:46:34 1994
--- patchload.c Mon Feb 27 23:02:13 1995
***************
*** 7,13 ****
--- 7,17 ----
*************************************************************************/
#include "playmidi.h"
+ #ifdef __FreeBSD__
+ #include <machine/ultrasound.h>
+ #else
#include <sys/ultrasound.h>
+ #endif
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

View File

@ -0,0 +1,239 @@
*** Makefile.orig Sat Feb 24 17:00:00 1996
--- Makefile Fri Nov 15 09:38:06 1996
***************
*** 28,34 ****
# ncurses usually /usr/lib, -L/usr/local/lib doesn't hurt
# unless there's more than one ncurses floating around on your system
! LIBNC = -L/usr/local/lib -lncurses
######### NOTE: X11R6 or newer REQUIRED
LIBX11 = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lXext -lSM -lICE
--- 28,34 ----
# ncurses usually /usr/lib, -L/usr/local/lib doesn't hurt
# unless there's more than one ncurses floating around on your system
! LIBNC = -lncurses -lmytinfo
######### NOTE: X11R6 or newer REQUIRED
LIBX11 = -L/usr/X11R6/lib -lXaw -lXmu -lXt -lX11 -lXext -lSM -lICE
***************
*** 36,60 ****
# ncurses is usually in /usr/include/ncurses, but you may need
# to use /usr/local/include/ncurses depending on your setup.
! INCNC = -I/usr/include/ncurses
# just in case you keep your X includes in an odd location.
INCX11 = -I/usr/X11R6/include -DNARROWPROTO
# usually in /usr/include, but -I/usr/local/include doesn't hurt
# unless there's more than one svgalib floating around your system.
! INCVGA = -I/usr/local/include
# Directory where application defaults files are stored for X11 version
XAPPDEFAULTS = /usr/X11R6/lib/X11/app-defaults
INCLUDES= $(INCNC) $(INCX11) $(INCVGA)
! INSTALLDIR = /usr/local/bin
! INSTALL = install -s
# if you are using the GUS Ultra driver module, add -DULTRA_DRIVER
! CFLAGS = -Wall -pipe -fomit-frame-pointer -O2 -m486
! LDFLAGS =
OBJECTS = playmidi.o readmidi.o playevents.o \
patchload.o emumidi.o io_ncurses.o
--- 36,62 ----
# ncurses is usually in /usr/include/ncurses, but you may need
# to use /usr/local/include/ncurses depending on your setup.
! INCNC = #-I/usr/include/ncurses
# just in case you keep your X includes in an odd location.
INCX11 = -I/usr/X11R6/include -DNARROWPROTO
# usually in /usr/include, but -I/usr/local/include doesn't hurt
# unless there's more than one svgalib floating around your system.
! INCVGA = #-I/usr/local/include
# Directory where application defaults files are stored for X11 version
XAPPDEFAULTS = /usr/X11R6/lib/X11/app-defaults
INCLUDES= $(INCNC) $(INCX11) $(INCVGA)
! INSTALLDIR = ${PREFIX}/bin
# if you are using the GUS Ultra driver module, add -DULTRA_DRIVER
! #CFLAGS = -Wall -pipe -fomit-frame-pointer -O2 -m486
! CFLAGS += -DPREFIX=\"$(PREFIX)\"
! #LDFLAGS =
! INSTALL_BIN = $(INSTALL) -s -c -o $(BINOWN) -g $(BINGRP) -m 755
! INSTALL_DAT = $(INSTALL) -c -o $(BINOWN) -g $(BINGRP) -m 644
OBJECTS = playmidi.o readmidi.o playevents.o \
patchload.o emumidi.o io_ncurses.o
***************
*** 65,71 ****
SOBJECTS= playmidi.o readmidi.o playevents.o \
patchload.o emumidi.o io_svgalib.o
! all: playmidi splaymidi xplaymidi
config:
playmidi.h: playmidi.h-dist
--- 67,73 ----
SOBJECTS= playmidi.o readmidi.o playevents.o \
patchload.o emumidi.o io_svgalib.o
! all: playmidi #splaymidi xplaymidi
config:
playmidi.h: playmidi.h-dist
***************
*** 80,137 ****
io_svgalib.o: io_svgalib.c
$(CC) $(CFLAGS) $(INCVGA) -c io_svgalib.c -o io_svgalib.o
! playmidi: .depend $(OBJECTS)
$(CC) $(LDFLAGS) -o playmidi $(OBJECTS) $(LIBNC)
! xplaymidi: .depend $(XOBJECTS)
$(CC) $(LDFLAGS) -o xplaymidi $(XOBJECTS) $(LIBX11)
! splaymidi: .depend $(SOBJECTS)
$(CC) $(LDFLAGS) -o splaymidi $(SOBJECTS) $(LIBVGA)
$(INSTALLDIR)/playmidi: playmidi
! $(INSTALL) playmidi $(INSTALLDIR)
$(INSTALLDIR)/xplaymidi: xplaymidi
! $(INSTALL) xplaymidi $(INSTALLDIR)
$(INSTALLDIR)/splaymidi: splaymidi
! $(INSTALL) splaymidi $(INSTALLDIR)
! /etc/std.o3:
! cp -i std.o3 /etc
! /etc/drums.o3:
! cp -i drums.o3 /etc
! /etc/std.sb:
! cp -i std.sb /etc
! /etc/drums.sb:
! cp -i drums.sb /etc
$(XAPPDEFAULTS)/XPlaymidi:
! cp -i XPlaymidi.ad $(XAPPDEFAULTS)/XPlaymidi
! install: $(INSTALLDIR)/playmidi $(INSTALLDIR)/splaymidi \
! $(INSTALLDIR)/xplaymidi /etc/std.o3 /etc/drums.o3 \
! /etc/std.sb /etc/drums.sb $(XAPPDEFAULTS)/XPlaymidi
! install.novga: $(INSTALLDIR)/playmidi \
! $(INSTALLDIR)/xplaymidi /etc/std.o3 /etc/drums.o3 \
! /etc/std.sb /etc/drums.sb $(XAPPDEFAULTS)/XPlaymidi
! install.noX11: $(INSTALLDIR)/playmidi $(INSTALLDIR)/splaymidi \
! /etc/std.o3 /etc/drums.o3 /etc/std.sb /etc/drums.sb
! install.Xonly: $(INSTALLDIR)/xplaymidi /etc/std.o3 /etc/drums.o3 \
! /etc/std.sb /etc/drums.sb $(XAPPDEFAULTS)/XPlaymidi
! install.lame: $(INSTALLDIR)/playmidi \
! /etc/std.o3 /etc/drums.o3 /etc/std.sb /etc/drums.sb
install.man:
! cp playmidi.1 /usr/man/man1/
clean:
rm -f *.o playmidi splaymidi xplaymidi a.out
--- 82,143 ----
io_svgalib.o: io_svgalib.c
$(CC) $(CFLAGS) $(INCVGA) -c io_svgalib.c -o io_svgalib.o
! playmidi: $(OBJECTS)
$(CC) $(LDFLAGS) -o playmidi $(OBJECTS) $(LIBNC)
! xplaymidi: $(XOBJECTS)
$(CC) $(LDFLAGS) -o xplaymidi $(XOBJECTS) $(LIBX11)
! splaymidi: $(SOBJECTS)
$(CC) $(LDFLAGS) -o splaymidi $(SOBJECTS) $(LIBVGA)
$(INSTALLDIR)/playmidi: playmidi
! $(INSTALL_BIN) playmidi $(INSTALLDIR)
$(INSTALLDIR)/xplaymidi: xplaymidi
! $(INSTALL_BIN) xplaymidi $(INSTALLDIR)
$(INSTALLDIR)/splaymidi: splaymidi
! $(INSTALL_BIN) splaymidi $(INSTALLDIR)
! ${PREFIX}/lib/midi/std.o3:
! $(INSTALL_DAT) std.o3 $@
! ${PREFIX}/lib/midi/drums.o3:
! $(INSTALL_DAT) drums.o3 $@
! ${PREFIX}/lib/midi/std.sb:
! $(INSTALL_DAT) std.sb $@
! ${PREFIX}/lib/midi/drums.sb:
! $(INSTALL_DAT) drums.sb $@
$(XAPPDEFAULTS)/XPlaymidi:
! $(INSTALL_DAT) XPlaymidi.ad $(XAPPDEFAULTS)/XPlaymidi
! dirs:
! -@mkdir -p $(PREFIX)/lib/midi
! -@mkdir -p $(PREFIX)/lib/Plib
! install: dirs $(INSTALLDIR)/playmidi $(INSTALLDIR)/splaymidi \
! $(INSTALLDIR)/xplaymidi ${PREFIX}/lib/midi/std.o3 ${PREFIX}/lib/midi/drums.o3 \
! ${PREFIX}/lib/midi/std.sb ${PREFIX}/lib/midi/drums.sb $(XAPPDEFAULTS)/XPlaymidi
! install.novga: dirs $(INSTALLDIR)/playmidi \
! $(INSTALLDIR)/xplaymidi ${PREFIX}/lib/midi/std.o3 ${PREFIX}/lib/midi/drums.o3 \
! ${PREFIX}/lib/midi/std.sb ${PREFIX}/lib/midi/drums.sb $(XAPPDEFAULTS)/XPlaymidi
! install.noX11: dirs $(INSTALLDIR)/playmidi $(INSTALLDIR)/splaymidi \
! ${PREFIX}/lib/midi/std.o3 ${PREFIX}/lib/midi/drums.o3 ${PREFIX}/lib/midi/std.sb ${PREFIX}/lib/midi/drums.sb
! install.Xonly: dirs $(INSTALLDIR)/xplaymidi ${PREFIX}/lib/midi/std.o3 ${PREFIX}/lib/midi/drums.o3 \
! ${PREFIX}/lib/midi/std.sb ${PREFIX}/lib/midi/drums.sb $(XAPPDEFAULTS)/XPlaymidi
!
! install.lame: dirs $(INSTALLDIR)/playmidi \
! ${PREFIX}/lib/midi/std.o3 ${PREFIX}/lib/midi/drums.o3 ${PREFIX}/lib/midi/std.sb ${PREFIX}/lib/midi/drums.sb
install.man:
! ${INSTALL_DAT} playmidi.1 ${PREFIX}/man/man1
clean:
rm -f *.o playmidi splaymidi xplaymidi a.out
***************
*** 139,160 ****
distclean: clean
rm -f .depend *~ *.bak playmidi.h config.sed
-
- ifeq (.depend, $(wildcard .depend))
- .depend depend dep: playmidi.h
- for i in *.c; do $(CPP) -M $(CFLAGS) $(INCLUDES) $$i; done >.depend
-
- include .depend
- else
- depend dep:
- for i in *.c; do $(CPP) -M $(CFLAGS) $(INCLUDES) $$i; done >.depend
-
- .depend: playmidi.h
- @echo
- @echo "Bad or missing .depend running 'make depend clean'"
- @echo
- $(MAKE) depend clean
- @echo
- @echo "Successful. Trying to make again"
- @exit 0
- endif
--- 145,147 ----

View File

@ -0,0 +1,19 @@
*** Configure.bak Sat Feb 24 17:00:00 1996
--- Configure Fri Nov 15 08:47:23 1996
***************
*** 8,14 ****
mididevno=-1
play=PLAY_MIDI
gus1=/dos/ultrasnd/midi
! gus2=/usr/local/lib/Plib
##########################################################
### YOU MUST HAVE THE VOXWARE SOUND DRIVER INSTALLED ###
### FOR THIS SCRIPT TO FUNCTION PROPERLY. /dev/sndstat ###
--- 8,14 ----
mididevno=-1
play=PLAY_MIDI
gus1=/dos/ultrasnd/midi
! gus2=${PREFIX}/lib/Plib
##########################################################
### YOU MUST HAVE THE VOXWARE SOUND DRIVER INSTALLED ###
### FOR THIS SCRIPT TO FUNCTION PROPERLY. /dev/sndstat ###

View File

@ -0,0 +1,42 @@
*** playmidi.h-dist.bak Sat Feb 24 17:00:00 1996
--- playmidi.h-dist Fri Nov 15 08:47:23 1996
***************
*** 35,44 ****
#define MAXTRKS 128
/* where to find fm patch libraries */
#define SEQUENCER_DEV "/dev/sequencer"
! #define O3MELODIC "/etc/std.o3"
! #define O3DRUMS "/etc/drums.o3"
! #define SBMELODIC "/etc/std.sb"
! #define SBDRUMS "/etc/drums.sb"
#define ISPERC(x) (perc & (1 << x))
#define ISGUS(x) (play_gus & (1 << x))
#define ISFM(x) (play_fm & (1 << x))
--- 35,47 ----
#define MAXTRKS 128
/* where to find fm patch libraries */
#define SEQUENCER_DEV "/dev/sequencer"
! #ifndef PREFIX
! #define PREFIX "/usr/local"
! #endif
! #define O3MELODIC PREFIX "/lib/midi/std.o3"
! #define O3DRUMS PREFIX "/lib/midi/drums.o3"
! #define SBMELODIC PREFIX "/lib/midi/std.sb"
! #define SBDRUMS PREFIX "/lib/midi/drums.sb"
#define ISPERC(x) (perc & (1 << x))
#define ISGUS(x) (play_gus & (1 << x))
#define ISFM(x) (play_fm & (1 << x))
***************
*** 49,55 ****
--- 52,62 ----
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+ #ifdef __FreeBSD__
+ #include <machine/soundcard.h>
+ #else
#include <sys/soundcard.h>
+ #endif
#include <sys/ioctl.h>
struct chanstate {

View File

@ -0,0 +1,14 @@
*** playmidi.c.orig Sat Feb 24 17:00:00 1996
--- playmidi.c Fri Nov 15 08:57:40 1996
***************
*** 15,21 ****
--- 15,23 ----
laredo@gnu.ai.mit.edu (Nathan Laredo) or to PSC 1, BOX 709, 2401
Kelly Drive, Lackland AFB, TX 78236-5128, USA.
*************************************************************************/
+ #ifndef __FreeBSD__
#include <getopt.h>
+ #endif
#include <fcntl.h>
#include <ctype.h>
#include <unistd.h>

View File

@ -0,0 +1,16 @@
*** io_ncurses.c.bak Sat Feb 24 17:00:00 1996
--- io_ncurses.c Fri Nov 15 09:22:19 1996
***************
*** 14,20 ****
--- 14,24 ----
Kelly Drive, Lackland AFB, TX 78236-5128, USA.
*************************************************************************/
#include "playmidi.h"
+ #ifdef __FreeBSD__
+ #include <ncurses.h>
+ #else
#include <ncurses/curses.h>
+ #endif
#include <sys/time.h>
#include <unistd.h>

View File

@ -0,0 +1,16 @@
*** emumidi.h.bak Sat Feb 24 17:00:00 1996
--- emumidi.h Fri Nov 15 09:30:47 1996
***************
*** 14,20 ****
--- 14,24 ----
Kelly Drive, Lackland AFB, TX 78236-5128, USA.
*************************************************************************/
#include "playmidi.h"
+ #ifdef __FreeBSD__
+ #include <machine/ultrasound.h>
+ #else
#include <linux/ultrasound.h>
+ #endif
/*
* TABLE OF NEARLY EXACT FREQUENCIES FOR ALL MIDI NOTES (A=440Hz)

View File

@ -0,0 +1 @@
MIDI player.

View File

@ -0,0 +1,9 @@
playmidi is a small quick midi file player using the level two sequencer
of the voxware 3.0 package to play on general midi devices or FM or
Gravis Ultrasound. If no files are specified, playmidi will give a short
summary of usage options. If more than one file is specified, you may
skip to the next file while the current one is playing by pressing your
interrupt (usually control-c) key. If you invoke playmidi while it is al-
ready running, it will allow you to control the currently running invoca-
tion until its death, after which time all waiting invocations fight to
go first.

View File

@ -0,0 +1,6 @@
bin/playmidi
lib/midi/std.o3
lib/midi/std.sb
lib/midi/drums.o3
lib/midi/drums.sb
man/man1/playmidi.1.gz

View File

@ -0,0 +1,25 @@
# New ports collection makefile for: rosegarden
# Version required: 2.0.1
# Date created: 04 Aug 1996
# Whom: shanee
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:01 angelos Exp $
#
DISTNAME= rosegarden-2.0.1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.maths.bath.ac.uk/pub/dream/ROSE/
EXTRACT_SUFX= -sources.tgz
MAINTAINER= shanee@augusta.de
LIB_DEPENDS= Xaw3d\\.6\\.:$(PORTSDIR)/x11/Xaw3d
RUN_DEPENDS= playmidi:${PORTSDIR}/audio/playmidi
ALL_TARGET= all ROSEGARDEN=$(WRKSRC) SYSLIBS="\"-lXaw3d -lXext -lXmu -lXt -lX11\"" SYSEXTRALIBS=""
WRKSRC= ${WRKDIR}/rosegarden
MAKEFILE= Makefile.FreeBSD
MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" INSTALL_DATA="${INSTALL_DATA}" MKDIR="${MKDIR}"
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (rosegarden-2.0.1-sources.tgz) = e9407ba667a120cfc685b5b6b314494a

View File

@ -0,0 +1,22 @@
*** Makefile.FreeBSD.orig Wed Sep 11 06:04:21 1996
--- Makefile.FreeBSD Thu Aug 28 15:53:28 1997
***************
*** 265,270 ****
--- 265,281 ----
( $(EXPORTATION) ; cd $(ROSEGARDEN)/topbox/src ; \
$(MAKE) depend )
+ install:
+ $(MKDIR) $(PREFIX)/lib/rosegarden
+ $(MKDIR) $(PREFIX)/lib/rosegarden/music
+ $(INSTALL_PROGRAM) ./bin/rosegarden $(PREFIX)/bin
+ $(INSTALL_PROGRAM) ./bin/editor $(PREFIX)/lib/rosegarden
+ $(INSTALL_PROGRAM) ./bin/sequencer $(PREFIX)/lib/rosegarden
+ $(INSTALL_DATA) ./common/help/* $(PREFIX)/lib/rosegarden
+ $(INSTALL_DATA) ./common/synth-patches/std.sb $(PREFIX)/lib/rosegarden
+ $(INSTALL_DATA) ./common/music/*.rose $(PREFIX)/lib/rosegarden/music
+ $(INSTALL_DATA) Rosegarden $(X11BASE)/lib/X11/app-defaults/
+
clean:
( $(EXPORTATION) ; cd $(ROSEGARDEN)/lists/src ; \
$(MAKE) clean )

View File

@ -0,0 +1,28 @@
*** Rosegarden.orig Wed Sep 11 06:25:10 1996
--- Rosegarden Thu Aug 28 15:51:58 1997
***************
*** 8,19 ****
Rosegarden*sequencerName: /usr/local/lib/rosegarden/sequencer
Rosegarden*helpFile: /usr/local/lib/rosegarden/rosehelp.info
Rosegarden*midiFmPatchFile: /usr/local/lib/rosegarden/std.sb
! Rosegarden*externalPlayer: /usr/local/bin/playmidi
! Rosegarden*musicDirectory: /usr/local/lib/music
Rosegarden*midiFmPatchFile: /usr/local/lib/rosegarden/std.sb
! !Rosegarden*midiPort: /dev/sequencer2
! Rosegarden*externalPlayer: /usr/local/bin/xplaymidi
Rosegarden*shouldWarpPointer: False
--- 8,18 ----
Rosegarden*sequencerName: /usr/local/lib/rosegarden/sequencer
Rosegarden*helpFile: /usr/local/lib/rosegarden/rosehelp.info
Rosegarden*midiFmPatchFile: /usr/local/lib/rosegarden/std.sb
! Rosegarden*externalPlayer: /usr/local/bin/playmidi -f
! Rosegarden*musicDirectory: /usr/local/lib/rosegarden/music
Rosegarden*midiFmPatchFile: /usr/local/lib/rosegarden/std.sb
! Rosegarden*midiPort: /dev/sequencer
Rosegarden*shouldWarpPointer: False

View File

@ -0,0 +1 @@
The Rosegarden Editor and Sequencer suite.

View File

@ -0,0 +1,7 @@
Rosegarden is a free integrated musical notation editor and MIDI
sequencer for Unix/X platforms, with specific support for FreeBSD,
Linux PCs and SGI IRIX workstations.
See the Rosegarden Web page at http://www.bath.ac.uk/~masjpf/rose.html
for more information, or anonymous ftp to ftp.maths.bath.ac.uk,
directory /pub/dream/ROSE .

View File

@ -0,0 +1,14 @@
@cwd /usr/local
bin/rosegarden
lib/rosegarden/editor
lib/rosegarden/rosehelp.hnx
lib/rosegarden/rosehelp.info
lib/rosegarden/sequencer
lib/rosegarden/std.sb
lib/rosegarden/music/glazunov.rose
lib/rosegarden/music/sonataC.rose
lib/rosegarden/music/vivaldi.rose
@dirrm lib/rosegarden/music
@dirrm lib/rosegarden
@cwd /usr/X11R6
lib/X11/app-defaults/Rosegarden

View File

@ -0,0 +1,26 @@
# New ports collection makefile for: rsynth
# Version required: 2.0
# Date created: 03 Jan 1995
# Whom: faulkner@mpd.tandem.com
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:02 angelos Exp $
#
DISTNAME= rsynth-2.0
CATEGORIES= audio
MASTER_SITES= ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/synthesis/
MAINTAINER= faulkner@mpd.tandem.com
BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
EXEC_DEPENDS= auvoxware:${PORTSDIR}/audio/nas
GNU_CONFIGURE= YES
pre-configure:
@${CP} ${FILESDIR}/freebsdplay.c ${WRKSRC}/config/freebsdplay.c
@${CP} ${FILESDIR}/config.guess ${WRKSRC}/config.guess
@${CP} ${FILESDIR}/config.sub ${WRKSRC}/config.sub
@${CP} ${FILESDIR}/configure ${WRKSRC}/configure
.include <bsd.port.mk>

497
audio/xmcd/rsynth/files/config.guess vendored Normal file
View File

@ -0,0 +1,497 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Written by Per Bothner <bothner@cygnus.com>.
# The master version of this file is at the FSF in /home/gd/gnu/lib.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
# The plan is that this can be called by configure scripts if you
# don't specify an explicit system type (host/target name).
#
# Only a few systems have been added to this list; please add others
# (but try to keep the structure clean).
#
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 8/24/94.)
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
PATH=$PATH:/.attbin ; export PATH
fi
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
alpha:OSF1:V*:*)
# After 1.2, OSF1 uses "V1.3" for uname -r.
echo alpha-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^V//'`
exit 0 ;;
alpha:OSF1:*:*)
# 1.2 uses "1.2" for uname -r.
echo alpha-dec-osf${UNAME_RELEASE}
exit 0 ;;
amiga:NetBSD:*:*)
echo m68k-cbm-netbsd${UNAME_RELEASE}
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;;
Pyramid*:OSx*:*:*)
if test "`(/bin/universe) 2>/dev/null`" = att ; then
echo pyramid-pyramid-sysv3
else
echo pyramid-pyramid-bsd
fi
exit 0 ;;
sun4*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:*:*)
case "`/usr/bin/arch -k`" in
Series*|S4*)
UNAME_RELEASE=`uname -v`
;;
esac
# Japanese Language versions have a version number like `4.1.3-JL'.
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
exit 0 ;;
sun3*:SunOS:*:*)
echo m68k-sun-sunos${UNAME_RELEASE}
exit 0 ;;
RISC*:ULTRIX:*:*)
echo mips-dec-ultrix${UNAME_RELEASE}
exit 0 ;;
VAX*:ULTRIX*:*:*)
echo vax-dec-ultrix${UNAME_RELEASE}
exit 0 ;;
mips:*:5*:RISCos)
echo mips-mips-riscos${UNAME_RELEASE}
exit 0 ;;
m88k:CX/UX:7*:*)
echo m88k-harris-cxux7
exit 0 ;;
m88k:*:4*:R4*)
echo m88k-motorola-sysv4
exit 0 ;;
m88k:*:3*:R3*)
echo m88k-motorola-sysv3
exit 0 ;;
AViiON:dgux:*:*)
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
-o ${TARGET_BINARY_INTERFACE}x = x ] ; then
echo m88k-dg-dgux${UNAME_RELEASE}
else
echo m88k-dg-dguxbcs${UNAME_RELEASE}
fi
exit 0 ;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
echo m88k-dolphin-sysv3
exit 0 ;;
M88*:*:R3*:*)
# Delta 88k system running SVR3
echo m88k-motorola-sysv3
exit 0 ;;
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
echo m88k-tektronix-sysv3
exit 0 ;;
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
echo m68k-tektronix-bsd
exit 0 ;;
*:IRIX*:*:*)
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
exit 0 ;;
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
i[34]86:AIX:*:*)
echo i386-ibm-aix
exit 0 ;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
sed 's/^ //' << EOF >dummy.c
#include <sys/systemcfg.h>
main()
{
if (!__power_pc())
exit(1);
puts("powerpc-ibm-aix3.2.5");
exit(0);
}
EOF
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo rs6000-ibm-aix3.2.5
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4
else
echo rs6000-ibm-aix3.2
fi
exit 0 ;;
*:AIX:*:4)
if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
IBM_ARCH=rs6000
else
IBM_ARCH=powerpc
fi
if grep bos410 /usr/include/stdio.h >/dev/null 2>&1; then
IBM_REV=4.1
elif grep bos411 /usr/include/stdio.h >/dev/null 2>&1; then
IBM_REV=4.1.1
else
IBM_REV=4.${UNAME_RELEASE}
fi
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
exit 0 ;;
*:AIX:*:*)
echo rs6000-ibm-aix
exit 0 ;;
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
echo romp-ibm-bsd4.4
exit 0 ;;
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
exit 0 ;; # report: romp-ibm BSD 4.3
*:BOSX:*:*)
echo rs6000-bull-bosx
exit 0 ;;
DPX/2?00:B.O.S.:*:*)
echo m68k-bull-sysv3
exit 0 ;;
9000/[34]??:4.3bsd:1.*:*)
echo m68k-hp-bsd
exit 0 ;;
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
echo m68k-hp-bsd4.4
exit 0 ;;
9000/[3478]??:HP-UX:*:*)
case "${UNAME_MACHINE}" in
9000/31? ) HP_ARCH=m68000 ;;
9000/[34]?? ) HP_ARCH=m68k ;;
9000/7?? | 9000/8?7 ) HP_ARCH=hppa1.1 ;;
9000/8?? ) HP_ARCH=hppa1.0 ;;
esac
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
3050*:HI-UX:*:*)
sed 's/^ //' << EOF >dummy.c
#include <unistd.h>
int
main ()
{
long cpu = sysconf (_SC_CPU_VERSION);
/* The order matters, because CPU_IS_HP_MC68K erroneously returns
true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
results, however. */
if (CPU_IS_PA_RISC (cpu))
{
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
default: puts ("hppa-hitachi-hiuxwe2"); break;
}
}
else if (CPU_IS_HP_MC68K (cpu))
puts ("m68k-hitachi-hiuxwe2");
else puts ("unknown-hitachi-hiuxwe2");
exit (0);
}
EOF
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo unknown-hitachi-hiuxwe2
exit 0 ;;
9000/7??:4.3bsd:*:* | 9000/8?7:4.3bsd:*:* )
echo hppa1.1-hp-bsd
exit 0 ;;
9000/8??:4.3bsd:*:*)
echo hppa1.0-hp-bsd
exit 0 ;;
hp7??:OSF1:*:* | hp8?7:OSF1:*:* )
echo hppa1.1-hp-osf
exit 0 ;;
hp8??:OSF1:*:*)
echo hppa1.0-hp-osf
exit 0 ;;
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
echo c1-convex-bsd
exit 0 ;;
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit 0 ;;
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
echo c34-convex-bsd
exit 0 ;;
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
echo c38-convex-bsd
exit 0 ;;
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
echo c4-convex-bsd
exit 0 ;;
CRAY*X-MP:UNICOS:*:*)
echo xmp-cray-unicos
exit 0 ;;
CRAY*Y-MP:UNICOS:*:*)
echo ymp-cray-unicos
exit 0 ;;
CRAY-2:UNICOS:*:*)
echo cray2-cray-unicos
exit 0 ;;
hp3[0-9][05]:NetBSD:*:*)
echo m68k-hp-netbsd${UNAME_RELEASE}
exit 0 ;;
i[34]86:BSD/386:*:* | *:BSD/OS:*:*)
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
*:GNU:*:*)
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;
*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux
exit 0 ;;
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
# are messed up and put the nodename in both sysname and nodename.
i[34]86:DYNIX/ptx:4*:*)
echo i386-sequent-sysv4
exit 0 ;;
i[34]86:*:4.*:* | i[34]86:SYSTEM_V:4.*:*)
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
else
echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}
fi
exit 0 ;;
i[34]86:*:3.2:*)
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
echo ${UNAME_MACHINE}-unknown-isc$UNAME_REL
elif /bin/uname -X 2>/dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
echo ${UNAME_MACHINE}-unknown-sco$UNAME_REL
else
echo ${UNAME_MACHINE}-unknown-sysv32
fi
exit 0 ;;
Intel:Mach:3*:*)
echo i386-unknown-mach3
exit 0 ;;
paragon:*:*:*)
echo i860-intel-osf1
exit 0 ;;
i860:*:4.*:*) # i860-SVR4
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
else # Add other i860-SVR4 vendors below as they are discovered.
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
fi
exit 0 ;;
mini*:CTIX:SYS*5:*)
# "miniframe"
echo m68010-convergent-sysv
exit 0 ;;
M680[234]0:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0)
uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4.3 && exit 0 ;;
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4 && exit 0 ;;
m680[234]0:LynxOS:2.2*:*)
echo m68k-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
mc68030:UNIX_System_V:4.*:*)
echo m68k-atari-sysv4
exit 0 ;;
i[34]86:LynxOS:2.2*:*)
echo i386-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
TSUNAMI:LynxOS:2.2*:*)
echo sparc-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
rs6000:LynxOS:2.2*:*)
echo rs6000-lynx-lynxos${UNAME_RELEASE}
exit 0 ;;
RM*:SINIX-*:*:*)
echo mips-sni-sysv4
exit 0 ;;
*:SINIX-*:*:*)
if uname -p 2>/dev/null >/dev/null ; then
UNAME_MACHINE=`(uname -p) 2>/dev/null`
echo ${UNAME_MACHINE}-sni-sysv4
else
echo ns32k-sni-sysv
fi
exit 0 ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
cat >dummy.c <<EOF
main ()
{
#if defined (sony)
#if defined (MIPSEB)
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
I don't know.... */
printf ("mips-sony-bsd\n"); exit (0);
#else
#include <sys/param.h>
printf ("m68k-sony-newsos%s\n",
#ifdef NEWSOS4
"4"
#else
""
#endif
); exit (0);
#endif
#endif
#if defined (__arm) && defined (__acorn) && defined (__unix)
printf ("arm-acorn-riscix"); exit (0);
#endif
#if defined (hp300) && !defined (hpux)
printf ("m68k-hp-bsd\n"); exit (0);
#endif
#if defined (NeXT)
#if !defined (__ARCHITECTURE__)
#define __ARCHITECTURE__ "m68k"
#endif
int version;
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
printf ("%s-next-nextstep%s\n", __ARCHITECTURE__, version==2 ? "2" : "3");
exit (0);
#endif
#if defined (MULTIMAX) || defined (n16)
#if defined (UMAXV)
printf ("ns32k-encore-sysv\n"); exit (0);
#else
#if defined (CMU)
printf ("ns32k-encore-mach\n"); exit (0);
#else
printf ("ns32k-encore-bsd\n"); exit (0);
#endif
#endif
#endif
#if defined (__386BSD__)
printf ("i386-unknown-bsd\n"); exit (0);
#endif
#if defined (sequent)
#if defined (i386)
printf ("i386-sequent-dynix\n"); exit (0);
#endif
#if defined (ns32000)
printf ("ns32k-sequent-dynix\n"); exit (0);
#endif
#endif
#if defined (_SEQUENT_)
printf ("i386-sequent-ptx\n"); exit (0);
#endif
#if defined (vax)
#if !defined (ultrix)
printf ("vax-dec-bsd\n"); exit (0);
#else
printf ("vax-dec-ultrix\n"); exit (0);
#endif
#endif
#if defined (alliant) && defined (i860)
printf ("i860-alliant-bsd\n"); exit (0);
#endif
exit (1);
}
EOF
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
# Apollos put the system type in the environment.
test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
# Convex versions that predate uname can use getsysinfo(1)
if [ -x /usr/convex/getsysinfo ]
then
case `getsysinfo -f cpu_type` in
c1*)
echo c1-convex-bsd
exit 0 ;;
c2*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit 0 ;;
c34*)
echo c34-convex-bsd
exit 0 ;;
c38*)
echo c38-convex-bsd
exit 0 ;;
c4*)
echo c4-convex-bsd
exit 0 ;;
esac
fi
#echo '(Unable to guess system type)' 1>&2
exit 1

833
audio/xmcd/rsynth/files/config.sub vendored Normal file
View File

@ -0,0 +1,833 @@
#! /bin/sh
# Configuration validation subroutine script, version 1.1.
# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine. It does not imply ALL GNU software can.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
# Each package is responsible for reporting which valid configurations
# it does not support. The user should be able to distinguish
# a failure to support a valid configuration from a meaningless
# configuration.
# The goal of this file is to map all the various variations of a given
# machine specification into a single specification in the form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
if [ x$1 = x ]
then
echo Configuration name missing. 1>&2
echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
echo "or $0 ALIAS" 1>&2
echo where ALIAS is a recognized configuration type. 1>&2
exit 1
fi
# First pass through any local machine types.
case $1 in
*local*)
echo $1
exit 0
;;
*)
;;
esac
# Separate what the user gave into CPU-COMPANY and OS (if any).
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
if [ $basic_machine != $1 ]
then os=`echo $1 | sed 's/.*-/-/'`
else os=; fi
### Let's recognize common machines as not being operating systems so
### that things like config.sub decstation-3100 work. We also
### recognize some manufacturers as not being operating systems, so we
### can provide default operating systems below.
case $os in
-sun*os*)
# Prevent following clause from handling this invalid input.
;;
-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
os=
basic_machine=$1
;;
-hiux*)
os=-hiuxwe2
;;
-sco4)
os=-sco3.2v4
basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
;;
-sco3.2.[4-9]*)
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
;;
-sco3.2v[4-9]*)
# Don't forget version if it is 3.2v4 or newer.
basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
;;
-sco*)
os=-sco3.2v2
basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
;;
-isc)
os=-isc2.2
basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
;;
-clix*)
basic_machine=clipper-intergraph
;;
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
;;
-lynx*)
os=-lynxos
;;
-ptx*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
;;
-windowsnt*)
os=`echo $os | sed -e 's/windowsnt/winnt/'`
;;
esac
# Decode aliases for certain CPU-COMPANY combinations.
case $basic_machine in
# Recognize the basic CPU types without company name.
# Some are omitted here because they have special meanings below.
tahoe | i[345]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
| tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
| alpha | we32k | ns16k | clipper | sparclite | i370 | sh \
| powerpc | sparc64 | 1750a | dsp16xx | mips64 | mipsel \
| pdp11 | mips64el | mips64orion | mips64orionel \
| sparc)
basic_machine=$basic_machine-unknown
;;
# Object if more than one company name word.
*-*-*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1
;;
# Recognize the basic CPU types with company name.
vax-* | tahoe-* | i[345]86-* | i860-* | m68k-* | m68000-* | m88k-* \
| sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
| none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
| hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
| pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
| pdp11-* | sh-* | powerpc-* | sparc64-* | mips64-* | mipsel-* \
| mips64el-* | mips64orion-* | mips64orionel-*)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
basic_machine=m68000-att
;;
3b*)
basic_machine=we32k-att
;;
alliant | fx80)
basic_machine=fx80-alliant
;;
altos | altos3068)
basic_machine=m68k-altos
;;
am29k)
basic_machine=a29k-none
os=-bsd
;;
amdahl)
basic_machine=580-amdahl
os=-sysv
;;
amiga | amiga-*)
basic_machine=m68k-cbm
;;
amigados)
basic_machine=m68k-cbm
os=-amigados
;;
amigaunix | amix)
basic_machine=m68k-cbm
os=-sysv4
;;
apollo68)
basic_machine=m68k-apollo
os=-sysv
;;
balance)
basic_machine=ns32k-sequent
os=-dynix
;;
convex-c1)
basic_machine=c1-convex
os=-bsd
;;
convex-c2)
basic_machine=c2-convex
os=-bsd
;;
convex-c32)
basic_machine=c32-convex
os=-bsd
;;
convex-c34)
basic_machine=c34-convex
os=-bsd
;;
convex-c38)
basic_machine=c38-convex
os=-bsd
;;
cray | ymp)
basic_machine=ymp-cray
os=-unicos
;;
cray2)
basic_machine=cray2-cray
os=-unicos
;;
crds | unos)
basic_machine=m68k-crds
;;
da30 | da30-*)
basic_machine=m68k-da30
;;
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
basic_machine=mips-dec
;;
delta | 3300 | motorola-3300 | motorola-delta \
| 3300-motorola | delta-motorola)
basic_machine=m68k-motorola
;;
delta88)
basic_machine=m88k-motorola
os=-sysv3
;;
dpx20 | dpx20-*)
basic_machine=rs6000-bull
os=-bosx
;;
dpx2* | dpx2*-bull)
basic_machine=m68k-bull
os=-sysv3
;;
ebmon29k)
basic_machine=a29k-amd
os=-ebmon
;;
elxsi)
basic_machine=elxsi-elxsi
os=-bsd
;;
encore | umax | mmax)
basic_machine=ns32k-encore
;;
fx2800)
basic_machine=i860-alliant
;;
genix)
basic_machine=ns32k-ns
;;
gmicro)
basic_machine=tron-gmicro
os=-sysv
;;
h3050r* | hiux*)
basic_machine=hppa1.1-hitachi
os=-hiuxwe2
;;
h8300hms)
basic_machine=h8300-hitachi
os=-hms
;;
harris)
basic_machine=m88k-harris
os=-sysv3
;;
hp300-*)
basic_machine=m68k-hp
;;
hp300bsd)
basic_machine=m68k-hp
os=-bsd
;;
hp300hpux)
basic_machine=m68k-hp
os=-hpux
;;
hp9k2[0-9][0-9] | hp9k31[0-9])
basic_machine=m68000-hp
;;
hp9k3[2-9][0-9])
basic_machine=m68k-hp
;;
hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
basic_machine=hppa1.1-hp
;;
hp9k8[0-9][0-9] | hp8[0-9][0-9])
basic_machine=hppa1.0-hp
;;
i370-ibm* | ibm*)
basic_machine=i370-ibm
os=-mvs
;;
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
i[345]86v32)
basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
os=-sysv32
;;
i[345]86v4*)
basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
os=-sysv4
;;
i[345]86v)
basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
os=-sysv
;;
i[345]86sol2)
basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
os=-solaris2
;;
iris | iris4d)
basic_machine=mips-sgi
case $os in
-irix*)
;;
*)
os=-irix4
;;
esac
;;
isi68 | isi)
basic_machine=m68k-isi
os=-sysv
;;
m88k-omron*)
basic_machine=m88k-omron
;;
magnum | m3230)
basic_machine=mips-mips
os=-sysv
;;
merlin)
basic_machine=ns32k-utek
os=-sysv
;;
miniframe)
basic_machine=m68000-convergent
;;
mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
;;
mips3*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
;;
ncr3000)
basic_machine=i486-ncr
os=-sysv4
;;
news | news700 | news800 | news900)
basic_machine=m68k-sony
os=-newsos
;;
news1000)
basic_machine=m68030-sony
os=-newsos
;;
news-3600 | risc-news)
basic_machine=mips-sony
os=-newsos
;;
next | m*-next )
basic_machine=m68k-next
case $os in
-nextstep* )
;;
-ns2*)
os=-nextstep2
;;
*)
os=-nextstep3
;;
esac
;;
nh3000)
basic_machine=m68k-harris
os=-cxux
;;
nh[45]000)
basic_machine=m88k-harris
os=-cxux
;;
nindy960)
basic_machine=i960-intel
os=-nindy
;;
np1)
basic_machine=np1-gould
;;
pa-hitachi)
basic_machine=hppa1.1-hitachi
os=-hiuxwe2
;;
paragon)
basic_machine=i860-intel
os=-osf
;;
pbd)
basic_machine=sparc-tti
;;
pbb)
basic_machine=m68k-tti
;;
pc532 | pc532-*)
basic_machine=ns32k-pc532
;;
pentium-*)
# We will change tis to say i586 once there has been
# time for various packages to start to recognize that.
basic_machine=i486-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pn)
basic_machine=pn-gould
;;
ps2)
basic_machine=i386-ibm
;;
rm[46]00)
basic_machine=mips-siemens
;;
rtpc | rtpc-*)
basic_machine=romp-ibm
;;
sequent)
basic_machine=i386-sequent
;;
sh)
basic_machine=sh-hitachi
os=-hms
;;
sps7)
basic_machine=m68k-bull
os=-sysv2
;;
spur)
basic_machine=spur-unknown
;;
sun2)
basic_machine=m68000-sun
;;
sun2os3)
basic_machine=m68000-sun
os=-sunos3
;;
sun2os4)
basic_machine=m68000-sun
os=-sunos4
;;
sun3os3)
basic_machine=m68k-sun
os=-sunos3
;;
sun3os4)
basic_machine=m68k-sun
os=-sunos4
;;
sun4os3)
basic_machine=sparc-sun
os=-sunos3
;;
sun4os4)
basic_machine=sparc-sun
os=-sunos4
;;
sun4sol2)
basic_machine=sparc-sun
os=-solaris2
;;
sun3 | sun3-*)
basic_machine=m68k-sun
;;
sun4)
basic_machine=sparc-sun
;;
sun386 | sun386i | roadrunner)
basic_machine=i386-sun
;;
symmetry)
basic_machine=i386-sequent
os=-dynix
;;
tower | tower-32)
basic_machine=m68k-ncr
;;
udi29k)
basic_machine=a29k-amd
os=-udi
;;
ultra3)
basic_machine=a29k-nyu
os=-sym1
;;
vaxv)
basic_machine=vax-dec
os=-sysv
;;
vms)
basic_machine=vax-dec
os=-vms
;;
vxworks960)
basic_machine=i960-wrs
os=-vxworks
;;
vxworks68)
basic_machine=m68k-wrs
os=-vxworks
;;
xmp)
basic_machine=xmp-cray
os=-unicos
;;
xps | xps100)
basic_machine=xps100-honeywell
;;
none)
basic_machine=none-none
os=-none
;;
# Here we handle the default manufacturer of certain CPU types. It is in
# some cases the only manufacturer, in others, it is the most popular.
mips)
basic_machine=mips-mips
;;
romp)
basic_machine=romp-ibm
;;
rs6000)
basic_machine=rs6000-ibm
;;
vax)
basic_machine=vax-dec
;;
pdp11)
basic_machine=pdp11-dec
;;
we32k)
basic_machine=we32k-att
;;
sparc)
basic_machine=sparc-sun
;;
cydra)
basic_machine=cydra-cydrome
;;
orion)
basic_machine=orion-highlevel
;;
orion105)
basic_machine=clipper-highlevel
;;
*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1
;;
esac
# Here we canonicalize certain aliases for manufacturers.
case $basic_machine in
*-digital*)
basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
;;
*-commodore*)
basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
;;
*)
;;
esac
# Decode manufacturer-specific aliases for certain operating systems.
if [ x"$os" != x"" ]
then
case $os in
# -solaris* is a basic system type, with this one exception.
-solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
-solaris)
os=-solaris2
;;
-unixware* | svr4*)
os=-sysv4
;;
-gnu/linux*)
os=`echo $os | sed -e 's|gnu/linux|linux|'`
;;
# First accept the basic system types.
# The portable systems comes first.
# Each alternative must end in a *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[345]* \
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
| -nindy* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
| -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi | -eabi)
;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`
;;
-sunos6*)
os=`echo $os | sed -e 's|sunos6|solaris3|'`
;;
-osfrose*)
os=-osfrose
;;
-osf*)
os=-osf
;;
-utek*)
os=-bsd
;;
-dynix*)
os=-bsd
;;
-acis*)
os=-aos
;;
-ctix* | -uts*)
os=-sysv
;;
# Preserve the version number of sinix5.
-sinix5.*)
os=`echo $os | sed -e 's|sinix|sysv|'`
;;
-sinix*)
os=-sysv4
;;
-triton*)
os=-sysv3
;;
-oss*)
os=-sysv3
;;
-svr4)
os=-sysv4
;;
-svr3)
os=-sysv3
;;
-sysvr4)
os=-sysv4
;;
# This must come after -sysvr4.
-sysv*)
;;
-xenix)
os=-xenix
;;
-none)
;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`
echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
exit 1
;;
esac
else
# Here we handle the default operating systems that come with various machines.
# The value should be what the vendor currently ships out the door with their
# machine or put another way, the most popular os provided with the machine.
# Note that if you're going to try to match "-MANUFACTURER" here (say,
# "-sun"), then you have to tell the case statement up towards the top
# that MANUFACTURER isn't an operating system. Otherwise, code above
# will signal an error saying that MANUFACTURER isn't an operating
# system, and we'll never get to this point.
case $basic_machine in
*-acorn)
os=-riscix1.2
;;
pdp11-*)
os=-none
;;
*-dec | vax-*)
os=-ultrix4.2
;;
m68*-apollo)
os=-domain
;;
i386-sun)
os=-sunos4.0.2
;;
m68000-sun)
os=-sunos3
# This also exists in the configure program, but was not the
# default.
# os=-sunos4
;;
*-tti) # must be before sparc entry or we get the wrong os.
os=-sysv3
;;
sparc-* | *-sun)
os=-sunos4.1.1
;;
*-ibm)
os=-aix
;;
*-hp)
os=-hpux
;;
*-hitachi)
os=-hiux
;;
i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
os=-sysv
;;
*-cbm)
os=-amigados
;;
*-dg)
os=-dgux
;;
*-dolphin)
os=-sysv3
;;
m68k-ccur)
os=-rtu
;;
m88k-omron*)
os=-luna
;;
*-sequent)
os=-ptx
;;
*-crds)
os=-unos
;;
*-ns)
os=-genix
;;
i370-*)
os=-mvs
;;
*-next)
os=-nextstep3
;;
*-gould)
os=-sysv
;;
*-highlevel)
os=-bsd
;;
*-encore)
os=-bsd
;;
*-sgi)
os=-irix
;;
*-siemens)
os=-sysv4
;;
*-masscomp)
os=-rtu
;;
*)
os=-none
;;
esac
fi
# Here we handle the case where we know the os, and the CPU type, but not the
# manufacturer. We pick the logical manufacturer.
vendor=unknown
case $basic_machine in
*-unknown)
case $os in
-riscix*)
vendor=acorn
;;
-sunos*)
vendor=sun
;;
-lynxos*)
vendor=lynx
;;
-aix*)
vendor=ibm
;;
-hpux*)
vendor=hp
;;
-hiux*)
vendor=hitachi
;;
-unos*)
vendor=crds
;;
-dgux*)
vendor=dg
;;
-luna*)
vendor=omron
;;
-genix*)
vendor=ns
;;
-mvs*)
vendor=ibm
;;
-ptx*)
vendor=sequent
;;
-vxworks*)
vendor=wrs
;;
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;
esac
echo $basic_machine$os

2455
audio/xmcd/rsynth/files/configure vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,140 @@
#include <config.h>
/*****************************************************************/
/*** ***/
/*** Play out a file on FreeBSD ***/
/*** (conf/linuxplay.c with changes) ***/
/*** ***/
/*****************************************************************/
#include <useconfig.h>
#include <stdio.h>
#include <math.h>
#include <errno.h>
#include <ctype.h>
#include <fcntl.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/signal.h>
#include <sys/ioctl.h>
#include <machine/soundcard.h>
#include "proto.h"
#include "getargs.h"
#include "hplay.h"
#define SAMP_RATE 8000
long samp_rate = SAMP_RATE;
/* Audio Parameters */
static int dev_fd = -1;
/* file descriptor for audio device */
char *dev_file = "/dev/dsp";
static int linear_fd = -1;
static char *linear_file = NULL;
char *prog = "hplay";
static int
audio_open(void)
{
dev_fd = open(dev_file, O_WRONLY | O_NDELAY);
if (dev_fd < 0)
{
perror(dev_file);
return 0;
}
return 1;
}
int
audio_init(int argc, char *argv[])
{
int rate_set = 0;
int use_audio = 1;
prog = argv[0];
argc = getargs("freebsd Audio",argc, argv,
"r", "%d", &rate_set, "Sample rate",
"a", NULL, &use_audio, "Audio enable",
NULL);
if (help_only)
return argc;
if (use_audio)
audio_open();
if (rate_set)
samp_rate = rate_set;
if (dev_fd > 0)
{
ioctl(dev_fd, SNDCTL_DSP_SPEED, &samp_rate);
printf("Actual sound rate: %ld\n", samp_rate);
}
return argc;
}
void
audio_term()
{
int dummy;
/* Close audio system */
if (dev_fd >= 0)
{
ioctl(dev_fd, SNDCTL_DSP_SYNC, &dummy);
close(dev_fd);
dev_fd = -1;
}
/* Finish linear file */
if (linear_fd >= 0)
{
ftruncate(linear_fd, lseek(linear_fd, 0L, SEEK_CUR));
close(linear_fd);
linear_fd = -1;
}
}
void
audio_play(int n, short *data)
{
if (n > 0)
{
unsigned char *converted = (unsigned char *) malloc(n);
int i;
if (converted == NULL)
{
fprintf(stderr, "Could not allocate memory for conversion\n");
exit(3);
}
for (i = 0; i < n; i++)
converted[i] = (data[i] - 32768) / 256;
if (linear_fd >= 0)
{
if (write(linear_fd, converted, n) != n)
perror("write");
}
if (dev_fd >= 0)
{
if (write(dev_fd, converted, n) != n)
perror("write");
}
free(converted);
}
}

View File

@ -0,0 +1 @@
MD5 (rsynth-2.0.tar.gz) = 0546d21526a1ef4e7bd4b5b5ca26125f

View File

@ -0,0 +1,9 @@
*** naplay.c.ORIG Tue Nov 1 19:40:13 1994
--- naplay.c Sat Jun 10 19:51:40 1995
***************
*** 1,3 ****
--- 1,4 ----
+ #include <sys/types.h>
#include <useconfig.h>
#include <sys/time.h>
#include <sys/stat.h>

View File

@ -0,0 +1,30 @@
*** configure.in.orig Tue Nov 8 14:30:51 1994
--- configure.in Sat Jul 1 18:02:56 1995
***************
*** 11,17 ****
dbm=none
make_dist=/dev/null
! AC_PREFIX_PROGRAM(gcc)
if test -z "$CC" && test -n "$GCC" ; then
CC=$GCC
--- 11,18 ----
dbm=none
make_dist=/dev/null
! dnl *sigh* - torstenb
! dnl AC_PREFIX_PROGRAM(gcc)
if test -z "$CC" && test -n "$GCC" ; then
CC=$GCC
***************
*** 41,46 ****
--- 42,48 ----
*-sgi-*) hplay=sgi ;;
*-next-*) hplay=NeXT; AC_CHECK_HEADERS(libc.h) ;;
*-*-linux*) hplay=linux ;;
+ *-*-freebsd*) hplay=freebsd ;;
*-*-hpux*) hplay=hpux ;;
*-*-*) echo "Unknown host type $host" ;;
esac

View File

@ -0,0 +1,11 @@
--- ./Makefile.in.org Tue Nov 8 05:30:52 1994
+++ ./Makefile.in Mon Jul 3 21:29:28 1995
@@ -67,7 +67,7 @@
for f in $(PROGS); do \
$(INSTALL_PROG) $$f $(BIN_DIR); \
done
- $(INSTALL) -d $(LIB_DIR)
+ if [ ! -d $(LIB_DIR) ]; then mkdir -p $(LIB_DIR); fi
for f in $(DICTS); do \
$(INSTALL_DATA) $$f $(LIB_DIR); \
done

View File

@ -0,0 +1 @@
Speech synthesizer.

View File

@ -0,0 +1,15 @@
This is a text to speech system produced by integrating various pieces
of code and tables of data, which are all (I believe) in the public domain.
The Oxford Text Archive has for several years maintained copies of several
machine-readable dictionaries along with its extensive (if
unsystematic) collections of other machine-readable texts. This document
gives some further details of the various dictionaries available, and
summarises the conditions under which copies of them are currently
distributed.
The Oxford Text Archive Shortlist (available on request via electronic
mail and by FTP) gives up to date brief details of all texts held in
the Archive. Send electronic mail to ARCHIVE@VAX.OXFORD.AC.UK. For
anonymous FTP, look in the directory ota on ota.ox.ac.uk (129.67.1.165)

View File

@ -0,0 +1,2 @@
bin/say
bin/nasay

18
audio/xmcd/splay/Makefile Normal file
View File

@ -0,0 +1,18 @@
# New ports collection makefile for: splay
# Version required: 0.3
# Date created: 1 Apr 1997
# Whom: junker@jazz.snu.ac.kr
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:02 angelos Exp $
#
DISTNAME= splay-0.5
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/sound/players/
MAINTAINER= junker@jazz.snu.ac.kr
GNU_CONFIGURE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (splay-0.5.tar.gz) = 6c98edfb97961c4f89c6a4b8e9aac405

View File

@ -0,0 +1,19 @@
*** mpegsound/rawplayer.cc Thu Mar 27 22:18:47 1997
--- mpegsound/rawplayer.cc Tue Apr 1 19:33:46 1997
***************
*** 8,14 ****
#include <fcntl.h>
#include <sys/ioctl.h>
! #include <sys/soundcard.h>
#include "mpegsound.h"
--- 8,14 ----
#include <fcntl.h>
#include <sys/ioctl.h>
! #include <machine/soundcard.h>
#include "mpegsound.h"

View File

@ -0,0 +1,11 @@
--- src/cmd/cmd.cc.orig Sat Aug 9 16:31:03 1997
+++ src/cmd/cmd.cc Sat Aug 9 16:31:15 1997
@@ -15,7 +15,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <sys/soundcard.h>
+#include <machine/soundcard.h>
#include <mpegsound.h>

View File

@ -0,0 +1 @@
An audio player/decoder that decodes MPEG Layer I,II,III and WAV files.

View File

@ -0,0 +1,14 @@
splay-0.3
---------
Splay program uses the MPEG/Wave Sound library to play sound files in
several formats, notably the MPEG audio and Wave format. This early version
has only limited functionally and a simplistic user interface.
This program have NO WARRANTY.
You can use this program under GPL.
You can use these libraries under Library GPL.
* This version of splay was not compiled with pthread library.
--
Port by Choi Jun Ho <junker@jazz.snu.ac.kr>

View File

@ -0,0 +1 @@
bin/splay

View File

@ -0,0 +1,36 @@
# New ports collection makefile for: timidity
# Homepage: http://www.cgs.fi/~tt/timidity/
# Version required: 0.2i
# Date created: 17 Nov 1996
# Whom: ache
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:03 angelos Exp $
#
DISTNAME= timidity-0.2i
CATEGORIES= audio
MASTER_SITES= ftp://ftp.cdrom.com/pub/demos/music/samples/ \
http://www.cgs.fi/~tt/timidity/
TIINS= dgguspat.zip
DISTFILES= ${TIINS} ${DISTNAME}.tar.gz
MAINTAINER= ache@FreeBSD.ORG
NO_CDROM= "Uses copyrighted patches"
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
EXTRACT_ONLY= ${DISTNAME}.tar.gz
INSTALL_TARGET= install.all
MAN1= timidity.1
do-configure:
@cd ${WRKSRC} && \
sed "s=%PREFIX%=${PREFIX}=" < gravis.cfg > gravis.cfg.new && \
mv gravis.cfg.new gravis.cfg
post-install:
cd ${PREFIX}/lib/timidity/patch && \
unzip -o -q -L ${DISTDIR}/${TIINS}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (dgguspat.zip) = 94affd73c5b53ff0d5e12df1bc55c53d
MD5 (timidity-0.2i.tar.gz) = 7dedd75232aaa7729e50c76cdd379b82

View File

@ -0,0 +1,85 @@
*** config.h.orig Sat Jun 1 16:54:49 1996
--- config.h Sun Nov 17 10:00:29 1996
***************
*** 217,222 ****
--- 217,238 ----
# endif
#endif /* linux */
+ #ifdef __FreeBSD__
+ #include <errno.h>
+ #include <machine/endian.h>
+ #if BYTE_ORDER == LITTLE_ENDIAN
+ #undef BIG_ENDIAN
+ #undef PDP_ENDIAN
+ #elif BYTE_ORDER == BIG_ENDIAN
+ #undef LITTLE_ENDIAN
+ #undef PDP_ENDIAN
+ #else
+ # error No valid byte sex defined
+ #endif
+ #define USE_LDEXP
+ #define PI M_PI
+ #endif
+
/* Win32 on Intel machines */
#ifdef __WIN32__
# define LITTLE_ENDIAN
***************
*** 254,266 ****
--- 270,292 ----
#ifdef LITTLE_ENDIAN
#define LE_SHORT(x) x
#define LE_LONG(x) x
+ #ifdef __FreeBSD__
+ #define BE_SHORT(x) __byte_swap_word(x)
+ #define BE_LONG(x) __byte_swap_long(x)
+ #else
#define BE_SHORT(x) XCHG_SHORT(x)
#define BE_LONG(x) XCHG_LONG(x)
+ #endif
#else
#define BE_SHORT(x) x
#define BE_LONG(x) x
+ #ifdef __FreeBSD__
+ #define LE_SHORT(x) __byte_swap_word(x)
+ #define LE_LONG(x) __byte_swap_long(x)
+ #else
#define LE_SHORT(x) XCHG_SHORT(x)
#define LE_LONG(x) XCHG_LONG(x)
+ #endif
#endif
#define MAX_AMPLIFICATION 800
*** mix.c.orig Mon May 20 17:09:46 1996
--- mix.c Sun Nov 17 10:01:36 1996
***************
*** 23,29 ****
--- 23,33 ----
#include <math.h>
#include <stdio.h>
+ #ifdef __FreeBSD__
+ #include <stdlib.h>
+ #else
#include <malloc.h>
+ #endif
#include "config.h"
#include "common.h"
*** resample.c.orig Mon May 20 17:09:47 1996
--- resample.c Sun Nov 17 09:59:29 1996
***************
*** 22,28 ****
--- 22,32 ----
#include <math.h>
#include <stdio.h>
+ #ifdef __FreeBSD__
+ #include <stdlib.h>
+ #else
#include <malloc.h>
+ #endif
#include "config.h"
#include "common.h"

View File

@ -0,0 +1,150 @@
*** Makefile.orig Sun May 26 13:26:46 1996
--- Makefile Sun Nov 17 13:09:19 1996
***************
*** 24,45 ****
# But where to change without revealing my secret identity?
########### Compiler and flags.
! CC = gcc
! DEBUGFLAGS = -Wall -O2
########### Install.
! INSTALL = /usr/bin/install
# Where to install the executable
! BIN_DIR = /usr/local/bin
# Where to install the manual pages
! MAN_DIR = /usr/local/man/man1
# Where to install the patches, config files, and MIDI files.
# If you change this, it's a good idea to recompile the binary,
# or you'll need to invoke timidity with the -L option.
! TIMID_DIR = /usr/local/lib/timidity
# Where to install the Tcl code, if you use the Tcl code that is.
TCL_DIR = $(TIMID_DIR)
--- 24,45 ----
# But where to change without revealing my secret identity?
########### Compiler and flags.
! #CC = gcc
! DEBUGFLAGS = -Wall
########### Install.
! #INSTALL = /usr/bin/install
# Where to install the executable
! BIN_DIR = ${PREFIX}/bin
# Where to install the manual pages
! MAN_DIR = ${PREFIX}/man/man1
# Where to install the patches, config files, and MIDI files.
# If you change this, it's a good idea to recompile the binary,
# or you'll need to invoke timidity with the -L option.
! TIMID_DIR = ${PREFIX}/lib/timidity
# Where to install the Tcl code, if you use the Tcl code that is.
TCL_DIR = $(TIMID_DIR)
***************
*** 93,100 ****
# Select the ncurses full-screen interface
SYSTEM += -DIA_NCURSES
SYSEXTRAS += ncurs_c.c
! EXTRAINCS += -I/usr/include/ncurses
! EXTRALIBS += -lncurses
## Select the S-Lang full-screen interface
#SYSTEM += -DIA_SLANG
--- 93,100 ----
# Select the ncurses full-screen interface
SYSTEM += -DIA_NCURSES
SYSEXTRAS += ncurs_c.c
! #EXTRAINCS += -I/usr/include/ncurses
! EXTRALIBS += -lncurses -lmytinfo
## Select the S-Lang full-screen interface
#SYSTEM += -DIA_SLANG
***************
*** 112,120 ****
#EXTRALIBS += -lgen
# Select the Tcl/Tk interface
! SYSTEM += -DTCLTK -DWISH=\"wishx\" -DTKPROGPATH=\"$(TCL_DIR)/tkmidity.tcl\"
! SYSEXTRAS += tk_c.c
! INST_TK = install.tk
#EXTRAINCS +=
#EXTRALIBS +=
--- 112,120 ----
#EXTRALIBS += -lgen
# Select the Tcl/Tk interface
! #SYSTEM += -DTCLTK -DWISH=\"wishx\" -DTKPROGPATH=\"$(TCL_DIR)/tkmidity.tcl\"
! #SYSEXTRAS += tk_c.c
! #INST_TK = install.tk
#EXTRAINCS +=
#EXTRALIBS +=
***************
*** 136,142 ****
SDIST = timidity-lib-$(SUPPVERSION).tar.gz
SDISTZIP = tilib$(FNSUPPVERSION).zip
! CFLAGS= $(DEBUGFLAGS) -DDEFAULT_PATH=\"$(TIMID_DIR)\" \
-DTIMID_VERSION=\"$(VERSION)\" $(SYSTEM) $(EXTRAINCS)
########### All relevant files.. Anybody know autoconf?
--- 136,142 ----
SDIST = timidity-lib-$(SUPPVERSION).tar.gz
SDISTZIP = tilib$(FNSUPPVERSION).zip
! CFLAGS+= $(DEBUGFLAGS) -DDEFAULT_PATH=\"$(TIMID_DIR)\" \
-DTIMID_VERSION=\"$(VERSION)\" $(SYSTEM) $(EXTRAINCS)
########### All relevant files.. Anybody know autoconf?
***************
*** 228,237 ****
wav2pat: wav2pat.c
$(CC) $(CFLAGS) -o wav2pat wav2pat.c
! depends depend dep:
! $(CC) $(CFLAGS) -MM $(CSRCS) $(OPTSRCS) $(TOOLSRCS) > depends
!
! include depends
########### Installation targets
--- 228,237 ----
wav2pat: wav2pat.c
$(CC) $(CFLAGS) -o wav2pat wav2pat.c
! #depends depend dep:
! # $(CC) $(CFLAGS) -MM $(CSRCS) $(OPTSRCS) $(TOOLSRCS) > depends
! #
! #include depends
########### Installation targets
***************
*** 262,270 ****
mkdir -p $(TIMID_DIR)
$(INSTALL) -m 644 $(CONFIGF) $(TIMID_DIR)
! install.patch: $(PATCHF)
mkdir -p $(TIMID_DIR)/patch
! $(INSTALL) -m 644 $(PATCHF) $(TIMID_DIR)/patch
install.tk: $(ALLTCLF)
$(INSTALL) -m 644 $(ALLTCLF) $(TCL_DIR)
--- 262,270 ----
mkdir -p $(TIMID_DIR)
$(INSTALL) -m 644 $(CONFIGF) $(TIMID_DIR)
! install.patch: #$(PATCHF)
mkdir -p $(TIMID_DIR)/patch
! # $(INSTALL) -m 644 $(PATCHF) $(TIMID_DIR)/patch
install.tk: $(ALLTCLF)
$(INSTALL) -m 644 $(ALLTCLF) $(TCL_DIR)

View File

@ -0,0 +1,40 @@
*** timidity.cfg.bak Mon May 22 02:40:27 1995
--- timidity.cfg Sun Nov 17 10:50:44 1996
***************
*** 34,42 ****
# This sets up the default patches in the TiMidity support package
# "timidity-lib-0.1.tar.gz":
! bank 0
! 0 patch/acpiano.pat
! 24 patch/nylongt2.pat
##############################################################################
# If you have Dustin McCartney's "wowpats" patches, you can source the
--- 34,42 ----
# This sets up the default patches in the TiMidity support package
# "timidity-lib-0.1.tar.gz":
! #bank 0
! # 0 patch/acpiano.pat
! # 24 patch/nylongt2.pat
##############################################################################
# If you have Dustin McCartney's "wowpats" patches, you can source the
***************
*** 67,73 ****
# Note that midia.cfg sources gravis.cfg in turn, since the filenames are
# almost identical.
#
! #source midia.cfg
#
--- 67,73 ----
# Note that midia.cfg sources gravis.cfg in turn, since the filenames are
# almost identical.
#
! source midia.cfg
#

View File

@ -0,0 +1,13 @@
*** gravis.cfg.bak Mon May 20 20:10:15 1996
--- gravis.cfg Sun Nov 17 12:43:31 1996
***************
*** 3,8 ****
--- 3,10 ----
# programs.
#
+ dir %PREFIX%/lib/timidity/patch
+
bank 0
0 acpiano

View File

@ -0,0 +1 @@
MIDI to WAV renderer and player

View File

@ -0,0 +1,5 @@
TiMidity is a MIDI to WAVE converter using Gravis Ultra-
sound-compatible patch files to generate digital audio
data from General MIDI files. The data can be stored in a
file for processing, or played in real time through an
audio device.

View File

@ -0,0 +1,205 @@
bin/timidity
bin/bag
bin/wav2pat
man/man1/timidity.1.gz
lib/timidity/timidity.cfg
lib/timidity/gsdrum.cfg
lib/timidity/gravis.cfg
lib/timidity/midia.cfg
lib/timidity/wowpats.cfg
lib/timidity/mt32.cfg
lib/timidity/patch/acbass.pat
lib/timidity/patch/accordn.pat
lib/timidity/patch/acguitar.pat
lib/timidity/patch/acpiano.pat
lib/timidity/patch/agogo.pat
lib/timidity/patch/agogohi.pat
lib/timidity/patch/agogolo.pat
lib/timidity/patch/altosax.pat
lib/timidity/patch/applause.pat
lib/timidity/patch/atmosphr.pat
lib/timidity/patch/aurora.pat
lib/timidity/patch/bagpipes.pat
lib/timidity/patch/banjo.pat
lib/timidity/patch/barisax.pat
lib/timidity/patch/basslead.pat
lib/timidity/patch/bassoon.pat
lib/timidity/patch/belltree.pat
lib/timidity/patch/blank.pat
lib/timidity/patch/bongohi.pat
lib/timidity/patch/bongolo.pat
lib/timidity/patch/bottle.pat
lib/timidity/patch/bowglass.pat
lib/timidity/patch/britepno.pat
lib/timidity/patch/c550kc_1.pat
lib/timidity/patch/c550sn10.pat
lib/timidity/patch/c550sn_6.pat
lib/timidity/patch/c550vibs.pat
lib/timidity/patch/cabasa.pat
lib/timidity/patch/calliope.pat
lib/timidity/patch/carillon.pat
lib/timidity/patch/castinet.pat
lib/timidity/patch/celeste.pat
lib/timidity/patch/cello.pat
lib/timidity/patch/charang.pat
lib/timidity/patch/chiflead.pat
lib/timidity/patch/choir.pat
lib/timidity/patch/church.pat
lib/timidity/patch/claps.pat
lib/timidity/patch/clarinet.pat
lib/timidity/patch/clave.pat
lib/timidity/patch/clavinet.pat
lib/timidity/patch/cleangtr.pat
lib/timidity/patch/concrtna.pat
lib/timidity/patch/congahi1.pat
lib/timidity/patch/congahi2.pat
lib/timidity/patch/congalo.pat
lib/timidity/patch/contraba.pat
lib/timidity/patch/cowbell.pat
lib/timidity/patch/crystal.pat
lib/timidity/patch/cuica1.pat
lib/timidity/patch/cuica2.pat
lib/timidity/patch/cymbell.pat
lib/timidity/patch/cymchina.pat
lib/timidity/patch/cymcrsh1.pat
lib/timidity/patch/cymcrsh2.pat
lib/timidity/patch/cymride1.pat
lib/timidity/patch/cymride2.pat
lib/timidity/patch/cymsplsh.pat
lib/timidity/patch/distgtr.pat
lib/timidity/patch/doo.pat
lib/timidity/patch/echovox.pat
lib/timidity/patch/englhorn.pat
lib/timidity/patch/epiano1.pat
lib/timidity/patch/epiano2.pat
lib/timidity/patch/fantasia.pat
lib/timidity/patch/fiddle.pat
lib/timidity/patch/flute.pat
lib/timidity/patch/fngrbass.pat
lib/timidity/patch/frenchrn.pat
lib/timidity/patch/freshair.pat
lib/timidity/patch/fretless.pat
lib/timidity/patch/fx-blow.pat
lib/timidity/patch/fx-fret.pat
lib/timidity/patch/ghostie.pat
lib/timidity/patch/glocken.pat
lib/timidity/patch/gtrharm.pat
lib/timidity/patch/guiro1.pat
lib/timidity/patch/guiro2.pat
lib/timidity/patch/halopad.pat
lib/timidity/patch/harmonca.pat
lib/timidity/patch/harp.pat
lib/timidity/patch/helicptr.pat
lib/timidity/patch/highq.pat
lib/timidity/patch/hihatcl.pat
lib/timidity/patch/hihatop.pat
lib/timidity/patch/hihatpd.pat
lib/timidity/patch/hitbrass.pat
lib/timidity/patch/homeorg.pat
lib/timidity/patch/honky.pat
lib/timidity/patch/hrpschrd.pat
lib/timidity/patch/jazzgtr.pat
lib/timidity/patch/jingles.pat
lib/timidity/patch/jungle.pat
lib/timidity/patch/kalimba.pat
lib/timidity/patch/kick1.pat
lib/timidity/patch/kick2.pat
lib/timidity/patch/koto.pat
lib/timidity/patch/lead5th.pat
lib/timidity/patch/maracas.pat
lib/timidity/patch/marcato.pat
lib/timidity/patch/marimba.pat
lib/timidity/patch/metalpad.pat
lib/timidity/patch/metbell.pat
lib/timidity/patch/metclick.pat
lib/timidity/patch/musicbox.pat
lib/timidity/patch/mutegtr.pat
lib/timidity/patch/mutetrum.pat
lib/timidity/patch/nyguitar.pat
lib/timidity/patch/oboe.pat
lib/timidity/patch/ocarina.pat
lib/timidity/patch/odguitar.pat
lib/timidity/patch/orchhit.pat
lib/timidity/patch/percorg.pat
lib/timidity/patch/piccolo.pat
lib/timidity/patch/pickbass.pat
lib/timidity/patch/pistol.pat
lib/timidity/patch/pizzcato.pat
lib/timidity/patch/polysyn.pat
lib/timidity/patch/recorder.pat
lib/timidity/patch/reedorg.pat
lib/timidity/patch/revcym.pat
lib/timidity/patch/ringwhsl.pat
lib/timidity/patch/rockorg.pat
lib/timidity/patch/santur.pat
lib/timidity/patch/sawwave.pat
lib/timidity/patch/scratch1.pat
lib/timidity/patch/scratch2.pat
lib/timidity/patch/seashore.pat
lib/timidity/patch/shakazul.pat
lib/timidity/patch/shaker.pat
lib/timidity/patch/shamisen.pat
lib/timidity/patch/shannai.pat
lib/timidity/patch/sitar.pat
lib/timidity/patch/slap.pat
lib/timidity/patch/slapbas1.pat
lib/timidity/patch/slapbas2.pat
lib/timidity/patch/slowstr.pat
lib/timidity/patch/snare1.pat
lib/timidity/patch/snare2.pat
lib/timidity/patch/soundtrk.pat
lib/timidity/patch/sprnosax.pat
lib/timidity/patch/sqrclick.pat
lib/timidity/patch/sqrwave.pat
lib/timidity/patch/startrak.pat
lib/timidity/patch/steeldrm.pat
lib/timidity/patch/stickrim.pat
lib/timidity/patch/sticks.pat
lib/timidity/patch/surdo1.pat
lib/timidity/patch/surdo2.pat
lib/timidity/patch/sweeper.pat
lib/timidity/patch/synbass1.pat
lib/timidity/patch/synbass2.pat
lib/timidity/patch/synbras1.pat
lib/timidity/patch/synbras2.pat
lib/timidity/patch/synpiano.pat
lib/timidity/patch/synstr1.pat
lib/timidity/patch/synstr2.pat
lib/timidity/patch/syntom.pat
lib/timidity/patch/taiko.pat
lib/timidity/patch/tamborin.pat
lib/timidity/patch/telephon.pat
lib/timidity/patch/tenorsax.pat
lib/timidity/patch/timbaleh.pat
lib/timidity/patch/timbalel.pat
lib/timidity/patch/timpani.pat
lib/timidity/patch/tomhi1.pat
lib/timidity/patch/tomhi2.pat
lib/timidity/patch/tomlo1.pat
lib/timidity/patch/tomlo2.pat
lib/timidity/patch/tommid1.pat
lib/timidity/patch/tommid2.pat
lib/timidity/patch/toms.pat
lib/timidity/patch/tremstr.pat
lib/timidity/patch/triangl1.pat
lib/timidity/patch/triangl2.pat
lib/timidity/patch/trombone.pat
lib/timidity/patch/trumpet.pat
lib/timidity/patch/tuba.pat
lib/timidity/patch/tubebell.pat
lib/timidity/patch/unicorn.pat
lib/timidity/patch/vibes.pat
lib/timidity/patch/vibslap.pat
lib/timidity/patch/viola.pat
lib/timidity/patch/violin.pat
lib/timidity/patch/voices.pat
lib/timidity/patch/voxlead.pat
lib/timidity/patch/warmpad.pat
lib/timidity/patch/whistle.pat
lib/timidity/patch/whistle1.pat
lib/timidity/patch/whistle2.pat
lib/timidity/patch/woodblk.pat
lib/timidity/patch/woodblk1.pat
lib/timidity/patch/woodblk2.pat
lib/timidity/patch/woodflut.pat
lib/timidity/patch/xylophon.pat

View File

@ -0,0 +1,35 @@
# New ports collection makefile for: tracker
# Version required: 5.3
# Date created: 2 Oct 1994
# Whom: swallace
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:03 angelos Exp $
#
DISTNAME= tracker-5.3
CATEGORIES= audio
MASTER_SITES= ftp://ftp.ens.fr/pub/dmi/users/espie/beta/
EXTRACT_SUFX= .tgz
MAINTAINER= ache@FreeBSD.ORG
RESTRICTED= "Non-redistributable beta"
WRKSRC= ${WRKDIR}/tracker
USE_GMAKE= yes
MAKE_FLAGS= MACHINE=freebsd CC=$(CC) INSTALL="$(INSTALL)" \
INST_BIN_OPT="-c -s -m $(BINMODE) -o $(BINOWN) -g $(BINGRP)" \
INST_MAN_OPT="-c -m 644 -o $(BINOWN) -g $(BINGRP)" \
COMPRESSION_FILE=$(PREFIX)/etc/compression_methods \
-f
post-install:
cd ${WRKSRC}/Docs && \
makeinfo --no-split tracker.texinfo -o tracker.info && \
gzip -f tracker.info && \
$(INSTALL_MAN) tracker.info.gz ${PREFIX}/info && \
rm -f tracker.info.gz *.orig
-${MKDIR} ${PREFIX}/share/doc/tracker
cp -R ${WRKSRC}/Docs/* ${PREFIX}/share/doc/tracker
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (tracker-5.3.tgz) = b1fc0f2cbdd0ff0dd79889f45d58f411

View File

@ -0,0 +1,73 @@
*** Makefile.orig Tue May 7 19:20:50 1996
--- Makefile Tue Nov 12 06:56:18 1996
***************
*** 20,26 ****
OPTS=-c
! PREFIX=/users/algo/espie/pub
# Destination directory for tracker binaries and manpage.
#
# If you don't wish to use the 'make install' and 'make install.man'
--- 20,26 ----
OPTS=-c
! PREFIX?=/users/algo/espie/pub
# Destination directory for tracker binaries and manpage.
#
# If you don't wish to use the 'make install' and 'make install.man'
***************
*** 166,172 ****
UI_linux = Unix/
SHELL_linux = /bin/sh
! CFLAGS_freebsd = -O2 -funroll-loops -finline-functions -fno-strength-reduce
LIBS_freebsd = -lm
AUDIODIR_freebsd=PCux/
CONFIG_freebsd = PCux/freebsd_
--- 166,172 ----
UI_linux = Unix/
SHELL_linux = /bin/sh
! CFLAGS_freebsd = -O2 -funroll-loops -finline-functions
LIBS_freebsd = -lm
AUDIODIR_freebsd=PCux/
CONFIG_freebsd = PCux/freebsd_
***************
*** 250,256 ****
display$O prefs$O autoinit$O $(UI)ui$O empty$O color$O version$O \
st_virt$O automaton$O
! all: tracker${EXE} randomize${EXE} splitmod${EXE} Docs/tracker.text
config.h: $(CONFIG)config.h
rm -f config.h
--- 250,256 ----
display$O prefs$O autoinit$O $(UI)ui$O empty$O color$O version$O \
st_virt$O automaton$O
! all: tracker${EXE} randomize${EXE}
config.h: $(CONFIG)config.h
rm -f config.h
***************
*** 272,280 ****
install:
$(INSTALL) $(INST_BIN_OPT) tracker $(BIN_DIR)
$(INSTALL) $(INST_BIN_OPT) randomize $(BIN_DIR)
- $(INSTALL) $(INST_BIN_OPT) splitmod $(BIN_DIR)
[ -f ${COMPRESSION_FILE} ] || \
! $(INSTALL) $(INST_MAN_OPT) compression_methods ${COMPRESSION_FILE}
# no manpage available, use the texinfo manual.
install.man:
--- 272,279 ----
install:
$(INSTALL) $(INST_BIN_OPT) tracker $(BIN_DIR)
$(INSTALL) $(INST_BIN_OPT) randomize $(BIN_DIR)
[ -f ${COMPRESSION_FILE} ] || \
! $(INSTALL) $(INST_MAN_OPT) Lib/compression_methods ${COMPRESSION_FILE}
# no manpage available, use the texinfo manual.
install.man:

View File

@ -0,0 +1,33 @@
*** Docs/tracker.texinfo.orig Thu Apr 11 21:21:05 1996
--- Docs/tracker.texinfo Tue Nov 12 07:08:17 1996
***************
*** 979,992 ****
* Other Architectures: Porting tracker.
@end menu
! @node Aix, Amiga, Architecture dependent problems, Architecture Dependent problems
@subsection Aix
The Aix port is slightly outdated and won't run with most recent versions of
Aix. There is nothing I can do about it until somebody sends me an up-to-date
version as I don't have access to Aix machines.
! @node Amiga, DECstation, Architecture dependent problems, Architecture dependent problems
@subsection Amiga
There is currently one Amiga version running under AmigaDos.
--- 979,992 ----
* Other Architectures: Porting tracker.
@end menu
! @node Aix, Amiga, Architecture dependent problems, Architecture dependent problems
@subsection Aix
The Aix port is slightly outdated and won't run with most recent versions of
Aix. There is nothing I can do about it until somebody sends me an up-to-date
version as I don't have access to Aix machines.
! @node Amiga, DECstation, Aix, Architecture dependent problems
@subsection Amiga
There is currently one Amiga version running under AmigaDos.

View File

@ -0,0 +1,24 @@
*** Arch/PCux/audio.c.bak Fri Apr 12 20:30:37 1996
--- Arch/PCux/audio.c Tue Nov 12 08:40:29 1996
***************
*** 9,14 ****
--- 9,17 ----
#include <unistd.h>
#include <fcntl.h>
#include "extern.h"
+ #include "prefs.h"
+ #include "autoinit.h"
+ #include "watched_var.h"
struct options_set *port_options=0;
***************
*** 116,121 ****
--- 119,125 ----
}
samples_max = buf_max / dsize;
current_freq = f;
+ set_watched_scalar(FREQUENCY, f);
total = 0;
return f;
}

View File

@ -0,0 +1 @@
MOD player.

View File

@ -0,0 +1,6 @@
Tracker plays soundtracker music modules on a Unix machine.
Soundtracker modules originated on the amiga, where several composing
playing programs are available, that give results mostly compatible
with each other. tracker just plays the specified files in sequence
according with the current options.

View File

@ -0,0 +1,88 @@
bin/tracker
bin/randomize
etc/compression_methods
info/tracker.info.gz
share/doc/tracker/Html/Aix.html
share/doc/tracker/Html/Introduction.html
share/doc/tracker/Html/Availability.html
share/doc/tracker/Html/Registration.html
share/doc/tracker/Html/Reporting_bugs.html
share/doc/tracker/Html/History.html
share/doc/tracker/Html/Installation.html
share/doc/tracker/Html/Configure_tracker.html
share/doc/tracker/Html/Generic_problems.html
share/doc/tracker/Html/Architecture_dependent_problems.html
share/doc/tracker/Html/Performance_issues.html
share/doc/tracker/Html/Amiga.html
share/doc/tracker/Html/DECstation.html
share/doc/tracker/Html/HP$2fUX.html
share/doc/tracker/Html/Linux$2fFreeBSD.html
share/doc/tracker/Html/MM1$2fOS9.html
share/doc/tracker/Html/NeXtStep.html
share/doc/tracker/Html/OS$2f2.html
share/doc/tracker/Html/Silicon_Graphics.html
share/doc/tracker/Html/Sparc.html
share/doc/tracker/Html/Usage.html
share/doc/tracker/Html/Technical_Information.html
share/doc/tracker/Html/Tracker_memory_consumption.html
share/doc/tracker/Html/The_Protracker_format.html
share/doc/tracker/Html/The_Protracker_file_format.html
share/doc/tracker/Html/Decoding_pattern_information.html
share/doc/tracker/Html/Soundtracker_and_Protracker_tempo.html
share/doc/tracker/Html/Protracker_finetunes.html
share/doc/tracker/Html/Sample_numbers_and_note_periods.html
share/doc/tracker/Html/Base_effects.html
share/doc/tracker/Html/Arpeggio.html
share/doc/tracker/Html/Portamento_up.html
share/doc/tracker/Html/Portamento_down.html
share/doc/tracker/Html/Tone_portamento.html
share/doc/tracker/Html/Vibrato.html
share/doc/tracker/Html/Tone_portamento_$2b_Volume_slide.html
share/doc/tracker/Html/Vibrato_$2b_Volume_slide.html
share/doc/tracker/Html/Tremolo.html
share/doc/tracker/Html/Set_sample_offset.html
share/doc/tracker/Html/Slide_volume.html
share/doc/tracker/Html/Far_jump.html
share/doc/tracker/Html/Set_volume.html
share/doc/tracker/Html/Pattern_break.html
share/doc/tracker/Html/Set_tempo.html
share/doc/tracker/Html/Protracker_extended_effects.html
share/doc/tracker/Html/Set_filter.html
share/doc/tracker/Html/Fine_portamento_up.html
share/doc/tracker/Html/Fine_portamento_down.html
share/doc/tracker/Html/Glissando_control.html
share/doc/tracker/Html/Set_vibrato_waveform.html
share/doc/tracker/Html/Set_finetune.html
share/doc/tracker/Html/Loop_pattern.html
share/doc/tracker/Html/Set_tremolo_waveform.html
share/doc/tracker/Html/Retrig_note.html
share/doc/tracker/Html/Fine_volume_slide_up.html
share/doc/tracker/Html/Fine_volume_slide_down.html
share/doc/tracker/Html/Cut_note.html
share/doc/tracker/Html/Delay_note.html
share/doc/tracker/Html/Delay_pattern.html
share/doc/tracker/Html/Invert_loop.html
share/doc/tracker/Html/Amiga_audio_hardware.html
share/doc/tracker/Html/Resampling_details.html
share/doc/tracker/Html/Amiga_implementation.html
share/doc/tracker/Html/aminet.html
share/doc/tracker/Html/Credits.html
share/doc/tracker/Html/Finding_a_specific_file.html
share/doc/tracker/Html/Mirror_sites_of_Aminet.html
share/doc/tracker/Html/Accessing_Aminet_on_the_Internet.html
share/doc/tracker/Html/Accessing_Aminet_without_Internet.html
share/doc/tracker/Html/Copyright_status_and_disclaimer.html
share/doc/tracker/Html/Background_information.html
share/doc/tracker/Html/Concept_Index.html
share/doc/tracker/Html/NAS.html
share/doc/tracker/Html/Porting_tracker.html
share/doc/tracker/Html/NextStep.html
share/doc/tracker/Html/Top.html
share/doc/tracker/tracker.texinfo
share/doc/tracker/tracker.readme
share/doc/tracker/tracker.guide
share/doc/tracker/tracker.doc
share/doc/tracker/splitmod.readme
share/doc/tracker/readme
share/doc/tracker/protracker.fmt
share/doc/tracker/FAQ

View File

@ -0,0 +1,22 @@
# OpenBSD makefile for: workman
# Version required: 1.3
# Date created: 29 April 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/21 01:38:04 angelos Exp $
#
DISTNAME= WorkMan-1.3
PKGNAME= workman-1.3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications/WorkMan
MAINTAINER= angelos@openbsd.org
LIB_DEPENDS= xview\\.3\\.:${PORTSDIR}/x11/xview-lib
WRKSRC= ${WRKDIR}/workman
USE_IMAKE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (WorkMan-1.3.tar.gz) = f8ffeeb68410a14fc8386a0e7f4351e6

View File

@ -0,0 +1,288 @@
diff -c --recursive ./Makefile ../workman.new/./Makefile
*** ./Makefile Tue Jun 13 22:37:18 1995
--- ../workman.new/./Makefile Sun Nov 26 03:26:56 1995
***************
*** 18,26 ****
# SOL2 line.
#
! SOL2 = -DSYSV -DCODEC
! LIBLOC = -R$(LIBDIR)
! EXTRA_LIBS = -lsocket
#
# Uncomment the following if you want fast database lookups using the
--- 20,28 ----
# SOL2 line.
#
! #SOL2 = -DSYSV -DCODEC
! #LIBLOC = -R$(LIBDIR)
! #EXTRA_LIBS = -lsocket
#
# Uncomment the following if you want fast database lookups using the
***************
*** 29,58 ****
# to match your system type as listed in libdb's PORT directory.
#
! DBCFLAGS = -DLIBDB -Idb.1.85/PORT/include -Idb.1.85/PORT/sunos.5.2
! DBLIB = db.1.85/PORT/sunos.5.2/libdb.a
#
# Set these to the locations of your XView include files and libraries.
#
! INCDIR = $(OPENWINHOME)/include
! LIBDIR = $(OPENWINHOME)/lib
#
# Set these to the directory names in which to install the software and
# help files.
#
! BINDIR = $(OPENWINHOME)/bin
! HLPDIR = $(OPENWINHOME)/lib/help
#
# Set this to the directory containing manual pages. Manual pages will only
# be installed if you "make install.man".
#
! MANDIR = $(OPENWINHOME)/man
#
# Set these to the manual sections (e.g. 1, 4, 5, l) for the program and
--- 31,60 ----
# to match your system type as listed in libdb's PORT directory.
#
! #DBCFLAGS = -DLIBDB -Idb.1.85/PORT/include -Idb.1.85/PORT/sunos.5.2
! #DBLIB = db.1.85/PORT/sunos.5.2/libdb.a
#
# Set these to the locations of your XView include files and libraries.
#
! INCDIR = /usr/include
! LIBDIR = /usr/X11R6/lib
#
# Set these to the directory names in which to install the software and
# help files.
#
! BINDIR = ${PREFIX}/bin
! HLPDIR = ${PREFIX}/lib/help
#
# Set this to the directory containing manual pages. Manual pages will only
# be installed if you "make install.man".
#
! MANDIR = ${PREFIX}/man
#
# Set these to the manual sections (e.g. 1, 4, 5, l) for the program and
***************
*** 83,89 ****
CFLAGS = -g
CPPFLAGS = -I$(INCDIR) $(SOL2)
LDFLAGS = -L$(LIBDIR) $(LIBLOC)
! LDLIBS = -lxview -lolgx -lX11 $(EXTRA_LIBS) $(DBLIB) -ldl
# Standard targets.
--- 85,91 ----
CFLAGS = -g
CPPFLAGS = -I$(INCDIR) $(SOL2)
LDFLAGS = -L$(LIBDIR) $(LIBLOC)
! LDLIBS = -lxview -lolgx -lX11 $(EXTRA_LIBS) $(DBLIB) #-ldl
# Standard targets.
***************
*** 96,110 ****
$(CC) $(LDFLAGS) $(DBCFLAGS) buildindex.c $(DBLIB) -o $@
clean:
! $(RM) $(OBJECTS) *.BAK *.delta core
! install: $(PROGRAM)
cp $(PROGRAM) $(BINDIR)
chmod 755 $(BINDIR)/$(PROGRAM)
cp $(PROGRAM).info $(HLPDIR)
chmod 644 $(HLPDIR)/$(PROGRAM).info
-
- install.man: workman.man workmandb.man $(MANDIR)/man$(PEXT) $(MANDIR)/man$(DEXT)
cp workman.man $(MANDIR)/man$(PEXT)/workman.$(PEXT)
chmod 644 $(MANDIR)/man$(PEXT)/workman.$(PEXT)
cp workmandb.man $(MANDIR)/man$(DEXT)/workmandb.$(DEXT)
--- 98,111 ----
$(CC) $(LDFLAGS) $(DBCFLAGS) buildindex.c $(DBLIB) -o $@
clean:
! $(RM) $(OBJECTS) *.BAK *.delta *.core workman
! install: $(PROGRAM) workman.man workmandb.man \
! $(MANDIR)/man$(PEXT) $(MANDIR)/man$(DEXT)
cp $(PROGRAM) $(BINDIR)
chmod 755 $(BINDIR)/$(PROGRAM)
cp $(PROGRAM).info $(HLPDIR)
chmod 644 $(HLPDIR)/$(PROGRAM).info
cp workman.man $(MANDIR)/man$(PEXT)/workman.$(PEXT)
chmod 644 $(MANDIR)/man$(PEXT)/workman.$(PEXT)
cp workmandb.man $(MANDIR)/man$(DEXT)/workmandb.$(DEXT)
diff -c --recursive ./plat_freebsd.c ../workman.new/./plat_freebsd.c
*** ./plat_freebsd.c Mon Feb 20 09:29:55 1995
--- ../workman.new/./plat_freebsd.c Sun Nov 26 03:29:22 1995
***************
*** 5,10 ****
--- 5,13 ----
*
* Todd Pfaff, 3/20/94
*
+ * 11/26/95: Modified to work under FreeBSD 2.x
+ * by Donald Burr <d_burr@ix.netcom.com>
+ *
*/
static char *ident = "@(#)plat_freebsd.c 1.2 2/20/95";
***************
*** 30,42 ****
#include "/sys/scsi/scsi_all.h"
#include "/sys/scsi/scsi_cd.h"
#else
#include <scsi/scsi_all.h>
#include <scsi/scsi_cd.h>
#endif
#include "struct.h"
! #define DEFAULT_CD_DEVICE "/dev/rcd0d"
void *malloc();
--- 33,49 ----
#include "/sys/scsi/scsi_all.h"
#include "/sys/scsi/scsi_cd.h"
#else
+ /*
#include <scsi/scsi_all.h>
#include <scsi/scsi_cd.h>
+ */
+ #include <scsi.h>
+ #include <sys/scsiio.h>
#endif
#include "struct.h"
! #define DEFAULT_CD_DEVICE "/dev/rcd0c"
void *malloc();
***************
*** 163,169 ****
}
if (ioctl(d->fd, CDIOCREADSUBCHANNEL, &sc)) {
! #ifdef __NetBSD__
/* we need to release the device so the kernel will notice
reloaded media */
(void) close(d->fd);
--- 170,176 ----
}
if (ioctl(d->fd, CDIOCREADSUBCHANNEL, &sc)) {
! #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
/* we need to release the device so the kernel will notice
reloaded media */
(void) close(d->fd);
***************
*** 261,266 ****
--- 268,276 ----
bzero((char *)&vol, sizeof(vol));
+ #define LEFT_PORT 0
+ #define RIGHT_PORT 1
+
vol.vol[LEFT_PORT] = left;
vol.vol[RIGHT_PORT] = right;
***************
*** 345,356 ****
if (fstatfs(stbuf.st_rdev, &buf) == 0)
return (-3);
! #ifdef __NetBSD__
rval = ioctl(d->fd, CDIOCALLOW);
if (rval == 0)
#endif
rval = ioctl(d->fd, CDIOCEJECT);
! #ifdef __NetBSD__
if (rval == 0)
rval = ioctl(d->fd, CDIOCPREVENT);
#endif
--- 355,366 ----
if (fstatfs(stbuf.st_rdev, &buf) == 0)
return (-3);
! #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
rval = ioctl(d->fd, CDIOCALLOW);
if (rval == 0)
#endif
rval = ioctl(d->fd, CDIOCEJECT);
! #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
if (rval == 0)
rval = ioctl(d->fd, CDIOCPREVENT);
#endif
diff -c --recursive ./workman.man ../workman.new/./workman.man
*** ./workman.man Thu Jun 15 23:52:13 1995
--- ../workman.new/./workman.man Sun Nov 26 03:28:54 1995
***************
*** 151,157 ****
.TP
.I \-p file
Write the program's process ID to a different \fIfile\fP. By default, the
! PID is written to "/tmp/.wm_pid" to allow signals to be sent more easily
(see the SIGNALS section below.)
.TP
.I \-n
--- 151,157 ----
.TP
.I \-p file
Write the program's process ID to a different \fIfile\fP. By default, the
! PID is written to "/var/run/workman.pid" to allow signals to be sent more easily
(see the SIGNALS section below.)
.TP
.I \-n
***************
*** 510,515 ****
--- 510,516 ----
SVR4 port by Baruch Cochavy <bcochavy@iil.intel.com>.
.LP
FreeBSD port by Todd Pfaff <todd@flex.eng.mcmaster.ca>.
+ Modified to work under FreeBSD 2.x by Donald Burr <d_burr@ix.netcom.com>.
.LP
OSF/1 port by R.J. Edwards <rje@escact.ksc.nasa.gov>.
.LP
diff -c --recursive ./workman_stubs.c ../workman.new/./workman_stubs.c
*** ./workman_stubs.c Fri Jun 16 10:44:40 1995
--- ../workman.new/./workman_stubs.c Sun Nov 26 03:26:57 1995
***************
*** 56,62 ****
--- 56,67 ----
Panel_item quitbutton;
char *getenv(), *WMstrdup();
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ /* FreeBSD has a special directory for pidfiles, I guess. */
+ char *pidfile = "/var/run/workman.pid";
+ #else
char *pidfile = "/tmp/.wm_pid";
+ #endif
char * empty = "";
extern char *cd_device;

View File

@ -0,0 +1 @@
Open Look-based CD player tool

View File

@ -0,0 +1,13 @@
[ From the WorkMan README ]
WorkMan is a graphical tool for playing audio compact discs on a CD-ROM
drive. It has most of the features available on standalone CD players,
such as a shuffle mode, programmable playlists, and elapsed/remaining
timers. But it also has extra features, foremost of which is the ability
to store information about CDs in a database, then automatically extract
that information when the CD is inserted later. WorkMan stores the
artist's name, the disc title, the names of individual tracks, and even
remembers which tracks you don't want to hear! All in an easy-to-use,
attractive OPEN LOOK graphical interface.
[ This port is maintained by: Donald Burr <d_burr@ix.netcom.com> ]

View File

@ -0,0 +1,3 @@
bin/workman
lib/help/workman.info
man/man1/workman.1

View File

@ -0,0 +1,19 @@
# New ports collection makefile for: xcdplayer
# Version required: 2.2
# Date created: 30 Sep 1994
# Whom: swallace
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:04 angelos Exp $
#
DISTNAME= xcdplayer-2.2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
ftp://ftp.cdrom.com/pub/X11/R5contrib/
EXTRACT_SUFX= .tar.Z
MAINTAINER= swallace@FreeBSD.org
USE_IMAKE= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,601 @@
/*
* Copyright (C) 1990 Regents of the University of California.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of the University of
* California not be used in advertising or publicity pertaining to
* distribution of the software without specific, written prior
* permission. the University of California makes no representations
* about the suitability of this software for any purpose. It is provided
* "as is" without express or implied warranty.
*/
static int c;
# include <stdio.h>
# include <sys/file.h>
# include <sys/types.h>
# include <sys/param.h>
# include <sys/stat.h>
# include <string.h>
# include <sys/buf.h>
# include <sys/time.h>
#include <sys/ioctl.h>
#include <sys/disklabel.h>
#include <sys/cdio.h>
# include "debug.h"
# include "cdrom_freebsd.h"
extern char *device;
static char cdrom[] = "/dev/rcd0c";
static char cdrom1[] = "/dev/rmcd0c";
cdrom_info cdi;
char info_filename[256];
FILE *disc_info = NULL;
static int cdrom_fd = -1;
get_stored_info()
{
int i,n;
char line[100];
char *title;
if(disc_info) {
fclose(disc_info);
disc_info = NULL;
}
if ( cdi.maxtrack == 0) {
return(0);
}
for (i = 0, n = 0; i < cdi.maxtrack; i++)
n = n + ((i+1) * cdi.times[i]);
n = n / cdi.maxtrack;
disc_title = NULL;
if (cdInfoDir != NULL)
sprintf(info_filename, "%s/cd.%d", cdInfoDir, n);
else
sprintf(info_filename, "cd.%d", n);
if ((disc_info = fopen(info_filename, "r")) != NULL)
{
fgets(line, 100, disc_info);
title = strchr(line, ':');
if (title != NULL)
{
*(strchr(title, '\n')) = '\0';
disc_title = strdup(title + 1);
}
fgets(line, 100, disc_info);
sscanf(line, "Program: %s", program_str);
}
else {
disc_title = strdup(NOTITLESTR);
program_str[0] = 0;
}
if (disc_title == NULL) {
disc_title = strdup(NOTITLESTR);
}
}
int
cdrom_open() {
int n;
extern void update_title();
if (cdrom_fd != -1)
return(cdi.curtrack);
if (device != NULL) {
if ((cdrom_fd = open(device, O_RDONLY)) == -1) {
perror(device);
return(-1);
}
} else {
if ( (cdrom_fd = open(cdrom, O_RDONLY)) == -1
&& (cdrom_fd = open(cdrom1, O_RDONLY)) == -1
) {
perror("open: ");
return(-1);
}
}
if (cdrom_get_times() == -1) {
cdrom_close();
return(-1);
}
if ((n = cdrom_get_curtrack()) == -1)
return(-1);
get_stored_info();
update_title();
if (cdi.state & CDROM_STATE_PLAY)
cdi.curtrack = n;
if (cdi.state & CDROM_STATE_SHUFFLE)
shuffle_setup();
return(cdi.curtrack);
}
void
cdrom_close() {
if (cdrom_fd == -1)
return;
if (cdi.times != NULL) {
free((char *) cdi.times);
free((char *) cdi.addrs);
cdi.times = NULL;
cdi.addrs = NULL;
}
(void) close(cdrom_fd);
cdrom_fd = -1;
}
int
cdrom_start() {
if (cdrom_fd == -1)
return(-1);
if (ioctl(cdrom_fd, CDIOCSTART) == -1) {
perror("ioctl(cdromstart)");
return(-1);
}
return(0);
}
int
cdrom_stop() {
if (cdrom_fd == -1)
return(-1);
if (ioctl(cdrom_fd, CDIOCSTOP) == -1) {
perror("ioctl(cdromstop)");
return(-1);
}
return(0);
}
int
cdrom_eject() {
if (cdrom_fd == -1)
return(-1);
if (ioctl(cdrom_fd, CDIOCALLOW) == -1) {
perror("ioctl(cdromallow)");
return(-1);
}
if (ioctl(cdrom_fd, CDIOCEJECT) == -1) {
perror("ioctl(cdromeject)");
return(-1);
}
return(0);
}
int
cdrom_pause() {
if (cdrom_fd == -1)
return(-1);
if (ioctl(cdrom_fd, CDIOCPAUSE) == -1) {
perror("ioctl(cdrompause)");
return(-1);
}
return(0);
}
int
cdrom_resume() {
if (cdrom_fd == -1)
return(-1);
if (ioctl(cdrom_fd, CDIOCRESUME) == -1) {
perror("ioctl(cdromresume)");
return(-1);
}
return(0);
}
int
cdrom_volume(left_vol, right_vol)
int left_vol;
int right_vol;
{
struct ioc_vol vol;
if (cdrom_fd == -1)
return(-1);
vol.vol[0] = left_vol;
vol.vol[1] = right_vol;
vol.vol[2] = 0;
vol.vol[3] = 0;
if (ioctl(cdrom_fd, CDIOCSETVOL, &vol) == -1) {
perror("ioctl(cdromvolctrl)");
return(-1);
}
return(0);
}
int
cdrom_get_times() {
struct ioc_toc_header tochdr;
extern unsigned short *ushort_malloc();
extern struct msf *msf_malloc();
unsigned long trk, trk_total, otime;
struct msf msf;
if (cdrom_read_tochdr(&tochdr) == -1)
return(-1);
cdi.mintrack = tochdr.starting_track;
cdi.maxtrack = tochdr.ending_track;
if (cdi.times != NULL)
{
free((char *) cdi.times);
free((char *) cdi.addrs);
cdi.times = NULL;
cdi.addrs = NULL;
}
cdi.times = ushort_malloc(cdi.maxtrack - cdi.mintrack + 1);
cdi.addrs = msf_malloc(cdi.maxtrack - cdi.mintrack + 2);
otime = 0;
for (trk = cdi.mintrack; trk <= cdi.maxtrack; trk++) {
if (cdrom_get_msf(trk, &msf, &trk_total) == -1)
return(-1);
/* record start address for each track (track 1 starts at 0)*/
cdi.addrs[trk - cdi.mintrack] = msf;
trk_total -= otime;
/* use start time of next track as length of previous */
if (otime != 0)
{
cdi.times[trk - cdi.mintrack - 1] = trk_total;
}
otime += trk_total;
}
/* find start of leadout to get length of last track */
if (cdrom_get_msf(CDROM_LEADOUT, &msf, &trk_total) == -1)
return(-1);
/* recode leadout start address */
cdi.addrs[trk - cdi.mintrack] = msf;
trk_total -= otime;
otime += trk_total;
cdi.times[trk - cdi.mintrack - 1] = trk_total;
return(0);
}
int
cdrom_get_curtrack() {
struct cd_sub_channel_info data;
if (cdrom_read_subchannel(&data) == -1)
return(-1);
switch (data.header.audio_status) {
case CD_AS_AUDIO_INVALID:
return(-1);
/* playing track subchnl.cdsc_trk */
case CD_AS_PLAY_IN_PROGRESS:
return((int) data.what.position.track_number);
/* paused on track subchnl.cdsc_trk */
case CD_AS_PLAY_PAUSED:
return((int) data.what.position.track_number);
/* punt */
case CD_AS_PLAY_COMPLETED:
return(0);
case CD_AS_PLAY_ERROR:
return(-1);
/* punt */
case CD_AS_NO_STATUS:
debug_printf(1, "cdrom_get_curtrack: no status\n");
return(0);
}
/* bad value in cdsc_audiostatus */
return(-1);
}
int
cdrom_get_msf(track, msf, length)
unsigned long track;
struct msf *msf;
unsigned long *length;
{
struct cd_toc_entry data;
if (cdrom_read_tocentry(track, &data, sizeof(data)) == -1)
return(-1);
msf->minute = data.addr.msf.minute;
msf->second = data.addr.msf.second;
msf->frame = data.addr.msf.frame;
*length = (((unsigned int) msf->minute) * 60) + (unsigned int) msf->second;
return(0);
}
int
cdrom_get_curmsf(msf)
struct msf *msf;
{
struct cd_sub_channel_info data;
if (cdrom_read_subchannel(&data) == -1)
return(-1);
msf->minute = data.what.position.absaddr.msf.minute;
msf->second = data.what.position.absaddr.msf.second;
msf->frame = data.what.position.absaddr.msf.frame;
return (0);
}
int
cdrom_play_track(start_track, end_track)
unsigned char start_track;
unsigned char end_track;
{
struct ioc_play_track ti;
struct ioc_play_msf play_addr;
char *addr;
if (cdrom_fd == -1)
return(-1);
play_addr.start_m = cdi.addrs[start_track - cdi.mintrack].minute;
play_addr.start_s = cdi.addrs[start_track - cdi.mintrack].second;
play_addr.start_f = cdi.addrs[start_track - cdi.mintrack].frame;
play_addr.end_m = cdi.addrs[end_track - cdi.mintrack + 1].minute;
play_addr.end_s = cdi.addrs[end_track - cdi.mintrack + 1].second;
play_addr.end_f = cdi.addrs[end_track - cdi.mintrack + 1].frame - 1;
if(play_addr.end_f >= 75) {
play_addr.end_f = 74;
play_addr.end_s--;
}
if(play_addr.end_s >= 60) {
play_addr.end_s = 59;
play_addr.end_m--;
}
addr = (char *)&play_addr;
if (ioctl(cdrom_fd, CDIOCPLAYMSF, &play_addr) == -1) {
perror("ioctl(cdromplaymsftrk)");
return(-1);
}
return(0);
}
int
cdrom_play_msf(start_msf, end_msf)
struct msf *start_msf;
struct msf *end_msf;
{
struct ioc_play_msf play_addr;
if (cdrom_fd == -1)
return(-1);
play_addr.start_m = start_msf->minute;
play_addr.start_s = start_msf->second;
play_addr.start_f = start_msf->frame;
play_addr.end_m = end_msf->minute;
play_addr.end_s = end_msf->second;
play_addr.end_f = end_msf->frame;
if (ioctl(cdrom_fd, CDIOCPLAYMSF, &play_addr) == -1) {
perror("ioctl(cdromplaymsf)");
return(-1);
}
return(0);
}
int
cdrom_read_subchannel(data)
struct cd_sub_channel_info *data;
{
struct ioc_read_subchannel subchnl;
if (cdrom_fd == -1)
return(-1);
subchnl.address_format = CD_MSF_FORMAT;
subchnl.data_format = CD_CURRENT_POSITION;
subchnl.data_len = /* sizeof(struct cd_sub_channel_info)*/ 16;
subchnl.track = 0;
subchnl.data = data;
if (ioctl(cdrom_fd, CDIOCREADSUBCHANNEL, (char *) &subchnl) == -1) {
fprintf(stderr, "ioctl(cdromsubchnl): ");
perror(cdrom);
return(-1);
}
return(0);
}
int
cdrom_read_track(track, data)
unsigned int track;
struct cd_sub_channel_info *data;
{
struct ioc_read_subchannel subchnl;
if (cdrom_fd == -1)
return(-1);
subchnl.address_format = CD_MSF_FORMAT;
subchnl.data_format = CD_TRACK_INFO;
subchnl.data_len = /* sizeof(struct cd_sub_channel_info)*/ 24;
subchnl.track = track;
subchnl.data = data;
if (ioctl(cdrom_fd, CDIOCREADSUBCHANNEL, (char *) &subchnl) == -1) {
fprintf(stderr, "ioctl(cdromsubchnltrk): ");
perror(cdrom);
return(-1);
}
return(0);
}
int
cdrom_read_tocentry(track, data, size)
unsigned int track;
struct cd_toc_entry *data;
int size;
{
struct ioc_read_toc_entry tocentry;
if (cdrom_fd == -1)
return(-1);
tocentry.starting_track = (unsigned char)track;
tocentry.address_format = CD_MSF_FORMAT;
tocentry.data_len = /* sizeof(struct cd_toc_entry)*/ size;
tocentry.data = data;
if (ioctl(cdrom_fd, CDIOREADTOCENTRYS, (char *) &tocentry) == -1) {
perror("ioctl(cdromreadtocentry)");
return(-1);
}
return(0);
}
int
cdrom_read_tochdr(tochdr)
struct ioc_toc_header *tochdr;
{
if (cdrom_fd == -1)
return(-1);
if (ioctl(cdrom_fd, CDIOREADTOCHEADER, (char *) tochdr) == -1) {
perror("ioctl(cdromreadtochdr): ");
return(-1);
}
return(0);
}
int
cdrom_status() {
struct cd_sub_channel_info data;
if (cdrom_read_subchannel(&data) == -1)
return(-1);
switch (data.header.audio_status) {
case CD_AS_AUDIO_INVALID:
return(CDROM_INVALID);
case CD_AS_PLAY_IN_PROGRESS:
return(CDROM_PLAYING);
case CD_AS_PLAY_PAUSED:
return(CDROM_PAUSED);
case CD_AS_PLAY_COMPLETED:
return(CDROM_COMPLETED);
case CD_AS_PLAY_ERROR:
return(CDROM_ERROR);
case CD_AS_NO_STATUS:
return(CDROM_NO_STATUS);
}
return(-1);
}
unsigned short *
ushort_malloc(n)
int n;
{
extern char *calloc();
unsigned short *ptr;
ptr = (unsigned short *) calloc(n, sizeof(unsigned short));
if (ptr == NULL) {
perror("calloc");
exit(1);
}
return(ptr);
}
struct msf *
msf_malloc(n)
int n;
{
extern char *calloc();
struct msf *ptr;
ptr = (struct msf *) calloc(n, sizeof(struct msf));
if (ptr == NULL) {
perror("calloc");
exit(1);
}
return(ptr);
}
int
cdrom_disp_cdi() {
int trk;
fprintf(stderr,"CDI structure:\n");
fprintf(stderr,"\tcurtrack: %d\n",cdi.curtrack);
fprintf(stderr,"\tmin: %d max: %d total: %d\n",
cdi.mintrack, cdi.maxtrack, cdi.ntracks);
fprintf(stderr,"\tdur: %d state: %2x\n",cdi.duration, cdi.state);
fprintf(stderr,"\tcurrand: %d lastprog: %d\n",
cdi.currand, cdi.lastprog);
fprintf(stderr,"\n\tTracklist:\n");
if (cdi.maxtrack != cdi.mintrack) {
for (trk=0; trk<=cdi.maxtrack-cdi.mintrack+1; trk++) {
fprintf(stderr,"\t%3d: %d %02d:%02d %d\n",trk,cdi.times[trk],
cdi.addrs[trk].minute,cdi.addrs[trk].second,
cdi.addrs[trk].frame);
}
}
}

View File

@ -0,0 +1,95 @@
/*
* Copyright (C) 1990 Regents of the University of California.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of the University of
* California not be used in advertising or publicity pertaining to
* distribution of the software without specific, written prior
* permission. the University of California makes no representations
* about the suitability of this software for any purpose. It is provided
* "as is" without express or implied warranty.
*/
# include <X11/Intrinsic.h>
# define NOTITLESTR "No Title"
# define NODISCSTR "No Disc"
# define bit(n) (1 << (n))
/* bits for cdrom_state */
# define CDROM_STATE_PLAY bit(0)
# define CDROM_STATE_PAUSE bit(1)
# define CDROM_STATE_STOP bit(2)
# define CDROM_STATE_EJECTED bit(3)
# define CDROM_STATE_CYCLE bit(4)
# define CDROM_STATE_SHUFFLE bit(5)
# define CDROM_STATE_PROGRAM bit(6)
/* return codes from cdrom_status() */
# define CDROM_INVALID 1
# define CDROM_PLAYING 2
# define CDROM_PAUSED 3
# define CDROM_COMPLETED 4
# define CDROM_ERROR 5
# define CDROM_NO_STATUS 6
#define STILL_MOUNTED 1
#define UNMOUNTED 0
#define CDROM_LEADOUT 0xAA
#define CDROM_MSF 0x02
struct msf {
unsigned char minute;
unsigned char second;
unsigned char frame;
};
struct prognode {
unsigned char track;
Widget button;
struct prognode *next;
struct prognode *prev;
};
typedef struct _cdrom_info {
unsigned char curtrack; /* current track playing */
unsigned char mintrack; /* first audio track */
unsigned char maxtrack; /* last audio track */
unsigned char ntracks; /* size of random track list */
int duration; /* seconds played so far */
int state; /* state of cd-rom drive */
short currand; /* index into random track list */
short lastprog; /* number of selections in prog.*/
unsigned short *times; /* duration of each track */
struct msf *addrs; /* starting minute/second/frames*/
struct prognode *selection; /* currently selected prog. trk */
struct prognode *program; /* list of programmed tracks */
} cdrom_info;
extern int cdrom_open();
extern void cdrom_close();
extern int cdrom_start();
extern int cdrom_stop();
extern int cdrom_eject();
extern int cdrom_pause();
extern int cdrom_resume();
extern int cdrom_volume();
extern int cdrom_get_times();
extern int cdrom_get_curtrack();
extern int cdrom_get_msf();
extern int cdrom_get_curmsf();
extern int cdrom_play_track();
extern int cdrom_play_msf();
extern int cdrom_read_tocentry();
extern int cdrom_read_tochdr();
extern int cdrom_status();
extern cdrom_info cdi;
extern char *disc_title;
extern char program_str[];
extern char *cdInfoDir;

View File

@ -0,0 +1 @@
MD5 (xcdplayer-2.2.tar.Z) = d5d1d86abc4a0f5e2ea99a40ee63f98d

View File

@ -0,0 +1,171 @@
*** XCdplayer.ad Tue Jan 12 10:59:41 1993
--- /users/swallace/work/xcdplayer/XCdplayer.ad Wed Feb 23 07:36:31 1994
***************
*** 19,29 ****
XCdplayer*logoLabel.foreground: Gold
XCdplayer*logoLabel.background: Black
- XCdplayer*icon*foreground: Gold
XCdplayer*versionLabel.Font: -misc-fixed-medium-r-normal--8-*
XCdplayer*versionLabel.foreground: Black
! XCdplayer*versionLabel.width: 130
XCdplayer*versionLabel.fromHoriz: logoLabel
! replayThreshold is the number of seconds that must be played before the
--- 19,28 ----
XCdplayer*logoLabel.foreground: Gold
XCdplayer*logoLabel.background: Black
XCdplayer*versionLabel.Font: -misc-fixed-medium-r-normal--8-*
XCdplayer*versionLabel.foreground: Black
! XCdplayer*versionLabel.width: 110
XCdplayer*versionLabel.fromHoriz: logoLabel
! replayThreshold is the number of seconds that must be played before the
***************
*** 33,48 ****
! scanSkipInterval is the number of seconds skipped at each fast-forward or
! reverse.
! XCdplayer*scanSkipInterval: 3
! pauseSkipInterval is the number of seconds skipped at each fast-forward or
! reverse if the CD is paused.
! XCdplayer*pauseSkipInterval: 15
! scanPauseInterval is the number of seconds between each fast_forward or
! reverse while holding down the buttons. (Sun CDs have a dreadfully long
! start-up time for the audio to actually become audible, so "hearing the
! track" while scanning isn't very feasible.)
! XCdplayer*scanPauseInterval: 0.062
! pausePauseInterval does the same thing when the disc is paused.
XCdplayer*pausePauseInterval: 0.5
--- 32,47 ----
! scanSkipInterval is the number of seconds skipped at each fast-forward or
! reverse.
! XCdplayer*scanSkipInterval: 5
! pauseSkipInterval is the number of seconds skipped at each fast-forward or
! reverse if the CD is paused.
! XCdplayer*pauseSkipInterval: 20
! scanPauseInterval is the number of seconds between each fast_forward or
! reverse while holding down the buttons. (Sun CDs have a dreadfully long
! start-up time for the audio to actually become audible, so "hearing the
! track" while scanning isn't very feasible.)
! XCdplayer*scanPauseInterval: 0.25
! pausePauseInterval does the same thing when the disc is paused.
XCdplayer*pausePauseInterval: 0.5
***************
*** 56,62 ****
XCdplayer*Viewport.allowHoriz: True
XCdplayer*Viewport.useBottom: True
XCdplayer*Viewport.forceBars: False
! XCdplayer*Viewport.width: 188
XCdplayer*Viewport.height: 30
XCdplayer*Viewport*thickness: 8
XCdplayer*Viewport.resizable: False
--- 55,61 ----
XCdplayer*Viewport.allowHoriz: True
XCdplayer*Viewport.useBottom: True
XCdplayer*Viewport.forceBars: False
! XCdplayer*Viewport.width: 160
XCdplayer*Viewport.height: 30
XCdplayer*Viewport*thickness: 8
XCdplayer*Viewport.resizable: False
***************
*** 88,98 ****
XCdplayer*Toggle.right: ChainLeft
XCdplayer*Toggle.background: Ivory
! XCdplayer*ledsLabel.horizDistance: 20
XCdplayer*ledsLabel.fromVert: versionLabel
XCdplayer*ledsLabel.fromHoriz: logoLabel
! XCdplayer*trackButton.horizDistance: 8
XCdplayer*trackButton.fromVert: versionLabel
XCdplayer*trackButton.fromHoriz: ledsLabel
XCdplayer*trackButton.borderWidth: 2
--- 87,97 ----
XCdplayer*Toggle.right: ChainLeft
XCdplayer*Toggle.background: Ivory
! XCdplayer*ledsLabel.horizDistance: 4
XCdplayer*ledsLabel.fromVert: versionLabel
XCdplayer*ledsLabel.fromHoriz: logoLabel
! XCdplayer*trackButton.horizDistance: 4
XCdplayer*trackButton.fromVert: versionLabel
XCdplayer*trackButton.fromHoriz: ledsLabel
XCdplayer*trackButton.borderWidth: 2
***************
*** 108,134 ****
XCdplayer*timerButton.left: ChainRight
XCdplayer*timerButton.right: ChainRight
! XCdplayer*volumeScrollbar.horizDistance:8
XCdplayer*volumeScrollbar.fromHoriz: logoLabel
XCdplayer*volumeScrollbar.fromVert: trackButton
XCdplayer*volumeScrollbar.orientation: horizontal
! XCdplayer*volumeScrollbar.length: 120
XCdplayer*volumeScrollbar.right: ChainRight
XCdplayer*volumeScrollbar.left: ChainRight
XCdplayer*volumeScrollbar.background: green
XCdplayer*volumeScrollbar.foreground: white
! XCdplayer*volumeScrollbar.thumb: black
XCdplayer*titleBarViewport.fromVert: volumeScrollbar
- XCdplayer*titleBarViewport.forceBars: true
XCdplayer*titleBar.borderwidth: 0
XCdplayer*titleBar.highlightThickness: 1
XCdplayer*titleBar.foreground: Red
XCdplayer*titleBar.background: Ivory
-
- XCdplayer*titleDialog.Text.translations:#override\
- <Key>Return: done()
-
XCdplayer*buttonsForm.fromVert: logoForm
XCdplayer*buttonsForm.borderWidth: 1
--- 107,128 ----
XCdplayer*timerButton.left: ChainRight
XCdplayer*timerButton.right: ChainRight
! XCdplayer*volumeScrollbar.horizDistance:4
XCdplayer*volumeScrollbar.fromHoriz: logoLabel
XCdplayer*volumeScrollbar.fromVert: trackButton
XCdplayer*volumeScrollbar.orientation: horizontal
! XCdplayer*volumeScrollbar.length: 93
XCdplayer*volumeScrollbar.right: ChainRight
XCdplayer*volumeScrollbar.left: ChainRight
XCdplayer*volumeScrollbar.background: green
XCdplayer*volumeScrollbar.foreground: white
! XCdplayer*volumeScrollbar.thumb: black
XCdplayer*titleBarViewport.fromVert: volumeScrollbar
XCdplayer*titleBar.borderwidth: 0
XCdplayer*titleBar.highlightThickness: 1
XCdplayer*titleBar.foreground: Red
XCdplayer*titleBar.background: Ivory
XCdplayer*buttonsForm.fromVert: logoForm
XCdplayer*buttonsForm.borderWidth: 1
*** Imakefile Tue Jan 12 10:59:29 1993
--- /users/swallace/work/xcdplayer/Imakefile Fri Sep 30 17:09:19 1994
***************
*** 15,20 ****
--- 15,25 ----
LOCAL_LIBRARIES = XawClientLibs
LINTLIBS = -lXaw -lXt -lX11
+ SRCS = main.c top_setup.c logo_setup.c button_setup.c cdrom_callb.c\
+ cdrom_freebsd.c internals.c shuffle.c program.c leds.c debug.c
+
+ OBJS = main.o top_setup.o logo_setup.o button_setup.o cdrom_callb.o\
+ cdrom_freebsd.o internals.o shuffle.o program.o leds.o debug.o
#ifdef SunArchitecture
SRCS = main.c top_setup.c logo_setup.c button_setup.c cdrom_callb.c\
cdrom_sun.c internals.c shuffle.c program.c leds.c debug.c

View File

@ -0,0 +1,266 @@
*** button_setup.c Tue Jan 12 10:59:47 1993
--- /users/swallace/work/xcdplayer/button_setup.c Wed Feb 23 07:36:36 1994
***************
*** 20,25 ****
--- 20,28 ----
# include <X11/Xaw/Toggle.h>
# include "cdrom_globs.h"
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
# include "cdrom_sun.h"
#endif
***************
*** 44,49 ****
--- 47,69 ----
# include "ff.xbm"
# include "pgm.xbm"
+ void title_dialog_setup();
+ static void play_button_setup();
+ static void stop_button_setup();
+ static void pause_button_setup();
+ static void prev_button_setup();
+ static void next_button_setup();
+ static void eject_button_setup();
+ #ifdef sgi
+ void audio_button_setup();
+ #endif
+ static void quit_button_setup();
+ static void cycle_button_setup();
+ static void shuffle_button_setup();
+ static void rew_button_setup();
+ static void ff_button_setup();
+ static void pgm_button_setup();
+ void buttons_reset();
static Widget buttons_form_widget;
static Widget play_button_widget;
***************
*** 71,95 ****
Widget parent_widget;
{
Arg args[1];
-
- extern void title_dialog_setup();
- extern void play_button_setup();
- extern void stop_button_setup();
- extern void pause_button_setup();
- extern void prev_button_setup();
- extern void next_button_setup();
- extern void eject_button_setup();
- #ifdef sgi
- extern void audio_button_setup();
- #endif
- extern void quit_button_setup();
- extern void cycle_button_setup();
- extern void shuffle_button_setup();
- extern void rew_button_setup();
- extern void ff_button_setup();
- extern void pgm_button_setup();
- extern void buttons_reset();
-
buttons_form_widget = XtCreateManagedWidget("buttonsForm",
formWidgetClass,
--- 91,96 ----
*** cdrom_callb.c Tue Jan 12 10:59:48 1993
--- /users/swallace/work/xcdplayer/cdrom_callb.c Wed Feb 23 07:36:41 1994
***************
*** 22,27 ****
--- 22,30 ----
# include "debug.h"
# include "cdrom_globs.h"
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
# include "cdrom_sun.h"
#endif
*** internals.c Tue Jan 12 10:59:45 1993
--- /users/swallace/work/xcdplayer/internals.c Wed Feb 23 07:36:47 1994
***************
*** 22,27 ****
--- 22,30 ----
# include "debug.h"
# include "cdrom_globs.h"
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
# include "cdrom_sun.h"
#endif
***************
*** 29,35 ****
# include "cdrom_sgi.h"
#endif
!
static XtIntervalId ivid = -1;
static XtIntervalId scanivid = -1;
static XtIntervalId stativid = -1;
--- 32,38 ----
# include "cdrom_sgi.h"
#endif
! static void scan_update();
static XtIntervalId ivid = -1;
static XtIntervalId scanivid = -1;
static XtIntervalId stativid = -1;
***************
*** 170,176 ****
struct msf track_start;
struct msf start_addr, end_addr;
int curtrack;
- extern void scan_update();
if (cdrom_get_curmsf(&start_addr) == -1) {
debug_printf(1, "rew: error reading location\n");
--- 173,178 ----
***************
*** 304,310 ****
struct msf start_addr, end_addr, next_start;
char t;
int curtrack;
- extern void scan_update();
if (cdrom_get_curmsf(&start_addr) == -1) {
debug_printf(1, "ff: error reading location\n");
--- 306,311 ----
*** logo_setup.c Tue Jan 12 10:59:46 1993
--- /users/swallace/work/xcdplayer/logo_setup.c Wed Feb 23 07:36:52 1994
***************
*** 28,33 ****
--- 28,36 ----
# include <stdio.h>
# include "cdrom_globs.h"
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
# include "cdrom_sun.h"
#endif
***************
*** 55,73 ****
Widget title_done_widget;
static int vol;
void
logo_setup(parent_widget)
Widget parent_widget;
{
- extern void leds_label_setup();
- extern void cb_track_button();
- extern void cb_timer_button();
- extern void volume_jump_proc();
- extern void volume_scroll_proc();
- extern void popup_title_dialog();
- extern void popdown_title_dialog();
-
Widget version_label_widget;
char version_string[80];
--- 58,76 ----
Widget title_done_widget;
static int vol;
+ extern void leds_label_setup();
+ static void cb_track_button();
+ static void cb_timer_button();
+ static void volume_jump_proc();
+ static void volume_scroll_proc();
+ static void popup_title_dialog();
+ static void popdown_title_dialog();
+
void
logo_setup(parent_widget)
Widget parent_widget;
{
Widget version_label_widget;
char version_string[80];
*** program.c Tue Jan 12 10:59:49 1993
--- /users/swallace/work/xcdplayer/program.c Wed Feb 23 07:36:55 1994
***************
*** 27,36 ****
# include <stdio.h>
# include <string.h>
! # include <malloc.h>
# include "debug.h"
# include "cdrom_globs.h"
#ifdef sun
# include "cdrom_sun.h"
#endif
--- 27,39 ----
# include <stdio.h>
# include <string.h>
! # include <sys/malloc.h>
# include "debug.h"
# include "cdrom_globs.h"
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
# include "cdrom_sun.h"
#endif
***************
*** 52,57 ****
--- 55,69 ----
static Boolean adding_to_new_track = False;
static struct prognode *current_node = NULL;
+ static void cb_move_program_ptr();
+ static void cb_clear_program();
+ static void cb_cancel_program();
+ static void cb_save_program();
+ static void cb_trackbuttons();
+ static void cb_add_10();
+ static void cb_new_track();
+ static void cb_program_all();
+
void
program_form_setup (parent_widget)
Widget parent_widget;
***************
*** 66,80 ****
Widget cancel_button;
Widget save_button;
Widget all_button;
-
- extern void cb_move_program_ptr();
- extern void cb_clear_program();
- extern void cb_cancel_program();
- extern void cb_save_program();
- extern void cb_trackbuttons();
- extern void cb_add_10();
- extern void cb_new_track();
- extern void cb_program_all();
/*
* create program form as a non-managed widget, because this
--- 78,83 ----
*** shuffle.c Tue Jan 12 10:59:38 1993
--- /users/swallace/work/xcdplayer/shuffle.c Wed Feb 23 07:36:59 1994
***************
*** 18,23 ****
--- 18,26 ----
# include "debug.h"
# include "cdrom_globs.h"
+ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ # include "cdrom_freebsd.h"
+ #endif
#ifdef sun
# include "cdrom_sun.h"
#endif

View File

@ -0,0 +1 @@
CD player for X.

View File

@ -0,0 +1,8 @@
XCdplayer 2.2
XCdplayer is a graphical user interface for controlling the CD-ROM
drive under the X Window System. It provides visual feedback and
gives the user facilities for mode selection, device control,
scanning, and programming.
Ported to FreeBSD by Steven Wallace, swallace@ece.uci.edu

View File

@ -0,0 +1,3 @@
bin/xcdplayer
lib/X11/app-defaults/XCdplayer
man/man1/xcdplayer.1.gz

View File

@ -0,0 +1,8 @@
#!/bin/sh
#
# $Id: pre-configure,v 1.1.1.1 1998/05/21 01:38:04 angelos Exp $
#
cp ${CURDIR}/files/cdrom_freebsd.c ${WRKSRC}
cp ${CURDIR}/files/cdrom_freebsd.h ${WRKSRC}
cp ${WRKSRC}/xcdplayer.1 ${WRKSRC}/xcdplayer.man

23
audio/xmcd/xmcd/Makefile Normal file
View File

@ -0,0 +1,23 @@
# OpenBSD makefile for: xmcd
# Version required: 2.2
# Date created: May 20 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/21 01:38:04 angelos Exp $
#
DISTNAME= xmcd-2.2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications/xmcd
MAINTAINER= angelos@openbsd.org
REQUIRES_MOTIF= yes
USE_IMAKE= yes
IS_INTERACTIVE= yes # asks a lot of questions
post-install:
${CP} ${WRKSRC}/README ${PREFIX}/lib/X11/xmcd
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (xmcd-2.2.tar.gz) = a47e379e7b93c597b9bf729d79c13ded

View File

@ -0,0 +1,59 @@
*** ./xmcd_d/Imakefile.orig Thu Apr 4 21:42:31 1996
--- ./xmcd_d/Imakefile Thu Apr 4 23:31:17 1996
***************
*** 43,49 ****
* #include "Motif.tmpl"
* #include "Motif.rules"
*/
! LOCAL_LIBRARIES= XmClientLibs
/**** Optional defines: Change as you see fit. *****************************
--- 43,49 ----
* #include "Motif.tmpl"
* #include "Motif.rules"
*/
! LOCAL_LIBRARIES= ${MOTIFLIB} XawClientLibs
/**** Optional defines: Change as you see fit. *****************************
***************
*** 67,78 ****
DEFINES=
#endif
/*
* Add local include path
*/
INCLUDES=-I..
-
/*
* C Source files
--- 67,78 ----
DEFINES=
#endif
+ MANSUFFIX = 1
/*
* Add local include path
*/
INCLUDES=-I..
/*
* C Source files
*** ./dbconv_d/Imakefile.orig Thu Apr 4 23:33:09 1996
--- ./dbconv_d/Imakefile Thu Apr 4 23:33:53 1996
***************
*** 24,29 ****
--- 24,31 ----
*
*/
+ MANSUFFIX = 1
+
/*
* Add local include path

View File

@ -0,0 +1,138 @@
*** install.sh.orig Tue Aug 12 19:12:27 1997
--- install.sh Sun Sep 7 16:23:43 1997
***************
*** 48,53 ****
--- 48,56 ----
ERRFILE=/tmp/xmcd.err
TMPFILE=/tmp/xmcdinst.$$
+ # Flag for indicating we do not want to prompt the user if possible.
+ NO_PROMPT=1
+
#
# Utility functions
#
***************
*** 586,592 ****
while :
do
! if getstr "\nEnter X binary directory\n[${BINDIR}]:"
then
if [ -d "$ANS" ]
then
--- 589,599 ----
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "X binary directory - using ${BINDIR}"
! break
! elif getstr "\nEnter X binary directory\n[${BINDIR}]:"
then
if [ -d "$ANS" ]
then
***************
*** 634,640 ****
while :
do
! if getstr "\nEnter X library directory\n[${LIBDIR}]:"
then
if [ -d "$ANS" ]
then
--- 641,651 ----
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "X library directory - using ${LIBDIR}"
! break
! elif getstr "\nEnter X library directory\n[${LIBDIR}]:"
then
if [ -d "$ANS" ]
then
***************
*** 657,663 ****
APPDEFAULTSDIR=$LIBDIR/app-defaults
while :
do
! if getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:"
then
if [ -d "$ANS" ]
then
--- 668,678 ----
APPDEFAULTSDIR=$LIBDIR/app-defaults
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "X app-defaults directory - using ${LIBDIR}"
! break
! elif getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:"
then
if [ -d "$ANS" ]
then
***************
*** 680,686 ****
XMCDLIB=$LIBDIR/xmcd
while :
do
! if getstr "\nEnter xmcd library directory\n[${XMCDLIB}]:"
then
if [ -d "$ANS" ]
then
--- 695,705 ----
XMCDLIB=$LIBDIR/xmcd
while :
do
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "xmcd library directory - using ${XMCDLIB}"
! break
! elif getstr "\nEnter xmcd library directory\n[${XMCDLIB}]:"
then
if [ -d "$ANS" ]
then
***************
*** 733,739 ****
$ECHO "\n\nThe on-line manual directory is where the man pages in"
$ECHO "in the xmcd package will be installed."
! if getstr "\nEnter on-line manual directory\n[${MANDIR}]:"
then
MANDIR=$ANS
fi
--- 752,761 ----
$ECHO "\n\nThe on-line manual directory is where the man pages in"
$ECHO "in the xmcd package will be installed."
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "xmcd on-line manual directory - using ${MANDIR}"
! elif getstr "\nEnter on-line manual directory\n[${MANDIR}]:"
then
MANDIR=$ANS
fi
***************
*** 758,764 ****
MANSUFFIX=1
fi
! if getstr "\nEnter on-line manual file name suffix\n[${MANSUFFIX}]:"
then
MANSUFFIX=$ANS
fi
--- 780,789 ----
MANSUFFIX=1
fi
! if [ -n "$NO_PROMPT" ]
! then
! $ECHO "xmcd on-line manual file name suffix - using ${MANSUFFIX}"
! elif getstr "\nEnter on-line manual file name suffix\n[${MANSUFFIX}]:"
then
MANSUFFIX=$ANS
fi

View File

@ -0,0 +1,46 @@
*** cda_d/Imakefile.orig Sun Nov 30 18:36:25 1997
--- cda_d/Imakefile Wed May 20 21:28:11 1998
***************
*** 86,92 ****
LOCAL_LIBRARIES=
#else
#if defined(OpenBSDArchitecture)
! LOCAL_LIBRARIES=-lncurses -ltermlib
#else
#if defined(UltrixArchitecture)
LOCAL_LIBRARIES=-lcursesX
--- 86,92 ----
LOCAL_LIBRARIES=
#else
#if defined(OpenBSDArchitecture)
! LOCAL_LIBRARIES=-lcurses -ltermlib
#else
#if defined(UltrixArchitecture)
LOCAL_LIBRARIES=-lcursesX
***************
*** 97,103 ****
#if defined(__QNX__)
LOCAL_LIBRARIES=-lncurses
#else
! LOCAL_LIBRARIES=-lcurses
#endif /* __QNX__ */
#endif /* SINIX */
#endif /* ultrix */
--- 97,103 ----
#if defined(__QNX__)
LOCAL_LIBRARIES=-lncurses
#else
! LOCAL_LIBRARIES=-lcurses -ltermlib -lossaudio
#endif /* __QNX__ */
#endif /* SINIX */
#endif /* ultrix */
***************
*** 107,112 ****
--- 107,113 ----
#endif /* LinuxArchitecture OpenBSDArchitecture */
#endif /* SunArchitecture */
+ MANSUFFIX = 1
/*
* C Source files

View File

@ -0,0 +1 @@
Motif CD player.

14
audio/xmcd/xmcd/pkg/DESCR Normal file
View File

@ -0,0 +1,14 @@
Xmcd is a program that allows the use of the CD-ROM drive
as a full-featured stereo compact-disc player for the X
window system.
Most of the features found on real CD players are
available in xmcd, such as shuffle and repeat, track
programming functions, a numeric keypad and track warp
slider for direct track access. Additional functions
include sample play, A to B segment play, volume control,
balance control, etc. Several automation options are also
available on CD load, eject, play completion and program
exit. A Channel Routing feature allow you to select from
several stereo or mono routing options. The volume
control slider taper characteristics can also be altered.

148
audio/xmcd/xmcd/pkg/PLIST Normal file
View File

@ -0,0 +1,148 @@
bin/xmcd
bin/cda
bin/wm2xmcd
lib/X11/app-defaults/XMcd
lib/X11/xmcd/help/Ab.btn
lib/X11/xmcd/help/DbProg.btn
lib/X11/xmcd/help/DdCancel.btn
lib/X11/xmcd/help/DdClr.btn
lib/X11/xmcd/help/DdOk.btn
lib/X11/xmcd/help/DpAbout.btn
lib/X11/xmcd/help/DpAddPgm.btn
lib/X11/xmcd/help/DpCancel.btn
lib/X11/xmcd/help/DpClrPgm.btn
lib/X11/xmcd/help/DpDExt.btn
lib/X11/xmcd/help/DpLink.btn
lib/X11/xmcd/help/DpLoad.btn
lib/X11/xmcd/help/DpSave.btn
lib/X11/xmcd/help/DpSend.btn
lib/X11/xmcd/help/DpTExt.btn
lib/X11/xmcd/help/DpTimSel.btn
lib/X11/xmcd/help/DsCancel.btn
lib/X11/xmcd/help/DsOk.btn
lib/X11/xmcd/help/DtCancel.btn
lib/X11/xmcd/help/DtClr.btn
lib/X11/xmcd/help/DtOk.btn
lib/X11/xmcd/help/Eject.btn
lib/X11/xmcd/help/Ff.btn
lib/X11/xmcd/help/Help.btn
lib/X11/xmcd/help/Keypad.btn
lib/X11/xmcd/help/KpCancel.btn
lib/X11/xmcd/help/KpClear.btn
lib/X11/xmcd/help/KpEnter.btn
lib/X11/xmcd/help/KpNum.btn
lib/X11/xmcd/help/KpSel.btn
lib/X11/xmcd/help/LsCancel.btn
lib/X11/xmcd/help/LsOk.btn
lib/X11/xmcd/help/NextDisc.btn
lib/X11/xmcd/help/NextIdx.btn
lib/X11/xmcd/help/NextTrk.btn
lib/X11/xmcd/help/OpBalCtr.btn
lib/X11/xmcd/help/OpOk.btn
lib/X11/xmcd/help/OpReset.btn
lib/X11/xmcd/help/OpSave.btn
lib/X11/xmcd/help/Options.btn
lib/X11/xmcd/help/PlayPaus.btn
lib/X11/xmcd/help/Power.btn
lib/X11/xmcd/help/PrevDisc.btn
lib/X11/xmcd/help/PrevIdx.btn
lib/X11/xmcd/help/PrevTrk.btn
lib/X11/xmcd/help/Rew.btn
lib/X11/xmcd/help/Sample.btn
lib/X11/xmcd/help/Stop.btn
lib/X11/xmcd/help/Time.btn
lib/X11/xmcd/help/DbMode.lbl
lib/X11/xmcd/help/Disc.lbl
lib/X11/xmcd/help/DiscId.lbl
lib/X11/xmcd/help/DiscTitl.lbl
lib/X11/xmcd/help/Index.lbl
lib/X11/xmcd/help/Keypad.lbl
lib/X11/xmcd/help/PlayMode.lbl
lib/X11/xmcd/help/ProgMode.lbl
lib/X11/xmcd/help/RptCnt.lbl
lib/X11/xmcd/help/Time.lbl
lib/X11/xmcd/help/TimeMode.lbl
lib/X11/xmcd/help/Track.lbl
lib/X11/xmcd/help/TrkTitle.lbl
lib/X11/xmcd/help/DdDisc.txw
lib/X11/xmcd/help/DpDTitle.txw
lib/X11/xmcd/help/DpPgmSeq.txw
lib/X11/xmcd/help/DpTTitle.txw
lib/X11/xmcd/help/DtTrack.txw
lib/X11/xmcd/help/KpWarp.scl
lib/X11/xmcd/help/Level.scl
lib/X11/xmcd/help/OpBal.scl
lib/X11/xmcd/help/DpTrk.lsw
lib/X11/xmcd/help/DsDir.lsw
lib/X11/xmcd/help/LsLink.lsw
lib/X11/xmcd/help/OpChRt.rbx
lib/X11/xmcd/help/OpExit.rbx
lib/X11/xmcd/help/OpLoad.rbx
lib/X11/xmcd/help/OpVolTpr.rbx
lib/X11/xmcd/help/Main.cbx
lib/X11/xmcd/help/OpChgr.cbx
lib/X11/xmcd/help/OpDone.cbx
lib/X11/xmcd/help/OpEject.cbx
lib/X11/xmcd/help/OpLoad.cbx
lib/X11/xmcd/cddb/misc/4102560a
lib/X11/xmcd/pixmaps/xmcd.icon
lib/X11/xmcd/pixmaps/xmcd_a.px
lib/X11/xmcd/pixmaps/xmcd_b.px
lib/X11/xmcd/pixmaps/xmcd.xpm
lib/X11/xmcd/config/common.cfg
lib/X11/xmcd/config/device.cfg
lib/X11/xmcd/config/.tbl/Acer
lib/X11/xmcd/config/.tbl/Apple
lib/X11/xmcd/config/.tbl/Aztech
lib/X11/xmcd/config/.tbl/Chinon
lib/X11/xmcd/config/.tbl/Compaq
lib/X11/xmcd/config/.tbl/Compro
lib/X11/xmcd/config/.tbl/Creative
lib/X11/xmcd/config/.tbl/DEC
lib/X11/xmcd/config/.tbl/Goldstar
lib/X11/xmcd/config/.tbl/HP
lib/X11/xmcd/config/.tbl/Hitachi
lib/X11/xmcd/config/.tbl/IBM
lib/X11/xmcd/config/.tbl/Longshin
lib/X11/xmcd/config/.tbl/MDI
lib/X11/xmcd/config/.tbl/MediaVis
lib/X11/xmcd/config/.tbl/Mitsumi
lib/X11/xmcd/config/.tbl/NEC
lib/X11/xmcd/config/.tbl/Nakamich
lib/X11/xmcd/config/.tbl/Okano
lib/X11/xmcd/config/.tbl/Opticsto
lib/X11/xmcd/config/.tbl/Orchid
lib/X11/xmcd/config/.tbl/Panasoni
lib/X11/xmcd/config/.tbl/Philips
lib/X11/xmcd/config/.tbl/Pioneer
lib/X11/xmcd/config/.tbl/Plextor
lib/X11/xmcd/config/.tbl/Procom
lib/X11/xmcd/config/.tbl/SGI
lib/X11/xmcd/config/.tbl/Sanyo
lib/X11/xmcd/config/.tbl/Sony
lib/X11/xmcd/config/.tbl/Stratus
lib/X11/xmcd/config/.tbl/Sun
lib/X11/xmcd/config/.tbl/Teac
lib/X11/xmcd/config/.tbl/Toshiba
lib/X11/xmcd/config/.tbl/Yamaha
lib/X11/xmcd/config/config.sh
man/man1/xmcd.1
man/man1/cda.1
man/man1/wm2xmcd.1
@dirrm lib/X11/xmcd/pixmaps
@dirrm lib/X11/xmcd/help
@dirrm lib/X11/xmcd/config/.tbl
@dirrm lib/X11/xmcd/config
@dirrm lib/X11/xmcd/cddb/soundtrack
@dirrm lib/X11/xmcd/cddb/rock
@dirrm lib/X11/xmcd/cddb/reggae
@dirrm lib/X11/xmcd/cddb/newage
@dirrm lib/X11/xmcd/cddb/misc
@dirrm lib/X11/xmcd/cddb/jazz
@dirrm lib/X11/xmcd/cddb/folk
@dirrm lib/X11/xmcd/cddb/data
@dirrm lib/X11/xmcd/cddb/country
@dirrm lib/X11/xmcd/cddb/classical
@dirrm lib/X11/xmcd/cddb/blues
@dirrm lib/X11/xmcd/cddb
@dirrm lib/X11/xmcd

26
audio/xmcd/xmix/Makefile Normal file
View File

@ -0,0 +1,26 @@
# New ports collection makefile for: xmix
# Version required: 2.1
# Date created: 30 June 1995
# Whom: janek@gaja.ipan.lublin.pl
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:05 angelos Exp $
#
DISTNAME= xmix-2.1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/sound/mixers
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= xmix-2.1.mixers.patch
MAINTAINER= janek@gaja.ipan.lublin.pl
USE_IMAKE= yes
WRKSRC= $(WRKDIR)/xmix
pre-install:
${CP} ${WRKSRC}/xmix.1 ${WRKSRC}/xmix.man
${INSTALL_DATA} $(WRKSRC)/XMix ${PREFIX}/lib/X11/app-defaults
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (xmix-2.1.mixers.patch) = 26786ade59dd22f01700be2e8d2239c3
MD5 (xmix-2.1.tar.gz) = 9216b84746fc66179dcd93696b139d68

View File

@ -0,0 +1,37 @@
diff -rc ../../xmix.orig/Imakefile ./Imakefile
*** ../../xmix.orig/Imakefile Fri Jun 30 18:49:35 1995
--- ./Imakefile Fri Jun 30 20:11:30 1995
***************
*** 14,17 ****
LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
! NormalProgramTarget(xmix,$(OBJS1),,$(LOCAL_LIBRARIES),)
--- 14,19 ----
LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
! PROGRAM = $(PROGRAMS)
!
! ComplexProgramTarget_1($(PROGRAM),$(LOCAL_LIBRARIES),)
Only in ./: Imakefile.orig
diff -rc ../../xmix.orig/xmix.c ./xmix.c
*** ../../xmix.orig/xmix.c Fri Jun 30 20:09:41 1995
--- ./xmix.c Fri Jun 30 20:11:49 1995
***************
*** 77,83 ****
#include "square_empty.bit"
#include "square_with_x.bit"
! #include <linux/soundcard.h>
#define SOUND_FULL_SCALE 100.0
#define MAX_SOUND_VOL 95
--- 77,83 ----
#include "square_empty.bit"
#include "square_with_x.bit"
! #include <machine/soundcard.h>
#define SOUND_FULL_SCALE 100.0
#define MAX_SOUND_VOL 95

View File

@ -0,0 +1 @@
Mixer for X Window System.

View File

@ -0,0 +1,4 @@
This is the xmix sound mixer for the sound drivers in the FreeBSD
It was originally written for Linux by Hal Brand (brand@netcom.com).
This is version 2.1.

View File

@ -0,0 +1,3 @@
bin/xmix
lib/X11/app-defaults/XMix
man/man1/xmix.1.gz

19
audio/xmcd/xmmix/Makefile Normal file
View File

@ -0,0 +1,19 @@
# New ports collection makefile for: xmmix
# Version required: 1.2
# Date created: Mon Aug 5 10:54:25 CDT 1996
# Whom: erich@FreeBSD.org
#
# $Id: Makefile,v 1.1.1.1 1998/05/21 01:38:05 angelos Exp $
#
DISTNAME= xmmix-1.2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= applications/
MAINTAINER= erich@FreeBSD.org
USE_IMAKE= yes
REQUIRES_MOTIF= yes
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (xmmix-1.2.tar.gz) = 5a6556ec9a84888d7e77ba59c2128843

View File

@ -0,0 +1,22 @@
--- ./appenv.h.org Sun Jul 14 10:48:59 1996
+++ ./appenv.h Mon Aug 19 04:05:16 1996
@@ -59,7 +59,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <sys/soundcard.h>
+#include <machine/soundcard.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
--- ./Imakefile.org Sun Jul 14 10:48:56 1996
+++ ./Imakefile Mon Aug 19 04:09:48 1996
@@ -43,7 +43,7 @@
* #include "Motif.tmpl"
* #include "Motif.rules"
*/
-LOCAL_LIBRARIES= XmClientLibs
+LOCAL_LIBRARIES= ${MOTIFLIB} ${XTOOLLIB} ${XLIB}
/*

View File

@ -0,0 +1 @@
a Motif based audio mixer

View File

@ -0,0 +1,20 @@
From the README:
Xmmix is a sound mixer utility for the X Window System using the
OSF/Motif interface. It requires the Unix Sound System (formerly
"VoxWare") sound driver by Hannu Savolainen (hannu@voxware.pp.fi).
For those of you with access to the WWW (via Netscape, NCSA Mosaic
or other WWW browser), The URL for the xmmix home page is as
follows:
http://sunsite.unc.edu/~cddb/xmmix/
This home page provides up-to-date information about the
current release version, online README file, FTP service to get
the software, an interactive form to send comments and
suggestions, and late breaking announcement, if any.
I don't have hardware to test all the features, but it looks ok.
eric.
erich@FreeBSD.org

View File

@ -0,0 +1,4 @@
bin/xmmix
lib/X11/app-defaults/XMmix
lib/X11/xmmix.hlp
man/man1/xmmix.1.gz