Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100170 - new ebuild: media-sound/lmms
Summary: new ebuild: media-sound/lmms
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://lmms.sourceforge.net
Whiteboard:
Keywords: EBUILD, InOverlay, REVIEWED
: 117793 143559 (view as bug list)
Depends on: 147728
Blocks:
  Show dependency tree
 
Reported: 2005-07-24 17:45 UTC by Thomas Kuther
Modified: 2008-11-13 11:44 UTC (History)
11 users (show)

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


Attachments
media-sound/lmms-0.1.0_rc1.ebuild (lmms-0.1.0_rc1.ebuild,1.05 KB, text/plain)
2005-07-24 17:45 UTC, Thomas Kuther
Details
lmms-0.1.0_rc1.ebuild (lmms-0.1.0_rc1.ebuild,1.04 KB, text/plain)
2005-09-13 12:30 UTC, Anton Romanov
Details
lmms-0.1.0_rc1.ebuild (lmms-0.1.0_rc1.ebuild,1.04 KB, text/plain)
2005-09-13 12:52 UTC, Anton Romanov
Details
lmms-0.1.0_rc1.ebuild (lmms-0.1.0_rc1.ebuild,1.06 KB, text/plain)
2005-09-13 13:22 UTC, Anton Romanov
Details
lmms-0.1.1.ebuild (lmms-0.1.1.ebuild,1.13 KB, text/plain)
2005-10-12 00:57 UTC, Thomas Kuther
Details
lmms-9999.ebuild (lmms-9999.ebuild,1.81 KB, text/plain)
2006-01-28 07:50 UTC, Thomas Kuther
Details
lmms-0.1.4.ebuild (lmms-0.1.4.ebuild,1.27 KB, text/plain)
2006-02-09 18:27 UTC, Devon Warren
Details
Fixed ebuild (lmms-0.1.4.ebuild,1.26 KB, text/plain)
2006-06-25 04:17 UTC, Santiago M. Mola (RETIRED)
Details
lmms-0.1.4-r1.ebuild (lmms-0.1.4-r1.ebuild,1.31 KB, text/plain)
2006-06-25 05:21 UTC, Santiago M. Mola (RETIRED)
Details
LMMS 0.2.0 Ebuild (lmms-0.2.0.ebuild,1.30 KB, text/plain)
2006-07-19 14:43 UTC, Devon Warren
Details
lmms-0.2.0.ebuild (lmms-0.2.0.ebuild,1.29 KB, text/plain)
2006-07-19 14:46 UTC, Devon Warren
Details
lmms-0.2.1.ebuild (lmms-0.2.1.ebuild,1.30 KB, text/plain)
2006-08-07 13:36 UTC, dedburns
Details
lmms-0.2.1.ebuild + VST support (lmms-0.2.1-r1.ebuild,1.89 KB, text/plain)
2006-09-09 08:44 UTC, Santiago M. Mola (RETIRED)
Details
lmms-0.2.1 + VST 2.4 Support (attachment.cgi,1.89 KB, text/plain)
2006-09-09 13:13 UTC, Charles Christie
Details
lmms-0.2.1.ebuild + VST 2.4 Support (lmms-0.2.1.ebuild,1.90 KB, text/plain)
2006-09-09 13:28 UTC, Charles Christie
Details
lmms-0.2.1 + VST 2.4 Support (lmms-0.2.1.ebuild,1.87 KB, text/plain)
2006-09-09 14:05 UTC, Charles Christie
Details
lmms-0.2.1 + VST 2.3 Support (lmms-0.2.1.ebuild,1.85 KB, text/plain)
2006-09-09 14:20 UTC, Charles Christie
Details
lmms-0.2.1 + VST 2.3 Support (lmms-0.2.1.ebuild,1.89 KB, text/plain)
2006-09-09 14:27 UTC, Charles Christie
Details
lmms-0.2.1.ebuild + VST support (lmms-0.2.1-r1.ebuild,1.55 KB, text/plain)
2006-09-09 14:48 UTC, Santiago M. Mola (RETIRED)
Details
vst-headers-2.3.ebuild (vst-headers-2.3.ebuild,641 bytes, text/plain)
2006-09-09 14:49 UTC, Santiago M. Mola (RETIRED)
Details
licenses/Steinberg-VST-SDK-LA (Steinberg-VST-SDK-LA,8.43 KB, text/plain)
2006-09-09 14:51 UTC, Santiago M. Mola (RETIRED)
Details
vst-headers-2.3.ebuild - now with fixed typos (vst-headers-2.3.ebuild,645 bytes, text/plain)
2006-09-09 16:17 UTC, Charles Christie
Details
lmms-0.2.1 + VST support (lmms-0.2.1.ebuild,1.55 KB, text/plain)
2006-09-09 16:21 UTC, Charles Christie
Details
lmms-9999.ebuild (SVN version) (lmms-9999.ebuild,1.71 KB, text/plain)
2007-08-19 21:35 UTC, Goran Mekić
Details
lmms-0.4.0_beta1.ebuild (lmms-0.4.0_beta1.ebuild,1.57 KB, text/plain)
2008-08-08 10:14 UTC, Thomas Kuther
Details
lmms-0.4.0_rc1 ebuild (Read my comments) (lmms-0.4.0_rc1.ebuild,1.76 KB, text/plain)
2008-09-20 20:31 UTC, Paul Giblock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kuther 2005-07-24 17:45:10 UTC
"LMMS aims to be a free alternative to popular (but commercial and closed-
source) programs like FruityLoops, Cubase and Logic giving you the ability of
producing music with your computer by creating/synthesizing sounds, arranging
samples, playing live with keyboard and much more...

