git: 61971843fd48 - main - editors/neovim: update 0.9.5 -> 0.10.0
Date: Mon, 20 May 2024 14:54:49 UTC
The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=61971843fd48f9b59b3e7169643064453607c586 commit 61971843fd48f9b59b3e7169643064453607c586 Author: Laurant Chardon <laurent.chardon@gmail.com> AuthorDate: 2024-05-20 14:51:01 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2024-05-20 14:51:01 +0000 editors/neovim: update 0.9.5 -> 0.10.0 Author: Laurant Chardon <laurent.chardon@gmail.com> Changes: https://gpanders.com/blog/whats-new-in-neovim-0.10/ https://neovim.io/doc/user/news-0.10.html Approved: adamw (implicit) PR: 279175 --- editors/neovim/Makefile | 32 ++++++++++++------------------- editors/neovim/distinfo | 10 +++++----- editors/neovim/files/patch-CMakeLists.txt | 14 -------------- 3 files changed, 17 insertions(+), 39 deletions(-) diff --git a/editors/neovim/Makefile b/editors/neovim/Makefile index c48981a236a5..843c2e89a278 100644 --- a/editors/neovim/Makefile +++ b/editors/neovim/Makefile @@ -1,7 +1,6 @@ PORTNAME= neovim DISTVERSIONPREFIX= v -DISTVERSION= 0.9.5 -PORTREVISION= 1 +DISTVERSION= 0.10.0 CATEGORIES= editors MAINTAINER= adamw@FreeBSD.org @@ -11,8 +10,8 @@ WWW= https://neovim.io/ LICENSE= APACHE20 BUILD_DEPENDS= gperf:devel/gperf \ - ${LUA_MODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} \ - ${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg@${LUA_FLAVOR} + ${LUA_REFMODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} \ + ${LUA_REFMODLIBDIR}/lpeg.so:devel/lua-lpeg@${LUA_FLAVOR} LIB_DEPENDS= libluv.so:devel/luv \ libmsgpack-c.so:devel/msgpack-c \ libtermkey.so:devel/libtermkey \ @@ -20,19 +19,23 @@ LIB_DEPENDS= libluv.so:devel/luv \ libunibilium.so:devel/unibilium \ libuv.so:devel/libuv \ libvterm.so:devel/libvterm +RUN_DEPENDS= ${LUA_REFMODLIBDIR}/bit.so:devel/lua-bitop@${LUA_FLAVOR} \ + ${LUA_REFMODLIBDIR}/lpeg.so:devel/lua-lpeg@${LUA_FLAVOR} -USES= cmake cpe gettext iconv lua:52,build luajit pathfix pkgconfig +USES= cmake cpe gettext iconv lua:51,build luajit \ + desktop-file-utils pathfix pkgconfig USE_GITHUB= yes GH_TUPLE= libmpack:libmpack:1.0.5:libmpack \ - libmpack:libmpack-lua:1.0.9:libmpack_lua -PORTSCOUT= limit:^[0-9\.v]+$$ + libmpack:libmpack-lua:1.0.12:libmpack_lua CMAKE_ARGS= -DLUA_PRG:FILEPATH="${LUA_CMD}" \ -DCMAKE_INSTALL_MANDIR:PATH="${PREFIX}/share/man" \ - -DDEPS_PREFIX:PATH="${LOCALBASE}" + -DDEPS_PREFIX:PATH="${LOCALBASE}" \ + -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib/lua/${LUA_VER}" CFLAGS+= -I${LOCALBASE}/include DATADIR= ${PREFIX}/share/nvim +PORTSCOUT= limit:^[0-9\.v]+$$ PORTDATA= runtime OPTIONS_DEFINE= NLS PYNVIM @@ -41,19 +44,8 @@ OPTIONS_SUB= yes PYNVIM_DESC= Enable support for plugins written in python NLS_CMAKE_BOOL= ENABLE_LIBINTL + PYNVIM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynvim>=0.3.0:editors/py-pynvim@${PY_FLAVOR} PYNVIM_USES= python:run -post-patch-NLS-off: - ${REINPLACE_CMD} -e '/add_subdirectory(po)/d' ${WRKSRC}/src/nvim/CMakeLists.txt - -pre-build: - ${LN} -s ${WRKSRC_libmpack} ${WRKSRC_libmpack_lua}/mpack-src - ${MKDIR} ${BUILD_WRKSRC}/src/nvim - (cd ${WRKSRC_libmpack_lua} && ${CC} ${CFLAGS} -fPIC \ - -I${LUA_INCDIR} -shared lmpack.c -o \ - ${BUILD_WRKSRC}/src/nvim/mpack.so \ - ${LUA_LIBDIR}/liblua-${LUA_VER}.so) - ${LN} -s ${BUILD_WRKSRC}/src/nvim/mpack.so ${BUILD_WRKSRC}/runtime/mpack.so - .include <bsd.port.mk> diff --git a/editors/neovim/distinfo b/editors/neovim/distinfo index afddae974869..b420957ace97 100644 --- a/editors/neovim/distinfo +++ b/editors/neovim/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1703948840 -SHA256 (neovim-neovim-v0.9.5_GH0.tar.gz) = fe74369fc30a32ec7a086b1013acd0eacd674e7570eb1acc520a66180c9e9719 -SIZE (neovim-neovim-v0.9.5_GH0.tar.gz) = 11590180 +TIMESTAMP = 1716160663 +SHA256 (neovim-neovim-v0.10.0_GH0.tar.gz) = 372ea2584b0ea2a5a765844d95206bda9e4a57eaa1a2412a9a0726bab750f828 +SIZE (neovim-neovim-v0.10.0_GH0.tar.gz) = 12792034 SHA256 (libmpack-libmpack-1.0.5_GH0.tar.gz) = 4ce91395d81ccea97d3ad4cb962f8540d166e59d3e2ddce8a22979b49f108956 SIZE (libmpack-libmpack-1.0.5_GH0.tar.gz) = 32966 -SHA256 (libmpack-libmpack-lua-1.0.9_GH0.tar.gz) = e94d5cf95d7479dca00ff23755fe05a440f11f9d203635e862ad8842de95f40a -SIZE (libmpack-libmpack-lua-1.0.9_GH0.tar.gz) = 16087 +SHA256 (libmpack-libmpack-lua-1.0.12_GH0.tar.gz) = 7c3f0a5fcd0d7c169fd7bc95978412628d8f59eb9da1d32cf3e8a864b741ec92 +SIZE (libmpack-libmpack-lua-1.0.12_GH0.tar.gz) = 16524 diff --git a/editors/neovim/files/patch-CMakeLists.txt b/editors/neovim/files/patch-CMakeLists.txt deleted file mode 100644 index 564ac85f400b..000000000000 --- a/editors/neovim/files/patch-CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ ---- CMakeLists.txt.orig 2023-04-07 16:52:01 UTC -+++ CMakeLists.txt -@@ -163,9 +163,9 @@ foreach(CFGNAME ${CMAKE_CONFIGURATION_TYPES}) - set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_${CFGNAME} ${CMAKE_BINARY_DIR}/lib) - endforeach() - --set(LUA_DEPENDENCIES lpeg mpack bit) -+set(LUA_DEPENDENCIES lpeg bit) - if(NOT LUA_PRG) -- foreach(CURRENT_LUA_PRG luajit lua5.1 lua5.2 lua) -+ foreach(CURRENT_LUA_PRG luajit) - unset(_CHECK_LUA_PRG CACHE) - unset(LUA_PRG_WORKS) - find_program(_CHECK_LUA_PRG ${CURRENT_LUA_PRG})