pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nikita
Date:           Wed Jan  4 17:25:07 UTC 2023

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/ccls: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.3865 -r1.3866 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ccls/DESCR pkgsrc/devel/ccls/Makefile \
    pkgsrc/devel/ccls/PLIST pkgsrc/devel/ccls/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3865 pkgsrc/devel/Makefile:1.3866
--- pkgsrc/devel/Makefile:1.3865        Mon Jan  2 22:45:41 2023
+++ pkgsrc/devel/Makefile       Wed Jan  4 17:25:07 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3865 2023/01/02 22:45:41 vins Exp $
+# $NetBSD: Makefile,v 1.3866 2023/01/04 17:25:07 nikita Exp $
 #
 
 COMMENT=       Development utilities
@@ -232,6 +232,7 @@ SUBDIR+=    clisp-syscalls
 SUBDIR+=       clisp-wildcard
 SUBDIR+=       clisp-zlib
 SUBDIR+=       cloc
+SUBDIR+=       ccls
 SUBDIR+=       cmake
 SUBDIR+=       cmake-fedora
 SUBDIR+=       cmake-gui

Added files:

Index: pkgsrc/devel/ccls/DESCR
diff -u /dev/null pkgsrc/devel/ccls/DESCR:1.1
--- /dev/null   Wed Jan  4 17:25:07 2023
+++ pkgsrc/devel/ccls/DESCR     Wed Jan  4 17:25:07 2023
@@ -0,0 +1,23 @@
+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.
Index: pkgsrc/devel/ccls/Makefile
diff -u /dev/null pkgsrc/devel/ccls/Makefile:1.1
--- /dev/null   Wed Jan  4 17:25:07 2023
+++ pkgsrc/devel/ccls/Makefile  Wed Jan  4 17:25:07 2023
@@ -0,0 +1,35 @@
+# $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@localhost
+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"
Index: pkgsrc/devel/ccls/PLIST
diff -u /dev/null pkgsrc/devel/ccls/PLIST:1.1
--- /dev/null   Wed Jan  4 17:25:07 2023
+++ pkgsrc/devel/ccls/PLIST     Wed Jan  4 17:25:07 2023
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2023/01/04 17:25:07 nikita Exp $
+bin/ccls
Index: pkgsrc/devel/ccls/distinfo
diff -u /dev/null pkgsrc/devel/ccls/distinfo:1.1
--- /dev/null   Wed Jan  4 17:25:07 2023
+++ pkgsrc/devel/ccls/distinfo  Wed Jan  4 17:25:07 2023
@@ -0,0 +1,5 @@
+$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



Home | Main Index | Thread Index | Old Index