new ebuild for swami, a soundfont editor. please give it a check if dependencies are specified correctly. here it compiles fine. Reproducible: Didn't try Steps to Reproduce:
Created attachment 51995 [details] media-sound/swami-0.9.2 [new]
maybe this one should be masked, because sometimes it crashes the audio engine.
Hello, I'm the developer of Swami and was looking to help with the creation of a Gentoo ebuild for it. Do you have any details concerning the comment about Swami crashing the audio engine? I'm not aware of this bug.
Swami-0.9.2 added to portage. Xaero, thanks for submitting an ebuild for this application.
This ebuild doesn't install anything. Please change the 'src_install' function to: src_install(){ cd ${S} make DESTDIR="${D}" PREFIX=/usr install || die }
*** Bug 100949 has been marked as a duplicate of this bug. ***
Reopened, dummy ebuilds are not really that useful. ;p
Created attachment 64997 [details, diff] swami-0.9.2.ebuild (correction, see comment from rjenster@arcor.de)
I installed swami-0.9.2 again today. if ran from a regular user it runs ok, but if i start jackd as root, and swami as root, it completely locks up my system. (i cannot even kill X, i need to Alt+SysRq+S+U+B)
ehm... i forgot: could someone confirm this issue? or it is a problem of mine? (i attached the working version of the ebuild)
(In reply to comment #10) > ehm... i forgot: > > could someone confirm this issue? or it is a problem of mine? > (i attached the working version of the ebuild) I have no problem running both swami and jackd as root. However, swami will not play any sound sample when I click on the piano. Moreover, occassionally, it will crash with the following errors: Gtk-WARNING **: shouldn't set wmclass after window is realized! fluidsynth: ALSA driver: Using format s16, rw, interleaved Illegal instruction
Lockups with Swami when running as root are likely FluidSynth consuming all CPU, since it runs SCHED_FIFO. Try reducing the maximum number of voices by "set synth.polyphony 64" for example, I realize that this isn't currently possible via the Swami GUI though. As to the Illegal instruction, that may be a bug related to the configure script of FluidSynth 1.0.5 (was enabling things like SSE when specifying --disable-SSE). This is now fixed with FluidSynth 1.0.6 (Wai Ling does your machine support SSE? Could it be the case that its enabled when it shouldn't be? Would it be possible to get a GDB back trace of the crash?). As to getting sound in Swami, you first need to load a SoundFont instrument file (FluidSynth comes with the Vintage Dreams SoundFont) and click on one of its presets before you will hear anything. Some questions, if anyone has any answers to contribute I'd appreciate it. I'm fairly new to creating ebuilds. I've been working on the development version of Swami for a few years now, and it is nearing usability. Its using GTK 2.0 and is a completely different code base using a separate library called libInstPatch which handles all the instrument loading/saving/editing. I am for the most part not doing anything more on Swami 0.9.x. I'm wondering if a separate slot should be made when a release of the development version is made, or should it just supersede the 0.9.2 version of the ebuild? Thanks!
0.9.2 fixed. please test.