hi list,
I experienced some packaging problems since I use --enable-osxapp and since the reopening of HEAD (I don't know which of these could cause the problem). I hoped that Michael commits will solve them but here is what I see:
1/. I package with the instruction: ./osx-app.sh ../../inkscape_compiled/bin/inkscape ../Info.plist macosx everything seems to run fine but when I double click the newly created app I receive an error message: "You cannot open the application "Inkscape" because it may be damaged or incomplete." I looked into the app bundle and it lacks the executable so obviously it cannot run. If I run the executable from the command line in my prefix dir it works (but does not find many stuff because I compiled with the --enable-osxapp configuration option).
2/. Then I copied the executable to the app bundle. The message is gone and the application only briefly appears in the dock before quitting and in my console log I have the message:
** (process:10080): WARNING **: Could not open units file 'Contents/ Resources/ui/units.txt': No such file or directory
** (process:10080): WARNING **: * INKSCAPE_DATADIR is: '/Volumes/ files/softwares/inkscape_compiled//share'
** (process:10080): WARNING **: * INKSCAPE_UIDIR is: 'Contents/ Resources/ui'
Nothing to do!
Though, the ui directory is present in the .app bundle and readable as well as everything inside it. Maybe it looks for it in "/Volumes/ files/softwares/inkscape_compiled//share" which is my prefix dir. It should look where the bundle is... I'm using Xcode 2.1 on 10.4 and I remarked that when packaging gcc-4.0 is used by default while I compiled inkscape with gcc 3.3. could it matter? then, how could I change Xcode's default? Also I compile with an additional option as an environment variable as Michael advised: export ac_cv_lib_intl_dgettext="yes"
Any help will be appreciated. With the numerous commits into cvs I would like to build some new development builds so that people could test the new features.
JiHO --- Windows, c'est un peu comme le beaujolais nouveau : a chaque nouvelle cuvee on sait que ce sera degueulasse, mais on en prend quand meme par masochisme. --- http://jo.irisson.free.fr/