bug-gnustep
[Top][All Lists]
Advanced

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

Bug in gnustep-gui-0.6.7


From: David Barnard
Subject: Bug in gnustep-gui-0.6.7
Date: Thu, 22 Mar 2001 15:46:39 -0600 (CST)

I was unable to get gnustep-gui to build.  It kept crashing with an
error as follows:

GSFontInfo.m: In function `+[GSFontInfo encodingForRegistry:encoding:]':
GSFontInfo.m:248: `NSCyrillicStringEncoding' undeclared (first use in this
function)
GSFontInfo.m:248: (Each undeclared identifier is reported only once
GSFontInfo.m:248: for each function it appears in.)
GSFontInfo.m:250: `NSArabicStringEncoding' undeclared (first use in this
function)
GSFontInfo.m:252: `NSGreekStringEncoding' undeclared (first use in this
function)
GSFontInfo.m:254: `NSHebrewStringEncoding' undeclared (first use in this
function)
make[3]: *** [shared_obj/ix86/linux-gnu/gnu-gnu-gnu-xgps/GSFontInfo.o]
Error 1
make[2]: *** [libgnustep-gui.build] Error 2
make[1]: *** [libgnustep-gui.all.library.variables] Error 2
make[1]: Leaving directory `/usr/src/gstep/gnustep-gui-0.6.7/Source'
make: *** [internal-all] Error 2b

I grepped through all of my sources for the string
'NSCyrillicStringEncoding' and was only able to find it in this .m file
and the Changelog file of gnustep-base-0.9.3.  According to the Changelog
file in gnustep-base, this function and several others had been renamed
NSISO*  instead of NS*.  Several lines in GSFontInfo were still refering
to the old NS* names.  Changing these lines allowed the package to build
without further error.

The diff is as follows:

# diff GSFontInfo.m gnustep-gui-0.6.7/Source/GSFontInfo.m
248c248
<       return NSISOCyrillicStringEncoding;
---
>       return NSCyrillicStringEncoding;
250c250
<       return NSISOArabicStringEncoding;
---
>       return NSArabicStringEncoding;
252c252
<       return NSISOGreekStringEncoding;
---
>       return NSGreekStringEncoding;
254c254
<       return NSISOHebrewStringEncoding;
---
>       return NSHebrewStringEncoding;

Regards,

David Bararnd
david@linuxbrains.net




reply via email to

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