summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0712
blob: 16638c87befa6b165c8edcb3322582375833f9c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0712
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0712
Problem:    MS-Windows build instructions are a bit outdated.
Solution:   Update the instructions. (Ken Takata)
Files:	    src/INSTALLpc.txt


*** ../vim-8.1.0711/src/INSTALLpc.txt	2018-09-18 22:58:36.999976835 +0200
--- src/INSTALLpc.txt	2019-01-09 22:56:48.743208990 +0100
***************
*** 496,501 ****
--- 496,521 ----
      nmake -f Make_mvc.mak
          PYTHON=C:\Python27 DYNAMIC_PYTHON=yes PYTHON_VER=27
  
+ When using MinGW and link with the official Python (as one line):
+ 
+     mingw32-make -f Make_ming.mak
+         PYTHON=C:/Python27 DYNAMIC_PYTHON=yes PYTHON_VER=27
+ 
+ When using msys2 and link with Python2 bundled with msys2 (as one line):
+ 
+     mingw32-make -f Make_ming.mak PYTHON=c:/msys64/mingw64
+         PYTHON_HOME=c:/msys64/mingw64
+         PYTHONINC=-Ic:/msys64/mingw64/include/python2.7
+         DYNAMIC_PYTHON=yes
+         PYTHON_VER=27
+         DYNAMIC_PYTHON_DLL=libpython2.7.dll
+         STATIC_STDCPLUS=yes
+ 
+ (This is for 64-bit builds.  For 32-bit builds, replace mingw64 with mingw32.)
+ (STATIC_STDCPLUS is optional.  Set to yes if you don't want to require
+ libstdc++-6.dll.)
+ 
+ 
  (rest written by Ron Aaron: <ronaharon@yahoo.com>)
  
  Building with the mingw32 compiler, and the ActiveState ActivePython:
***************
*** 517,533 ****
  Now just do:
      make -f Make_ming.mak gvim.exe
  
- And if you use msys2 to build python support (as one line):
- 
-     mingw32-make -f Make_ming.mak PYTHON=c:/msys64/mingw64
-         PYTHON_HOME=c:/msys64/mingw64
-         PYTHONINC=-Ic:/msys64/mingw64/include/python2.7
-         DYNAMIC_PYTHON=yes
-         PYTHON_VER=27
-         DYNAMIC_PYTHON_DLL=libpython2.7.dll
-         STATIC_STDCPLUS=yes
- 
- (This is for 64-bit builds.  For 32-bit builds, replace mingw64 with mingw32.)
  You will end up with a Python-enabled, Win32 version. Enjoy!
  
  
--- 537,542 ----
***************
*** 548,553 ****
--- 557,566 ----
      nmake -f Make_mvc.mak
          PYTHON3=C:\Python36 DYNAMIC_PYTHON3=yes PYTHON3_VER=36
  
+ When using MinGW and link with the official Python3 (as one line):
+ 
+     mingw32-make -f Make_ming.mak
+         PYTHON3=C:/Python36 DYNAMIC_PYTHON3=yes PYTHON3_VER=36
  
  When using msys2 and link with Python3 bundled with msys2 (as one line):
  
***************
*** 560,565 ****
--- 573,580 ----
          STATIC_STDCPLUS=yes
  
  (This is for 64-bit builds.  For 32-bit builds, replace mingw64 with mingw32.)
+ (STATIC_STDCPLUS is optional.  Set to yes if you don't want to require
+ libstdc++-6.dll.)
  
  
  9. Building with Racket or MzScheme support
***************
*** 833,843 ****
  
      mingw32-make -f Make_ming.mak
          RUBY=C:/Ruby24 DYNAMIC_RUBY=yes RUBY_VER=24 RUBY_API_VER_LONG=2.4.0
!         WINVER=0x501
  
  For 64-bit version, replace RUBY=C:/Ruby24 with RUBY=C:/Ruby24-x64.
  If you set WINVER explicitly, it must be set to >=0x500, when building with
