[webkit-dev] success! cross-compile and link of Programs/GtkLauncher from amd64-debian-linux host for win32 using mingw32

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Sep 12 12:26:27 PDT 2008


purpose of this cross-compile is to have a webkit-gtk for win32 with
the glib bindings, #16401, and associated pywebkitgtk (that's turning
out to be fun, already - cross-compile of python 2.5 with mingw32

build and link of webkit was a success.  eventually.

there's a horribly badly botched process for compiling icu 3.8.1:
enough of the compile succeeds to be able to manually prise
libicuuc.lib and .dll from icu's cold dead fingers without having to
carry out a complete build, test and make install.

running under wine is ... interesting.  you have to patch cairo to
scale fonts down 32 times, because wine ignores an important font
scaling parameter right now.  if you don't do this simple hack, text
entry on a 1200 x 800 screen takes up 30% of your screen space.
scaled very nicely, it is, too.

text-entry in the GTK box at the top of GtkLauncher is fine:
text-entry into any text boxes is not fine, although the focus shows

my little test documentation page at
http://lkcl.net/pyjamas-desktop/docs/output/docui.html shows a
flashing cursor in a small box (too small for the cursor) overlapping
the + and - icons, whenever you click on any of the treeview items.
this is a lovely and weird and obtuse one.

viewing any frames causes an instant segfault (oh look, yippeee, it's
another repeat of https://bugs.webkit.org/show_bug.cgi?id=20403 except
from a different angle, and on a different architecture: i'll see if i
can hammer some life into gdb.exe under wine *sob*).

radio-buttons are lifeless every second scan-line.

despite the utter utter pain and horror of cross-compiling, and of
locating all of the build dependencies (debianites are _so_ spoiled.
there's just no going back...) it's an incredibly useful exercise.  i
seem to have run into every single possible UI bug there could
possibly be! :)  i'm just really puzzled that webkit works really
rather well on unix and, given that it's virtually the same code, has
all of these straaange things going on under wine.

oh well :)

More information about the webkit-dev mailing list