opensubscriber
   Find in this group all groups
 
Unknown more information…

d : discuss-gnustep@gnu.org 16 August 2009 • 6:14AM -0400

Re: Install resources for a tool
by Nicola Pero

REPLY TO AUTHOR
 
REPLY TO GROUP





> Thank you for your excellent answer. But It looks like it isn't  
> working for
> me. My currenr makefile is now:
>
> but when i install it I cannot find the resources anywhere in the  
> GNUstep
> directory. Only the binary in the subdirectory tools.

Thanks Martin.

It works for me.  The tool binary is installed into

  /usr/GNUstep/Local/Tools

and the tool's resource bundle is installed into

  /usr/GNUstep/Local/Library/Tools/Resources/

Try 'make install messages=yes' to see where it is being installed.  
Is it being installed at all ?

If it's being installed as in my case, while the location might seem  
difficult to find at runtime, it's actually very easy to find - just  
call [NSBundle mainBundle] inside your tool.

> Another point I'm thinking about is the wrong category I use. A game  
> isn't a
> tool. It's an application. But the application project type links to  
> the gui
> libs. Is there a way to get rid of this dependency? And if not, is  
> there an
> automated way to install a new project type file. for example  
> sdlgame.make
> with the sdl wrapper?

Yes, you could use xxx_NEEDS_GUI = NO. :-)

You could produce an sdlgame.make, but it's probably more work than  
it's worth.

Thanks


_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu....
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.