Hi all,
I posted something similar to mono-devel, so sorry if any of you are
seeing this twice.
I've spent some time working on getting wine to have the option to look
like a gtk app. At present I'm just trying to get wine to use the same
colours as the current GTK theme. I made great progress on this last
night: modified configure.ac et al to allow building against gtk, added
an item to the enum for the various "looks", added the option so setting
"WineLook" does the right thing for this new look.
I added another array of colour settings to syscolor.c, and modified the
condition that loads in that array to recognise the new colours (which
are currently all set to red), and call a function to do a gtk_init()
(for those who are wondering, I'm currently using a dummy argc and argv
in the call. I'll do something about this later) and then start setting
that array to the *actual* colours of the gtk theme (I chose red to make
it easy to find bugs -- colours that weren't set would be obvious)
Now, this was all going great up until the gtk_init() call. I'm now in
the position where running I'm wine and seeing this sort of thing:
$ LD_LIBRARY_PATH=/home/james/lib /home/james/bin/notepad
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
wine: Unhandled exception, starting debugger...
FIXME:pthread_cond_init
(repeated n times)
Now, I'm assuming from the FIXME: that this is an unimplemented piece of
wine. Is this saying that gtk can't run with the existing wine threading
implementation due to this (and possibly) other functions being
buggy/nonexistent?
So, the point: what should I do? is this something which will be fixed
by someone who knows threading better than I (which is to say almost
anyone :))? Does someone know of a workaround that I can use? Is this
doomed ==> should I throw in the towel?
Thanks,
James.