Commit graph

719 commits

Author SHA1 Message Date
Adam Weinberger
6b5c80d8a4 editors/vim: Update to 8.2.2461 2021-02-03 19:12:50 +00:00
Baptiste Daroussin
73503c6770 Ensure vim uses ncursesw (the widechar version) everywhere
Reported by:	cy
2021-01-05 17:49:26 +00:00
Adam Weinberger
e4a1c4e89b editors/vim: Update to 8.2.2263 2021-01-01 17:14:35 +00:00
Adam Weinberger
45e62100c8 editors/vim: Update to patchlevel 2072 2020-12-01 14:52:35 +00:00
Adam Weinberger
efd2e0cc5f editors/vim: Update to patchlevel 1943 2020-11-02 23:32:53 +00:00
Mark Linimon
48aa92f9f5 Set OPTIONS_EXCLUDE_powerpc64le the same way as for powerpc64.
Approved by:	portmgr (tier-2 blanket)
2020-09-27 20:08:18 +00:00
Adam Weinberger
a3fe9493c5 vim: Update to patchlevel 1558 2020-09-01 14:46:31 +00:00
Adam Weinberger
802d89accb vim: Update to patchlevel 1382
The main goal is to pick up patch 1379:

  Problem:    Curly braces expression ending in " }" does not work.
  Solution:   Skip over white space when checking for "}". (closes #6634)

PR:		248504
Submitted by:	p5B2E9A8F t-online de
2020-08-07 01:44:07 +00:00
Adam Weinberger
4799f41581 vim: Update to patchlevel 1334 2020-08-01 10:32:17 +00:00
Adam Weinberger
aef4aee80e vim: Update to patchlevel 1110 2020-07-01 15:39:34 +00:00
Adam Weinberger
0a211012b6 vim: Update to patchlevel 869 2020-06-01 08:23:34 +00:00
Adam Weinberger
d47ef88916 vim: Fix environment contamination from libcanberra
Vim will link against libcanberra if it's present, leading to an
undeclared link and breakage risk if canberra is removed. It only really
makes sense for it to do this during a gnome build, so explicitly
enable it there and disable it elsewhere.

PR:		245460
Reported by:	Andy Mender
MFH:		2020Q2
2020-04-12 16:10:58 +00:00
Adam Weinberger
222155c149 vim: Update to patchlevel 491
While here, restrict ctags patching attempts to only the files that
will need to be patched. This prevents the creation of dozens of
.orig files that are identical to the "patched" versions.
2020-04-01 18:40:18 +00:00
Adam Weinberger
b1f0f0793e vim: Update to patchlevel 345 2020-03-01 21:53:15 +00:00
Sunpoet Po-Chuan Hsieh
01544f6d9d Fix stage-qa of shebang with PYTHON option disabled after r522484
The error message (in poudriere) is as follows:
====> Running Q/A tests (stage-qa)
Error: '/usr/local/bin/python' is an invalid shebang you need USES=shebangfix for 'share/vim/vim82/tools/demoserver.py.bak'

r522484 adds a new REINPLACE_CMD check which is enabled when DEVELOPER=yes. It
does not respect REINPLACE_ARGS (-i ''), thus runtime/tools/demoserver.py.bak is
generated. Vim installs everything in runtime/tools [1] which fails in stage-qa
for invalid shebang.

This workaround uses USES=python:env. It will replace the shebang with default
python (/usr/local/bin/python3.7).

[1] from src/Makefile:
# install the runtime tools
	$(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)

PR:		243961
Reported by:	salvadore
Submitted by:	sunpoet (myself)
Approved by:	adamw (maintainer)
2020-02-10 18:47:23 +00:00
Adam Weinberger
25ab2c090e vim: Update to patchlevel 205 and add PYTHON option
When python is built with DEBUG, vim fails to build. In fixing this
case, note that vim will now fail to build if python or vim is build
with DEBUG and the other isn't.

This also highlighted that python support is being kludged. The
PYTHON2 and PYTHON3 options have been combined into a single PYTHON
option that builds with the default python. Consequently, it is no
longer possible to build vim with both py2 and py3 support. I can't
name any modern high-usage python-based plugin that requires 2.7,
so hopefully this only messes up things for a very small minority.

Thanks to koobs for the prompt to combine these options. I've been
wanting to do this for a while now.

PR:		243606
Submitted by:	novel
2020-02-04 14:03:00 +00:00
Adam Weinberger
22278abb7f vim: Add a MAKE_JOBS option for concurrent build, default off
Most systems are able to build vim in parallel most of the time.
The dependency chain in the Makefiles are a spaghetti mess and
concurrency is broken with some frequency, so it just isn't
feasible for it to be on by default.

It does shave quite a bit of time off the build (and I have had
.undef MAKE_JOBS_UNSAFE in Makefile.local for years), so now
there's an option. It's off by default.

PR:		243109
Reported by:	glewis
2020-01-06 00:19:41 +00:00
Adam Weinberger
3931e3bee8 vim: Update to 8.2 patchlevel 76 (minor bump) 2020-01-01 17:26:07 +00:00
Adam Weinberger
02a57167f4 vim: Update to patchlevel 2372 2019-12-01 13:29:44 +00:00
Tobias Kortkamp
78b522d04c e*: Add missing USES={gnome,sdl,xorg} 2019-11-08 10:08:49 +00:00
Niclas Zeising
a3c56e68df Add USES=xorg USES=gl, ports categories e and g
Add USES=xorg and USES=gl to ports in categories starting with 'e' and 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:21:16 +00:00
Adam Weinberger
c74d510cab vim: Update to patchlevel 2237 2019-11-01 16:32:26 +00:00
Adam Weinberger
b6c71b0d26 vim: Update to patchlevel 2108 2019-10-01 22:34:49 +00:00
Adam Weinberger
0568ee0660 vim: Update to patchlevel 1954 2019-09-01 05:28:59 +00:00
Adam Weinberger
24478a28af vim: Simplify patch 2019-08-03 17:33:02 +00:00
Adam Weinberger
43d43dd6bf vim: Update to patchlevel 1790
Also, unmute Makefile commands.
2019-08-02 12:14:34 +00:00
Pietro Cerutti
a512feb0f6 editors/vim: remove meaningless 85+ from USES tcl 2019-06-12 15:39:36 +00:00
Adam Weinberger
41fd417789 Update to Vim to patchlevel 1439, change default python, improve vimrc
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]
2019-06-01 14:35:55 +00:00
Adam Weinberger
4bf065ff94 Update vim to patchlevel 1248 2019-05-02 23:59:44 +00:00
Adam Weinberger
b9886295ac Update vim to patchlevel 1099 2019-04-02 01:31:10 +00:00
Adam Weinberger
0de970042f Update vim to patchlevel 985 2019-03-01 13:32:55 +00:00
Adam Weinberger
8f3d8642bf Ensure that USES=gnome is set whenever USE_GNOME is used
PR:		235427
Submitted by:	Samy Mahmoudi
2019-02-02 18:27:19 +00:00
Adam Weinberger
1cb8950dac Update vim to patchlevel 865
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.
2019-02-01 13:54:07 +00:00
Adam Weinberger
5b6f881175 Update vim to patchlevel 676 2019-01-01 19:59:40 +00:00
Adam Weinberger
6461c85753 Update vim to patchlevel 555 2018-12-01 16:35:06 +00:00
Adam Weinberger
696344816e Slightly decrease the chance that I'll break -console and -tiny again next time 2018-11-01 16:34:30 +00:00
Adam Weinberger
9480c31337 Teach vim-console and vim-tiny to ignore the ctags options 2018-11-01 16:29:57 +00:00
Adam Weinberger
1a6c12c2ad Update vim to patchlevel 502, and support universal-ctags[1]
This changes the name of the EXUBERANT_CTAGS option, but keeps
it as the default.

