On Dec 22, 2008, at 11:46 AM, björn wrote: > I finally managed to get the document icons to automatically build > with MacVim and have zipped the patches and attached it to this post. > I had quite a bit of trouble getting this to work on both Tiger and > Leopard but I believe it works now. However, it would be nice if some > brave souls would apply the patches (hint: use "git-am *.patch" > instead of patch/git-patch) and tell me if it works or not before I > push these changes.
It mostly works for me under Leopard (10.5.6). The first time I tried the build succeeded but no icons were made. It turns out the build was using Python from MacPorts which did not have PyObjC installed. I don't know if it is better to hard-code the system Python into the script or just document that MacPorts can cause problems. I did not try installing the MacPorts version of PyObjC -- it may work fine too. Once I figured out what had happened, I tried again without MacPorts in my path. The icons were not rebuilt automatically, even after doing "make distclean", "xcodebuild clean", or blowing away the "MacVim/build" directory. Removing the generated icon files out of the source directory worked and so did running the script by hand. Keith --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