! Ruby 2.1 or later.  (Default is 0x501.)
  
  
  
--- 848,858 ----
  
      mingw32-make -f Make_ming.mak
          RUBY=C:/Ruby24 DYNAMIC_RUBY=yes RUBY_VER=24 RUBY_API_VER_LONG=2.4.0
!         WINVER=0x600
  
  For 64-bit version, replace RUBY=C:/Ruby24 with RUBY=C:/Ruby24-x64.
  If you set WINVER explicitly, it must be set to >=0x500, when building with
! Ruby 2.1 or later.  (Default is 0x600.)
  
  
  
***************
*** 849,855 ****
  
      http://www.activestate.com/activetcl
  
! For MSVC 2015 use version 8.6.6 or later.
  When building, you need to set the following variables:
  
      TCL:          Where tcl is installed. E.g. C:\Tcl86
--- 864,877 ----
  
      http://www.activestate.com/activetcl
  
! Alternatively, you can use the binaries provided by IronTcl from
! 
!     https://www.irontcl.com/
! 
! They might lack behind the latest version a bit, but should provide 64bit
! and 32bit versions even if ActiveTcl does not provide them anymore.
! 
! For building with MSVC 2015 use version 8.6.6 or later.
  When building, you need to set the following variables:
  
      TCL:          Where tcl is installed. E.g. C:\Tcl86
***************
*** 944,987 ****
  After you've built the Vim binaries as described above, you're ready to
  install Vim on your system.  However, if you've obtained the Vim sources
  using Git, Mercurial or by downloading them as a unix tar file, you must
! first create a "vim80" directory.  If you instead downloaded the sources as
  zip files, you can skip this setup as the zip archives already have the
  correct directory structure.
  
!   A.  Create a Vim "runtime" subdirectory named "vim80"
    -----------------------------------------------------
    If you obtained your Vim sources as zip files, you can skip this step.
    Otherwise, continue reading.
  
    Go to the directory that contains the Vim "src" and "runtime"
!   directories and create a new subdirectory named "vim80".
  
!   Copy the "runtime" files into "vim80":
!      copy runtime\* vim80
  
!   B.  Copy the new binaries into the "vim80" directory
    ----------------------------------------------------
    Regardless of how you installed the Vim sources, you need to copy the
!   new binaries you created above into "vim80":
  
!      copy src\*.exe vim80
!      copy src\tee\tee.exe vim80
!      copy src\xxd\xxd.exe vim80
  
    To install the "Edit with Vim" popup menu, you need both 32-bit and 64-bit
!   versions of gvimext.dll.  They should be copied to "vim80\GvimExt32" and
!   "vim80\GvimExt64" respectively.
    First, build the 32-bit version, then:
  
!      mkdir vim80\GvimExt32
!      copy src\GvimExt\gvimext.dll vim80\GvimExt32
  
    Next, clean the 32-bit version and build the 64-bit version, then:
  
!      mkdir vim80\GvimExt64
!      copy src\GvimExt\gvimext.dll vim80\GvimExt64
  
!   C.  Copy gettext and iconv DLLs into the "vim80" directory
    ----------------------------------------------------------
    Get gettext and iconv DLLs from the following site:
       https://github.com/mlocati/gettext-iconv-windows/releases
--- 966,1009 ----
  After you've built the Vim binaries as described above, you're ready to
  install Vim on your system.  However, if you've obtained the Vim sources
  using Git, Mercurial or by downloading them as a unix tar file, you must
! first create a "vim81" directory.  If you instead downloaded the sources as
  zip files, you can skip this setup as the zip archives already have the
  correct directory structure.
  
!   A.  Create a Vim "runtime" subdirectory named "vim81"
    -----------------------------------------------------
    If you obtained your Vim sources as zip files, you can skip this step.
    Otherwise, continue reading.
  
    Go to the directory that contains the Vim "src" and "runtime"
