diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 98373 -> 98377 bytes | |||
-rw-r--r-- | dev-libs/libclc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-19.0.0_pre20240509.ebuild | 61 | ||||
-rw-r--r-- | dev-libs/link-grammar/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/link-grammar/link-grammar-5.12.4.ebuild | 113 | ||||
-rw-r--r-- | dev-libs/uriparser/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/uriparser/files/uriparser-0.9.8-docs-compilation.patch | 13 | ||||
-rw-r--r-- | dev-libs/uriparser/uriparser-0.9.8-r1.ebuild | 61 |
8 files changed, 254 insertions, 0 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex b51d11abd77a..1f85fa865d16 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index f81ee81e7e79..b6e225d38d3a 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -10,6 +10,7 @@ DIST llvm-project-18.1.5.src.tar.xz 132061072 BLAKE2B bfdd987d5992a4d94ae8b14792 DIST llvm-project-18.1.5.src.tar.xz.sig 566 BLAKE2B ad935db71ec3b9fc885d696af440764a71fe7cafc5b3ca0b25a2963100d9cb3790392daebcac1341716c95a8da3c6243f5a8667fea1ed18b93fc8baa495414c9 SHA512 3cbca1059d940f3bd7bd72d68f2828039b66304980cc5f43769649e5494fc7d71117bf8aba5cc7f7a2ffca52f60ba30fadf3b28f984fd49ddb14300e30b45237 DIST llvm-project-338561657685c1831a53563b1bc36ffc7470239e.tar.gz 209715501 BLAKE2B 49152479d4f2cae430e783784d0cfcc129134f5cc0bf12c72701cd15e59cb3e1be2f61385ba9baa93d1d1193e89374ac8877b909650c163b681d1fcd26732cdc SHA512 d34bbe82e85c5b9d493029ad7b46e802f06f7e7a8a48515d0043c58c3251271f8f3e1e11c47eb91bd3db2477f819d33b43ddebb276eb9601c5ad141e463c9682 DIST llvm-project-76aa042dde6ba9ba57c680950f5818259ee02690.tar.gz 210235525 BLAKE2B fbbb8e70e0a08bde1fa2277746f692399fa15015b69693f5e8d3297abf02dfb7b36c535880f5c6924c870652dd3106936776d57c34b22234a5419f75b3561bb7 SHA512 9107551ceb2b28aa735006144b3344801ea861d7b49eae4881831af507314fb8da2bf5e8a3a407aeebd2eee01fbfad2ca90269d2331fe43cca5c2cc49dd257b7 +DIST llvm-project-a7ee81e8279e0bf6e05617a4a638e5f2f8e45022.tar.gz 210384692 BLAKE2B 28b85b08a42c173e1c3bf530483112b1629c7e6684a83a016fbe9f132774f7b864d793581873a6529defeabb4479ad9a3d7c025b781b2fa4952c239b6d567b11 SHA512 1d593818347452f96611a62fa3aa22ce4355a4ee5d5dcfcb54a286a1aa980e9531d5fb6cbee3b0ee5943c6d0f4e2ba2245e13262fe7859e5b114f9c5d5cf1417 EBUILD libclc-15.0.7.ebuild 1668 BLAKE2B ac2bd589fb3c29662799f97b1f649fd22b1b7ce5701879815bc01a05ae88421a830a6a3507b4dead181f24eb4e45c451e8ea1ebbdac2a2de51ddbc3cd9f53c66 SHA512 a3e39fbaddb322360f6362ef21713f375d04e02b2b9a3d43a3d47b26d5d43643a8c654181aef9518aee5f9805d09c446bbbf13342b74f09622e5e1b0c59470b1 EBUILD libclc-16.0.6.ebuild 1665 BLAKE2B 27ffe7083936c466a749550797d109c7a48fc6aaf110977c53ae2d4c5edd558c958a4981020b2c74c6b0c47aeee184edc6e1f192da93f57972fe9cc9abfaa762 SHA512 5007264c688588ec9fd7e74e88a1c1810be2602b744a64d8927275bc8ceaf278d9598222c5d2e3d3fa64504364625b03951752ef7221fd1bf16cc26fbd54ad80 EBUILD libclc-17.0.6.ebuild 1749 BLAKE2B 0b083103fc48654357f621bd3c40002fe9030598a4873519b186b601cd75cc1555a3930f26fe884c1970ddf5728c9a7dffc08e97ebdb151e55b80b204d327a4e SHA512 2509e6ff63a86ba1ceef095fab34b49642b7e6866111c289c124bb7ef9d4bad8f07c4927b45994555386536975c8a4c56401860dca25f2ef2014d9153abb4c8f @@ -18,4 +19,5 @@ EBUILD libclc-18.1.5.ebuild 1305 BLAKE2B 22e8374609ba2d88b3cf9979dcd328e533f233a EBUILD libclc-19.0.0.9999.ebuild 1268 BLAKE2B 5b6d00090f748b17f2a947c66f8b835732bd230b87317a521235d32548c619ad146bfe0f21dd2b09b97eed462f5cfde72b6b7b0ac57d1facfec3b4fad059c152 SHA512 e786a3c97902ec99df63daebfcb2bbff20533cc2fd96b858c460fc1a4e1ae55dbe865aa8e53649a69539508445de00c042bfee4841221bfbc5a4fb3375a6d59c EBUILD libclc-19.0.0_pre20240427.ebuild 1268 BLAKE2B 92a3a9d265bb42357c4ea9fb9d3d2987eb472a5a4d2a7531b2216cb81c09f411477eac675d6970084e8feebcf292928f6ca93575f51def4420ecead684136de4 SHA512 a53ed11ab2052cbd8f26c70c14994ffc347d373f07a820f6c3bf9335c64b72c1ac422998da2eb814e1ed83a9d6a80df75b405d9063c31404099c575c6d56b05c EBUILD libclc-19.0.0_pre20240504.ebuild 1268 BLAKE2B 5b6d00090f748b17f2a947c66f8b835732bd230b87317a521235d32548c619ad146bfe0f21dd2b09b97eed462f5cfde72b6b7b0ac57d1facfec3b4fad059c152 SHA512 e786a3c97902ec99df63daebfcb2bbff20533cc2fd96b858c460fc1a4e1ae55dbe865aa8e53649a69539508445de00c042bfee4841221bfbc5a4fb3375a6d59c +EBUILD libclc-19.0.0_pre20240509.ebuild 1268 BLAKE2B 5b6d00090f748b17f2a947c66f8b835732bd230b87317a521235d32548c619ad146bfe0f21dd2b09b97eed462f5cfde72b6b7b0ac57d1facfec3b4fad059c152 SHA512 e786a3c97902ec99df63daebfcb2bbff20533cc2fd96b858c460fc1a4e1ae55dbe865aa8e53649a69539508445de00c042bfee4841221bfbc5a4fb3375a6d59c MISC metadata.xml 362 BLAKE2B 768f93d0058e4da4b420569f3f1771dfa7385ad89540bbc18cf53b5a71e3f060a8afa1112ff37570d7fc9dc3e71619fa3fd8d0cf7b5d3954f5110b19e146df30 SHA512 e6335424da09f668953acd39dcd9b03a30e3b509b34b1de5c72644a3740a5b6b287f10e08405b79bafc8104cc4dc1324b7b9d7990c3b560b0235ae82da8c68a5 diff --git a/dev-libs/libclc/libclc-19.0.0_pre20240509.ebuild b/dev-libs/libclc/libclc-19.0.0_pre20240509.ebuild new file mode 100644 index 000000000000..d57c9ec1fe3a --- /dev/null +++ b/dev-libs/libclc/libclc-19.0.0_pre20240509.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_{10..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/link-grammar/Manifest b/dev-libs/link-grammar/Manifest index 9e2295901cd9..1919e33961c3 100644 --- a/dev-libs/link-grammar/Manifest +++ b/dev-libs/link-grammar/Manifest @@ -1,4 +1,6 @@ AUX link-grammar-5.12.3-Wimplicit-function-declaration.patch 1295 BLAKE2B 90ece06844dee100de78b45d172bc2a3bef9b2625f47dfb4f1d5a832f010defb28b9e7d8442d8c4e7f0ea01c246200b41629976891a761217624413c80ff2c41 SHA512 b878d6e64e45c40470b61aa31f3c7ceeef3946e1fd15a0f473a131c0cc11e44f1ac7bbfc602362c05659416e40c706d25f1be7e01204b5b9b7b58f71902de2e1 DIST link-grammar-5.12.3.tar.gz 4704751 BLAKE2B a7f0fe39c51ed26ea764d583b38b21cfce6e596c6cd94db6ba47b3606a2b6cd9e56bd6fedeb104dbb345baedae3e144af96999739dda9daa9a9e5886bd98d2f4 SHA512 e0fdb78ec03042119011afea005a62829317fd0bc20afcd94e3f234c9c5252ed9c57d717b75368ac4a63dd8493bd86f551870299925f3b9b95b11915f48d8abe +DIST link-grammar-5.12.4.tar.gz 4720724 BLAKE2B 6573895298128165d7f840a13aad124418dbd1b9c70436dbe2bd65b3fd1883777e72da13f5196031696edb7cdc6c9d86acd5fdd4d1aa8fb295a136b2ba0568cf SHA512 fd5318c21202c17902de996882fd8630c7e95622b8ebe6877a334df22ff678a6040e0519bdabfa1138aaefdf3a7c20cbfe9e65bdce4dfe568729c9ba5a2d6fe5 EBUILD link-grammar-5.12.3.ebuild 2965 BLAKE2B 038477eb61c4ad170de17f2be8ea8bd69ba64e7d594a3382de5d7861a6503fec2ac56a8e9aac345d66cf25ede71e8d6b0137fd7839fe949c254603f5ae6d439e SHA512 71dffd2543d5ad7e26059785dc78178a1c377c4ebd33eaa9c53f7cb82530ac14b136942b7c24e2098149c72646f252fe82b058f34604b4f41a7245daa04424e2 +EBUILD link-grammar-5.12.4.ebuild 2838 BLAKE2B 2c1b448bbc7499726c4a8193b1866d012bc7557ac1e9702d3b209a07814e789c54374def028259c567037da8c0c3dc116c35355c96cfdf496a031dc5f2a13f64 SHA512 29e50f41a1b3947a9d80498ebcae0d73d86ac2d96b03837f59b8ac81ff1114bfc9510c239ca9f4cbf6da03c8c051717513ab2f5a770c8a0da66a3f96d3127d5f MISC metadata.xml 1197 BLAKE2B fac6dd40856d97100ee06cdcd340e660bb2ffe527df31983165beec9d194839336dfddb54be33561560ac2c79d8bad12809eef53abd4059b7c74b7494d728354 SHA512 dcb16b8afa977639e3fe8633762fc7a26d8ab095da15d630bedc6ba65e4c82ec5f0bedbd564b6ad0490790723c0a04065a5cab536aff93cdcf8eab5f1a2d503e diff --git a/dev-libs/link-grammar/link-grammar-5.12.4.ebuild b/dev-libs/link-grammar/link-grammar-5.12.4.ebuild new file mode 100644 index 000000000000..b6ed517ee9e9 --- /dev/null +++ b/dev-libs/link-grammar/link-grammar-5.12.4.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit autotools python-r1 out-of-source + +DESCRIPTION="A Syntactic English parser" +HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/" +SRC_URI="https://www.gnucash.org/link-grammar/downloads/${PV}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="aspell +hunspell python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# XXX: sqlite is automagic +# Does not build with >=sci-mathematics/minisat-2, bug #593662 +RDEPEND=" + dev-db/sqlite:3 + dev-libs/libpcre2:= + aspell? ( app-text/aspell ) + hunspell? ( app-text/hunspell ) + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/swig:0 + dev-build/autoconf-archive + virtual/pkgconfig" + +QA_CONFIG_IMPL_DECL_SKIP=( + # _AC_UNDECLARED_BUILTIN false positive + strchr +) + +pkg_setup() { + if use aspell && use hunspell; then + ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist," + ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if" + ewarn "you want aspell support." + fi +} + +src_prepare() { + default + eautoreconf +} + +my_src_configure() { + local myconf=( + --disable-maintainer-mode + --disable-editline + # java is hopelessly broken, invokes maven at build time (bug #806157) + --disable-java-bindings + --disable-perl-bindings + --disable-sat-solver + --with-regexlib=pcre2 + $(use_enable aspell) + $(use_enable hunspell) + $(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell) + ) + + econf \ + --disable-python-bindings \ + "${myconf[@]}" + + if use python; then + python_configure() { + econf \ + --enable-python-bindings \ + "${myconf[@]}" + } + python_foreach_impl run_in_build_dir python_configure + fi +} + +my_src_compile() { + local -x MAIN_BUILD_DIR="${BUILD_DIR}" + default + + if use python; then + python_compile() { + emake -C bindings/python \ + VPATH="${S}:${MAIN_BUILD_DIR}" \ + _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ + _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la + } + python_foreach_impl run_in_build_dir python_compile + fi +} + +my_src_install() { + local -x MAIN_BUILD_DIR="${BUILD_DIR}" + default + + if use python; then + python_install() { + emake -C bindings/python \ + VPATH="${S}:${MAIN_BUILD_DIR}" \ + _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ + _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ + DESTDIR="${D}" \ + install + } + python_foreach_impl run_in_build_dir python_install + fi + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/uriparser/Manifest b/dev-libs/uriparser/Manifest index 06dab42ee371..f5eeba3820ea 100644 --- a/dev-libs/uriparser/Manifest +++ b/dev-libs/uriparser/Manifest @@ -1,5 +1,7 @@ +AUX uriparser-0.9.8-docs-compilation.patch 486 BLAKE2B 6e2103b365cd05ab499a48f4d7445a7ec1d90328a4cfd2f753196228afc5f16a3600212c1febba3a536fd88428294269e7331110e936d748d8a4ede65e4dffeb SHA512 25503b7a4476a5cbdfeac7e90d8477ee0965ca3fc17bc14f32e064a31ad4fd2f10c57753895bc2ab0d72681184ecf8d38e6c7a879b5fedc620775e477b49cb83 DIST uriparser-0.9.7.tar.bz2 179989 BLAKE2B 50d04df0024f2ad926072a06d92066025c12528853e784f28bf311a64eb37b619634fa14265cadf55e514810804adeefb7dea841178f916ccdbd086a897d375b SHA512 7f69c9806665745c1bafe11f818434e27c2da03af387f009ef46c1427af8c008faa45e6f49bece66e0b96fd17b3924ba0af25476e796972c5e4b651f35f74c13 DIST uriparser-0.9.8.tar.bz2 180690 BLAKE2B 75c115fc6d89ffb44a7ff4899b9a89394fdc6e49e9d374836e548cf75d7aed314406ec9abcc29410a66038aa670636e44cf97305c1ca8b6f472af444ffed9167 SHA512 41377e27f92345442cafa4e443485808c286430fcb5ce2354a683344e744786a170f443425f304bdb5a152edf96a3412f203eabe4fb3345a369e6d69f3d97e40 EBUILD uriparser-0.9.7.ebuild 1395 BLAKE2B 1b10f495b8d4fcdf15b3f6df3f9d5314e0070682d63cf2d0752ab42eb754f2a35ec5ddb8035eb63d16e62bc59ba14d8afebb55aee819208ebdff01efbf6b3372 SHA512 2c9e4688ef2ee7585fb29fd07f97f9157af700ea46d618a9513ced8605d303162d4b0bc60b73731e10fb6e464bd49cb01db2b7711acf2207e48c2112f67a25e0 +EBUILD uriparser-0.9.8-r1.ebuild 1457 BLAKE2B 76b1490fc94bbc239ad9bb84e148b157a7a55131fb2e75e9250b42d810b2c89ee57a3b12065f823d3859a4f5145e84815642783d77a93b8e3b5bd2e5efab773c SHA512 f4fde7109778f996f925bb29f6302b2003eab3ff005e621a21faba198229b44c1b233e299acbd14e6a59cdc53a60227ccb2d979ac4de6205795084ce23ecf772 EBUILD uriparser-0.9.8.ebuild 1395 BLAKE2B 1b10f495b8d4fcdf15b3f6df3f9d5314e0070682d63cf2d0752ab42eb754f2a35ec5ddb8035eb63d16e62bc59ba14d8afebb55aee819208ebdff01efbf6b3372 SHA512 2c9e4688ef2ee7585fb29fd07f97f9157af700ea46d618a9513ced8605d303162d4b0bc60b73731e10fb6e464bd49cb01db2b7711acf2207e48c2112f67a25e0 MISC metadata.xml 850 BLAKE2B b9c183dbc3eef48a014ad0f99175e5fff7c3dfb175c99057ab2ebb11763422cc681571b6850d63373ed91e425a91d3ec21f45a69d026368f4d610c9caeec00df SHA512 af788632dc823c16bc0dd5325c468d41c3e4b33b48545adec273f14c23477a6d177c014fdcf8539fda0d222474f6f6362fef5882e1d1f5931d62433fccf8dc28 diff --git a/dev-libs/uriparser/files/uriparser-0.9.8-docs-compilation.patch b/dev-libs/uriparser/files/uriparser-0.9.8-docs-compilation.patch new file mode 100644 index 000000000000..fbf298e6a7cd --- /dev/null +++ b/dev-libs/uriparser/files/uriparser-0.9.8-docs-compilation.patch @@ -0,0 +1,13 @@ +diff --git a/doc/preprocess.sh b/doc/preprocess.sh +index c77bb6a..6ee75f2 100755 +--- a/doc/preprocess.sh ++++ b/doc/preprocess.sh +@@ -1,4 +1,6 @@ + #! /usr/bin/env bash + # Run GCC preprocessor and delete empty lines +-: ${CPP:=cpp} +-"${CPP}" -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include "$1" | sed -e '/^$/d' -e 's/COMMENT_HACK//g' ++: ${CC:=cc} ++PS4='doc/preprocess.sh|# ' ++set -x ++"${CC}" -E -DURI_DOXYGEN -DURI_NO_UNICODE -C -I ../include "$1" | sed -e '/^$/d' -e 's/COMMENT_HACK//g' diff --git a/dev-libs/uriparser/uriparser-0.9.8-r1.ebuild b/dev-libs/uriparser/uriparser-0.9.8-r1.ebuild new file mode 100644 index 000000000000..984256a19ba3 --- /dev/null +++ b/dev-libs/uriparser/uriparser-0.9.8-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Strictly RFC 3986 compliant URI parsing library in C" +HOMEPAGE="https://uriparser.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+doc qt5 test unicode" # +doc to address warning RequiredUseDefaults + +REQUIRED_USE="qt5? ( doc ) test? ( unicode )" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( >=dev-cpp/gtest-1.8.1 ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + >=app-text/doxygen-1.5.8 + media-gfx/graphviz + qt5? ( dev-qt/qthelp:5 ) + ) +" + +PATCHES=( + "${FILESDIR}"/${P}-docs-compilation.patch +) + +DOCS=( AUTHORS ChangeLog THANKS ) + +src_configure() { + local mycmakeargs=( + -DURIPARSER_BUILD_CHAR=ON + -DURIPARSER_BUILD_DOCS=$(usex doc ON OFF) + -DURIPARSER_BUILD_TESTS=$(usex test ON OFF) + -DURIPARSER_BUILD_TOOLS=ON + -DURIPARSER_BUILD_WCHAR_T=$(usex unicode ON OFF) + + # The usex wrapper is here to address this warning: + # One or more CMake variables were not used by the project: + # CMAKE_DISABLE_FIND_PACKAGE_Qt5Help + $(usex doc "$(cmake_use_find_package qt5 Qt5Help)") + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use doc && use qt5; then + dodoc "${BUILD_DIR}"/doc/*.qch + docompress -x /usr/share/doc/${PF}/${P}.qch + fi +} |