From 11ae4d7ef597b2d52f45e59ab56b342252d0bd88 Mon Sep 17 00:00:00 2001 From: asb2m10 Date: Thu, 4 Mar 2021 00:10:16 -0500 Subject: [PATCH] Normalize VST2 builds, introduce 0.9.6 --- README.md | 35 +++++++++-------------- Resources/Installers/MacOSX/Dexed.pkgproj | 6 ++-- Resources/Installers/Windows/dexed.iss | 2 +- azure-pipelines.yml | 2 +- scripts/projuce-lin-vst2.sh | 16 ----------- scripts/projuce-lin.sh | 4 --- scripts/projuce-mac.sh | 4 --- scripts/projuce.sh | 27 +++++++++++++++++ 8 files changed, 46 insertions(+), 50 deletions(-) delete mode 100755 scripts/projuce-lin-vst2.sh delete mode 100755 scripts/projuce-lin.sh delete mode 100755 scripts/projuce-mac.sh create mode 100755 scripts/projuce.sh diff --git a/README.md b/README.md index 00448077..e04d2691 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@ in the source folder) stays on the Apache 2.0 license to able to collaborate bet Changelog --------- +#### Version 0.9.6 +* Apple Silicon M1 builds +* Fix VST3 automation issues +* Fix to apply UI scaling only when applicable +* Fix hang notes on program changes + #### Version 0.9.5 * Added support for SCL/KBM microtuning * Added initial support for MPE performance @@ -124,7 +130,7 @@ which will expand the submodules. Then follow platform specific directions below ``` ./scripts/get-juce.sh -./scripts/projuce-mac.sh +./scripts/projuce.sh ./scripts/build-mac.sh ``` @@ -135,7 +141,7 @@ Run this in the bash shell that comes with the standard Git distribution. ``` ./scripts/get-juce.sh -./assets/JUCE/Projucer.exe --resave dexed.jucer +./scripts/projuce.sh ``` then open and build the resulting Visual Studio Solution file. @@ -144,30 +150,17 @@ then open and build the resulting Visual Studio Solution file. ``` ./scripts/get-juce.sh -./scripts/projuce-lin.sh +./scripts/projuce.sh ./scripts/build-lin.sh ``` -### Compilation errors - missing header files -If you get missing header compilation errors you can just look up the names of the missing header files on debian.packages.org, which will give you a list of packages that include that header. -You may have to install packages like: -``` -sudo apt install libx11-dev -sudo apt install libcurl4-gnutls-dev -sudo apt install libfreetype6-dev -sudo apt install libasound2-dev -sudo apt install libxinerama-dev -sudo apt install libjack-jackd2-dev -sudo apt install libxcursor-dev -``` + +If you get missing header compilation errors, be sure to check the [known Linux dependencies](https://github.com/asb2m10/dexed/wiki/Linux-builds-dependencies) based on your distribution. ### VST2 Support -Since Steinberg has discontinued the VST2 API we no longer distribute a VST2. +Since Steinberg has discontinued the VST2 API we no longer distribute a VST2. If you are a licensee to the VST2SDK, though, you can still build it. -If you are a licensee to the VST2SDK, though, you can build a VST2 version of DEXED yourself with these commands +The first thing is to be sure to initialise the path of the VST2 sdk before calling any script builds. ``` -./scripts/get-juce.sh export VST2SDK_DIR=~/path/to/vst2/sdk/dir -./scripts/projuce-lin-vst2.sh -./scripts/build-lin.sh -``` +``` \ No newline at end of file diff --git a/Resources/Installers/MacOSX/Dexed.pkgproj b/Resources/Installers/MacOSX/Dexed.pkgproj index 42ac8fe0..61a692f3 100644 --- a/Resources/Installers/MacOSX/Dexed.pkgproj +++ b/Resources/Installers/MacOSX/Dexed.pkgproj @@ -515,7 +515,7 @@ USE_HFS+_COMPRESSION VERSION - 0.9.5 + 0.9.6 TYPE 0 @@ -1004,7 +1004,7 @@ USE_HFS+_COMPRESSION VERSION - 0.9.5 + 0.9.6 TYPE 0 @@ -1493,7 +1493,7 @@ USE_HFS+_COMPRESSION VERSION - 0.9.5 + 0.9.6 TYPE 0 diff --git a/Resources/Installers/Windows/dexed.iss b/Resources/Installers/Windows/dexed.iss index 4ca238ff..9fd24c62 100644 --- a/Resources/Installers/Windows/dexed.iss +++ b/Resources/Installers/Windows/dexed.iss @@ -1,6 +1,6 @@ [Setup] AppName=Dexed -AppVersion=0.9.5 +AppVersion=0.9.6 DefaultDirName={commonpf64}\Dexed DefaultGroupName=Dexed Compression=lzma2 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 47881254..77092e19 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -25,7 +25,7 @@ jobs: git submodule update --init --recursive ./scripts/get-juce.sh osx - ./scripts/projuce-mac.sh + ./scripts/projuce.sh mkdir pipeline tar czf pipeline/juced.tgz Builds/ JuceLibraryCode/ diff --git a/scripts/projuce-lin-vst2.sh b/scripts/projuce-lin-vst2.sh deleted file mode 100755 index c1d40b24..00000000 --- a/scripts/projuce-lin-vst2.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -if [ -z $VST2SDK_DIR ]; then - echo "VST2SDK_DIR is not set. Please point it to a directory containing the VST2 SDK" - exit 1 -else - sed -e 's/,buildVST3/,buildVST,buildVST3/' Dexed.jucer | \ - sed -e "s@VST2SDK_DIR@${VST2SDK_DIR}@" | \ - sed -e 's/PLUGINHOST_VST="0"/PLUGINHOST_VST="1"/' | \ - sed -e 's/buildVST="0"/buildVST="1"/' > Dexed-vst2.jucer - mv Dexed.jucer Dexed-orig.jucer - mv Dexed-vst2.jucer Dexed.jucer - assets/JUCE/Projucer --resave Dexed.jucer - mv Dexed-orig.jucer Dexed.jucer -fi - diff --git a/scripts/projuce-lin.sh b/scripts/projuce-lin.sh deleted file mode 100755 index f878dbf7..00000000 --- a/scripts/projuce-lin.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -## TODO: Check assets exists -assets/JUCE/Projucer --resave Dexed.jucer diff --git a/scripts/projuce-mac.sh b/scripts/projuce-mac.sh deleted file mode 100755 index e8305bb1..00000000 --- a/scripts/projuce-mac.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -## TODO: Check assets exists -assets/JUCE/Projucer.app/Contents/MacOS/Projucer --resave Dexed.jucer diff --git a/scripts/projuce.sh b/scripts/projuce.sh new file mode 100755 index 00000000..1190d29b --- /dev/null +++ b/scripts/projuce.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +if [[ "$OSTYPE" == "darwin"* ]]; then + PROJUCER=assets/JUCE/Projucer.app/Contents/MacOS/Projucer +else + PROJUCER=assets/JUCE/Projucer +fi + +if ! [ -x $PROJUCER ]; then + echo "Projucer was not found, please check the asset directory and why the Projucer executable is not there." + exit 1 +fi + +if [ -z $VST2SDK_DIR ]; then + echo "Generating build for VST3" + $PROJUCER --resave Dexed.jucer +else + echo "Generating build for VST2" + sed -e 's/,buildVST3/,buildVST,buildVST3/' Dexed.jucer | \ + sed -e "s@VST2SDK_DIR@${VST2SDK_DIR}@" | \ + sed -e 's/PLUGINHOST_VST="0"/PLUGINHOST_VST="1"/' | \ + sed -e 's/buildVST="0"/buildVST="1"/' > Dexed-vst2.jucer + mv Dexed.jucer Dexed-orig.jucer + mv Dexed-vst2.jucer Dexed.jucer + $PROJUCER --resave Dexed.jucer + mv Dexed-orig.jucer Dexed.jucer +fi