[PATCH] Integrating a PulseAudio-based Java Mixer in icedtea6

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Oct 9 13:47:23 PDT 2008


2008/10/9 Omair Majid <omajid at redhat.com>:
> Hi,
>
> Ioana and I have been working on creating a PulseAudio based Mixer and we
> believe that it has become stable enough to include it as an optional build
> in icedtea6. To do that, the pulseaudio source code needs to be put in the
> pulseaudio folder in icedtea and the attached patch needs to be applied.
>
> The configure option --enable-pulse-java is used to enable building the
> PulseAudio based mixer.
>
> To compile icedtea with the pulseaudio-based mixer :
> (assuming the icedtea-pulseaudio.patch file is in the current directory)
>
> hg clone http://icedtea.classpath.org/hg/icedtea6
> cd icedtea6
> # this next step wont be necessary once the pulse-java source code
> # is commited to icedtea6
> hg clone http://icedtea.classpath.org/hg/pulseaudio
> patch -p1 < ../icedtea-pulseaudio.patch
> ./autogen.sh
> ./configure --enable-pulse-java
> make
>
> Please let me know if there are any concerns, comments or objections.
>
> Thanks,
>
> Omair
>

Is the intention for this patch to represent how PulseAudio will be integrated?
If so, I assume it won't be part of IcedTea but just an optional dependency?

Comments:

* PULSE_JAVA_DIR should be configurable by a --with-pulse-java-dir option.
* I assume CC is called explicitly rather than using the usual automake rules
(pulseaudio_SOURCES and the like) is because IcedTea itself is a bit
non-standard.
* The continued use of the test +	if ! test -d $(ICEDTEA_BOOT_DIR) ;
is worrying.
I was already concerned about this from the current ecj invocations.
Can we not just
depend on the creation of the boot directory for targets that need it?
 Users tend to find
this confusing as it is unclear at runtime which javac/jar/javah is
being used and the duplication
can lead to inaccuracies.

Thanks for the contribution!
-- 
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