ALSA Dependency - Is it necessary?
mvfranz at gmail.com
Sun Feb 10 16:00:05 PST 2008
> > This is only possible to do easily if the OpenJDK build underlying
> > IcedTea actually supports a DISABLE_ALSA option. Although you can add
> > --disable-alsa to autoconf easily enough on IcedTea, the actual ALSA
> > requirement comes from OpenJDK which doesn't the autotools but rather
> > a series of Makefiles. You'd need support in these Makefiles to be
> > able to disable ALSA (a DISABLE_ALSA build variable just like BOOTDIR
> > and the rest). If that doesn't exist, it's a case of going through
> > the Makefiles manually and adding such support.
> > That said, I guess there will be other problems with the OpenJDK build
> > given it hasn't been tested on or ported to Mac OS X. Getting past
> > IcedTea's configure is only the beginning.
> > --
> > Andrew :-)
> > Support Free Java!
> > Contribute to GNU Classpath and the OpenJDK
> > http://www.gnu.org/software/classpath
> > http://openjdk.java.net
> Further to that, the bit of OpenJDK you want to look at is:
> j2se/make/javax/sound/Makefile: # ALSA handles directaudio, ports, and
> j2se/make/javax/sound/Makefile: SUBDIRS += jsoundalsa
> j2se/make/javax/sound/Makefile: EXTRA_SOUND_JNI_LIBS += jsoundalsa
> You also need to disable the part of the sanity check that looks for ALSA:
> j2se/make/common/shared/Sanity.gmk: if [ `$(ALSA_VERSION_CHECK)
> | $(EGREP) -c '$(REQUIRED_ALSA_VERSION)'` -ne 1 ] ; then \
> j2se/make/common/shared/Sanity.gmk: $(ECHO) "ERROR: The ALSA
> version must be 0.9.1 or higher. \n" \
> Andrew :-)
One step at time is what it will take. Once I can get through icedtea, I
can start looking at OpenJDK.
With the way Icedtea works, I should be able to provide patches to the
OpenJDK Makefiles - I hope, so that will not be too bad.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the distro-pkg-dev