Wed Jan 4 17:25:07 2023 UTC ()
Import devel/ccls as ccls version 0.20220729
ccls, which originates from cquery, is a C/C++/Objective-C language server.
Its features include:
- code completion (with both signature help and snippets)
- definition/references, and other cross references
- cross reference extensions: $ccls/call $ccls/inheritance
$ccls/member $ccls/vars ...
- formatting
- hierarchies: call (caller/callee) hierarchy, inheritance
(base/derived) hierarchy, member hierarchy
- symbol rename
- document symbols and approximate search of workspace symbol
- hover information
- diagnostics and code actions (clang FixIts)
- semantic highlighting and preprocessor skipped regions
- semantic navigation: $ccls/navigate
It has a global view of the code base and support a lot of cross reference
features, see https://github.com/MaskRay/ccls/wiki/FAQ.
It starts indexing the whole project (including subprojects if exist)
parallelly when you open the first file, while the main thread can serve
requests before the indexing is complete. Saving files will incrementally
update the index.
(nikita)
diff -r1.3865 -r1.3866 pkgsrc/devel/Makefile
diff -r0 -r1.1 pkgsrc/devel/ccls/DESCR
diff -r0 -r1.1 pkgsrc/devel/ccls/Makefile
diff -r0 -r1.1 pkgsrc/devel/ccls/PLIST
diff -r0 -r1.1 pkgsrc/devel/ccls/distinfo
--- pkgsrc/devel/Makefile 2023/01/02 22:45:41 1.3865
+++ pkgsrc/devel/Makefile 2023/01/04 17:25:07 1.3866
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.3865 2023/01/02 22:45:41 vins Exp $ | | 1 | # $NetBSD: Makefile,v 1.3866 2023/01/04 17:25:07 nikita Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Development utilities | | 4 | COMMENT= Development utilities |
5 | | | 5 | |
6 | SUBDIR+= ETL | | 6 | SUBDIR+= ETL |
7 | SUBDIR+= ExmanIDE | | 7 | SUBDIR+= ExmanIDE |
8 | SUBDIR+= GConf | | 8 | SUBDIR+= GConf |
9 | SUBDIR+= GConf-ui | | 9 | SUBDIR+= GConf-ui |
10 | SUBDIR+= Gorm | | 10 | SUBDIR+= Gorm |
11 | SUBDIR+= MoarVM | | 11 | SUBDIR+= MoarVM |
12 | SUBDIR+= ObjectiveLib | | 12 | SUBDIR+= ObjectiveLib |
13 | SUBDIR+= ProjectCenter | | 13 | SUBDIR+= ProjectCenter |
14 | SUBDIR+= R-BH | | 14 | SUBDIR+= R-BH |
| @@ -222,26 +222,27 @@ SUBDIR+= cflow-mode | | | @@ -222,26 +222,27 @@ SUBDIR+= cflow-mode |
222 | SUBDIR+= cfr | | 222 | SUBDIR+= cfr |
223 | SUBDIR+= cgdb | | 223 | SUBDIR+= cgdb |
224 | SUBDIR+= cgen | | 224 | SUBDIR+= cgen |
225 | SUBDIR+= check | | 225 | SUBDIR+= check |
226 | SUBDIR+= chmlib | | 226 | SUBDIR+= chmlib |
227 | SUBDIR+= chrpath | | 227 | SUBDIR+= chrpath |
228 | SUBDIR+= clib | | 228 | SUBDIR+= clib |
229 | SUBDIR+= clion-bin | | 229 | SUBDIR+= clion-bin |
230 | SUBDIR+= clisp-pcre | | 230 | SUBDIR+= clisp-pcre |
231 | SUBDIR+= clisp-syscalls | | 231 | SUBDIR+= clisp-syscalls |
232 | SUBDIR+= clisp-wildcard | | 232 | SUBDIR+= clisp-wildcard |
233 | SUBDIR+= clisp-zlib | | 233 | SUBDIR+= clisp-zlib |
234 | SUBDIR+= cloc | | 234 | SUBDIR+= cloc |
| | | 235 | SUBDIR+= ccls |
235 | SUBDIR+= cmake | | 236 | SUBDIR+= cmake |
236 | SUBDIR+= cmake-fedora | | 237 | SUBDIR+= cmake-fedora |
237 | SUBDIR+= cmake-gui | | 238 | SUBDIR+= cmake-gui |
238 | SUBDIR+= cmake-mode | | 239 | SUBDIR+= cmake-mode |
239 | SUBDIR+= cmocka | | 240 | SUBDIR+= cmocka |
240 | SUBDIR+= cmockery2 | | 241 | SUBDIR+= cmockery2 |
241 | SUBDIR+= cmph | | 242 | SUBDIR+= cmph |
242 | SUBDIR+= cobol-mode | | 243 | SUBDIR+= cobol-mode |
243 | SUBDIR+= coccinelle | | 244 | SUBDIR+= coccinelle |
244 | SUBDIR+= coconut | | 245 | SUBDIR+= coconut |
245 | SUBDIR+= cogito | | 246 | SUBDIR+= cogito |
246 | SUBDIR+= colordiff | | 247 | SUBDIR+= colordiff |
247 | SUBDIR+= commit-patch | | 248 | SUBDIR+= commit-patch |
ccls, which originates from cquery, is a C/C++/Objective-C language server.
Its features include:
- code completion (with both signature help and snippets)
- definition/references, and other cross references
- cross reference extensions: $ccls/call $ccls/inheritance
$ccls/member $ccls/vars ...
- formatting
- hierarchies: call (caller/callee) hierarchy, inheritance
(base/derived) hierarchy, member hierarchy
- symbol rename
- document symbols and approximate search of workspace symbol
- hover information
- diagnostics and code actions (clang FixIts)
- semantic highlighting and preprocessor skipped regions
- semantic navigation: $ccls/navigate
It has a global view of the code base and support a lot of cross reference
features, see https://github.com/MaskRay/ccls/wiki/FAQ.
It starts indexing the whole project (including subprojects if exist)
parallelly when you open the first file, while the main thread can serve
requests before the indexing is complete. Saving files will incrementally
update the index.
# $NetBSD: Makefile,v 1.1 2023/01/04 17:25:07 nikita Exp $
DISTNAME= ccls-0.20220729
MASTER_SITES= ${MASTER_SITE_GITHUB:=MaskRay/}
CATEGORIES= devel
GITHUB_TAG= ${PKGVERSION_NOREV}
GITHUB_PROJECT= ccls
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/MaskRay/ccls
COMMENT= C/C++/ObjC language server
LICENSE= apache-2.0
USE_LANGUAGES= c c++17
USE_CMAKE= yes
CMAKE_ARGS+= -DCCLS_VERSION:STRING="${PKGVERSION_NOREV}"
CXXFLAGS+= -DNDEBUG
PTHREAD_OPTS+= require
.include "../../mk/pthread.buildlink3.mk"
# Package builds with clang specific switches
PKGSRC_COMPILER= clang
PKG_CC= clang
PKG_CXX= clang++
DEPENDS+= llvm-[0-9]*:../../lang/llvm
.include "../../devel/zlib/buildlink3.mk"
.include "../../archivers/zstd/buildlink3.mk"
.include "../../lang/clang/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/terminfo.buildlink3.mk"
.include "../../textproc/rapidjson/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2023/01/04 17:25:07 nikita Exp $
bin/ccls
$NetBSD: distinfo,v 1.1 2023/01/04 17:25:07 nikita Exp $
BLAKE2s (ccls-0.20220729.tar.gz) = 51306948f0df4f1ba93e114ad69d0fc064de01b42ec470e1366e7aa0accaec7b
SHA512 (ccls-0.20220729.tar.gz) = 63cb4eace1700118f9c8c4d2f4be40aac948f9c658485c8e3f49dcc863ce7bdd8b6de810b95ec8f46c943b65c8aa5fa643b110a6b981a2e43f57569d897d36c1
Size (ccls-0.20220729.tar.gz) = 160861 bytes