Re: gtk3

Maxence Guesdon <[email protected]> Mon, 28 Jan 2013 14:15:09 +0100
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Organization INRIA
Message-ID <20130128141509.694a35cc@alcazar>
On Mon, 28 Jan 2013 13:50:22 +0100
Maxence Guesdon <[email protected]> wrote:


> Hello,
> 
> I had a look at the gtk3 branch. (by the way, the branch is out of sync
> with all the changes since we use findlib. Since the src directory was
> copied in a src3 directory, files from src may have changed
> indepedently.
> 
> I propose to do the following:
> - start a new branch, gt3x or whatever,
> - create a /tools directory where to put the stub generator actually in
>   src3/introspection
> - make it use xmlm rather than xml-light, which stops when encountering
>   "/" in a XML attribute in GLib-2.0.gir
> - add a target in src/Makefile to generate stubs,
> - use these stubs in src/ files
> 
> The question whether the release should already contain stubs or not
> was raised. What do you think ? Personnaly, I think the generated stubs
> should be included in the release, so that the person which compiles do
> not have to regenerate them, depending on more installed libraries.
> The separate "stubs" target in src/Makefile would be available, anyway.

Ok, I had not seen Jacques pushed new changes :-/
I don't think maintaining an XML parser in lablgtk sources is a good
idea, so I still advocate on using Xmlm.

Chhers,

Maxence