]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.653
- add patches 7.3.619-743
[packages/vim.git] / 7.3.653
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.653
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.653
11 Problem:    MingW needs build rule for included XPM files.  Object directory
12             for 32 and 64 builds is the same, also for MSVC.
13 Solution:   Add MingW build rule to use included XPM files.  Add the CPU or
14             architecture to the object directory name. (Sergey Khorev)
15 Files:      src/Make_ming.mak, src/Make_mvc.mak, src/xpm/README.txt
16
17
18 *** ../vim-7.3.652/src/Make_ming.mak    2012-08-02 21:21:43.000000000 +0200
19 --- src/Make_ming.mak   2012-09-05 17:43:11.000000000 +0200
20 ***************
21 *** 1,14 ****
22 ! # Makefile for VIM on Win32, using 'EGCS/mingw32 1.1.2'.
23   # Info at http://www.mingw.org
24 ! # Also requires 'GNU make 3.77', which you can get through a link
25 ! # to 'JanJaap's page from the above page.
26   # Get missing libraries from http://gnuwin32.sf.net.
27   #
28   # Tested on Win32 NT 4 and Win95.
29   #
30 ! # To make everything, just 'make -f Make_ming.mak'
31 ! # To make just e.g. gvim.exe, 'make -f Make_ming.mak gvim.exe'
32 ! # After a run, you can 'make -f Make_ming.mak clean' to clean up
33   #
34   # NOTE: Sometimes 'GNU Make' will stop after building vimrun.exe -- I think
35   # it's just run out of memory or something.  Run again, and it will continue
36 --- 1,15 ----
37 ! # Makefile for VIM on Win32
38 ! #
39   # Info at http://www.mingw.org
40 ! # Alternative x86 and 64-builds: http://mingw-w64.sourceforge.net
41 ! # Also requires GNU make, which you can download from the same sites.
42   # Get missing libraries from http://gnuwin32.sf.net.
43   #
44   # Tested on Win32 NT 4 and Win95.
45   #
46 ! # To make everything, just 'make -f Make_ming.mak'.
47 ! # To make just e.g. gvim.exe, 'make -f Make_ming.mak gvim.exe'.
48 ! # After a run, you can 'make -f Make_ming.mak clean' to clean up.
49   #
50   # NOTE: Sometimes 'GNU Make' will stop after building vimrun.exe -- I think
51   # it's just run out of memory or something.  Run again, and it will continue
52 ***************
53 *** 20,27 ****
54   # "make mpress" uses the MPRESS compressor for 32- and 64-bit EXEs:
55   #     http://www.matcode.com/mpress.htm
56   #
57 ! # Maintained by Ron Aaron <ronaharon@yahoo.com>
58 ! # updated 2003 Jan 20
59   
60   #>>>>> choose options:
61   # set to yes for a debug build
62 --- 21,28 ----
63   # "make mpress" uses the MPRESS compressor for 32- and 64-bit EXEs:
64   #     http://www.matcode.com/mpress.htm
65   #
66 ! # Maintained by Ron Aaron <ronaharon@yahoo.com> et al.
67 ! # Updated 2012 Sep 5.
68   
69   #>>>>> choose options:
70   # set to yes for a debug build
71 ***************
72 *** 31,62 ****
73   # set to yes to make gvim, no for vim
74   GUI=yes
75   # FEATURES=[TINY | SMALL  | NORMAL | BIG | HUGE]
76 ! # set to TINY to make minimal version (few features)
77   FEATURES=BIG
78 ! # set to one of i386, i486, i586, i686 as the minimum target processor
79   ARCH=i386
80 ! # set to yes to cross-compile from unix; no=native Windows
81   CROSS=no
82 ! # set to path to iconv.h and libiconv.a to enable using 'iconv.dll'
83   #ICONV="."
84   ICONV=yes
85   GETTEXT=yes
86 ! # set to yes to include multibyte support
87   MBYTE=yes
88 ! # set to yes to include IME support
89   IME=yes
90   DYNAMIC_IME=yes
91 ! # set to yes to enable writing a postscript file with :hardcopy
92   POSTSCRIPT=no
93 ! # set to yes to enable OLE support
94   OLE=no
95 ! # Set the default $(WINVER) to make it work with pre-Win2k
96   ifndef WINVER
97   WINVER = 0x0500
98   endif
99 ! # Set to yes to enable Cscope support
100   CSCOPE=yes
101 ! # Set to yes to enable Netbeans support
102   NETBEANS=$(GUI)
103   
104   
105 --- 32,64 ----
106   # set to yes to make gvim, no for vim
107   GUI=yes
108   # FEATURES=[TINY | SMALL  | NORMAL | BIG | HUGE]
109 ! # Set to TINY to make minimal version (few features).
110   FEATURES=BIG
111 ! # Set to one of i386, i486, i586, i686 as the minimum target processor.
112 ! # For amd64/x64 architecture set ARCH=x86-64 .
113   ARCH=i386
114 ! # Set to yes to cross-compile from unix; no=native Windows.
115   CROSS=no
116 ! # Set to path to iconv.h and libiconv.a to enable using 'iconv.dll'.
117   #ICONV="."
118   ICONV=yes
119   GETTEXT=yes
120 ! # Set to yes to include multibyte support.
121   MBYTE=yes
122 ! # Set to yes to include IME support.
123   IME=yes
124   DYNAMIC_IME=yes
125 ! # Set to yes to enable writing a postscript file with :hardcopy.
126   POSTSCRIPT=no
127 ! # Set to yes to enable OLE support.
128   OLE=no
129 ! # Set the default $(WINVER) to make it work with pre-Win2k.
130   ifndef WINVER
131   WINVER = 0x0500
132   endif
133 ! # Set to yes to enable Cscope support.
134   CSCOPE=yes
135 ! # Set to yes to enable Netbeans support.
136   NETBEANS=$(GUI)
137   
138   
139 ***************
140 *** 431,441 ****
141   endif
142   endif
143   
144 - ifdef XPM
145   # Only allow XPM for a GUI build.
146   ifeq (yes, $(GUI))
147 ! CFLAGS += -DFEAT_XPM_W32 -I $(XPM)/include
148   endif
149   endif
150   
151   ifeq ($(DEBUG),yes)
152 --- 433,464 ----
153   endif
154   endif
155   
156   # Only allow XPM for a GUI build.
157   ifeq (yes, $(GUI))
158
159 ! ifndef XPM
160 ! ifeq ($(ARCH),i386)
161 ! XPM = xpm/x86
162 ! endif
163 ! ifeq ($(ARCH),i486)
164 ! XPM = xpm/x86
165 ! endif
166 ! ifeq ($(ARCH),i586)
167 ! XPM = xpm/x86
168 ! endif
169 ! ifeq ($(ARCH),i686)
170 ! XPM = xpm/x86
171   endif
172 + ifeq ($(ARCH),x86-64)
173 + XPM = xpm/x64
174 + endif
175 + endif
176 + ifdef XPM
177 + ifneq ($(XPM),no)
178 + CFLAGS += -DFEAT_XPM_W32 -I $(XPM)/include -I $(XPM)/../include
179 + endif
180 + endif
181
182   endif
183   
184   ifeq ($(DEBUG),yes)
185 ***************
186 *** 565,574 ****
187   DEFINES += $(DEF_GUI)
188   OBJ += $(GUIOBJ)
189   LFLAGS += -mwindows
190 ! OUTDIR = gobj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX)
191   else
192   TARGET := vim$(DEBUG_SUFFIX).exe
193 ! OUTDIR = obj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX)
194   endif
195   
196   ifdef GETTEXT
197 --- 588,597 ----
198   DEFINES += $(DEF_GUI)
199   OBJ += $(GUIOBJ)
200   LFLAGS += -mwindows
201 ! OUTDIR = gobj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX)$(ARCH)
202   else
203   TARGET := vim$(DEBUG_SUFFIX).exe
204 ! OUTDIR = obj$(DEBUG_SUFFIX)$(MZSCHEME_SUFFIX)$(ARCH)
205   endif
206   
207   ifdef GETTEXT
208 *** ../vim-7.3.652/src/Make_mvc.mak     2012-08-29 14:18:26.000000000 +0200
209 --- src/Make_mvc.mak    2012-09-05 17:33:56.000000000 +0200
210 ***************
211 *** 213,218 ****
212 --- 213,219 ----
213   # We're on Windows 95
214   CPU = i386
215   !endif # !PROCESSOR_ARCHITECTURE
216 + OBJDIR = $(OBJDIR)$(CPU)
217   
218   # Build a retail version by default
219   
220 ***************
221 *** 283,292 ****
222   
223   !ifndef XPM
224   # XPM is not set, use the included xpm files, depending on the architecture.
225 ! !if ("$(CPU)" == "AMD64") || ("$(CPU)" == "IA64")
226   XPM = xpm\x64
227 ! !else
228   XPM = xpm\x86
229   !endif
230   !endif
231   !if "$(XPM)" != "no"
232 --- 284,295 ----
233   
234   !ifndef XPM
235   # XPM is not set, use the included xpm files, depending on the architecture.
236 ! !if "$(CPU)" == "AMD64"
237   XPM = xpm\x64
238 ! !elseif "$(CPU)" == "i386"
239   XPM = xpm\x86
240 + !else
241 + XPM = no
242   !endif
243   !endif
244   !if "$(XPM)" != "no"
245 *** ../vim-7.3.652/src/xpm/README.txt   2012-08-29 14:18:26.000000000 +0200
246 --- src/xpm/README.txt  2012-09-05 17:35:34.000000000 +0200
247 ***************
248 *** 10,15 ****
249 --- 10,18 ----
250   MinGW:
251   mingw32-make -f Make_ming.mak GUI=yes CSCOPE=yes XPM=e:/hg/xpm/x86
252   
253 + MinGW 64 for x64:
254 + mingw32-make -f Make_ming.mak GUI=yes ARCH=x86-64 XPM=E:\HG\xpm\x64
255
256   Microsoft Visual C++ on x64 (tested with versions 2008 and 2010):
257   nmake -f Make_mvc.mak GUI=yes CSCOPE=yes XPM=E:\HG\xpm\x64
258   
259 *** ../vim-7.3.652/src/version.c        2012-09-05 17:28:08.000000000 +0200
260 --- src/version.c       2012-09-05 17:53:15.000000000 +0200
261 ***************
262 *** 721,722 ****
263 --- 721,724 ----
264   {   /* Add new patch number below this line */
265 + /**/
266 +     653,
267   /**/
268
269 -- 
270 GUARD #2:  Wait a minute -- supposing two swallows carried it together?
271 GUARD #1:  No, they'd have to have it on a line.
272 GUARD #2:  Well, simple!  They'd just use a standard creeper!
273 GUARD #1:  What, held under the dorsal guiding feathers?
274 GUARD #2:  Well, why not?
275                                   The Quest for the Holy Grail (Monty Python)
276
277  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
278 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
279 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
280  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.04649 seconds and 3 git commands to generate.