Mercurial > vim
annotate src/INSTALLmac.txt @ 32566:58df5a4cd3bc v9.0.1615
patch 9.0.1615: URL shortcut files are not recognized
Commit: https://github.com/vim/vim/commit/cdb7b4c50826df254d2e5ba8abd211e49b7a9784
Author: ObserverOfTime <chronobserver@disroot.org>
Date: Wed Jun 7 18:27:01 2023 +0100
patch 9.0.1615: URL shortcut files are not recognized
Problem: URL shortcut files are not recognized.
Solution: Add a pattern for URL shortcut files. (closes https://github.com/vim/vim/issues/12474)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 07 Jun 2023 19:30:05 +0200 |
parents | 2a17771529af |
children | 448aef880252 |
rev | line source |
---|---|
24468 | 1 INSTALLmac.txt - Installation of Vim on Apple MacOS |
7 | 2 |
3 This file contains instructions for compiling Vim. If you already have an | |
4 executable version of Vim, you don't need this. | |
5 | |
24468 | 6 MacOS Classic is no longer supported. If you really want it use Vim 6.4. |
7 Only '/' is supported as path separator. | |
7482
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
8 |
7 | 9 |
10 ---------------------------------------------------------------------------- | |
24468 | 11 Prerequisites |
7 | 12 ---------------------------------------------------------------------------- |
13 | |
24468 | 14 Make sure you've installed Xcode and CommandLineTools. You can download Xcode |
15 from the Mac App Store, for free. | |
16 | |
17 To check for CommandLineTools open a terminal and do: | |
18 | |
19 $ make --version | |
7 | 20 |
24468 | 21 If not installed yet a window pops up instructing you to install the developer |
22 tools. | |
23 | |
24 If you don't have the source yet, best is to use git (which you need to | |
25 install first), see http://www.vim.org/git.php | |
26 Or you can download and unpack the Unix tar archive, see | |
27 http://www.vim.org/download.php | |
28 | |
7 | 29 |
30 ---------------------------------------------------------------------------- | |
24468 | 31 Build and install the terminal version. |
7 | 32 ---------------------------------------------------------------------------- |
33 | |
24468 | 34 You can compile vim with the standard Unix routine: |
35 cd vim/src | |
699 | 36 make |
7482
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
37 make test |
52d76b2f56c7
commit https://github.com/vim/vim/commit/d7a08a23bf210147e846c74af570bd219e4903da
Christian Brabandt <cb@256bit.org>
parents:
856
diff
changeset
|
38 sudo make install |
7 | 39 |
24468 | 40 If you get an error "glibtool: command not found" search on stackoverflow for |
41 mac-osx-where-can-i-download-glibtool. | |
699 | 42 |
24468 | 43 With Homebrew, run: |
44 | |
45 brew install libtool | |
699 | 46 |
24468 | 47 To build libtool from source: |
48 | |
49 1. Download the source code from https://www.gnu.org/software/libtool/. | |
50 | |
51 2. Run these commands from the root of the source code directory: | |
52 | |
53 ./configure --program-prefix=g | |
54 make | |
55 sudo make install | |
699 | 56 |
674 | 57 |
24468 | 58 ---------------------------------------------------------------------------- |
59 Build and install the GUI version with X-Windows | |
60 ---------------------------------------------------------------------------- | |
7 | 61 |
32449 | 62 NOTE: this probably no longer works, since Athena support has been removed. |
63 | |
24468 | 64 First, install XQuartz, which you can download from https://www.xquartz.org. |
7 | 65 |
24468 | 66 To tell configure to use a GUI you can edit the Makefile and uncomment these |
67 two lines (remove the # at the start of the line): | |
68 | |
69 CONF_OPT_GUI = --enable-gui=athena | |
70 CONF_OPT_DARWIN = --disable-darwin | |
7 | 71 |
24468 | 72 Do "make distclean" to start with a clean slate. |
73 Then build as with the terminal version above. | |
74 Instead of "athena" you can try "gtk2" but you probably need to install GTK | |
75 first. | |
76 | |
7 | 77 |
24468 | 78 ---------------------------------------------------------------------------- |
79 Notes | |
80 ---------------------------------------------------------------------------- | |
7 | 81 |
24468 | 82 Mac-specific configure options are explained in the Makefile: |
83 --disable-darwin | |
84 --with-mac-arch | |
85 |