Le 19 avr. 10 à 17:34, Stephan Witt a écrit :
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".
Indeed. But if we put everything in LyX' resources I think we are still in the spirit of the standard. I do not think we are forced to put things within the
aspell framework.
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 passedbut couldn't achieve this.
I did a smallish clean up, but I realize that I do not know how to test it out.
Is the bundle supposed to be inside LyX bundle, or not always?Am I right that this part of code would not be necessary anymore if dictionaries are not in the framework? If yes, it would be nice to have other people who know about Mac frameworks weigh in in on sense or another. My view is that, since we use
this frmaework only internally, we do not care much.If you were to distribute it for other uses, the situation would probably be
different.One last thing: it seems to me that CFBundleGetBundleWithIdentifier can tell you where the Aspell bundle is, once you have linked against it. This would mean that
there is no need to pass the information through config.h. JMarc
macconf.diff
Description: Binary data