<commit_before>assumed dependency(-ies):
- Qt (LGPL v2.1 or GPL v3)

dependencies in 'Shoulders' (of giants) subdir:

- PortAudio (MIT, GPL compatible), daily snapshot (see directory name)
(statically linked, does this break any licensing terms?)

- FFmpeg (GPL/LGPL both v2 and v3), the FFmpeg team's git repository
configuration:
./configure \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-network

(without licensing switches it is LGPL v2)

* * *

When building on Windows, had to add c:\MinGW\msys\1.0\bin to the end of PATH and only then build it (need sed, diff, mv etc). After having changed PATH had to rerun qmake.

portaudio:
PATH=/bin:/c/QtSDK/mingw/bin ./configure --disable-shared --enable-static
# again, chmod complains, but we don't care
make

ffmpeg:

# without resctricting the PATH it was picking up some cygwin executable and failed to configure
# there is no yasm in (my) msys, disable it as well
PATH=/bin:/c/QtSDK/mingw/bin ./configure \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-network \
--disable-pthreads \
--disable-yasm

make

hypothesis: when built with plain mingw (not from the QtSDK, ffmpeg seems to break WTStool.<commit_msg>more build instructions<commit_after>assumed dependency(-ies):
- Qt (LGPL v2.1 or GPL v3)

dependencies in 'Shoulders' (of giants) subdir:

- PortAudio (MIT, GPL compatible), daily snapshot (see directory name)
(statically linked, does this break any licensing terms?)

- FFmpeg (GPL/LGPL both v2 and v3), the FFmpeg team's git repository
configuration:
./configure \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-network

(without licensing switches it is LGPL v2)

* * *

When building on Windows, had to add c:\MinGW\msys\1.0\bin to the end of PATH and only then build it (need sed, diff, mv etc). After having changed PATH had to rerun qmake.


directx sdk compatible with mingw comes from
http://trent.gamblin.ca/dx/dx9mgw.zip

portaudio:
# WINVER=0x0501 makes sure we can use XP features -- necessary to build directsound backend
CFLAGS='-DWINVER=0x0501' PATH=/bin:/mingw/bin ./configure --disable-shared --enable-static --with-winapi=wmme,directx --with-dxdir=../dx9mgw
# again, chmod complains, but we don'``t care
make

ffmpeg:

# without resctricting the PATH it was picking up some cygwin executable and failed to configure
# there is no yasm in (my) msys, disable it as well
PATH=/bin:/mingw/bin ./configure \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-avfilter \
--disable-network \
--disable-pthreads \
--disable-yasm

make

{'fraction_non_alphanumeric': 0.12222991689750692, 'fraction_numerical': 0.009695290858725761, 'mean_word_length': 3.542452830188679, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6353468', 'n_tokens_mistral': 997, 'n_tokens_neox': 937, 'n_words': 326}