head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.4 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.2 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q2:1.5.0.70 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.68 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.66 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.64 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.62 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.60 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.58 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.56 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.54 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.52 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.50 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.48 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.46 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.44 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.42 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.40 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.38 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.36 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.34 pkgsrc-2008Q1:1.5.0.32 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.30 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.28 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.26 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.24 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.22 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.20 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.18 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.16 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.14 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.12 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.10 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.8 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.6 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.4 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.2 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.4.0.10 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.8 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.4.0.4 netbsd-1-6-1-base:1.4 netbsd-1-6:1.4.0.6 netbsd-1-6-RELEASE-base:1.4 pkgviews:1.4.0.2 pkgviews-base:1.4 buildlink2-base:1.3; locks; strict; comment @# @; 1.6 date 2012.07.08.09.51.31; author wiz; state dead; branches; next 1.5; 1.5 date 2004.04.14.14.41.34; author adam; state Exp; branches; next 1.4; 1.4 date 2002.07.19.04.09.26; author mycroft; state Exp; branches; next 1.3; 1.3 date 98.03.07.18.49.40; author mycroft; state dead; branches; next 1.2; 1.2 date 98.01.26.17.45.00; author agc; state Exp; branches; next 1.1; 1.1 date 97.10.29.00.34.41; author augustss; state Exp; branches; next ; desc @@ 1.6 log @Update to 2.14.0, provided by Yair K. in PR 46662. pkgsrc changes: install default config enable flac again enable server and spectogram enable alsa on Linux make x11 optional add gtk option Upstream changes: 06/29, 2012 * Version 2.14.0 released. * Add --reverb option for Freeverb parameter. * Add --preserve-silence option. * Add a "trysource" config file directive, which allows to try and source other config files, while continuing without error if the specified file is missing. * Support for GM2 Master Fine/Coarse Tuning, GS Master Tune and XG Master Tuning (4C not 27) SysEx. * Allow Device Numbers other than 0x10 for XG SYSTEM ON SYSEX events. * Fix multiple vulnerabilities found in GNU gzip also apply to lha, namely: CVE-2006-4335, CVE-2006-4337 and CVE-2006-4338. * Support for lzma decompression. * Support for ipv6. * Support for libpng 1.5 and newer. * Support for Tcl/Tk 8.5. * Make compatible with xaw3d v1.5, style changes. * Various improvements in XAW interface (see README.xaw). * Support for Windows Named Pipe interface. * ...and many other bug fixes. @ text @$NetBSD: patch-ae,v 1.5 2004/04/14 14:41:34 adam Exp $ --- timidity/output.c.orig 2004-02-11 16:08:15.000000000 +0000 +++ timidity/output.c @@@@ -25,6 +25,7 @@@@ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ +#include #ifdef STDC_HEADERS #include #include @ 1.5 log @Changes 2.13.0: * New supported platforms: MacOSX, Alsa, Ogg Vorbis, Jack, PortAudio, etc. * New input format: MFi, RMI * Temperament control * Not pseudo reverb engine * Plate reverberator * Modulation envelope support * voice-by-voice LPF * Insertion/Varidation effect support * more @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Fix LP64 botch. @ text @d3 2 a4 2 --- timidity/output.c.orig Wed Jan 9 10:14:35 2002 +++ timidity/output.c Fri Jul 19 04:01:18 2002 d10 1 a10 1 #ifndef NO_STRING_H d12 1 a12 1 #else @ 1.3 log @Use the native audio interface. Fix (and enable) the Tk interface; it just runs wish externally. Fix the Motif interface as well, but don't enable it by default (yet?). Throw in my SGI port `because it's there'. @ text @d1 12 a12 41 --- linux_a.c Mon May 20 15:09:46 1996 +++ ./linux_a.c Wed Oct 29 01:09:19 1997 @@@@ -32,6 +32,16 @@@@ #include #endif +#ifdef __NetBSD__ +#include +#include +#undef EINTR +#define EINTR EWOULDBLOCK +#define DEV "/dev/audio" +#else +#define DEV "/dev/dsp" +#endif + #ifdef __FreeBSD__ #include #include @@@@ -56,7 +66,7 @@@@ -1, {0}, /* default: get all the buffer fragments you can */ "Linux dsp device", 'd', - "/dev/dsp", + DEV, open_output, close_output, output_data, @@@@ -220,10 +230,10 @@@@ static void flush_output(void) { - ioctl(dpm.fd, SNDCTL_DSP_SYNC); + ioctl(dpm.fd, SNDCTL_DSP_SYNC, 0); } static void purge_output(void) { - ioctl(dpm.fd, SNDCTL_DSP_RESET); + ioctl(dpm.fd, SNDCTL_DSP_RESET, 0); } @ 1.2 log @Changes to make timidity package work a bit better: + sync entries in PLIST with reality, and delete the extra directories that were created. + use normal LIB_DEPENDS in Makefile for specifying a dependency on ncurses lib. + organise the patch files, so that each file is only patched once. + rework the Makefile patches so that "make reinstall" can be called, that -lossaudio is referenced, and we look in the correct directory for ncurses.h. @ text @@ 1.1 log @Change RCS id. NetBSD port. @ text @d1 1 a1 50 diff -u ../../work/timidity-0.2i/Makefile ./Makefile --- ../../work/timidity-0.2i/Makefile Wed Oct 29 01:16:48 1997 +++ ./Makefile Tue Oct 28 09:10:22 1997 @@@@ -56,8 +56,8 @@@@ # Select the Linux/FreeBSD audio driver SYSTEM += -DAU_LINUX SYSEXTRAS += linux_a.c -#EXTRAINCS += -#EXTRALIBS += +EXTRAINCS += -I${PREFIX}/include +EXTRALIBS += -L${PREFIX}/lib -lossaudio ## Select the HP-UX network audio server #SYSTEM += -DHPUX -DAU_HPUX @@@@ -94,7 +94,7 @@@@ SYSTEM += -DIA_NCURSES SYSEXTRAS += ncurs_c.c #EXTRAINCS += -I/usr/include/ncurses -EXTRALIBS += -lncurses -lmytinfo +EXTRALIBS += -lncurses ## Select the S-Lang full-screen interface #SYSTEM += -DIA_SLANG diff -u ../../work/timidity-0.2i/config.h ./config.h --- ../../work/timidity-0.2i/config.h Wed Oct 29 01:16:48 1997 +++ ./config.h Sun Oct 26 13:55:33 1997 @@@@ -185,6 +185,12 @@@@ fragments under the VoxWare (Linux & FreeBSD) audio driver */ #define AUDIO_BUFFER_SIZE (1< +#undef FSCALE +#endif + + /* Byte order, defined in for FreeBSD and DEC OSF/1 */ #ifdef DEC #include @@@@ -217,7 +223,7 @@@@ # endif #endif /* linux */ -#ifdef __FreeBSD__ +#if (defined(BSD) && (BSD >= 199306)) #include #include #if BYTE_ORDER == LITTLE_ENDIAN diff -u ../../work/timidity-0.2i/linux_a.c ./linux_a.c --- ../../work/timidity-0.2i/linux_a.c Mon May 20 15:09:46 1996 @