[Gllug] gtk+ or Qt? (or others?)

Nix nix at esperi.demon.co.uk
Sat May 11 20:15:26 UTC 2002


On Sat, 11 May 2002, Dave Jones stipulated:
> On Sat, May 11, 2002 at 07:33:13PM +0100, Nix wrote:
>  > There's no way gtk2 will work for 1.2 apps; there are *major* interface
>  > differences (even the basic object type has changed).
> 
> Ok, thanks for the heads up.
> 
>  > > (Don't even get me started on libxml and backwards compatability)
>  > libxml is not the problem. libgal, *that*'s the problem. And
>  > libgnomeprint.
> 
> Yes, libgal has an interesting concept of compatability.
> Gnome folks argument seem to be 'its not a public interface', which

This is code for `it's a bit bucket of stuff shared between a rather
small number of programs that has no attention paid to ABI
compatibility'.

Myself, I link it statically so I don't have to keep relinking things
all the time :(

>                                           detecting if a compatable
> revision is installed is hell (more of a pita if libxml1 and libxml2
> are both installed, which is quite commonplace).

Oh, yes, bugfix hell :(

> Snippet of autoconf as example.. (barfbag at ready)

I think I'll need it.

> # Possible valid scenarios:
> # libxml1 1.8.8
> # libxml1 1.8.8 and libxml1 2.0.0  (use 1.8.8)
> # libxml1 1.8.8 and libxml1 2.1.0+ (use 2.1)
> # libxml1 1.8.8 and libxml2 2.3.0+ (use xml2-config to use 2.3)
> # libxml1 2.1.0+ 
> # libxml2 2.3.0+ (use xml2-config)

Argh, gak, the damn config script changed its name :(

[snip 30 lines where 10 would do for a saner package]

> It was an absolute nightmare dependancy to code for.
> Time saved from writing a parser by hand was probably easily wasted
> supporting users with fscked libxml installs.

*sigh*

Sounds *just* like writing complex packages that interact with TeX :(

> If I was to do it again, I could of course say, "sod it, minimum
> support version is libxml2 2.3.0", which is the easy way out.

But then you'd have the users saying `but I need libxml-2.0.5 for my
in-house womblecrutz project!' :(

-- 
`Look at him; the body of a nuclear physicist and the brain
 of a professional wrestler.' --- Kieran (lightly edited)

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list