Commit Graph

104 Commits

Author SHA1 Message Date
Robbert van der Helm 9b1f3a5f4c Remove non-existent VST2 entry point
Since there isn't any public documentation on VST2, I saw JUCE and a
couple of other plugins and bridges use this, but they all redefined the
symbol to`main`.
2021-06-29 12:11:05 +02:00
Robbert van der Helm 5133f07c2c [yabridgectl] Fix setup checks with 32-bit prefix
This will now run `yabridge-host-32.exe` if `~/.wine` was created with
`WINEARCH=win32`.
2021-06-25 02:13:16 +02:00
Robbert van der Helm c770e561d3 [yabridgectl] Use the correct VST3 arch name 2021-06-24 16:09:56 +02:00
Robbert van der Helm 5ea04c402e [yabridgectl] Clean up VST3 bundles
We would completely remove VST3 bundles that yabridgectl does not know
about anymore, but we would not remove leftover files within bundles.
This could otherwise cause issues when messing with 32-bit and 64-bit
versions of plugins or yabridge itself.
2021-06-24 16:04:04 +02:00
Robbert van der Helm 0b8221b136 [yabridgectl] Add support for 32-bit yabridge VST3
Bundles containing a 32-bit version of `libyabridge-vst3.so` should use
the `x86-linux` directory instead of the `x86_64-linux` directory.
2021-06-24 15:48:43 +02:00
Robbert van der Helm b521debbb7 [yabridgectl] Determine libyabridge-vst3.so arch
We're going to need this for supporting merged VST3 bundles with a
32-bit libyabridge-vst3.so.
2021-06-24 15:23:41 +02:00
Robbert van der Helm 3e0a2dc913 [yabridgectl] Change the library architecture enum
We're going to need this for native libraries as well.
2021-06-24 14:19:06 +02:00
Robbert van der Helm 3ad70678da [yabridgectl] Fix typo in error message 2021-06-23 01:42:02 +02:00
Robbert van der Helm eb9c2d9bf9 [yabridgectl] Don't panic on empty wine --version
And print a more descriptive error message instead. This is only
relevant when using a `WINELOADER` that causes `$WINELOADER --version`
to not output anything.
2021-06-16 13:09:20 +02:00
Robbert van der Helm 9ae0e8ca38 [yabridgectl] Use reflinks instead of copies
Whenever available. This should speed up the copying process while also
reducing the amount of disk space wasted on Btrfs and XFS filesystems.
2021-06-12 11:40:24 +02:00
Robbert van der Helm 511aa14700 [yabridgectl] Fix reporting of new VST3 plugins
When yabridgectl sets up both a VST3 bundle containing both a 32-bit and
a 64-bit plugin. The libyabridge.so file already existed, so the
reported number was always off.
2021-05-31 17:05:34 +02:00
Robbert van der Helm 171d8facee [yabridgectl] Improve the Wine check warning
This can also fail if you're using a version of yabridge that was
compiled against more recent libraries.
2021-05-15 23:03:23 +02:00
Robbert van der Helm 52cbc35867 [yabridgectl] Downgrade textwrap again
Partially reverts f02b9e646b. Newer
versions don't take the indentation into account when wrapping.
2021-05-15 22:47:06 +02:00
Robbert van der Helm b04c0b2c65 Update links to the VST3 documentation
Those were broken after Steinberg restructured the docs with the VST
3.7.2 SDK release.
2021-04-18 14:24:03 +02:00
Robbert van der Helm 6765abb6e5 [yabridgectl] Add a way to clear entire blacklist 2021-04-14 19:25:07 +02:00
Robbert van der Helm 7ff4bb1585 [yabridgectl] Add commands for managing blacklist
Relevant for #88.
2021-04-14 19:23:04 +02:00
Robbert van der Helm 4c1f7574c9 [yabridgectl] Mark yabridgectl set as advanced
You shouldn't need this in normal usage.
2021-04-14 18:40:22 +02:00
Robbert van der Helm ef23522cd6 [yabridgectl] Change the display order
I forgot they're sorted lexicographically by default, instead of being
in declaration order.
2021-04-14 18:39:24 +02:00
Robbert van der Helm f02b9e646b [yabridgeclt] Upgrade dependencies 2021-04-14 18:35:52 +02:00
Robbert van der Helm 1d66481aad [yabridgectl] Add a blacklist #88
This lets you skip single plugins and entire directories during the
indexing process.
2021-04-14 17:51:43 +02:00
Robbert van der Helm 36d93d05ca [yabridgectl] Fix spelling in help text 2021-03-25 20:38:02 +01:00
Robbert van der Helm adebb63e18 [yabridgectl] Show VST2 architecture in status 2021-02-26 15:58:33 +01:00
Robbert van der Helm d11302d6b5 [yabridgectl] Unify plugin handling
VST2 and VST3 plugins are now handled in the same way, reducing a bit of
duplication. We now also store the architecture for VST2 plugins so we
can show that in `yabridgectl status` later.
2021-02-26 15:56:20 +01:00
Robbert van der Helm ebd6c95ceb [yabridgectl] Show VST3 module type and arch
In `yabridgectl status`.
2021-02-26 15:11:11 +01:00
Robbert van der Helm e6ec8819cb [yabridgectl] Use relative paths in verbose output
This should make the output look much less cluttered since most of the
output would consist of the same path prefix being repeated over and
over again.

