Commit graph

58 commits

Author SHA1 Message Date
rillig
0e7b0f1ace Added a patch to support SunPro. 2006-04-26 07:41:17 +00:00
wiz
56a85eb4c2 Update to 12.17.9:
sox-12.17.9
-----------

  o Updates to compile under VC6. Jimen Ching
  o Declare st_signalinfo_t to specifically be signed in case
    platform does not default ot signed chars.  This
    is required for NetBSD/powerpc.
  o When seek()ing in AIFF, SMP, and WAV handlers, remaining samples were
    incorrectly computed based on bytes and not samples.  Jukka
  o Changed noisered effect to just warn during clipping instead
    of aborting.  Ian Turner
  o Fixed bug were pieces of audio were lost every buffer read
    when running both -c and -r options together on mono audio.
    Users probably percieved it as shorter audio files that
    played with a sped up tempo.
    Bugfix will also apply to other times when multiple effects
    are ran on the command line.
  o Added support for -V option to play/rec scripts.
  o Fix to silence effect to allow negative periods to be specified
    (to remove silence from middle of sound file).
  o Fix swap option handling so that special case of "swap 1 1" will
    work.
  o Track length of Ogg Vorbis files on read.
  o Add support for displaying a status line that tracks progress
    of read/write routines.  Part of information requires read
    file handlers to be able to determine file length.
  o Converted alsa driver to use asoundlib instead of directly
    talking to kernel driver.  This also means that device names
    are now the ALSA logical names instead of /dev type names.
  o Added ALSA support to play/rec scripts.
  o Added st_open*, st_read, st_write, st_seek, st_close routines
    to help simplify developer interface to libst.  See libst.3..
  o Removed st_initformat(), st_copyformat(), and
    st_checkformat() from library.  If your app used those
    functions then copy them from 12.17.8 source code
    directly into your application or update to use new
    routines.
  o Force word-alignment on AIFF SSND and APPL chunks on input.
    Matthew Hodgson.
  o Add fix to WAV handler to only return data in multiples
    of sample_size*channels to better handle corrupt files.
  o Fixed bug where "-4" option didn't work with avg
    effect (Tom Christie).
  o Fixed fade's fade-out-length to match man page
    description as noted by Geoff Kuenning.  This required
    updates to the sample crossfade scripts.  Also modified fade
    effect to report when no more samples will be produced to
    prevent unneeded reading of whole file.
  o Allow aborting SoX with SIGTERM, along with previous SIGINT.
    Norman Ramsey.

sox-12.17.8
-----------
  o noisered effect had compile problems with some compilers.
  o "-x" option was being ignored since 12.17.7.
  o Stuart Brady added support for reading and writing RIFX files (big
    endian RIFF/WAV files).  Also added support for auto detecting
    DEC-style ".sd\0" files.
  o Gene Mar found typo in polyphase nuttall calculation.
  o SMP buffer overflow (detected by gcc 4.0).  Reported by Marcus Meissner
    and Matthias Saou.
  o Fixed URL in manpage to resample overviews.
  o Fixed WAV handler so that it didn't think WAV chunks with max size
    were invalid chunks.  This allows WAV's to be used in pipes since
    they have to default to max size.
  o WAV files with alaw or ulaw data don't need extended format chunks.
    (Lars Immisch)
  o In AIFF files, fixed problem were short comments should cause
    AIFF handler to get confused and become misaligned.
