[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmodel loading appears to be broken

From: Yavor Doganov
Subject: Re: gmodel loading appears to be broken
Date: Sun, 29 Aug 2010 12:13:29 +0300
User-agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.7 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Fred Kiefer wrote:
> Am 28.08.2010 19:52, schrieb Yavor Doganov:
> > Another question: Is the fix going to be ABI-compatible with 0.18?
> If you insist on ABI compatibility the best thing I can do is this
> horrible hack.

Well, I'm not in the position to insist on anything.  I prefer the fix
to be ABI-compatible, otherwise we'll have to rebuild again +50
packages on 14 architectures, delaying the transition even more.

But if you want the fix included in 0.18.1, it has to be
ABI-compatible with 0.18.0 according to the GNUstep release policy...

> Add these two methods to GSGModelLoader:
> - (NSData *) dataForFile: (NSString *)fileName
> {
>   // Horrible hack
>   return (NSData*)fileName;
> }
> - (BOOL) loadModelData: (NSData *)data
>      externalNameTable: (NSDictionary *)context
>               withZone: (NSZone *)zone
> {
>   // Horrible hack
>   return [self loadModelFile: (NSString *)data
>            externalNameTable: context
>                     withZone: zone];
> }

I confirm this trick works, so I'm going to apply it as
Debian-specific patch.  Thanks!

> At the moment I cannot find any working application that still uses
> GModel files.

Perhaps this is a strong indication that GModel should be completely
deprecated in 0.20.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]