[Geany-devel] How is src/interface.c generated?

Colomban Wendling lists.ban at xxxxx
Thu Sep 9 01:15:55 UTC 2010


Hi,

Le 09/09/2010 03:02, Erik de Castro Lopo a écrit :
> Hi all,
> 
> Could someone clue me in as to how the src/interface.c file is
> generated?
AFAIK it is generated by Glade 2.x; but I'd think it's mentioned in the
HACKING file, isn't it?

> Since its autogenerated, wouldn't it be a good idea to remove it
> from the repo? Obviously, it should be shipped in the source code
> tarball, but it is reasonable to expect that anyone working from
> SVN have whatever tool is required to generate that file.
Since Glade 2.x doesn't really exist anymore (its out-of-date and
couldn't even be compiled with recent GTK version [1]), I don't think it
is reasonable to think that every possible contributor have it.
So I think keeping it in the repository is a good thing.

That said, I think it'd be good to find a legacy-free way to generate
this file -- but I don't know if a C source generator already exists for
Glade 3.x/and or GtkBuilder...

Regards,
Colomban

[1] at least it wasn't possible without fixing an issue in GTK 2.20, see
https://bugzilla.gnome.org/show_bug.cgi?id=618639



More information about the Devel mailing list