2006-04-04 18:19:13 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
6b3e729f5a Keep OSS for DragonFly and FreeBSD, we don't have Sun-Audio. 2005-11-11 21:19:11 +00:00
bjh21
26526bea8d Correct hash for my change to the patch. One day, I'll get this right. 2005-08-24 09:37:00 +00:00
bjh21
1a278ae436 Add RCSID. 2005-08-24 08:30:28 +00:00
bjh21
135aefa63e Add patch-ac to distinfo.
Add PKGREVISION, since patch-ac will change the binary package on some
architectures.
2005-08-07 14:57:15 +00:00
bjh21
c893066192 Make SoX work correctly on systems (such as NetBSD/powerpc and NetBSD/arm)
where "char" is unsigned by default.
2005-08-07 13:26:32 +00:00
kristerw
83ca627ade Fix a C99 variable declaration to make this pkg compile with gcc 2.95. 2005-07-09 16:05:16 +00:00
wiz
d8e0057f8d Update to 12.17.7:
o Christian Weisgerber sent patches to man page fixes
    and patches for sunaudio driver on openbsd.
  o Default volume for soxmix wrongly set to 0 instead
    of 1/#_input_files (float rounding error).
  o Update to ALSA driver to do a better job of detecting
    unsupported sample rate/size/encoding and change to
    a supported one.
  o Fix bug in alsa writing were last last partial buffer
    wasn't being flushed.
  o Guentcho Skordev pointed out ogg vorbis files were using
    the same value for serial numbers each time.
  o Changed sox to only read the exact size of a WAV data chunk
    if cooledit IFF LIST chunk is found at the end of the file.
    Normally, this isn't done to allow reading > 2gig WAV files.
  o Modified configure to detect cygwin compiler after detecting
    gcc compiler (fixes some default CFLAGS options).
  o Added explicit rule for compile *.o from *.c so that
    CPPFLAGS is always referenced.  Not all platform's default
    rule includes CPPFLAGS (FreeBSD).
  o Under linux, add include path to /lib/modules/* so that ALSA
    include files can be auto detected.
  o Ian Turner added an effect to remove noise from an audio
    file by first profiling silent periods of the audio
    to determine what the noise is (like background hiss on
    cassette tapes).
2005-06-24 20:50:31 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
45328ab428 Fix compile failure on Interix: Disable direct audio output on that platform. 2005-03-07 12:19:16 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
minskim
b1946f84a6 Enable pkgviews installation. Patches provided by Joachim Kuebart on
tech-pkg@.
2005-02-23 03:28:49 +00:00
sekiya
f8d35d6e4d Revert previous. Clue gently applied by wiz@ 2004-10-27 00:59:34 +00:00
sekiya
8c82c88a58 Add buildlink framework for sox. 2004-10-27 00:47:38 +00:00
cube
a4775d2f5d Update to version 12.17.6. Note that this version fixes some
buffer overflows in the WAV parser that could lead to arbitrary
code execution.

sox-12.17.6
-----------
  o Changed comment code to always use copies of strings to
    fix bug in WAV handlering freeing argv[] memory.
  o Use calloc() to create ft_t structures so that all
    memory is initialized before being referenced.
  o Fixed VOC EOF bug were it thought there was an extra
    block when there wasn't.
  o Restructured directory layout so that source code is in
    a seperate directory.
  o Modified SoX to accept multiple input files.  Concatenates
    files together in this case.
  o Removed map effect so that loops and instr could be removed
    from effects structures.  This makes effects engine stand
    alone from the rest of the sox package.
  o Benedikt Zeyen found a bug in synth effect when generating
    brown noise that could cause clipping.
  o David Leverton sent another patch to prevent crashes on
    amd64's when resampling.
  o Fixed a bug were MP3 files with large ID3v2 tags could
    cause SoX to stick in a loop forever.  Now, it will
    abort on IDv3 tags larger then 100k.  Could still be
    improved to handle any size.
  o Changed volume option (-v) so that it tracks the file
    it was specified.  This means that when specified with
    the input file, it changes volume before effects engine
    and when specified with output file, its done after effects
    engine.
  o Added crossfade_cat.sh script that will concatenate to
    audio files and do a crossfade between them.
  o Fixed bug in fade effect were it was impossible to do a
    fadeout starting from the beginning of the audio file.
  o Removed rounding error when changing volume of audio with
    "-v" option.  This error caused doing a "-v -1.0" twice
    to not result in the original file.
  o Fixed a possible overflow in lots of effects were MIN
    value was treated as -MAX instead of -MAX-1.
  o Modifed sox so its OK for effects to not process any
    input or output bytes as long as they return ST_EOF.
  o When effects output data and reported ST_EOF at the
    same time, that buffer was discarded as well as
    data from any chained effect.
  o Added patch from Eric Benson that attempts to do a seek()
    if the first effect is trim.  This greatly speeds up
    processing large files.
  o Daniel Pouzzner implemented a multi-band compander (using
    the butterworth filters to split the audio into bands).
  o Donnie Smith updated the silence effect so that its possible
    to remove silence from the middle of a sound file by
    using a negative value for stop_periods.
  o Changed float routines to only work with normalized values
    from -1:1.
  o Modifed .au handler to be able to read and write 32-bit
    and 64-bit float data.  Only tested reading so far.
  o WAV with GSM data now always pads data to even number of bytes.
  o Added support for writing 32-bit audio to AIFF.

sox-12.17.5
-----------
  o Thomas Klausner sent in patches to compile audio drivers under
    NetBSD.
  o Rahul Powar pointed out a memory leak in the WAV file handler.
    It wasn't calling the correct close() function when closing
    input files.
  o Modified play.1 man page to not use multiple name lines.  This
    appears to confuse some conversion programs.  Updated sox.1
    man page for typo in reverb option.
  o Andrew Church fixed problem with header of stereo 8SVX files.
  o Jimen Ching added support to scan over garbage data at the
    beginning of MP3 files to find valid frames.  This is useful
    to play WAV and AIFF files that have MP3 data in them until
    those handlers support it directly.  To play those, force
    sox to use the mp3 handler with the "-t mp3" option.
  o Added patch from Ulf Harnhammar to wav handler to prevent
    buffer overflows.
  o Added patch from Redhat to allow resample to work on certain 64-bit
    machines (Sam Varshavchik)
  o Tony Seebregts added a file handler for headerless Dialogic/OKI ADPCM
    files (VOX files).
  o Jan Paul Schmidt added a repeat effect to do loops the brute force way.
    This is also good for file format that don't support loops as well.
  o Fix for OSS driver in rate tolerance calcs that were off because
    of type conversion problems.  Guenter Geiger.
  o Allow reading sphere files with headers greater then 256 bytes.  Jimen
    Ching.
  o Fix for vorbis were comments are displayed in KEY=value format always.
    Stop printing some info to stdout in case output is a pipe. Guenter
    Geiger.
  o J Robert Ray submitted fix for AIFF handler to ignore lowercase
    chunks that are unknown.
  o Bugfix for 8-bit voc files.  Jimen Ching
  o General warning cleanups (cbagwell)
  o Memory leaks in reading WAV files (Ufuk Kayserilioglu)
  o Rearrange link order of ogg vorbis libraries so that they
    can be compiled as static. (Christian Weisgerbr)
2004-10-18 13:24:47 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
snj
8f7362a7c8 Use bl3. 2004-03-12 02:23:15 +00:00
grant
a900bcf374 the configure script uses --disable-oss-dsp to disable OSS support,
not --without-oss-dsp. fixes linking on NetBSD.

(how did this ever link given that -lossaudio is not passed??)
2003-12-11 09:57:20 +00:00
wiz
a6e105fbae Bump PKGREVISION for libogg (or, in 5 cases, libao) updates. 2003-12-08 14:41:38 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
adam
b63a4b2165 Revision bumped; dependency changed from mad to libmad 2003-07-10 10:57:22 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
tron
3d8e08c4ed Remove bougs sourceforge URL from master site list which returned a
HTML page instead of the distribution file.
2003-03-25 10:57:44 +00:00
wiz
c9a4493c0b Update to 12.17.4; add dependency on mad.
Selection of changes:
* Various bugfixes to Ogg Vorbis handler as well as updating
  to use version 1.0 of library.  Also, modified the files
  that are output by Ogg Vorbis handler to use VBR format.
* Minor cleanups to sox.c to free and close all files instead
  of relying on C library to do it on exit.
* Fixed some integer overflow problems in compand effect.
* libst prototype cleanups and private data structure
  cleanups.
* Added new handler for Psion Record.app files.
* Play/Record scripts now look at an AUDIODEV
  enviornment variable to see what audio device to
  play to.  Also scripts to work on Sun Rays.
* Added support for reading and writing MP3 files if
  external MP3 libraries are avaliable.
* Fix multile channel bug in avg effect.
* Allow AIFF files with an invalid length of 0 to be
  processed.
2003-03-25 09:14:06 +00:00
wiz
2a28335c8d Enable vorbis support. Bump to 12.17.3nb1. 2002-11-25 19:02:45 +00:00
jlam
b995eddcc4 buildlink1 -> buildlink2 2002-09-21 21:05:35 +00:00
mycroft
03a8e25ed1 Update to sox 12.17.3. Numerous bugs fixed, and most of the NetBSD patches
integrated.
2002-07-12 19:30:50 +00:00
zuntum
4bd6ecc9c5 Move pkg/ files into package's toplevel directory 2001-11-01 00:17:43 +00:00
jlam
77ad214143 Mark as USE_BUILDLINK_ONLY to prevent accidentally depending on installed
gsm library.
2001-07-01 21:47:12 +00:00
agc
952fa0ef9f Move to sha1 digests, and add distfile sizes. 2001-04-18 12:14:28 +00:00
agc
18ea9c7e79 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:22:24 +00:00
wiz
f7bb9e2078 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:30:32 +00:00
wiz
227c6bc916 Fix compilation on alpha, and handle most warnings while I'm here. 2000-12-27 00:55:03 +00:00
tron
dadb77c823 Remove SunSITE sites (they don't have it) and sourceforge sites (wrong
MD5 checksum) from master sites list.
2000-12-02 08:31:33 +00:00
wiz
bfe7c1b363 Update to 12.17.1. Add more download URLs, sort PLIST.
Changes since 12.16:
Lots of new & improved filters & some file formats, and bug fixes.
2000-12-02 02:14:11 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
hubertf
ecffc685cf Fix PR 8678 by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>:
- Prevent configure from picking up any stray /dev/dsp's and believing
   it should use OSS
 - In the play script, add proper arguments if ran on NetBSD
 - Fix the $PATH setting in the play script
1999-10-26 01:31:01 +00:00
hubertf
3e40f49a84 Fix last commit
(broken due to old work-dir lying around; pointed out by tron)
1999-09-29 23:48:14 +00:00
tron
147ab15842 Remove obsolete "NO_WRKSRC= yes". 1999-09-29 23:31:18 +00:00
tron
966666c069 Sync checksum with new distribution file. 1999-09-29 23:24:09 +00:00
hubertf
3cb01b6def Merge DISTNAME & PKGNAME 1999-09-29 23:15:49 +00:00
hubertf
225afddd01 New homepage (the old one was last updated 1995 ...!)
Changes from 12.15:
     * Improved I/O performance on uncompressed data
     * Play script can now handle spaces in filename
     * Improved default output quality of ADPCM files
     * Added support for ALSA audio devices
     * Several bug fixes to AIFF files
     * Resample effect was greatly improved and now SoX does a great job
       on almost all resamples.
     * Added A-law support to .au files plus bug fixes
     * Updated OS/2 support
     * Added auto-configure support.  Greatly enhanced cross-platform support.
     * Imrproved 16-bit DOS compiler support
     * Added swap effect
     * Combined play and rec script and added more options
     * Fixed bugs in low/high/band-pass filters and avg effect.
1999-09-29 15:53:52 +00:00
hubertf
4961b3044d update to V12.16 1999-09-29 15:38:22 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00