tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
macvim: 8.2.1719 -> 8.2.3455
Brian Leung
4 years ago
e5307bdd
e1bff827
+35
-37
2 changed files
expand all
collapse all
unified
split
pkgs
applications
editors
vim
macvim.nix
macvim.patch
+3
-3
pkgs/applications/editors/vim/macvim.nix
···
27
27
stdenv.mkDerivation {
28
28
pname = "macvim";
29
29
30
30
-
version = "8.2.1719";
30
30
+
version = "8.2.3455";
31
31
32
32
src = fetchFromGitHub {
33
33
owner = "macvim-dev";
34
34
repo = "macvim";
35
35
-
rev = "snapshot-166";
36
36
-
sha256 = "1p51q59l1dl5lnf1ms960lm8zfg39p8xq0pdjw6wdyypjj3r8v3v";
35
35
+
rev = "snapshot-172";
36
36
+
sha256 = "sha256-LLLQ/V1vyKTuSXzHW3SOlOejZD5AV16NthEdMoTnfko=";
37
37
};
38
38
39
39
enableParallelBuilding = true;
+32
-34
pkgs/applications/editors/vim/macvim.patch
···
1
1
diff --git a/src/MacVim/vimrc b/src/MacVim/vimrc
2
2
-
index af43549..dfb10fe 100644
2
2
+
index 32c89b387..c2af70127 100644
3
3
--- a/src/MacVim/vimrc
4
4
+++ b/src/MacVim/vimrc
5
5
-
@@ -14,35 +14,5 @@ set backspace+=indent,eol,start
6
6
-
" translated to English).
7
7
-
set langmenu=none
5
5
+
@@ -9,35 +9,5 @@ set nocompatible
6
6
+
" more sensible value. Add "set backspace&" to your ~/.vimrc to reset it.
7
7
+
set backspace+=indent,eol,start
8
8
9
9
-" Python2
10
10
-" MacVim is configured by default to use the pre-installed System python2
···
29
29
-" or an installation from python.org:
30
30
-if exists("&pythonthreedll") && exists("&pythonthreehome") &&
31
31
- \ !filereadable(&pythonthreedll)
32
32
-
- if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python")
33
33
-
- " MacPorts python 3.8
34
34
-
- set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python
35
35
-
- elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.8/Python")
32
32
+
- if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python")
33
33
+
- " MacPorts python 3.9
34
34
+
- set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.9/Python
35
35
+
- elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.9/Python")
36
36
- " https://www.python.org/downloads/mac-osx/
37
37
-
- set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.8/Python
37
37
+
- set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.9/Python
38
38
- endif
39
39
-endif
40
40
-
41
41
+" Default cscopeprg to the Nix-installed path
42
42
+set cscopeprg=@CSCOPE@
43
43
diff --git a/src/Makefile b/src/Makefile
44
44
-
index fd2d5e1..37a6d6a 100644
44
44
+
index c4a3ada37..06ee3de44 100644
45
45
--- a/src/Makefile
46
46
+++ b/src/Makefile
47
47
-
@@ -1397,7 +1397,7 @@ MACVIMGUI_SRC = gui.c gui_beval.c MacVim/gui_macvim.m MacVim/MMBackend.m \
47
47
+
@@ -1402,7 +1402,7 @@ MACVIMGUI_SRC = gui.c gui_beval.c MacVim/gui_macvim.m MacVim/MMBackend.m \
48
48
MacVim/MacVim.m
49
49
MACVIMGUI_OBJ = objects/gui.o objects/gui_beval.o \
50
50
objects/gui_macvim.o objects/MMBackend.o objects/MacVim.o
···
52
52
+MACVIMGUI_DEFS = -DMACOS_X_DARWIN -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe
53
53
MACVIMGUI_IPATH =
54
54
MACVIMGUI_LIBS_DIR =
55
55
-
MACVIMGUI_LIBS1 = -framework Cocoa -framework Carbon
55
55
+
MACVIMGUI_LIBS1 =
56
56
diff --git a/src/auto/configure b/src/auto/configure
57
57
-
index 06257a5..68437df 100755
57
57
+
index 39ef81449..d8fa7ec2f 100755
58
58
--- a/src/auto/configure
59
59
+++ b/src/auto/configure
60
60
-
@@ -5872,10 +5872,7 @@ $as_echo "not found" >&6; }
60
60
+
@@ -5896,10 +5896,7 @@ $as_echo "not found" >&6; }
61
61
62
62
for path in "${vi_cv_path_mzscheme_pfx}/lib" "${SCHEME_LIB}"; do
63
63
if test "X$path" != "X"; then
···
69
69
MZSCHEME_LIBS="${path}/libmzscheme3m.a"
70
70
MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
71
71
elif test -f "${path}/libracket3m.a"; then
72
72
-
@@ -6260,23 +6257,6 @@ $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
72
72
+
@@ -6287,23 +6284,6 @@ $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
73
73
fi
74
74
75
75
if test "x$MACOS_X" = "xyes"; then
···
93
93
PERL_LIBS=`echo "$PERL_LIBS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
94
94
PERL_CFLAGS=`echo "$PERL_CFLAGS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
95
95
fi
96
96
-
@@ -6499,13 +6479,7 @@ __:
96
96
+
@@ -6526,13 +6506,6 @@ __:
97
97
eof
98
98
eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
99
99
rm -f -- "${tmp_mkf}"
···
104
104
- vi_cv_path_python_plibs="-F${python_PYTHONFRAMEWORKPREFIX} -framework Python"
105
105
- fi
106
106
- else
107
107
-
+
108
107
vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
109
108
if test -n "${python_LINKFORSHARED}" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
110
109
python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t].*/\1/'`
111
111
-
@@ -6520,7 +6494,6 @@ eof
110
110
+
@@ -6547,7 +6520,6 @@ eof
112
111
fi
113
112
vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_BASEMODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
114
113
vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//`
···
116
115
117
116
fi
118
117
119
119
-
@@ -6599,13 +6572,6 @@ rm -f core conftest.err conftest.$ac_objext \
118
118
+
@@ -6626,13 +6598,6 @@ rm -f core conftest.err conftest.$ac_objext \
120
119
$as_echo "no" >&6; }
121
120
fi
122
121
···
130
129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compile and link flags for Python are sane" >&5
131
130
$as_echo_n "checking if compile and link flags for Python are sane... " >&6; }
132
131
cflags_save=$CFLAGS
133
133
-
@@ -7499,11 +7465,7 @@ $as_echo "$tclver - OK" >&6; };
132
132
+
@@ -7557,11 +7522,7 @@ $as_echo "$tclver - OK" >&6; };
134
133
135
134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Tcl include" >&5
136
135
$as_echo_n "checking for location of Tcl include... " >&6; }
···
142
141
TCL_INC=
143
142
for try in $tclinc; do
144
143
if test -f "$try/tcl.h"; then
145
145
-
@@ -7521,13 +7483,8 @@ $as_echo "<not found>" >&6; }
144
144
+
@@ -7579,13 +7540,8 @@ $as_echo "<not found>" >&6; }
146
145
if test -z "$SKIP_TCL"; then
147
146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of tclConfig.sh script" >&5
148
147
$as_echo_n "checking for location of tclConfig.sh script... " >&6; }
···
156
155
for try in $tclcnf; do
157
156
if test -f "$try/tclConfig.sh"; then
158
157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $try/tclConfig.sh" >&5
159
159
-
@@ -7717,10 +7674,6 @@ $as_echo "$rubyhdrdir" >&6; }
160
160
-
if test -f "$rubylibdir/$librubya"; then
161
161
-
librubyarg="$librubyarg"
158
158
+
@@ -7774,10 +7730,6 @@ $as_echo "$rubyhdrdir" >&6; }
159
159
+
rubylibdir=`$vi_cv_path_ruby -r rbconfig -e "print $ruby_rbconfig.expand($ruby_rbconfig::CONFIG['libdir'])"`
160
160
+
if test -f "$rubylibdir/$librubya" || expr "$librubyarg" : "-lruby"; then
162
161
RUBY_LIBS="$RUBY_LIBS -L$rubylibdir"
163
162
- elif test "$vi_cv_path_ruby" = "/usr/bin/ruby" -a -d "/System/Library/Frameworks/Ruby.framework"; then
164
163
- RUBY_LIBS="-framework Ruby"
···
168
167
169
168
if test "X$librubyarg" != "X"; then
170
169
diff --git a/src/vim.h b/src/vim.h
171
171
-
index bbc01ee..5a93591 100644
170
170
+
index 4ff59f201..f91cb9836 100644
172
171
--- a/src/vim.h
173
172
+++ b/src/vim.h
174
173
@@ -244,17 +244,6 @@
···
190
189
# include "os_amiga.h"
191
190
#endif
192
191
diff --git a/src/vimtutor b/src/vimtutor
193
193
-
index 1e8769b..47078b0 100755
192
192
+
index 3b154f288..e89f26060 100755
194
193
--- a/src/vimtutor
195
194
+++ b/src/vimtutor
196
196
-
@@ -16,7 +16,7 @@ seq="vim vim81 vim80 vim8 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
197
197
-
if test "$1" = "-g"; then
198
198
-
# Try to use the GUI version of Vim if possible, it will fall back
199
199
-
# on Vim if Gvim is not installed.
200
200
-
- seq="gvim gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
201
201
-
+ seq="mvim gvim gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
202
202
-
shift
195
195
+
@@ -16,6 +16,6 @@ seq="vim vim81 vim80 vim8 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
196
196
+
if test "$1" = "-g"; then
197
197
+
# Try to use the GUI version of Vim if possible, it will fall back
198
198
+
# on Vim if Gvim is not installed.
199
199
+
- seq="gvim gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
200
200
+
+ seq="mvim gvim gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
201
201
+
shift
203
202
fi
204
204
-