|
Karsten Hopp |
2c9f4b |
To: vim-dev@vim.org
|
|
Karsten Hopp |
2c9f4b |
Subject: patch 7.1.122
|
|
Karsten Hopp |
2c9f4b |
Fcc: outbox
|
|
Karsten Hopp |
2c9f4b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
2c9f4b |
Mime-Version: 1.0
|
|
Karsten Hopp |
2c9f4b |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
2c9f4b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
2c9f4b |
------------
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
Patch 7.1.122
|
|
Karsten Hopp |
2c9f4b |
Problem: Mac: building Vim.app fails. Using wrong architecture.
|
|
Karsten Hopp |
2c9f4b |
Solution: Use line continuation for the gui_bundle dependency. Detect the
|
|
Karsten Hopp |
2c9f4b |
system architecture with "uname -a".
|
|
Karsten Hopp |
2c9f4b |
Files: src/main.aap
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
*** ../vim-7.1.121/src/main.aap Thu May 10 18:48:19 2007
|
|
Karsten Hopp |
2c9f4b |
--- src/main.aap Tue Sep 25 21:26:03 2007
|
|
Karsten Hopp |
2c9f4b |
***************
|
|
Karsten Hopp |
2c9f4b |
*** 56,64 ****
|
|
Karsten Hopp |
2c9f4b |
config {virtual} auto/config.h auto/config.aap :
|
|
Karsten Hopp |
2c9f4b |
auto/configure.aap configure.aap
|
|
Karsten Hopp |
2c9f4b |
config.arg config.h.in config.aap.in
|
|
Karsten Hopp |
2c9f4b |
:sys CONFIG_STATUS=auto/config.status
|
|
Karsten Hopp |
2c9f4b |
./configure.aap `file2string("config.arg")`
|
|
Karsten Hopp |
2c9f4b |
! --with-mac-arch=ppc
|
|
Karsten Hopp |
2c9f4b |
--cache-file=auto/config.cache
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
# Configure arguments: create an empty "config.arg" file when its missing
|
|
Karsten Hopp |
2c9f4b |
--- 56,71 ----
|
|
Karsten Hopp |
2c9f4b |
config {virtual} auto/config.h auto/config.aap :
|
|
Karsten Hopp |
2c9f4b |
auto/configure.aap configure.aap
|
|
Karsten Hopp |
2c9f4b |
config.arg config.h.in config.aap.in
|
|
Karsten Hopp |
2c9f4b |
+ # Use "uname -a" to detect the architecture of the system.
|
|
Karsten Hopp |
2c9f4b |
+ @ok, uname = redir_system('uname -a', 0)
|
|
Karsten Hopp |
2c9f4b |
+ @if string.find(uname, "i386") >= 0:
|
|
Karsten Hopp |
2c9f4b |
+ @ arch = "i386"
|
|
Karsten Hopp |
2c9f4b |
+ @else:
|
|
Karsten Hopp |
2c9f4b |
+ @ arch = "ppc"
|
|
Karsten Hopp |
2c9f4b |
+ :print Building for $arch system
|
|
Karsten Hopp |
2c9f4b |
:sys CONFIG_STATUS=auto/config.status
|
|
Karsten Hopp |
2c9f4b |
./configure.aap `file2string("config.arg")`
|
|
Karsten Hopp |
2c9f4b |
! --with-mac-arch=$arch
|
|
Karsten Hopp |
2c9f4b |
--cache-file=auto/config.cache
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
# Configure arguments: create an empty "config.arg" file when its missing
|
|
Karsten Hopp |
2c9f4b |
***************
|
|
Karsten Hopp |
2c9f4b |
*** 1167,1173 ****
|
|
Karsten Hopp |
2c9f4b |
:symlink `os.getcwd()`/../runtime $RESDIR/vim/runtime
|
|
Karsten Hopp |
2c9f4b |
# TODO: Create the vimtutor application.
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
! gui_bundle {virtual}: $(RESDIR) bundle-dir bundle-executable bundle-info
|
|
Karsten Hopp |
2c9f4b |
bundle-resource bundle-language
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
bundle-dir {virtual}: $(APPDIR)/Contents $(VIMTARGET)
|
|
Karsten Hopp |
2c9f4b |
--- 1174,1180 ----
|
|
Karsten Hopp |
2c9f4b |
:symlink `os.getcwd()`/../runtime $RESDIR/vim/runtime
|
|
Karsten Hopp |
2c9f4b |
# TODO: Create the vimtutor application.
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
! gui_bundle {virtual}: $(RESDIR) bundle-dir bundle-executable bundle-info \
|
|
Karsten Hopp |
2c9f4b |
bundle-resource bundle-language
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
bundle-dir {virtual}: $(APPDIR)/Contents $(VIMTARGET)
|
|
Karsten Hopp |
2c9f4b |
***************
|
|
Karsten Hopp |
2c9f4b |
*** 1187,1193 ****
|
|
Karsten Hopp |
2c9f4b |
:sys m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
bundle-resource {virtual}: bundle-dir bundle-rsrc
|
|
Karsten Hopp |
2c9f4b |
! :copy {force} $(RSRC_DIR)/*.icns $(RESDIR)
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
### Classic resources
|
|
Karsten Hopp |
2c9f4b |
# Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
|
|
Karsten Hopp |
2c9f4b |
--- 1194,1200 ----
|
|
Karsten Hopp |
2c9f4b |
:sys m4 $(M4FLAGSX) infplist.xml > $(APPDIR)/Contents/Info.plist
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
bundle-resource {virtual}: bundle-dir bundle-rsrc
|
|
Karsten Hopp |
2c9f4b |
! :copy {force} $(RSRC_DIR)/*.icns $(RESDIR)
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
### Classic resources
|
|
Karsten Hopp |
2c9f4b |
# Resource fork (in the form of a .rsrc file) for Classic Vim (Mac OS 9)
|
|
Karsten Hopp |
2c9f4b |
*** ../vim-7.1.121/src/version.c Tue Sep 25 20:39:14 2007
|
|
Karsten Hopp |
2c9f4b |
--- src/version.c Tue Sep 25 22:12:16 2007
|
|
Karsten Hopp |
2c9f4b |
***************
|
|
Karsten Hopp |
2c9f4b |
*** 668,669 ****
|
|
Karsten Hopp |
2c9f4b |
--- 668,671 ----
|
|
Karsten Hopp |
2c9f4b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
2c9f4b |
+ /**/
|
|
Karsten Hopp |
2c9f4b |
+ 122,
|
|
Karsten Hopp |
2c9f4b |
/**/
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
--
|
|
Karsten Hopp |
2c9f4b |
Men may not be seen publicly in any kind of strapless gown.
|
|
Karsten Hopp |
2c9f4b |
[real standing law in Florida, United States of America]
|
|
Karsten Hopp |
2c9f4b |
|
|
Karsten Hopp |
2c9f4b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
2c9f4b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
2c9f4b |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
2c9f4b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|