At minimal, it should be able to build without any dependencies (drop the code into your XCode project, and it will run). But to use command line tools in ./bin, you need libjpeg and libpng indeed.
libgsl and liblinear are required for all the training programs (bbfcreate, dpmcreate). libfftw3 can help with dpmdetect performance.
libgsl and liblinear are required for all the training programs (bbfcreate, dpmcreate). libfftw3 can help with dpmdetect performance.