10 Commits

Author SHA256 Message Date
e6e7264586 Accepting request 1319182 from devel:tools
- Update to version 0.20250815.1.
  * Add clang.prependArgs option.
  * Support Decl::Concept.

OBS-URL: https://build.opensuse.org/request/show/1319182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccls?expand=0&rev=25
2025-11-24 13:09:23 +00:00
Aaron Puchert
515af3bb94 - Update to version 0.20250815.1.
* Add clang.prependArgs option.
  * Support Decl::Concept.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/ccls?expand=0&rev=53
2025-11-21 22:26:14 +00:00
baa8531770 Accepting request 1316627 from devel:tools
- Update to version 0.20250815.
  * In textDocument/signatureHelp: add trigger character `{`.
  * In initializationOptions: add clang.prependArgs.
  * Support Decl::Concept.
  * Adapt to LLVM 21 and 22.
- Remove obsolete patches:
  * fix-llvm20-build.patch
  * reformat.patch
  * llvm21-CompilerInstance-and-PointerUnion.patch
  * fix-llvm21-build.patch

OBS-URL: https://build.opensuse.org/request/show/1316627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccls?expand=0&rev=24
2025-11-09 20:09:42 +00:00
Aaron Puchert
39c3d4d878 - Update to version 0.20250815.
* In textDocument/signatureHelp: add trigger character `{`.
  * In initializationOptions: add clang.prependArgs.
  * Support Decl::Concept.
  * Adapt to LLVM 21 and 22.
- Remove obsolete patches:
  * fix-llvm20-build.patch
  * reformat.patch
  * llvm21-CompilerInstance-and-PointerUnion.patch
  * fix-llvm21-build.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/ccls?expand=0&rev=51
2025-11-08 22:01:11 +00:00
aae15f8639 Accepting request 1305275 from devel:tools
- Add llvm21-CompilerInstance-and-PointerUnion.patch and
  fix-llvm21-build.patch to fix build with LLVM 21.
- Add reformat.patch to ease applying patches from upstream.

OBS-URL: https://build.opensuse.org/request/show/1305275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccls?expand=0&rev=23
2025-09-17 14:44:11 +00:00
Aaron Puchert
d6497ce6a7 - Add llvm21-CompilerInstance-and-PointerUnion.patch and
fix-llvm21-build.patch to fix build with LLVM 21.
- Add reformat.patch to ease applying patches from upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/ccls?expand=0&rev=49
2025-09-17 02:02:11 +00:00
7db3e6e360 Accepting request 1268906 from devel:tools
- Add fix-llvm20-build.patch to fix build with LLVM 20.

OBS-URL: https://build.opensuse.org/request/show/1268906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccls?expand=0&rev=22
2025-04-14 10:57:53 +00:00
Aaron Puchert
ae0fcbd58c - Add fix-llvm20-build.patch to fix build with LLVM 20.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/ccls?expand=0&rev=47
2025-04-12 23:07:44 +00:00
18010ddba6 Accepting request 1224331 from devel:tools
- Update to version 0.20241108.
  * Sort index requests. When you open A/B/foo.cc, files under
    "A/B/" and "A/" will be prioritized during the initial indexing
      process, leading to a quicker response time.
  * Support for LLVM versions <= 9 has been dropped.
  * LSP semantic tokens are now supported. See usage guide
    https://maskray.me/blog/2024-10-20-ccls-and-lsp-semantic-tokens
    usage (including rainbow semantic highlighting).
  * LSP extension textDocument/switchSourceHeader is now supported.
- Drop unnecessary runtime dependency to llvm/clang metapackages.

OBS-URL: https://build.opensuse.org/request/show/1224331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccls?expand=0&rev=21
2024-11-15 14:43:34 +00:00
Aaron Puchert
5673a78936 - Update to version 0.20241108.
* Sort index requests. When you open A/B/foo.cc, files under
    "A/B/" and "A/" will be prioritized during the initial indexing
      process, leading to a quicker response time.
  * Support for LLVM versions <= 9 has been dropped.
  * LSP semantic tokens are now supported. See usage guide
    https://maskray.me/blog/2024-10-20-ccls-and-lsp-semantic-tokens
    usage (including rainbow semantic highlighting).
  * LSP extension textDocument/switchSourceHeader is now supported.
