diff options
Diffstat (limited to 'dev-cpp')
19 files changed, 98 insertions, 645 deletions
diff --git a/dev-cpp/edencommon/Manifest b/dev-cpp/edencommon/Manifest index 9a665e574a61..3ac044c57869 100644 --- a/dev-cpp/edencommon/Manifest +++ b/dev-cpp/edencommon/Manifest @@ -1,6 +1,2 @@ -DIST edencommon-0_pre20220808.tar.gz 142458 BLAKE2B 0dd501069bc511973e89b21b9dbdce7eeb0e87e31ecd05e585fe83c515894691a02e5725de8c912c4bd0fb70f4172445070ef8fec205243e1df9c35a3ccaffe4 SHA512 63f60e1c406d834cf618e2747c21f928e43fe2a475a97152070aecb61b11b5e515bdfd1c9571a93a159d91fa185c9f89caebe8d41421a94e636e8ff43fd11a3a -DIST edencommon-0_pre20220815.tar.gz 142456 BLAKE2B 64e2b8e155e56ff50ca348ae53f3e55e123b32816ec199cebf760dcd4b08da920b15b56aab1254a782d202b89e1d119a8180f7d5382da8a94f67752ecb6924db SHA512 7263fb3f85c6142862eac9472c2de2ac94a2b3c5205e0d87ca2f6694d4ed3c5b9f2643c35266141e6bbbb1d45079a59cf5803de3065ef46a9a8d7f321b15bc99 -DIST edencommon-2022.08.15.00.gh.tar.gz 142467 BLAKE2B e3d72f1ae5845db2c18003202ca6360cc9496c3544eff2cad8eee486098dae3649bc54a0b7b9ea57fb72a1669a1f4307a017a85693499ca353f553f0de79dc6b SHA512 211a6f0e22b662e743cc944b7bc3d9ad63c1e4dd55b515db958fdfc04463357caef39ad43a9089417ac61929a8f32375f2fd673a113c04a162e94f6419737e81 -DIST edencommon-2022.08.22.00.gh.tar.gz 143598 BLAKE2B af33b9369c694a4649d27dfe66bae6a7442ff2cc241046b05dc71c98375dbfed9386ee3ef6f4f0f19252435e9579164c0826e4996078b43005de5ad751166ba9 SHA512 079ca724c7ce276586180940369709cabab187aac3e2e80cdec024b4ae9687158cd7888fa413a4e008dc68b725e690b0b0308a69c86c3bde036abfdcd2eaa168 DIST edencommon-2022.08.29.00.gh.tar.gz 143430 BLAKE2B a66bae35413097140b24c9313b12d55d52cbd98396ff1afacc751eb9752d4116ab19aeb9320dead5500189d74b4d91fdc09d9648fc6b5fbb55a706328488e7ef SHA512 6622c5de2dbff96717a345c82aaf9335745ed57262bb55c7a6704a68259ce81376ff0a2e9f3818ed1c1f08434da704f31fd4e3d8c48dd13646f0202e7564b2c7 -DIST edencommon-2022.09.05.00.gh.tar.gz 143447 BLAKE2B 732963333a663b76c445076392f59de46dec6a94d8bec75252952c88eb748b3f9a62e9d10134c8c33525ad0b3c2c3d235b96bc65500de9a63d1042f1f7c9c528 SHA512 2110446ef109fc151d2d0d2d7eead283ced5ddc4ef4af3bea66d6aebf26c141a636bb03ee9e3f35ce7440373cb37858b748c39ddd14588513373ac7801600897 +DIST edencommon-2022.09.12.00.gh.tar.gz 143483 BLAKE2B 414060f4d43e16e92f654a0d5d74fede2621bf7f39b880588e3c172dca6cffc59c88de15ece3ce42e1860c351bdef16b1f4daa6ba4fa203aef91d714e43b63ea SHA512 3c6da5425228ada48510208978facfd9fd233e607be076f05c3f431a473098329b23a81609ac8c4766ecf16d8e887aa8667d76c4e48219f0ab61074dbe207333 diff --git a/dev-cpp/edencommon/edencommon-0_pre20220808.ebuild b/dev-cpp/edencommon/edencommon-0_pre20220808.ebuild deleted file mode 100644 index 93b9b628173b..000000000000 --- a/dev-cpp/edencommon/edencommon-0_pre20220808.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# These must be bumped together: -# dev-cpp/edencommon -# dev-cpp/folly -# dev-util/watchman - -inherit cmake - -# No proper tags yet (https://github.com/facebookexperimental/edencommon/issues/2) -MY_COMMIT="d356bb7a9a28f09f00d72a81f7b60f8f27ce249c" -DESCRIPTION="Shared library for Watchman and Eden projects" -HOMEPAGE="https://github.com/facebookexperimental/edencommon" -SRC_URI="https://github.com/facebookexperimental/edencommon/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/${PN}-${MY_COMMIT} - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind" - -RDEPEND=" - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-cpp/folly:= - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/gtest -" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" - -DLIB_INSTALL_DIR="$(get_libdir)" - ) - - cmake_src_configure -} diff --git a/dev-cpp/edencommon/edencommon-0_pre20220815.ebuild b/dev-cpp/edencommon/edencommon-0_pre20220815.ebuild deleted file mode 100644 index 2c1ede94a485..000000000000 --- a/dev-cpp/edencommon/edencommon-0_pre20220815.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# These must be bumped together: -# dev-cpp/edencommon -# dev-cpp/folly -# dev-util/watchman - -inherit cmake - -# No proper tags yet (https://github.com/facebookexperimental/edencommon/issues/2) -MY_COMMIT="ca22cf964f1163c2a198d7cd3545f0c9b04b3c75" -DESCRIPTION="Shared library for Watchman and Eden projects" -HOMEPAGE="https://github.com/facebookexperimental/edencommon" -SRC_URI="https://github.com/facebookexperimental/edencommon/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/${PN}-${MY_COMMIT} - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind" - -RDEPEND=" - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-cpp/folly:= - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/gtest -" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" - -DLIB_INSTALL_DIR="$(get_libdir)" - ) - - cmake_src_configure -} diff --git a/dev-cpp/edencommon/edencommon-2022.08.22.00.ebuild b/dev-cpp/edencommon/edencommon-2022.08.22.00.ebuild deleted file mode 100644 index 5c158b468234..000000000000 --- a/dev-cpp/edencommon/edencommon-2022.08.22.00.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# These must be bumped together: -# dev-cpp/edencommon -# dev-cpp/folly -# dev-util/watchman - -inherit cmake - -DESCRIPTION="Shared library for Watchman and Eden projects" -HOMEPAGE="https://github.com/facebookexperimental/edencommon" -SRC_URI="https://github.com/facebookexperimental/edencommon/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind" - -RDEPEND=" - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-cpp/folly:= - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/gtest -" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" - -DLIB_INSTALL_DIR="$(get_libdir)" - ) - - cmake_src_configure -} diff --git a/dev-cpp/edencommon/edencommon-2022.09.05.00.ebuild b/dev-cpp/edencommon/edencommon-2022.09.05.00.ebuild deleted file mode 100644 index 5c158b468234..000000000000 --- a/dev-cpp/edencommon/edencommon-2022.09.05.00.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# These must be bumped together: -# dev-cpp/edencommon -# dev-cpp/folly -# dev-util/watchman - -inherit cmake - -DESCRIPTION="Shared library for Watchman and Eden projects" -HOMEPAGE="https://github.com/facebookexperimental/edencommon" -SRC_URI="https://github.com/facebookexperimental/edencommon/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind" - -RDEPEND=" - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-cpp/folly:= - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/gtest -" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" - -DLIB_INSTALL_DIR="$(get_libdir)" - ) - - cmake_src_configure -} diff --git a/dev-cpp/edencommon/edencommon-2022.08.15.00.ebuild b/dev-cpp/edencommon/edencommon-2022.09.12.00.ebuild index 5c158b468234..5c158b468234 100644 --- a/dev-cpp/edencommon/edencommon-2022.08.15.00.ebuild +++ b/dev-cpp/edencommon/edencommon-2022.09.12.00.ebuild diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest index cee34716d5ed..22a3f7d97626 100644 --- a/dev-cpp/folly/Manifest +++ b/dev-cpp/folly/Manifest @@ -1,8 +1,3 @@ DIST folly-2022.03.28.00.tar.gz 3616507 BLAKE2B da003701abe599f20ac87a2785fe9a4cd4a8896d182737eb1eac6384f3d75a792225b426febea7cc4ea99aac1a1f31eb7330e0a297f43ae7d5aafccd93784560 SHA512 6eee07b3e82247c3c8672442503e9a69a1c4607604269fc0760e11a2d0e5595029e6995fbe7c970d2052a7f228f6b92112630e6d5c624369fc52e5ad1823ef74 -DIST folly-2022.04.11.00.tar.gz 3632587 BLAKE2B 13820f6dc600727fa97603181be97a568cc8b3c713659717592853827dac050d5f1f6d98178e3054871233b48ac18f713589bf43b36ea29445cad557ce13bacf SHA512 7aa0be95d6f8b21aaa88558cf5921c526ab5a8c8121b858eb6e7ea19946d7a82dff06d90b7a365cef5c56a43d8d57af8d01b8b11b27262fbed9ee8c9e701b5ac -DIST folly-v2022.07.04.00.tar.gz 3647988 BLAKE2B ab8916ff4be1468d44dc0892126448682554ea95ce879166f457b621c3157cb22d0292fe2c58744494efe0fbabbf77732184335cd22244724c740910cf3a8303 SHA512 11fc32768539d8d42c7396eeac522238450617c8dde302b45c64bb93fd6ceaef7bb193b897802962782e8211c3931d31bf8df68e06741ce855d9725510677d7a -DIST folly-v2022.08.08.00.tar.gz 3684846 BLAKE2B 462c183effea452ca706a7a14ebba820f377bc5ba6fd1475b15ca10e3c21df60a16b529b6599cf5dd5df2913b1fbd0432a3c411ab0aa400a9c84bb6aecd2f70f SHA512 f44dbf96f42a86d44cad46129750ae2bc0abb6702e148de10def4b241a3c7afa62ad19acca96609e8a9bfdfeeb7eda3f19d8eb161b5e41702c943ca87a75c88e -DIST folly-v2022.08.15.00.tar.gz 3691439 BLAKE2B 96ba34a18b51ea91aacd2bbcdbfef855a8924004850534ef342799d1c36d6ece04b77100b8901053fd3d0a997d1764ffdfd5bcd60928b4a4f8c9480f5a6d8ee6 SHA512 72d8d29a1f26f5af33d13e1d2f7ed5ce439bc7345daecc3ed1d30e33b802e0aa4f1ca59fae16db25079e55da14f60cd6a548f0f31eef48abad49b71baa6e6307 -DIST folly-v2022.08.22.00.tar.gz 3693126 BLAKE2B 1d28c114068d6d37bb0d57fddc9ab22438efc967aba810ba463b2e63c451a7d66152c5ec5b42d10879ed3d44467af5548d98998c52080b10f82aabfaec5f8b85 SHA512 b042a25c4e114d7098dbba94699a472e94a9074fe0814b1c5417e5bf995b69a22704613ae2a863d4e098511b0b8cc38c2e7c172a02b7bf772e238edcfe967c9e DIST folly-v2022.08.29.00.tar.gz 3696645 BLAKE2B c1ff618be8b6a73bf0a1249212cf904ac472711086e54da73dd631ecf002761e30496e8631d6591f51e279b736ae9b3fe50959de6b1f86f01f9d6bc08fe675fc SHA512 1437a1314e26624715a0bb781049e19300eb3a67648287b319c55ce0dfbc867a09bd9d2f0cece6fc75fc62b21899aa94b464ae49c12687be7c94fdf0c7b95790 -DIST folly-v2022.09.05.00.tar.gz 3707503 BLAKE2B 417df2b8e5dc21b6bffa815b265f85321c93c5d841ca0be77da46c32d6c75dc135a86ec37d8d6a6c3e2b95d8ccfe73e30739713c97e43f4cd3ba18c8a9d3dbde SHA512 5ab206606c3e8b0930e098bc86406edd1b66e99bfa5b3bdcd93bfc054c83fae5271b4257a03a2e18d9f1f789bf64088de2e0c3bbd0a9618ef4281e748da0ccba +DIST folly-v2022.09.12.00.tar.gz 3710760 BLAKE2B af59580ebee3229a6564c4b29e1d24bc405f4ae3b79751af315245c87472293f97c2d78348c92620d3196d1d41a7b55af9627cd42d23f74cbf6f00d129b3b77c SHA512 f9d0ca44f6f0c343d16e8ee5408808830b30155d42a257c48e627f9a82bb4a57568a7feeba01cf73704db68af1eee7424971540635d5dfe1728fc2ae73953940 diff --git a/dev-cpp/folly/folly-2022.04.11.00-r1.ebuild b/dev-cpp/folly/folly-2022.04.11.00-r1.ebuild deleted file mode 100644 index 4d4886d38022..000000000000 --- a/dev-cpp/folly/folly-2022.04.11.00-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="An open-source C++ library developed and used at Facebook" -HOMEPAGE="https://github.com/facebook/folly" -SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/bzip2 - app-arch/lz4:= - app-arch/snappy:= - app-arch/xz-utils - app-arch/zstd:= - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-libs/boost:=[context] - dev-libs/double-conversion:= - dev-libs/libaio - dev-libs/libevent:= - dev-libs/libfmt:= - dev-libs/libsodium:= - dev-libs/openssl:= - sys-libs/liburing:= - sys-libs/zlib - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= )" -# libiberty is linked statically -DEPEND="${RDEPEND} - sys-libs/binutils-libs" -BDEPEND="test? ( sys-devel/clang )" - -pkg_setup() { - if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then - ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" - ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" - - export CC=${CHOST}-clang - export CXX=${CHOST}-clang++ - fi -} - -src_configure() { - # TODO: liburing could in theory be optional but fails to link - - local mycmakeargs=( - -DLIB_INSTALL_DIR="$(get_libdir)" - - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest - # Long-standing known test failure - # TODO: report upstream - # - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout - # Timeouts are fragile - -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)" - ) - - cmake_src_test -} diff --git a/dev-cpp/folly/folly-2022.07.04.00.ebuild b/dev-cpp/folly/folly-2022.07.04.00.ebuild deleted file mode 100644 index c22332816b46..000000000000 --- a/dev-cpp/folly/folly-2022.07.04.00.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="An open-source C++ library developed and used at Facebook" -HOMEPAGE="https://github.com/facebook/folly" -SRC_URI="https://github.com/facebook/folly/releases/download/v${PV}/${PN}-v${PV}.tar.gz" -S="${WORKDIR}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/bzip2 - app-arch/lz4:= - app-arch/snappy:= - app-arch/xz-utils - app-arch/zstd:= - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-libs/boost:=[context] - dev-libs/double-conversion:= - dev-libs/libaio - dev-libs/libevent:= - dev-libs/libfmt:= - dev-libs/libsodium:= - dev-libs/openssl:= - sys-libs/liburing:= - sys-libs/zlib - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= )" -# libiberty is linked statically -DEPEND="${RDEPEND} - sys-libs/binutils-libs" -BDEPEND="test? ( sys-devel/clang )" - -PATCHES=( - "${FILESDIR}/${PN}"-2022.07.04.00-musl-fix.patch -) - -pkg_setup() { - [[ ${BUILD_TYPE} == "binary" ]] && return - - if use test && ! tc-is-clang ; then - # Always build w/ Clang for now to avoid gcc ICE - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 - #if [[ $(gcc-major-version) -eq 12 ]] ; then - # return - #fi - - ## Only older GCC 11 is broken - #if [[ $(gcc-major-version) -eq 11 && $(gcc-minor-version) -ge 3 && $(gcc-micro-version) -ge 1 ]] ; then - # return - #fi - - ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" - #ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" - - export CC=${CHOST}-clang - export CXX=${CHOST}-clang++ - fi -} - -src_configure() { - # TODO: liburing could in theory be optional but fails to link - - local mycmakeargs=( - -DLIB_INSTALL_DIR="$(get_libdir)" - - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest - # Long-standing known test failure - # TODO: report upstream - # - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout - # Timeouts are fragile - -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)" - ) - - cmake_src_test -} diff --git a/dev-cpp/folly/folly-2022.08.08.00.ebuild b/dev-cpp/folly/folly-2022.08.08.00.ebuild deleted file mode 100644 index 22a9e4c423a7..000000000000 --- a/dev-cpp/folly/folly-2022.08.08.00.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# These must be bumped together: -# dev-cpp/edencommon -# dev-cpp/folly -# dev-util/watchman - -inherit cmake toolchain-funcs - -DESCRIPTION="An open-source C++ library developed and used at Facebook" -HOMEPAGE="https://github.com/facebook/folly" -SRC_URI="https://github.com/facebook/folly/releases/download/v${PV}/${PN}-v${PV}.tar.gz" -S="${WORKDIR}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/bzip2 - app-arch/lz4:= - app-arch/snappy:= - app-arch/xz-utils - app-arch/zstd:= - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-libs/boost:=[context] - dev-libs/double-conversion:= - dev-libs/libaio - dev-libs/libevent:= - dev-libs/libfmt:= - dev-libs/libsodium:= - dev-libs/openssl:= - sys-libs/liburing:= - sys-libs/zlib - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= )" -# libiberty is linked statically -DEPEND="${RDEPEND} - sys-libs/binutils-libs - test? ( dev-cpp/gtest )" -BDEPEND="test? ( sys-devel/clang )" - -PATCHES=( - "${FILESDIR}/${PN}"-2022.07.04.00-musl-fix.patch - "${FILESDIR}/${PN}"-2022.08.08.00-undefined-reference-fix.patch -) - -pkg_setup() { - [[ ${BUILD_TYPE} == "binary" ]] && return - - if use test && ! tc-is-clang ; then - # Always build w/ Clang for now to avoid gcc ICE - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 - #if [[ $(gcc-major-version) -eq 12 ]] ; then - # return - #fi - - ## Only older GCC 11 is broken - #if [[ $(gcc-major-version) -eq 11 && $(gcc-minor-version) -ge 3 && $(gcc-micro-version) -ge 1 ]] ; then - # return - #fi - - ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" - #ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" - - export CC=${CHOST}-clang - export CXX=${CHOST}-clang++ - fi -} - -src_configure() { - # TODO: liburing could in theory be optional but fails to link - - local mycmakeargs=( - -DLIB_INSTALL_DIR="$(get_libdir)" - - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest - # Long-standing known test failure - # TODO: report upstream - # - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout - # Timeouts are fragile - -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)" - ) - - cmake_src_test -} diff --git a/dev-cpp/folly/folly-2022.08.15.00-r1.ebuild b/dev-cpp/folly/folly-2022.08.15.00-r1.ebuild deleted file mode 100644 index 6ffde8044d8d..000000000000 --- a/dev-cpp/folly/folly-2022.08.15.00-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# These must be bumped together: -# dev-cpp/edencommon -# dev-cpp/folly -# dev-util/watchman - -inherit cmake toolchain-funcs - -DESCRIPTION="An open-source C++ library developed and used at Facebook" -HOMEPAGE="https://github.com/facebook/folly" -SRC_URI="https://github.com/facebook/folly/releases/download/v${PV}/${PN}-v${PV}.tar.gz" -S="${WORKDIR}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/bzip2 - app-arch/lz4:= - app-arch/snappy:= - app-arch/xz-utils - app-arch/zstd:= - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-libs/boost:=[context] - dev-libs/double-conversion:= - dev-libs/libaio - dev-libs/libevent:= - dev-libs/libfmt:= - dev-libs/libsodium:= - dev-libs/openssl:= - >=sys-libs/liburing-2.2:= - sys-libs/zlib - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= )" -# libiberty is linked statically -DEPEND="${RDEPEND} - sys-libs/binutils-libs - test? ( dev-cpp/gtest )" -BDEPEND="test? ( sys-devel/clang )" - -PATCHES=( - "${FILESDIR}"/${PN}-2022.07.04.00-musl-fix.patch - "${FILESDIR}"/${P}-liburing-headers.patch -) - -pkg_setup() { - [[ ${BUILD_TYPE} == binary ]] && return - - if use test && ! tc-is-clang ; then - # Always build w/ Clang for now to avoid gcc ICE - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 - #if [[ $(gcc-major-version) -eq 12 ]] ; then - # return - #fi - - ## Only older GCC 11 is broken - #if [[ $(gcc-major-version) -eq 11 && $(gcc-minor-version) -ge 3 && $(gcc-micro-version) -ge 1 ]] ; then - # return - #fi - - ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" - #ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" - - export CC=${CHOST}-clang - export CXX=${CHOST}-clang++ - fi -} - -src_configure() { - # TODO: liburing could in theory be optional but fails to link - - local mycmakeargs=( - -DLIB_INSTALL_DIR="$(get_libdir)" - - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest - # Long-standing known test failure - # TODO: report upstream - # - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout - # Timeouts are fragile - -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)" - ) - - cmake_src_test -} diff --git a/dev-cpp/folly/folly-2022.09.05.00.ebuild b/dev-cpp/folly/folly-2022.09.05.00.ebuild deleted file mode 100644 index fcc47d18f6a8..000000000000 --- a/dev-cpp/folly/folly-2022.09.05.00.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# These must be bumped together: -# dev-cpp/edencommon -# dev-cpp/folly -# dev-util/watchman - -inherit cmake toolchain-funcs - -DESCRIPTION="An open-source C++ library developed and used at Facebook" -HOMEPAGE="https://github.com/facebook/folly" -SRC_URI="https://github.com/facebook/folly/releases/download/v${PV}/${PN}-v${PV}.tar.gz" -S="${WORKDIR}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="llvm-libunwind test" -RESTRICT="!test? ( test )" - -RDEPEND="app-arch/bzip2 - app-arch/lz4:= - app-arch/snappy:= - app-arch/xz-utils - app-arch/zstd:= - dev-cpp/gflags:= - dev-cpp/glog:=[gflags] - dev-libs/boost:=[context] - dev-libs/double-conversion:= - dev-libs/libaio - dev-libs/libevent:= - dev-libs/libfmt:= - dev-libs/libsodium:= - dev-libs/openssl:= - >=sys-libs/liburing-2.2:= - sys-libs/zlib - llvm-libunwind? ( sys-libs/llvm-libunwind:= ) - !llvm-libunwind? ( sys-libs/libunwind:= )" -# libiberty is linked statically -DEPEND="${RDEPEND} - sys-libs/binutils-libs - test? ( dev-cpp/gtest )" -BDEPEND="test? ( sys-devel/clang )" - -PATCHES=( - "${FILESDIR}"/${PN}-2022.07.04.00-musl-fix.patch -) - -pkg_setup() { - [[ ${BUILD_TYPE} == binary ]] && return - - if use test && ! tc-is-clang ; then - # Always build w/ Clang for now to avoid gcc ICE - # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106230 - #if [[ $(gcc-major-version) -eq 12 ]] ; then - # return - #fi - - ## Only older GCC 11 is broken - #if [[ $(gcc-major-version) -eq 11 && $(gcc-minor-version) -ge 3 && $(gcc-micro-version) -ge 1 ]] ; then - # return - #fi - - ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)" - #ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)" - - export CC=${CHOST}-clang - export CXX=${CHOST}-clang++ - fi -} - -src_configure() { - # Fragile when changing compilers - export CCACHE_DISABLE=1 - - # TODO: liburing could in theory be optional but fails to link - local mycmakeargs=( - -DLIB_INSTALL_DIR="$(get_libdir)" - - -DBUILD_TESTS=$(usex test) - ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # - timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest - # Long-standing known test failure - # TODO: report upstream - # - HHWheelTimerTest.HHWheelTimerTest.CancelTimeout - # Timeouts are fragile - -E "(timeseries_histogram_test.TimeseriesHistogram.Percentile|HHWheelTimerTest.HHWheelTimerTest.CancelTimeout)" - ) - - cmake_src_test -} diff --git a/dev-cpp/folly/folly-2022.08.22.00.ebuild b/dev-cpp/folly/folly-2022.09.12.00.ebuild index fcc47d18f6a8..fcc47d18f6a8 100644 --- a/dev-cpp/folly/folly-2022.08.22.00.ebuild +++ b/dev-cpp/folly/folly-2022.09.12.00.ebuild diff --git a/dev-cpp/jarowinkler-cpp/Manifest b/dev-cpp/jarowinkler-cpp/Manifest new file mode 100644 index 000000000000..fa8637d3954f --- /dev/null +++ b/dev-cpp/jarowinkler-cpp/Manifest @@ -0,0 +1 @@ +DIST jarowinkler-cpp-1.0.2.gh.tar.gz 10375 BLAKE2B e55f6e72ea66e553c047bfd2df8d4337430292391138595cd148686bc79a326e195cd55d81fe3b46aa41e7a852c0ea8bfb5891e6207ed3af538eea7597accd5a SHA512 8eeae55ff64dcc434dd8f8d33c03c9b9c828f54cd6a6a028e376763036e445fa6db81b5a9a19d84d023c6bf3968223c3f9a9e4220feb6f537e9c1b2c4f21cb11 diff --git a/dev-cpp/jarowinkler-cpp/jarowinkler-cpp-1.0.2.ebuild b/dev-cpp/jarowinkler-cpp/jarowinkler-cpp-1.0.2.ebuild new file mode 100644 index 000000000000..43f5ed39f112 --- /dev/null +++ b/dev-cpp/jarowinkler-cpp/jarowinkler-cpp-1.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fast Jaro and Jaro Winkler distance" +HOMEPAGE="https://github.com/maxbachmann/jarowinkler-cpp/" +SRC_URI=" + https://github.com/maxbachmann/jarowinkler-cpp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + >=dev-cpp/catch-3 + ) +" + +src_configure() { + local mycmakeargs=( + -DJARO_WINKLER_BUILD_TESTING=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-cpp/jarowinkler-cpp/metadata.xml b/dev-cpp/jarowinkler-cpp/metadata.xml new file mode 100644 index 000000000000..4207c6f887e3 --- /dev/null +++ b/dev-cpp/jarowinkler-cpp/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-cpp/rapidfuzz-cpp/Manifest b/dev-cpp/rapidfuzz-cpp/Manifest new file mode 100644 index 000000000000..598f34b8d8ac --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/Manifest @@ -0,0 +1 @@ +DIST rapidfuzz-cpp-1.6.0.gh.tar.gz 250024 BLAKE2B 96d70680bb9b3c3e053b385845b543f69bb4215c6be92df6b7e61559cfa0f072833a13ceadf24f73531e848517864461cd696504584ea3a489d37e56c0a03c3b SHA512 ba319af67428a96df406b10b11eafa4c73762f0916d2ac4ac2860f1a25a97fc9e4e3a69c8633c8fed8ef76a0c4a8e073bc16048bde111782d0e8f00e396a4df9 diff --git a/dev-cpp/rapidfuzz-cpp/metadata.xml b/dev-cpp/rapidfuzz-cpp/metadata.xml new file mode 100644 index 000000000000..4207c6f887e3 --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.6.0.ebuild b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.6.0.ebuild new file mode 100644 index 000000000000..99e66055cc0f --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-1.6.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Rapid fuzzy string matching in C++" +HOMEPAGE="https://github.com/maxbachmann/rapidfuzz-cpp/" +SRC_URI=" + https://github.com/maxbachmann/rapidfuzz-cpp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + >=dev-cpp/catch-3 + ) +" + +src_prepare() { + # apparently "C++ best practices" don't mind fetching random stuff + # at build time + sed -i -e '/aminya/,/^)/d' test/CMakeLists.txt || die + find -name 'CMakeLists.txt' -exec \ + sed -i -e 's:project_warnings::' {} + || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DRAPIDFUZZ_BUILD_TESTING=$(usex test) + ) + cmake_src_configure +} |