LMMS combines the features of a tracker-/sequencer-program (pattern-/channel-/
sample-/song-/effect-management) and those of powerful synthesizers and samplers
in a modern, user-friendly and easy to use graphical user-interface."

That app is going to rock! Still a bit cpu hungry, but already good usable and
worth testing.
I think that needs an ebuild


Reproducible: Always
Steps to Reproduce:
Comment 1 Thomas Kuther 2005-07-24 17:45:58 UTC
Created attachment 64223 [details]
media-sound/lmms-0.1.0_rc1.ebuild
Comment 2 Ciaran McCreesh 2005-08-18 18:06:44 UTC
Please fix the following and reopen:

* You can use versionator.eclass to do the version manipulation.
* Any reason hqsinc is a USE flag? Why not just always enable it?
* ${WORKDIR}, ${S}, ${D}, ${A} need quoting.
* No need to dodoc COPYING.
Comment 3 Anton Romanov 2005-09-13 12:30:27 UTC
Created attachment 68385 [details]
lmms-0.1.0_rc1.ebuild

changed and slightly cleaned ebuild
Comment 4 Anton Romanov 2005-09-13 12:31:16 UTC
can someone, please, reopen this so that i wont post a new bug ....
Comment 5 Ciaran McCreesh 2005-09-13 12:46:07 UTC
Looks good to me.
Comment 6 Anton Romanov 2005-09-13 12:52:03 UTC
Created attachment 68387 [details]
lmms-0.1.0_rc1.ebuild

forgot to remove hqsinc from IUSE
Comment 7 Anton Romanov 2005-09-13 12:57:23 UTC
1.should "die" be added to dodoc?
2.should libsdl be listed as a dependacy when it is a dependancy for sdl-sound?
Comment 8 Thomas Kuther 2005-09-13 13:02:42 UTC
regarding the README, SDL-sound isn't optional, but libsdl is for sdl support
(don't ask me, i didn't get it too :P) so the DEPEND settings in first ebuild
where correct (if one believes the readme file)

sorry for not fixing and reopening that bug myself - wanted to wait for new
release from tobi which will have lots of fixes and enhancements, but that seems
to take longer.
Comment 9 Anton Romanov 2005-09-13 13:22:09 UTC
Created attachment 68391 [details]
lmms-0.1.0_rc1.ebuild

fixed "--enable-hqsinc" quoting
added die to dodoc


