shithub: sox

Download patch

ref: dce67cbd7f6e30fb6c61b221fbee67232ffe1bee
parent: 0354585d13e522d7d03fa784d7ed1f03984595f2
author: cbagwell <cbagwell>
date: Sun Dec 27 22:12:44 EST 2009

Minor doc updates.

--- a/cygbuild
+++ b/cygbuild
@@ -60,11 +60,6 @@
 #
 # cd ../libmad
 # ./configure --enable-shared --disable-static;make;sudo make install
-#
-# To get AMR header files used to eanble AMR support (no libraries used):
-#
-# cd ../opencore-amr-0.1.2
-# mingw32-configure --enable-shared --disable-static;mingw32-make;sudo mingw32-make install
 
 [ ! -x configure ] && autoreconf -i
 
--- a/mingwbuild
+++ b/mingwbuild
@@ -78,11 +78,6 @@
 # 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
-#
-# To get AMR header files used to eanble AMR support (no libraries used):
-#
-# cd ../opencore-amr-0.1.2
-# mingw32-configure --enable-shared --disable-static;mingw32-make;sudo mingw32-make install
 
 [ ! -x configure ] && autoreconf -i
 
--- a/osxbuild
+++ b/osxbuild
@@ -12,23 +12,26 @@
 # The following command lines were used to generate the static external
 # libraries SoX ships with.
 #
-# cd libpng-1.2.32
+# cd libtool-2.2.6b
 #./configure --disable-shared --enable-static;make;sudo make install
 #
-# cd ../wavpack-4.50.1
+# cd libpng-1.2.41
 #./configure --disable-shared --enable-static;make;sudo make install
 #
+# cd ../wavpack-4.60.1
+#./configure --disable-shared --enable-static;make;sudo make install
+#
 # FIXME: Won't build static
 # cd ../flac-1.2.1
 #./configure --disable-shared --enable-static;make;sudo make install
 #
-# cd ../libogg-1.1.3
+# cd ../libogg-1.1.4
 #./configure --disable-shared --enable-static;make;sudo make install
 #
-# cd ../libvorbis-1.2.0
+# cd ../libvorbis-1.2.3
 #./configure --disable-shared --enable-static;make;sudo make install
 #
-# cd ../libsndfile-1.0.19
+# cd ../libsndfile-1.0.21
 #./configure --disable-shared --enable-static;make;sudo make install
 #
 #
@@ -37,6 +40,9 @@
 # cd ../lame-398-2
 #./configure --enable-shared --disable-static;make;sudo make install
 #
+# cd ../id3tag-0.15.1b
+#./configure --enable-shared --disable-static;make;sudo make install
+#
 # cd ../libmad
 #./configure --enable-shared --disable-static;make;sudo make install
 
@@ -51,6 +57,7 @@
     --disable-shared \
     --with-libltdl \
     --enable-dl-lame --enable-dl-mad \
+    --enable-dl-amrnb --enable-dl-amrwb \
     CPP=cpp\
     CPPFLAGS=-I/usr/local/include \
     LDFLAGS="-L/usr/local/lib" \
@@ -67,6 +74,9 @@
   cp -p $f $dir/$f.txt
 done
 
+# Hint: Its easy to depend on shared libraries that are installed by development
+# toolset only and end users will not have (i.e. libltdl).  You can check what
+# is depended on by running "otool -L src/sox"
 binaries=src/sox
 
 #[ ! -r "../wget-1.11.4/wget.exe" -a -r /usr/bin/wget ] && binaries+=" /usr/bin/wget"