diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-01 23:41:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-01 23:41:30 +0000 |
commit | 1331637681273dc8391d7a7caa6175405dceb735 (patch) | |
tree | 57acd1953dffe9d8e88a0735a76115e20fa09d26 /dev-ada | |
parent | 5d5b0e27ed33330cca5636eb792368fbbf46774c (diff) |
gentoo auto-resync : 01:03:2024 - 23:41:29
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/Manifest.gz | bin | 4553 -> 4548 bytes | |||
-rw-r--r-- | dev-ada/aunit/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/aunit/aunit-24.0.0-r1.ebuild (renamed from dev-ada/aunit/aunit-24.0.0.ebuild) | 17 | ||||
-rw-r--r-- | dev-ada/aunit/files/aunit-24.0.0-gentoo.patch | 35 | ||||
-rw-r--r-- | dev-ada/gnatcoll-core/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/gnatcoll-core/files/gnatcoll-core-24.0.0-gentoo.patch | 15 | ||||
-rw-r--r-- | dev-ada/gnatcoll-core/gnatcoll-core-24.0.0.ebuild | 83 | ||||
-rw-r--r-- | dev-ada/gprbuild/Manifest | 4 | ||||
-rw-r--r-- | dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild | 3 | ||||
-rw-r--r-- | dev-ada/gprbuild/gprbuild-24.0.0-r1.ebuild (renamed from dev-ada/gprbuild/gprbuild-24.0.0.ebuild) | 16 | ||||
-rw-r--r-- | dev-ada/xmlada/Manifest | 3 | ||||
-rw-r--r-- | dev-ada/xmlada/files/xmlada-24.0.0-gentoo.patch | 24 | ||||
-rw-r--r-- | dev-ada/xmlada/xmlada-24.0.0-r1.ebuild (renamed from dev-ada/xmlada/xmlada-24.0.0.ebuild) | 35 |
13 files changed, 220 insertions, 21 deletions
diff --git a/dev-ada/Manifest.gz b/dev-ada/Manifest.gz Binary files differindex b6f7d0a41f69..21e6c1112128 100644 --- a/dev-ada/Manifest.gz +++ b/dev-ada/Manifest.gz diff --git a/dev-ada/aunit/Manifest b/dev-ada/aunit/Manifest index 81f34eb81569..da3a343486d9 100644 --- a/dev-ada/aunit/Manifest +++ b/dev-ada/aunit/Manifest @@ -1,5 +1,6 @@ +AUX aunit-24.0.0-gentoo.patch 1347 BLAKE2B a11543913de0b0f698814ae2d3897beacf54c8dc87c643b2064bf8511343fd32c1054e6f3060c232c80bc92cf9584ba324b4e8556d0bac4f5e0438e131211a7c SHA512 8382f2497984977d0344beccf77782fb34313a532bd9148ca10f32464dfe9e3292c52a9dfc96f2ccbb77348100685cb62bcda475e610edeb86b4cc30049cdfcf DIST aunit-23.0.0.tar.gz 131699 BLAKE2B 04ff77214ab6f4f5d59ea0609fffbc6fcfb4695d2fbbed45efa14e2b745c33868e1c134e5d00a7c3d8f11b1a8d15c6212110c78a53df4230b5862fb9b912a434 SHA512 450caa79e4808188107cd065665ca9cab599934e3934d18406b08d3ccebe26c1e95cd0c712ea3403d6082c7c5e8fd9ecf09ae3b63d231b80ad575048b3d61943 DIST aunit-24.0.0.tar.gz 131699 BLAKE2B e43e7a94b278597475767d93f28a95a586abeaf45d141ea7035df9cb45d1be67c189a5be3d0364943b4649270f8f96d7cfd20fcba7a28917b14266c9e9424815 SHA512 25b973d1eb35e9e15ed24abe9c4ad7165d684c0e72abe619dcb9bec04cef8b28c78c1994e96e4bc29fd3b06567e15360f47ac87f49e1fa9888f55675defc226f EBUILD aunit-23.0.0-r1.ebuild 918 BLAKE2B 87b83757ebdd9b4b48507eae4d97005784be280dfacc48c3735531197691589945531871e98b4583a94a2efb1c294584a28a538a6a0f6d93fc80ee781ae61224 SHA512 7f78e9c734d80f15274a2d224bb23a343fe653dcd9ae3fab104747b9004dfe0a703b963d9cb10bf8ea2d27d49857f94317ecf2e85e6559cdd82d6865da6bb81f -EBUILD aunit-24.0.0.ebuild 920 BLAKE2B 7631d53c2f50211fc359c615686144289c69a3e714c05d85713d9ac4c8a6237382cdc096a28721a4702d3d1dc984fa3f588b3d673212c84c972371c311c3371a SHA512 bf8751678099c5de0e23fe0964f41e7f6fe0054ac5397824a38b0d3d04dd3028448fade702f99cecc1d8e89bf1eeb9a1459580b0fb6f237ff3cdf6345eaa7145 +EBUILD aunit-24.0.0-r1.ebuild 1020 BLAKE2B 0528b01cf1a1fa44d15c76d7dca9f52a7d86af62770e6342361385fc920688a1c5c51f8104a0e9dda7ed64de2106ab66f242e9e17aef7ab79b45cf21610e82b4 SHA512 41c6d3559142194bd340b7932961d5a6138965c196b20d5fe59a0a8b3ffa317f525cee44c8707e3e3f01caf72326c657850461666425edc53a1c5caa9632b80a MISC metadata.xml 843 BLAKE2B 3f8a899e8d22a411596aae79b739e3cf47b7b867bedede255761146d65e70adfd810544528018212b8a3f36a59f2d886682146a6370ab33c976f676d331b9390 SHA512 2ae746ded1a937362aad360ccd273143b495e43e71aeffb23dbcc71f93154bcc2fce6fcf6fa99d2a7ab1140ffb52ece0b08d1a010a627c0d10ee80e7984fdc92 diff --git a/dev-ada/aunit/aunit-24.0.0.ebuild b/dev-ada/aunit/aunit-24.0.0-r1.ebuild index c31c1793e16c..09130deee820 100644 --- a/dev-ada/aunit/aunit-24.0.0.ebuild +++ b/dev-ada/aunit/aunit-24.0.0-r1.ebuild @@ -14,6 +14,7 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="doc" RDEPEND="${ADA_DEPS}" DEPEND="${RDEPEND} @@ -21,15 +22,27 @@ DEPEND="${RDEPEND} REQUIRED_USE="${ADA_REQUIRED_USE}" +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_prepare() { + default + sed -i \ + -e "s|@PF@|${PF}|g" \ + lib/gnat/aunit.gpr \ + || die +} + src_compile() { emake GPROPTS_EXTRA="-j$(makeopts_jobs) -v -cargs ${ADAFLAGS}" + if use doc; then + emake -C doc html-all + emake -C doc txt-all + fi } src_install() { emake INSTALL="${D}"/usr install einstalldocs - mv "${D}"/usr/share/examples/${PN} "${D}"/usr/share/doc/${PF}/examples || die - rmdir "${D}"/usr/share/examples || die rm -r "${D}"/usr/share/gpr/manifests || die } diff --git a/dev-ada/aunit/files/aunit-24.0.0-gentoo.patch b/dev-ada/aunit/files/aunit-24.0.0-gentoo.patch new file mode 100644 index 000000000000..934e49b6153c --- /dev/null +++ b/dev-ada/aunit/files/aunit-24.0.0-gentoo.patch @@ -0,0 +1,35 @@ +--- a/lib/gnat/aunit.gpr 2022-12-19 22:08:42.000000000 +0100 ++++ b/lib/gnat/aunit.gpr 2024-03-01 22:32:34.298510972 +0100 +@@ -50,16 +50,16 @@ + + package Install is + for Artifacts ("share/doc/aunit/pdf") +- use ("../../doc/pdf/**"); +- for Artifacts ("share/doc/aunit/txt") +- use ("../../doc/txt/**"); ++ use ("../../doc/build/aunit_cb/pdf/**"); ++ for Artifacts ("share/doc/@PF@") ++ use ("../../doc/build/aunit_cb/txt/**"); + for Artifacts ("share/doc/aunit/info") +- use ("../../doc/info/**"); +- for Artifacts ("share/doc/aunit/html") +- use ("../../doc/html/**"); ++ use ("../../doc/build/aunit_cb/info/**"); ++ for Artifacts ("share/doc/@PF@/html") ++ use ("../../doc/build/aunit_cb/html/**"); + + for Artifacts ("share/gps/plug-ins") use ("../../support/aunit.xml"); +- for Artifacts ("share/examples/aunit") use ("../../examples/*"); ++ for Artifacts ("share/doc/@PF@/examples") use ("../../examples/*"); + end Install; + + end AUnit; +--- a/doc/share/conf.py 2024-03-01 22:35:22.194546565 +0100 ++++ b/doc/share/conf.py 2024-03-01 22:35:34.657400722 +0100 +@@ -95,6 +95,3 @@ + u'AdaCore', doc_name, doc_name, '')] + + +-def setup(app): +- app.add_lexer('ada', ada_pygments.AdaLexer()) +- app.add_lexer('gpr', ada_pygments.GNATProjectLexer()) diff --git a/dev-ada/gnatcoll-core/Manifest b/dev-ada/gnatcoll-core/Manifest index 4d7d794aeb0e..ade03075d4e8 100644 --- a/dev-ada/gnatcoll-core/Manifest +++ b/dev-ada/gnatcoll-core/Manifest @@ -1,4 +1,7 @@ AUX gnatcoll-core-2018-gentoo.patch 555 BLAKE2B d0913c845f4f7d96afbcec5d400599535417ee1c7b0d9f3c1e0c8766218c6a2556ff2de3e39febc1882b31e947876ca0849fad1564970f422530e58a8966c638 SHA512 90ef785337cb85aa7e2e2b5d0a24efc963512aa19780b215a96a1db6d980e55ff3b1409939e6d77913bf6416d158402ca900fd3ccc4cfb5362ee7440dfb42b64 +AUX gnatcoll-core-24.0.0-gentoo.patch 607 BLAKE2B 9138e65de3403760b3a56a622c002e064c4bd145c1c544b74221538fe04849f340f042a58301de315bf35f8edf804b49034885d5c43dd40909155243532ef904 SHA512 4c5d9ea25ac786e580ef3191e2a33546f9cd85d88bfee0ba89ca8edfbe5d3602485b780d6cf58240d71d3c5f872c53ddba0305894919a53e223727233e21d474 DIST gnatcoll-core-23.0.0.tar.gz 745131 BLAKE2B 25e5f17adf88c48f45cc30cfbd82e2213233aecd78c9c22455ac6458e2f336f527604911c9eaaa1ab8853e0a16bbe9e1a7b8f31481ee9c2894287ec16e961123 SHA512 49f33abe07d2c4b51a6e69be550d05c5794953f4fbe8cb15e29c9834b9c5600724acaff4156fb53e4146620f1e4335f4c22453215a39ec5ee95b3992528b9828 +DIST gnatcoll-core-24.0.0.tar.gz 764526 BLAKE2B f96b24dcac2af84802244ed93570f0a922ab0901ecf871fa4995f4c24607cdbd8d91fc760acf35024fe41a066fb307442396cb8c125c74363e0c9276d114ab5a SHA512 1f1d470e7b74f238682f0938efe04c303c6bfca5a6b723eb789f5cb4bd33a199a9f2323626b8887758f01709ab1ba4d8045c56ce45f02e535babca4025662d9f EBUILD gnatcoll-core-23.0.0-r1.ebuild 1628 BLAKE2B 2a2d70ffb0c115d143f44b1dabc7aa501b3f3d0285ad5dfe37549f9b3002f8113368f624f12ce2df24f576bb06ef52c6a9ac91f1846efefa85e44f03badb92e2 SHA512 7a0328f9d56164deebcd090d038b9bc8e8b6fd10a6ace19ac2f3371fa037212d26b85a89f21557633338ce3ca13c51e6e11a1371fe91c0f31f33923f787b0efd +EBUILD gnatcoll-core-24.0.0.ebuild 1813 BLAKE2B 9b184c5e2a4886cf150f95e82c8b7ca663fbae9e6ce146cd1fcc6a692d93362f51e00f4cca20e2655eb7b1f08216981427aba3355038986f35930502ca83188a SHA512 8a12717021a37913faac8865d06c54ee164ae5fb3a8ac9841a85786ddad400e41711b7eb819e0e92cc014df82365e14e0ac7dec5c156522ca102f2baec14afb3 MISC metadata.xml 1182 BLAKE2B 3f9bf3841b3006cc8ca840bab94c1324f2fca7ceab33eabcb2d6b6d6a7b27562a24821129285ded3e764b3185ca81b6774fa11e54b27f392b6234fd66223e5b4 SHA512 ec28eeb7f441eb5e5181dbc6bab19b647fba1cf2786238353040d409afaf520803c34b26a94c8583fc2858cb3e674a3ac525e42f6b447f478fb2cdae4c9add18 diff --git a/dev-ada/gnatcoll-core/files/gnatcoll-core-24.0.0-gentoo.patch b/dev-ada/gnatcoll-core/files/gnatcoll-core-24.0.0-gentoo.patch new file mode 100644 index 000000000000..5de80869e561 --- /dev/null +++ b/dev-ada/gnatcoll-core/files/gnatcoll-core-24.0.0-gentoo.patch @@ -0,0 +1,15 @@ +--- a/gnatcoll.gpr 2023-09-21 17:57:14.000000000 +0200 ++++ b/gnatcoll.gpr 2024-03-01 20:34:24.178681586 +0100 +@@ -306,9 +306,9 @@ + end Linker; + + package Install is +- for Artifacts ("share/examples/gnatcoll") use ("examples/*"); +- for Artifacts ("share/doc/gnatcoll/html") use ("docs/_build/html"); +- for Artifacts ("share/doc/gnatcoll") ++ for Artifacts ("share/doc/@PF@/examples") use ("examples/*"); ++ for Artifacts ("share/doc/@PF@/html") use ("docs/_build/html"); ++ for Artifacts ("share/doc/@PF@") + use ("docs/_build/latex/GNATColl.pdf"); + end Install; + diff --git a/dev-ada/gnatcoll-core/gnatcoll-core-24.0.0.ebuild b/dev-ada/gnatcoll-core/gnatcoll-core-24.0.0.ebuild new file mode 100644 index 000000000000..b22954a03362 --- /dev/null +++ b/dev-ada/gnatcoll-core/gnatcoll-core-24.0.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 ) +inherit ada multiprocessing + +DESCRIPTION="GNAT Component Collection Core packages" +HOMEPAGE="http://libre.adacore.com" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="doc +shared static-libs static-pic" +REQUIRED_USE="|| ( shared static-libs static-pic ) + ${ADA_REQUIRED_USE}" + +RDEPEND=" + ~dev-ada/libgpr-${PV}:=[${ADA_USEDEP},shared?,static-libs?,static-pic?] +" +BDEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}] + doc? ( + dev-python/sphinx + dev-tex/latexmk + )" + +PATCHES=( + "${FILESDIR}"/${PN}-2018-gentoo.patch + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + sed -i \ + -e "s:@GNATLS@:${GNATLS}:g" \ + src/gnatcoll-projects.ads \ + || die + sed -i \ + -e "s:@PF@:${PF}:g" \ + gnatcoll.gpr \ + || die +} + +src_configure() { + emake setup +} + +src_compile() { + build () { + gprbuild -p -m -j$(makeopts_jobs) \ + -XBUILD=PROD -v -XGNATCOLL_VERSION=${PV} \ + -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$* -XGPR_BUILD=$1 \ + gnatcoll.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die + } + if use shared; then + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi + use doc && emake -C docs latexpdf +} + +src_install() { + local GNATCOLL_VERSION=${PV} + if use shared; then + emake GNATCOLL_VERSION=${PV} prefix="${D}"/usr install-relocatable + fi + if use static-pic; then + emake GNATCOLL_VERSION=${PV} prefix="${D}"/usr install-static-pic + fi + if use static-libs; then + emake GNATCOLL_VERSION=${PV} prefix="${D}"/usr install-static + fi + rm -r "${D}"/usr/share/gpr/manifests || die + einstalldocs +} diff --git a/dev-ada/gprbuild/Manifest b/dev-ada/gprbuild/Manifest index e8f815b8c8b2..e5c562295b55 100644 --- a/dev-ada/gprbuild/Manifest +++ b/dev-ada/gprbuild/Manifest @@ -3,7 +3,7 @@ DIST gprbuild-23.0.0.tar.gz 952887 BLAKE2B a0de49e838dd41ca927d728dc2e7f23298bb3 DIST gprbuild-24.0.0.tar.gz 959615 BLAKE2B c432b1f13a1aecb8f664aeb06694d86123268f29b43a50f5c7a48d7428c0b1c16f397e5a84c097aba04c7ee34011df119b154fd546ce156c999a54d159a84afb SHA512 09da4d54f2f151e9f9453e1a459533e2373eb5d4c51831be2bf90964ebcf653752de2f8b271c77f7b599f62146516fc60258ec3c96779fa2b52cd52979c6bd03 DIST xmlada-23.0.0.tar.gz 1053370 BLAKE2B 4edf2244818d72d6fc760f60c8145f373e5445d1d245b20b605e21faa7eeefed7835db87c1fd1239008e75211a572294e1d8e35af16c2ba2631c02d1d3b6f52f SHA512 a0fb2a34ffb5edf408fbdc1a3d68511b5545a5ec8993251ba75d71dd2a197f14e187d08f8febd71cb23bbd694889a99941911386af8468c5eb3b11128555edcb DIST xmlada-24.0.0.tar.gz 1053363 BLAKE2B 628a1d3645c58cc3f8f5140c7cfb16adef02f6ccc72b8e9410819eaf67e0160bdcf81a8e33065ec52f54cb12309d857a3d82e532990a0fd17c249c04334ab10f SHA512 4e6773a5fdf9b6ebb5afca913d77aba9f697768f28ef9b23b9277aa4ea4ce09de4e53655dd5559e2326ff847327adb53fa6b776775aa923100a2624df415c97d -EBUILD gprbuild-23.0.0-r1.ebuild 1688 BLAKE2B 1ef6dc9fe6c124aa1b2e5e21ab311b79f33af99d5f40db024bedf599e534de75479f1d8d94acd2e6cb71822b17bcb301c4c6cc42bfb5571c5ae3ea5d8cdf5e6a SHA512 cdfb3062c5255bcd920be57f43e99878fbdcb4966ad9ce55a74c9f922203af7899929141072af264f8aae01c87bb94d65cb6a8afbfea0456d94b2e373e9936c4 +EBUILD gprbuild-23.0.0-r1.ebuild 1680 BLAKE2B af2bb8ebb07de78ffae8f18601a0a087e60036e32be80c5f7a9ad64982e092ef2695c8c64df9098b74d1e2dc84617134f4cd9b1ecf577a63189f8e9c870c01b1 SHA512 a1493abbfb15309a46f8ffcfd346754b8bf17e4a94a6fd649d79a035a08b4d2a2b65a3aadccec47ec3b8dea829fafd492e465992549b4479918c522220d5c2ae EBUILD gprbuild-23.0.0-r2.ebuild 1689 BLAKE2B b14d9a39bafdc39176823c85910422f48bcf6c337cbe08b2cadf8d016d6b85156adf2e5fe830de98ee02453d71445ca789baa847e8a0693f3f430a6ebd1d2e61 SHA512 462eb9caa3bf16c33bdf72f0930517c1da35c35c6bb3a520daa94e1f5f1cc9d3da251e5afd3304b95d40b34e4ea3ec35f8855ad9041f606d93f679b1cd40a3d1 -EBUILD gprbuild-24.0.0.ebuild 1689 BLAKE2B b14d9a39bafdc39176823c85910422f48bcf6c337cbe08b2cadf8d016d6b85156adf2e5fe830de98ee02453d71445ca789baa847e8a0693f3f430a6ebd1d2e61 SHA512 462eb9caa3bf16c33bdf72f0930517c1da35c35c6bb3a520daa94e1f5f1cc9d3da251e5afd3304b95d40b34e4ea3ec35f8855ad9041f606d93f679b1cd40a3d1 +EBUILD gprbuild-24.0.0-r1.ebuild 1985 BLAKE2B 8bf88c2d0d7ff6f15d2ef66b56d510213f77f739082d7ed237b6337fbef46304b0b3270de1376625aece4c097cf4e7f3ac8a36b5191b6d235f790a38a481dd12 SHA512 4a37627986ec603fc43884d728c67d6946c69894b64560ba85d9a2e690c72dc2c672fd24cdddd09a3da11c53b6ca22f638c1d8d337901d6563d5324c02a2ab28 MISC metadata.xml 888 BLAKE2B 635ae939acfcaa26b0ba80341ed90cb02d8c5a2cfa50ca78bbcf19bd3081cf434a51ef1b05547bc80f9174db1aabfad1bde6270c3c08ea4c119684a4af7d5e4e SHA512 65b9e30e2b0d5694fe31c244eeca739327274beda743330edb8f85f050a7f9c809cfb3a115b4f9349f282fc39de36f934354db864669f515da746cd9551b5337 diff --git a/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild b/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild index 1f7821924fab..e340685fb095 100644 --- a/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild +++ b/dev-ada/gprbuild/gprbuild-23.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,6 @@ SRC_URI=" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" DEPEND="${ADA_DEPS} dev-ada/gprconfig_kb[${ADA_USEDEP}]" diff --git a/dev-ada/gprbuild/gprbuild-24.0.0.ebuild b/dev-ada/gprbuild/gprbuild-24.0.0-r1.ebuild index 4ca1962e2cdc..d3d2cd3da286 100644 --- a/dev-ada/gprbuild/gprbuild-24.0.0.ebuild +++ b/dev-ada/gprbuild/gprbuild-24.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,10 +19,12 @@ SRC_URI=" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="doc" DEPEND="${ADA_DEPS} dev-ada/gprconfig_kb[${ADA_USEDEP}]" RDEPEND="${DEPEND}" +BDEPEND="doc? ( dev-python/sphinx )" REQUIRED_USE="${ADA_REQUIRED_USE}" PATCHES=( "${FILESDIR}"/${PN}-22.0.0-gentoo.patch ) @@ -56,6 +58,11 @@ src_compile() { gnatmake -j$(makeopts_jobs) ${inc_flags} ${lib} $ADAFLAGS \ -largs ${LDFLAGS} gpr_imports.o || die done + if use doc; then + emake -C doc txt + emake -C doc info + emake -C doc html + fi } src_install() { @@ -64,5 +71,12 @@ src_install() { doexe ${lib_progs} insinto /usr/share/gpr doins share/_default.gpr + local HTML_DOCS= + local DOCS=README.md + if use doc; then + DOCS+=" examples doc/txt/gprbuild_ug.txt" + HTML_DOCS+="doc/html/*" + doinfo doc/info/gprbuild_ug.info + fi einstalldocs } diff --git a/dev-ada/xmlada/Manifest b/dev-ada/xmlada/Manifest index 97dbda31fe68..e12770cb8c0b 100644 --- a/dev-ada/xmlada/Manifest +++ b/dev-ada/xmlada/Manifest @@ -1,7 +1,8 @@ AUX xmlada-23.0.0-gentoo.patch 1070 BLAKE2B 1894bf507add813229dc505c6300d475dfbad4a5f0dbcf957b211cf47f9f916d5656658eecd4892d10810d4e5c13cda00107d7a9fe591ebe8f4b5b3567a043c9 SHA512 c3fd4ee0d44df3ad836c6ca3a1e1ae3ee0c5962c8a628299134e6293bc8bdb0de3b98b43910940646c4384db985cf4a1fb47b50ac17a2d315bb1ee12a406e800 +AUX xmlada-24.0.0-gentoo.patch 1255 BLAKE2B 92e437d6d594a0d1527114301a3e77b0466588dc66b6cbb31d9cb0777416dc5cba9d78b1147df7ee23dde63f20aa046f8d797347885d4a7715fae8e902e1c5f7 SHA512 10beb7eec14815b899552dda732368dee8183fc78f9014eb3557c84416892ca46d6df4dfbb567875574bdd74c96bbdf5558f9d17d3dbc310fcb296966ecb1056 DIST xmlada-23.0.0.tar.gz 1053370 BLAKE2B 4edf2244818d72d6fc760f60c8145f373e5445d1d245b20b605e21faa7eeefed7835db87c1fd1239008e75211a572294e1d8e35af16c2ba2631c02d1d3b6f52f SHA512 a0fb2a34ffb5edf408fbdc1a3d68511b5545a5ec8993251ba75d71dd2a197f14e187d08f8febd71cb23bbd694889a99941911386af8468c5eb3b11128555edcb DIST xmlada-24.0.0.tar.gz 1053363 BLAKE2B 628a1d3645c58cc3f8f5140c7cfb16adef02f6ccc72b8e9410819eaf67e0160bdcf81a8e33065ec52f54cb12309d857a3d82e532990a0fd17c249c04334ab10f SHA512 4e6773a5fdf9b6ebb5afca913d77aba9f697768f28ef9b23b9277aa4ea4ce09de4e53655dd5559e2326ff847327adb53fa6b776775aa923100a2624df415c97d EBUILD xmlada-23.0.0-r1.ebuild 2423 BLAKE2B 7fa7cebecb991d8ddca21cc3693a61b3c91391e84e5749166f1c800623e0dc3d39ad928b069eba5eb658b2887f1ec2979b0e956fe16339319f44e3d2d98c30bf SHA512 e703eb60f456b87368f3c17b777498dc58c8b9863c4ff8810084c22829d551c4223c489151af0523e70bc8b7f0d8c7e7b64d98f7b8e4dbccc22095e9c2c6d665 EBUILD xmlada-23.0.0-r2.ebuild 2432 BLAKE2B 1f7058541c57ff369062bb5e80db7f179bb0e82f788b4f0ca53817868481bfa0219c26edb15d164d09acb5ea21bc099a85615d6e5f7a2a8ea1ee5e9f042f5628 SHA512 3bb696c7183a4e253f3ac7f147b0b1815336b88b0b1e88ce46e3b3d7a355089b748c4d5244de7b54189a72b83c9b714d67f87b3d80a60b1fd52d49aeb73f356c -EBUILD xmlada-24.0.0.ebuild 2440 BLAKE2B b0b0e6617e1d0c861d9640cabff8c4bf19fed94139682d32d06c21e695b01bd148e155ca9bb18f1dac3970ce951850920c9d936cd511ac8614902b07e4e2c7be SHA512 074479afa9d36e55aa3c59f299709bb20766823122008704b392a74e7582825a8578c88b79bd3ca1eec06f6fd0a79a3def33be9fb891666904d3291f1b621f7e +EBUILD xmlada-24.0.0-r1.ebuild 2243 BLAKE2B 7e93d00f9515dd052b260701be79b531ad3d2b81b8c375c516ecf47eef68d92d0173588e7b9f214bd19c059ce516b3de4a5425f5c35f8a27f6eeafdc20454464 SHA512 3f7e7fcf450e55930f6bd75f8b0b7a84a87fdfe8f718fdc56a3c5de234646d43b6108f6c2b0b60e08601ed8c846ce98a1e22c70c35cce215e7c546a510428f08 MISC metadata.xml 987 BLAKE2B 0cea4d25986c676a4418a482ece808fe48869771b7c021727b7b81785ae254d68eab90a6ba52e5a62b2fbf2ea2539103cfc4b4909ebc6c578c33d61d8b3bb16e SHA512 c578017e1aceb4e81669eb3a44cb7e154f5ef16e09b88de70c5fb4675619fbbbaa0260ad7e7ba7bf07a957e64ac9ee8dc172d91df9f8ee1801ff5e4787e09092 diff --git a/dev-ada/xmlada/files/xmlada-24.0.0-gentoo.patch b/dev-ada/xmlada/files/xmlada-24.0.0-gentoo.patch new file mode 100644 index 000000000000..5eb69f885285 --- /dev/null +++ b/dev-ada/xmlada/files/xmlada-24.0.0-gentoo.patch @@ -0,0 +1,24 @@ +--- a/input_sources/xmlada_input.gpr 2024-03-01 19:32:59.111253474 +0100 ++++ b/input_sources/xmlada_input.gpr 2024-03-01 19:34:57.282827180 +0100 +@@ -39,13 +39,15 @@ + package Ide renames XmlAda_Shared.Ide; + + package Install is +- for Artifacts ("share/doc/xmlada") +- use ("../docs/_build/html/*", "../docs/_build/latex/XMLAda.pdf"); ++ for Artifacts ("share/doc/@PF@/html") ++ use ("../docs/_build/html/*"); ++ for Artifacts ("share/doc/@PF@") ++ use ("../docs/_build/latex/XMLAda.pdf"); + for Artifacts ("share/gpr") use ("../distrib/xmlada.gpr"); +- for Artifacts ("share/examples/xmlada/dom") use ("../docs/dom/*"); +- for Artifacts ("share/examples/xmlada/sax") use ("../docs/sax/*"); +- for Artifacts ("share/examples/xmlada/schema") use ("../docs/schema/*"); +- for Artifacts ("share/examples/xmlada/cross") use ("../docs/cross/*"); ++ for Artifacts ("share/doc/@PF@/examples/dom") use ("../docs/dom/*"); ++ for Artifacts ("share/doc/@PF@/examples/sax") use ("../docs/sax/*"); ++ for Artifacts ("share/doc/@PF@/examples/schema") use ("../docs/schema/*"); ++ for Artifacts ("share/doc/@PF@/examples/cross") use ("../docs/cross/*"); + end Install; + + end XmlAda_Input; diff --git a/dev-ada/xmlada/xmlada-24.0.0.ebuild b/dev-ada/xmlada/xmlada-24.0.0-r1.ebuild index 8b34419b5baa..3284fea75aa5 100644 --- a/dev-ada/xmlada/xmlada-24.0.0.ebuild +++ b/dev-ada/xmlada/xmlada-24.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,15 +14,31 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="GPL-3" SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" -IUSE="+shared static-libs static-pic" +IUSE="doc +shared static-libs static-pic" REQUIRED_USE="|| ( shared static-libs static-pic ) ${ADA_REQUIRED_USE}" RDEPEND="${ADA_DEPS}" DEPEND="${RDEPEND} dev-ada/gprbuild[${ADA_USEDEP}]" +BDEPEND="doc? ( + dev-tex/latexmk + dev-python/sphinx + dev-python/sphinx-rtd-theme +)" -PATCHES=( "${FILESDIR}"/${PN}-23.0.0-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-23.0.0-gentoo.patch + "${FILESDIR}"/${P}-gentoo.patch +) + +src_prepare() { + default + sed -i \ + -e "s|@PF@|${PF}|g" \ + input_sources/xmlada_input.gpr \ + || die +} src_compile() { build () { @@ -40,6 +56,10 @@ src_compile() { if use static-pic; then build static-pic fi + if use doc; then + emake -C docs latexpdf + emake -C docs html + fi } src_test() { @@ -74,13 +94,4 @@ src_install() { einstalldocs dodoc xmlada-roadmap.txt rm -rf "${D}"/usr/share/gpr/manifests - rm -f "${D}"/usr/share/examples/xmlada/*/b__* - rm -f "${D}"/usr/share/examples/xmlada/*/*.adb.std* - rm -f "${D}"/usr/share/examples/xmlada/*/*.ali - rm -f "${D}"/usr/share/examples/xmlada/*/*.bexch - rm -f "${D}"/usr/share/examples/xmlada/*/*.o - rm -f "${D}"/usr/share/examples/xmlada/*/*example - rm -f "${D}"/usr/share/examples/xmlada/dom/domexample2 - rm -f "${D}"/usr/share/examples/xmlada/sax/saxexample_main - mv "${D}"/usr/share/examples/xmlada "${D}"/usr/share/doc/"${PF}"/examples || die } |