Package Details: neovim-git 0.10.0.r2536.g55c9e2c96e-1

Git Clone URL: https://aur.archlinux.org/neovim-git.git (read-only, click to copy)
Package Base: neovim-git
Description: Fork of Vim aiming to improve user experience, plugins, and GUIs
Upstream URL: https://neovim.io
Keywords: editor
Licenses: custom:neovim
Conflicts: neovim
Provides: neovim, vim-plugin-runtime
Submitter: fhahn
Maintainer: Farzat
Last Packager: Farzat
Votes: 256
Popularity: 1.80
First Submitted: 2014-02-21 19:50 (UTC)
Last Updated: 2024-03-11 05:36 (UTC)

Dependencies (17)

Required by (431)

Sources (3)

Pinned Comments

fwalch commented on 2016-07-04 19:52 (UTC) (edited on 2016-07-04 19:54 (UTC) by fwalch)

Please don't flag this package out-of-date just because the version number displayed on AUR seems old. This is normal for VCS packages. As long as building the package works without problems, it isn't necessary to update the PKGBUILD here. makepkg will automatically retrieve the latest version when you build the package locally.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 40 Next › Last »

sixelannif commented on 2022-06-29 11:38 (UTC) (edited on 2022-06-29 12:05 (UTC) by sixelannif)

Hello. I am using Manjaro and it fails because of libvterm: error: target not found: libvterm-0.1 And sure enough that version is no longer available in the repositories

pacman -Ss libvterm  
community/libvterm 0.2-1
    Abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator
community/libvterm01 0.1.4-2 [installed]
    Abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator

So I tried to replace libvterm-0.1 by libvterm01 in PKGBUILD, but no good:

CMake Error at cmake/LibFindMacros.cmake:263 (message):
  REQUIRED PACKAGE NOT FOUND

  We could not find development headers for LIBVTERM.  Do you have the
  necessary dev package installed? This package is REQUIRED and you need to
  install it or adjust CMake configuration in order to continue building
  nvim.

  Relevant CMake configuration variables:

    LIBVTERM_INCLUDE_DIR=<not found>
    LIBVTERM_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/FindLIBVTERM.cmake:10 (libfind_process)
  CMakeLists.txt:504 (find_package)

If I clone the neovim repo and run make CMAKE_BUILD_TYPE=RelWithDebInfo it works.

p00f commented on 2022-05-14 08:20 (UTC)

gperf is no longer required: https://github.com/neovim/neovim/pull/18544

arsham commented on 2022-05-04 15:22 (UTC)

Based on the conversation here: https://github.com/neovim/neovim/issues/18235#issuecomment-1117343466 the final result of the build "might" not use the luajit specified in the Neovim build scripts.

This is the part of the PKGBUILD file I came up with, that matches the Neovim's build instructions:

build() {
  cd "${srcdir}/${pkgname}"
  make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=/usr"
}

check() {
  cd "${srcdir}/${pkgname}/build"
  ./bin/nvim --version
  ./bin/nvim --headless -u NONE -i NONE -c ':quit'
}

package() {
  cd "${srcdir}/${pkgname}/build"
  DESTDIR="${pkgdir}" cmake --build . --target install

  cd "${srcdir}/${pkgname}"
  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
  install -Dm644 runtime/nvim.desktop "${pkgdir}/usr/share/applications/nvim.desktop"
  install -Dm644 runtime/nvim.png "${pkgdir}/usr/share/pixmaps/nvim.png"

  # Make Arch vim packages work
  mkdir -p "${pkgdir}"/etc/xdg/nvim
  echo "\" This line makes pacman-installed global Arch Linux vim packages work." > "${pkgdir}"/etc/xdg/nvim/sysinit.vim
  echo "source /usr/share/nvim/archlinux.vim" >> "${pkgdir}"/etc/xdg/nvim/sysinit.vim

  mkdir -p "${pkgdir}"/usr/share/vim
  echo "set runtimepath+=/usr/share/vim/vimfiles" > "${pkgdir}"/usr/share/nvim/archlinux.vim
}

fwalch commented on 2022-04-23 19:28 (UTC)

I'd just stay on libvterm-0.1 for now to avoid adding these hacks. Removed dependency on libutf8proc, thanks for pointing that out.

xiretza commented on 2022-04-21 06:49 (UTC)

See the corresponding commit on community/neovim for all the required hacks: https://github.com/archlinux/svntogit-community/commit/bcdcaa3593c89bc81abc1ae8e35ff766eaa9d3a0

Derson5 commented on 2022-04-17 14:42 (UTC) (edited on 2022-04-17 16:48 (UTC) by Derson5)

@fwalch There is libvterm01 now in community repo. Could you update PKGBUILD?

zappolowski commented on 2022-04-03 18:31 (UTC)

It's also possible to use the bundled version of libvterm 0.1.4:

build() {
  # build the bundled version of libvterm as neovim is not (yet) compatible with 0.2
  cmake -S"${pkgname}/third-party" \
        -Bdeps \
        -DUSE_BUNDLED=OFF \
        -DUSE_BUNDLED_LIBVTERM=ON \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo
  cmake --build deps

  cmake -S"${pkgname}" \
        -Bbuild \
        -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_PREFIX_PATH=deps/usr \
        -DCMAKE_INSTALL_PREFIX=/usr
  cmake --build build
}

And libutf8proc is not required anymore.

fwalch commented on 2022-03-18 21:24 (UTC)

Thanks everyone, especially xiretza for creating the libvterm-0.1 package. Updated the deps to use it.

7thSon commented on 2022-03-17 09:09 (UTC)

@fwalch will you update the package according to the suggestion by @xiretza? The package fails to build for me as well now due to some vterm error.

xiretza commented on 2022-03-13 11:36 (UTC)

libvterm in the repos was updated to the 0.2 upstream release, while neovim is still on 0.1.4 - I pushed libvterm-0.1 as a separate AUR package, the depends should be changed to that.