Hanspeter Niederstrasser wrote: > Robert Wyatt wrote: >> It seems that the upstream author has code that tries to create a Mac >> .app and so I get the following error: > > [snip] > >> mkdir -p OpenCPN.app/Contents/MacOS OpenCPN.app/Contents/Resources >> OpenCPN.app/Contents/SharedSupport >> sed "s/__VERSION__/1.3.6/;s/__COPYRIGHT_YEAR__/2009/" >> buildosx/app-bundle/Info.plist > OpenCPN.app/Contents/Info.plist >> sed: can't read buildosx/app-bundle/Info.plist: No such file or directory >> make: *** [OpenCPN.app/Contents/MacOS/opencpn] Error 2 > > Robert, > > That code is trying to replace the strings __VERSION__ and > __COPYRIGHT_YEAR__ in the file Info.plist with the correct values. This > is normal. The problem is that the file Info.plist does not exist > (which is needed for the .app bundle to work properly) and so the sed > command dies. Upstream needs to include that file in their tarball or > generate it programatically during the configure or make steps.
They have it in their CVS sources <http://opencpn.cvs.sourceforge.net/viewvc/opencpn/opencpn/buildosx/app-bundle/Info.plist?view=log> but apparently didn't include it (the whole buildosx directory) in the tarball. OTOH, in the Makefile (as apposed to Makefile.in) that comes with the source tarball, this section is commented out. Looks like they think that it doesn't work. -- Martin ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