- Drop unnecessary runtime dependency to llvm/clang metapackages.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/ccls?expand=0&rev=45
2024-11-15 00:47:58 +00:00
4 changed files with 55 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ea6d90a9f93d5503e59c3bd0e5568ab262ff3dcf1b7539b50a0ede4a0e32fea
size 162441

3
ccls-0.20250815.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b44d9f981e65dcf950525886f8211727da8a41d3070d323d558f950749bc493c
size 163675

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Fri Nov 21 22:24:42 UTC 2025 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.20250815.1.
* Add clang.prependArgs option.
* Support Decl::Concept.
-------------------------------------------------------------------
Sat Nov 8 21:56:03 UTC 2025 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.20250815.
* In textDocument/signatureHelp: add trigger character `{`.
* In initializationOptions: add clang.prependArgs.
* Support Decl::Concept.
* Adapt to LLVM 21 and 22.
- Remove obsolete patches:
* fix-llvm20-build.patch
* reformat.patch
* llvm21-CompilerInstance-and-PointerUnion.patch
* fix-llvm21-build.patch
-------------------------------------------------------------------
Tue Sep 16 21:57:46 UTC 2025 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add llvm21-CompilerInstance-and-PointerUnion.patch and
fix-llvm21-build.patch to fix build with LLVM 21.
- Add reformat.patch to ease applying patches from upstream.
-------------------------------------------------------------------
Sat Apr 12 21:06:33 UTC 2025 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Add fix-llvm20-build.patch to fix build with LLVM 20.
-------------------------------------------------------------------
Thu Nov 15 22:40:39 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 0.20241108.
* Sort index requests. When you open A/B/foo.cc, files under
"A/B/" and "A/" will be prioritized during the initial indexing
process, leading to a quicker response time.
* Support for LLVM versions <= 9 has been dropped.
* LSP semantic tokens are now supported. See usage guide
https://maskray.me/blog/2024-10-20-ccls-and-lsp-semantic-tokens
usage (including rainbow semantic highlighting).
* LSP extension textDocument/switchSourceHeader is now supported.
- Drop unnecessary runtime dependency to llvm/clang metapackages.
-------------------------------------------------------------------
Wed Oct 2 21:59:58 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@@ -1,7 +1,7 @@
#
# spec file for package ccls
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: ccls
Version: 0.20240505
Version: 0.20250815.1
Release: 0
Summary: C/C++/ObjC language server
# main package is Apache 2.0
@@ -26,13 +26,11 @@ License: Apache-2.0 AND CC0-1.0 AND BSL-1.0
Group: Development/Tools/IDE
URL: https://github.com/MaskRay/ccls
Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: clang-devel >= 7.0
BuildRequires: clang-devel >= 10
BuildRequires: cmake >= 3.8
BuildRequires: llvm-devel >= 7.0
BuildRequires: llvm-devel >= 10
BuildRequires: rapidjson-devel
BuildRequires: zlib-devel
Requires: clang >= 5.0
Requires: llvm >= 7.0
Provides: bundled(macro_map)
Provides: bundled(siphash)
# ccls hardcodes the paths to clang's resource dir and we thus must ensure that
@@ -71,12 +69,7 @@ ccls, which originates from cquery, is a C/C++/Objective-C language server.
rm -rf third_party/rapidjson
%build
%cmake -DUSE_SYSTEM_RAPIDJSON=ON \
%if %{pkg_vcmp clang-devel >= 9.0.0}
-DCLANG_LINK_CLANG_DYLIB=ON
%else
-DCLANG_LINK_CLANG_DYLIB=OFF
%endif
%cmake -DUSE_SYSTEM_RAPIDJSON=ON -DCLANG_LINK_CLANG_DYLIB=ON
%cmake_build
%install