diff options
Diffstat (limited to 'dev-cpp')
27 files changed, 623 insertions, 8 deletions
diff --git a/dev-cpp/Manifest.gz b/dev-cpp/Manifest.gz Binary files differindex f917f16188de..b777ca710fa5 100644 --- a/dev-cpp/Manifest.gz +++ b/dev-cpp/Manifest.gz diff --git a/dev-cpp/cpptoml/Manifest b/dev-cpp/cpptoml/Manifest new file mode 100644 index 000000000000..cda5a5f3201a --- /dev/null +++ b/dev-cpp/cpptoml/Manifest @@ -0,0 +1,4 @@ +AUX cpptoml-0.1.1-limits.patch 398 BLAKE2B 3f32f6eb64b315801e48a9c4af7d64f6d29f6ed9e08e6eec8027af1362f194406df3bfa5e366af7729e39f9e6dabc194487ece8be0773b93ccd42c2a33e04ab2 SHA512 5069644bf32d6f617de522c6db58c1855feb9554fa4b87d44b52f392766c9e6059bf1060fdb77f4474e345de00e78c2d5b20e939eab559d6b5d780fb31dd9aed +DIST cpptoml-0.1.1.tar.gz 47398 BLAKE2B c0ce036bec4731c4dfe96d01076b9ca18a1c4108180d5dbc839dfc44b37eb0c7af85f685a6356ef92fa684219e2883dd341e64a2012505dacc3df73dfb9e28ca SHA512 14edce576514d53a7e13562d7f8d2b66ea2b95f44038396c0e26232ec81783042ebecec31ee272a99afef96d5c8582a8e81ea5167a787844b98de6ee6f545cc5 +EBUILD cpptoml-0.1.1.ebuild 628 BLAKE2B 0d14998fd91d722bd38a65e9188c73719995b96825de6ea5ae8469fd10b55161eb53400f2a4ba47f169b7ad3f54ee01c2daa10a87dd1a3772199671ee84339ef SHA512 78e15eebfb619cc2af9b268c52bc22ed74d84d67afe6f61c647c7fbac610be5bb48f17e12e41d2b45252d496c26538fcac2be249d5685c4a4fdaff511d963d5a +MISC metadata.xml 822 BLAKE2B ee55b32633362a35150d6465a65a3af1c35727e0652dcda66eae510b21f86bc5c969acd27fd822ff9d94ec9cba034e5f7b9df85ce02298eda2e5f89b0135e975 SHA512 8019ded1e37c739fb642b552608954292d91cf20ece97c35249ffe9da68d77c44209a78cbdc5227a560f85923c160bd5567b11a0aab19f36989ff05ee25a1860 diff --git a/dev-cpp/cpptoml/cpptoml-0.1.1.ebuild b/dev-cpp/cpptoml/cpptoml-0.1.1.ebuild new file mode 100644 index 000000000000..27c81a63572b --- /dev/null +++ b/dev-cpp/cpptoml/cpptoml-0.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Header-only library for parsing TOML" +HOMEPAGE="https://github.com/skystrife/cpptoml" +SRC_URI="https://github.com/skystrife/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +PATCHES=( + "${FILESDIR}/${P}-limits.patch" +) + +src_configure() { + local mycmakeargs=( + -DCPPTOML_BUILD_EXAMPLES=$(usex examples) + ) + + if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then + mycmakeargs+=(-DENABLE_LIBCXX=ON) + fi + + cmake_src_configure +} diff --git a/dev-cpp/cpptoml/files/cpptoml-0.1.1-limits.patch b/dev-cpp/cpptoml/files/cpptoml-0.1.1-limits.patch new file mode 100644 index 000000000000..484f98044be4 --- /dev/null +++ b/dev-cpp/cpptoml/files/cpptoml-0.1.1-limits.patch @@ -0,0 +1,15 @@ +From c55a516e90133d89d67285429c6474241346d27a Mon Sep 17 00:00:00 2001 +From: Dirk Eddelbuettel <edd@debian.org> +Date: Mon, 30 Nov 2020 09:41:49 -0600 +Subject: [PATCH] g++-11 requires limits header + +--- a/include/cpptoml.h ++++ b/include/cpptoml.h +@@ -14,6 +14,7 @@ + #include <cstring> + #include <fstream> + #include <iomanip> ++#include <limits> + #include <map> + #include <memory> + #include <sstream> diff --git a/dev-cpp/cpptoml/metadata.xml b/dev-cpp/cpptoml/metadata.xml new file mode 100644 index 000000000000..88ca6c8a4ea6 --- /dev/null +++ b/dev-cpp/cpptoml/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en"> +A header-only library for parsing TOML configuration files. + +Targets: TOML v0.5.0 as of August 2018. + +This includes support for the new DateTime format, inline tables, multi-line basic and raw strings, digit separators, hexadecimal integers, octal integers, binary integers, and float special values. + </longdescription> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">ddemidov/vexcl</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/edencommon/Manifest b/dev-cpp/edencommon/Manifest index f4197a20679e..c94cfb47f295 100644 --- a/dev-cpp/edencommon/Manifest +++ b/dev-cpp/edencommon/Manifest @@ -1,3 +1,5 @@ DIST edencommon-2023.06.19.00.gh.tar.gz 146697 BLAKE2B 8b2419671c50eea43aa4b8d5d85eee75ed24ff9745a71c2d11b1994605552ffc288b55520639585631aed0e2528482a01daa9b47ef676fed7c14b4c7d75d018f SHA512 47b37a6acf93a6c6f2903f3113021aa1d54230cf3e31a8071aa7f276601a8eae56bd95767ec23c3027695367261d4db1483b637513c72ce220778f1f1a4c42ce +DIST edencommon-2024.11.04.00.gh.tar.gz 311977 BLAKE2B 2b152c3cc243c684b8b802981494816b5114e100bc31cc07a96d000dae2be70da4e205d52a30776e930c7c01d63e01baa102cb49a431c961ef133ed936c5eb76 SHA512 c1c428d7392d279e1b0c4348b0fd41ef9a53e50d8a65ff513a56919a7834c118af4adb1145153d10821efb7c8b30b62c1c6d6365b368b90cd567e350c8be0e81 EBUILD edencommon-2023.06.19.00.ebuild 874 BLAKE2B fe1e890a1b6054061f7c7d2df9cd64099fb131a2ebedc38eb1f4df1e50973db017dcc2669878a035aa4ed7d9d1f748b95882f62c86a75221c1b12129316b8ebe SHA512 44a5aaed2da61e3134088a44983fc93c8665f2a9bc2f519cc98720f2275f6bf564d6e2e8eadc4797963ffeead6d1a7ba900067f26721c8eec816f04f90d7fbeb -MISC metadata.xml 336 BLAKE2B d87d655ad085e53410760329202ce130e41d98fd35ca8c9e38c07665177a21d187c94a4570d3c18a409eeb89f00017edd50cd127adbbd35f99a0da1fd342f048 SHA512 894ed9ebd715743d2ce4591456a5776e1e215cf8845ffa0e16e6b6a25b316213b5547b0e3717050dc83518c9c2e100348c0804f25e599cb785415b8411def8ac +EBUILD edencommon-2024.11.04.00.ebuild 1041 BLAKE2B e2f389174e410fe44ca6b2bcc56551846ab9b7b49b396f512343d4cca7d01a0f4a11c78cead4e269eccec2347f069fb9b2be85704db9db603bfd5729408575d1 SHA512 f2b5951975749a8764574b3b4b13ffd188b74edfc7ce49260c4b940a19447d69e37b651fc1578865ad3bf6f5aa15f2a4d29b1efa5db66a768c31ebf6b7d067ad +MISC metadata.xml 489 BLAKE2B 8a2011652b278e1fa6a5339aa4d686796245042308bee8df9d33fec2d34062a41ce8ac64a77c64bb628e4416c15349aa76741359118af0ffbbe500c611e9b2ee SHA512 1ab46f2ef88633c7ce8f771b6bfa64638becfdc5a62b9667f7bf1be5623301c1fece6f1af581560d12f6478d518fd08a9d487e6232861e98363346929852be83 diff --git a/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild b/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild new file mode 100644 index 000000000000..c53780c9b1f9 --- /dev/null +++ b/dev-cpp/edencommon/edencommon-2024.11.04.00.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2024 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/fb303 +# dev-cpp/fbthrift +# dev-cpp/fizz +# dev-cpp/folly +# dev-cpp/mvfst +# dev-cpp/wangle +# 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-${PV}:= + ~dev-cpp/fb303-${PV}:= + ~dev-cpp/wangle-${PV}:= + ~dev-cpp/fbthrift-${PV}:= + 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/metadata.xml b/dev-cpp/edencommon/metadata.xml index ee7565d560cc..a9b9e20bdf15 100644 --- a/dev-cpp/edencommon/metadata.xml +++ b/dev-cpp/edencommon/metadata.xml @@ -1,9 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>sam@gentoo.org</email> - <name>Sam James</name> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> </maintainer> <upstream> <remote-id type="github">facebookexperimental/edencommon</remote-id> diff --git a/dev-cpp/fb303/Manifest b/dev-cpp/fb303/Manifest new file mode 100644 index 000000000000..18caeb804f0f --- /dev/null +++ b/dev-cpp/fb303/Manifest @@ -0,0 +1,3 @@ +DIST fb303-2024.11.04.00.gh.tar.gz 256825 BLAKE2B a7cb9b56f38f0a8f20a860b4b288f37cb59315242b50ac757bcd472e0310491a575149b2580a67a837a52badaf7ca4b72a769293d248830f90a0cf48f351835a SHA512 4ec54931f23267197e74cc0c3a0dd500f443221d5c4a6bb6a4d707feb6fbc377ef6c16f8fa94f2162e2c0a192fce01016f249890f7384a6c042b5f94b657dc11 +EBUILD fb303-2024.11.04.00.ebuild 1044 BLAKE2B 4a488791b63463316ff4dad57d712b5b8efcf85cc133aa106561ddb120c0c0914f080922b72a1a44f9a380f4f26ab9774ccdb93f8de2bb7a30828c2185686ca7 SHA512 26301249cb27737b2bb60a46ba75f64a82d978f6da434b3edfc92bc7dac598d0d68886ba916d269caa65c8771e962887641199ef8a183ae1b5577c3c7528c637 +MISC metadata.xml 472 BLAKE2B a1dd333968267401d3ca1b8d71b718298dc48591707be5b6c45f1ce20fb2e8097963cb643acae18513ccc8aea3f70ecc2003170e47929ed9533b7b4a909d3762 SHA512 918f05c46aaf18203740925dbb8d352e45b02f884f0c836dc5ebf5bde8dd8c5d333b305792638bc805fcc35590af8d2338d12f7c8e9d18b7b1a6eb0665511704 diff --git a/dev-cpp/fb303/fb303-2024.11.04.00.ebuild b/dev-cpp/fb303/fb303-2024.11.04.00.ebuild new file mode 100644 index 000000000000..915f3bcf8459 --- /dev/null +++ b/dev-cpp/fb303/fb303-2024.11.04.00.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2024 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/fb303 +# dev-cpp/fbthrift +# dev-cpp/fizz +# dev-cpp/folly +# dev-cpp/mvfst +# dev-cpp/wangle +# dev-util/watchman + +inherit cmake + +DESCRIPTION="Core set of Thrift functions querying stats and other information from a service" +HOMEPAGE="https://github.com/facebook/fb303" +SRC_URI="https://github.com/facebook/fb303/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +# See https://github.com/facebook/fb303/issues/61 +RESTRICT="test" + +RDEPEND=" + ~dev-cpp/fbthrift-${PV}:= + ~dev-cpp/fizz-${PV}:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + ~dev-cpp/wangle-${PV}:= + dev-libs/libfmt:= +" +DEPEND=" + ${RDEPEND} + test? ( 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/fb303/metadata.xml b/dev-cpp/fb303/metadata.xml new file mode 100644 index 000000000000..9ccd45cef63b --- /dev/null +++ b/dev-cpp/fb303/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">facebook/fb303</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/fbthrift/Manifest b/dev-cpp/fbthrift/Manifest new file mode 100644 index 000000000000..f0a7a8ebb622 --- /dev/null +++ b/dev-cpp/fbthrift/Manifest @@ -0,0 +1,3 @@ +DIST fbthrift-2024.11.04.00.gh.tar.gz 15541383 BLAKE2B 447fdeba8b9f270e77066d7cf8dedd64ff0e74baf58b8848b0225e936c5d0815cae764f0b38c26c4ce17d9b0f2c0ba46df3a03b2512065b7bd5d685ac7dc99d6 SHA512 b2175eac20ef9b4f15b5d9002583db7339549f660d03a1ced34289009cd99a4308a9ce340b9a37b9771a32340e80b7877b7c5498619241819cf0664e1e395bf7 +EBUILD fbthrift-2024.11.04.00.ebuild 1171 BLAKE2B c6d9a72b2ea5b4d3f431c5da279db42e5b038a918937be58422434dabbae3ba4129873bf78f5a1fa54599edeb4d09ff2add6ae275c16c27d1424b79d3fe7f92c SHA512 3bf0d3f52afcb5884396093b8eb71ed644b8b2809518b9be600967e149a6f24f5d0d97aaa3d9d1c95cdb62aae4e917c8ba992584e2085b568b63513e372bf8e5 +MISC metadata.xml 475 BLAKE2B 6eb7bd77ac6519024d87adf20b1a4e4c19e0ac2aee35dd4abdb170747372e834e5c9838782842c382e209c15cb2632c5b6c7398f2ca14780df99da60e79241b6 SHA512 d623c4a6567da3272ac3ce24d18e11aef7556765cd21efeaffe8ba8ac7f0767d97b5cc311df0d4d4c2ae68d7331972c95b6288023e5f105f1b01dfe8a6183d8c diff --git a/dev-cpp/fbthrift/fbthrift-2024.11.04.00.ebuild b/dev-cpp/fbthrift/fbthrift-2024.11.04.00.ebuild new file mode 100644 index 000000000000..8937ac23d77a --- /dev/null +++ b/dev-cpp/fbthrift/fbthrift-2024.11.04.00.ebuild @@ -0,0 +1,57 @@ +# Copyright 2022-2024 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/fb303 +# dev-cpp/fbthrift +# dev-cpp/fizz +# dev-cpp/folly +# dev-cpp/mvfst +# dev-cpp/wangle +# dev-util/watchman + +inherit cmake + +DESCRIPTION="Facebook's branch of Apache Thrift (C++ bindings)" +HOMEPAGE="https://github.com/facebook/fbthrift" +SRC_URI="https://github.com/facebook/fbthrift/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +# See https://github.com/facebook/fbthrift/issues/628 +RESTRICT="test" + +DEPEND=" + app-arch/zstd:= + ~dev-cpp/fizz-${PV}:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + ~dev-cpp/mvfst-${PV}:= + ~dev-cpp/wangle-${PV}:= + dev-libs/boost:=[nls(+)] + dev-libs/libevent:= + dev-libs/openssl:= + dev-libs/xxhash:= + sys-libs/zlib:= +" +RDEPEND=" + ${DEPEND} + test? ( dev-cpp/gtest ) +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" + -DLIB_INSTALL_DIR="$(get_libdir)" + -Denable_tests=$(usex test 'ON' 'OFF') + -Wno-dev + ) + cmake_src_configure +} diff --git a/dev-cpp/fbthrift/metadata.xml b/dev-cpp/fbthrift/metadata.xml new file mode 100644 index 000000000000..d16612326e0d --- /dev/null +++ b/dev-cpp/fbthrift/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">facebook/fbthrift</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest new file mode 100644 index 000000000000..2bba58e5724b --- /dev/null +++ b/dev-cpp/fizz/Manifest @@ -0,0 +1,3 @@ +DIST fizz-2024.11.04.00.gh.tar.gz 736821 BLAKE2B af8ecc3f78dfc98d854b402f3e44f8be7b57684d09a34c4a6a19d7c47d7663cc835f27328ed0ee0a25465e7d8dbbb46c8f8085c0b9da7948c99aaf868c8c1fcc SHA512 004665bca243ac835be3628e2196450fee30852e414b068ae98555193c3e9788800536a6280e218614df89061c3f05e501dfd89f08f3c5ba3942c3e9d476bf2c +EBUILD fizz-2024.11.04.00.ebuild 1007 BLAKE2B 84f0066a14c09f38ae1c8de13a0db1e93959512891806831bae1eecff4699c9780716bfd17fa0c6cad49b8b537ace9724454772dca6e07e915391e5bbc574a76 SHA512 30a373ec21efac2d6a269dc1167abfb11e13738bbc5dad3bb83db682fa5246d22e95bbed2f80a2d0e21f42cde99cf3e9be2984ca2ed8ad60d1d9e6fbe8ee2656 +MISC metadata.xml 480 BLAKE2B 94478b06c81957bda6a271a2cb8815357a458771a7f495cbe886e41aa494b49ef342c0bdaf0f05b600bfea3dfd6a9361c8770b3acd0da6cd1148769bac918385 SHA512 a9d2674d274e001cfeceee594ba320ff52031c7e3aee85db3058daf318d3f92aebf51211779ffdd2c1f146470b1cfe11be15d10d96743c195952f890b4209933 diff --git a/dev-cpp/fizz/fizz-2024.11.04.00.ebuild b/dev-cpp/fizz/fizz-2024.11.04.00.ebuild new file mode 100644 index 000000000000..f14c4392583c --- /dev/null +++ b/dev-cpp/fizz/fizz-2024.11.04.00.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2024 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/fb303 +# dev-cpp/fbthrift +# dev-cpp/fizz +# dev-cpp/folly +# dev-cpp/mvfst +# dev-cpp/wangle +# dev-util/watchman + +CMAKE_USE_DIR="${S}/fizz" + +inherit cmake + +DESCRIPTION="C++14 implementation of the TLS-1.3 standard" +HOMEPAGE="https://github.com/facebookincubator/fizz" +SRC_URI="https://github.com/facebookincubator/fizz/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-arch/zstd:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + dev-libs/libsodium:= + dev-libs/openssl:= +" +uEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" + -DLIB_INSTALL_DIR="$(get_libdir)" + -DBUILD_TESTS="$(usex test ON OFF)" + ) + + cmake_src_configure +} diff --git a/dev-cpp/fizz/metadata.xml b/dev-cpp/fizz/metadata.xml new file mode 100644 index 000000000000..7d721ebf3773 --- /dev/null +++ b/dev-cpp/fizz/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">facebookincubator/fizz</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/folly/Manifest b/dev-cpp/folly/Manifest index 6a0b76ad3b76..5392f9a36851 100644 --- a/dev-cpp/folly/Manifest +++ b/dev-cpp/folly/Manifest @@ -1,5 +1,8 @@ AUX folly-2023.05.22.00-musl-fix.patch 895 BLAKE2B 72f3dde91fa7eabdc08c3375e660f31beb833835decc129570667984d973d8a71db37cdef3aaca28375a64e6afbd04df0849fc47798d7982556a84a028e034f4 SHA512 afdaa0edd233f21693b947d30d549ed13a8871bf49e05be97d8d86015452d85769c2e46929f5cce14c3cff8eb7000431638ee0c8fc3f97b0765a4b3aea3b20b9 AUX folly-2023.06.19.00-fmt.patch 1970 BLAKE2B eb1cff98c8bbd779c6c402c75e6076a89853c79df975a65574ab4ee105d7bd124306d0e200b3f0d082da55be4a6b19bf431b5e3312cfa8bf5790c447998e5bbc SHA512 a0c77475cb0575d1d0e27299f7d47514157af51bda06c41fcc7742250ece11f7c858a43ef701f11951a069dbe311492472508f7055944ecece2c5d9ed3e6fdf1 +AUX folly-2024.11.04.00-musl-fix.patch 1033 BLAKE2B 362f7047998f5867e55ade0c89924863d9e86bb218db4456f6dace794fa94f45cf0f3032b10076efb262b5b2d5feb41b0fb52928374bfd050f1c32ff7b010f8c SHA512 7798e63f3f53e331c0895c98656b943e851a59e8b7b350477fb72ed120f12dba29011efa9cece5341e37eb6e97f3644512e88fc90ac92d28cd1c8e0beb9a6ca7 DIST folly-v2023.06.19.00.tar.gz 3850872 BLAKE2B 6332b6de28fd4a0c19b20c4b23fa7093bded940fb07de92ad9fa7f44b8347fb5e5543e5a57c32d2414f345b4f7b306eed806c5d48a871a06833c1d2a71a34584 SHA512 9189adddf59019787969c7edb27a3e57436c2dca772f3142cdbf66e3a69b398be7ae4f2c36a9576c7ad9c51fd3703555e2a7ad6ed1ddce4036f8760d8095d371 +DIST folly-v2024.11.04.00.tar.gz 4185762 BLAKE2B 16eca3bde4320b2c5dd535afddb2640f567135ea90e7a270814bda56eb0d2ba4e864e07015879bb79d1146c68e05695eb06e2219e3dd3b4f71a1434e6f2998a5 SHA512 918ec7217a58789818c502c47302d9296867456bb3dd1c36480406905875eae9a7d52900def34ac1a936af9be6010b8b77897b351c36aa8ca09c16fe1775f508 EBUILD folly-2023.06.19.00.ebuild 2187 BLAKE2B 9762344de8da033c64caf571b8fd02dcec83e57dea5f24d2d82f8101e37d9e6811d2f73046401991101e443152d3de97913fec061a4c2bb59363e66b9998b3de SHA512 5dceef2160a388b8599f28ec1545a64139fc0beab00147033319224743820636b4effb5d1fbf20c83af702396956c7504d7e2bd67d0cc3cafca76461f3316462 -MISC metadata.xml 319 BLAKE2B 0c8d18b906a50ee77fef7db1f99206b1c4d38dfa7913de363474609bcce38956be8d0958bc400c704ad743396db7230fb0098c83f1caa16ca998d6fd5576369c SHA512 8b077d5d5bf60f0ed5b36aef48188f431ca0675f80190beb407a58fa48fc6f8a48db161b8cde775ab6cfb54a01438fa5edddf0098e80a65b29a403a7f3a2c027 +EBUILD folly-2024.11.04.00.ebuild 1929 BLAKE2B ea1ac5dbe17f25b99b2c73fb5b56f40403269bfb7232b8308c3d70bef1ba2fe090e82c87bd864d4efdfebdf98a490b147a57841e5997b42ae239902beceb981c SHA512 b67e4e5b8e05f8b8f9cf6808b895b4a1612c6db77f93365623079601918d36f4c9ee64905ba6cb1311b5f6d9f759cc42ed48dd25e7bd6822847222b670aeddc1 +MISC metadata.xml 472 BLAKE2B c82d4f4d0a0cd409f77ab20853793e45c8c7adb97ad6bdddabf5eb69eb5a523909109da1f2b311694fc5bf5fbcf4dd330957859894eae46b1b24308a04f5b7b2 SHA512 22b8c645a91f91769cadecc7b905c0b365c252e49a63fe690fbd5db82a58afe27517561f01ca5b3f37543b69b5d60af472d86f74105a6baaeb236f1b32db29de diff --git a/dev-cpp/folly/files/folly-2024.11.04.00-musl-fix.patch b/dev-cpp/folly/files/folly-2024.11.04.00-musl-fix.patch new file mode 100644 index 000000000000..df9a1db734a3 --- /dev/null +++ b/dev-cpp/folly/files/folly-2024.11.04.00-musl-fix.patch @@ -0,0 +1,30 @@ +# Elf.cpp expects __ELF_NATIVE_CLASS to be defined at least for platforms +# besides FreeBSD-based ones, and so it defines FOLLY_ELF_NATIVE_CLASS with it. +# Without __ELF_NATIVE_CLASS (and apparently musl does not define it), +# FOLLY_ELF_NATIVE_CLASS is also not defined so what was supposed to be +# expanded to ELFCLASS32 or ELFCLASS64 ends up being +# ELFCLASSFOLLY_ELF_NATIVE_CLASS. +# +# Please refer: https://github.com/facebook/folly/issues/1478 +# +# Closes: https://bugs.gentoo.org/835744 +--- a/folly/debugging/symbolizer/Elf.cpp ++++ b/folly/debugging/symbolizer/Elf.cpp +@@ -40,14 +40,12 @@ + + #if defined(__ELF_NATIVE_CLASS) + #define FOLLY_ELF_NATIVE_CLASS __ELF_NATIVE_CLASS +-#elif defined(__FreeBSD__) +-#if defined(__LP64__) ++#elif defined(__ANDROID__) ++#define FOLLY_ELF_NATIVE_CLASS __WORDSIZE ++#elif defined(__LP64__) + #define FOLLY_ELF_NATIVE_CLASS 64 + #else + #define FOLLY_ELF_NATIVE_CLASS 32 +-#endif +-#elif defined(__ANDROID__) +-#define FOLLY_ELF_NATIVE_CLASS __WORDSIZE + #endif // __ELF_NATIVE_CLASS + + namespace folly { diff --git a/dev-cpp/folly/folly-2024.11.04.00.ebuild b/dev-cpp/folly/folly-2024.11.04.00.ebuild new file mode 100644 index 000000000000..27be95cd3414 --- /dev/null +++ b/dev-cpp/folly/folly-2024.11.04.00.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 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/fb303 +# dev-cpp/fbthrift +# dev-cpp/fizz +# dev-cpp/folly +# dev-cpp/mvfst +# dev-cpp/wangle +# dev-util/watchman + +inherit cmake + +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" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64" +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/fast_float:= + 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.3:= + 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 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2024.11.04.00-musl-fix.patch +) + +src_unpack() { + # Workaround for bug #889420 + mkdir -p "${S}" || die + cd "${S}" || die + default +} + +src_configure() { + # TODO: liburing could in theory be optional but fails to link + local mycmakeargs=( + -DLIB_INSTALL_DIR="$(get_libdir)" + + -DBUILD_TESTS=$(usex test) + + # https://github.com/gentoo/gentoo/pull/29393 + -DCMAKE_LIBRARY_ARCHITECTURE=$(usex amd64 x86_64 ${ARCH}) + ) + + cmake_src_configure +} + +src_test() { + CMAKE_SKIP_TESTS=( + # Mysterious "invalid json" failure + io_async_ssl_session_test.SSLSessionTest + singleton_thread_local_test.SingletonThreadLocalDeathTest + # TODO: All SIGSEGV, report upstream! + 'concurrency_concurrent_hash_map_test.*' + ) + + cmake_src_test +} diff --git a/dev-cpp/folly/metadata.xml b/dev-cpp/folly/metadata.xml index a512b80f6fcb..bb1ccfe101c1 100644 --- a/dev-cpp/folly/metadata.xml +++ b/dev-cpp/folly/metadata.xml @@ -1,9 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>sam@gentoo.org</email> - <name>Sam James</name> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> </maintainer> <upstream> <remote-id type="github">facebook/folly</remote-id> diff --git a/dev-cpp/mvfst/Manifest b/dev-cpp/mvfst/Manifest new file mode 100644 index 000000000000..40f39ebe3b68 --- /dev/null +++ b/dev-cpp/mvfst/Manifest @@ -0,0 +1,3 @@ +DIST mvfst-2024.11.04.00.gh.tar.gz 1983543 BLAKE2B 9c8b0da32baddd04af29e892a379333f89af45957a415dfa7f6da86f9a9b39fc8fbc73e450deb51e7a61b4ddfd37f08dc3d9ba8f48f83557aab4ae762068ec14 SHA512 4a000583884777fa876f3bfc52a3420c9cf8818f943c07898ac3b313837092fc173d8db497fd59027ef405d8fa5e3114a53b3bc5cf3fef398ca712c06a1da3e0 +EBUILD mvfst-2024.11.04.00.ebuild 969 BLAKE2B 2a5f0ae62f0c03d3ff0744e14f727fd6eba9a00feede67f5fd120baf0d96498bccbdbc9b838b82f6a7efd3af34ea34bd83c9e833848bdbcd6b84747630476211 SHA512 0714d9225b36a79690ab49e8595cff9e20ab7c9212c476aecf0795ba78aac58d01188a35dfe6d036ac2528203d62fc6441bf16687be0c0a8030c569fdea9d5a6 +MISC metadata.xml 472 BLAKE2B 916daab0f3a2f9df3019f592d45d217f9af4c856087053cebec1ad892961654c96957ce953e15a6c32743f6909e8e19063766a2dfdff35a6f8402caff1119d5d SHA512 3da6ea7c55662d148b91146947789430cbb6ca88b9547de2a75b007e579d2ec513b1a03517c577ad43ebc7282962db5c04a1a27f2a0e39d15cac4d6018a53e15 diff --git a/dev-cpp/mvfst/metadata.xml b/dev-cpp/mvfst/metadata.xml new file mode 100644 index 000000000000..48c4665d7f55 --- /dev/null +++ b/dev-cpp/mvfst/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">facebook/mvfst</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild new file mode 100644 index 000000000000..b920ce229a20 --- /dev/null +++ b/dev-cpp/mvfst/mvfst-2024.11.04.00.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022-2024 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/fb303 +# dev-cpp/fbthrift +# dev-cpp/fizz +# dev-cpp/folly +# dev-cpp/mvfst +# dev-cpp/wangle +# dev-util/watchman + +inherit cmake + +DESCRIPTION="An implementation of the QUIC transport protocol" +HOMEPAGE="https://github.com/facebook/mvfst" +SRC_URI="https://github.com/facebook/mvfst/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + ~dev-cpp/fizz-${PV}:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + dev-libs/boost:= + dev-libs/libfmt:= +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" + -DLIB_INSTALL_DIR="$(get_libdir)" + -DBUILD_TESTS="$(usex test ON OFF)" + ) + + cmake_src_configure +} diff --git a/dev-cpp/wangle/Manifest b/dev-cpp/wangle/Manifest new file mode 100644 index 000000000000..ebdf4063e475 --- /dev/null +++ b/dev-cpp/wangle/Manifest @@ -0,0 +1,3 @@ +DIST wangle-2024.11.04.00.gh.tar.gz 372838 BLAKE2B 5d6636aa9cbea7f1438269a8c935b93dd5e3c6abef0cc6c668088d883a9b9326f44409649d809c80c08e79c2fa0527fd26a4db7ceed616f27aea2a3921c5ae75 SHA512 d44f3553b04f378935c2a6cf072d6b4a911be3bb71f3480ccdbb269f83c0f62dce4451bcb2edb365d9b398f719c7162269690d07aab07054dafaa55b5b38e0ad +EBUILD wangle-2024.11.04.00.ebuild 1238 BLAKE2B 15328543010ae5f396cdebea54ed4cd47b5d090749fa582bd6fa08e8c73d8a4f5e593052f25d726a51d9b3b74082f77d849efb056833a781e7f51d60a6617f6a SHA512 69489c3ba642732662276564d6ed3c4ba184fa9e7b7e292d72a3370145e36cb9c8797311dc4dadef1fc1ce96edd06910e79ca40785c0b61d158235a0d51d1635 +MISC metadata.xml 473 BLAKE2B 4b1249d84b05c02bf0d20c3ac89b562841296ecea52b3cc49b6ed6090c511e0cc2b1b6e453642999010f48da706bc8c3d0e9b2cd2ceec25446bb48a0842d2b0e SHA512 069df201ae8710a4084c09b5414935e232c35f69cae2b1fbc63ebd57cfe259dd1d4451fab9a2e443d6688a9463973c92078f14b388fe6e65f229475a01bf6c08 diff --git a/dev-cpp/wangle/metadata.xml b/dev-cpp/wangle/metadata.xml new file mode 100644 index 000000000000..54af2041c101 --- /dev/null +++ b/dev-cpp/wangle/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>sin-ack@protonmail.com</email> + <name>sin-ack</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">facebook/wangle</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/wangle/wangle-2024.11.04.00.ebuild b/dev-cpp/wangle/wangle-2024.11.04.00.ebuild new file mode 100644 index 000000000000..15b6be4d72de --- /dev/null +++ b/dev-cpp/wangle/wangle-2024.11.04.00.ebuild @@ -0,0 +1,62 @@ +# Copyright 2022-2024 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/fb303 +# dev-cpp/fbthrift +# dev-cpp/fizz +# dev-cpp/folly +# dev-cpp/mvfst +# dev-cpp/wangle +# dev-util/watchman + +CMAKE_USE_DIR="${S}/wangle" + +inherit cmake + +DESCRIPTION="A framework providing common abstractions for building services" +HOMEPAGE="https://github.com/facebook/wangle" +SRC_URI="https://github.com/facebook/wangle/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + ~dev-cpp/fizz-${PV}:= + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags:= + dev-cpp/glog:=[gflags] + dev-libs/libevent:= + dev-libs/libfmt:= +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/gtest ) +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DIR="$(get_libdir)/cmake/${PN}" + -DLIB_INSTALL_DIR="$(get_libdir)" + -DBUILD_TESTS="$(usex test ON OFF)" + ) + + cmake_src_configure +} + +src_test() { + CMAKE_SKIP_TESTS=( + # These tests expect test certificates to be present in /usr/include/folly/io/async/test/certs/, which folly + # doesn't install. + SSLContextManagerTest + ) + + cmake_src_test +} |