add privacy notice

This commit is contained in:
Alex Birch 2019-06-23 00:22:05 +01:00
parent e789ff6869
commit cbfae52348
No known key found for this signature in database
GPG Key ID: 305EB1F98D44ACBA
4 changed files with 23 additions and 7 deletions

View File

@ -6,6 +6,15 @@
MYDIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P) MYDIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
set -o pipefail set -o pipefail
VERSION="$1"
if [ -z ${1+x} ]; then
>&2 echo 'specify version number using (for example) ./archive-for-distribution.sh 2.0.0'
exit 1
else
VERSION="$1"
fi
error() { error() {
local parent_lineno="$1" local parent_lineno="$1"
local message="$2" local message="$2"
@ -24,7 +33,8 @@ trap 'error ${LINENO}' ERR
declare -a BUILDS=("Debug" "Release") declare -a BUILDS=("Debug" "Release")
for BUILD in "${BUILDS[@]}" for BUILD in "${BUILDS[@]}"
do do
BUILDDIR="$MYDIR/build/$BUILD" BUILDROOT="$MYDIR/build"
BUILDDIR="$BUILDROOT/$BUILD"
if [ -d "$BUILDDIR" ]; then if [ -d "$BUILDDIR" ]; then
echo "Found build $BUILD" echo "Found build $BUILD"
if [[ -d "$BUILDDIR/juicysfplugin.app" \ if [[ -d "$BUILDDIR/juicysfplugin.app" \
@ -34,10 +44,8 @@ do
echo "Found in $BUILD all targets: .app, .component, .vst, .vst3" echo "Found in $BUILD all targets: .app, .component, .vst, .vst3"
echo "Archiving $BUILD targets to build/$BUILD.tar.xz:" echo "Archiving $BUILD targets to build/$BUILD.tar.xz:"
ls "$BUILDDIR" ls "$BUILDDIR"
\cp -rf "$MYDIR/how to install.txt" "$BUILDDIR/how to install.txt" \cp -rf "$MYDIR/"{"how to install.txt",licenses_of_dependencies,../../{LICENSE,PRIVACY}.txt} "$BUILDDIR/"
\cp -rf "$MYDIR/../../LICENSE.txt" "$BUILDDIR/LICENSE.txt" tar -hczf "$BUILDROOT/juicysfplugin.$VERSION.$BUILD.tar.xz" --exclude="libjuicysfplugin.a" -C "$MYDIR/build/$BUILD" .
\cp -rf "$MYDIR/licenses_of_dependencies" "$BUILDDIR/."
tar -hczf "$BUILDDIR.tar.xz" --exclude="libjuicysfplugin.a" -C "$MYDIR/build/$BUILD" .
else else
echo "Did not find in $BUILD all targets: .app, .component, .vst, .vst3; skipping." echo "Did not find in $BUILD all targets: .app, .component, .vst, .vst3; skipping."
fi fi

View File

@ -33,7 +33,7 @@
</AdditionalOptions> </AdditionalOptions>
</TestAction> </TestAction>
<LaunchAction <LaunchAction
buildConfiguration = "Debug" buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0" launchStyle = "0"

8
PRIVACY.txt Normal file
View File

@ -0,0 +1,8 @@
This synthesizer is built upon an application framework, JUCE, which is made by ROLI, LTD.
The free tier of JUCE (which this software uses) comes with a condition:
ROLI, LTD may track the IP addresses associated with your use of juicysfplugin solely for their internal purposes in providing JUCE.
https://github.com/WeAreROLI/JUCE/blob/master/LICENSE.md
https://juce.com/juce-5-privacy-policy

View File

@ -43,7 +43,7 @@ void FluidSynthModel::initialise() {
settings = new_fluid_settings(); settings = new_fluid_settings();
// https://sourceforge.net/p/fluidsynth/wiki/FluidSettings/ // https://sourceforge.net/p/fluidsynth/wiki/FluidSettings/
fluid_settings_setint(settings, "synth.verbose", 1); // fluid_settings_setint(settings, "synth.verbose", 1);
synth = new_fluid_synth(settings); synth = new_fluid_synth(settings);
fluid_synth_set_sample_rate(synth, currentSampleRate); fluid_synth_set_sample_rate(synth, currentSampleRate);