mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
patch 9.1.0005: OpenVMS does not support python3 and xterm_save
Problem: OpenVMS build does not support python3 and xterm_save Solution: Enable python3 + xterm_save feature, fix style issues (Zoltan Arpadffy) closes: #13812 Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d94ca966ca
commit
4d8cb683b1
@ -19,14 +19,16 @@ src/INSTALLvms.txt.
|
|||||||
|
|
||||||
To use the binary version, you need one of these archives:
|
To use the binary version, you need one of these archives:
|
||||||
|
|
||||||
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
vim-XX-exe-x86-gui.zip X86_64 GUI/Motif executables
|
||||||
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
vim-XX-exe-x86-term.zip X86_64 console executables
|
||||||
vim-XX-exe-ia64-term.zip IA64 console executables
|
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
|
||||||
|
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
|
||||||
|
vim-XX-exe-ia64-term.zip IA64 console executables
|
||||||
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
|
||||||
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
|
||||||
vim-XX-exe-axp-term.zip Alpha console executables
|
vim-XX-exe-axp-term.zip Alpha console executables
|
||||||
vim-XX-exe-vax-gui.zip VAX GUI executables
|
vim-XX-exe-vax-gui.zip VAX GUI executables
|
||||||
vim-XX-exe-vax-term.zip VAX console executables
|
vim-XX-exe-vax-term.zip VAX console executables
|
||||||
|
|
||||||
and of course
|
and of course
|
||||||
vim-XX-runtime.zip runtime files
|
vim-XX-runtime.zip runtime files
|
||||||
@ -34,6 +36,8 @@ and of course
|
|||||||
The binary archives contain: vim.exe, ctags.exe, xxd.exe files,
|
The binary archives contain: vim.exe, ctags.exe, xxd.exe files,
|
||||||
but there are also prepared "deploy ready" archives:
|
but there are also prepared "deploy ready" archives:
|
||||||
|
|
||||||
|
vim-XX-x86.zip GUI and console executables with runtime and
|
||||||
|
help files for X86_64 systems
|
||||||
vim-XX-ia64.zip GUI and console executables with runtime and
|
vim-XX-ia64.zip GUI and console executables with runtime and
|
||||||
help files for IA64 systems
|
help files for IA64 systems
|
||||||
vim-XX-axp.zip GUI and console executables with runtime and
|
vim-XX-axp.zip GUI and console executables with runtime and
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# Makefile for Vim on OpenVMS
|
# Makefile for Vim on OpenVMS
|
||||||
#
|
#
|
||||||
# Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
|
# Maintainer: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
|
||||||
# Last change: 2023 Nov 27
|
# Last change: 2024 Jan 03
|
||||||
#
|
#
|
||||||
# This script has been tested on VMS 6.2 to 9.2 on VAX, ALPHA, IA64 and X86_64
|
# This script has been tested on VMS 6.2 to 9.2 on VAX, ALPHA, IA64 and X86_64
|
||||||
# with MMS and MMK
|
# with MMS and MMK
|
||||||
@ -65,6 +65,7 @@ CCVER = YES
|
|||||||
# VIM_TCL = YES
|
# VIM_TCL = YES
|
||||||
# VIM_PERL = YES
|
# VIM_PERL = YES
|
||||||
# VIM_PYTHON = YES
|
# VIM_PYTHON = YES
|
||||||
|
# VIM_PYTHON3= YES
|
||||||
# VIM_RUBY = YES
|
# VIM_RUBY = YES
|
||||||
# VIM_LUA = YES
|
# VIM_LUA = YES
|
||||||
|
|
||||||
@ -113,7 +114,7 @@ CC_DEF = cc
|
|||||||
PREFIX = /prefix=all/name=(upper,short)
|
PREFIX = /prefix=all/name=(upper,short)
|
||||||
OPTIMIZE= /opt
|
OPTIMIZE= /opt
|
||||||
.IFDEF MMSX86_64
|
.IFDEF MMSX86_64
|
||||||
ARCH_DEF= # ,__CRTL_VER_OVERRIDE=80400000
|
ARCH_DEF= # ,__CRTL_VER_OVERRIDE=80400000
|
||||||
.ENDIF
|
.ENDIF
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
@ -224,6 +225,16 @@ PYTHON_LIB = ,OS_VMS_PYTHON.OPT/OPT
|
|||||||
PYTHON_INC = ,PYTHON_INCLUDE
|
PYTHON_INC = ,PYTHON_INCLUDE
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
|
.IFDEF VIM_PYTHON3
|
||||||
|
# Python related setup.
|
||||||
|
PYTHON3_DEF = ,"FEAT_PYTHON3"
|
||||||
|
PYTHON3_SRC = if_python3.c
|
||||||
|
PYTHON3_OBJ = if_python3.obj
|
||||||
|
PYTHON3_LIB = ,OS_VMS_PYTHON3.OPT/OPT
|
||||||
|
PYTHON3_INC = ,PYTHON3_INCLUDE
|
||||||
|
.ENDIF
|
||||||
|
|
||||||
|
|
||||||
.IFDEF VIM_TCL
|
.IFDEF VIM_TCL
|
||||||
# TCL related setup.
|
# TCL related setup.
|
||||||
TCL_DEF = ,"FEAT_TCL"
|
TCL_DEF = ,"FEAT_TCL"
|
||||||
@ -260,9 +271,9 @@ XIM_DEF = ,"FEAT_XIM"
|
|||||||
|
|
||||||
.IFDEF VIM_MZSCHEME
|
.IFDEF VIM_MZSCHEME
|
||||||
# MZSCHEME related setup
|
# MZSCHEME related setup
|
||||||
MZSCH_DEF = ,"FEAT_MZSCHEME"
|
MZSCHEME_DEF = ,"FEAT_MZSCHEME"
|
||||||
MZSCH_SRC = if_mzsch.c
|
MZSCHEME_SRC = if_mzsch.c
|
||||||
MZSCH_OBJ = if_mzsch.obj
|
MZSCHEME_OBJ = if_mzsch.obj
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
.IFDEF VIM_ICONV
|
.IFDEF VIM_ICONV
|
||||||
@ -275,7 +286,7 @@ XDIFF_SRC = xdiffi.c,xemit.c,xprepare.c,xutils.c,xhistogram.c,xpatience.c
|
|||||||
XDIFF_OBJ = xdiffi.obj,xemit.obj,xprepare.obj,xutils.obj,xhistogram.obj,xpatience.obj
|
XDIFF_OBJ = xdiffi.obj,xemit.obj,xprepare.obj,xutils.obj,xhistogram.obj,xpatience.obj
|
||||||
XDIFF_INC = ,[.xdiff]
|
XDIFF_INC = ,[.xdiff]
|
||||||
|
|
||||||
.IFDEF MODIFIED_BY
|
.IFDEF MODIFIED_BY
|
||||||
DEF_MODIFIED = YES
|
DEF_MODIFIED = YES
|
||||||
.ELSE
|
.ELSE
|
||||||
DEF_MODIFIED = NO
|
DEF_MODIFIED = NO
|
||||||
@ -294,26 +305,26 @@ VIMHOST = "''F$TRNLNM("SYS$NODE")'''F$TRNLNM("UCX$INET_HOST")'.''F$TRNLNM("UCX$I
|
|||||||
|
|
||||||
.SUFFIXES : .obj .c
|
.SUFFIXES : .obj .c
|
||||||
|
|
||||||
ALL_CFLAGS = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) -
|
ALL_CFLAGS = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF)$(PYTHON3_DEF) -
|
||||||
$(TCL_DEF)$(RUBY_DEF)$(LUA_DEF)$(XIM_DEF)$(TAG_DEF)$(MZSCH_DEF) -
|
$(TCL_DEF)$(RUBY_DEF)$(LUA_DEF)$(XIM_DEF)$(TAG_DEF)$(MZSCHEME_DEF) -
|
||||||
$(ICONV_DEF)$(ARCH_DEF)) -
|
$(ICONV_DEF)$(ARCH_DEF)) -
|
||||||
$(CFLAGS)$(GUI_FLAG) -
|
$(CFLAGS)$(GUI_FLAG) -
|
||||||
/include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC)$(PERL_INC)$(PYTHON_INC) -
|
/include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC)$(PERL_INC)$(PYTHON_INC)$(PYTHON3_INC) -
|
||||||
$(TCL_INC)$(XDIFF_INC)$(XPM_INC))
|
$(TCL_INC)$(XDIFF_INC)$(XPM_INC))
|
||||||
|
|
||||||
# CFLAGS displayed in :ver information
|
# CFLAGS displayed in :ver information
|
||||||
# It is specially formatted for correct display of unix like includes
|
# It is specially formatted for correct display of unix like includes
|
||||||
# as $(GUI_INC) - replaced with $(GUI_INC_VER)
|
# as $(GUI_INC) - replaced with $(GUI_INC_VER)
|
||||||
# Otherwise should not be any other difference.
|
# Otherwise should not be any other difference.
|
||||||
ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF) -
|
ALL_CFLAGS_VER = /def=($(MODEL_DEF)$(DEFS)$(DEBUG_DEF)$(PERL_DEF)$(PYTHON_DEF)$(PYTHON3_DEF) -
|
||||||
$(TCL_DEF)$(RUBY_DEF)$(LUA_DEF)$(XIM_DEF)$(TAG_DEF)$(MZSCH_DEF) -
|
$(TCL_DEF)$(RUBY_DEF)$(LUA_DEF)$(XIM_DEF)$(TAG_DEF)$(MZSCHEME_DEF) -
|
||||||
$(ICONV_DEF)$(ARCH_DEF)) -
|
$(ICONV_DEF)$(ARCH_DEF)) -
|
||||||
$(CFLAGS)$(GUI_FLAG) -
|
$(CFLAGS)$(GUI_FLAG) -
|
||||||
/include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC_VER)$(PERL_INC)$(PYTHON_INC) -
|
/include=($(C_INC)$(GUI_INC_DIR)$(GUI_INC_VER)$(PERL_INC)$(PYTHON_INC)$(PYTHON3_INC) -
|
||||||
$(TCL_INC)$(XDIFF_INC)$(XPM_INC))
|
$(TCL_INC)$(XDIFF_INC)$(XPM_INC))
|
||||||
|
|
||||||
ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) $(XPM_LIB)\
|
ALL_LIBS = $(LIBS) $(GUI_LIB_DIR) $(GUI_LIB) $(XPM_LIB)\
|
||||||
$(PERL_LIB) $(PYTHON_LIB) $(TCL_LIB) $(RUBY_LIB) $(LUA_LIB)
|
$(PERL_LIB) $(PYTHON_LIB) $(PYTHON3_LIB) $(TCL_LIB) $(RUBY_LIB) $(LUA_LIB)
|
||||||
|
|
||||||
SRC = \
|
SRC = \
|
||||||
alloc.c \
|
alloc.c \
|
||||||
@ -437,13 +448,14 @@ SRC = \
|
|||||||
viminfo.c \
|
viminfo.c \
|
||||||
window.c \
|
window.c \
|
||||||
$(GUI_SRC) \
|
$(GUI_SRC) \
|
||||||
|
$(XDIFF_SRC) \
|
||||||
|
$(LUA_SRC) \
|
||||||
|
$(MZSCHEME_SRC) \
|
||||||
$(PERL_SRC) \
|
$(PERL_SRC) \
|
||||||
$(PYTHON_SRC) \
|
$(PYTHON_SRC) \
|
||||||
|
$(PYTHON3_SRC) \
|
||||||
$(TCL_SRC) \
|
$(TCL_SRC) \
|
||||||
$(RUBY_SRC) \
|
$(RUBY_SRC)
|
||||||
$(LUA_SRC) \
|
|
||||||
$(MZSCH_SRC) \
|
|
||||||
$(XDIFF_SRC)
|
|
||||||
|
|
||||||
OBJ = \
|
OBJ = \
|
||||||
alloc.obj \
|
alloc.obj \
|
||||||
@ -568,13 +580,14 @@ OBJ = \
|
|||||||
viminfo.obj \
|
viminfo.obj \
|
||||||
window.obj \
|
window.obj \
|
||||||
$(GUI_OBJ) \
|
$(GUI_OBJ) \
|
||||||
|
$(XDIFF_OBJ) \
|
||||||
|
$(LUA_OBJ) \
|
||||||
|
$(MZSCHEME_OBJ) \
|
||||||
$(PERL_OBJ) \
|
$(PERL_OBJ) \
|
||||||
$(PYTHON_OBJ) \
|
$(PYTHON_OBJ) \
|
||||||
|
$(PYTHON3_OBJ) \
|
||||||
$(TCL_OBJ) \
|
$(TCL_OBJ) \
|
||||||
$(RUBY_OBJ) \
|
$(RUBY_OBJ)
|
||||||
$(LUA_OBJ) \
|
|
||||||
$(MZSCH_OBJ) \
|
|
||||||
$(XDIFF_OBJ)
|
|
||||||
|
|
||||||
# Default target is making the executable
|
# Default target is making the executable
|
||||||
all : [.auto]config.h mmk_compat motif_env gtk_env perl_env python_env tcl_env ruby_env lua_env $(TARGET)
|
all : [.auto]config.h mmk_compat motif_env gtk_env perl_env python_env tcl_env ruby_env lua_env $(TARGET)
|
||||||
@ -735,6 +748,20 @@ python_env :
|
|||||||
-@ !
|
-@ !
|
||||||
.ENDIF
|
.ENDIF
|
||||||
|
|
||||||
|
.IFDEF VIM_PYTHON3
|
||||||
|
python3_env :
|
||||||
|
-@ write sys$output "using PYTHON3 environment:"
|
||||||
|
-@ show logical PYTHON3_INCLUDE
|
||||||
|
-@ show logical PYTHON3_OLB
|
||||||
|
-@ write sys$output "creating OS_VMS_PYTHON3.OPT file."
|
||||||
|
-@ open/write opt_file OS_VMS_PYTHON3.OPT
|
||||||
|
-@ write opt_file "PYTHON3_OLB:PYTHON3.OLB /share"
|
||||||
|
-@ close opt_file
|
||||||
|
.ELSE
|
||||||
|
python3_env :
|
||||||
|
-@ !
|
||||||
|
.ENDIF
|
||||||
|
|
||||||
.IFDEF VIM_TCL
|
.IFDEF VIM_TCL
|
||||||
tcl_env :
|
tcl_env :
|
||||||
-@ write sys$output "using TCL environment:"
|
-@ write sys$output "using TCL environment:"
|
||||||
@ -1085,7 +1112,7 @@ sign.obj : sign.c vim.h [.auto]config.h feature.h os_unix.h \
|
|||||||
ascii.h keymap.h termdefs.h macros.h option.h structs.h regexp.h gui.h \
|
ascii.h keymap.h termdefs.h macros.h option.h structs.h regexp.h gui.h \
|
||||||
beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
beval.h [.proto]gui_beval.pro alloc.h ex_cmds.h spell.h proto.h \
|
||||||
errors.h globals.h
|
errors.h globals.h
|
||||||
sound.obj : sound.c vim.h [.auto]config.h feature.h
|
sound.obj : sound.c vim.h [.auto]config.h feature.h
|
||||||
spell.obj : spell.c vim.h [.auto]config.h feature.h os_unix.h \
|
spell.obj : spell.c vim.h [.auto]config.h feature.h os_unix.h \
|
||||||
ascii.h keymap.h termdefs.h macros.h structs.h regexp.h \
|
ascii.h keymap.h termdefs.h macros.h structs.h regexp.h \
|
||||||
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
gui.h beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
|
||||||
|
@ -144,6 +144,7 @@
|
|||||||
|
|
||||||
// Default features
|
// Default features
|
||||||
#define FEAT_IPV6
|
#define FEAT_IPV6
|
||||||
|
#define FEAT_XTERM_SAVE
|
||||||
|
|
||||||
// Hardware specific
|
// Hardware specific
|
||||||
#if defined(__VAX) || defined(VAX)
|
#if defined(__VAX) || defined(VAX)
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
5,
|
||||||
/**/
|
/**/
|
||||||
4,
|
4,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user