[Geany-devel] Glade 2.12 won't build with recent GTK

Lex Trotman elextr at xxxxx
Thu Sep 9 23:50:51 UTC 2010


On 10 September 2010 01:10, Nick Treleaven
<nick.treleaven at btinternet.com> wrote:
> On Thu, 9 Sep 2010 22:09:18 +1000
> Lex Trotman <elextr at gmail.com> wrote:
>
>> >> [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
>> >
>> > So part of GTK 2.x isn't usable? Why won't they fix the bug? Surely
>> > deprecated stuff should be supported until 3.x.
>>
>> With GTK, in general deprecated seems to mean unsupported, so unlikely :-(.
>
> This seems bad for a toolkit as important as GTK.

True, but being philosophical this morning, I'd observe its a common
problem of volunteer supported software, no one is interested in
supporting old stuff, and those in the GTK team paid by companies are
of course only interested in things the companies are interested in.
It shouldn't be marked resolved though!

An in this specific case CList is a GTK-1 widget (I believe) so its
waaaaaay deprecated.

>
>> > I suppose the only workaround for Erik is to install an earlier GTK to
>> > build Glade 2.12 with and regenerate the interface.c file.
>>
>> Downgrading a GTK version can have major follow-on effects on all the
>> things that depend on it, I for one won't be doing it.
>
> I wasn't suggesting downgrading, that would be next to impossible on a
> Gnome system. I meant having a parallel install of GTK. I haven't tried
> it myself but have heard people say they do that.

Or I guess it could be run in a VM.

>
>> > Glade 2.12.2 is about 2.5 years old so I think it's not too old for GTK
>> > to drop support for it.
>>
>> Nobody is interested in it, its even hard to find a download of 2.12
>
> Latest Fedora still seems to package it:
> http://rpmfind.net/linux/rpm2html/search.php?query=glade2&system=fedora

Must be using an older GTK or maybe they hacked a fix.

>
>> now.  In fact Geany probably should have a tarball on the hacking page
>> with the GTK docs.
>
> Good idea.
>
>> Note that Glade 3.7 (current) claims to support GTK2.8
>
> Interesting.
>
>> but only via
>> libglade loading XML, not code generation like interface.c.  That
>> would entail a major change in Geany and another dependency
>> (libglade).
>
> I think the dependency issue isn't too important. We need to have a UI
> designer IMO and glade2 needs replacing.
>
> Maybe it's time to upgrade (after the next release?).

Indeed, maybe its time to think about the whole UI implementation, eg
using UIManager for the menu & toolbar which helps with integration of
plugin extensions and allows things like build systems to add to them
easily :-).

And maybe (not really important) clean up some of the extraneous 1s in
the names.

Cheers
Lex

>
> Regards,
> Nick
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>



More information about the Devel mailing list