Skip to content

Commit

Permalink
Update references to external libraries used. Update build descriptions
Browse files Browse the repository at this point in the history
to indicate lame is no longer needed.
  • Loading branch information
cbagwell committed Feb 19, 2011
1 parent 7a12d05 commit 3036a8f
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 42 deletions.
1 change: 1 addition & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ffmpeg http://ffmpeg.mplayerhq.hu LGPL
FLAC http://flac.sourceforge.net BSD
LADSPA http://www.ladspa.org LGPL + plugins' licence
Lame MP3 encoder http://lame.sourceforge.net LGPL
libltdl http://www.gnu.org/software/libtool LGPL
MAD MP3 decoder http://www.underbit.com/products/mad GPL
MP3 ID3 tags http://www.underbit.com/products/mad GPL
Magic http://www.darwinsys.com/file GPL
Expand Down
27 changes: 11 additions & 16 deletions README.osx
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,8 @@ self-contained statically linked executable.

If the sox executable is invoked with an executable name of soxi, play,
or rec it will perform the functions of those applications as defined
in included documents.

Symlinks can be created for this purpose; such as:

ln -s sox soxi
ln -s sox play
ln -s sox rec

This also roughly equates to invoking sox with following options:

soxi: sox --info [input files and options]
play: sox [input files and options] -d [effects]
rec: sox -d [output file and options] [effects]
in included documents. Symlinks are included with this package
but you can also make your own.

wget
----
Expand All @@ -42,16 +31,22 @@ The sox exectables included in this package makes use of the following projects:

SoX - http://sox.sourceforge.net

Ogg Vorbis - http://www.vorbis.com

FLAC - http://flac.sourceforge.net

LADSPA - http://www.ladspa.org

libid3tag - http://www.underbit.com/products/mad

libltdl - http://www.gnu.org/software/libtool

libsndfile - http://www.mega-nerd.com/libsndfile

WavPack - http://www.wavpack.com
Ogg Vorbis - http://www.vorbis.com

PNG - http://www.libpng.org/pub/png

WavPack - http://www.wavpack.com

Enjoy,
The SoX Development Team

Expand Down
14 changes: 9 additions & 5 deletions README.win32
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This file contains information specific to the Win32 version of SoX.
Please refer to the README file for general information.

The binary SOX.EXE can be installed anywhere you desire. The only
restriction is that the included CYGWIN1.DLL and CYGGOMP-1.DLL must be
restriction is that the included CYGWIN1.DLL and CYGGOMP-1.DLL must be
located in the same directory as SOX.EXE or somewhere within your PATH.

SoX Helper Applications
Expand All @@ -15,7 +15,7 @@ SoX also includes support for SOXI.EXE, PLAY.EXE and REC.EXE and their
behaviors are documented in included PDF's. They have the same
install restrictions as SOX.EXE.

SOXI.EXE, PLAY.EXE, and REC.EXE are not distributed with this package to
SOXI.EXE, PLAY.EXE, and REC.EXE are not distributed with this package to
reduce size requirements. They are, in fact, only copies of the original
SOX.EXE binary which changes SOX.EXE's behavior based on the
executable's filename.
Expand Down Expand Up @@ -63,16 +63,20 @@ further information on how it was compiled and packaged.

SoX - http://sox.sourceforge.net

Ogg Vorbis - http://www.vorbis.com

FLAC - http://flac.sourceforge.net

LADSPA - http://www.ladspa.org

libid3tag - http://www.underbit.com/products/mad

libsndfile - http://www.mega-nerd.com/libsndfile

WavPack - http://www.wavpack.com
Ogg Vorbis - http://www.vorbis.com

PNG - http://www.libpng.org/pub/png

WavPack - http://www.wavpack.com

Enjoy,
The SoX Development Team

Expand Down
27 changes: 12 additions & 15 deletions mingwbuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
# This script will automates the steps used to producing a static win32
# package of SoX.
#
# It is used on a Fedora box with mingw cross compiler and wine to
# It is used on a Fedora box with mingw cross compiler and wine to
# test. It can also be used under MSYS but will not generate PDF docs.
#
# It will optionally package up VC++ version of wget if found in
# It will optionally package up VC++ version of wget if found in
# ../wget-1.11.4.
#
# Various notes:
#
# Script makes use of "-static" option to tell compiler to prefer static
# external libraries so that we do not need to distribute DLL's.
# external libraries so that we do not need to distribute DLL's.
#
# Libtool will get confused with this flag for external libraries
# that have a libtool lib*.la file and support shared libraries as
# well as static libraries (but usually only if that library
# further depends on other external libraries with lib*.la files).
# Libtool will get confused with this flag for external libraries
# that have a libtool lib*.la file and support shared libraries as
# well as static libraries (but usually only if that library
# further depends on other external libraries with lib*.la files).
# Libtool may ignore -static option or it may link first external
# library as static but other dependent libraries as shared (usually
# because it follows $dependency_libs and that ignores -static option).
#
# Work arounds include to only install static libraries, delete the lib*.la
# file, or edit the lib*.la file and set dlnames and library_names variables
# Work arounds include to only install static libraries, delete the lib*.la
# file, or edit the lib*.la file and set dlnames and library_names variables
# to empty string ("").
#
# The following command lines were used to generate the static external
Expand Down Expand Up @@ -53,21 +53,18 @@
#
# Compile libsndfile after FLAC and ogg vorbis so that it will include
# support for that.
# MINGW work around: Can either add -lwsock32 to end of *_LDADD for any
# MINGW work around: Can either add -lwsock32 to end of *_LDADD for any
# failed program links or modify top leve Makefile and remove
# "programs", "examples", "regtests", and "tests" from SUBDIRS.
# cd ../libsndfile-1.0.21
# mingw32-configure --disable-shared --enable-static;mingw32-make;sudo mingw32-make install
#
# To get MP3 header files used to enable MP3 support (no libraries used):
#
# cd ../lame-398-2
# mingw32-configure --enable-shared --disable-static;mingw32-make;sudo mingw32-make install
#
# libid3tag does not like to be compiled shared on mingw32 cross compiler.
# cd ../libid3tag-0.15.1b
# mingw32-configure --disable-shared --enable-static;mingw32-make;sudo mingw32-make install
#
# To get MP3 header files used to enable MP3 support (no libraries used):
#
# MINGW work around: Edit Makefile and remove -fforce-mem from CFLAGS
# cd ../libmad-0.15.1b
# mingw32-configure --enable-shared --disable-static;mingw32-make;sudo mingw32-make install
Expand Down
9 changes: 3 additions & 6 deletions osxbuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,14 @@
# cd ../libsndfile-1.0.21
#./configure CXXFLAGS="-m32 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CFLAGS="-m32 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" --disable-shared --enable-static;make;sudo make install
#
#
# To get MP3 header files used to enable MP3 support (no libraries used):
#
# cd ../lame-398-2
#./configure CFLAGS="-m32 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" --enable-shared --disable-static;make;sudo make install
#
# cd ../libid3tag-0.15.1b
#./configure CXXFLAGS="-m32 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" CFLAGS="-m32 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" --enable-static --disable-shared;make;sudo make install
#
# To get MP3 header files used to enable MP3 support (no libraries used):
#
# cd ../libmad-0.15.1b
#./configure CFLAGS="-m32 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" --enable-shared --disable-static;make;sudo make install
#

[ ! -x configure ] && autoreconf -i

Expand Down

0 comments on commit 3036a8f

Please sign in to comment.