Skip to content

Commit

Permalink
Adds static binaries for MacOSX
Browse files Browse the repository at this point in the history
Also
- Shifts all app.config settings to a central config file
- Modified app.config to read from shared settings file
- adjusts .gitattributes to better handle binaries in lib
- [BREAKING] AbstractAudioUtility now throws if exit code is not 0
- [BREAKING] mp3splt is now an optional dependency
  • Loading branch information
atruskie committed Jun 20, 2018
1 parent fe4076b commit 28edc79
Show file tree
Hide file tree
Showing 134 changed files with 2,979 additions and 242 deletions.
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ docs/**/*.jpg filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text

# all binaries in lib should be tracked by git-lfs
lib/**/*.exe filter=lfs diff=lfs merge=lfs -text
lib/**/*.dll filter=lfs diff=lfs merge=lfs -text
lib/**/*.exe filter=lfs diff=lfs merge=lfs -text
lib/**/*.dll filter=lfs diff=lfs merge=lfs -text
lib/audio-utils/macosx/**/* filter=lfs diff=lfs merge=lfs -text

# assets in tests/Fixtures should generally be in lfs
tests/Fixtures/**/*.zip filter=lfs diff=lfs merge=lfs -text
Expand Down
1 change: 1 addition & 0 deletions AudioAnalysis.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A050BD53-DEE0-40F3-BEAB-1F7474533C40}"
ProjectSection(SolutionItems) = preProject
src\AP.CopyFiles.targets = src\AP.CopyFiles.targets
src\AP.Settings.config = src\AP.Settings.config
src\AP.VersionBuild.targets = src\AP.VersionBuild.targets
src\AssemblyMetadata.cs.template = src\AssemblyMetadata.cs.template
README.md = README.md
Expand Down
12 changes: 9 additions & 3 deletions docs/installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ running:
AnalysisPrograms.exe CheckEnvironment
```

## Unix && MacOSX
## MacOSX

The following additional dependencies are required for MaxOSX machines:

- mono (version 5.5 or greater)

## Unix

The following additional dependencies are required for Unix machines:

Expand All @@ -48,5 +54,5 @@ The following additional dependencies are required for Unix machines:

## Coming soon: Docker

We're working on a `Dockerfile` that will greatly simplify installation.
Let us know if you're keen for it.
We have a `Dockerfile` that theoretically works (BETA warning). See the
`build` directory to find it.
6 changes: 4 additions & 2 deletions docs/supported_platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ $ mono AnalysisPrograms.exe list

### MacOSX

Should the same as the Unix requirements, however, we have never run or tested
the code on MacOS systems.
We support Mac OS X 10.9 and later.

Should the same as the Unix requirements, however, we have limited exeprience
running on MacOSX systems.

We'd like to hear from you if you do try!
15 changes: 15 additions & 0 deletions lib/audio-utils/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
The binaries you download here should work on as many systems as possible.

We can utilise so called static builds.

When adding a new binary check that our supported platforms documentation matches
what the binary is capable of running on.

# FFMPEG notes

Download from here:
https://ffmpeg.zeranoe.com/builds/

Choose a stable version, 64-bit builds only, and choose "Shared" linking.
The shared linking option saves on space, otherwise all resources are embedded into all
executables.
101 changes: 0 additions & 101 deletions lib/audio-utils/ffmpeg/README.txt

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/avcodec-57.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/avdevice-57.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/avfilter-6.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/avformat-57.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/avutil-55.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/ffmpeg.exe

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/ffplay.exe

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/ffprobe.exe

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/postproc-54.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/swresample-2.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/ffmpeg/swscale-4.dll

This file was deleted.

3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/README.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/LICENSE.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/README.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/ffmpeg
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/ffplay
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/ffprobe
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libavcodec.58.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libavdevice.58.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libavfilter.7.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libavformat.58.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libavutil.56.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libpostproc.55.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libswresample.3.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/ffmpeg/libswscale.5.dylib
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/ChangeLog
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/LICENSE.GPL.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/README
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/README.osx.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/libsox.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/play
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/rec
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/sox
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/sox.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/soxformat.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/soxi
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/sox/soxi.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/wavpack/changelog.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/wavpack/license.txt
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/wavpack/wavpack
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/wavpack/wavpack_doc.html
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/wavpack/wvgain
Git LFS file not shown
3 changes: 3 additions & 0 deletions lib/audio-utils/macosx/wavpack/wvunpack
Git LFS file not shown
3 changes: 0 additions & 3 deletions lib/audio-utils/mp3splt/libmp3splt-0.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/mp3splt/libsplt_flac-0.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/mp3splt/libsplt_mp3-0.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/mp3splt/libsplt_ogg-0.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/mp3splt/mp3splt.exe

This file was deleted.

Binary file removed lib/audio-utils/mp3splt/mp3splt.ico
Binary file not shown.
3 changes: 0 additions & 3 deletions lib/audio-utils/sox/libgomp-1.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/sox/sox.exe

This file was deleted.

3 changes: 0 additions & 3 deletions lib/audio-utils/sox/zlib1.dll

This file was deleted.

5 changes: 5 additions & 0 deletions lib/audio-utils/windows/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Don't include the `presets` or `docs` folder for ffmpeg

Don't include the `wget` or docs for SoX
SoX no longer includes an mp3 encoder by default. Make sure to include copies
of the MAD (libmad and libmad-0) libraries.
File renamed without changes.
Loading

0 comments on commit 28edc79

Please sign in to comment.