Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83114 - [new-ebuild] media-sound/swami-0.9.2
Summary: [new-ebuild] media-sound/swami-0.9.2
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Sound Team
URL: http://swami.sourceforge.net/index.php
Whiteboard:
Keywords: EBUILD
: 100949 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-23 15:33 UTC by Federico Ferri (RETIRED)
Modified: 2005-10-05 09:30 UTC (History)
3 users (show)

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


Attachments
media-sound/swami-0.9.2 [new] (swami-0.9.2.ebuild,1.14 KB, text/plain)
2005-02-23 15:34 UTC, Federico Ferri (RETIRED)
Details
swami-0.9.2.ebuild (correction, see comment from rjenster@arcor.de) (swami-0.9.2.ebuild,1.16 KB, patch)
2005-08-03 09:56 UTC, Federico Ferri (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Ferri (RETIRED) gentoo-dev 2005-02-23 15:33:32 UTC
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:
Comment 1 Federico Ferri (RETIRED) gentoo-dev 2005-02-23 15:34:48 UTC
Created attachment 51995 [details]
media-sound/swami-0.9.2 [new]
Comment 2 Federico Ferri (RETIRED) gentoo-dev 2005-02-23 15:58:29 UTC
maybe this one should be masked, because sometimes it crashes the audio engine.
Comment 3 Josh Green 2005-04-22 04:17:48 UTC
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.
Comment 4 Frank van de Pol (RETIRED) gentoo-dev 2005-07-18 13:01:43 UTC
Swami-0.9.2 added to portage. Xaero, thanks for submitting an ebuild for this  
application.  
 
Comment 5 Ruben Jenster 2005-07-25 05:25:28 UTC
This ebuild doesn't install anything. 
Please change the 'src_install' function to: 
 
src_install(){ 
        cd ${S} 
        make DESTDIR="${D}" PREFIX=/usr install || die 
} 
 
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-08-01 11:11:40 UTC
*** Bug 100949 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-01 11:12:52 UTC
Reopened, dummy ebuilds are not really that useful. ;p
Comment 8 Federico Ferri (RETIRED) gentoo-dev 2005-08-03 09:56:41 UTC
Created attachment 64997 [details, diff]
swami-0.9.2.ebuild (correction, see comment from rjenster@arcor.de)
Comment 9 Federico Ferri (RETIRED) gentoo-dev 2005-08-03 10:00:59 UTC
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)
Comment 10 Federico Ferri (RETIRED) gentoo-dev 2005-08-03 10:02:11 UTC
ehm... i forgot:

could someone confirm this issue? or it is a problem of mine?
(i attached the working version of the ebuild)
Comment 11 Wai Ling 2005-08-03 15:46:34 UTC
(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
Comment 12 Josh Green 2005-08-07 11:58:32 UTC
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!
Comment 13 MATSUU Takuto (RETIRED) gentoo-dev 2005-10-05 09:30:20 UTC
0.9.2 fixed. please test.