Browse Source

Add zstd dependency for Linux on Building page.

master
Andrew Belt 3 years ago
parent
commit
69cf2cf4e1
3 changed files with 4 additions and 10 deletions
  1. +2
    -2
      Building.md
  2. +0
    -6
      Migrate2.md
  3. +2
    -2
      Presets.md

+ 2
- 2
Building.md View File

@@ -31,12 +31,12 @@ brew install git wget cmake autoconf automake libtool jq python


On Ubuntu 16.04+: On Ubuntu 16.04+:
```bash ```bash
sudo apt install unzip git gdb curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libjack-jackd2-dev jq
sudo apt install unzip git gdb curl cmake libx11-dev libglu1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev zlib1g-dev libasound2-dev libgtk2.0-dev libjack-jackd2-dev jq zstd
``` ```


On Arch Linux: On Arch Linux:
```bash ```bash
pacman -S git wget gcc gdb make cmake tar unzip zip curl jq python
pacman -S git wget gcc gdb make cmake tar unzip zip curl jq python zstd
``` ```


## Building Rack ## Building Rack


+ 0
- 6
Migrate2.md View File

@@ -73,12 +73,6 @@ void onRandomize(const RandomizeEvent& e) override {
``` ```




### 1.4) `Window::loadSvg()` has been deprecated and moved to `Svg::load()`
Search and replace:
```bash
perl -p -i -e 's/APP->window->loadSvg\b/Svg::load/g' src/*.{cpp,hpp}
```

If your plugin still has build errors, open a thread in the [VCV development forum](https://community.vcvrack.com/c/development/8) or contact [VCV support](https://vcvrack.com/support) to describe your build error. If your plugin still has build errors, open a thread in the [VCV development forum](https://community.vcvrack.com/c/development/8) or contact [VCV support](https://vcvrack.com/support) to describe your build error.






+ 2
- 2
Presets.md View File

@@ -4,11 +4,13 @@


Factory module presets are a great tool for teaching and inspiring users of your Rack plugin. Factory module presets are a great tool for teaching and inspiring users of your Rack plugin.
They store parameter values, as well as internal data from your `Module::dataToJson()` method if overridden. They store parameter values, as well as internal data from your `Module::dataToJson()` method if overridden.
Since presets are simply JSON files, they cannot store module patch storage files (introduced in Rack 2).


To include a factory module preset in your module, save a module preset file (`.vcvm`) to To include a factory module preset in your module, save a module preset file (`.vcvm`) to
```txt ```txt
<your plugin's root dir>/presets/<module slug>/<preset name>.vcvm <your plugin's root dir>/presets/<module slug>/<preset name>.vcvm
``` ```
Rack reloads presets when the user opens the preset context menu, so you do not need to restart Rack.


Module presets are sorted alphabetically by filename. Module presets are sorted alphabetically by filename.
However, (since Rack 2) if a filename begins with numerical digits followed by `_` (regex `/^\d+_/`), that prefix is not displayed to the user, so you can apply your own custom preset sorting order. However, (since Rack 2) if a filename begins with numerical digits followed by `_` (regex `/^\d+_/`), that prefix is not displayed to the user, so you can apply your own custom preset sorting order.
@@ -36,5 +38,3 @@ For example, to change parameters #0 and #2 but leave #1 unchanged, remove the `
} }
] ]
``` ```

Module presets cannot store module patch storage files (introduced in Rack 2).

Loading…
Cancel
Save