[fyi][icedtea7] windows builds
Alex Kasko
alex.kasko.lists at gmail.com
Wed Jul 31 01:24:00 PDT 2013
On 07/30/2013 08:24 PM, Andrew Hughes wrote:
>
> ----- Original Message -----
>> Hi,
>>
>> Just for your information, icedtea7 tip (hg:0a8108854365) builds fine on
>> windows-i586 and windows-amd64 without additional patches.
>>
>> I've obtained sources from "icedtea7/openjdk" directory by running:
>>
>> ./configure \
>> --disable-system-zlib \
>> --disable-system-jpeg \
>> --disable-system-png \
>> --disable-system-gif \
>> --disable-system-lcms \
>> --disable-compile-against-syscalls \
>> --disable-nss
>>
>> and "make" on debian wheezy.
>>
>> Then built these sources on windows (xp and 2003x64) as separate openjdk
>> builds (without icedtea infrastructure) using additional environment
>> variables:
>>
>> set USE_SYSTEM_GTK=true
>> set USE_SYSTEM_GCONF=true
>> set USE_SYSTEM_GIO=true
>> set USE_SYSTEM_CUPS=true
>> set USE_SYSTEM_FONTCONFIG=true
>> set RHINO_JAR=%LIBS_DIR%/rhino.jar
>> set FT2_CFLAGS=-I$(FREETYPE_HEADERS_PATH)
>> -I$(FREETYPE_HEADERS_PATH)/freetype2
>> set DISABLE_INTREE_EC=true
>>
>>
>> --
>> Regards,
>> Alex Kasko
>>
>
> This is good news. Some of those options will be backported to IcedTea 1.x for
> OpenJDK 6 for the 1.13 release, so should reduce the number of patches needed there too.
>
> I'm a little concerned by the use of the make flags. USE_SYSTEM_GTK, USE_SYSTEM_CUPS and
> USE_SYSTEM_FONTCONFIG are only ever used in make/sun/xawt/Makefile and make/sun/awt/mawt.gmk
> which I assume Windows doesn't include, as it seems unlikely you have these libraries
> installed. Do you have GConf or GIO available? That seems unlikely and both shouldn't be
> used at the same time...
All USE_SYSTEM* flags were used only to prevent inclusion of source
files guarded with "ifndef USE_SYSTEM_*" (e.g. gconf_fp.c). None of
these libraries are actually installed/used on windows build boxes.
And you are right, USE_SYSTEM_GTK, USE_SYSTEM_CUPS and
USE_SYSTEM_FONTCONFIG are not actually needed, because those makefiles
are not included in windows builds.
USE_SYSTEM_GCONF and USE_SYSTEM_GIO are needed though, they are used in
make/java/net/Makefile and make/java/net/FILES_c.gmk .
--
Regards,
Alex Kasko
More information about the distro-pkg-dev
mailing list