Am 19.04.2010 um 16:47 schrieb Jean-Marc Lasgouttes:

> Le 19/04/2010 16:18, Stephan Witt a écrit :
>> The reasoning was as follows:
>> * macports splits data and dict (maybe data is machine dependend and 
>> dictionaries are not?)
>>   So it becomes .../data and .../dict
>> * Qt4 (as Apple frameworks in general) puts framework resources below a 
>> Resource directory
>>   So finally it becomes 
>> APP-Dir/Contents/Frameworks/Aspell.framework/Resources/{dict,data}
>>   for the sysdir based path lookup (2).
>> * The user dir lookup was made like (2).
>> * The macports path we cannot change, it is /opt/local/share/aspell and 
>> /opt/local/lib/aspell-0.60.
>> 
>> Of course it would make sense to change these paths for other platforms.
>> Don't know what is the best choice for windows.
>> 
>> For Linux it could be:
>> (1) 
>> addName(lyx::support::package().user_support().absFilename(),"aspell/{dict,data}")
>> (2) 
>> addName(lyx::support::package().system_support().absFilename(),"aspell/{dict,data}")
>> (3) /usr/lib/aspell-0.60 or a value based on output of "aspell dump config" 
>> at local configure time
> 
> What would be wrong with having the above (1) and (2) scemes for mac
> and windows too? There are no real strong standards, anyway.

I can live with it. The code would be less cluttered.
But if I read the developer docs of mac correct there is a standard.
It is called "The anatomy of a bundle".

BTW, did you see my change for configure regarding the ASPELL_FRAMEWORK macro?
I couldn't come up with a better solution... Is this one ok?

I would prefer an #undef in config.h if --with-aspell-framework was not passed
but couldn't achieve this.

Stephan

Reply via email to