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

cvs diff -r1.3865 -r1.3866 pkgsrc/devel/Makefile (expand / switch to unified diff)

--- 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
4COMMENT= Development utilities 4COMMENT= Development utilities
5 5
6SUBDIR+= ETL 6SUBDIR+= ETL
7SUBDIR+= ExmanIDE 7SUBDIR+= ExmanIDE
8SUBDIR+= GConf 8SUBDIR+= GConf
9SUBDIR+= GConf-ui 9SUBDIR+= GConf-ui
10SUBDIR+= Gorm 10SUBDIR+= Gorm
11SUBDIR+= MoarVM 11SUBDIR+= MoarVM
12SUBDIR+= ObjectiveLib 12SUBDIR+= ObjectiveLib
13SUBDIR+= ProjectCenter 13SUBDIR+= ProjectCenter
14SUBDIR+= R-BH 14SUBDIR+= R-BH
@@ -222,26 +222,27 @@ SUBDIR+= cflow-mode @@ -222,26 +222,27 @@ SUBDIR+= cflow-mode
222SUBDIR+= cfr 222SUBDIR+= cfr
223SUBDIR+= cgdb 223SUBDIR+= cgdb
224SUBDIR+= cgen 224SUBDIR+= cgen
225SUBDIR+= check 225SUBDIR+= check
226SUBDIR+= chmlib 226SUBDIR+= chmlib
227SUBDIR+= chrpath 227SUBDIR+= chrpath
228SUBDIR+= clib 228SUBDIR+= clib
229SUBDIR+= clion-bin 229SUBDIR+= clion-bin
230SUBDIR+= clisp-pcre 230SUBDIR+= clisp-pcre
231SUBDIR+= clisp-syscalls 231SUBDIR+= clisp-syscalls
232SUBDIR+= clisp-wildcard 232SUBDIR+= clisp-wildcard
233SUBDIR+= clisp-zlib 233SUBDIR+= clisp-zlib
234SUBDIR+= cloc 234SUBDIR+= cloc
 235SUBDIR+= ccls
235SUBDIR+= cmake 236SUBDIR+= cmake
236SUBDIR+= cmake-fedora 237SUBDIR+= cmake-fedora
237SUBDIR+= cmake-gui 238SUBDIR+= cmake-gui
238SUBDIR+= cmake-mode 239SUBDIR+= cmake-mode
239SUBDIR+= cmocka 240SUBDIR+= cmocka
240SUBDIR+= cmockery2 241SUBDIR+= cmockery2
241SUBDIR+= cmph 242SUBDIR+= cmph
242SUBDIR+= cobol-mode 243SUBDIR+= cobol-mode
243SUBDIR+= coccinelle 244SUBDIR+= coccinelle
244SUBDIR+= coconut 245SUBDIR+= coconut
245SUBDIR+= cogito 246SUBDIR+= cogito
246SUBDIR+= colordiff 247SUBDIR+= colordiff
247SUBDIR+= commit-patch 248SUBDIR+= commit-patch

File Added: pkgsrc/devel/ccls/DESCR
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.

File Added: pkgsrc/devel/ccls/Makefile
# $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"

File Added: pkgsrc/devel/ccls/PLIST
@comment $NetBSD: PLIST,v 1.1 2023/01/04 17:25:07 nikita Exp $
bin/ccls

File Added: pkgsrc/devel/ccls/distinfo
$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