In its current form, the icedtea-libraries.patch would probably be rejected by Sun, because it unconditionally changes to using the system libraries. Instead it should be an option.
Also, it appears that the changes introduce a run-time dependency on libpng that wasn't there before. This is fine for building packages as part of a Linux distro that manages such dependencies, but is unacceptable in other environments. A quick look at the changes suggests they are insufficiently portable (i.e. a quick hack): e.g. + void *handle = dlopen("libjpeg.so.62", RTLD_LAZY | RTLD_GLOBAL); Martin On Thu, Aug 28, 2008 at 1:51 AM, Mark Wielaard <[EMAIL PROTECTED]> wrote: > Hi, > > On Wed, 2008-08-27 at 15:34 -0700, Martin Buchholz wrote: >> Adding options to use the system versions of these graphics libraries >> is integrated into IcedTea already. IcedTea and Sun AWT engineers >> should work together to put such changes into OpenJDK7. > > Yes, this would be great so we don't have to maintain so many extra > external patches. The patch to do this in icedtea6 is at: > http://icedtea.classpath.org/hg/icedtea6/file/tip/patches/icedtea-libraries.patch > That makes sure the system versions of the png, jpeg and zlib libraries > are used. > > Cheers, > > Mark > >