Uh, sorry ignore the ``` github style markdown stuff.
Search Criteria
Package Details: vim-youcompleteme-git r3216.0d855962-1
Package Actions
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: | 169 |
Popularity: | 0.031458 |
First Submitted: | 2013-02-05 21:32 (UTC) |
Last Updated: | 2024-08-19 15:53 (UTC) |
Dependencies (19)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-bottle
- python-watchdog (python-watchdog-gitAUR)
- vim (neovim-drop-inAUR, neovim-symlinksAUR, vim-cli-gitAUR, gvim-wayland-lilydjwg-gitAUR, vim-gitAUR, gvim-gtk2AUR, gvim)
- cmake (cmake-gitAUR, cmake3AUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- pybind11 (pybind11-gitAUR) (make)
- abseil-cpp (abseil-cpp-gitAUR) (optional) – if setting _use_system_abseil ON
- gopls (optional) – Go semantic completion
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jdk-openjdk-wakefieldAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, jdk8-temurinAUR, jdk8AUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jdk24-graalvm-ee-binAUR, jdk8-perfAUR, zing-21-binAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk21-jetbrains-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, java-openjdk-binAUR, jdk24-graalvm-ce-binAUR, jdkAUR, jdk-ltsAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk8-dragonwell-extendedAUR, liberica-jdk-11-binAUR, zulu-17-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-21-binAUR, java-openjdk-ea-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, zulu-21-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zing-8-binAUR, zulu-24-binAUR, jdk23-temurinAUR, liberica-nik-23-full-binAUR, zing-23-binAUR, jdk22-openjdkAUR, jdk23-openjdkAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (optional) – Java semantic completion
- jdtlsAUR (optional) – Java semantic completion
- nodejs-ternAUR (optional) – JavaScript semantic completion
- omnisharp-roslynAUR (omnisharp-roslyn-bundledAUR, omnisharp-roslyn-binAUR) (optional) – C# semantic completion
- python-jedi (optional) – Python semantic completion
- python-numpydoc (optional) – Python semantic completion
- python-regex (python-regex-gitAUR) (optional) – Better Unicode support
- rust-analyzer (rust-analyzer-gitAUR, rust-analyzer-nightly-binAUR, rustup-gitAUR, rustup) (optional) – Rust semantic completion
- typescript (typescript-gitAUR) (optional) – Typescript semantic completion
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 47 48 49 50 51 52 53 Next › Last »
mmlb commented on 2013-08-29 14:19 (UTC)
mmlb commented on 2013-08-29 14:18 (UTC)
I have built upon @KaiSforza's addition to work with all of the submodules, all that is needed is the git:// path be part of the `source` array.
```bash
--- PKGBUILD.orig 2013-08-29 10:16:15.020172245 -0400
+++ PKGBUILD 2013-08-29 10:13:48.906837314 -0400
@@ -2,7 +2,7 @@
_gitname=YouCompleteMe
pkgname=vim-youcompleteme-git
-pkgver=564.7cef111
+pkgver=774.7cc399a
pkgrel=1
epoch=1
pkgdesc='A code-completion engine for Vim'
@@ -15,14 +15,28 @@
provides=(vim-youcompleteme)
conflicts=(vim-youcompleteme)
install=vimdoc.install
-source=('git://github.com/Valloric/YouCompleteMe.git')
-md5sums=(SKIP)
+source=(git://github.com/Valloric/YouCompleteMe.git
+git://github.com/davidhalter/jedi.git
+git://github.com/nosami/OmniSharpServer.git)
+md5sums=(SKIP SKIP SKIP)
pkgver() {
cd $_gitname
echo $(git rev-list --count master).$(git rev-parse --short master)
}
+prepare() {
+ cd "$srcdir/$_gitname"
+ for s in ${source[@]:1}
+ do
+ repo=${s##*/}
+ repo=${repo/.git}
+ echo "s=$s, repo=$repo"
+ sed -i -e "/${repo}.git/ s|https://github.com/.*|$srcdir/$repo|" .gitmodules
+ done
+ git submodule update --init
+}
+
build() {
cd $_gitname/cpp
cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON
@@ -35,3 +49,5 @@
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:
```
KaiSforza commented on 2013-05-15 20:09 (UTC)
Please add in the jedi submodule. Add git://github.com/davidhalter/jedi.git to the source array, then add this prepare function. (using this relative path will almost guarantee that the user will get a fast local checkout instead of using the $SRCDEST path, as $SRCDEST and $BUILDDIR could be on separate partitions.)
prepare() {
cd "$srcdir/$_pkgname"
sed -i -e "s|https://github.com/davidhalter/jedi.git|../jedi|g" .gitmodules
git submodule init
git submodule update
}
vendion commented on 2013-04-23 15:09 (UTC)
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 (UTC)
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 (UTC)
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 (UTC)
@bagnose: thanks, updated
<deleted-account> commented on 2013-02-21 23:43 (UTC)
The dependency on 'cmake' is missing.
Pinned Comments
artafinde commented on 2021-04-10 13:03 (UTC)
If you want to use system's abseil set the
_use_system_abseil
toON
- default is to download from internet during build.