!   directories and create a new subdirectory named "vim81".
  
!   Copy the "runtime" files into "vim81":
!      copy runtime\* vim81
  
!   B.  Copy the new binaries into the "vim81" directory
    ----------------------------------------------------
    Regardless of how you installed the Vim sources, you need to copy the
!   new binaries you created above into "vim81":
  
!      copy src\*.exe vim81
!      copy src\tee\tee.exe vim81
!      copy src\xxd\xxd.exe vim81
  
    To install the "Edit with Vim" popup menu, you need both 32-bit and 64-bit
!   versions of gvimext.dll.  They should be copied to "vim81\GvimExt32" and
!   "vim81\GvimExt64" respectively.
    First, build the 32-bit version, then:
  
!      mkdir vim81\GvimExt32
!      copy src\GvimExt\gvimext.dll vim81\GvimExt32
  
    Next, clean the 32-bit version and build the 64-bit version, then:
  
!      mkdir vim81\GvimExt64
!      copy src\GvimExt\gvimext.dll vim81\GvimExt64
  
!   C.  Copy gettext and iconv DLLs into the "vim81" directory
    ----------------------------------------------------------
    Get gettext and iconv DLLs from the following site:
       https://github.com/mlocati/gettext-iconv-windows/releases
***************
*** 989,995 ****
    Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract
    DLLs and place them as follows:
  
!         vim80\
              |   libintl-8.dll
              |   libiconv-2.dll
              |   libgcc_s_sjlj-1.dll     (only for 32-bit)
--- 1011,1017 ----
    Download the files gettextX.X.X.X-iconvX.XX-shared-{32,64}.zip, extract
    DLLs and place them as follows:
  
!         vim81\
              |   libintl-8.dll
              |   libiconv-2.dll
              |   libgcc_s_sjlj-1.dll     (only for 32-bit)
***************
*** 1003,1020 ****
                  libintl-8.dll
                  libiconv-2.dll
  
!   The DLLs in the "vim80" should be the same bitness with the (g)vim.exe.
  
!   D.  Move the "vim80" directory into the Vim installation subdirectory
    ---------------------------------------------------------------------
!   Move the "vim80" subdirectory into the subdirectory where you want Vim
    to be installed.  Typically, this subdirectory will be named "vim".
!   If you already have a "vim80" subdirectory in "vim", delete it first
    by running its uninstal.exe program.
  
    E.  Install Vim
    ---------------
!   "cd" to your Vim installation subdirectory "vim\vim80" and run the
    "install.exe" program.  It will ask you a number of questions about
    how you would like to have your Vim setup.  Among these are:
    - You can tell it to write a "_vimrc" file with your preferences in the
--- 1025,1042 ----
                  libintl-8.dll
                  libiconv-2.dll
  
!   The DLLs in the "vim81" should be the same bitness with the (g)vim.exe.
  
!   D.  Move the "vim81" directory into the Vim installation subdirectory
    ---------------------------------------------------------------------
!   Move the "vim81" subdirectory into the subdirectory where you want Vim
    to be installed.  Typically, this subdirectory will be named "vim".
!   If you already have a "vim81" subdirectory in "vim", delete it first
    by running its uninstal.exe program.
  
    E.  Install Vim
    ---------------
!   "cd" to your Vim installation subdirectory "vim\vim81" and run the
    "install.exe" program.  It will ask you a number of questions about
    how you would like to have your Vim setup.  Among these are:
    - You can tell it to write a "_vimrc" file with your preferences in the
*** ../vim-8.1.0711/src/version.c	2019-01-09 23:00:58.001176090 +0100
--- src/version.c	2019-01-09 23:01:56.816698716 +0100
***************
*** 801,802 ****
--- 801,804 ----
  {   /* Add new patch number below this line */
+ /**/
+     712,
  /**/

-- 
I wish there was a knob on the TV to turn up the intelligence.
There's a knob called "brightness", but it doesn't seem to work. 

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///