Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package neovim for openSUSE:Factory checked in at 2021-07-10 22:54:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/neovim (Old) and /work/SRC/openSUSE:Factory/.neovim.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "neovim" Sat Jul 10 22:54:34 2021 rev:36 rq:905327 version:0.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/neovim/neovim.changes 2021-06-01 10:41:00.657175602 +0200 +++ /work/SRC/openSUSE:Factory/.neovim.new.2625/neovim.changes 2021-07-10 22:55:04.535493159 +0200 @@ -1,0 +2,21 @@ +Sat Jul 3 16:41:13 UTC 2021 - Matej Cepl <[email protected]> + +- Update to 0.5.0 (FINALLY!!!): + This release represents ~4000 commits since v0.4.4, the + previous non-maintenance release. Highlights include builtin + support for LSP, new APIs for extended marks (with byte + resolution tracking of changes) and buffer decorations, as + well as vast improvements to lua as a plugin and configuration + language. Experimental support for tree-sitter as a syntax + engine is also included, building on the new core APIs for byte + tracking and decorations. There is also very visible shift + towards using more of Lua. + + The full list of all changes is truly huge, the + best list is the 0.5.0 commit message on + https://github.com/neovim/neovim/commit/a5ac2f45ff84. +- Removes upstreamed patches: + - libuv-compat.patch + - neovim-0.4.4-findlua54.patch + +------------------------------------------------------------------- Old: ---- libuv-compat.patch neovim-0.4.4-findlua54.patch neovim-0.4.4.tar.gz New: ---- neovim-0.5.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ neovim.spec ++++++ --- /var/tmp/diff_new_pack.zj9yjB/_old 2021-07-10 22:55:05.239487726 +0200 +++ /var/tmp/diff_new_pack.zj9yjB/_new 2021-07-10 22:55:05.243487695 +0200 @@ -16,6 +16,7 @@ # +%define luv_min_ver 1.30.0 # Luajit not available on all platforms %ifarch %{arm} %{ix86} x86_64 %bcond_without luajit @@ -34,11 +35,8 @@ %define luaver_nopoint 53 %endif %endif - -%define luv_min_ver 1.30.0 - Name: neovim -Version: 0.4.4 +Version: 0.5.0 Release: 0 Summary: Vim-fork focused on extensibility and agility License: Apache-2.0 AND Vim @@ -53,14 +51,9 @@ Patch0: neovim.patch # PATCH-FIX-OPENSUSE neovim-0.1.7-bitop.patch [email protected] build with old Lua with external bit module Patch1: neovim-0.1.7-bitop.patch -# PATCH-FIX-SLE libuv-compat.patch sr#793088 gh#neovim/neovim#12108 [email protected] -# works around too old version of libuv on Leap 15.* -Patch2: libuv-compat.patch -# PATCH-FIx-UPSTREAM https://github.com/neovim/neovim/pull/12820 -Patch3: neovim-0.4.4-findlua54.patch # PATCH-FIX-UPSTREAM vim7188-fix-netrw-command.patch gh#vim/vim#4738 [email protected] # make gx in netrw working again -Patch4: vim7188-fix-netrw-command.patch +Patch2: vim7188-fix-netrw-command.patch BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: fdupes @@ -76,7 +69,21 @@ BuildRequires: libuv-devel BuildRequires: libvterm-devel >= 0.1 BuildRequires: lua-macros - +BuildRequires: make +BuildRequires: msgpack-devel +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: tree-sitter-devel +BuildRequires: unibilium-devel +BuildRequires: unzip +BuildRequires: update-desktop-files +Requires: gperf +Requires: libvterm0 >= 0.1 +Requires: python3-neovim +Requires(post): desktop-file-utils +Requires(postun):desktop-file-utils +# XSel provides access to the system clipboard +Recommends: xsel %if %{with luajit} # luajit implements version 5.1 of the lua language spec, so it needs the # compat versions of libs. @@ -101,20 +108,6 @@ Requires: lua%{luaver_nopoint}-compat-5.3 %endif %endif -BuildRequires: make -BuildRequires: msgpack-devel -BuildRequires: pkgconfig -BuildRequires: python-rpm-macros -BuildRequires: unibilium-devel -BuildRequires: unzip -BuildRequires: update-desktop-files -Requires: gperf -Requires: libvterm0 >= 0.1 -Requires: python3-neovim -Requires(post): desktop-file-utils -Requires(postun):desktop-file-utils -# XSel provides access to the system clipboard -Recommends: xsel %if 0%{?suse_version} < 1330 BuildRequires: hicolor-icon-theme Requires(post): gtk3-tools @@ -136,14 +129,7 @@ %define vimplugin_dir %{_datadir}/vim/site %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%if 0%{?suse_version} == 1500 -%patch2 -p1 -%endif -%patch3 -p1 -%patch4 -p1 +%autosetup -p1 # Remove __DATE__ and __TIME__. BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}') @@ -171,7 +157,7 @@ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DLIBLUV_LIBRARY=%{lua_archdir}/luv.so \ -DLIBLUV_INCLUDE_DIR:PATH=%{lua_incdir} -make %{?_smp_mflags} VERBOSE=1 +%make_build popd @@ -189,6 +175,12 @@ %endif %suse_update_desktop_file -r nvim ConsoleOnly Application Utility TextEditor +install -d -m0755 %{buildroot}%{_datadir}/pixmaps +install -m0644 runtime/nvim.png %{buildroot}%{_datadir}/pixmaps/nvim.png + +# Fix exec bits +find %{buildroot}%{_datadir} \( -name \*.bat -o -name \*.awk \) \ + -print -exec chmod -x '{}' \; # vim/site directories for plugins shared with vim mkdir -p %{buildroot}%{vimplugin_dir}/{after,after/syntax,autoload,colors,doc,ftdetect,plugin,syntax} @@ -219,6 +211,7 @@ %{_datadir}/nvim/ %{_datadir}/applications/nvim.desktop %{_datadir}/pixmaps/nvim.png +%{_datadir}/icons/hicolor/*/apps/nvim.png %{_mandir}/man1/nvim.1%{?ext_man} %dir %{_sysconfdir}/nvim %config(noreplace) %{_sysconfdir}/nvim/sysinit.vim ++++++ neovim-0.1.7-bitop.patch ++++++ --- /var/tmp/diff_new_pack.zj9yjB/_old 2021-07-10 22:55:05.263487540 +0200 +++ /var/tmp/diff_new_pack.zj9yjB/_new 2021-07-10 22:55:05.263487540 +0200 @@ -1,6 +1,11 @@ +--- + CMakeLists.txt | 2 +- + src/nvim/ex_cmds.lua | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -488,7 +488,7 @@ endforeach() +@@ -517,7 +517,7 @@ endforeach() # Find Lua interpreter include(LuaHelpers) @@ -8,12 +13,12 @@ +set(LUA_DEPENDENCIES lpeg mpack bit32) if(NOT LUA_PRG) foreach(CURRENT_LUA_PRG luajit lua5.1 lua5.2 lua) - # If LUA_PRG is set find_program() will not search + unset(_CHECK_LUA_PRG CACHE) --- a/src/nvim/ex_cmds.lua +++ b/src/nvim/ex_cmds.lua @@ -1,4 +1,4 @@ -local bit = require 'bit' +local bit = require 'bit32' - -- Description of the values below is contained in ex_cmds_defs.h file. - local RANGE = 0x001 + local module = {} + ++++++ neovim-0.4.4.tar.gz -> neovim-0.5.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/neovim/neovim-0.4.4.tar.gz /work/SRC/openSUSE:Factory/.neovim.new.2625/neovim-0.5.0.tar.gz differ: char 12, line 1 ++++++ neovim.patch ++++++ --- /var/tmp/diff_new_pack.zj9yjB/_old 2021-07-10 22:55:05.303487232 +0200 +++ /var/tmp/diff_new_pack.zj9yjB/_new 2021-07-10 22:55:05.307487201 +0200 @@ -1,6 +1,10 @@ +--- + third-party/cmake/BuildLuarocks.cmake | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + --- a/third-party/cmake/BuildLuarocks.cmake +++ b/third-party/cmake/BuildLuarocks.cmake -@@ -75,7 +75,9 @@ if(UNIX OR (MINGW AND CMAKE_CROSSCOMPILI +@@ -93,7 +93,9 @@ if(UNIX OR (MINGW AND CMAKE_CROSSCOMPILI BuildLuarocks( CONFIGURE_COMMAND ${DEPS_BUILD_DIR}/src/luarocks/configure --prefix=${HOSTDEPS_INSTALL_DIR} --force-config ${LUAROCKS_OPTS} ++++++ vim7188-fix-netrw-command.patch ++++++ --- /var/tmp/diff_new_pack.zj9yjB/_old 2021-07-10 22:55:05.343486923 +0200 +++ /var/tmp/diff_new_pack.zj9yjB/_new 2021-07-10 22:55:05.343486923 +0200 @@ -17,9 +17,9 @@ --- a/runtime/autoload/netrw.vim +++ b/runtime/autoload/netrw.vim -@@ -5178,6 +5178,12 @@ fun! netrw#BrowseX(fname,remote) - " call Dret("(netrw#BrowseX) did gf instead") +@@ -5220,6 +5220,12 @@ fun! netrw#BrowseX(fname,remote) endif + " call Decho("not a local file nor a webpage request",'~'.expand("<slnum>")) + if exists("g:netrw_browsex_viewer") && exists("g:netrw_browsex_support_remote") && !g:netrw_browsex_support_remote + let remote = a:remote @@ -30,7 +30,7 @@ let ykeep = @@ let screenposn = winsaveview() " call Decho("saving posn to screenposn<".string(screenposn).">",'~'.expand("<slnum>")) -@@ -5222,9 +5228,9 @@ fun! netrw#BrowseX(fname,remote) +@@ -5264,9 +5270,9 @@ fun! netrw#BrowseX(fname,remote) endif " call Decho("exten<".exten.">",'~'.expand("<slnum>")) @@ -42,7 +42,7 @@ setl bh=delete call netrw#NetRead(3,a:fname) " attempt to rename tempfile -@@ -5246,7 +5252,7 @@ fun! netrw#BrowseX(fname,remote) +@@ -5288,7 +5294,7 @@ fun! netrw#BrowseX(fname,remote) let fname= s:netrw_tmpfile endif else @@ -51,7 +51,7 @@ let fname= a:fname " special ~ handler for local if fname =~ '^\~' && expand("$HOME") != "" -@@ -5378,12 +5384,12 @@ fun! netrw#BrowseX(fname,remote) +@@ -5431,12 +5437,12 @@ fun! netrw#BrowseX(fname,remote) " return to prior buffer (directory listing) " Feb 12, 2008: had to de-activiate removal of " temporary file because it wasn't getting seen. @@ -68,7 +68,7 @@ setl noswf --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt -@@ -1504,6 +1504,9 @@ Netrw determines which special handler b +@@ -1510,6 +1510,9 @@ Netrw determines which special handler b If g:netrw_browsex_viewer == '-', then netrwFileHandlers#Invoke() will be used instead (see |netrw_filehandler|). @@ -78,7 +78,7 @@ * for Windows 32 or 64, the URL and FileProtocolHandler dlls are used. * for Gnome (with gnome-open): gnome-open is used. * for KDE (with kfmclient) : kfmclient is used -@@ -2601,6 +2604,10 @@ your browsing preferences. (see also: | +@@ -2607,6 +2610,10 @@ your browsing preferences. (see also: | a script/function to handle the given extension. (see |netrw_filehandler|).
