Commit Graph

48 Commits

Author SHA1 Message Date
Robbert van der Helm 1e66654c2e Update copyright headers for 2023
Happy new year!
2023-01-01 18:51:35 +01:00
Robbert van der Helm 01b46fb60a [yabridgectl] Support $CLAP_PATH 2022-09-23 20:34:25 +02:00
Robbert van der Helm 7810c9d631 [yabridgectl] Add support for CLAP plugins
CLAP support in yabridge itself has barely started at this point, but
having yabridgectl up and running in advance seems useful.
2022-09-11 19:18:03 +02:00
Robbert van der Helm 98bb4a019b Add CLAP whenever mentioning yabridge libs 2022-09-11 19:18:03 +02:00
Robbert van der Helm 2a26014465 [yabridgectl] Let rustfmt handle string wrapping 2022-07-03 17:10:07 +02:00
Robbert van der Helm 6818b4fd09 [yabridgectl] Rename utils module to util 2022-05-23 12:57:40 +02:00
Robbert van der Helm 1f35081bad [yabridgectl] Parse without winedump when possible
This avoids an external dependency and speeds up the indexing process.
So far I found a single plugin that could not be parsed this way, so the
winedump based method is still there as a backup.
2022-05-23 12:57:05 +02:00
Robbert van der Helm 3970bc7f52 [yabridgectl] Set up in ~/.vst/yabridge by default
Instead of creating `.so` files next to the VST2 plugin's `.dll` files.
This behavior is still available as an option. #123
2022-04-17 20:27:47 +02:00
Robbert van der Helm 797bc07753 [yabridgectl] Add option for VST2 install location 2022-04-17 18:50:56 +02:00
Robbert van der Helm f62d06e085 [yabridgectl] Remove symlink installation method 2022-04-16 21:00:56 +02:00
Robbert van der Helm d2a21b28a8 [yabridgectl] Show VST2 library architecture
Just like it already did for the VST3 library. This information was not
necessary for the functionality of yabridgectl, but it does look nicer
this way.
2022-04-16 20:37:11 +02:00
Robbert van der Helm 585329541c [yabridgectl] Update to use chainloader libraries 2022-04-16 20:37:11 +02:00
Robbert van der Helm 1fec4c8860 Change the description in the GPL header 2022-04-16 20:37:10 +02:00
Robbert van der Helm f5af027847 Print a deprecation warning on sync for symlinks 2022-01-02 20:23:37 +01:00
Robbert van der Helm e0ab24e645 Update copyright headers
Happy new year!
2022-01-01 18:32:10 +01:00
Robbert van der Helm 784593df5c [yabridgectl] Remove explicit fallback
This was already handled by appending this to the `$PATH`.
2021-07-14 15:10:03 +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 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 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 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 c206d68b12 [yabridgectl] Allow permanently disabling checks 2021-01-02 14:32:54 +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 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 5e476a2f9b [yabridgectl] Add utilities for VST3 paths 2020-12-23 21:40:11 +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
Robbert van der Helm 9d40e04a62 Update all references to libyabridge.so 2020-12-07 18:28:16 +01:00
Robbert van der Helm a428d08eff Update yabridgectl for libyabridge-vst2.so 2020-12-07 18:28:16 +01:00
Robbert van der Helm c69037b649 Always search for host in ~/.local/share/yabridge 2020-11-20 14:24:42 +01:00
Robbert van der Helm f67e1923cc Also search through /usr/local/lib in yabridgectl
For automatic path detection. It's still not recommended to install
yabridge there, but if you know what you're doing then this would at
least be a good default to have.
2020-09-27 13:33:53 +02:00
Robbert van der Helm f02dbb3755 Fix TOML parsing with large unsigned integers
The parser parses everything as signed integers so the configuration
file will fail to parse large numbers that don't fit in an i64.

https://github.com/alexcrichton/toml-rs/issues/256
2020-07-27 16:25:36 +02:00
Robbert van der Helm 6bba1a9bf8 Check for Wine and yabridge compatibility on sync
This will probably solve the last common setup issue. Starting Wine can
take a second so this check is only repeated when either Wine or
yabridge get updated.
2020-07-19 16:57:18 +02:00
Robbert van der Helm a8e914a71a Add a last known config field to the configuration
For verifying that a combination of Wine and yabridge is going to work
together properly.
2020-07-19 14:39:07 +02:00
Robbert van der Helm 8698a8fd0b Update messages in yabridgectl 2020-07-16 19:07:34 +02:00
Robbert van der Helm 836aefcfbb Verify that the PATH has been set up correctly
When creating copies with yabridgectl. This should at least give an
advance warning that some additional steps are required when first
setting up yabridge.
2020-07-16 16:56:27 +02:00
Robbert van der Helm 2ec53c78d9 Add a descriptive error when winedump is missing 2020-07-16 15:04:07 +02:00
Robbert van der Helm 1ee2fe4746 Use anyhow for formatting and handling errors
This works better than doing it manually, and it significantly reduces
the amount of boilerplate needed.
2020-07-16 14:43:00 +02:00
Robbert van der Helm f48b5e66ca Move all subcommand handlers to a module
To unclutter in main.rs a bit.
2020-07-16 13:43:50 +02:00
Robbert van der Helm ac5c6bab67 Show the installation method used 2020-07-15 16:10:52 +02:00
Robbert van der Helm 53ebfcd463 Implement yabridgectl sync 2020-07-14 22:26:23 +02:00
Robbert van der Helm 26f26fc21c Implement the status command 2020-07-14 18:35:54 +02:00
Robbert van der Helm b8eb031c77 Store paths in a BTreeSet
To avoid duplicates and to ensure that the order is stable.
2020-07-14 17:16:30 +02:00
Robbert van der Helm 3a7fd089b6 Add subcommands for managing directories 2020-07-14 16:46:49 +02:00
Robbert van der Helm f288bbb980 Fix yabridgectl config file loading 2020-07-14 16:36:56 +02:00
Robbert van der Helm 5f2cb434bc Fix searching for libyabridge.so in ~/.local/share 2020-07-13 16:23:49 +02:00
Robbert van der Helm 21d48c3022 Implement reading and writing of config files 2020-07-13 14:31:45 +02:00
Robbert van der Helm 4537b6a5b0 Add the configuration struct for yabridgectl 2020-07-13 13:26:09 +02:00