Package Details: vim-youcompleteme-git r2791.a3d02238-1

Git Clone URL: https://aur.archlinux.org/vim-youcompleteme-git.git (read-only, click to copy)
Package Base: vim-youcompleteme-git
Description: A code-completion engine for Vim
Upstream URL: https://ycm-core.github.io/YouCompleteMe/
Keywords: completion engine neovim vim ycm
Licenses: GPL3
Groups: vim-plugins
Submitter: thestinger
Maintainer: artafinde
Last Packager: artafinde
Votes: 162
Popularity: 1.55
First Submitted: 2013-02-05 21:32
Last Updated: 2021-04-10 12:53

Dependencies (21)

Sources (1)

Pinned Comments

artafinde commented on 2021-04-10 13:03

If you want to use system's abseil set the _use_system_abseil to ON - default is to download from internet during build.

Latest Comments

« First ‹ Previous ... 42 43 44 45 46 47

vendion commented on 2013-04-23 15:09

Seems to be missing the python headers needed for building:

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
(Required is at least version "2.5")
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindPythonLibs.cmake:186 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
BoostParts/CMakeLists.txt:29 (find_package)

Please add this as at least build dependencies to the package

mmlb commented on 2013-04-09 18:12

I edited the PKGBUILD to take advantage of makepkg-4.1's VCS abilities. I also changed the version # to be a bit like `git describe` output when tagged correctly.

# Maintainer: Daniel Micay <danielmicay@gmail.com>

_gitname=YouCompleteMe
pkgname=vim-youcompleteme-git
pkgver=503_g085df7e
pkgrel=1
pkgdesc='A code-completion engine for Vim'
arch=(i686 x86_64)
url='http://valloric.github.com/YouCompleteMe/'
license=(GPL3)
groups=(vim-plugins)
depends=(vim clang)
makedepends=(git cmake)
provides=(vim-youcompleteme)
conflicts=(vim-youcompleteme)
install=vimdoc.install
source=(git://github.com/Valloric/YouCompleteMe.git)
md5sums=(SKIP)

pkgver() {
cd YouCompleteMe
echo $(git rev-list HEAD | wc -l)_g$(git rev-list --max-count=1 --abbrev-commit HEAD)
}

build() {
cd $srcdir/YouCompleteMe/cpp
cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON
make ycm_core
}

package() {
cd $srcdir/YouCompleteMe
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
cp -a autoload doc plugin python "$pkgdir/usr/share/vim/vimfiles"
ln -sf /usr/lib/llvm/libclang.so "$pkgdir/usr/share/vim/vimfiles/python/"
}

# vim:set ts=2 sw=2 et:

l0gic commented on 2013-03-11 17:09

Plase change the vim dependency to gvim, as the vim packages seems to lack python bindings and gvim provides vim, too.

thestinger commented on 2013-02-22 10:42

@bagnose: thanks, updated

Anonymous comment on 2013-02-21 23:43

The dependency on 'cmake' is missing.

Anonymous comment on 2013-02-13 18:35

@nagisa (I suppose you were also on the github discussion), depending on vim might be quite hard. Someone might use a custom vim package, which provides "vim" but does not provide "gvim". Thus depending on gvim would break this thing.

Maybe the best solution (but still not quite perfect) would be to depend on vim but recommend gvim.

nagisa commented on 2013-02-13 17:34

You want to depend on gvim instead of vim. vim is not compiled with python support by default while gvim is.

thestinger commented on 2013-02-11 21:40

@sanderd17: fixed

asdil12 commented on 2013-02-06 09:51

use this PKGBUILD to get it working with python2

https://gist.github.com/asdil12/1d72424afd7777d6d19a/raw/6482683e72c6305ee36a0e923b7fe8216fa91016/PKGBUILD