[webkit-gtk] Bug 32985: Changes for building webkit/gtk/win32

Matthew Talbert ransom1982 at gmail.com
Tue Dec 29 11:59:33 PST 2009

Forgot to reply to all.

> Hi Phil,
> i never try to build WebKitGtk from Windows but crosscompile win32 version
> from Linux (ArchLinux 64bit) some time ago.
> Just made some makefiles changes to prevent use of $(SYMBOL_VISIBILITY)
> as for "-lwinmm" i include it as configure options in this script:
> export PKG_CONFIG_PATH="${HOME}/mingw32/lib/pkgconfig"
> export CPPFLAGS="-I${HOME}/mingw32/include -I${HOME}/mingw32/include/pthread
> `pkg-config glib-2.0 --cflags` -D__MINGW_FEATURES__=0x0000000000000001ULL"
> export LDFLAGS="-L${HOME}/mingw32/lib"
> export LIBS="-luser32 -lshlwapi -lwinmm -lglib-2.0"
> export CFLAGS="-O3 -mms-bitfields -march=i686 -mtune=generic
> -fomit-frame-pointer -pipe"
> export CXXFLAGS="${CFLAGS}"
> export CFLAGS="${CFLAGS} -std=c99"
> mkdir -p WebKitBuild/Release4win && cd WebKitBuild/Release4win
> ../../configure \
>    --prefix=${HOME}/webkit4win \
>    --host=i486-mingw32 \
>    --with-target=win32 \
>    --enable-3D-transforms \
>    --enable-web-sockets \
>    --enable-filters \
>    --with-font-backend=pango\
>    --enable-shared-workers
> make -j 3
> make install

Do you mind if I ask you why you chose pango as the font backend
rather than freetype? I ask because your binaries (as well as the ones
created by the OpenSUSE mingw project) have serious issues with Hebrew
texts (and perhaps other right to left texts).

I am currently trying to cross-compile from Ubuntu, and have had to
make quite a few patches and changes.


More information about the webkit-gtk mailing list