The plugin location now also always ends with a trailing slash for
consistency's sake. I don't think Rust's Path has a way to normalize the
paths without also resolving symlinks.
2021-02-26 14:35:47 +01:00
Robbert van der Helm 9483c11ee0 [yabridgectl] Reword not yet installed status
The red `not installed` was causing some confusion.
2021-02-26 14:11:46 +01:00
Robbert van der Helm c1b23b90a2 [yabridgectl] Expand libyabridge* auto detection
There are no yabridge packages for Debian and Fedora based distros, but
we'll now also search through the paths used there.
2021-02-06 21:09:30 +01:00
Robbert van der Helm 4b461e44a1 [yabridgectl] Add a todo about orphans in subdirs 2021-01-04 13:49:06 +01:00
Robbert van der Helm 439c22c767 [yabridgectl] Consider subdirectories for orphans 2021-01-03 22:43:57 +01:00
Robbert van der Helm baf709d82e [yabridgectl] Include the original subdirectory 2021-01-03 22:42:50 +01:00
Robbert van der Helm 86a53a884d [yabridgectl] Find a plugin's subdirectory 2021-01-03 22:42:50 +01:00
Robbert van der Helm cd4752116a [yabridgectl] Split up Vst3Module
So we can add easily add additional fields later.
2021-01-03 21:40:36 +01:00
Robbert van der Helm c206d68b12 [yabridgectl] Allow permanently disabling checks 2021-01-02 14:32:54 +01:00
Robbert van der Helm ef540f354c [yabridgectl] Add an option to undo setting --path 2021-01-02 14:09:59 +01:00
Robbert van der Helm 34f8d3b1d2 Update the copyright notices for 2021 2021-01-01 18:54:02 +01:00
Robbert van der Helm 5773c471f9 [yabridgectl] Don't purge VST3 yabridge.toml
We only want to consider directories here.
2020-12-27 18:25:13 +01:00
Robbert van der Helm 4f8bfbcda6 [yabridgectl] Fix clippy lints 2020-12-24 13:12:19 +01:00
Robbert van der Helm 9ac437f02b [yabridgectl] Fix VST3 installation status display 2020-12-24 13:04:39 +01:00
Robbert van der Helm d79ccc75e6 [yabridgectl] Symlink VST 3.6.10 bundle resources
Although I haven't run into any of these 'new' bundles yet. Everything's
still in the legacy format.
2020-12-24 12:47:45 +01:00
Robbert van der Helm a0098034ed [yabridgectl] Rename the Vst3Module functions
Creating a clear naming scheme here is more difficult than it should be.
2020-12-24 12:38:47 +01:00
Robbert van der Helm a3e76b3370 [yabridgectl] Warn for duplicate VST3 plugins
Since we can't have multiple plugins with the same name this way.
2020-12-24 12:31:04 +01:00
Robbert van der Helm 9d33cafd37 [yabridgectl] Allow removing orphan VST3 modules 2020-12-24 12:12:48 +01:00
Robbert van der Helm 68c95e9527 [yabridgectl] Allow skipping hash checks 2020-12-24 11:54:45 +01:00
Robbert van der Helm 55957ca798 [yabridgectl] Allow setting up VST3 plugins
This is still missing checks for removing leftover files, symlinks for
resources and presets, and a way to differentiate between plugins with
the same name from different prefixes.
2020-12-24 00:04:05 +01:00
Robbert van der Helm bc9801c932 [yabridgectl] Add VST3 modules to the status 2020-12-23 21:55:14 +01:00
Robbert van der Helm 5e476a2f9b [yabridgectl] Add utilities for VST3 paths 2020-12-23 21:40:11 +01:00
Robbert van der Helm 8cb1518023 [yabridgectl] Index and categorize VST3 modules 2020-12-23 21:08:24 +01:00
Robbert van der Helm 3d27426b9d [yabridgectl] Index .vst3 files
It doesn't actually identify VST3 modules yet though.
2020-12-23 18:39:22 +01:00
Robbert van der Helm 3dc1b1585b [yabridgectl] Add field for indexing VST3 modules 2020-12-23 17:41:16 +01:00
Robbert van der Helm a7d284469a [yabridgectl] Locate libyabridge-vst3.so
And unify how finding files in yabridgectl works.
2020-12-23 17:12:28 +01:00