falkTX
f272c0ef11
Remove old .kdev_include_paths files
Signed-off-by: falkTX <falktx@falktx.com>
1 year ago
falkTX
6dcb915106
Fix LTO when used together with DPF
Signed-off-by: falkTX <falktx@falktx.com>
1 year ago
falkTX
72131be48d
Correct jackbridge build flags
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
a31246bc49
LTO must not be used for building wine stuff (not just linking)
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
67e9684d51
Also prevent -flto from wine link flags
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
274d6fe3f5
Prevent -static-lib{gcc,stdc++} flags from going to winelib stuff
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
1ec2dbc537
Fix typo
2 years ago
falkTX
08f2eb33be
Fix build with new wine
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
753af115c3
Also block sem_timedwait usage
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
b23293efeb
Rework and cleanup makefiles, add WASM var
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
91cee1f997
Cleanup for CARLA_DECLARE_NON_COPYABLE macro use, minor jsfx things
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
f1d7b59020
Implement VERBOSE make flag
Signed-off-by: falkTX <falktx@falktx.com>
2 years ago
falkTX
dc6fdacf68
Add STATIC_PLUGIN_TARGET macro; Fix wrong memory reads on lv2 list
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
93cbcaf9cb
More USING_RTAUDIO setup, build jackbridge.min.a
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
Xeonacid
67e38d1247
Replace -lpthread with -pthread
According to Stack Overflow and GCC doc, -pthread is the correct way to use pthread.
This fix build error on riscv64.
3 years ago
falkTX
39c2cedfb6
Fix wine32 build on Fedora
Closes #1449
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
43c1131039
Use tick_double on jack transport
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
6fdc4d36fd
Add .kdev_include_paths files
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
f9f898ff06
Fix wine bridge build for certain systems
Signed-off-by: falkTX <falktx@falktx.com>
3 years ago
falkTX
3c56f26a5f
Fix wine32 build in Fedora
3 years ago
falkTX
d5ddff615c
Another wine build fix
4 years ago
falkTX
2f7fed7c0e
Add include paths used in wine-devel-dev package
4 years ago
falkTX
2de46eb824
Allow winehq-stable to build jackbridge
4 years ago
falkTX
929c869731
Use a custom flag so our CV ports appear as CV right away
JACK saves those flags as-is, which is great for us.
Fixes #1045
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
adb60204ea
Add jackbridge_uuid_unparse
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
ea18354705
Revert a few things regarding CarlaProcessUtils
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
9ad8789c3e
Final build fix
Signed-off-by: falkTX <falktx@falktx.com>
4 years ago
falkTX
7d1142b6cf
Use -fpermissive when building wine bridges
5 years ago
luz.paz
04b1890c3e
Fix source comment and user facing typos
Found via `codepell` (v1.17.0.dev0)
```
codespell -q 3 -L iff,iif,inport,sord,sinc,te,uint -S ./source/includes,./source/modules,./source/native-plugins,./data/windows
```
5 years ago
falkTX
3014fa703f
Add /usr/include/wine-development/windows to jackbridge includes
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
nickolas360
6f9faf6584
Fix segfault on PowerPC
The type of JackBridge::client_open_ptr is:
jack_client_t* (*)(const char*, jack_options_t, jack_status_t*)
client_open_ptr is set to the address of jack_client_open (loaded via
dlopen/dlsym), but the signature of jack_client_open is:
jack_client_t* jack_client_open(
const char*, jack_options_t, jack_status_t*, ...
)
jack_client_open is variadic, while client_open_ptr is not. PowerPC
segfaults when calling a variadic function through a non-variadic
pointer, as PowerPC reserves different amounts of stack space when
calling a variadic vs. non-variadic function. In this case,
jack_client_open assumes the caller allocated more space than it
actually did, so it overwrites parts of the caller's stack frame that
were not intended to be modified.
This commit changes the type of JackBridge::client_open_ptr to match
the signature of jack_client_open.
5 years ago
falkTX
16f6415921
Make JACKBRIDGE_DIRECT simpler to work with
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
46ef657d1c
Allow to build+link directly to libjack
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
b171cbca87
Add jackbridge_uuid_parse
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
35d59d1ed5
Add jackbridge_client_get_uuid
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
191939cd80
jackbridge: return success if jack_connect returns EEXIST
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
932b4c9746
Cleanup
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
cf4f1dd97a
Allow to build arm32 bridge, magically works with qemu/binfmt \o/
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
22fb410c97
Terminate wine bridges if main carla dies
Expose linux call over bridge, so we can set the flag
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
46dd075303
Terminate wine bridges if main carla dies
Expose linux call over bridge, so we can set the flag
Signed-off-by: falkTX <falktx@falktx.com>
5 years ago
falkTX
c6d5ece01b
Run strict build on code that uses juce; Strict build 32bit bridge
Signed-off-by: falkTX <falktx@gmail.com>
5 years ago
falkTX
5c5d87d0ae
Allow custom DGL build for wine, adjust code where needed
6 years ago
falkTX
8b9db39248
Fix local semaphore under macOS, optimize linux futexes
6 years ago
falkTX
ad5dd9758c
Adjust for latest wine not having wineg++
6 years ago
falkTX
309b588e5a
Add a custom include path for wine jackbridge, small cleanup
6 years ago
falkTX
7cf981fa7c
Prevent user from cross-compiling the wrong target
6 years ago
falkTX
8730a47ace
Fix build against latest debian wine packages
Fixes #581
6 years ago
falkTX
c02acfb24f
Fix broken win64 bridges after latest bsd/haiku changes
7 years ago
falkTX
792fac1041
Add old wine bridge code, commented out, in case we need to go back
7 years ago
falkTX
74b3137d83
More fixes for non-gnu systems
7 years ago