Am 12.09.2011 21:42, schrieb Albrecht Dreß:
> Hi Michael:
>
>> there are two issues with the script here:
>> 1. "echo -e" is not POSIX, so the generated Info.plist might (and indeed
>> does!) contain all those "-e"s
>
> Oops - this works on Tiger.  You have a later release I guess?  Then Apple 
> *downgraded* echo to a less capable version!
>
>> 2. each make invocation adds another CFBundleDocumentTypes array to
>> Info.plist
>
> Yes, that's true.  Didn't see that as I always remove the bin folder before 
> re-building as the build process gets confused if I fix the bundle libs 
> before a re-build.
>
> Maybe the attached solution is the better one - just let cmake do the dirty 
> work.  To this end, we have to supply a tweaked Info.plist template, which 
> already contains the file types and the signature.  Apart from that, it's the 
> template from cmake 2.6.  Then we can also omit the extra target (which was 
> misplaced, btw, as it was executed only if translation is enabled.
>
> Best,
> Albrecht.


Patch applied and committed.

Oliver

------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to