sdl sound IS optional...
i've just tested lmms with sdl-sound being removed from my system
well ... it can be compiled with support for sdl and/or sdl-sound ...
(sdl for output and sdl-sound for loading samples)
and so i have another question -should sdlsound be separate dependancy
controlled by separate USEflag?
Comment 10 Thomas Kuther 2005-09-13 14:24:13 UTC
"(sdl for output and sdl-sound for loading samples)"

that's the point! what's a sample sequencer w/o being able to load
samples...nothing. so strange it compiles without it, isn't it?
but the output - well you want alsa, or sdl? (or jack in the future release -
i'm getting impatient :)) - that's optional.
Comment 11 Anton Romanov 2005-09-13 22:53:40 UTC
without sld-sound it loads with libsndfile and libvorbis
Comment 12 Stanislav Nikolov 2005-09-21 15:09:04 UTC
This ebuild doesn't seem to be imported in portage yet. Why is that so ?
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-09-21 15:33:46 UTC
(In reply to comment #12)
> This ebuild doesn't seem to be imported in portage yet. Why is that so ?

Because no developer commited it yet. There are hundreds of ebuilds waiting for
inclusion, so please don't clutter the bug with such comments, it's pointless.
Thanks. 
Comment 14 Thomas Kuther 2005-10-12 00:57:00 UTC
Created attachment 70442 [details]
lmms-0.1.1.ebuild

version bump. now with jack support ;)
Comment 15 Anton Romanov 2005-10-12 02:47:49 UTC
is S=${WORKDIR}/${P} really needed?
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-01-04 15:22:06 UTC
*** Bug 117793 has been marked as a duplicate of this bug. ***
Comment 17 Christian Becke 2006-01-27 07:31:37 UTC
Shouldn't the USE flag for libsamplerate be "libsamplerate" instead of "samplerate"?
A 'grep "samplerate" $PORTDIR/profiles/use.*' only finds "libsamplerate".
Comment 18 Devon Warren 2006-01-27 13:50:12 UTC
Can someone create an ebuild for 0.1.2? Also it would be great if this would be put in the official portage tree. Thanks
Comment 19 Andrej Kacian (RETIRED) gentoo-dev 2006-01-27 17:20:12 UTC
Ok, it builds and runs fine, but plugins only work after /usr/lib/lmms/ is added to /etc/ld.so.conf (and ldconfig is executed), or after setting LD_LIBRARY_PATH=/usr/lib/lmms.

I wonder what's the usual solution for packages which show similar behavior?

The latest ebuild in this bug works nicely after renaming it to lmms-0.1.2.ebuild. However, there is an unnecessary S= line in it. ${WORKDIR}/${P} is the default value of ${S}.
Comment 20 Thomas Kuther 2006-01-28 07:42:06 UTC
(In reply to comment #19)
> Ok, it builds and runs fine, but plugins only work after /usr/lib/lmms/ is
> added to /etc/ld.so.conf (and ldconfig is executed), or after setting
> LD_LIBRARY_PATH=/usr/lib/lmms.
> 
> I wonder what's the usual solution for packages which show similar behavior?

Yeah, seems to be a problem with that version. Also affects rpm'e for SuSE found on packman. Fixed in CVS already (Anyone here wants the CVS ebuild i use?)
 
> The latest ebuild in this bug works nicely after renaming it to
> lmms-0.1.2.ebuild. However, there is an unnecessary S= line in it.
> ${WORKDIR}/${P} is the default value of ${S}.
> 

Sorry, right, it's not needed. Let's wait for next release and fix all that. Also VST support is up to come.
Comment 21 Thomas Kuther 2006-01-28 07:50:02 UTC
Created attachment 78349 [details]
lmms-9999.ebuild

Ok added the CVS ebuild (-* masked). Mostly because i'd like to hear an opinion if adding VST support that way is OK. Note that Tobi switched to xfst, which currently does not compile... also Steinberg provides vstsdk-2.4 meanwhile.
Comment 22 Mathy Vanvoorden 2006-02-09 16:44:46 UTC
The ebuild works just fine for the newest version (0.1.4) after renaming it.
Comment 23 Devon Warren 2006-02-09 18:27:32 UTC
Created attachment 79401 [details]
lmms-0.1.4.ebuild
Comment 24 Devon Warren 2006-02-09 18:30:50 UTC
Comment on attachment 79401 [details]
lmms-0.1.4.ebuild

Added 0.1.4. This is my first ebuild I have worked with so it probly has a bug or two in it, unless it really was as easy as it looked ;-) It works on my ~amd64 system. BTW can someone put this in portage? At least version 0.1.1, it seems to be stable.
Comment 25 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 11:59:56 UTC
- S=${WORKDIR}/${P} is superfluous
Comment 26 Thomas Cort (RETIRED) gentoo-dev 2006-02-12 12:25:55 UTC
(In reply to comment #24)
> (From update of attachment 79401 [details] [edit])
> This is my first ebuild
Congratulations!

> it probly has a bug or two in it
You should use the header from /usr/portage/header.txt instead of copying it from another ebuild. For instance, the year on the copyright in the ebuild you attached is 1999-2005, but it is 2006 now and /usr/portage/header.txt reflects that.

Thanks for submitting the ebuild and good luck in the future.
Comment 27 Santiago M. Mola (RETIRED) gentoo-dev 2006-06-25 04:17:17 UTC
Created attachment 90086 [details]
Fixed ebuild

Ebuild with some fixes. Correct date in header, changed oggvorbis to vorbis, deps versions fixed and changed use_enabled to use_with.
Comment 28 Santiago M. Mola (RETIRED) gentoo-dev 2006-06-25 05:21:03 UTC
Created attachment 90091 [details]
lmms-0.1.4-r1.ebuild 

Fixed strip and debug stuff.
Comment 29 Santiago M. Mola (RETIRED) gentoo-dev 2006-06-25 12:33:23 UTC
This is now in the sunrise overlay. You can find it at:
http://gentoo-sunrise.org/svn/reviewed/media-sound/lmms/
Comment 30 Devon Warren 2006-07-19 14:43:30 UTC
Created attachment 92239 [details]
LMMS 0.2.0 Ebuild
Comment 31 Devon Warren 2006-07-19 14:46:34 UTC
Created attachment 92240 [details]
lmms-0.2.0.ebuild

Sorry forgot to take out the -j1 option.
Comment 32 Jouni Rinne 2006-07-26 10:40:15 UTC
Why only ~amd64? Works of course with ~x86, too. Please add the flag.
Comment 33 dedburns 2006-08-07 13:36:40 UTC
Created attachment 93690 [details]
lmms-0.2.1.ebuild

Works fine for 0.2.1 after renaming. Also added ~x86 keyword.
Comment 34 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 15:32:48 UTC
*** Bug 143559 has been marked as a duplicate of this bug. ***
Comment 35 Charles Christie 2006-09-09 04:33:51 UTC
Is it possible to ad VST support to this using the ebuild? The instructions (http://wiki.mindrules.net/doku.php?id=documentation:installation&s=vst#enable_vst_support)say this:
1. Install WINE
2. Get Steinberg's VST SDK (the links on the WIKI are wrong, it is actually 
at http://ygrabit.steinberg.de/~ygrabit/public_html/index.html), and I think the files are fetch-restricted. That might be a problem.
3. Put the files "AEffect.h" and "aeffectx.h" in the lmms-0.2.1/include/ directory
4. Run the included patch (patch -p0 < ../vst_sdk23_headers.diff)
5. Add "--with-vst" to ./configure

I'm pretty sure it's possible to do this with an ebuild... could someone help me do it?
Comment 36 Charles Christie 2006-09-09 04:55:16 UTC
(In reply to comment #35)
> 2. Get Steinberg's VST SDK (the links on the WIKI are wrong, it is actually 
> at http://ygrabit.steinberg.de/~ygrabit/public_html/index.html), and I think
> the files are fetch-restricted. That might be a problem.

The website says to get version 2.3 of the SDK by the way.
Comment 37 Santiago M. Mola (RETIRED) gentoo-dev 2006-09-09 07:27:56 UTC
(In reply to comment #35)
> 1. Install WINE
> 2. Get Steinberg's VST SDK (the links on the WIKI are wrong, it is actually 
> at http://ygrabit.steinberg.de/~ygrabit/public_html/index.html), and I think
> the files are fetch-restricted. That might be a problem.

That's the problem. Portage doesn't support using fetch-restricted depending on an USE flag, so I think this should be handled in pkg_fetch() in an evil way.

> 3. Put the files "AEffect.h" and "aeffectx.h" in the lmms-0.2.1/include/
> directory
> 4. Run the included patch (patch -p0 < ../vst_sdk23_headers.diff)
> 5. Add "--with-vst" to ./configure
> 
> I'm pretty sure it's possible to do this with an ebuild... could someone help
> me do it?
> 

I'm trying to get it working, if you want to help it would be great if you join #gentoo-sunrise on Freenode or if you add me to Jabber (in that case you can email me).

Or if you can write a working ebuild it would be great too ;-)
Comment 38 Santiago M. Mola (RETIRED) gentoo-dev 2006-09-09 08:44:27 UTC
Created attachment 96479 [details]
lmms-0.2.1.ebuild + VST support

lmms-0.2.1.ebuild with VST support. It compiles without problems but I haven't tested it. Could someone test if VST support works correctly?
Comment 39 Charles Christie 2006-09-09 13:08:30 UTC
I just got an email from toby, he says that that VST 2.4 also works :)
Comment 40 Charles Christie 2006-09-09 13:13:10 UTC
Created attachment 96502 [details]
lmms-0.2.1 + VST 2.4 Support

Changed some numbers
Comment 41 Charles Christie 2006-09-09 13:28:02 UTC
Created attachment 96506 [details]
lmms-0.2.1.ebuild + VST 2.4 Support
Comment 42 Charles Christie 2006-09-09 13:34:25 UTC
Comment on attachment 96506 [details]
lmms-0.2.1.ebuild + VST 2.4 Support

Fixed a typo <_<
Comment 43 Charles Christie 2006-09-09 14:05:38 UTC
Created attachment 96512 [details]
lmms-0.2.1 + VST 2.4 Support

Woah I screwed up big time. It seems that all of the files moved to cp ${WORKDIR}/vstsdk2.4/pluginterfaces/vst2.x/{aeffect.h,aeffectx.h}
I should look before I atach things next time <_<

There was an unzip statement in the ebuild that was causing trouble, so I removed it. It was unnecessary as Portage handled it already. Plus it was looking in the wrong place for the zipped file. Fixed that.

The documentation said to make vst the command is --with-vst, and looking through configure.in confirms this.

OK, this is the really really fixed version, no half-assed-ness.
Comment 44 Charles Christie 2006-09-09 14:20:57 UTC
Created attachment 96515 [details]
lmms-0.2.1 + VST 2.3 Support

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src/lib -I. -I/usr/X11R6/include -DQT3 -I/usr/qt/3/include -D_REENTRANT -DQT_THREAD_SUPPORT -DPLUGIN_NAME=vestige -O2 -march=pentium3 -pipe -fomit-frame-pointer -floop-optimize2 -fgcse-sm -fgcse-las -ftree-vectorize -ftree-loop-linear -funsafe-loop-optimizations -Wunsafe-loop-optimizations -DSINGLE_SOURCE_COMPILE -I/usr/local/include -MT vestige.lo -MD -MP -MF .deps/vestige.Tpo -c vestige.cpp -o vestige.o >/dev/null 2>&1
if wineg++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src/lib -I. -I/usr/X11R6/include    -O2 -march=pentium3 -pipe -fomit-frame-pointer -floop-optimize2 -fgcse-sm  -fgcse-las -ftree-vectorize -ftree-loop-linear -funsafe-loop-optimizations -Wunsafe-loop-optimizations -MT lvsl_server.o -MD -MP -MF ".deps/lvsl_server.Tpo" -c -o lvsl_server.o lvsl_server.c; \
        then mv -f ".deps/lvsl_server.Tpo" ".deps/lvsl_server.Po"; else rm -f ".deps/lvsl_server.Tpo"; exit 1; fi
make[4]: *** No rule to make target `lvsl_server.exe.so', needed by `all-am'.  Stop.
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1/plugins/vestige'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1/plugins/vestige'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1'
make: *** [all] Error 2

That can't be good... Looks like he was wrong, I'll go e-mail him about this bug.
OK people, LMMS doesn't work with VST 2.4 after all.

Also I'm uploading a fixed version of that other guy's ebuild. now.
Comment 45 Charles Christie 2006-09-09 14:27:47 UTC
Created attachment 96517 [details]
lmms-0.2.1 + VST 2.3 Support

Fixed yet another typo... my goodness. Sorry for spamming up all of your inboxes, I'm rushing right now because I have to leave.

I fail. :V
Comment 46 Santiago M. Mola (RETIRED) gentoo-dev 2006-09-09 14:48:35 UTC
Created attachment 96519 [details]
lmms-0.2.1.ebuild + VST support 

The other ebuilds have a big problem:

They are fetch restricted and they cannot download the main source of the program (I didn't noticed it because I already had the program downloaded on my /usr/portage/distfiles).
In order to solve this in the cleanest way, made an ebuild for the VST SDK headers called vst-headers. This way, we can make lmms depend on media-plugins/vst-headers and forget about evil stuff.
It also solves the confusion with licenses.

So, this ebuild support the new vst-headers.
Comment 47 Santiago M. Mola (RETIRED) gentoo-dev 2006-09-09 14:49:22 UTC
Created attachment 96520 [details]
vst-headers-2.3.ebuild

An ebuild for media-plugins/vst-headers
Comment 48 Santiago M. Mola (RETIRED) gentoo-dev 2006-09-09 14:51:45 UTC
Created attachment 96521 [details]
licenses/Steinberg-VST-SDK-LA

Steinberg VST Plug-ins SDK Licensing Agreement. This file should go into licenses/
Comment 49 Charles Christie 2006-09-09 16:07:23 UTC
(In reply to comment #44)
> Created an attachment (id=96515) [edit]
> lmms-0.2.1 + VST 2.3 Support
> 
> i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
> -I../../src/lib -I. -I/usr/X11R6/include -DQT3 -I/usr/qt/3/include -D_REENTRANT
> -DQT_THREAD_SUPPORT -DPLUGIN_NAME=vestige -O2 -march=pentium3 -pipe
> -fomit-frame-pointer -floop-optimize2 -fgcse-sm -fgcse-las -ftree-vectorize
> -ftree-loop-linear -funsafe-loop-optimizations -Wunsafe-loop-optimizations
> -DSINGLE_SOURCE_COMPILE -I/usr/local/include -MT vestige.lo -MD -MP -MF
> .deps/vestige.Tpo -c vestige.cpp -o vestige.o >/dev/null 2>&1
> if wineg++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src/lib -I.
> -I/usr/X11R6/include    -O2 -march=pentium3 -pipe -fomit-frame-pointer
> -floop-optimize2 -fgcse-sm  -fgcse-las -ftree-vectorize -ftree-loop-linear
> -funsafe-loop-optimizations -Wunsafe-loop-optimizations -MT lvsl_server.o -MD
> -MP -MF ".deps/lvsl_server.Tpo" -c -o lvsl_server.o lvsl_server.c; \
>         then mv -f ".deps/lvsl_server.Tpo" ".deps/lvsl_server.Po"; else rm -f
> ".deps/lvsl_server.Tpo"; exit 1; fi
> make[4]: *** No rule to make target `lvsl_server.exe.so', needed by `all-am'. 
> Stop.
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory
> `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1/plugins/vestige'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1/plugins/vestige'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/lmms-0.2.1/work/lmms-0.2.1'
> make: *** [all] Error 2
> 
> That can't be good... Looks like he was wrong, I'll go e-mail him about this
> bug.
> OK people, LMMS doesn't work with VST 2.4 after all.
> 
> Also I'm uploading a fixed version of that other guy's ebuild. now.
> 

The same thing happened to me when I tried VST 2.3. I e-mailed Toby about it.  Maybe now that vst-headers is in its own ebuild it'll work?
Comment 50 Charles Christie 2006-09-09 16:17:17 UTC
Created attachment 96533 [details]
vst-headers-2.3.ebuild - now with fixed typos

(In reply to comment #47)
> Created an attachment (id=96520) [edit]
> vst-headers-2.3.ebuild
> 
> An ebuild for media-plugins/vst-headers
> 

you made the path /usr/include in this ebuild, but lmms looks for /usr/include/vst. I fixed it for you, though.
Comment 51 Charles Christie 2006-09-09 16:21:27 UTC
Created attachment 96535 [details]
lmms-0.2.1 + VST support

(In reply to comment #46)
> Created an attachment (id=96519) [edit]
> lmms-0.2.1.ebuild + VST support 
> 
> The other ebuilds have a big problem:
> 
> They are fetch restricted and they cannot download the main source of the
> program (I didn't noticed it because I already had the program downloaded on my
> /usr/portage/distfiles).
> In order to solve this in the cleanest way, made an ebuild for the VST SDK
> headers called vst-headers. This way, we can make lmms depend on
> media-plugins/vst-headers and forget about evil stuff.
> It also solves the confusion with licenses.
> 
> So, this ebuild support the new vst-headers.
> 

You are the second person to make this mistake: vst support is --with-vst NOT --with-wine.

If you read the messages it outputs during configure, you'd have noticed that.
Comment 52 Charles Christie 2006-09-11 14:51:13 UTC
NOTE: IF YOU PLAN ON USING VST SUPPORT, LMMS MUST ME COMPILED WITH MAKEOPTS="-j1" OR IT'LL FAIL
From my email:
"> I get the same thing with VST 2.3.
I found the problem: you must not compile LMMS (or at least not
VeSTige-plugin) using make -jX where X > 1, this will fail. Try to use a
simple make and everything should went fine ;-)

toby"
Comment 53 Charles Christie 2006-09-15 07:51:02 UTC
Can anybody help me make the ebuild force MAKEOPTS="-j1"?
Comment 54 Santiago M. Mola (RETIRED) gentoo-dev 2006-09-15 11:08:27 UTC
(In reply to comment #53)
> Can anybody help me make the ebuild force MAKEOPTS="-j1"?
> 

From devmanual.gentoo.org:

"Builds should be tested with various -j settings in MAKEOPTS to ensure that the build parallelises properly. If a package does not parallelise cleanly, it should be patched.

If patching really isn't an option, emake -j1 should be used. However, when doing this please remember that you are seriously hurting build times for many non-x86 users in particular. Forcing a -j1 can increase build times from a few minutes to an hour on some MIPS and SPARC systems."

Comment 55 Goran Mekić 2007-08-19 16:46:50 UTC
I've just made a SVN ebuild. I was thinking if the official site says one should use svn, we (gentoo) should do it. So, how to / should i attach it here (-9999 already exists)? Thanx!
Comment 56 Santiago M. Mola (RETIRED) gentoo-dev 2007-08-19 18:28:54 UTC
(In reply to comment #55)
> I've just made a SVN ebuild. I was thinking if the official site says one
> should use svn, we (gentoo) should do it. So, how to / should i attach it here
> (-9999 already exists)? Thanx!

You can just attach it with the same name. There's no problem with that.

Also, we don't use live SVN ebuilds. I'd rather tar a snapshot of latest SVN, upload it somewhere and do an ebuild for it. Anyway, your -9999 ebuild is welcome.
Comment 57 Goran Mekić 2007-08-19 21:35:23 UTC
Created attachment 128612 [details]
lmms-9999.ebuild (SVN version)
Comment 58 Thomas Kuther 2007-08-19 22:30:11 UTC
Comment on attachment 78349 [details]
lmms-9999.ebuild

Made the old one obsolete.

Though -9999 ebuild including vst-headers has been available in pro-audio overlay for quite a while...
Comment 59 Julien 2008-02-07 17:07:11 UTC
New version is available : 2007-11-12: LMMS 0.3.1 released 

Why not adding lmms, a must have :'(
Comment 60 Santiago M. Mola (RETIRED) gentoo-dev 2008-02-07 18:56:38 UTC
proaudio people may be interested.
Comment 61 Santiago M. Mola (RETIRED) gentoo-dev 2008-07-31 12:27:02 UTC
Removed from Sunrise. You may want to check proaudio overlay for an updated version.
Comment 62 Thomas Kuther 2008-08-08 10:14:42 UTC
Created attachment 162506 [details]
lmms-0.4.0_beta1.ebuild

Posting 0.4.0_beta ebuild from pro-audio overlay. (Not attempting to fix/add lmms-0.3* now)

* uses cmake-utils now
* parallel make is unsupported by upstream, and it indeed fails with -j > 1, so force -j1
Comment 63 Alexis Ballier gentoo-dev 2008-09-17 07:43:14 UTC
_beta2 is in the tree now, thanks tom
Comment 64 Paul Giblock 2008-09-20 20:31:42 UTC
Created attachment 165939 [details]
lmms-0.4.0_rc1 ebuild (Read my comments)

Hello. I am a developer for LMMS and am correcting some problems and updating the ebuild for our Release Candidate 1.

- We have added optional support for Portaudio.  So this includes the useflag for it.
- Updated package name for lmms-0.4.0-rc1 file
- However, the most important change is the removal of the ladspa useflag.  The reason is: LMMS has absolutely NO dependency for ladspa: optional or hard.  As you may know LADSPA is actually just a header file called ladspa.h. There are no daemons or shared libraries.  LMMS includes its own copy of ladspa.h because LMMS includes a number of non-optional LADSPA plugins with our source distribution.   Additionally, these plugins must be installed per-default because a number of included demo-projects require them.

Again, LMMS contains NO dependency for ladspa-sdk to be installed.  LMMS contains built-in support for LADSPA plugins because it ships with its own ladspa.h.  I hope this makes sense.
Comment 65 Daniel Klaffenbach 2008-11-13 11:20:17 UTC
I can confirm that LMMS 0.4.0 works on x86. It would be nice if you could add least add a ~x86 keyword in the ebuild.
But there is one thing I've noticed: VST-Support is not being built:
[ebuild     U ] media-sound/lmms-0.4.0 [0.4.0_rc2] USE="alsa ogg -debug -fftw -fluidsynth -jack -pulseaudio -sdl -stk (-vst) (-pch%) (-portaudio%)" 10,340 kB

Wine is installed and I have set the "vst"-USE flag for lmms.
Comment 66 Thomas Kuther 2008-11-13 11:44:15 UTC
(In reply to comment #65)
> I can confirm that LMMS 0.4.0 works on x86. It would be nice if you could add
> least add a ~x86 keyword in the ebuild.
> But there is one thing I've noticed: VST-Support is not being built:
> [ebuild     U ] media-sound/lmms-0.4.0 [0.4.0_rc2] USE="alsa ogg -debug -fftw
> -fluidsynth -jack -pulseaudio -sdl -stk (-vst) (-pch%) (-portaudio%)" 10,340 kB
> 
> Wine is installed and I have set the "vst"-USE flag for lmms.
> 

Alexis has p.use.masked vst support, because if libX11 is compiled with xcb support, and LIBXCB_ALLOW_SLOPPY_LOCK=1 is not set, it causes lmms to crash when opening the GUI of a VST plugin. Here it even locked up my X server completely.

If you have libX11 with xcb on x86, could you please test if it also happens there? Just comment out/remove the line with "media-sound/lmms vst" from /usr/portage/profiles/base/package.use.mask

Make sure LIBXCB_ALLOW_SLOPPY_LOCK is unset.

Thanks!