----- Original Message ----- > On 7/25/12 6:04 PM, Marc-Antoine Perennou wrote: > > Hi, > > > > With my company, we use a source-based linux distribution, and > > since we are > > using Java, we need to build the jdk. > > Currently, in order to be able to build the jdk, gtk+-2 and cups > > need to be > > installed. > > I think it wouldn't be so hard to make them optional, since not > > everybody > > using java needs printing functionnalities nor swing. > > > > What are your thoughts on that ? > > > > Marc-Antoine Perennou > > > > The JDK 7 Project has completed its work last year with the release > of JDK 7. > You may want to raise this question on jdk8-dev instead. > > cheers, > dalibor topic > >
As far as I recall, both these dependencies are via dlopen at runtime, so should be avoidable. All you actually need to build is the headers for CUPS. OpenJDK includes its own version of the Gtk+ ones. -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
