diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 100492 -> 100495 bytes | |||
-rw-r--r-- | dev-libs/ivykis/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/ivykis/ivykis-0.43.2.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/libtommath/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libtommath/libtommath-1.3.0.ebuild | 96 | ||||
-rw-r--r-- | dev-libs/oniguruma/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/oniguruma/oniguruma-6.9.10.ebuild | 55 | ||||
-rw-r--r-- | dev-libs/poco/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/poco/metadata.xml | 6 | ||||
-rw-r--r-- | dev-libs/poco/poco-1.14.0.ebuild | 138 | ||||
-rw-r--r-- | dev-libs/protobuf/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/protobuf/protobuf-28.3.ebuild | 166 |
12 files changed, 503 insertions, 3 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 11805b72102b..c340156b5818 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/ivykis/Manifest b/dev-libs/ivykis/Manifest index 37297bc0ee6d..066efe40277b 100644 --- a/dev-libs/ivykis/Manifest +++ b/dev-libs/ivykis/Manifest @@ -1,5 +1,7 @@ DIST ivykis-0.42.4.tar.gz 656775 BLAKE2B 9b85dacb74eae99907999d5181029a824c5f0d6aabb41d892353723318f9ff6fc1a2a6296224c7ee407510f7354f2ee934d40b9627a0fd13489bf53b8ff7f115 SHA512 26f4fa28582555004cbe1d80cb042f93deb42b195c7d563ce4048ace25c74bb558455d98d2d8e0e59534fabb2dff6503aff16d0feb7a05fd835b63432f080286 DIST ivykis-0.43.1.tar.gz 669621 BLAKE2B 12ef9aa55f2e07540b265eb2f19eba6436abb5c0dc333b10db3a3918b6cd4cc851191c12782b92f1c2c50b9d761bb2124417823dc19b557f6d3392cea86d4fe2 SHA512 d8c16dfa4b9da419b09fc45315aa930163c55bee1f0e1e630994332783527eec4929a60e75a1866408c666a6f4e2451bbd187d524f2e50179899f71e3bff916c +DIST ivykis-0.43.2.tar.gz 669628 BLAKE2B e19a2c1df3751f83858337b72529b72344d74f675fc65012c5c77b5a9dbcb91d58fea43138dd21c3e09aa94ad971404f50986d8064ec968770eda2c517d55e02 SHA512 58aefe38e32f301c38568613439a5177470bdc5b6240ec3de93c35752b34ff4d839d036ee48764e8e1cdc53d8a1138cc69947b8857349601316081c0aee66caa EBUILD ivykis-0.42.4.ebuild 672 BLAKE2B 585dc80a992ffd4494252f463bbc46deaef783975bd591753a4aecb46a4c7529e1d2c331d5b26004e9707c42492d503f246084ed2f9c9b96194be22f9a4be22a SHA512 fc712b05118dd5e41dde9066bdfc5f5a1e40706b21680efa4490744632531ee7dfac0e7b27e7a4486b40ca5766a7d751ecbb632ae9953cf01b9cfee613508d54 EBUILD ivykis-0.43.1.ebuild 673 BLAKE2B d21caed5d58d714f56c504b64bfda8f0f94e5add8a2d1a78d1dfce4085e60b3cf211e6544768738ad4e878d6d6f4553919d93e84e1ca93ef529f61a45f0d5c31 SHA512 3f16760da7204aa0ed1b30483bf46cdb109df0a54c5f7ff7e0bbcb398ed2eccd7f375370e907240c222c0f784d7927ca0721a8825abb3f6759765380d30c2dd2 +EBUILD ivykis-0.43.2.ebuild 680 BLAKE2B 28d5602d061309202376ee90925517bc27637900adafc3f8175810fb08996b1b7784351d5a3f990d6d286475b24c3d46fa2e7b662e7e913701155c6ba317eaab SHA512 b88020f230bf2c76e905bdd5ad31ff16a5e6104433a192e3503b05c07563bce7c1aac47d83c8bbc872d75980b7abcec97d2d0c73cf8ad37d7e7242feb86d25ca MISC metadata.xml 493 BLAKE2B f3a4be026ff907ab931e8c505b4ec77dc8fe96c9d2dee371ba2cfedf01fcf53dc8b0b85424a97b2920a12acf61f3b1994a9e63f047dbc80f7e46c7d1b8aa0c5b SHA512 cf92824a6e84255663ae6921b9e35641e2e7506972c7e0512cf41e599e62b700c411f3774ceb86a205a600596d80168193a4761473acccb33ce84bbc1ca3ee3f diff --git a/dev-libs/ivykis/ivykis-0.43.2.ebuild b/dev-libs/ivykis/ivykis-0.43.2.ebuild new file mode 100644 index 000000000000..2b9e0120d11f --- /dev/null +++ b/dev-libs/ivykis/ivykis-0.43.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Library for asynchronous I/O readiness notification" +HOMEPAGE="https://github.com/buytenh/ivykis" +SRC_URI="https://github.com/buytenh/ivykis/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="static-libs" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf \ + --cache-file="${S}"/config.cache \ + $(use_enable static-libs static) +} + +src_install() { + default + + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest index e30a2731a8be..9f14a6089954 100644 --- a/dev-libs/libtommath/Manifest +++ b/dev-libs/libtommath/Manifest @@ -1,4 +1,6 @@ AUX libtommath-1.2.0-sparc.patch 1011 BLAKE2B 40eb13efa4e39ed5a3d22c122e808fc7ba33694adbd0c12996aa3b49d599da8795c95ab8d9e1241de4e28f731fe9872f9db1fdd4a872ff0701cf806547c094c0 SHA512 09095a9c4a41f49db14b1dffd766d57f18b2d031920328cc3a8334b452032b9310547807eaf8b4805936082528fff5ce7945e07164a81b556685efbeed6987be DIST ltm-1.2.1.tar.xz 635728 BLAKE2B b1464843af4a33f2ba0c824fe2dd080227c6b761b3f8059bbc5229f36d601aecc8bcb20c386718c71a1bc01f69e532647689b43252bd15143f809f7072de449e SHA512 50c9459357aa7f5076af93de6701c617da0dbbf2230a2f4468062704a6cd6e9d3c2fbb27016f68a7e1d6b35d6ddb2088630b24ea6acc20ed8c19594913d36e95 +DIST ltm-1.3.0.tar.xz 642776 BLAKE2B 86d29886b4cfefe4bc81a7bcab6066a99328f9407c55bccc8c47ee5aafe9e0779136acbb8f6fc6e842bc5f373e9262f646ddd39f832114e2fe5ba25e8818af7d SHA512 6e90ba918d2589525b6b2247edb50f1b90b228854ffc817686d27e0bdc4c0ffbb861d67d90ce5f61e2601a426d6d7cb0ee35e68b5e17695eb06ea734d4fe5fe5 EBUILD libtommath-1.2.1.ebuild 2066 BLAKE2B bcf3adecd060f0adfc8385513d6346f550770e63115e7c3c92eacb47cd6803df9baf90c61b00250eeb0e01498bf9aca9b35564a7934a24afd7f4764de1e817fd SHA512 6097b5d85d8dc4d397e6e184c069049e25aec0a7467b7dff99d1c404a8e4691d63aa10e5c0fc9f16f6bfe1fcc6e7d9419611ef7b4ed738ccf5eb36aea780907a +EBUILD libtommath-1.3.0.ebuild 2074 BLAKE2B 95f8ba532e97325608a744216524745255a0c73ed5944cda49f0f02c2f5bb8c495d6cfe5baac6b48376b71dd4e6a2b9f8bf45263333aac731b5c8c60055a7bfe SHA512 df2a5d02182d05c0a6c8ee414fb27f91f531e274aa5534ed1a07d7f88df42f71289012d9e90b603cc7cb2eaf3fbd6f5312f36fdb7efc7201ba6b9bf3ec91b817 MISC metadata.xml 3152 BLAKE2B ce07678f531abb65f7abde8e75f817b9eb858b9f733e7d04e46f715ace574bfbd19bc8de7ae3725d8e8702f8cb37bb9647dc458f76c0cddbd22a11bbe980dc67 SHA512 bcab3fe5f7a3b59c5b4208c84fab7be5402ad5ec3f4a838ab32975ffd468bec897c420f2094c6920eebaa68a2d1746adbb1bc36b9388c3619c5aa1b3a43bdde8 diff --git a/dev-libs/libtommath/libtommath-1.3.0.ebuild b/dev-libs/libtommath/libtommath-1.3.0.ebuild new file mode 100644 index 000000000000..fd41555b8340 --- /dev/null +++ b/dev-libs/libtommath/libtommath-1.3.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Optimized and portable routines for integer theoretic applications" +HOMEPAGE="https://www.libtom.net/" +SRC_URI="https://github.com/libtom/libtommath/releases/download/v${PV}/ltm-${PV}.tar.xz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc examples static-libs" + +BDEPEND="dev-build/libtool" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.0-sparc.patch +) + +src_prepare() { + default + + # need libtool for cross compilation, bug #376643 + cat <<-EOF > configure.ac + AC_INIT(libtommath, 0) + AM_INIT_AUTOMAKE + LT_INIT + AC_CONFIG_FILES(Makefile) + AC_OUTPUT + EOF + + touch NEWS README AUTHORS ChangeLog Makefile.am || die + + eautoreconf + + export LIBTOOL="${S}"/libtool +} + +src_configure() { + econf $(use_enable static-libs static) +} + +_emake() { + emake \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + IGNORE_SPEED=1 \ + DESTDIR="${ED}" \ + PREFIX="${EPREFIX}/usr" \ + LIBPATH="/usr/$(get_libdir)" \ + INCPATH="/usr/include" \ + "$@" +} + +src_compile() { + # Replace hard-coded libdir=${exec_prefix}/lib. + sed -i -e "/libdir=/s:/lib:/$(get_libdir):" libtommath.pc.in || die + + _emake -f makefile.shared +} + +src_test() { + # Tests must be built statically + # (i.e. without -f makefile.shared) + _emake test + + ./test || die +} + +src_install() { + _emake -f makefile.shared install + + if [[ ${CHOST} == *-darwin* ]] ; then + local path="usr/$(get_libdir)/libtommath.${PV}.dylib" + install_name_tool -id "${EPREFIX}/${path}" "${ED}/${path}" || die "Failed to adjust install_name" + fi + + # We only link against -lc, so drop the .la file. + find "${ED}" -name '*.la' -delete || die + if ! use static-libs ; then + find "${ED}" -name "*.a" -delete || die + fi + + dodoc changes.txt + + use doc && dodoc doc/*.pdf + + if use examples ; then + docinto demo + dodoc demo/*.c + fi +} diff --git a/dev-libs/oniguruma/Manifest b/dev-libs/oniguruma/Manifest index 017f4c3c59f9..ad41fd9f243f 100644 --- a/dev-libs/oniguruma/Manifest +++ b/dev-libs/oniguruma/Manifest @@ -1,5 +1,7 @@ AUX oniguruma-6.9.9-c23.patch 5087 BLAKE2B 0325ccbce315100848b6119e6b572cfa36012b9dce59e7695a5b1821c3cf16268d1f243c7d8f6d02f5aa63ed52c9e0bda6b5d61ccfa98d2e6b766de9cbd08a42 SHA512 e86bb94cdbb4884b30ae68787efb5e04ba99ea5fd25d645c0586bb84296d45656f1695d7f93fe37113dfb9567da8fa921ab06af4b508a59dea354e7a785599c4 +DIST onig-6.9.10.tar.gz 979159 BLAKE2B 963507cf7692a049d85dbd2beec82e3c16807117518f667b4f318df0360acad1a95b90c811efa10f852086256a17d2b555793e85832063d05cca6d2d976cc6e9 SHA512 f7cf33008ca0181322fb8efc8e6bb67a1f81677095a33d88134781b804e6a9fbf675f05789d762fdd3d9f0171f8dc4c2e960c2b6a09ddd03bfd35a5ab0920317 DIST onig-6.9.9.tar.gz 957444 BLAKE2B d31f4caf5e14477ec1fd40ab764137b49046ac759f487432a129ebdf6da89b128218bb14b08f9359ac0b87286bcd309faa3878b26528926aab6f7d2e25e722b0 SHA512 14d2afd0d2cf86012c9959f221e9a77e7787e709c9dd7295d159e0a9ba89df52fa3edc59f95a6d859c34181e2e2e53e21b932b3eceb4d6ddeb2a3445ef951e95 +EBUILD oniguruma-6.9.10.ebuild 1305 BLAKE2B e4e506b6cf3a63dc0e567e477adb243bdcc8647c3ee07898e843da34ccaa6aee874e4697b1da4fbb4a9005de842fcccf563a71fba781c0d5bc30b55a12e06137 SHA512 0080522957ddb98fa29cba86d1445b53dfeb3dd65fd449aec1e78f1297aa6a8b2ed193b68570296a5822b392b545281a8753defb3352cbf08a78a720f2ccc16c EBUILD oniguruma-6.9.9-r1.ebuild 1348 BLAKE2B bde9bdaa32117f58eae2ec27ff9d0a066ab2b54157117d369de1045a2a1d87f82c87ab5d9ab935a9c37cc0e50678bd701844217f4c595dfb6a57874f63b8b5b9 SHA512 dc172ed09719f0a53244a083a7d1380c16e7e64d77c38d36eee80a67a89330b16be7993b27ae832be737b5331178ca1bdd1f785df3a951ad843a05ecfff85747 EBUILD oniguruma-6.9.9.ebuild 1297 BLAKE2B 42b1f76a60d451cb8e25510cf0ea812b594245ae097671901640c8436ee3647fd9130173443070b42e39b839047a8559d8860837c85c4599ab2f15f3275023cd SHA512 175cfc9c56b342d9e7886b8d9a57d9f5035bfec7921c46b97fed3cad82faeff9b70bbd0879ff8edaff5bbd9edb26d4e1fc081e80877f66f5ceea49cf24865fb1 EBUILD oniguruma-9999.ebuild 1152 BLAKE2B c2910ecee5175e00896f5e91c712c9d1c284a37e44673f3609e45cf1fb935c46189daaba27792f468f1aa60c80c7a9cadef881abbad026cebc56cb8733317046 SHA512 0c49cf1fc620e9e8b1ef78193abc4cf6f9d92c5aea38f2a6914241c6f7bc074c7acec0e79183c996973eec80f2bccb70be7492af05bd999558813e60621e2166 diff --git a/dev-libs/oniguruma/oniguruma-6.9.10.ebuild b/dev-libs/oniguruma/oniguruma-6.9.10.ebuild new file mode 100644 index 000000000000..e16d7d46942c --- /dev/null +++ b/dev-libs/oniguruma/oniguruma-6.9.10.ebuild @@ -0,0 +1,55 @@ +# Copyright 2003-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit multilib-minimal + +if [[ "${PV}" == "9999" ]]; then + inherit autotools git-r3 + + EGIT_REPO_URI="https://github.com/kkos/oniguruma" +fi + +DESCRIPTION="Regular expression library for different character encodings" +HOMEPAGE="https://github.com/kkos/oniguruma" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/kkos/${PN}/releases/download/v${PV}/onig-${PV}.tar.gz" +fi + +LICENSE="BSD-2" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="crnl-as-line-terminator static-libs" + +BDEPEND="" +DEPEND="" +RDEPEND="" + +if [[ "${PV}" != "9999" ]]; then + S="${WORKDIR}/onig-${PV}" +fi + +DOCS=(AUTHORS HISTORY README{,_japanese} doc/{API,CALLOUTS.API,CALLOUTS.BUILTIN,FAQ,RE}{,.ja} doc/{SYNTAX.md,UNICODE_PROPERTIES}) + +src_prepare() { + default + + if [[ "${PV}" == "9999" ]]; then + eautoreconf + fi +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --enable-posix-api \ + $(use_enable crnl-as-line-terminator) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name "*.la" -delete || die +} diff --git a/dev-libs/poco/Manifest b/dev-libs/poco/Manifest index ec98856a60bd..6e955de1f772 100644 --- a/dev-libs/poco/Manifest +++ b/dev-libs/poco/Manifest @@ -1,6 +1,8 @@ AUX poco-1.10.1-iodbc-incdir.patch 369 BLAKE2B 345540ebd9c448a21e6c8adccba040a43fdf1db53cb0139f3cab5eb8ca67ca30dfa97058e4db4618d27ab2cd642e205349f5f70970fd2a4961a018aa7e1c5dac SHA512 1a155b10e98cdce8659a9308ac70e8114361a0062a1af469dc774b5d32bc00b5f1aa0e873fa5061625527ddeb006fdf29939b1899939a193d8724e491dedba10 DIST poco-1.12.4.tar.gz 11296139 BLAKE2B 45e1214616e78041d5ca512cee46621c006fe21f51231f3261dc40ca4941eb3cd4e52db493aa826779784f9d3f35cfd08e3e9d08fb35ebec2d610fb6528c635a SHA512 730700a24b5a00d44aa85914e7d3c9eff76969a123a67315ba5e9b2d18c0ace70d2664d8a611496851f497aa4985d36685a67813a95e814461ae0fffdb460d91 DIST poco-1.13.3.tar.gz 11332562 BLAKE2B 04380cae92bbd2427873f0ea1a3fcade244ee5168390e26081983ded9faaf22e456bdd4ae87f9c77bafc92155f860ea9f56678ec2204bcd7c51a871e7f00d759 SHA512 084064fb462c9e7993d069ebdf395802af900ed92c5b294465a2c246162bb86caa3505985de329e8110d3e9fb3bc39ae9536d523843729d4ed5ce00c35289d92 +DIST poco-1.14.0.tar.gz 12158142 BLAKE2B 3ae9a520941634ac9aa72d323541d6433ac2e73d4d19e0654f932ea031d17870ca4ad764a8e3c5e68d69c5dc9750d779102d80d6d810598db275f269928ae8ea SHA512 4475a0ede5d06e4ce9537295fec92fa39b8fd5635d1cfb38498be4f707bc62b4a8b57672d2a15b557114e4115cc45480d27d0c856b7bd982eeec7adad9ff2582 EBUILD poco-1.12.4.ebuild 4220 BLAKE2B 9be84416a479873236f983cc7b7eed506361e35b6200b8b0f328bc476fec5cf6521a4991198418284136e389cd5ac2a867cf8fd4b66c5251705e781ea51ad2b8 SHA512 dd99c1db6e4e00d31dbe115a972464011b4b138c8f6ef785d3083a7112215fc7655dc199a4b3a913298ac0b9d8ca6c10d63a8d05c0d974ca17f599022f6a2109 EBUILD poco-1.13.3.ebuild 3907 BLAKE2B b570a253f8b7e3d7dc38a2e94b13d518d7e1a5e8e44b1b7d940a88013716a8598b452052ad1978af2a972a669ac4c628975ac6aad503aae0c406be49a8e16c99 SHA512 2d451bf30476b3db92d8155c3f4e60cd64288fc93c1f0a05403d5624d91073135776d8040c0b95c348199672deccb2ff60eb0fe63d07c61bea50eac3d539a768 -MISC metadata.xml 2808 BLAKE2B 4c2ade2415149e209d4ca091a09640c108a8fc182b9c8636f9d52fc8ade3ff89e871f436aaccfc2534f1c91aa3f4213eb16da69d0defcd3faf612e2c8a0fb40e SHA512 5a2aa5c7299d5f9f275364ec22f4d9f426116f02fde30698591e60299e42d54c4a39f2a01a0308fc1407c5065e0bfeaae0698db09713688cbe80faf041fc4c07 +EBUILD poco-1.14.0.ebuild 3849 BLAKE2B 9a2e4aba34218756b32f24295e6193b78eac2b434f81ddb66468f76acc6dd834c92a63aedc74397d264659bcedc24a445d34a219b9e3f0bfb5b5f427bee57265 SHA512 223e7cebfdc00ca4474ba028dfafc2c4081396dc63b87d793974788e7e6a469043627cd9a8c5bad438b11d35ff08422d456d1c53306e493a6818dd775c2efe43 +MISC metadata.xml 2947 BLAKE2B b2c04966e9be3ddebceb3098fa213f2196ac594b96cd6885e3fbc1050971e9bf9e88f234f9680ac4dcc313dd766810315066f212b4411ae56d4689c6ad07a24c SHA512 c9c386bacca78595bf35d77b89fc2935d41bf2290e486532f66e484cee039f66a553475202c78e1eb7f57caa7dec7e723469d67a043e79141f698cbeb7144ed7 diff --git a/dev-libs/poco/metadata.xml b/dev-libs/poco/metadata.xml index f73e85906ed1..b46a644c0216 100644 --- a/dev-libs/poco/metadata.xml +++ b/dev-libs/poco/metadata.xml @@ -31,12 +31,14 @@ done quickly and working on the features that make their application unique. </upstream> <use> <flag name="7z">Add Support for the 7z archive format</flag> + <flag name="avahi">Add Support for avahi DNS-SD (zeroconf)</flag> <flag name="activerecord">Add ActiveRecord support</flag> <flag name="cppparser">Build and install a minimal C++ parser</flag> + <flag name="crypt">Encryption and digital signing classes (including SSL and JWT).</flag> <flag name="data">Database abstraction layer to easily send/retrieve data to/from various databases</flag> <flag name="file2pagecompiler">Utility to convert ordinary files to Page Compiler source files</flag> <flag name="json">Add JSON support</flag> - <flag name="jwt" restrict=">=dev-libs/poco-1.12.2-r1">Add JSON Web Token support</flag> + <flag name="jwt">Add JSON Web Token support</flag> <flag name="mariadb">Prefer <pkg>dev-db/mariadb-connector-c</pkg> over <pkg>dev-db/mysql-connector-c</pkg></flag> <flag name="mongodb">Add <pkg>dev-db/mongodb</pkg> support</flag> <flag name="net">Classes to write network clients & servers</flag> @@ -44,7 +46,7 @@ done quickly and working on the features that make their application unique. <flag name="pocodoc">POCO documentation generator</flag> <flag name="prometheus">Add prometheus monitoring system support</flag> <flag name="ssl">Encryption and digital signing classes</flag> - <flag name="util">Several utility classes (like logger, timer, config file parser)</flag> + <flag name="util">Several utility classes (like logger, timer, config file parser). Also enables JSON</flag> <flag name="zip">Add support for the zip & gz archive formats</flag> </use> </pkgmetadata> diff --git a/dev-libs/poco/poco-1.14.0.ebuild b/dev-libs/poco/poco-1.14.0.ebuild new file mode 100644 index 000000000000..122e330a4374 --- /dev/null +++ b/dev-libs/poco/poco-1.14.0.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ libraries for building network-based applications" +HOMEPAGE="https://pocoproject.org/" +SRC_URI="https://github.com/pocoproject/${PN}/archive/${P}-release.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}-release" + +LICENSE="Boost-1.0" +# SHARED_LIBRARY_VERSION -> "${S}"/libversion +SLOT="0/110" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="7z activerecord avahi cppparser +crypt +data examples +file2pagecompiler iodbc mariadb +mongodb mysql +net odbc +pagecompiler pdf pocodoc postgres prometheus sqlite test +util +xml +zip" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + activerecord? ( util xml ) + 7z? ( xml ) + file2pagecompiler? ( pagecompiler ) + iodbc? ( odbc ) + mongodb? ( data ) + mysql? ( data ) + odbc? ( data ) + postgres? ( data ) + pagecompiler? ( net util xml ) + pocodoc? ( cppparser util xml ) + sqlite? ( data ) + crypt? ( util ) + test? ( data? ( sqlite ) activerecord cppparser crypt pdf prometheus xml ) +" + +BDEPEND=" + virtual/pkgconfig +" + +RDEPEND=" + >=dev-libs/libpcre2-10.40:= + dev-libs/libutf8proc:= + + activerecord? ( !app-arch/arc ) + avahi? ( net-dns/avahi:= ) + mysql? ( dev-db/mysql-connector-c:= ) + mariadb? ( dev-db/mariadb-connector-c:= ) + postgres? ( dev-db/postgresql:= ) + odbc? ( + iodbc? ( dev-db/libiodbc ) + !iodbc? ( dev-db/unixODBC ) + ) + pdf? ( media-libs/libpng:= ) + sqlite? ( dev-db/sqlite:3 ) + crypt? ( + dev-libs/openssl:= + ) + xml? ( dev-libs/expat ) + zip? ( sys-libs/zlib:= ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + cmake_src_prepare + + if [[ ${SLOT} != 0/$(< "${S}"/libversion) ]] ; then + die "Please update subslot in ebuild to the version in ${S}/libversion!" + fi + + if use test ; then + # ignore missing tests on experimental library + # and tests requiring running DB-servers, internet connections, etc. + sed -i -e '/testsuite/d' \ + {Data/{,MySQL,ODBC},MongoDB,Net,NetSSL_OpenSSL,Redis}/CMakeLists.txt || die + + # Poco expands ~ using passwd, which does not match $HOME in the build environment + sed -i -e '/CppUnit_addTest.*testExpand/d' \ + Foundation/testsuite/src/PathTest.cpp || die + fi + + sed -i 's/ENABLE_DNSSD_AVHAI/ENABLE_DNSSD_AVAHI/' DNSSD/CMakeLists.txt || die +} + +src_configure() { + # apache support is dead and buggy, https://github.com/pocoproject/poco/issues/1764 + local mycmakeargs=( + -DPOCO_UNBUNDLED=ON + -DENABLE_APACHECONNECTOR=OFF + -DENABLE_ACTIVERECORD="$(usex activerecord)" + -DENABLE_ACTIVERECORD_COMPILER="$(usex activerecord)" + -DENABLE_CPPPARSER="$(usex cppparser)" + -DENABLE_CRYPTO="$(usex crypt)" + -DENABLE_DATA="$(usex data)" + -DENABLE_DATA_MYSQL="$(usex mysql)" + -DENABLE_DATA_ODBC="$(usex odbc)" + -DENABLE_DATA_POSTGRESQL="$(usex postgres)" + -DENABLE_DATA_SQLITE="$(usex sqlite)" + -DENABLE_DNSSD="$(usex avahi)" + -DENABLE_DNSSD_AVAHI="$(usex avahi)" + -DENABLE_JSON="$(usex util)" + -DENABLE_JWT="$(usex crypt)" + -DENABLE_MONGODB="$(usex mongodb)" + -DENABLE_NET="$(usex net)" + -DENABLE_NETSSL="$(usex crypt)" + -DENABLE_NETSSL_WIN=OFF + -DENABLE_PAGECOMPILER="$(usex pagecompiler)" + -DENABLE_PAGECOMPILER_FILE2PAGE="$(usex file2pagecompiler)" + -DENABLE_PDF="$(usex pdf)" + -DENABLE_POCODOC="$(usex pocodoc)" + -DENABLE_PROMETHEUS="$(usex prometheus)" + -DENABLE_SEVENZIP="$(usex 7z)" + -DENABLE_TESTS="$(usex test)" + -DENABLE_UTIL="$(usex util)" + -DENABLE_XML="$(usex xml)" + -DENABLE_ZIP="$(usex zip)" + ) + + cmake_src_configure +} + +src_test() { + POCO_BASE="${S}" cmake_src_test -E DataPostgreSQL +} + +src_install() { + cmake_src_install + + if use examples ; then + for sd in */samples ; do + docinto examples/${sd%/samples} + dodoc -r ${sd} + done + + find "${D}/usr/share/doc/${PF}/examples" \ + -iname "*.sln" -or -iname "*.vcproj" -or \ + -iname "*.vmsbuild" -or -iname "*.properties" \ + | xargs rm -v || die + fi +} diff --git a/dev-libs/protobuf/Manifest b/dev-libs/protobuf/Manifest index e1cff776554a..5e4111ad75a8 100644 --- a/dev-libs/protobuf/Manifest +++ b/dev-libs/protobuf/Manifest @@ -25,6 +25,7 @@ DIST protobuf-26.1.tar.gz 5957903 BLAKE2B 1a7faab2f56aa0995801a80f73a812c7fc38a0 DIST protobuf-27.2.tar.gz 6282174 BLAKE2B 86d12e9f87e8e1c2961ad517115c8689a8dd984722513816d8d626e59a76f5e7a698a90cbf6007daacf66c6053c9ff28108ff113579a442ce61cd221178bda44 SHA512 664c66b62cf1ed0c65d9b910d8e67d4d5d471113697f1b8edf1573cd5c0fc8e850ac53ce984e48e6c6b9cbbefa12f8530058384e7388e65a59c1e46d03772397 DIST protobuf-27.4.tar.gz 9156456 BLAKE2B 004427f4923e523bf77298600bf91a8fe4ca8be4bd6da5b7efcfe9186a032155e525426f83f683e1bed1e799ed1e62d250053386c1463cbd0c062bd05da786d0 SHA512 d076ce7e075096d0dba7ee2314b12e3223c4239c019e25670636a0ef812ddf0ce3f1fd9b9fe8517319db87b14bbdb2653cc4e06023f90032dfedb014457b2863 DIST protobuf-28.0.tar.gz 9259114 BLAKE2B 328e09ebffb296d838557ea72a4fc4da8e0ad5f1edfccebcc8ee7c9e0e74d06e5e6dbad741fd89f6a4502c1cb246a973fd60c035ccdbf89700b7baff49e2a65e SHA512 8745f625ac781f3bbefe9494cbf570143d38aecc1521edef7a52ffb403b8be24df2c71f4f2410b5a5b78a0f3e8a38a7d19be2cf916b1b9125349d2da18262cd1 +DIST protobuf-28.3.tar.gz 9256608 BLAKE2B 05162124676abe18300481e9f985fd2cfb09b052d06670a993e79ef02f3daf0d5380b521977ebc2362d4094486151ea285fe1c98a1d2f3799b18a1fa422fdc13 SHA512 a91e175fed7eb01c4240842a5af73a7d3cefccbb10885434bceeb7bc89ab6c56a74912cee290bf46e81d4026f3c9c2b10faad5545816064e215c4bae7908263d EBUILD protobuf-21.12.ebuild 2504 BLAKE2B b90c7eb65835f98825faf41fb70b7edcd40030c5c430be7faf13308a74cbc3576a910b83a73dcf593ebb248392900536b96152ba18d05f532b0632ad637b2ad8 SHA512 454f7104106edd5cbc9c1897cdc57fcef337fef51239d5e8832064a9a049b238bb3d4d549df88369098b26a350b4828131ecda74a65c832cf4aa9b1128445d7b EBUILD protobuf-21.9.ebuild 4163 BLAKE2B 8c4897218ecde9eab2ab95d68c613d4e0990de5570f51f2d3d8e5367f83887be37d3aff6412f961aeb8db27d08380dd5df8845cd144afe841524150a38c8c23f SHA512 160efd25da58ca8dc6cfa68f8a50e8ca98b682d4e21b1e38bdaf4a6ebb3bd7810c657fe7f06bf931358d30a2f2c524658628200444e89f2bf6a6532e51e05d86 EBUILD protobuf-22.5-r1.ebuild 3094 BLAKE2B 6bcee931b6cd9a85365b59fd5f3ce58378918c248d12e5c6793c2a5afacc2596c8f3985a59bb790d17449085f9581b908db26025bc120676df65ce6a34c90453 SHA512 5b09aa886dcc68070f77bb836a271580bd88ea8c8945700bc57e19c814a38cb33db87aa0f233aa6537a70a0b92071eb546d68f745c05dc1eae8d16a1e70f8487 @@ -38,5 +39,6 @@ EBUILD protobuf-26.1-r2.ebuild 2915 BLAKE2B 75df59e6ca105a529cf582cda4371c26f0b9 EBUILD protobuf-27.2.ebuild 3739 BLAKE2B f93b87963a5c0e5d78c21817ac657e02b1869a36679eb0501d06ce3523518260e6a55e65de5f2b251ebff3a36e4006cf9eaa8fd18f186dbf7a46c4fb416e4bd9 SHA512 f801b662ce4a47c137f061ca17010481cfe40f87bca22f7c895fe42e85c7e33a7a865092aa2db21aaf5e78177a7127902cfdabfd969bca6c567045790a8fcb0f EBUILD protobuf-27.4.ebuild 3942 BLAKE2B 6f5050e4120d890fdf88c743c8fb214862f8ea23c6105094242a41f9146acb325bb815d6edc0ce877b0bb4d866ebfdb14b24d9321e213fb90480a1af805cea37 SHA512 23cc67686171e88490bc604236fe8d5b204a0ad6583b01cf9fd4c86a35e6503f1e53db90d02d86759f7ef67bd221aa255b086badc02d89979d8f3100d58b0490 EBUILD protobuf-28.0.ebuild 3936 BLAKE2B bc04bab7ca7fa824694bf2328a1d60912aef9ced11d58ecc12bd1386871c17846f697b9c8bb215ba790d1494764b60e165fad1c7d22fb78df2aac9250ac702f0 SHA512 80aa6ea9b52d15d4267cd18713e6aff5dba5e9531d673f670047f52121978f68830e2696bbf76e5ce069442dff3543505026100ef26b72dbaed1a3864792497f +EBUILD protobuf-28.3.ebuild 3942 BLAKE2B c10a6bb36fb1190db1c1d97c248c2083803f74f47cef6bc62755564f77636400157941f1ec29937c1884e5027fba082986dcfd9ed475733db50e35ed1a4c58bb SHA512 19087b6c287d0df254bb7686e600655a1cc32ff5163d2baa24fedc901fcf2fb4f682741f1e1f7061000dfc721f896c12e0811416ccd50d2daa9c87ef41b9897b EBUILD protobuf-9999.ebuild 3942 BLAKE2B 6f5050e4120d890fdf88c743c8fb214862f8ea23c6105094242a41f9146acb325bb815d6edc0ce877b0bb4d866ebfdb14b24d9321e213fb90480a1af805cea37 SHA512 23cc67686171e88490bc604236fe8d5b204a0ad6583b01cf9fd4c86a35e6503f1e53db90d02d86759f7ef67bd221aa255b086badc02d89979d8f3100d58b0490 MISC metadata.xml 917 BLAKE2B c25c810e47e764843ad71be5eb5ebe617d881e7363ce3206401eb59c6df12969bc22bbedc34f08b0a2fbcf955de5b85aa8e4d3a964c1349f07ed1d0eb344a915 SHA512 baa5737981669f1b28ce32884698a4d91e0f1fbdde6056779307e1a6c85dde8ca36ee47ca3ce8794b996934dfafc5482afbe9532a7f3e17c833c3aef0a330376 diff --git a/dev-libs/protobuf/protobuf-28.3.ebuild b/dev-libs/protobuf/protobuf-28.3.ebuild new file mode 100644 index 000000000000..bffa811e8049 --- /dev/null +++ b/dev-libs/protobuf/protobuf-28.3.ebuild @@ -0,0 +1,166 @@ +# Copyright 2008-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib elisp-common multilib + +# NOTE from https://github.com/protocolbuffers/protobuf/blob/main/.gitmodules +ABSEIL_BRANCH="lts_2023_08_02" + +ABSEIL_MIN_VER="${ABSEIL_BRANCH//lts_}" +ABSEIL_MIN_VER="${ABSEIL_MIN_VER//_/}" + +if [[ "${PV}" == *9999 ]]; then + EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" + EGIT_SUBMODULES=( '-*' ) + MY_SLOT="28.0" + + inherit git-r3 +else + SRC_URI="https://github.com/protocolbuffers/protobuf/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos" + MY_SLOT=$(ver_cut 1-2) +fi + +DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data" +HOMEPAGE="https://protobuf.dev/" + +LICENSE="BSD" +SLOT="0/${MY_SLOT}.0" +IUSE="conformance debug emacs examples +libprotoc libupb +protobuf +protoc test zlib" + +REQUIRED_USE=" + || ( + libprotoc + libupb + protobuf + protoc + ) +" + +RESTRICT="!test? ( test )" + +BDEPEND=" + emacs? ( app-editors/emacs:* ) + !protobuf? ( + >=dev-libs/protobuf-${PV} + ) +" + +COMMON_DEPEND=" + dev-libs/jsoncpp[${MULTILIB_USEDEP}] + >=dev-cpp/abseil-cpp-${ABSEIL_MIN_VER}:=[${MULTILIB_USEDEP}] + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) +" + +DEPEND=" + ${COMMON_DEPEND} + test? ( >=dev-cpp/gtest-1.11[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${COMMON_DEPEND} + ${BDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-26.1-disable-32-bit-tests.patch" + "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" + "${FILESDIR}/${PN}-27.4-findJsonCpp.patch" + "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" +) + +DOCS=( CONTRIBUTORS.txt README.md ) + +src_prepare() { + cmake_src_prepare + + cp "${FILESDIR}/FindJsonCpp.cmake" "${S}/cmake" || die +} + +multilib_src_configure() { + local mycmakeargs=( + -Dprotobuf_ABSL_PROVIDER="package" + -Dprotobuf_JSONCPP_PROVIDER="package" + + -Dprotobuf_BUILD_CONFORMANCE="$(usex test "$(usex conformance)")" + -Dprotobuf_BUILD_EXAMPLES="$(usex examples)" + -Dprotobuf_BUILD_LIBPROTOC="$(usex libprotoc)" + -Dprotobuf_BUILD_LIBUPB="$(usex libupb)" + -Dprotobuf_BUILD_PROTOBUF_BINARIES="$(usex protobuf)" + -Dprotobuf_BUILD_PROTOC_BINARIES="$(usex protoc)" + -Dprotobuf_BUILD_SHARED_LIBS="yes" + -Dprotobuf_BUILD_TESTS="$(usex test)" + + -Dprotobuf_DISABLE_RTTI="no" + + -Dprotobuf_INSTALL="yes" + -Dprotobuf_INSTALL_EXAMPLES="$(usex examples)" + -Dprotobuf_TEST_XML_OUTDIR="$(usex test)" + + -Dprotobuf_WITH_ZLIB="$(usex zlib)" + -Dprotobuf_VERBOSE="$(usex debug)" + -DCMAKE_MODULE_PATH="${S}/cmake" + ) + use test && mycmakeargs+=( -Dprotobuf_USE_EXTERNAL_GTEST="yes" ) + + cmake_src_configure +} + +src_compile() { + cmake-multilib_src_compile + + if use emacs; then + elisp-compile editors/protobuf-mode.el + fi +} + +src_test() { + local -x srcdir="${S}/src" + + local -x TEST_TMPDIR="${T%/}/TEST_TMPDIR_${ABI}" + mkdir -m 777 "${TEST_TMPDIR}" || die + + setup_test_env() { + ln -sr "${S}/src" "${BUILD_DIR}/include" || die + } + + multilib_foreach_abi setup_test_env + + cmake-multilib_src_test +} + +multilib_src_install_all() { + find "${ED}" -name "*.la" -delete || die + + if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname ${SLOT#*/})" ]]; then + eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ + "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname ${SLOT#*/})" + die "Please update SLOT variable" + fi + + insinto /usr/share/vim/vimfiles/syntax + doins editors/proto.vim + insinto /usr/share/vim/vimfiles/ftdetect + doins "${FILESDIR}/proto.vim" + + if use emacs; then + elisp-install "${PN}" editors/protobuf-mode.el* + elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el" + fi + + if use examples; then + DOCS+=(examples) + docompress -x "/usr/share/doc/${PF}/examples" + fi + + einstalldocs +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |