discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Error while building Preferences.app


From: Yen-Ju Chen
Subject: Re: Error while building Preferences.app
Date: Thu, 22 May 2008 08:59:11 +0800

I remember Terminal.app matches the old GNUstep header structure.
To solve this problem, you can try to replace all the <AppKit/NS....>
into a single <AppKit/AppKit.h>
whenever there is an error regarding to headers.

As for services, the first issue you mentioned is to 'allow GNUstep to
use command-line or script as service' and the second one is to 'allow
non-GNUstep application to use GNUstep service'.
I have a small application for the first issue written a few months ago:
http://svn.gna.org/viewcvs/etoile/branches/yjchen/ScriptServices/
See README for details. It basically passes data from GNUstep
application to scripts.
For the second issue, you need a way to access GNUstep services with
non-GNUstep application since they have no menu for GNUstep services.
Then you need an GNUstep application to copy the selected text from
non-GNUstep application through X-window protocol and pass it to
GNUstep application. I also have a small tool to do such things, but
it is rather complicated to set it up:

You need Etoile MenuServer first to have a horizontal menu bar, then
use ServiceMenulet to display all the available services no matter
which application (GNUstep and non-GNUstep) is running:
http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Bundles/ServiceMenulet/
Then you need AZBackground to mediate the data from non-GNUstep
application to GNUstep application, say xterm to GNUMail.
http://svn.gna.org/viewcvs/etoile/trunk/Etoile/Services/Private/AZBackground/
Again, see README for details.

All these applications are experimental. There is no guarantee they
will work perfectly.
For unknown reason, ServiceMenulet never work for the first time, but
will work once you click the menu item again. I guess something is not
initialized at the first time.

Yen-Ju

On Thu, May 22, 2008 at 5:28 AM, Charles philip Chan
<cpchan@sympatico.ca> wrote:
> Patrick Cardona <patrick.cardona@free.fr> writes:
>
>> TerminalViewPrefs.m:439: erreur: «NSFontManager» undeclared (first use in 
>> this function)
>
> Something is very wrong with your setup here- NSFontManager is part of
> AppKit (GNUStep GUI) and the header file (AppKit/NSFontManager.h) is
> included in TerminalViewPrefs.m, so I am not sure why you are getting
> that error (I have no problems building it). Are you sure your system is
> sourcing GNUstep.conf properly?
>
> Charles
>
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>




reply via email to

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