diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-15 23:36:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-15 23:36:27 +0000 |
commit | 31c69c39a3648b52dd931a40b198714249e8a5ec (patch) | |
tree | c7bfb4db01cf185b6b8f7bde72d9cc5d14d8db22 /dev-libs | |
parent | dce60e5aa0a12ccc07c10a0a2c3f8f063393b32a (diff) |
gentoo auto-resync : 15:02:2024 - 23:36:26
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97716 -> 97705 bytes | |||
-rw-r--r-- | dev-libs/cxxopts/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/cxxopts/cxxopts-3.2.0.ebuild (renamed from dev-libs/cxxopts/cxxopts-3.1.0.ebuild) | 6 | ||||
-rw-r--r-- | dev-libs/kopeninghours/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/kopeninghours/kopeninghours-23.08.5.ebuild | 64 | ||||
-rw-r--r-- | dev-libs/kosmindoormap/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/kosmindoormap/kosmindoormap-23.08.5.ebuild | 47 | ||||
-rw-r--r-- | dev-libs/kpublictransport/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/kpublictransport/kpublictransport-23.08.5.ebuild | 40 | ||||
-rw-r--r-- | dev-libs/libffi/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.4.5.ebuild | 73 | ||||
-rw-r--r-- | dev-libs/libsodium/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libsodium/files/libsodium-1.0.19-cpuflags.patch | 40 | ||||
-rw-r--r-- | dev-libs/libsodium/libsodium-1.0.19_p20240117.ebuild | 77 | ||||
-rw-r--r-- | dev-libs/mathjax/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/mathjax/mathjax-2.7.7-r1.ebuild | 91 | ||||
-rw-r--r-- | dev-libs/mathjax/mathjax-3.2.2-r2.ebuild | 66 | ||||
-rw-r--r-- | dev-libs/mathjax/metadata.xml | 9 |
18 files changed, 529 insertions, 6 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 14f0533ed27a..8a73ef43ff28 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest index 7db7cf01c4e8..d88e285e746e 100644 --- a/dev-libs/cxxopts/Manifest +++ b/dev-libs/cxxopts/Manifest @@ -1,5 +1,5 @@ DIST cxxopts-3.0.0.tar.gz 97020 BLAKE2B 129b055dd03ce9e4a146d36587063f7155b47456d81e395ae6eeab8012e8d6cfcb410c305353f2ac2ec66a2f3e8d6169e1a0d27c53dcb35388b967d3c9cc86f1 SHA512 239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c -DIST cxxopts-3.1.0.tar.gz 101547 BLAKE2B 0e8d17c2f75fbc3326a67c1787eb80177a72e07e79862288498b4bb97a395269a4b14749db4ea14292b77d6b883f8dc9a33a4001c699e53e51b63c7d14e9ece0 SHA512 bfb593f6393160ae3eeff1fe7bc77394606c3af6ae3b785f9740d178514a8fd286556440aa8a2932633f65b6336695fa286d503f3ac544d0f73affd49051e85d +DIST cxxopts-3.2.0.tar.gz 160534 BLAKE2B b6fead8930e83b4af089631e584bec0777da2e7b58aeb5e44b03a1655795dd3aff3923a245699e936bef7e0e871da2c86dd5639d44a839f1ac305a694e811feb SHA512 7265de66b92591255488d01bc26ca874423c75223e2e157a99f14fdd3e92e8d2669b72732acac3ce835190f1a09c13a994c480f0513f229eba8aa008e3d98955 EBUILD cxxopts-3.0.0.ebuild 798 BLAKE2B 35a8a811ffa693666ff72def3aa0a6aeb2ff92a41385706847ac2bc61cac31c552d93688c792560a7190e14392dd323be32b04f8abb18c07ee61b9590fb49f47 SHA512 c656f4ad9cb800470aec85c170eb57ab1e29aeb67ea3e58b3d15bf1b3a78b83776a78edd9e3f64b1f6df15d3834266ffc5addd39a146b3d136212760cfecd1c6 -EBUILD cxxopts-3.1.0.ebuild 799 BLAKE2B 5cf5c109061296dc0938d48a0a9fe1b3997041ad57d561e3f6676cff1b02bd788ece6fc36921dee1025fa2703865b18e39d7a5dabd64e4e072524e208feead45 SHA512 4c305a717bb3a1ea686a693893d760692800f154744778197be092d3700f2cc9ad67c61209ef016967e022febfaf3691c014fac161493e2a8c38bc5f94a2ef68 +EBUILD cxxopts-3.2.0.ebuild 802 BLAKE2B 6cb5ed41c7354a678baacc7b606f23110d38c45c5f5fdce378969a67bdd37c6392a49310b63440f8716c4670f22d46bb33291d67921cb591a0fe9170bf47910b SHA512 f9d86d1c7a4782d9bec2a9f1f9e3ae05ffbe909c7f211d08546fe216a7f7dcaca9f0f59e8fc698aa7d4d742b08ae02e3c6294ab5512031ff9748f39d75b37378 MISC metadata.xml 250 BLAKE2B 0b272f56e53b7d76c6d5c253fbe5d7c4c9a1d7b58c21e2f59b8323a5f5cd2791c64651fdfa243a8f560ac9c0a0ff38fcffdc24290fa6d18100da0cadffc19845 SHA512 076f0dbffbab6987cfab48a5ff3631789190c570c35515cc77de5757760f19a8ad615f642e7d61b12344ffc77c599e6ff8b79b67329e69929fdd19a7c80723ff diff --git a/dev-libs/cxxopts/cxxopts-3.1.0.ebuild b/dev-libs/cxxopts/cxxopts-3.2.0.ebuild index 697162ee0804..ac666ef57060 100644 --- a/dev-libs/cxxopts/cxxopts-3.1.0.ebuild +++ b/dev-libs/cxxopts/cxxopts-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,9 @@ SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="icu test" -RESTRICT="!test? ( test )" +RESTRICT=" + !test? ( test ) +" DOCS=( README.md diff --git a/dev-libs/kopeninghours/Manifest b/dev-libs/kopeninghours/Manifest index 0dae38a6188a..ec3ba0e0c41d 100644 --- a/dev-libs/kopeninghours/Manifest +++ b/dev-libs/kopeninghours/Manifest @@ -1,4 +1,6 @@ AUX kopeninghours-22.04.0-boostpython.patch 3555 BLAKE2B 1d22b48e5574ffada0b89a0828bf5258321b57161061534939e95256ab3501a887a026231568e09b1d20499238284107c34c6835d33853096be62e1345356cde SHA512 562b30fe66a9e8904e79c95496c4b06e50dbbb8d328db93a655ffa7f8829ff70bc8a6b0ee7beb7840e7046b74d4d858265ec67703c6317c3fe4c87b54b40a349 DIST kopeninghours-23.08.4.tar.xz 72316 BLAKE2B 041df496387bf6e128419decc6529c380c4ddee8bc22f6f052c8e621aac644442f739ecc563ed4e18fadcb05ebbd275f58a13e8418ec6cb4f18b1e260c2bcfd7 SHA512 76b4b46fc9bc0541636bf53aefc85bd24ecdbd243baafafc13da847281293a780410e1000930d805b710b3828234ab35b91369c5b70f86e7bdc21dff7d8c70d7 +DIST kopeninghours-23.08.5.tar.xz 72568 BLAKE2B 84e418d95f4a7261786a101882000bed0ca721931cc419e0330edb0f659e38459063d49c75ca643d169e9326ed66694130cfeebef51183c89e02efd02f6f3133 SHA512 a95cd3c446699d8bd95f2f746cb8b4187c7d2027067e5c731afe371a3313a5569780110e8acbf52d125da673aff4b2567da9f2b8c07a4412cf1d7540baad7a14 EBUILD kopeninghours-23.08.4.ebuild 1286 BLAKE2B 22a394cf34e5a2ac06f7e29e43cb1c02c0343033c23ded8ba182728d82708e8b7b9735470ea2ed4cc6ee8233710e2513892a7c621743224e82bf1b267b0348e5 SHA512 e7d00c08d64bb97193a94ed9ffeac496075c516f47cf6d395ed50bcbae7a5f42ab0515915dc759f15caa3bde0ebc7a339b88478b6891e7c759a699b854665f56 +EBUILD kopeninghours-23.08.5.ebuild 1286 BLAKE2B 042fb48f66466d7194e1e79a4897a8a0f0e52f446156d79398f16ece6d7081d56d6c9b3e5cc55b71abe2da7458adfd06ea690776dfc07de73098cc48657f0aa5 SHA512 eb91c624af5630ecb1c5ef7e3018cf9878255f1af193328706f33ec012b7f0329416b1a8717178b9037f44b8e3724c5bf5eeb162f337d01591f6f9a8fcd1f87a MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-libs/kopeninghours/kopeninghours-23.08.5.ebuild b/dev-libs/kopeninghours/kopeninghours-23.08.5.ebuild new file mode 100644 index 000000000000..0ced49ce9bd3 --- /dev/null +++ b/dev-libs/kopeninghours/kopeninghours-23.08.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_QTHELP="true" +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.106.0 +QTMIN=5.15.9 +PYTHON_COMPAT=( python3_{10..12} ) +inherit ecm gear.kde.org python-single-r1 + +DESCRIPTION="Library for parsing and evaluating OSM opening hours expressions" +HOMEPAGE="https://api.kde.org/kopeninghours/html/index.html +https://invent.kde.org/libraries/kopeninghours" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64" +IUSE="python" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + >=dev-libs/kpublictransport-${PVCUT}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=kde-frameworks/kholidays-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + sys-libs/zlib + python? ( + $(python_gen_cond_dep ' + >=dev-libs/boost-1.70:=[python,${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="${DEPEND} + ${PYTHON_DEPS} + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc +" + +PATCHES=( "${FILESDIR}"/${PN}-22.04.0-boostpython.patch ) + +pkg_setup() { + ecm_pkg_setup + python_setup +} + +src_configure() { + local mycmakeargs=( + -DBOOSTPYTHON_VERSION_MAJOR_MINOR=${EPYTHON} + $(cmake_use_find_package python Boost) + ) + ecm_src_configure +} + +src_install() { + ecm_src_install + python_optimize +} diff --git a/dev-libs/kosmindoormap/Manifest b/dev-libs/kosmindoormap/Manifest index c794b6803085..c98854ae25d8 100644 --- a/dev-libs/kosmindoormap/Manifest +++ b/dev-libs/kosmindoormap/Manifest @@ -1,3 +1,5 @@ DIST kosmindoormap-23.08.4.tar.xz 380016 BLAKE2B d7e6d940ccdac8a17404dc40e5948fed1674d789ba2796e704c71d9b8cae4e79bcc385bd4a245a5b85301f51c37517bc19c17977556e6c4d83bc9f2cd03cc82d SHA512 ea27d24c1623c40b39a8681bc5b119187d463575b3e888aed0c0b2c0549b5997809ebc74e2e08427238586b9f2ee77350d34874862c6084c91245a6040dbfd2a +DIST kosmindoormap-23.08.5.tar.xz 384948 BLAKE2B 0936fe42b0c370dc0c57d475aa771784c75e8350e2d563140c027d047514840f99d6697e36fde027da11e22a92239b6403cf1b18a37aa8e09a3f8814cb6931c8 SHA512 9128cccbd56f51b1e8ad7f7151db0de8952a8348fb74afe3eefeb085979b26d95d1699f260d744c4f3ea5d815109f998829625db480194a8539e782e8c32537c EBUILD kosmindoormap-23.08.4.ebuild 1065 BLAKE2B 09310f13acc035a9a9e6870489ada066ab4e57610f7f7acb13c8b018c262378727e1572292729623e686af31cf84486e98599d0c9bf644aa1387450ecd28ef32 SHA512 934f13e6d15e4a8f18cd897c30598900ef066055d66726fec475b4d35bfe20a179ac5b8303304aee006a59c5dc4eb111f6557947bc0ab558f0b8914ab36c90b3 +EBUILD kosmindoormap-23.08.5.ebuild 1065 BLAKE2B 63fa69636fc24a5f6d9c81fd8751f1932ad96dd88e5b26a77c47d95bda6cd181f25e061ff215b36231979873c580f46e8e4141cf98d17920f52acf2cbc685fa4 SHA512 6932f6c69a5536aca67470eaab9b2a36a274f906a7d5f3934077211696d18d5677185d7308d6c9c893fa549c29e4a56adc3d3e27770ec15ccdfceb16db57ec03 MISC metadata.xml 436 BLAKE2B 7b97cad83675445e816a4f92d2e9c2c4167457df244fd166b6388be7c9336b4852c3873fff4e9d18bf1cccaaeaec849a1b340fa92a15e54180652e53cb023859 SHA512 312c58bb9ef49585287db38ff0f4e6cb6486477f4c84246610c443fb07ced2129017462ef91fab147dde7d69b0923605dc5b68fe71f6cd80f0ed1115b4a9ca6b diff --git a/dev-libs/kosmindoormap/kosmindoormap-23.08.5.ebuild b/dev-libs/kosmindoormap/kosmindoormap-23.08.5.ebuild new file mode 100644 index 000000000000..132e337c3522 --- /dev/null +++ b/dev-libs/kosmindoormap/kosmindoormap-23.08.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="true" +PVCUT=$(ver_cut 1-3) +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm gear.kde.org + +DESCRIPTION="Data Model and Extraction System for Travel Reservation information" +HOMEPAGE="https://invent.kde.org/libraries/kosmindoormap" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64" +IUSE="+openinghours" + +COMMON_DEPEND=" + >=dev-libs/kpublictransport-${PVCUT}:5 + dev-libs/protobuf:= + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + sys-libs/zlib + openinghours? ( >=dev-libs/kopeninghours-${PVCUT}:5 ) +" +DEPEND="${COMMON_DEPEND} + test? ( >=dev-qt/qtwidgets-${QTMIN}:5 ) +" +RDEPEND="${COMMON_DEPEND} + >=dev-qt/qtquickcontrols2-${QTMIN}:5 +" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_OsmTools=ON # we have no use for it + $(cmake_use_find_package openinghours KOpeningHours) + ) + ecm_src_configure +} diff --git a/dev-libs/kpublictransport/Manifest b/dev-libs/kpublictransport/Manifest index 99041325e006..de3f75f24ffc 100644 --- a/dev-libs/kpublictransport/Manifest +++ b/dev-libs/kpublictransport/Manifest @@ -1,3 +1,5 @@ DIST kpublictransport-23.08.4.tar.xz 571292 BLAKE2B 952829fc61b9b52938407e75b80396a3e3669b124883cb7c53b65dbbef69200ef2f5b39b2e4e03620e35dd235cd9ee22f588ecdf272bb9a84400265493515638 SHA512 bea032b8032cd99f8dddbbfb02cd52935062f204bde450b5da70d70dfdf3dab90acbf4148c45a3c9aed02e56e4ebce3811dcda8bd4bd92038896c2f9a8238869 +DIST kpublictransport-23.08.5.tar.xz 572952 BLAKE2B 9628dfba5f73b76594b3bb97b7e4996267f9bb7f9acc024de003e28dd9754bf1c7226eb85aeae27784752356688abe28ec85b93b028c863f2c8edf9d645fd54d SHA512 43c58c14ee5827579ffcf97c42c4ac844f49c05f5e68f441c6d3d2a32bf074de08f7daf14b3ca32b25101215943601204837e5ad4e7841cd9984745769b4008f EBUILD kpublictransport-23.08.4.ebuild 995 BLAKE2B 5d4a4da647522565f2f44de006aef8ac78e442f35d2602b31ca9a09eca2c96fde88d843c0bfade5686007565678669d57bf5a16e222c4882d8593d431b74057c SHA512 44f76486782acdc3b03e1949669da1fce144ba923de7b1dfac07168925c610d7a66a1a31ba983a71656ebc4d5bb8ab734cf59e0e36efbd3b1d87858d82a4642e +EBUILD kpublictransport-23.08.5.ebuild 995 BLAKE2B efa6f1b249d735f724fd8a568d149240f4f62062ae044cb67cb4965c77a1b61ce55efeb5fd39227d5e523230694da0464be5dc0e9738592e0c4134afd7b7e0c6 SHA512 2e9406f3caf422d513bea0992027049c21009c067450bcae58c7e25ac7760c45abe63f1ef2e93689521417e38729cda2d5d36549bc55966f8047d019bb214d0d MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-libs/kpublictransport/kpublictransport-23.08.5.ebuild b/dev-libs/kpublictransport/kpublictransport-23.08.5.ebuild new file mode 100644 index 000000000000..b769c4eea8e6 --- /dev/null +++ b/dev-libs/kpublictransport/kpublictransport-23.08.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_QTHELP="true" +ECM_TEST="true" +KFMIN=5.106.0 +QTMIN=5.15.9 +inherit ecm gear.kde.org + +DESCRIPTION="Library for accessing public transport timetables and other information" +HOMEPAGE="https://invent.kde.org/libraries/kpublictransport + https://www.volkerkrause.eu/2019/03/02/kpublictransport-introduction.html" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64" +IUSE="networkmanager" + +RDEPEND=" + dev-libs/protobuf:= + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5[ssl] + >=kde-frameworks/ki18n-${KFMIN}:5 + sys-libs/zlib + networkmanager? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:5 ) +" +DEPEND="${RDEPEND} + test? ( >=dev-qt/qtwidgets-${QTMIN}:5 ) +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_OsmTools=ON # we have no use for it + $(cmake_use_find_package networkmanager KF5NetworkManagerQt) + ) + ecm_src_configure +} diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest index 441a2f4b78d6..f49b92425ecf 100644 --- a/dev-libs/libffi/Manifest +++ b/dev-libs/libffi/Manifest @@ -5,7 +5,9 @@ AUX libffi-3.4.4-lld-17.patch 828 BLAKE2B 3462bc7db0cf754cb14a9fa0de6377da401c78 AUX libffi-3.4.4-sparc-float-typo.patch 830 BLAKE2B cdec73bd227f0bcfb077ae0383bdea782886015189da8f3ac89d693a94967f1055edaa34462815709327ebc8a2c3d195a89090b3553db0ee7fa03b92c2341043 SHA512 3314e46725276df7fc91032a2446b9a379d54e9eceee0875952424bd6fd8b6e41a5103bcb990865b18f59ab3264db3bd106474b27a24b3e00196e9257f111022 AUX libffi-3.4.4-trampoline-c99.patch 1174 BLAKE2B da7990d940b5b0e6944c5b87d599c4955b75224c4f679477fd89cafdfa2ec7cab175986b25db08f0674c56f012456a20bcfce4cdabca1feb224ebd6ebf741e40 SHA512 5ba4e178d4d15a6149bd0bfa44542329812a8c98bae6350b0d2c760c5d4c376cb789c1f313bc6004f458578b18718f23f35c900fb14e5e697b43a2ebd02d7e57 DIST libffi-3.4.4.tar.gz 1362394 BLAKE2B 189fe1ffe9507f204581b0ab09995dc7e7b761bb4eac7e338e9f5ff81431aebcef6c182c1839c9f9acb2706697a260c67e6d1351cf7e2aed7c4eb5d694f6f8fd SHA512 88680aeb0fa0dc0319e5cd2ba45b4b5a340bc9b4bcf20b1e0613b39cd898f177a3863aa94034d8e23a7f6f44d858a53dcd36d1bb8dee13b751ef814224061889 +DIST libffi-3.4.5.tar.gz 1391548 BLAKE2B 6da78473741ef3861c548e0f99b98f0b05381a02eb3016875881c8fcc3a7e518c2589a541180b2defcf9f2efda23b07a6196e1efeaedfaa4f2dfff25a1e9905b SHA512 4834735e533be450c541a75555252759c8e00694539d040f248a85dbbf58329938db6ae3e2ce74c3e4e3c82e97eccedee1ea0caff1afd8dacd8976a1aa08702a EBUILD libffi-3.4.4-r2.ebuild 2434 BLAKE2B b4e7209406b797ccd41f7fab8ca7c3d4eb2453b2b35fb4a66076fdefa16a346bb6d9fba77fe27dbfa1b9b93a557c3abb7eae03992560477ff2ebd309715c8eec SHA512 de765af9a7397af03a32639dcf016da774308db2cc7e321b366dff6a162a633d2f5c57cfdbf6e8eb9e6c3deefe195de08f4ffe1c4366c93397989840107f9d0d EBUILD libffi-3.4.4-r3.ebuild 2505 BLAKE2B f19bc8a8647c27b43adcac916b0f3777ba09cdd08375eb5625ab5754fb691f56f05d49cf2dbad764bcb99cee93088c4ceaf8c0cd30e4e0565b7aa8382098a607 SHA512 0d7b3114383901960e8bf5b054bab7631910933e51f0faa0de41ba7e9ccba2c8f714770cdf744b65c7f1aa517469a42ecb48ffc91c517b38a568b00d3b2ffcd4 EBUILD libffi-3.4.4-r4.ebuild 2554 BLAKE2B 08e2c1f2860a9447e34ba67e7d19b95b2ca65ccf33dda9b1686d45d4e71321f4b2f78cb00f06539eefc292019c17bd570f2238bd263945c7901a57ff1c8cb9ad SHA512 65cf061acbe26d6c44cb69bf01c86d78cfe2674b03154c736c7b2cfb15a6bedf4037582372adcec0c3ce2fa41d35d9a75a5b9e02337243df5ce8cf8024a33e32 +EBUILD libffi-3.4.5.ebuild 2284 BLAKE2B 6bbe0dff74bb200acc138490e997874bbc04d51ef94f07f62d9b70989e56af36c159488fc4dabce93a7b807dd588184c64099e2ebc460eb6c0f548812cb3a613 SHA512 35db3a0397c54acc79e657991144cbfc19e39dd4deba63cecec3eaf256a315b3b599aa28c8c6929a6b1841124d28323402b352937f7df8a4109fa16f47e960bc MISC metadata.xml 2110 BLAKE2B 2653be2cf09c047e45e489d7265d00165ddab2f94744988e4e8bca449bd1e40eeab74cb0b8d7d47a2d8b73563869460fcccb06e1fbccad697a9f213be362cb03 SHA512 e1a280792b929d38451fea1eb360053ed3a452592094f3e327ce4a4ff7eb8e0119435e8ee98f215585d8d98440512b5b68f92d1cd472a3bfd12e2f382e1981a1 diff --git a/dev-libs/libffi/libffi-3.4.5.ebuild b/dev-libs/libffi/libffi-3.4.5.ebuild new file mode 100644 index 000000000000..999a90fa9eaa --- /dev/null +++ b/dev-libs/libffi/libffi-3.4.5.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal preserve-libs + +MY_PV=${PV/_rc/-rc} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Portable, high level programming interface to various calling conventions" +HOMEPAGE="https://sourceware.org/libffi/" +SRC_URI="https://github.com/libffi/libffi/releases/download/v${MY_PV}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +# This is a core package which is depended on by e.g. Python. +# Please use preserve-libs.eclass in pkg_{pre,post}inst to cover users +# with FEATURES="-preserved-libs" or another package manager if SONAME changes. +SLOT="0/8" # SONAME=libffi.so.8 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="debug exec-static-trampoline pax-kernel static-libs test" + +RESTRICT="!test? ( test )" +BDEPEND="test? ( dev-util/dejagnu )" + +src_prepare() { + default + + if [[ ${CHOST} == arm64-*-darwin* ]] ; then + # ensure we use aarch64 asm, not x86 on arm64 + sed -i -e 's/aarch64\*-\*-\*/arm64*-*-*|&/' \ + configure configure.host || die + fi +} + +multilib_src_configure() { + # --includedir= path maintains a few properties: + # 1. have stable name across libffi versions: some packages like + # dev-lang/ghc or kde-frameworks/networkmanager-qt embed + # ${includedir} at build-time. Don't require those to be + # rebuilt unless SONAME changes. bug #695788 + # + # We use /usr/.../${PN} (instead of former /usr/.../${P}). + # + # 2. have ${ABI}-specific location as ffi.h is target-dependent. + # + # We use /usr/$(get_libdir)/... to have ABI identifier. + ECONF_SOURCE="${S}" econf \ + --includedir="${EPREFIX}"/usr/$(get_libdir)/${PN}/include \ + --disable-multi-os-directory \ + $(use_enable static-libs static) \ + $(use_enable exec-static-trampoline exec-static-tramp) \ + $(use_enable pax-kernel pax_emutramp) \ + $(use_enable debug) +} + +multilib_src_test() { + emake -Onone check +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name "*.la" -delete || die +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libffi.so.7 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libffi.so.7 +} diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest index 68aeb20d2c20..8c9d8cd0af95 100644 --- a/dev-libs/libsodium/Manifest +++ b/dev-libs/libsodium/Manifest @@ -1,9 +1,13 @@ AUX libsodium-1.0.10-cpuflags.patch 1232 BLAKE2B 07d8d993af926db81135b6366fc2219b52c82d3e04abe7208bddcc62b4ec9db5dc9480f7c3c40b6d750a4d5465942b49e4d3840189bf92586a93d99f7510e254 SHA512 0559e5073c3238d887fc34a9f9cd78bde6d628e36c8741ff8bdd0e7db5bca4f510e3b0e2b858c0ecb83433b3cb74ad1c957c61d68ae406843f42139af8b382fd +AUX libsodium-1.0.19-cpuflags.patch 1448 BLAKE2B 36a54f26c3e8522109e39e08908291d461de8fe25c554c34d87b0487f07f25cb74f1ef93d567da0cc5695868c1bb83ee073f28956292aa467ce95d48bb5fde02 SHA512 8fcf8b59ca151eb8604ae4ea5ab55f9005a125eb4eb7e0493e01862ddbcbfc2eb3a17e4d4c043a311af84b90717bd979019d380de045bf7829a92f94d7b63f95 DIST libsodium-1.0.18_p20220618.tar.gz 1869858 BLAKE2B 60d46f722c4e5c9896226e3e03c31768a2183bae80a535234b23ac5bc9a2c3632d6c891ce72cbc1d6dc633a15b539111e322c2d210f993f99d6e5bd32f8a8b63 SHA512 14d1c6109de2ac02ba6cb5541746275f6deb25302b60cb3f65a7922b34d2c3bd5f17a4d730acf77a53d5837be00228c68fa06c6a2e9095ea97f6d8c4b782ab6b DIST libsodium-1.0.18_p20220618.tar.gz.minisig 318 BLAKE2B a2cba3c62ca5a84e7897373cdfe4033c636c652c848bf9beff15765d359f1dd2a8834dc3a4d4443d0b9418a59a94309cf9c5c917ae9c8965778411e21f98e4e6 SHA512 ca1ac892b41c5cb6dd1ba9d4bbde8e75987e66023d29cfc81839bbb3b99efa215f7db1ef903c375dd9d2d5a76f6064b3c7eab833081d21983693b7db87175160 DIST libsodium-1.0.19.tar.gz 1945523 BLAKE2B de43520150b55760142d186404cc3e49471c6e911a7a590c7ae08bc61e928c063c459555f49cd88155238fb0008ef3924b6d7c14ba9cff2f90f1e96201e1259c SHA512 8e9b6d796f6330e00921ce37f1b43545966094250938626ae227deef5fd1279f2fc18b5cd55e23484732a27df4d919cf0d2f07b9c2f1aa0c0ef689e668b0d439 DIST libsodium-1.0.19.tar.gz.minisig 318 BLAKE2B e86e653107478d9e9281894632baafda57358229f2d56fcaf55591098e38d6be72ed2f599a7f2c16d5b9978d2cbfe8e07db4e772b053a832a61fd325fc1efae4 SHA512 8b5993bd7e541a5913ea1659c1009c4edefd9b5907e0a7c9090fa604c23d77006ad9d9a897d66243162742d63ce9bc1f2c81091d50a584f1495dd3bd87d4451e +DIST libsodium-1.0.19_p20240117.tar.gz 1946650 BLAKE2B 6faa56733ed28f34d58b41a71a41d6ba6369e2f5686e01169f83d5fe955523825bd250cfd59e15515b24f67cef1610af41749b6f56bc370e7f77708a86bd7684 SHA512 2cefd883b60fba5522bf4a6f3c73f9bc54164340400377089eea8fbb01447f1137fcb7f6183845a6c5e2aad51982122a356272b4eda5452d7b550a65aa576140 +DIST libsodium-1.0.19_p20240117.tar.gz.minisig 318 BLAKE2B f951b547f53b2569ed1493dcdbff1cc93519437f56cdf97a764d61a7e1fa98b383b49d4f4a9c4b7b199e2060037971f293796e641bd689c9cd6c7ae2c90b7a20 SHA512 202f9686fabcb7b362923b7f1eeac8544c5f21e7eaa0b4cdd7329733a62a5ec9efd18713bc63187055149525a066540a6904776870d718fd3b238b71ba4b9a35 EBUILD libsodium-1.0.18_p20220618.ebuild 1998 BLAKE2B c0971b1d0f9e13ee2365093c311cd6a7186de26a557461b66111a8e9f75691e8ce4318a285074cd873d3e122b15be2f646bd341b261220f94e0fe170ddc21b0b SHA512 1c0e04a0540c2bb0fc9e6f141c370c28a5c20e086f32cf5548cb6d73937ab2bcc4305d973d248b476a4c932b8450f4462e25185c1f82cefa6aff091abd538221 EBUILD libsodium-1.0.19-r1.ebuild 1998 BLAKE2B 50b3fc86c63c7721fd3a3d3bda38648fed17127558c34b6e08e3e025fb47550748aaffe614d8393833c6cc4d433079b854411ae0000029fb79fdeb2876744071 SHA512 165a6d4bfba97d9049af1f9a06160a7d92aec6bc7d23205d2ab1c860a17b3310d305cf8bc16919935503a4ee67ba3cffe347c374b0c1f842909a3b50826100a2 EBUILD libsodium-1.0.19-r2.ebuild 1974 BLAKE2B 3814694f707d21f0fbc970b3fd2ac11e69ef4297571adcb7405210ca96a7ec73e37de64a12a761c17d8b17cb1adc6b18bfe0beb6e3c12c9fb7ca1cdf7938ce45 SHA512 2564b9ed2ab21e30b82439bea675960371e269a5148644bf8bc6da9735aca9376f34dcfcaf48ba6aee871d38d96df76e94e685a795f26b6e4c8f0ef301128813 +EBUILD libsodium-1.0.19_p20240117.ebuild 2053 BLAKE2B 044f5f9f1b000452254cc6c47e0ddb765b5c7373c2dbc36d7ce233c904db618071748c5486238e28f9b6edda51f33415e03d7e903c4815703fd9c212e93a31c8 SHA512 ee3f730a2875ef9e7054832f774bf55b972873111c6e18a0c995f39063074ce7b0b686ce5104e6a84fc76999726136ef0e454a6405e2fee8762efc33e4e2632c MISC metadata.xml 806 BLAKE2B 069f36bae588b263d664f00b50c9a0f4c2348b1a1f0ff2e5c5902217ccf14a81e648997fae2f789220d5b9fa5aef440a7c0526918a7d7f402870dd80067e3744 SHA512 1902268ec9dbb312b9740f9bc9b2df5e66f50dc066ba281b438fbf6d2b5317c589c587305c400c929c068af95c30918fde7a6324ab53b76503ef183aab034886 diff --git a/dev-libs/libsodium/files/libsodium-1.0.19-cpuflags.patch b/dev-libs/libsodium/files/libsodium-1.0.19-cpuflags.patch new file mode 100644 index 000000000000..a2fa6a42df38 --- /dev/null +++ b/dev-libs/libsodium/files/libsodium-1.0.19-cpuflags.patch @@ -0,0 +1,40 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -524,6 +524,10 @@ AS_IF([test "x$EMSCRIPTEN" = "x"], [ + [AC_MSG_RESULT(no)]) + CFLAGS="$oldcflags" + ++AC_ARG_ENABLE(sse4_1, [AS_HELP_STRING(--disable-sse4_1,Do not use sse4.1 code)], ++ AS_IF([test "x$enableval" = "xyes"], check_sse4_1="yes", check_sse4_1="no"), ++ check_sse4_1="yes") ++AS_IF([test "$check_sse4_1" = "yes"],[ + oldcflags="$CFLAGS" + AX_CHECK_COMPILE_FLAG([-msse4.1], [CFLAGS="$CFLAGS -msse4.1"]) + AC_MSG_CHECKING(for SSE4.1 instructions set) +@@ -536,6 +540,7 @@ AS_IF([test "x$EMSCRIPTEN" = "x"], [ + AX_CHECK_COMPILE_FLAG([-msse4.1], [CFLAGS_SSE41="-msse4.1"])], + [AC_MSG_RESULT(no)]) + CFLAGS="$oldcflags" ++ ]) + + oldcflags="$CFLAGS" + AX_CHECK_COMPILE_FLAG([-mavx], [CFLAGS="$CFLAGS -mavx"]) +@@ -609,6 +614,10 @@ __m512i y = _mm512_permutexvar_epi64(_mm512_setr_epi64(0, 1, 4, 5, 2, 3, 6, 7), + ]) + CFLAGS="$oldcflags" + ++AC_ARG_ENABLE(aesni, [AS_HELP_STRING(--disable-aesni,Do not use aesni code)], ++ AS_IF([test "x$enableval" = "xyes"], check_aesni="yes", check_aesni="no"), ++ check_aesni="yes") ++AS_IF([test "$check_aesni" = "yes"],[ + oldcflags="$CFLAGS" + AX_CHECK_COMPILE_FLAG([-maes], [CFLAGS="$CFLAGS -maes"]) + AX_CHECK_COMPILE_FLAG([-mpclmul], [CFLAGS="$CFLAGS -mpclmul"]) +@@ -640,6 +649,7 @@ __m512i y = _mm512_permutexvar_epi64(_mm512_setr_epi64(0, 1, 4, 5, 2, 3, 6, 7), + ], + [AC_MSG_RESULT(no)]) + CFLAGS="$oldcflags" ++ ]) + + ]) + diff --git a/dev-libs/libsodium/libsodium-1.0.19_p20240117.ebuild b/dev-libs/libsodium/libsodium-1.0.19_p20240117.ebuild new file mode 100644 index 000000000000..bb62d58a0e8c --- /dev/null +++ b/dev-libs/libsodium/libsodium-1.0.19_p20240117.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libsodium.minisig +VERIFY_SIG_METHOD=minisig +inherit autotools multilib-minimal verify-sig + +DESCRIPTION="Portable fork of NaCl, a higher-level cryptographic library" +HOMEPAGE="https://libsodium.org" + +if [[ ${PV} == *_p* ]] ; then + MY_P=${PN}-$(ver_cut 1-3)-stable-$(ver_cut 5-) + + # We use _pN to represent 'stable releases' + # These are backports from upstream to the last release branch + # See https://download.libsodium.org/libsodium/releases/README.html + SRC_URI=" + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.tar.gz -> ${P}.tar.gz + verify-sig? ( https://dev.gentoo.org/~sam/distfiles/dev-libs/libsodium/${MY_P}.tar.gz.minisig -> ${P}.tar.gz.minisig ) + " +else + SRC_URI=" + https://download.libsodium.org/${PN}/releases/${P}.tar.gz + verify-sig? ( https://download.libsodium.org/${PN}/releases/${P}.tar.gz.minisig ) + " +fi + +S="${WORKDIR}"/${PN}-stable + +LICENSE="ISC" +SLOT="0/26" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +IUSE="+asm static-libs +urandom" + +CPU_USE=( cpu_flags_x86_{aes,sse4_1} ) +IUSE+=" ${CPU_USE[@]}" + +BDEPEND=" verify-sig? ( sec-keys/minisig-keys-libsodium )" + +QA_CONFIG_IMPL_DECL_SKIP=( + _rdrand64_step # depends on target, bug #924154 +) + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.19-cpuflags.patch +) + +src_prepare() { + default + + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable asm) + $(use_enable cpu_flags_x86_aes aesni) + $(use_enable cpu_flags_x86_sse4_1 sse4_1) + $(use_enable static-libs static) + $(use_enable !urandom blocking-random) + ) + + # --disable-pie is needed on x86, see bug #512734 + # TODO: Check if still needed? + if [[ ${ABI} == x86 ]] ; then + myeconfargs+=( --disable-pie ) + fi + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + default + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/dev-libs/mathjax/Manifest b/dev-libs/mathjax/Manifest index 0edea8998056..658e1daa513d 100644 --- a/dev-libs/mathjax/Manifest +++ b/dev-libs/mathjax/Manifest @@ -1,5 +1,9 @@ DIST mathjax-2.7.7.tar.gz 25347766 BLAKE2B c1f11bc854c95888d7f04ee627094a2e297e7554b0380dab30c08e2c4405495df611b440da0efd1e6456150513e07fa4ef90808d2332f9fb83785c118228de18 SHA512 471bd22475827a13d79de7d335f3e51ace06dfc04f575e8829b4505f428949f1dbe58798635cb434ed02ae0cd3fd8d1d577196b4961365fbcb399cc075d3284f DIST mathjax-3.2.2.tar.gz 6191341 BLAKE2B 4884ad28ede1d3d6f6647e04c8a69185a53715db673d42935ea9ff3ea1756e0e478b1f19345a35902d2e5c01a312272a2fe96dd36871cd8c4f266bcf4fb56c72 SHA512 4dc80c9e24593c1fcf08f38bad5251025f1de364d5cf24dd2f4cee0d78917dd11187f6132b67a17ff190d0a1862b83eb6c6edf28f91e8e84e50cdf76537f6b20 +DIST mathjax-docs-2.7.7.tar.gz 233452 BLAKE2B 280db6c794471d369a17161ad859dc73ddf1494af35114b69356aae41ea52d771f92b0b85ba82df8ed542039af152938f5fda71d752da4410ab183fe6a24ab81 SHA512 25fa97294ae153298d45b449d995c0402c481c6425ea4ebb38dcc509df741aed02d5469a520c8b793b8135b4140a6d1ad6688a42e3cb26004cfd7fcb838c32e6 +DIST mathjax-docs-3.2.2.tar.gz 227724 BLAKE2B 1b2d25073e4f141f5c832f1139e6bcfbdb15c039b820f3662d6fb261faebedac8ea72fb324d76389c35cd28cd41556689501d8795d7a426d735d4eaf88eb61ee SHA512 94167e58deb4f899d5c49a6b1efec24f57fff7aa497a019e9f775e251927c698b7c5598b88087c2964b8cb7238b73152dea01e091b8afaeab8979b396270d429 +EBUILD mathjax-2.7.7-r1.ebuild 2033 BLAKE2B 03ad24e5f70c75c576a2d3694e99af47a3eb387ed99127c70206e4e7ffd103fcfd2cbf01140c75534d46f15b8e9511735a3fbf2cf0a5ede630c4120515b8448b SHA512 f71fb586453d1020bea348df16f36fe288de4381c0aa861084d3a5cf192a779ddb53a90217f2425dededdc6c6c3061f19d8809dad3db5b45d849628c51277137 EBUILD mathjax-2.7.7.ebuild 1405 BLAKE2B b1b6a47d751d07cd35c8cc9386e3c67c78cf70ff8f7b8406aeb06a46359128d306e7f18ca08fa5ef24d96d767c7d44e60212a9ea2bf4f9c51d6eea2a760fbd6e SHA512 d8b70496fcf5a8ea511174c0b2a47411b263e8a0d4e95f796f73e3f839beb1ba1b10ebbf75a0677c28cb6c13ea60593db1f07f66f9fdc9da2910420c486ab1da EBUILD mathjax-3.2.2-r1.ebuild 1271 BLAKE2B dea7c302234bd829f5b1e0d65519e88d2e628d1dd84cc2f93a39cd0eb5d16f3ee571eee86df28f275bb1a802c0560b1cc0305d751eed46b6a5de86bc4c7c51c2 SHA512 0a143af5a9da849d2cf6f3c9391ac09e6d54cfa0f6c793a9fbc3b4f09312e97233f15e1dd07aeca0b7afedf9efd55e7cade83c6d1d0b802c5ff3875601b08e8e -MISC metadata.xml 1001 BLAKE2B 51d7df10c918688fb90437c278481c33114c0986a3afe3c3934e4ea1a73076056ffb1812c8bb039474b799fc89408b088090cadc16051df447ff2af46479b860 SHA512 788f402d6a3ec7578c2d4137de3ec6914b111d5eaa1885492802889f76f212771df056950662289e3cdc99c120a4a9276c9479b98322fe53a733b19bc310c37a +EBUILD mathjax-3.2.2-r2.ebuild 1795 BLAKE2B bccccb94ca7057e71574e5324a1e197cb9b433f69cbba85098acd237b3af7a0337cbd12203533e9f7c0ebff17b31a819387742c93b861a3613b1442b44e5e193 SHA512 36e02e70a03bfd35c4d70f9b25caf3e0442bbd108b994c07dde2edaac9ee65788c39f3e2532c6632fa28af3ec7af2ae004f3a85f78673637caba637cd9665477 +MISC metadata.xml 1241 BLAKE2B 19291ba751c642a7d9043974dc0fd212bd33dde4673f9add753d421dfc5f035b2e94af9fdc1052e235f7b43a18b8dcc70defb34915423e89338440475b1bfdd6 SHA512 3c2f52648b99a4262520733961d784595fbef8ffe8eef7ec24d82fbbbf4afd74239d6ae91889690eb10748a59ca2b28cdcdc05ce4589ee852a22c4bb2a0a13a5 diff --git a/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild b/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild new file mode 100644 index 000000000000..9fea30af9a03 --- /dev/null +++ b/dev-libs/mathjax/mathjax-2.7.7-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{10..11} pypy3 ) +inherit python-any-r1 + +DOCS_COMMIT="9d711f40638202b02f2154d7f05ea35088ff9388" + +DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" +HOMEPAGE="https://www.mathjax.org/" +SRC_URI=" + https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://github.com/mathjax/MathJax-docs/archive/${DOCS_COMMIT}.tar.gz -> ${PN}-docs-${PV}.tar.gz ) +" +S="${WORKDIR}"/MathJax-${PV} +DOCS_S="${WORKDIR}/MathJax-docs-${DOCS_COMMIT}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc examples" + +BDEPEND=" + doc? ( + $(python_gen_any_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="!app-doc/mathjax-docs" + +RESTRICT="binchecks strip" + +make_webconf() { + # web server config file - should we really do this? + cat > $1 <<-EOF + Alias /MathJax/ ${EPREFIX}${webinstalldir}/ + Alias /mathjax/ ${EPREFIX}${webinstalldir}/ + + <Directory ${EPREFIX}${webinstalldir}> + Options None + AllowOverride None + Order allow,deny + Allow from all + </Directory> + EOF +} + +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +pkg_setup() { + if use doc; then + python-any-r1_pkg_setup + fi +} + +src_prepare() { + default + sed -e 's/add_stylesheet/add_css_file/' -i "${DOCS_S}"/conf.py || die +} + +src_compile() { + if use doc; then + build_sphinx "${DOCS_S}" + fi +} + +src_install() { + local DOCS=( README.md ) + + default + if use examples; then + insinto /usr/share/${PN}/examples + doins -r test/* + fi + rm -r test docs LICENSE README.md || die + + webinstalldir=/usr/share/${PN} + insinto ${webinstalldir} + doins -r * + + make_webconf MathJax.conf + insinto /etc/httpd/conf.d + doins MathJax.conf +} diff --git a/dev-libs/mathjax/mathjax-3.2.2-r2.ebuild b/dev-libs/mathjax/mathjax-3.2.2-r2.ebuild new file mode 100644 index 000000000000..ad981a31d0ba --- /dev/null +++ b/dev-libs/mathjax/mathjax-3.2.2-r2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} pypy3 ) +inherit python-any-r1 + +# MathJax-docs doesn't have releases, so this is the commit that was +# current when mathjax-${PV} was released. +DOCS_COMMIT="c4a733d6d0ced4242a4df1c46137d4be6b3aaaee" + +DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" +HOMEPAGE="https://www.mathjax.org/" +SRC_URI=" + https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://github.com/mathjax/MathJax-docs/archive/${DOCS_COMMIT}.tar.gz -> ${PN}-docs-${PV}.tar.gz ) +" +S="${WORKDIR}/MathJax-${PV}" +DOCS_S="${WORKDIR}/MathJax-docs-${DOCS_COMMIT}" + +LICENSE="Apache-2.0" +# Some applications need to know which mathjax version they built against. +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="doc" + +BDEPEND=" + doc? ( + $(python_gen_any_dep ' + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ') + ) +" +RDEPEND="!app-doc/mathjax-docs" + +python_check_deps() { + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && + python_has_version "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" +} + +pkg_setup() { + if use doc; then + python-any-r1_pkg_setup + fi +} + +src_compile() { + if use doc; then + build_sphinx "${DOCS_S}" + fi +} + +src_install() { + local DOCS=( CONTRIBUTING.md README.md ) + default + + insinto "/usr/share/${PN}" + + # Start the install beneath the "es5" directory for compatibility with + # Arch, Solus, and Void Linux, but leave a fake "es5" symlink for + # packages (like doxygen) that expect it. + doins -r es5/* + dosym -r "/usr/share/${PN}" "/usr/share/${PN}/es5" +} diff --git a/dev-libs/mathjax/metadata.xml b/dev-libs/mathjax/metadata.xml index 48d9a35b1bf9..de8e9f370f4b 100644 --- a/dev-libs/mathjax/metadata.xml +++ b/dev-libs/mathjax/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person" proxied="yes"> + <email>eschwartz93@gmail.com</email> + <name>Eli Schwartz</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <stabilize-allarches/> <longdescription lang="en"> MathJax is an open-source JavaScript display engine for LaTeX and |