diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 101169 -> 101174 bytes | |||
-rw-r--r-- | dev-libs/argtable/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/argtable/argtable-2.13-r3.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/cudnn-frontend/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild | 20 | ||||
-rw-r--r-- | dev-libs/jsoncpp/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/jsoncpp/jsoncpp-1.9.5-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/sleef/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/sleef/sleef-3.6.1-r1.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/xapian-bindings/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/xapian-bindings/xapian-bindings-1.4.26.ebuild | 343 | ||||
-rw-r--r-- | dev-libs/xapian/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/xapian/xapian-1.4.26.ebuild | 67 |
13 files changed, 479 insertions, 51 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 3df61b48f58b..35d969f39f2f 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/argtable/Manifest b/dev-libs/argtable/Manifest index 9badc4bedbd5..bffd47b338fe 100644 --- a/dev-libs/argtable/Manifest +++ b/dev-libs/argtable/Manifest @@ -1,6 +1,5 @@ AUX argtable-2.13-Fix-implicit-function-declaration.patch 400 BLAKE2B 1d6efef6be2889c66d62dab4891881e701fbce79e118e0699f8acf91c901d1d1dffbabf92f9fe1353be06cdf00176813b9dbb071da500c57fc1dfe4656d85079 SHA512 f360192676e4840db4502037425f5f5ce9dfd88ea2d852c6677027258e6ebe3007169e56d5aa9c9b1766281231cf809a4e10253beabe1c4981c22aa33e62515e AUX argtable-2.13-Fix-undeclared-library-function.patch 636 BLAKE2B 96d223ee64f057ea29506c6d2e7002e16ba4e691ae4cc4d32abc1d64ff22fda91b0e61879c78807930f65f957fa2bf1900a15232d146c495acb6ea5d4e16430a SHA512 7b02b1de15f98ab2f5c61697e6e5edf2cc3beca1a0c3cd014431622fe356ce4cbe400a5aeec75f5cf14c0baed7b49f1b6b0abf1ba6d05b27bf0c2db5b3c6b4b4 DIST argtable2-13.tar.gz 3326444 BLAKE2B 8c78d56c2e1a53747cf480808064cb006644db50a2cb38adddd71eff07d4d7f6e5467c54eec4e5cbb729a7f639927b2d3283c6995bde54134d7a85e39788b87c SHA512 3d8303f3ba529e3241d918c0127a16402ece951efb964d14a06a3a7d29a252812ad3c44e96da28798871e9923e73a2cfe7ebc84139c1397817d632cae25c4585 -EBUILD argtable-2.13-r3.ebuild 1036 BLAKE2B 404dff18e841012a59ace47e0c75b518a85cf20a92ad92f5e36547425276080f7f3d5f553e75745160d6e7eeaec01caa08aea884dfacb08be4bf34fbab922f25 SHA512 6cbca06bb07f9e82ceb7dd22b31d7b81ecfee24861152955a2083876dc79feb5918c69ac978fda25f48f3a1ddc0c1705fd42ea7550f2e303ac05894e1d1b86a4 EBUILD argtable-2.13-r4.ebuild 1100 BLAKE2B e9e58c163d6785411252ac965c009bef1db28951f95d10eea8129fcdcf875e88771bd8d7a4859a7f1c6357a0b71cb38afb54800d4e9b8e008197a86a921487d3 SHA512 b7b0f5b0b6d7c460de9c95b4cf4e12efe2699722d7ca03fee7f4e3426a7833204a5c973347afe4ebd72ade486ee45eb36774f882c90d0ce9158baa5b5a16c95b MISC metadata.xml 244 BLAKE2B fad63c2df07a5f9df8d76bdfefec496412e15b28921c5928e66d2ff1a4df11656d9b9a1e9e54eb35cbd69b7c46162236ca12bfb664540777bcfba27c04e5edd8 SHA512 fa47cca1b7f704deed476452a6d37d764d727f10039e8bfdfe62ce57b92e37ea2c39c1b2a26a97057ce14171f55e0076d8034e9520f13f481f29bf620863185d diff --git a/dev-libs/argtable/argtable-2.13-r3.ebuild b/dev-libs/argtable/argtable-2.13-r3.ebuild deleted file mode 100644 index bbd3be201745..000000000000 --- a/dev-libs/argtable/argtable-2.13-r3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PV="$(ver_rs 1 '-')" -MY_P=${PN}${MY_PV} - -DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss" -HOMEPAGE="https://argtable.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86" -IUSE="doc debug examples static-libs" - -PATCHES=( - "${FILESDIR}"/${PN}-2.13-Fix-implicit-function-declaration.patch -) - -src_configure() { - econf \ - $(use_enable debug) \ - $(use_enable static-libs static) -} - -src_install() { - default - - rm -rf "${ED}"/usr/share/doc/${PF}/ - - if use doc ; then - cd "${S}"/doc || die - dodoc *.pdf *.ps - docinto html - dodoc *.html *.gif - fi - - if use examples ; then - cd "${S}"/example || die - docinto examples - dodoc Makefile *.[ch] README.txt - fi - - find "${ED}" -name "*.la" -delete || die "failed to delete .la files" -} diff --git a/dev-libs/cudnn-frontend/Manifest b/dev-libs/cudnn-frontend/Manifest index c93eae546324..c13b387ae535 100644 --- a/dev-libs/cudnn-frontend/Manifest +++ b/dev-libs/cudnn-frontend/Manifest @@ -3,9 +3,11 @@ DIST cudnn-frontend-0.7.3.tar.gz 18685637 BLAKE2B 77ce32fb84cca43a431c6ad0d7be96 DIST cudnn-frontend-0.9.2.tar.gz 18582081 BLAKE2B d8611231f73f3716bca8c2d851439355121ca2460dd46cf8149632fa53094b7b2a2e9d6840dfcd2c1da113f8b6f06c15559c90c6c5333b36d5c29bd9997733e1 SHA512 0cc326e8395183ab3bc2d90a2155a80318daa9c1d6b30522efc42716bd7000ba036d802a8080a1a6a1f3c017a514f2bed936df57a7cab92c8fcd0136f4312912 DIST cudnn-frontend-1.0.3.tar.gz 423596 BLAKE2B a7bf970dac5e9977a1c80609cdd169ec5764f366880030329372ec0ac49668ddf67ee33a4a19df6b9f799832fa857f62f94e27ea055f3549ac209ab9f564c28a SHA512 2ad346c52e03589e9edcc0ef8ee0fe48fdc6f73aa8136f9f3729796d5ce60718b486fc8a1036fbdcee2cc899c633a11f1fce9204417a0fb14333a4b51a749db0 DIST cudnn-frontend-1.1.2.tar.gz 436616 BLAKE2B 9749219fd176fa8eba50e3ab6c63940dce95a095a850bfd9747f47cc91e077792c184d8d0629be31865eab6d6cda627c948de744d5f6d6d9522c1a91931d26f5 SHA512 88407f75ec82c2e04fe72148090f0f56a56a088dccd6beab850df6f761ad8ed7527391c80e667dd2073b8313d0416dbd28eca92dd18a538a3fdbc420c13f552c +DIST cudnn-frontend-1.4.0.tar.gz 607171 BLAKE2B 2c90239d7aad6a346c40c4a41b2bdfacc4717df020b9e845135068eec8f2043a6096b2d398d8ee46e05e5936ab5c4fe2529a5432083cdf00456ed11842591b43 SHA512 36026e4d2da2d7287dcdd4a4e0c9516ecc6b954a0dc11f115678e85280a223f557b420f1760ed6efa85acf3b0c3bcba82befb3d8c761a4989e73ddcdbbef8e79 EBUILD cudnn-frontend-0.6.2.ebuild 488 BLAKE2B 3c6caa6d0f3948ddf055f2290d5c2c5acb14c46cba681ce4e95716dbf904789780a2b1cd20bc98fec94fe198df8734b33910fb3a54271210e6668e7f9d5307b5 SHA512 bdfda99ce10eb2814f420490f2517ead6655558f1e7cffd71f39acb54e6a473d026021796580da84254094ce237c4eefec16bcf8926ccb129da8ce114fa730a3 EBUILD cudnn-frontend-0.7.3.ebuild 488 BLAKE2B bcae85d281f8480814badb438fe7c66d172efeae191e8141cc80036a36c2bd29d887be5d966390c618326bdada1035ceb83e9f5046b441a52b1f9e1be5fac0a8 SHA512 aab46f1bc2dbf30a4b6cc1eeb7aa8f97f56e039e784dd8e8dccf8776afbc839080e6ccda00f713308366a84b0e9000e7b84af26e10039eb02145736ec11d414d EBUILD cudnn-frontend-0.9.2.ebuild 488 BLAKE2B bcae85d281f8480814badb438fe7c66d172efeae191e8141cc80036a36c2bd29d887be5d966390c618326bdada1035ceb83e9f5046b441a52b1f9e1be5fac0a8 SHA512 aab46f1bc2dbf30a4b6cc1eeb7aa8f97f56e039e784dd8e8dccf8776afbc839080e6ccda00f713308366a84b0e9000e7b84af26e10039eb02145736ec11d414d EBUILD cudnn-frontend-1.0.3.ebuild 488 BLAKE2B 05a5a0f2dea7650a5ebbd89c996da3581004c1e3f3fd0072e4c3267f2aa76738f45597a8602062ff673dedb89f7614109c9d33ca55a72b4bf7443117ab265498 SHA512 4d22a2c15a8d3ca6578e88711c87b834e08fb71ecc72db230684a2c0d91ac923a38ff9fe51583de8669859cde42aaa2f652358fc1c9b164e165f94623b457291 EBUILD cudnn-frontend-1.1.2.ebuild 488 BLAKE2B 05a5a0f2dea7650a5ebbd89c996da3581004c1e3f3fd0072e4c3267f2aa76738f45597a8602062ff673dedb89f7614109c9d33ca55a72b4bf7443117ab265498 SHA512 4d22a2c15a8d3ca6578e88711c87b834e08fb71ecc72db230684a2c0d91ac923a38ff9fe51583de8669859cde42aaa2f652358fc1c9b164e165f94623b457291 +EBUILD cudnn-frontend-1.4.0.ebuild 488 BLAKE2B 05a5a0f2dea7650a5ebbd89c996da3581004c1e3f3fd0072e4c3267f2aa76738f45597a8602062ff673dedb89f7614109c9d33ca55a72b4bf7443117ab265498 SHA512 4d22a2c15a8d3ca6578e88711c87b834e08fb71ecc72db230684a2c0d91ac923a38ff9fe51583de8669859cde42aaa2f652358fc1c9b164e165f94623b457291 MISC metadata.xml 334 BLAKE2B 90ddd120ea2b1c8871b666af41205033db6256bfe367aecdf040270e01b748579131f66f48ff7c60f799bc04fdfe6e4f597f01f88954388971c2474ab1a5853a SHA512 385d8f496d2d5f027f762ca6a5c7b5b6a80813dae213cfad6e495b69e33d1a6c2205dc09935c3f7ba3a3431b85f5eaa3d9c9dc1735262300b7c105c48419f772 diff --git a/dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild b/dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild new file mode 100644 index 000000000000..10648668e6c9 --- /dev/null +++ b/dev-libs/cudnn-frontend/cudnn-frontend-1.4.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A c++ wrapper for the cudnn backend API" +HOMEPAGE="https://github.com/NVIDIA/cudnn-frontend" +SRC_URI="https://github.com/NVIDIA/cudnn-frontend/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/8" +KEYWORDS="~amd64" + +RDEPEND="=dev-libs/cudnn-8*" +DEPEND="${RDEPEND}" + +src_install() { + insinto /opt/cuda/targets/x86_64-linux + doins -r include +} diff --git a/dev-libs/jsoncpp/Manifest b/dev-libs/jsoncpp/Manifest index 266d7a79873a..f60dfbb0dde3 100644 --- a/dev-libs/jsoncpp/Manifest +++ b/dev-libs/jsoncpp/Manifest @@ -1,4 +1,4 @@ DIST jsoncpp-1.9.5.tar.gz 216055 BLAKE2B 744275297647be8f1ac7bbf6c818e5106fc122591b3fb68c37cf33f5b3b7d6666e8429bb7ca2ae693202a5a83c274303804e21ebb27f05ba235568bf75a9b375 SHA512 1d06e044759b1e1a4cc4960189dd7e001a0a4389d7239a6d59295af995a553518e4e0337b4b4b817e70da5d9731a4c98655af90791b6287870b5ff8d73ad8873 -EBUILD jsoncpp-1.9.5-r1.ebuild 1237 BLAKE2B 81846f3c8a67cd89e031c3f23ab6e8a2b6eb7b05c145e4f8c28c783b58d46ab7a275ae3129e29aa2ccb87eaa156e061669a132859e47646147b7531df80c0cba SHA512 d93c9e9e1713a55d758fa73d3c71732939c752daca237865a4afd4974f949eb1a8ffbeafa6603c233d03c6f575a97bd2acf7e55df2a795070d8b7b84e2eb0035 +EBUILD jsoncpp-1.9.5-r1.ebuild 1234 BLAKE2B dde6c3ba26308a9547751e5d85acf06caa9fc3ba31b006452141631a1ac40312a0097f833e20ef813d7c07ef91eccbc7905aed42589c0e59d8d5efbc03eef7a6 SHA512 0a0600ecfcf80c93824699aa3b6a09c7b95026642abf5a44e001a65d6389621c79949fb0476f7b12ac1a703fe15276841a6ba1bbcfedc7c1e9cc8d3f4123ae0f EBUILD jsoncpp-1.9.5.ebuild 1193 BLAKE2B 15911fb84995505c9925546e61b9077f941270debbb54355d5a22429ce94b51910b7ff1f22fc2d8b4e66aa99b6e031bd99dc218dd2e08f95ffd9c873f4538732 SHA512 1ae4ea3827abc5682db457d8c554580ed05bb80218b6eb73aa0cd845f8c07121b65336fce903b6e50ccdc6ea28f9489502e8404a0d1dfcc364470827344764f4 MISC metadata.xml 473 BLAKE2B cee9ea6f824489bf51f6c293faff24e62bb8c3457d49638b9547d104bfbed8b5c566e429b4d597dfa9b556955450c758261231ce83ea28216c1386a2d645176b SHA512 f7e2f0a82c5370802072e94a727bcb19d138979ab46670f01bdb17ed19b59f8e79bd28d37a8d939917f108fd4a64f53f67153ceaa9dad393840e9eb0247538e1 diff --git a/dev-libs/jsoncpp/jsoncpp-1.9.5-r1.ebuild b/dev-libs/jsoncpp/jsoncpp-1.9.5-r1.ebuild index 9bcbf81653d3..cb278169f67f 100644 --- a/dev-libs/jsoncpp/jsoncpp-1.9.5-r1.ebuild +++ b/dev-libs/jsoncpp/jsoncpp-1.9.5-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="|| ( public-domain MIT )" SLOT="0/25" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-libs/sleef/Manifest b/dev-libs/sleef/Manifest index 4f36366dc159..65faff4da948 100644 --- a/dev-libs/sleef/Manifest +++ b/dev-libs/sleef/Manifest @@ -2,5 +2,7 @@ AUX sleef-3.5.1-gentoo.patch 1261 BLAKE2B cef8f55c1e24e0366636965a7838caf2f1f204 AUX sleef-3.5.1-mpfr42.patch 903 BLAKE2B 1726946ab5ea9b7e1c3756694d6cbbf0fd182aa0c49423c037b840f11f050f780914981a0af198d4f82531c73cbabd20655be1da5a4aab6c184d9c43e96ac337 SHA512 7ac5ee743a0a622ca7b8b37d0c2b8a5a22fe9eb3f6ca14240f457de26c6bec6326d127dbbebfe8cb3dd20702968db2f0193cabcb3f23b08e225a8085da08f510 AUX sleef-3.5.1-riscv.patch 529 BLAKE2B ca2669ccae99ca413eb00082efea611186f9d620b6e6918f967597b0c54b3e9439c4f3687105babda5cf6072e739991548ccaab2b51960e7043f00e791c78728 SHA512 066c7ac1d53b517c5ba16216fde80320e3adf6297eb90d747f8d91cc115a021682f75c69f1d8fe1034b4f35ef9a723000c2848721020890e0ed74bfea944a8cc DIST sleef-3.5.1.tar.gz 1210108 BLAKE2B e10e23cb830252dd2ed34e24bfd79b5e812640572afedad899cccd462019c7a4e41c7b3b9f0ff5a77549fc45dbc51ae0ebeeada4c38f011cdac0262d2982ade8 SHA512 e8e4e5028db52998c6b82bd462622c08d670e4e85273327f1c3bdbd900827dd7793b217c2876ca1229b6f672493bb96f40140e14366390cccea0e6780689e128 +DIST sleef-3.6.1.tar.gz 1628079 BLAKE2B b4d0c25d1f1425da8cc7ea038810b5bd9601502678c2e53695ff6b38aa2a8522f3f69eb5f949ff60b9e800935e7ab586005dc704c6337f257fa11f9c0569b2b5 SHA512 05ec78763fc89a0ad782b442aad643b75da8787bd7a69e3a2a55ece7883baa1d88a1a342768ccba46997f20eca976d625f24a8c424376d21d84aaa595804fba5 EBUILD sleef-3.5.1-r1.ebuild 807 BLAKE2B 6cf8be32ae29f07d3310941c6e6b00b03d5181424f12978fec990a5180c84384ce494b41db930cc371bb84cc1135902b49d2914737aa068274f255731083fb6d SHA512 d59aad93d3385f42cc8a79165c26f63762f02b2793a159a3e92d46b2ff13fc58455ede4af7b4135b7bf3499775946794055a1b7d78871f384c0072add4c5e810 +EBUILD sleef-3.6.1-r1.ebuild 715 BLAKE2B 77d3dcae2b036bd349c6dd91e504e606e5973afcd554619c6bb27914b90e6361c09745a2af1a7d0acb01fd379c9a5304e7bce1a8f77797143dad9117ab688b8c SHA512 5fce84457e565d2d1956a2974c840b90451fb7d19e50f7b897b7d1e4319fb58c12b471b50e317ccc0c7484c22a7798f0e6dd38e77651c684b6768c95d0b98b3d MISC metadata.xml 327 BLAKE2B 983705672ddaa295e873a6fe7a7e7caf7c4d3fdd7c587fa2bff53e457e580ad1958108931e50df7f27303aa75937a702f3cae3d830b3f34760b95f06ca15458a SHA512 8cc8e6126c425e73d9431937f2bedc7dbb68f294359beaf4923e4105284465a7cb4c678693afdf3a16469f9d1a846d7543b550bbd5d100f369a0f93b6bd90c7a diff --git a/dev-libs/sleef/sleef-3.6.1-r1.ebuild b/dev-libs/sleef/sleef-3.6.1-r1.ebuild new file mode 100644 index 000000000000..11911f2e2f68 --- /dev/null +++ b/dev-libs/sleef/sleef-3.6.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Implements vectorized versions of C standard math functions" +HOMEPAGE="https://sleef.org/" +SRC_URI="https://github.com/shibatch/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( >=dev-libs/mpfr-4.2 ) +" + +src_configure() { + local mycmakeargs=( + -DSLEEF_DISABLE_FFTW=ON + -DSLEEF_BUILD_QUAD=ON + -DSLEEF_BUILD_TESTS=$(usex test ON OFF) + ) + + cmake_src_configure +} + +src_test() { + + local myctestargs=( + -E "iut(y)?purec(fma)?_scalar" + ) + cmake_src_test +} diff --git a/dev-libs/xapian-bindings/Manifest b/dev-libs/xapian-bindings/Manifest index 7ffabbd3a831..5e62dc9ede73 100644 --- a/dev-libs/xapian-bindings/Manifest +++ b/dev-libs/xapian-bindings/Manifest @@ -1,5 +1,7 @@ AUX xapian-bindings-1.4.22-fix-java-installation.patch 462 BLAKE2B 7a938410063dc240041a498ee48d42663f57deb7bf2bfa83023111d163ccd194d98f79dcc4f158955f671bdfe00b023f456629c274575c5277b21f9528eed22a SHA512 92ca8665c7339becb5e159efbb4de5cd921a47e217dac2252b0854aefab25270c4c08e89424466ae6350fca5feb07e2e7b9170978ffb31a4e6475237300da598 AUX xapian-bindings-1.4.22-remove-precompiled-python.patch 774 BLAKE2B c6c75b017867f7460b426a3adcfc83f00f2705c0e20c967db2a561dd83bdde95d872d739033c0ee83e0959e9e7eb405b3f8aec852ffb4ab3c755844a81a789d7 SHA512 25712eb39d9297a727284d4d12bfd4affcaa6acb71e345e52229246ef4db5269d30d61f4c990f4d5f9fcdbc9781577afb46d0223edbc9225e5ffb375f09c95b4 DIST xapian-bindings-1.4.25.tar.xz 1076644 BLAKE2B 190c560d341039c68b35421c1a75e791537f9c2c353a5f0871d45055909e2863cd4ede3062a6b641e1572b74db8c049a0266a6c305e7d41bfb5d5c63057ef3e3 SHA512 119f62b53d487319e33aaf0c473e479a52b3831a46b23724188dada13f341e08facc7b79641c00ba7b0507c22b55c7b700182e65b5a195cd322be2098bcca183 +DIST xapian-bindings-1.4.26.tar.xz 1114580 BLAKE2B 997d997ce382364749822c93ce9ff03d21dba9657ba07b039e0ea330cce4e47eb285f7fcb97a79931ca4a2448edae48c863dc7e1ca429f3e4ea76ac65789dc4d SHA512 9ab6c8f7092c6d353341a2de565501ba4eadd47c78a472c54c9f41de08ac5b42382236a4b66f03257cd505464e1b6e9eaf2ab05c1d6e984cc641738dd43b3314 EBUILD xapian-bindings-1.4.25.ebuild 6981 BLAKE2B bef8a2330f64f027a13d18d4dd5485656fe4d7aef3645010742223593850b0715aec08b89c10da92c74c06c37d760299a5eab7df9d9121c4b28f14e302506d39 SHA512 3f1a9709a0045f884c8dcf9627b4aca7d1c8700f66c08fd5b4b9753d8177c468aed5098008991af080d2e4ad1db5cb67f1e926dc4ca40af3f8614258fe32afdb +EBUILD xapian-bindings-1.4.26.ebuild 6857 BLAKE2B cd5a58765c49a4d9ef1e783578098a73205e5af96e51ffa741bdf802d4f3bda4ab4cf21fbaba26d00335135d24624906689b2e398f92dec8d9f127fa895f2538 SHA512 5965bc6f3bff2fc3aa6ae75a7a98284b71faa384cd445526067d6e91af676c82b5ff4903e4067a415af8fb7501f5510313bc4ecdb43105ede6d9a8696b0ebd56 MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3 diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.4.26.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.4.26.ebuild new file mode 100644 index 000000000000..b3258973c6b8 --- /dev/null +++ b/dev-libs/xapian-bindings/xapian-bindings-1.4.26.ebuild @@ -0,0 +1,343 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) + +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="threads(+)" + +USE_PHP="php8-1 php8-2" + +PHP_EXT_NAME="xapian" +PHP_EXT_INI="yes" +PHP_EXT_OPTIONAL_USE="php" + +USE_RUBY="ruby31 ruby32" +RUBY_OPTIONAL="yes" + +inherit autotools java-pkg-opt-2 lua multibuild php-ext-source-r3 python-r1 ruby-ng + +DESCRIPTION="SWIG and JNI bindings for Xapian" +HOMEPAGE="https://xapian.org/" +SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz" +S="${WORKDIR}/${P}" # need this here, some inherited eclasses change it + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="java lua perl php python ruby tcl" +REQUIRED_USE=" + || ( java lua perl php python ruby tcl ) + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) + ruby? ( || ( $(ruby_get_use_targets) ) ) +" + +COMMON_DEPEND=" + ~dev-libs/xapian-${PV} + lua? ( ${LUA_DEPS} ) + perl? ( dev-lang/perl:= ) + php? ( dev-lang/php:=[-threads] ) + python? ( + dev-python/sphinx[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) + ruby? ( $(ruby_implementations_depend) ) + tcl? ( dev-lang/tcl:= ) +" +DEPEND=" + ${COMMON_DEPEND} + virtual/pkgconfig + java? ( >=virtual/jdk-1.8:* ) +" +RDEPEND=" + ${COMMON_DEPEND} + java? ( >=virtual/jre-1.8:* ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.4.22-remove-precompiled-python.patch + "${FILESDIR}"/${PN}-1.4.22-fix-java-installation.patch +) + +has_basic_bindings() { + # Update this list if new bindings are added that are not built + # multiple times for multiple versions like lua, php, python and ruby are + return $(use java || use perl || use tcl) +} + +php_copy_sources() { + local MULTIBUILD_VARIANTS=($(php_get_slots)) + multibuild_copy_sources +} + +php_foreach_impl() { + local MULTIBUILD_VARIANTS=($(php_get_slots)) + multibuild_foreach_variant "$@" +} + +ruby_copy_sources() { + local MULTIBUILD_VARIANTS=($(ruby_get_use_implementations)) + multibuild_copy_sources +} + +ruby_foreach_impl() { + local MULTIBUILD_VARIANTS=($(ruby_get_use_implementations)) + multibuild_foreach_variant "$@" +} + +pkg_setup() { + use java && java-pkg-opt-2_pkg_setup +} + +src_unpack() { + default + + if use php; then + local php_slot + for php_slot in $(php_get_slots); do + # Unfortunately required for php-ext-source-r3_createinifiles(). + mkdir "${WORKDIR}/${php_slot}" + done + fi +} + +src_prepare() { + eapply "${PATCHES[@]}" + eautoreconf + + use java && java-pkg-opt-2_src_prepare + + # https://trac.xapian.org/ticket/702 + export XAPIAN_CONFIG="/usr/bin/xapian-config" + + if use lua; then + lua_copy_sources + fi + + if use php; then + php_copy_sources + fi + + if use python; then + python_copy_sources + fi + + if use ruby; then + ruby_copy_sources + fi + + eapply_user +} + +src_configure() { + # Needed to get e.g. test failure details + MAKEOPTS+=" VERBOSE=1" + + if has_basic_bindings ; then + local conf=( + --disable-documentation + $(use_with java) + $(use_with perl) + $(use_with tcl) + --without-csharp + --without-lua + --without-php + --without-python + --without-python3 + --without-ruby + ) + + if use java; then + local -x CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" + fi + + if use perl; then + local -x PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" + local -x PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" + fi + + econf "${conf[@]}" + fi + + lua_configure() { + local myconf=( + --disable-documentation + --without-csharp + --without-java + --without-perl + --without-tcl + --without-php + --without-python + --without-python3 + --without-ruby + --with-lua + ) + + local -x LUA_INC="$(lua_get_include_dir)" + local -x LUA_LIB="$(lua_get_cmod_dir)" + + econf "${myconf[@]}" + + } + + if use lua; then + lua_foreach_impl run_in_build_dir lua_configure + fi + + php_configure() { + local myconf=( + --disable-documentation + --without-java + --without-lua + --without-csharp + --without-perl + --without-python + --without-python3 + --without-ruby + --without-tcl + --with-php + ) + local -x PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${MULTIBUILD_VARIANT/-/.}/bin/php-config" + + econf "${myconf[@]}" + } + + if use php; then + addpredict /usr/share/snmp/mibs/.index + addpredict /var/lib/net-snmp/mib_indexes + + php_foreach_impl run_in_build_dir php_configure + fi + + python_configure() { + local myconf=( + --disable-documentation + --without-java + --without-lua + --without-csharp + --without-perl + --without-php + --without-ruby + --without-tcl + --with-python3 + ) + + # Avoid sandbox failures when compiling modules + addpredict "$(python_get_sitedir)" + + econf "${myconf[@]}" + } + + if use python; then + python_foreach_impl run_in_build_dir python_configure + fi + + ruby_configure() { + local myconf=( + --disable-documentation + --without-java + --without-lua + --without-csharp + --without-perl + --without-php + --without-python + --without-python3 + --with-ruby + --without-tcl + ) + local -x RUBY="${EPREFIX}/usr/bin/${MULTIBUILD_VARIANT}" + + econf "${myconf[@]}" + } + + if use ruby; then + ruby_foreach_impl run_in_build_dir ruby_configure + fi +} + +src_compile() { + if has_basic_bindings ; then + default + fi + + if use lua; then + lua_foreach_impl run_in_build_dir emake + fi + + if use php; then + php_foreach_impl run_in_build_dir emake + fi + + if use python; then + unset PYTHONDONTWRITEBYTECODE + python_foreach_impl run_in_build_dir emake + fi + + if use ruby; then + ruby_foreach_impl run_in_build_dir emake + fi +} + +src_test() { + if has_basic_bindings ; then + default + fi + + if use lua; then + lua_foreach_impl run_in_build_dir emake check + fi + + if use php; then + php_foreach_impl run_in_build_dir emake check + fi + + if use python; then + python_foreach_impl run_in_build_dir emake check + fi + + if use ruby; then + ruby_foreach_impl run_in_build_dir emake check + fi +} + +src_install() { + if has_basic_bindings ; then + emake DESTDIR="${D}" install + fi + + if use java; then + java-pkg_dojar java/built/xapian.jar + java-pkg_doso java/.libs/libxapian_jni.so + fi + + if use lua; then + lua_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + fi + + if use php; then + php_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + php-ext-source-r3_createinifiles + # php-ext-source-r3_createinifiles() changes current directory. + cd "${S}" + fi + + if use python; then + python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + python_foreach_impl python_optimize + fi + + if use ruby; then + ruby_foreach_impl run_in_build_dir emake DESTDIR="${D}" install + find "${ED}"/usr/share/doc/${PF}/ruby/rdocs/js -name \*.gz -delete || die + fi + + # For some USE combinations this directory is not created + if [[ -d "${ED}/usr/share/doc/xapian-bindings" ]]; then + mv "${ED}/usr/share/doc/xapian-bindings" "${ED}/usr/share/doc/${PF}" || die + fi + + dodoc AUTHORS HACKING NEWS TODO README +} diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index 204880c55259..82b61a229dd9 100644 --- a/dev-libs/xapian/Manifest +++ b/dev-libs/xapian/Manifest @@ -1,3 +1,5 @@ DIST xapian-core-1.4.25.tar.xz 3205904 BLAKE2B 7b03a8fabc3c688f58b3451541dedb664de0a02d7c46a4e8eac080c004232575c00428110eaab0ea463df5c3f43f2b4cebfbe6754f897e55f113683c1db43b2b SHA512 e8069f2cb75554978716a99580fb57fc73bbdd607c82394f53d07205d8c78fb59265004be0c676a6806bb2840a3933499dfc867e36a28855278569a0676d469d +DIST xapian-core-1.4.26.tar.xz 3246304 BLAKE2B f68b25741de821ef6de2ae5127f09f69a68c435dd224b796d92fc18769db3e3307a0a3aadc98cf26adc966eb063fdbd3ee612ec725020cfc79bdfa041675794b SHA512 ecd94d410dc94b6510c6729f276606987f9dd955cfb0520e62d46fa71645f5b140d474cda0d77078e64ee7cf9c0cd00f3aefe0e1b087739582e64bbcb9fabd4b EBUILD xapian-1.4.25.ebuild 1553 BLAKE2B 8d0c0220fee94e6c2407237f2c043c9b413e7d1b0e8d82f20f6aeaba5d1fb6890d14d6d2cc45115a42410544c639860494e18eeadb8b76fc3c89c11813c21d89 SHA512 4b5a979658474fdc6a2b4712a65ae0df9d41894ea1161c7638c03ff858308b22aed64b9c5f2a72031cc9e89d465816b0f8c7b81b0c30ebd23ba1e652320d20db +EBUILD xapian-1.4.26.ebuild 1560 BLAKE2B 222128f8cc9201937117c1df6b805e9e00dd676403509bb6eb6104b83d12b64092d4153ccb36b8f4724019fc20487c8d1c245e3edf9bc5c9b5f6a5461f14d504 SHA512 ede78237f092147fd8676185de39a691130576202e1fb3ac95ed4175ada05bcbd3a88c113428c4001d86a8b0592390169c806d6c86bb1c7975a0bd01e356590c MISC metadata.xml 583 BLAKE2B 171ba94d14d632c0654d7a7035c1a2ea8b02e7c2ed43b37cae25d8af91f90341cb4dc3cc7982b270bde8667f085eef568236a53d34add2127bbdaee668af4dcb SHA512 cc7bfffe1db364b1ddb9859ae27a2775ef57498d8668470c0b719579d5d8656f8eb1b5a0288e938f80b88b42489aa7e3dbea282140b5a7143f8ff106efb60274 diff --git a/dev-libs/xapian/xapian-1.4.26.ebuild b/dev-libs/xapian/xapian-1.4.26.ebuild new file mode 100644 index 000000000000..25f4dd84a037 --- /dev/null +++ b/dev-libs/xapian/xapian-1.4.26.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="${PN}-core-${PV}" +DESCRIPTION="Xapian Probabilistic Information Retrieval library" +HOMEPAGE="https://xapian.org/" +SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0/30" # ABI version of libxapian.so +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 debug static-libs" + +DEPEND=" + sys-libs/zlib:= + !elibc_Darwin? ( !elibc_SunOS? ( sys-apps/util-linux ) ) + elibc_SunOS? ( sys-libs/libuuid ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS HACKING PLATFORMS README NEWS ) + +src_configure() { + tc-export_build_env BUILD_CC + local -x CC_FOR_BUILD="${BUILD_CC}" + + # skip certain autoconf checks + local -x VALGRIND= + local -x EATMYDATA= + + local -a myconf=( + --docdir="${EPREFIX}"/usr/share/doc/${PF}/html + --disable-werror + --enable-backend-chert + --enable-backend-glass + --enable-backend-inmemory + --enable-backend-remote + --program-suffix= + $(use_enable debug assertions) + $(use_enable debug log) + $(use_enable static-libs static) + ) + + if use cpu_flags_x86_sse2; then + myconf+=( --enable-sse=sse2 ) + elif use cpu_flags_x86_sse; then + myconf+=( --enable-sse=sse ) + else + myconf+=( --disable-sse ) + fi + + econf "${myconf[@]}" +} + +src_test() { + emake -Onone check +} + +src_install() { + default + find "${ED}" -name "*.la" -type f -delete || die +} |