Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61300 - [NEW EBUILD] media-libs/fst
Summary: [NEW EBUILD] media-libs/fst
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://linuxaudiosystems.com/fst/
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on: 61290 9842
Blocks: 61318 57740
  Show dependency tree
 
Reported: 2004-08-22 15:18 UTC by Eric Shattow
Modified: 2018-06-07 18:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
v1, media-libs/fst/fst-1.6.ebuild (fst-1.6.ebuild,1.34 KB, text/plain)
2004-08-22 15:20 UTC, Eric Shattow
Details
v1, media-libs/fst/files/fst-1.6-wineliblocfix.patch (fst-1.6-wineliblocfix.patch,579 bytes, patch)
2004-08-22 15:22 UTC, Eric Shattow
Details | Diff
v2, media-libs/fst/fst-1.6.ebuild (fst-1.6.ebuild,1.67 KB, text/plain)
2004-08-22 16:24 UTC, Eric Shattow
Details
v1, media-libs/fst/fst-1.6-r1.ebuild (fst-1.6-r1.ebuild,1.68 KB, text/plain)
2004-08-22 16:45 UTC, Eric Shattow
Details
VST SDK patch (vstsdk2.3.patch,1.73 KB, patch)
2004-08-22 18:48 UTC, Mark Riedesel
Details | Diff
v1, vsthcompilerhack_fix patch (vsthcompilerhack_fix.patch,327 bytes, patch)
2004-08-22 19:03 UTC, Eric Shattow
Details | Diff
v2, media-libs/fst/fst-1.6-r1.ebuild (fst-1.6-r1.ebuild,1.73 KB, text/plain)
2004-08-22 19:05 UTC, Eric Shattow
Details
v2, media-libs/fst/files/fst-1.6-wineliblocfix.patch (fst-1.6-wineliblocfix.patch,606 bytes, text/plain)
2004-08-22 22:15 UTC, Eric Shattow
Details
media-libs/fst-1.8 ebuild (fst-1.8.ebuild,804 bytes, text/plain)
2006-05-31 11:54 UTC, Jouni Rinne
Details
Makefile patch (Makefile_vstsdk_ebuild.patch,362 bytes, patch)
2006-05-31 11:56 UTC, Jouni Rinne
Details | Diff
media-libs/fst/fst-1.8.ebuild, version 2 (fst-1.8.ebuild,612 bytes, text/plain)
2006-06-16 13:43 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Shattow 2004-08-22 15:18:32 UTC
FreeST library, allows a program to integrate win32 VST plugins.  Depends on the VST SDK 2.0
Comment 1 Eric Shattow 2004-08-22 15:20:29 UTC
Created attachment 37973 [details]
v1, media-libs/fst/fst-1.6.ebuild
Comment 2 Eric Shattow 2004-08-22 15:22:06 UTC
Created attachment 37974 [details, diff]
v1, media-libs/fst/files/fst-1.6-wineliblocfix.patch

hack to work around some silly build system quirks
Comment 3 Eric Shattow 2004-08-22 15:29:25 UTC
i did some things incorrect here, by specifying ${D} in the ./configure command.  fixing... be patient.
Comment 4 Eric Shattow 2004-08-22 16:24:38 UTC
Created attachment 37975 [details]
v2, media-libs/fst/fst-1.6.ebuild

a little bit better
Comment 5 Eric Shattow 2004-08-22 16:45:14 UTC
Created attachment 37978 [details]
v1, media-libs/fst/fst-1.6-r1.ebuild

obsoletes fst-1.6.ebuild, uses VST SDK 2.3
Comment 6 Eric Shattow 2004-08-22 16:53:21 UTC
headers installed to /usr/include/vst broken with VST SDK 2.3
Comment 7 Mark Riedesel 2004-08-22 18:48:57 UTC
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.
Comment 8 Eric Shattow 2004-08-22 18:56:58 UTC
thanks mark.  will look into it after this ebuild tested and committed
Comment 9 Eric Shattow 2004-08-22 19:03:22 UTC
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.
Comment 10 Eric Shattow 2004-08-22 19:05:00 UTC
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.
Comment 11 Eric Shattow 2004-08-22 22:15:32 UTC
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 12 Eric Shattow 2004-08-22 22:34:58 UTC
Comment on attachment 37994 [details]
v2, media-libs/fst/files/fst-1.6-wineliblocfix.patch

i'm an idiot.
Comment 13 Eric Shattow 2004-08-22 22:35:21 UTC
Comment on attachment 37974 [details, diff]
v1, media-libs/fst/files/fst-1.6-wineliblocfix.patch

i'm an idiot
Comment 14 Eric Shattow 2004-08-22 22:36:27 UTC
Comment on attachment 37981 [details, diff]
v1, vsthcompilerhack_fix patch

fix /usr/include/vst/aeffectsx.h brokeness
Comment 15 Eric Shattow 2004-08-22 23:19:22 UTC
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?
Comment 16 Torben Hohn (RETIRED) gentoo-dev 2004-09-23 01:28:52 UTC
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.
Comment 17 Eric Shattow 2004-09-23 03:21:29 UTC
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]
Comment 18 Curtis Campbell 2004-09-27 11:57:40 UTC
Awesome! I didn't know anybody was working on this. I am going to start testing this out.
Comment 19 Eric Shattow 2004-09-27 12:53:12 UTC
marking a depend on winelib LDPATH issue bug #9842
Comment 20 Curtis Campbell 2004-09-28 19:39:21 UTC
This compiles and installs fine for me.
Comment 21 Curtis Campbell 2004-10-20 21:40:18 UTC
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
Comment 22 Eric Shattow 2004-10-20 21:53:06 UTC
okay 'NtCurrentTeb' i don't know what that one is about.  any clues?
Comment 23 Curtis Campbell 2004-10-20 22:04:12 UTC
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.
Comment 24 Jouni Rinne 2006-05-31 11:51:55 UTC
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/
Comment 25 Jouni Rinne 2006-05-31 11:54:08 UTC
Created attachment 88015 [details]
media-libs/fst-1.8 ebuild

fst ebuild updated to 1.8
Comment 26 Jouni Rinne 2006-05-31 11:56:06 UTC
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
Comment 27 Jouni Rinne 2006-06-16 13:43:57 UTC
Created attachment 89346 [details]
media-libs/fst/fst-1.8.ebuild, version 2

fst-1.8 ebuild, updated version
Comment 28 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-13 20:51:37 UTC
(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