Some big changes in this update:
* Patchlevel 1439
* Default python is now 3.x instead of 2.x [1]
* Expose DEFAULT_VIMRC option (on by default) to vim-tiny
Also, many changes to the default vimrc. Any changes necessarily risk
contention, but then I remembered that I actually maintain editors/vim,
so here we are. The idea here is that Vim, by default, behaves like Vi,
and people who install the Vim port do so because they DON'T just want
Vi. I've enabled features that are basic quality-of-life settings for
me, and that I hope will be ideal for most end-users.
Important changes in the default vimrc:
* Don't install gvimrc at all. gvim should load $ETCDIR/vimrc anyway. I
can't test gvim locally, so someone please let me know if I broke it.
* Turn on autoindent
* Disable console bells entirely. Console bells are terrible.
* Enable incsearch: highlights search results as you type them
* ^L clears search highlights while redrawing the screen
* Assume fast terminal by default
* Explain every setting in comments
Many of these settings are modeled after the defaults in NeoVim, which
really got it right. I want our default vimrc to be usable and ideal,
so please let me know if anything doesn't work for you, or if you have
other settings you'd like to see changed in the default.
In particular, please let me know if I broke gvim by removing the gvimrc!
PR: 235142 [1]
Submitted by: John W. O'Brien [1]
After discussion on freebsd-ports@, switch the default UI toolkit
from GTK2 to GTK3. There isn't a huge visual difference, so it's
more predicated on the idea that people are more likely to have
GTK3 already installed for other things.
Previously, we patched in the names of all the python binary versions, but
I have been doing a terrible job of keeping them up-to-date. Instead, just
tell vim's configure script the path to the binary we're using.
This will fix building against python 3.7.
PR: 230675
Reported by: Kamigishi Rei
MFH: 2018Q3
this, users with DEFAULT_VERSIONS+=python=3.6 were getting vim without
python3 support. PORTREVISION bump for this, because py3.6 users need
a rebuilt vim.
PR: 215676
Submitted by: rsmith xs4all nl
Now install a minimalistic vimrc without all the controversial options (I hope)
Define a template for port Makefiles to vim automatically creates it in case of
opening a new one
Otherwise users get "vi compat mode" which gives very old and
unfriendly vi defaults that breaks arrow keys and backspace as well
as no color.
Expert users can disable this default vimrc via "make config".
Approved by: delphij
- Remove cumbersome do-patch:
- Use do-patch: in bsd.port.mk
- Mark 064, 087 and 147 as BADPATCHES
- 064 does not apply cleanly (in bsd.port.mk way on FreeBSD 9.x or older)
- 087 contains patch for src/ops.c which must be applied after 064
- 147 contains patch for src/version.c which must be applied after 087
- Apply BADPATCHES in post-patch:
- Fix keymap installation for vim-lite
- Install keymap in vim source
- Install vietnamese_viscii.vim correctly
- Do not install GUI binary executables and manpages when GUI options are off
- Allow build with python 3.x
- Merge options to Makefile
- Use PORTDATA
- Convert to new options helper
- Use CONFLICTS_INSTALL instead of CONFLICTS
- Use REINPLACE_CMD instead of patch file
- Support STAGEDIR
- Pet portlint
- Cleanup Makefile
- Fix PLIST
- Cosmetic change
- Bump PORTREVISION for dependency and package change
* patch 7.3.122 applies, but caused a pre-configure build error. Follow
the "Solution" instructions in the patch and start applying patch 7.3.122.
* Manually doing the 's/newwin/new_wp/g' of patch 7.3.400, allows patch
7.3.603 to apply. Unfortunately, no other additional patches apply due
to patch 7.3.603 applying.
* patch 7.3.674 does apply fine, but needed files/patch-configure adjusted.
WITH_LANG is now "on by default" as the lang files are now part of the base
Vim tarball.
The most notable additions since 7.2:
+ Persistent undo and undo for reload
+ Blowfish encryption, encryption of the swap file
+ Conceal text
+ Lua interface
+ Python 3 interface
+ fixed TCL_DEFS processing in patch-configure
+ re-enabled Tcl support (using new bsd.tcl.mk)
+ supports Tcl 80, 82, 83, 84, 85 (WITH_TCL_VER=8x or VIM_WITH_TCL_VER=8x)
+ no support for threaded Tcl yet (because of the way how vim's configure
searches for Tcl, this needs more modifications)
PR: 112347
Submitted by: mm
At PL35 it is now well stable and appropriate as a production editor.
MANLANG support taken from PR 98979, submitted by Roman Bogorodskiy
<novel@freebsd.org>.
vague problems with building with WITH_PERL, but I've never been able to
get hard evidence. So this patch makes the whole thing OBE. It also
uses the new USE_REINPLACE.
Approved by: kris (portmgr)