dev-util/ccls: Drop old versions

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2025-05-05 14:23:27 -04:00
parent 527e230041
commit 4aa5d7c516
4 changed files with 0 additions and 119 deletions

View File

@@ -1,3 +1 @@
DIST ccls-0.20240202.tar.gz 162283 BLAKE2B e96ae688690cfac13505e710c4b31afc5a3281bcb735d5f215b364870e0958b0b11799ab4340b74ef1530eb8d378d2b8dd7fddb1b16cbe5707073d63bce4a985 SHA512 bf30c869b985d7d6c0ecabfcc563b4983616c4f47ba743586a23441575695d87557113cdfd2603185adc454940d9244c331d9dc16444564358c910e2d61e9281
DIST ccls-0.20240505.tar.gz 162441 BLAKE2B 881481d0d420d5e56e872271629051077c44ee8b5a6d184956ab7ae881afe0d7f6b798fd2f063904152f4b9aeadb8550ab2e1708c1ff7f3993bd97da6c0e9ee0 SHA512 1f250c4aee5d0f48886530c688581222b539b2b4fe9a11a5f9158306e85b47d2f299eccf721c171d92f83bda2b0ea90c299d393d25c0549c462f3f13decf2d6e
DIST ccls-0.20241108.tar.gz 161114 BLAKE2B 83cb61c92707eb3c08c05f36e644dea00a08e5b12baafb45477f44a806a265825788ff431e4cf115ac70f543462e9ea15500b5e8086d2194285d8101a3e036c5 SHA512 b271b175ea64eb10a052789c5527135b5aff7f9088aa20158895263262c1c93541cc4f987e7d7a73b702db0b85f9366ed57a9b38bf1e245e50f3c4e3eeed7277

View File

@@ -1,47 +0,0 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGIT_REPO_URI="https://github.com/MaskRay/${PN}"
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-r3"
LLVM_MAX_SLOT=18
else
LLVM_MAX_SLOT=18
fi
inherit cmake llvm ${GIT_ECLASS}
DESCRIPTION="C/C++/ObjC language server"
HOMEPAGE="https://github.com/MaskRay/ccls"
if [[ ${PV} != *9999 ]] ; then
SRC_URI="https://github.com/MaskRay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 ~riscv"
fi
LICENSE="Apache-2.0"
SLOT="0"
# We only depend on Clang because of a quirk in how dependencies work
# See comment in llvm.eclass docs
DEPEND="
dev-libs/rapidjson
<llvm-core/clang-$((${LLVM_MAX_SLOT} + 1)):=
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/ccls-0.20240202-gcc15-cstdint.patch
)
src_configure() {
local mycmakeargs=(
-DCCLS_VERSION=${PV}
-DUSE_SYSTEM_RAPIDJSON=ON
-DCLANG_LINK_CLANG_DYLIB=1
)
cmake_src_configure
}

View File

@@ -1,48 +0,0 @@
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EGIT_REPO_URI="https://github.com/MaskRay/${PN}"
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-r3"
LLVM_COMPAT=( {18..19} )
else
LLVM_COMPAT=( {18..19} )
fi
inherit cmake llvm-r1 ${GIT_ECLASS}
DESCRIPTION="C/C++/ObjC language server"
HOMEPAGE="https://github.com/MaskRay/ccls"
if [[ ${PV} != *9999 ]] ; then
SRC_URI="https://github.com/MaskRay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm64 ~riscv"
fi
LICENSE="Apache-2.0"
SLOT="0"
DEPEND="
dev-libs/rapidjson
$(llvm_gen_dep '
llvm-core/clang:${LLVM_SLOT}=
llvm-core/llvm:${LLVM_SLOT}=
')
"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/ccls-0.20240202-gcc15-cstdint.patch
)
src_configure() {
local mycmakeargs=(
-DCCLS_VERSION=${PV}
-DUSE_SYSTEM_RAPIDJSON=ON
-DCLANG_LINK_CLANG_DYLIB=1
)
cmake_src_configure
}

View File

@@ -1,22 +0,0 @@
https://github.com/MaskRay/ccls/pull/968
From dcb10d17de5aa9d2fb2278ea87e76d042d9fda77 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Tue, 6 Aug 2024 11:41:47 +0100
Subject: [PATCH] utils: Add `<cstdint>`
utils uses `uint64_t` without including `<cstdint>`
which fails to build w/ GCC 15 after a change in libstdc++ [0]
[0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2
--- a/src/utils.hh
+++ b/src/utils.hh
@@ -6,6 +6,7 @@
#include <optional>
#include <string_view>
+#include <cstdint>
#include <iterator>
#include <memory>
#include <string>