Submitted by:	Stephen Wall [1] (based on)
2018-11-01 16:25:49 +00:00
Adam Weinberger
cd6fb2fc75 Update vim to patchlevel 443 2018-10-01 12:07:57 +00:00
Adam Weinberger
bb5a53b01d Update vim to patchlevel 342 2018-09-01 14:22:48 +00:00
Adam Weinberger
9bf68f57dd Improve the way vim looks for python binaries
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
2018-08-16 21:04:01 +00:00
Adam Weinberger
65bc366822 Update vim to patchlevel 231
Also, add a patch[1] to recognize the UseBlacklist command in sshd_config.

PR:		230074 [1]
Submitted by:	Samy Mahmoudi
2018-08-01 16:51:31 +00:00
Niclas Zeising
15dac70c75 Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto.  This update
tracks that change.

* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
  bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
  instead depend on xorgproto.  Bump portrevision.
* Delete the old *proto packages, update MOVED.

PR:		230023
Submitted by:	zeising
Approved by:	portmgr (antoine)
exp-run by:	antoine
2018-07-31 18:41:30 +00:00
Adam Weinberger
229bb4e27c Update vim to patchlevel 139 2018-07-02 21:59:03 +00:00
Adam Weinberger
f9381280f3 Update vim to patchlevel 39 2018-06-09 16:51:53 +00:00
Adam Weinberger
4f8a80634e Update vim to patchlevel 22 2018-05-26 15:19:16 +00:00
Adam Weinberger
e56066510c Update vim to 8.1, patchlevel 4 2018-05-19 14:41:42 +00:00
Adam Weinberger
8eabb4571f Update vim to patchlevel 1817 2018-05-12 14:00:22 +00:00
Adam Weinberger
356b630edb Update vim to patchlevel 1794 2018-05-05 16:01:43 +00:00
Adam Weinberger
500a8c92a4 Update vim to patchlevel 1769 2018-04-28 13:30:20 +00:00