summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-08-16 06:18:03 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-08-16 06:18:03 +0000
commit221c8210e155dfa28ce9021973f6ebbc62f5f97b (patch)
tree37b87a27a9ed627758e479df71718775328c2577 /dev-libs
parentd2a60d563de96d9052cd5e2cbf89e30f5eb23aee (diff)
downloadbaldeagleos-repo-221c8210e155dfa28ce9021973f6ebbc62f5f97b.tar.gz
baldeagleos-repo-221c8210e155dfa28ce9021973f6ebbc62f5f97b.tar.xz
baldeagleos-repo-221c8210e155dfa28ce9021973f6ebbc62f5f97b.zip
Adding metadata
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libclc/Manifest1
-rw-r--r--dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild61
-rw-r--r--dev-libs/libixion/files/libixion-0.19.0-gcc15-cstdint.patch22
-rw-r--r--dev-libs/libixion/libixion-0.19.0.ebuild4
-rw-r--r--dev-libs/liborcus/files/liborcus-0.19.2-gcc15-cstdint.patch52
-rw-r--r--dev-libs/liborcus/liborcus-0.19.2.ebuild4
-rw-r--r--dev-libs/tre/files/tre-c99.patch23
-rw-r--r--dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild108
-rw-r--r--dev-libs/tree-sitter-c/tree-sitter-c-0.21.4.ebuild2
-rw-r--r--dev-libs/tree-sitter-lua/tree-sitter-lua-0.1.0.ebuild2
-rw-r--r--dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.2.3.ebuild2
-rw-r--r--dev-libs/tree-sitter-query/tree-sitter-query-0.4.0.ebuild2
-rw-r--r--dev-libs/tree-sitter-vim/tree-sitter-vim-0.4.0.ebuild2
-rw-r--r--dev-libs/tree-sitter-vimdoc/tree-sitter-vimdoc-3.0.0.ebuild2
14 files changed, 281 insertions, 6 deletions
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest
index e96e91af93d0..199e0e69f022 100644
--- a/dev-libs/libclc/Manifest
+++ b/dev-libs/libclc/Manifest
@@ -8,4 +8,5 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe
DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
DIST llvm-project-19.1.0-rc2.src.tar.xz 141264388 BLAKE2B 690b4912d9e4a8019b7990934dd6486362337ccb303dca119c0e75aa1063ad452222be1ee965e43b160dfcea20e491a20c289344152666b618712a1d76dc4780 SHA512 508a401e8433b1ac9a399246eb1a3c18faed7c3d41d8c118e77cefbb64cc6d6e171bd41a3e5584f6c84df141ba6819f1a1cce75b5c1ef33e3d2ac239e662d07c
DIST llvm-project-19.1.0-rc2.src.tar.xz.sig 438 BLAKE2B 1eaf10a1419ecf009c033a8f6ecb6eec86107d81621d5b4665c8d929b05f4845ce0c432017343d7b06f33e6ff6384df9e1d8fc7b9c6efe7f10ef69798891b7e5 SHA512 b46e9a1d40f891c5f3544d8cc6295900bff5dda9a4a526b8db55a42a37ae90deb216b316d2117984e82f4e918d15343e75b3b9e6d6c773866707c3398e032826
+DIST llvm-project-db8ef6188cbbe2125e6d60bdef77a535105772df.tar.gz 218416682 BLAKE2B 691e3881e4a60c008c6b766b51ecc856122de1f40242ff1d91ebaa12682fea0a22f84783eb930c42d196f50ba0d3b2010f9010ed73ee7e292fe78c93d6e3f324 SHA512 2dc16a603b60607cc3daee2de0126a567a78c4fff72b2fbcb94c82472bc5ec64ac354ba8592b9a643248a5bfd43b34e2a60f2751a0c9e9e28b7f895fc50a5e9d
DIST llvm-project-fd7d7882e7fa5a38d4bfde426120d4663718beb4.tar.gz 218217769 BLAKE2B a6c2aa012c342e31527b7e9f85e8fea3549d52530d8f87cd699e094a0aa768d099f9fd2631161ff7f53b4a5011937ed6d1f52b8fa1d23aa34183be1f487d4277 SHA512 c4863fab1a3c03f7f9c42f3501d3a75cebb491343515d77d30b26e5cbd720fc3fd628052099d87ed638e8c424bcbe7a1d066ed857f73da6f243d3d5a76b0e6c5
diff --git a/dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild b/dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild
new file mode 100644
index 000000000000..7eadfb0ba872
--- /dev/null
+++ b/dev-libs/libclc/libclc-20.0.0_pre20240815.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {17..18} )
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+inherit cmake llvm.org llvm-r1 python-any-r1
+
+DESCRIPTION="OpenCL C library"
+HOMEPAGE="https://libclc.llvm.org/"
+
+LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
+SLOT="0"
+IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+ $(llvm_gen_dep '
+ sys-devel/clang:${LLVM_SLOT}
+ spirv? ( dev-util/spirv-llvm-translator:${LLVM_SLOT} )
+ ')
+"
+
+LLVM_COMPONENTS=( libclc )
+llvm.org_set_globals
+
+pkg_setup() {
+ llvm-r1_pkg_setup
+ python-any-r1_pkg_setup
+}
+
+src_configure() {
+ local libclc_targets=()
+
+ use spirv && libclc_targets+=(
+ "spirv-mesa3d-"
+ "spirv64-mesa3d-"
+ )
+ use video_cards_nvidia && libclc_targets+=(
+ "nvptx--"
+ "nvptx64--"
+ "nvptx--nvidiacl"
+ "nvptx64--nvidiacl"
+ )
+ use video_cards_r600 && libclc_targets+=(
+ "r600--"
+ )
+ use video_cards_radeonsi && libclc_targets+=(
+ "amdgcn--"
+ "amdgcn-mesa-mesa3d"
+ "amdgcn--amdhsa"
+ )
+ [[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
+
+ libclc_targets=${libclc_targets[*]}
+ local mycmakeargs=(
+ -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
+ )
+ cmake_src_configure
+}
diff --git a/dev-libs/libixion/files/libixion-0.19.0-gcc15-cstdint.patch b/dev-libs/libixion/files/libixion-0.19.0-gcc15-cstdint.patch
new file mode 100644
index 000000000000..2991d7fdbb68
--- /dev/null
+++ b/dev-libs/libixion/files/libixion-0.19.0-gcc15-cstdint.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/937388
+https://gitlab.com/ixion/ixion/-/issues/63
+https://gitlab.com/ixion/ixion/-/merge_requests/70
+
+From cb662d675aaa419972d39c5606713919e3e1d6f9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?=
+ <kacper.slominski72@gmail.com>
+Date: Wed, 14 Aug 2024 03:41:24 +0200
+Subject: [PATCH] Add a missing <cstdint> include
+
+--- a/include/ixion/compute_engine.hpp
++++ b/include/ixion/compute_engine.hpp
+@@ -13,6 +13,7 @@
+
+ #include <memory>
+ #include <string>
++#include <cstdint>
+
+ namespace ixion { namespace draft {
+
+--
+GitLab
diff --git a/dev-libs/libixion/libixion-0.19.0.ebuild b/dev-libs/libixion/libixion-0.19.0.ebuild
index 44897e1347da..ed2ecd8b1df2 100644
--- a/dev-libs/libixion/libixion-0.19.0.ebuild
+++ b/dev-libs/libixion/libixion-0.19.0.ebuild
@@ -32,6 +32,10 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc15-cstdint.patch
+)
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
diff --git a/dev-libs/liborcus/files/liborcus-0.19.2-gcc15-cstdint.patch b/dev-libs/liborcus/files/liborcus-0.19.2-gcc15-cstdint.patch
new file mode 100644
index 000000000000..5cf7ab1e46f7
--- /dev/null
+++ b/dev-libs/liborcus/files/liborcus-0.19.2-gcc15-cstdint.patch
@@ -0,0 +1,52 @@
+https://bugs.gentoo.org/937392
+https://gitlab.com/orcus/orcus/-/issues/199
+https://gitlab.com/orcus/orcus/-/merge_requests/200
+
+From b7932facdf56994b7b1238bafe1e13b4817f69f1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?=
+ <kacper.slominski72@gmail.com>
+Date: Wed, 14 Aug 2024 03:36:46 +0200
+Subject: [PATCH] Add missing <cstdint> includes
+
+--- a/include/orcus/json_document_tree.hpp
++++ b/include/orcus/json_document_tree.hpp
+@@ -14,6 +14,7 @@
+ #include <string>
+ #include <memory>
+ #include <vector>
++#include <cstdint>
+
+ namespace orcus {
+
+--- a/include/orcus/sax_parser.hpp
++++ b/include/orcus/sax_parser.hpp
+@@ -11,6 +11,7 @@
+ #include "sax_parser_base.hpp"
+
+ #include <string_view>
++#include <cstdint>
+
+ namespace orcus {
+
+--- a/include/orcus/yaml_document_tree.hpp
++++ b/include/orcus/yaml_document_tree.hpp
+@@ -14,6 +14,7 @@
+ #include <string>
+ #include <memory>
+ #include <vector>
++#include <cstdint>
+
+ namespace orcus {
+
+--- a/include/orcus/zip_archive.hpp
++++ b/include/orcus/zip_archive.hpp
+@@ -15,6 +15,7 @@
+ #include <vector>
+ #include <memory>
+ #include <ostream>
++#include <cstdint>
+
+ namespace orcus {
+
+--
+GitLab
diff --git a/dev-libs/liborcus/liborcus-0.19.2.ebuild b/dev-libs/liborcus/liborcus-0.19.2.ebuild
index f645c89be179..f2f3929f5040 100644
--- a/dev-libs/liborcus/liborcus-0.19.2.ebuild
+++ b/dev-libs/liborcus/liborcus-0.19.2.ebuild
@@ -36,6 +36,10 @@ DEPEND="${RDEPEND}
dev-util/mdds:${MDDS_SLOT}
"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc15-cstdint.patch
+)
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
diff --git a/dev-libs/tre/files/tre-c99.patch b/dev-libs/tre/files/tre-c99.patch
new file mode 100644
index 000000000000..75375139f6c8
--- /dev/null
+++ b/dev-libs/tre/files/tre-c99.patch
@@ -0,0 +1,23 @@
+https://github.com/laurikari/tre/pull/49/commits/9c049c8c50a50a4f101aa45dd34bd138af7ed3cf
+https://bugs.gentoo.org/932740
+
+--- a/python/tre-python.c
++++ b/python/tre-python.c
+@@ -365,7 +365,7 @@ PyTrePattern_search(TrePatternObject *self, PyObject *args)
+
+ if (PyUnicode_Check(pstring))
+ {
+- Py_ssize_t len = PyUnicode_GetSize(pstring);
++ Py_ssize_t len = PyUnicode_GET_LENGTH(pstring);
+ wchar_t *buf = calloc(sizeof(wchar_t), len);
+ if(!buf)
+ {
+@@ -502,7 +502,7 @@ PyTre_ncompile(PyObject *self, PyObject *args)
+
+ if (upattern != NULL)
+ {
+- Py_ssize_t len = PyUnicode_GetSize(upattern);
++ Py_ssize_t len = PyUnicode_GET_LENGTH(upattern);
+ wchar_t *buf = calloc(sizeof(wchar_t), len);
+ if(!buf)
+ {
diff --git a/dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild b/dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild
new file mode 100644
index 000000000000..393f174f1fd7
--- /dev/null
+++ b/dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+COMMIT="6092368aabdd0dbb0fbceb2766a37b98e0ff6911"
+PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+
+inherit autotools distutils-r1
+
+DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library"
+HOMEPAGE="
+ https://laurikari.net/tre/
+ https://github.com/laurikari/tre
+"
+SRC_URI="https://github.com/laurikari/tre/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+IUSE="+agrep +alloca +approx debug nls profile python"
+
+RDEPEND="
+ agrep? (
+ !dev-ruby/amatch
+ )
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="
+ ${RDEPEND}
+ nls? ( sys-devel/gettext )
+"
+BDEPEND="
+ python? ( ${DISTUTILS_DEPS} )
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+REQUIRED_USE="
+ agrep? ( approx )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=(
+ "${FILESDIR}/0.8.0-pkgcfg.patch"
+ "${FILESDIR}/0.8.0-CVE-2016-8559.patch"
+ "${FILESDIR}/${PN}-chicken.patch"
+ "${FILESDIR}/${PN}-issue37.patch"
+ "${FILESDIR}/${PN}-issue50.patch"
+ "${FILESDIR}/${PN}-issue55-part1.patch"
+ "${FILESDIR}/${PN}-issue55-part2.patch"
+ "${FILESDIR}/${PN}-python3.patch"
+ "${FILESDIR}/${PN}-tests.patch"
+ "${FILESDIR}/${PN}-c99.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --disable-static
+ --disable-system-abi
+ --enable-multibyte
+ --enable-wchar
+ $(use_enable agrep)
+ $(use_enable approx)
+ $(use_enable debug)
+ $(use_enable nls)
+ $(use_enable profile)
+ $(use_with alloca)
+ )
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ if locale -a | grep -iq en_US.iso88591; then
+ emake -j1 check
+ else
+ ewarn "If you like to run the test,"
+ ewarn "please make sure en_US.ISO-8859-1 is installed."
+ die "en_US.ISO-8859-1 locale is missing"
+ fi
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ cd python || die
+ distutils-r1_src_compile
+ fi
+}
+
+src_install() {
+ local HTML_DOCS=( doc/*.{css,html} )
+
+ default
+
+ use python && distutils-r1_src_install
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}
diff --git a/dev-libs/tree-sitter-c/tree-sitter-c-0.21.4.ebuild b/dev-libs/tree-sitter-c/tree-sitter-c-0.21.4.ebuild
index f589df316253..9e92c93ec851 100644
--- a/dev-libs/tree-sitter-c/tree-sitter-c-0.21.4.ebuild
+++ b/dev-libs/tree-sitter-c/tree-sitter-c-0.21.4.ebuild
@@ -12,4 +12,4 @@ HOMEPAGE="https://github.com/tree-sitter/tree-sitter-c"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
diff --git a/dev-libs/tree-sitter-lua/tree-sitter-lua-0.1.0.ebuild b/dev-libs/tree-sitter-lua/tree-sitter-lua-0.1.0.ebuild
index 924ebebbf83d..a5d38136c22e 100644
--- a/dev-libs/tree-sitter-lua/tree-sitter-lua-0.1.0.ebuild
+++ b/dev-libs/tree-sitter-lua/tree-sitter-lua-0.1.0.ebuild
@@ -13,4 +13,4 @@ SRC_URI="https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/v${PV}.
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
diff --git a/dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.2.3.ebuild b/dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.2.3.ebuild
index 2c90f1fc5a4c..4a0e0e7f5d60 100644
--- a/dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.2.3.ebuild
+++ b/dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.2.3.ebuild
@@ -12,4 +12,4 @@ S="${WORKDIR}/${P}/${PN}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
diff --git a/dev-libs/tree-sitter-query/tree-sitter-query-0.4.0.ebuild b/dev-libs/tree-sitter-query/tree-sitter-query-0.4.0.ebuild
index 50cac920993c..c5ef7205a8f4 100644
--- a/dev-libs/tree-sitter-query/tree-sitter-query-0.4.0.ebuild
+++ b/dev-libs/tree-sitter-query/tree-sitter-query-0.4.0.ebuild
@@ -13,4 +13,4 @@ SRC_URI="https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v${PV
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
diff --git a/dev-libs/tree-sitter-vim/tree-sitter-vim-0.4.0.ebuild b/dev-libs/tree-sitter-vim/tree-sitter-vim-0.4.0.ebuild
index d2fdec3dfb55..411b4bf9d001 100644
--- a/dev-libs/tree-sitter-vim/tree-sitter-vim-0.4.0.ebuild
+++ b/dev-libs/tree-sitter-vim/tree-sitter-vim-0.4.0.ebuild
@@ -13,4 +13,4 @@ SRC_URI="https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/v${PV}.
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
diff --git a/dev-libs/tree-sitter-vimdoc/tree-sitter-vimdoc-3.0.0.ebuild b/dev-libs/tree-sitter-vimdoc/tree-sitter-vimdoc-3.0.0.ebuild
index 80b5c046b96a..7feb6099ac83 100644
--- a/dev-libs/tree-sitter-vimdoc/tree-sitter-vimdoc-3.0.0.ebuild
+++ b/dev-libs/tree-sitter-vimdoc/tree-sitter-vimdoc-3.0.0.ebuild
@@ -13,4 +13,4 @@ SRC_URI="https://github.com/neovim/tree-sitter-vimdoc/archive/v${PV}.tar.gz -> $
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"