[hackers] status of DUIM

Kosta Welke kosta at fillibach.de
Sun Jun 29 19:30:18 CEST 2008


Hannes Mehnert wrote:

> I merged my thougts into a wiki page,
> http://wiki.opendylan.org/wiki/view.dsp?title=Project%3A%20DUIM%20GTK

Cool!

> This does not reflect the state of the code. More than a year ago I
> posted "GTK+2 DUIM port" on comp.lang.dylan
> http://groups.google.de/group/comp.lang.dylan/browse_thread/thread/4ac39fe2decd41cf

Nice. I never did anything with GTK (but lots of stuff with Qt), so this 
whole GObject thing is new to me. But it seems that you already did the 
hard stuff :)

in that post you wrote:
> - of course, tracing the bug which causes the thread (something
>   about multiple threads calling gtk_main, but I don't know enough
>   gtk to fix that right now. 

You said in chat that you use one thread per window. It looks to me that 
GTK, like Qt, and uses *one* event loop for everything (all windows, 
widgets, whatever). But I'll look into that after dealing with some very 
basic stuff. Maybe like adding colors.

> Changes to that mail are:
>  *the whole stuff (ok, apart from modified melange) has been merged back
> to trunk

Cool! Less branches to get confused with! :)

>  -> code is at fundev/sources/gtk and fundev/sources/duim/gtk

I tried to build a couple of stuff.

qa/test-apps/duim-test-suite ran and showed me lots of stuff to work on.

But:
Everything else would not build. I always get either one of the 
following errors:

| $ opendylan -build sources/duim/examples/reversi/reversi.lid
[...]
| Opened project reversi
| Internal error: : No such file or directory: Can't get the
| modification date of
| /usr/local/opendylan-1.0beta4/sources/gtk-2/gobject-2/gobject-2.lid
| Exiting with return code -1

I dont even have a gtk-2 folder, is it in another branch or did you 
forget to check it in? Or is it what gobject2-tool generates? In that 
case, what exaclty should go into the lid? Do you have an example?

OR:

| $ opendylan -build sources/duim/gtk/gtk-duim.lid
[...]
| Opened project gtk-duim
| Project file for missing 'gtk':

Which I could not find.
(find . -iname "gtk.lid" -o -iname "gtk.hdp" didnt find anything)

>  -> branches/opendylan-melange contains the melange

The gtk-hello-world-unix.hdp also wants the gtk project file :(

gobject2-tool produced some definitions, but I'm not sure how to use 
them. I guess they're only needed for generating bindings for a new 
version of GTK?

> But you can just use the duim-gui-test-suite and look what's broken.

done.

> There are no stupid questions. 

Lets see for how long you'll keep that opinion :-P

> If you encounter problems during setup,
> please ask for help. 

and done.

Cheers,

Kosta


More information about the hackers mailing list