4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Mac: building Vim.app fails. Using wrong architecture.
12 Solution: Use line continuation for the gui_bundle dependency. Detect the
13 system architecture with "uname -a".
17 *** ../vim-7.1.121/src/main.aap Thu May 10 18:48:19 2007
18 --- src/main.aap Tue Sep 25 21:26:03 2007
21 config {virtual} auto/config.h auto/config.aap :
22 auto/configure.aap configure.aap
23 config.arg config.h.in config.aap.in
24 :sys CONFIG_STATUS=auto/config.status
25 ./configure.aap `file2string("config.arg")`
27 --cache-file=auto/config.cache
29 # Configure arguments: create an empty "config.arg" file when its missing
31 config {virtual} auto/config.h auto/config.aap :
32 auto/configure.aap configure.aap
33 config.arg config.h.in config.aap.in
34 + # Use "uname -a" to detect the architecture of the system.
35 + @ok, uname = redir_system('uname -a', 0)
36 + @if string.find(uname, "i386") >= 0:
40 + :print Building for $arch system
41 :sys CONFIG_STATUS=auto/config.status
42 ./configure.aap `file2string("config.arg")`
43 ! --with-mac-arch=$arch
44 --cache-file=auto/config.cache
46 # Configure arguments: create an empty "config.arg" file when its missing
49 :symlink `os.getcwd()`/../runtime $RESDIR/vim/runtime
50 # TODO: Create the vimtutor application.
52 ! gui_bundle {virtual}: $(RESDIR) bundle-dir bundle-executable bundle-info
53 bundle-resource bundle-language
55 bundle-dir {virtual}: $(APPDIR)/Contents $(VIMTARGET)
57 :symlink `os.getcwd()`/../runtime $RESDIR/vim/runtime
58 # TODO: Create the vimtutor application.
60 ! gui_bundle {virtual}: $(RESDIR) bundle-dir bundle-executable bundle-info \
61 bundle-resource bundle-language
63 bundle-dir {virtual}: $(APPDIR)/Contents $(VIMTARGET)
66 :sys m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
68 bundle-resource {virtual}: bundle-dir bundle-rsrc
69 ! :copy {force} $(RSRC_DIR)/*.icns $(RESDIR)
72 # Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
74 :sys m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
76 bundle-resource {virtual}: bundle-dir bundle-rsrc
77 ! :copy {force} $(RSRC_DIR)/*.icns $(RESDIR)
80 # Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
81 *** ../vim-7.1.121/src/version.c Tue Sep 25 20:39:14 2007
82 --- src/version.c Tue Sep 25 22:12:16 2007
86 { /* Add new patch number below this line */
92 Men may not be seen publicly in any kind of strapless gown.
93 [real standing law in Florida, United States of America]
95 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
96 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
97 \\\ download, build and distribute -- http://www.A-A-P.org ///
98 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///