Port details |
- ccls C/C++/ObjC language server
- 0.20240202 devel
=2 0.20240202Version of this port present on the latest quarterly branch. - Maintainer: khng@FreeBSD.org
 - Port Added: 2018-10-28 14:43:35
- Last Update: 2025-02-16 16:47:35
- Commit Hash: 9025f32
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- License: APACHE20
- WWW:
- https://github.com/MaskRay/ccls
- Description:
- Ccls is a C/C++/Objective-C language server with the following
features:
- 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
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/ccls/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/ccls
- pkg install ccls
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: ccls
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1738091222
SHA256 (ccls.wiki-0.20240202.tar.gz) = 9f41435f4de4885ed3838140b2f57250745bc6cf049c934cf17fd9d8f19d5ffe
SIZE (ccls.wiki-0.20240202.tar.gz) = 38768
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- rapidjson>=1.1.0_4 : devel/rapidjson
- cmake : devel/cmake-core
- ninja : devel/ninja
- Library dependencies:
-
- libLLVM-15.so : devel/llvm15
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for ccls-0.20240202:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- devel_ccls
- USES:
- cmake compiler:c++17-lang llvm:lib localbase
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.20240202 16 Feb 2025 16:47:35
    |
Dimitry Andric (dim)  |
devel/ccls: fix build with LLVM_DEFAULT=19
When building against llvm 19, several errors appear:
/wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/include_complete.cc:117:37:
error: no member named 'endswith' in 'llvm::StringRef'; did you mean 'ends_
117 | if (StringRef(path).endswith(suffix))
| ^~~~~~~~
| ends_with
/wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/clang_tu.cc:32:22:
error: no member named 'startswith' in 'llvm::StringRef'; did you mean
'starts_with'
32 | if (file.getName().startswith("/../")) {
| ^~~~~~~~~~
| starts_with
/wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/clang_tu.cc:340:21:
error: no member named 'OMPArraySection' in 'clang::BuiltinType'; did you mean
'Arr
340 | case BuiltinType::OMPArraySection:
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
| ArraySection
/wrkdirs/usr/ports/devel/ccls/work/ccls-0.20240202/src/indexer.cc:1130:64:
error: non-virtual member function marked 'override' hides virtual member
function
1130 | SrcMgr::CharacteristicKind fileType)
override {
| ^
Pull in a number of upstream patches to fix these.
PR: 284422
Appproved by: maintainer timeout (2 weeks)
MFH: 2025Q1 |
0.20240202 10 Jun 2024 02:41:17
    |
Ka Ho Ng (khng)  Author: Maxim Filimonov |
devel/ccls: update to snapshot 20240202
PR: 279387
Approved by: khng, delphij
Differential Revision: https://reviews.freebsd.org/D45540 |
0.20231116 27 Nov 2023 09:25:33
    |
Ka Ho Ng (khng)  |
devel/ccls: update to snapshot 20231116
Reviewed by: delphij
Differential Revision: https://reviews.freebsd.org/D42778 |
0.20230115 13 Feb 2023 04:51:35
    |
Ka Ho Ng (khng)  |
devel/ccls: Reinstate the port and update to snapshot 20230115
Approved by: delphij (ports)
Differential Revision: https://reviews.freebsd.org/D38552 |
0.20210330 14 Jan 2023 23:14:56
    |
Tobias C. Berner (tcberner)  |
Cleanup: Remove devel/llvm[789]0
* remove old devel/llvm70
* remove old devel/llvm80
* remove old devel/llvm90
* remove ports explicitely depending on either of the three
Differential Revision: https://reviews.freebsd.org/D37936 |
0.20210330 17 Dec 2022 23:10:16
    |
Tobias C. Berner (tcberner)  |
devel/ccls: lock llvm-version at 9
LLVM_DEFAULT will be bumped to 15, this port fails with:
[...]
/wrkdirs/usr/ports/devel/ccls/work/ccls-0.20210330/src/indexer.cc:530:21:
error: use of undeclared identifier 'isIdentifierBody'; did you mean
'IdentifierLoc'?
((i && isIdentifierBody(name[i - 1])) ||
^
[...]
PR: 263456 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.20210330 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.20210330 09 Apr 2021 08:58:40
    |
Ka Ho Ng (khng)  |
devel/ccls: Update to 0.20210330
The location of documentation tarball is reset to my ~/public_distfiles.
Approved by: lwhsu
Differential Revision: https://reviews.freebsd.org/D29601 |
0.20201219 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.20201219 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.20201219 31 Dec 2020 17:16:06
  |
ygy  |
devel/ccls: Update to 0.20201219 and take maintainership
Submitted by: Ka Ho Ng <khng300@gmail.com>
Approved by: lwhsu
Differential Revision: https://reviews.freebsd.org/D27862 |
0.20190823.4 28 Sep 2020 05:05:25
  |
tobik  |
Reset MAINTAINER |
0.20190823.4 25 Apr 2020 09:08:06
  |
tobik  |
devel/ccls: Unbreak build with LLVM10
src/indexer.cc:683:50: error: only virtual member functions can be marked
'override'
ASTNodeInfo ast_node) override {
^~~~~~~~~
1 error generated. |
0.20190823.4 07 Nov 2019 14:18:33
  |
tobik  |
devel/ccls: Update to 0.20190823.4 |
0.20190823.3 24 Sep 2019 07:23:59
  |
tobik  |
devel/ccls: Update to 0.20190823.3 |
0.20190823.2_1 20 Sep 2019 19:58:36
  |
jbeich  |
Switch default devel/llvm* to 90
PR: 239682
Reviewed by: tobik
Differential Revision: https://reviews.freebsd.org/D21172 |
0.20190823.2 16 Sep 2019 11:48:48
  |
tobik  |
devel/ccls: Update to 0.20190823.2 |
0.20190823.1 03 Sep 2019 12:32:36
  |
tobik  |
devel/ccls: Update to 0.20190823.1
- Update docs to latest Wiki snapshot |
0.20190823 23 Aug 2019 20:07:19
  |
tobik  |
devel/ccls: Update to 0.20190823
Changes: https://github.com/MaskRay/ccls/releases/tag/0.20190823 |
0.20190731 07 Aug 2019 08:47:31
  |
tobik  |
devel/ccls: Update to latest commit
This should make it work with devel/llvm90.
PR: 239682 |
0.20190314_1 07 Aug 2019 08:33:24
  |
tobik  |
devel/ccls: Pet portclippy |
0.20190314_1 26 Jul 2019 20:46:57
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
0.20190314 08 Apr 2019 00:37:46
  |
tobik  |
devel/ccls: Fix build with multiple llvm* packages installed
Apparently it is possible for the build to pick multiple LLVM
versions if LLVM_DIR is not explicitly set similar to Clang_DIR.
$ grep llvm $(make -V CONFIGURE_WRKSRC)/CMakeCache.txt
Clang_DIR:PATH=/usr/local/llvm80/lib/cmake/clang
LLVM_DIR:PATH=/usr/local/llvm50/lib/cmake/llvm
PR: 237089
Submitted by: fullermd@over-yonder.net |
0.20190314 31 Mar 2019 19:42:08
  |
tobik  |
devel/ccls: Update to 0.20190314
Changes: https://github.com/MaskRay/ccls/releases/tag/0.20190314 |
0.20190301_2 25 Mar 2019 18:09:31
  |
jbeich  |
devel/ccls: unbreak with DEFAULT_VERSIONS+=llvm=-devel
Don't try hard to make LIB_DEPENDS pick the specific version when this
is already enforced by BUILD_DEPENDS. The left field in _DEPENDS lines
isn't recorded into binary packages, anyway.
=======================<phase: lib-depends >============================
===> ccls-0.20190301_2 depends on shared library: libLLVM--devel.so - not
found
===> Installing existing package /packages/All/llvm-devel-9.0.d20190226.txz
[120i386-default-llvm90-job-07] Installing llvm-devel-9.0.d20190226...
the most recent version of llvm-devel-9.0.d20190226 is already installed
===> ccls-0.20190301_2 depends on shared library: libLLVM--devel.so - not
found
*** Error code 1 |
0.20190301_2 20 Mar 2019 12:23:26
  |
jbeich  |
Switch to devel/llvm80 for DEFAULT_VERSIONS
PR: 235215 |
0.20190301_1 04 Mar 2019 15:20:42
  |
tobik  |
devel/ccls: Fix distinfo
The 0.20190301 tag was recreated.
Changes: https://people.freebsd.org/~tobik/logs/ccls-0.20190301.diff |
0.20190301 02 Mar 2019 07:43:06
  |
tobik  |
devel/ccls: Update to 0.20190301
Changes: https://github.com/MaskRay/ccls/releases/tag/0.20190301 |
0.20181225.8_1 30 Jan 2019 05:39:48
  |
tobik  |
devel/ccls: Build with LLVM_ENABLE_RTTI
Same as the devel/llvm* ports. Otherwise ccls is compiled with
-fno-rtti but LLVM is not which can lead to crashes [1]. Make sure
assertions are disabled too while here.
[1] https://github.com/MaskRay/ccls/issues/30 |
0.20181225.8 27 Jan 2019 04:10:20
  |
tobik  |
devel/ccls: Update to 0.20181225.8 |
0.20181225.7 15 Jan 2019 20:45:15
  |
tobik  |
devel/ccls: Update to 0.20181225.7 |
0.20181225.6 13 Jan 2019 12:01:53
  |
tobik  |
devel/ccls: Update to 0.20181225.6 |
0.20181225.5 12 Jan 2019 05:45:44
  |
tobik  |
devel/ccls: Update to 0.20181225.5 |
0.20181225.4 09 Jan 2019 18:46:41
  |
tobik  |
devel/ccls: Update to 0.20181225.4 |
0.20181225.3 03 Jan 2019 08:57:00
  |
tobik  |
devel/ccls: Update to 0.20181225.3 |
0.20181225.2 29 Dec 2018 04:16:10
  |
tobik  |
devel/ccls: Update to 0.20181225.2 |
0.20181225.1 28 Dec 2018 08:27:58
  |
tobik  |
devel/ccls: Update to 0.20181225.1 |
0.20181225_1 26 Dec 2018 02:33:20
  |
tobik  |
devel/ccls: Fix distinfo after upstream retagged 0.20181225
- Add the commit currently tagged as 0.20181225 for future reference
- The old 0.20181225 tag was commit a9397cf6148d50b88a36ec2e90ea23813dda379d
- Drop upstreamed patch
Distfile diff:
https://people.freebsd.org/~tobik/logs/ccls-0.20181225-retag.diff |
0.20181225 25 Dec 2018 20:25:40
  |
tcberner  |
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine |
0.20181225 25 Dec 2018 17:14:37
  |
tobik  |
devel/ccls: Update to 0.20181225
Changes: https://github.com/MaskRay/ccls/releases/tag/0.20181225 |
0.20181111.1 12 Dec 2018 12:21:45
  |
tobik  |
devel/ccls: Update to 0.20181111.1
- Drop LLVM_DEFAULT after r485466
- Sync docs |
0.20181111_1 12 Dec 2018 01:35:36
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
0.20181111 12 Nov 2018 07:38:30
  |
tobik  |
devel/ccls: Update to 0.20181111
Changes: https://github.com/MaskRay/ccls/releases/tag/0.20181111 |
0.20181024 07 Nov 2018 15:55:58
  |
mat  |
FreeBSD 10 is not supported any more. |
0.20181024 28 Oct 2018 15:06:32
  |
tobik  |
devel/ccls: Update to 0.20181024
Changes: https://github.com/MaskRay/ccls/releases/tag/0.20181024 |
0.20181010 28 Oct 2018 14:43:12
  |
tobik  |
New port: devel/ccls
Ccls is a C/C++/Objective-C language server with the following
features:
- 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
WWW: https://github.com/MaskRay/ccls |