Skip to content

Commit

Permalink
Normalize VST2 builds, introduce 0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
asb2m10 committed Mar 4, 2021
1 parent 5e40af3 commit 11ae4d7
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 50 deletions.
35 changes: 14 additions & 21 deletions README.md
Expand Up @@ -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
Expand Down Expand Up @@ -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
```

Expand All @@ -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.
Expand All @@ -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
```
```
6 changes: 3 additions & 3 deletions Resources/Installers/MacOSX/Dexed.pkgproj
Expand Up @@ -515,7 +515,7 @@
<key>USE_HFS+_COMPRESSION</key>
<false/>
<key>VERSION</key>
<string>0.9.5</string>
<string>0.9.6</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down Expand Up @@ -1004,7 +1004,7 @@
<key>USE_HFS+_COMPRESSION</key>
<false/>
<key>VERSION</key>
<string>0.9.5</string>
<string>0.9.6</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down Expand Up @@ -1493,7 +1493,7 @@
<key>USE_HFS+_COMPRESSION</key>
<false/>
<key>VERSION</key>
<string>0.9.5</string>
<string>0.9.6</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Expand Up @@ -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/
Expand Down
16 changes: 0 additions & 16 deletions scripts/projuce-lin-vst2.sh

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/projuce-lin.sh

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/projuce-mac.sh

This file was deleted.

27 changes: 27 additions & 0 deletions 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

0 comments on commit 11ae4d7

Please sign in to comment.