[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lacking icons etc: GNUstep/Solaris
From: |
Fred Kiefer |
Subject: |
Re: Lacking icons etc: GNUstep/Solaris |
Date: |
Tue, 24 Aug 2004 20:49:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 |
Graham J Lee wrote:
Hello,
I'm trying to set up GNUstep on Solaris 7[*] on an Ultra 5. All of core
has installed properly (or at least without error), gdomap is launched
at boot time and gdnc/gpbs are launched from my BASH .profile after
sourcing GNUstep.sh. I've opted for the xlib backend; I tried using art
but when I openapp'ed applications they failed with "No fonts found!"
You seem to be missing the nfont package for the art backend. Sorry I
cannot find the link to this at the moment.
With the xlib backend, programs launch but none of the icons, arrows,
button graphics etc. are displayed. The programs log messages of the
following type:
--8<--
2004-08-24 14:11:30.000 EasyDiff[12270] NSImage:
compositeToPoint:fromRect:operation: failed due to
NSInternalInconsistencyException: Cannot find stored representation
--8<--
This problem should be independent of the backend you use, as it seems
to happen in the functionrepd_for_rep() in the gui file NSImage.m. And I
don't have the slightest glue, why this may be failing for you. You may
want to add some debug code in that functions and report the result of
that. E.G.:
static GSRepData*
repd_for_rep(NSArray *_reps, NSImageRep *rep)
{
NSEnumerator *enumerator = [_reps objectEnumerator];
IMP nextImp = [enumerator methodForSelector: @selector(nextObject)];
GSRepData *repd;
NSLog(@"_reps %@ %d", _reps, rep);
while ((repd = (*nextImp)(enumerator, @selector(nextObject))) != nil)
{
NSLog(@"repd->rep %d", repd->rep);
if (repd->rep == rep)
{
return repd;
}
}
[NSException raise: NSInternalInconsistencyException
format: @"Cannot find stored representation"];
/* NOT REACHED */
return nil;
}