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.

_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to