Gervill integrated into IcedTea

Andrew John Hughes gnu_andrew at member.fsf.org
Wed Apr 30 13:18:53 PDT 2008


On 30/04/2008, Mark Wielaard <mark at klomp.org> wrote:
> Hi,
>
>  Gervill [1] is a software sound synthesizer, written by Karl Helgason,
>  which was created as a proposal for the Audio Synthesis Engine Project
>  [2] and it was recently accepted as one of the projects for the
>  Innovators' Challenge [3].
>
>  Since this is one of the major pieces missing, because it is fun to play
>  with sounds and to give the code a little more exposure I integrated it
>  into IcedTea.
>
>  I took the version from Gervill CVS which is already assigned to Sun and
>  distributed under the GPL + Classpath exception (README.txt, CHANGES.txt
>  and LICENSE also included of course).
>
>  This provides the following new service providers
>
>  javax.sound.sampled.spi.AudioFileReader:
>   com.sun.media.sound.WaveFloatFileReader
>   com.sun.media.sound.SoftMidiAudioFileReader
>
>  javax.sound.midi.spi.MidiDeviceProvider:
>   com.sun.media.sound.SoftProvider
>
>  javax.sound.midi.spi.SoundbankReader:
>   com.sun.media.sound.SF2SoundbankReader
>   com.sun.media.sound.DLSSoundbankReader
>   com.sun.media.sound.PATSoundbankReader
>   com.sun.media.sound.AudioFileSoundbankReader
>   com.sun.media.sound.JARSoundbankReader
>
>  It is added as an overlay for the code under
>  openjdk/jdk/src/share/classes/com/sun/media/sound/ and a patch against
>  the service provider files in patches/icedtea-gervill.patch.
>
>  2008-04-30  Mark Wielaard  <mark at klomp.org>
>
>         * Makefile.am (ICEDTEA_PATCHES): Add patches/icedtea-gervill.patch.
>         * Makefile.in: Regenerated.
>         * patches/icedtea-gervill.patch: New patch.
>         * overlays/openjdk/jdk/src/share/classes/com/sun/media/sound/*:
>         New Gervill files.
>
>  I also ran the testsuite in Gervill against a freshly build IcedTea and
>  all all test PASS. I haven't included the tests yet since I thought they
>  would not run without jtreg, but a quick little dirty fake jtreg harness
>  was easy to come up with [*]. If this works for other jtreg based tests
>  I will try and integrate it so we don't have to wait till jtreg is
>  liberate to run more test.
>
>  If you can please test and report any issues (best to CC audio-engine-dev).
>
>  Cheers,
>
>  Mark
>
>  [1] https://gervill.dev.java.net/
>  [2] http://openjdk.java.net/projects/audio-engine/
>  [3] http://blogs.sun.com/rsands/entry/the_challenge_of_the_challenge
>
>  [*]
>  for i in `find com -name \*.java`; do echo -n "$i: "; grep 'static void main' $i > /dev/null; if test $? == 0; then javac -cp `dirname $i` $i; java -cp `dirname $i` `basename $i .java`; if test $? == 0; then echo PASS; else echo FAIL; fi; else echo "SKIPPED"; fi; done
>
>

Great news! Thanks for doing this, Mark.  I look forward to playing
with it soon.

As to the jtreg hack, I fiddled about with a similar short bit of
shell hackery a few months back and managed to run the JMX tests this
way.  Not a full-proof solution by any means, and I wouldn't attest to
it working well generally, but it does the job for the time being.

The spec. for the jtreg files is available online.  Was it not for a
Free version being in the works from Sun anyway, we could probably
implement a clone.

Cheers,
-- 
Andrew :-)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list