FreeST library, allows a program to integrate win32 VST plugins. Depends on the VST SDK 2.0
Created attachment 37973 [details] v1, media-libs/fst/fst-1.6.ebuild
Created attachment 37974 [details, diff] v1, media-libs/fst/files/fst-1.6-wineliblocfix.patch hack to work around some silly build system quirks
i did some things incorrect here, by specifying ${D} in the ./configure command. fixing... be patient.
Created attachment 37975 [details] v2, media-libs/fst/fst-1.6.ebuild a little bit better
Created attachment 37978 [details] v1, media-libs/fst/fst-1.6-r1.ebuild obsoletes fst-1.6.ebuild, uses VST SDK 2.3
headers installed to /usr/include/vst broken with VST SDK 2.3
Created attachment 37980 [details, diff] VST SDK patch hopefully makes a couple files a little closer to being actual C code. Mainly in dealing with the VstFileType struct.
thanks mark. will look into it after this ebuild tested and committed
Created attachment 37981 [details, diff] v1, vsthcompilerhack_fix patch /usr/include/vst/aeffectsx.h:918 has some really stupid compilerhack code, using a function inside a like-named struct as an "initializer" ugly broken code if i ever saw it. the patch adds a C-style "/* */" comment set to just comment out the broken section. i doubt we will need to use that code, and if we do Mark submitted a patch that fixes it. For now, the patch to just get rid of it is fine with me.
Created attachment 37982 [details] v2, media-libs/fst/fst-1.6-r1.ebuild uses compilerhack_fix patch. looks stable. needs other people to test and confirm, but it looks good to me and jack_fst compiles with it.
Created attachment 37994 [details] v2, media-libs/fst/files/fst-1.6-wineliblocfix.patch add some lib search paths to the linking process, gentoo puts wine stuff in a funky place.
Comment on attachment 37994 [details] v2, media-libs/fst/files/fst-1.6-wineliblocfix.patch i'm an idiot.
Comment on attachment 37974 [details, diff] v1, media-libs/fst/files/fst-1.6-wineliblocfix.patch i'm an idiot
Comment on attachment 37981 [details, diff] v1, vsthcompilerhack_fix patch fix /usr/include/vst/aeffectsx.h brokeness
i don't know how to fix this, other than to add "/usr/lib/wine/lib" to the /etc/ld.so.conf and run ldconfig. Help?
hi... i am very happy you already wrote an ebuild. i think we should move the patching of the vst headers to the vst-headers ebuild. perhaps we could also bundle some ebuilds for working vst plugins. what glibc are you using, and are you using nptl ? this stuff gave me many headaches while developing fst. i am currently experimenting with glibc versions. what does this autoconf stuff fix ? i did not test the 1.5-1.6 releases, which paul made. we should also try to get a global fst useflag, because we have 2 programs in portage, which already support fst.
gee, didn't know anybody else cared. thanks for the feedback, will check tomorrow when i have some energy. haven't touched this for a while though... i was trying to get the juno6 VST plugin to work. those crazy guys forked the junomaster6 code but decided to only write for win32 VST, and it doesn't quite work on WINE. [/rambling]
Awesome! I didn't know anybody was working on this. I am going to start testing this out.
marking a depend on winelib LDPATH issue bug #9842
This compiles and installs fine for me.
i am getting this error now when i "emerge fst": i686-pc-linux-gnu-gcc -shared -Wl,-Bsymbolic -o libfst.so pthread.o interlocked.o gettid.o libwinelib.o vstwin.o fstinfofile.o fst.o libfst.spec.o -L/usr/lib/wine/lib -ldl -lpthread -lwine -lwine_unicode -lm i686-pc-linux-gnu-gcc -o fstconfig fstconfig.o -L. -lfst -L/usr/lib/wine/lib -lwine -lwine_unicode ./libfst.so: undefined reference to `NtCurrentTeb' collect2: ld returned 1 exit status make[1]: *** [fstconfig] Error 1 make[1]: Leaving directory `/var/tmp/portage/fst-1.6-r1/work/fst-1.6/fst' make: *** [fst] Error 2
okay 'NtCurrentTeb' i don't know what that one is about. any clues?
i did a quick google. i found this: http://www.winehq.com/hypermail/wine-devel/2003/10/0241.html it may not be the same exact bug. but on a hunch i added my normal cflags optimizations back and it compiled without an error. it seems that if you compile things that link against wine without any cflags it breaks. you need to have cflags set to the correct optimization for your cpu.
Here's an updated ebuild for media-libs/fst-1.8 and a Makefile patch which enables it to use the media-libs/vst-sdk-2.3-r1 ebuild (bug #61290). It depends on jack-audio-connection-kit and lash, too. Copy the patch to /media-libs/fst/files/
Created attachment 88015 [details] media-libs/fst-1.8 ebuild fst ebuild updated to 1.8
Created attachment 88016 [details, diff] Makefile patch A patch for fst-1.8 Makefile to enable it to use media-libs/vst-sdk-2.3-r1
Created attachment 89346 [details] media-libs/fst/fst-1.8.ebuild, version 2 fst-1.8 ebuild, updated version
(this is an automated message based on filtering criteria that matched this bug) Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq