diff options
Diffstat (limited to 'dev-util')
28 files changed, 41 insertions, 1328 deletions
diff --git a/dev-util/0xtools/0xtools-2.0.3-r2.ebuild b/dev-util/0xtools/0xtools-2.0.3-r3.ebuild index e6903af81533..9824d4e91272 100644 --- a/dev-util/0xtools/0xtools-2.0.3-r2.ebuild +++ b/dev-util/0xtools/0xtools-2.0.3-r3.ebuild @@ -65,6 +65,7 @@ src_install() { systemd_dounit xcapture.service systemd_dounit xcapture-restart.service systemd_dounit xcapture-restart.timer + newinitd "${FILESDIR}/0xtools-2.0.3-xcapture-r0.initd" xcapture # Setup for "xcapture-bpf". exeinto "/lib/${PN}/xcapture" diff --git a/dev-util/0xtools/0xtools-9999.ebuild b/dev-util/0xtools/0xtools-9999.ebuild index 395a7ccf798a..581161fc5dab 100644 --- a/dev-util/0xtools/0xtools-9999.ebuild +++ b/dev-util/0xtools/0xtools-9999.ebuild @@ -65,6 +65,7 @@ src_install() { systemd_dounit xcapture.service systemd_dounit xcapture-restart.service systemd_dounit xcapture-restart.timer + newinitd "${FILESDIR}/0xtools-2.0.3-xcapture-r0.initd" xcapture # Setup for "xcapture-bpf". exeinto "/lib/${PN}/xcapture" diff --git a/dev-util/0xtools/files/0xtools-2.0.3-xcapture-r0.initd b/dev-util/0xtools/files/0xtools-2.0.3-xcapture-r0.initd new file mode 100644 index 000000000000..0a7d427b6b19 --- /dev/null +++ b/dev-util/0xtools/files/0xtools-2.0.3-xcapture-r0.initd @@ -0,0 +1,34 @@ +#!/sbin/openrc-run + +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="0x.Tools xcapture" + +SAMPLEINTERVAL="1" +LOGDIRPATH="/var/log/xcapture" +ADDITIONALOPTIONS="syscall,wchan,exe,cmdline" +MINUTES="59520" + +config_file="/etc/default/xcapture" + +if [ -f "${config_file}" ] ; then + . "${config_file}" +fi + +command="/usr/bin/xcapture" +command_args="-d ${SAMPLEINTERVAL} -c ${ADDITIONALOPTIONS} -o ${LOGDIRPATH}" + +command_background="true" +pidfile="/run/xcapture.pid" + +command_user="root" + +depend() { + config "${config_file}" + after bootmisc +} + +start_pre() { + checkpath -q -d "${LOGDIRPATH}" +} diff --git a/dev-util/android-udev-rules/android-udev-rules-20241109.ebuild b/dev-util/android-udev-rules/android-udev-rules-20241109.ebuild index b566bb91970c..1bfb0238bf5f 100644 --- a/dev-util/android-udev-rules/android-udev-rules-20241109.ebuild +++ b/dev-util/android-udev-rules/android-udev-rules-20241109.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/M0Rf30/android-udev-rules/archive/refs/tags/${PV}.ta LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm arm64 x86" # No tests RESTRICT="test" diff --git a/dev-util/bcpp/Manifest b/dev-util/bcpp/Manifest index 4d1040b0d58c..57f8a693ca5a 100644 --- a/dev-util/bcpp/Manifest +++ b/dev-util/bcpp/Manifest @@ -1,6 +1,2 @@ -DIST bcpp-20230130.tgz 155972 BLAKE2B f51ae04ef75125d2040f9ef2ab9fb5513ad83fc6095b85bc091bf109d43b066723743c02f703b90f5d4faeb368da86d611d9ce46237c10e31b861b473de49282 SHA512 1fd22707313c098ac2a338425029d2c6355e9042b9bba3d2a6c8d4315dc59a33ea1bfc0cf30671ab2eb1c05981c4be5313a20d357bbbbb4f14374772253b4c30 -DIST bcpp-20230130.tgz.asc 729 BLAKE2B ffd6266919c8598067b09ac9f855c3b1d93dbd4d6536dbd68a12ccbc5f8cc62e10315e44376fc72d40881e43dfa51676a1af46400aed66bf4c2ac1d4a17b499c SHA512 b52cfa95115726ec7b9575ef8a813fc5d1eb8dc7083b19508d5058b80d41203e70d3cd61a18eea4f35755f77e92ce15c2a1f24db0befb3b62dab3b71065a3955 -DIST bcpp-20240111.tgz 156659 BLAKE2B 9bcb986bd434e8c574a25d5e6a4dab08f5aec342bd60e46110902e7f5d924fff4295fc23ee5fc9190ef10c36fa89b19d9f2baff79150899f7618c06df543ae88 SHA512 e5211f484de3de4b6172d01fa9af50e2ed060cfb81d366575581480c1903dccb13b1e247809e17ae9a3cebc49d52b180b928a6abcad5f5b67b2af745b035e249 -DIST bcpp-20240111.tgz.asc 729 BLAKE2B c9933393c10b77bbeefcef315b6ae8d3df75fc3ee1d1880a661775ca11cd2965864191beae23a51b78be2db995d75f3e9cd0ac44b465905a19a21c7eb8463722 SHA512 50e28e55e533ce9641b2b6c95ae937a546f32ebc41a4c77a336cfb1c3528ba0c9e193fd0320cb145c31e31c941661c9c4dfae5eb1c5aa964af11f891907493a6 DIST bcpp-20240917.tgz 158130 BLAKE2B f07998d42fd65c4b8f57b2d0873caca26bf8d63909ee3c5830a6e20d32235915f3090aac4b5f09e7f4694de9650bcad04c4aed3dc1b49e2e6db0d252ea7a09b0 SHA512 f18c36da9d6f94c887df6b9fc47fa704d6f3ea02c613056111deafe629e63196ce1c4e316ea67c14bb1561d35ef7e895fae5d10905a1241c7c53599f0d0e893b DIST bcpp-20240917.tgz.asc 729 BLAKE2B c02339ac449bef2f69509697b87239c944bd9055f51dd31563e1b8589daf4c3dc4aa67cca6525ee792bc022c427dd42d858b038ddbd0b09eb258a2d887b19a20 SHA512 9148f262bda8a55b23f6813b1b40d66eebd02dc2183f9aa4104ef2eae42d90eb42a48b94a06c56ef795630869a1c0833cae51e84380cfb996568fcdc2f5a9e08 diff --git a/dev-util/bcpp/bcpp-20230130.ebuild b/dev-util/bcpp/bcpp-20230130.ebuild deleted file mode 100644 index cf6014812594..000000000000 --- a/dev-util/bcpp/bcpp-20230130.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc -inherit verify-sig - -DESCRIPTION="Indents C/C++ source code" -HOMEPAGE="https://invisible-island.net/bcpp/" -SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz" -SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" - -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )" - -src_compile() { - emake CPPFLAGS='-DBCPP_CONFIG_DIR=\"/etc/bcpp/\"' -} - -src_install() { - default - dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \ - txtdocs/manual.txt - - insinto /etc/bcpp - doins bcpp.cfg indent.cfg -} - -pkg_postinst() { - elog "Check the documentation for more information on how to" - elog "Run bcpp. Please note that in order to get help for" - elog "bcpp, please run bcpp -h and not the command by itself." - elog "" - elog "Configuration files are at ${EPREFIX}/etc/bcpp." - elog "To use them, use the -c option followed by the filename." -} diff --git a/dev-util/bcpp/bcpp-20240111.ebuild b/dev-util/bcpp/bcpp-20240111.ebuild deleted file mode 100644 index 4d86a984f6b4..000000000000 --- a/dev-util/bcpp/bcpp-20240111.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# 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/thomasdickey.asc -inherit verify-sig - -DESCRIPTION="Indents C/C++ source code" -HOMEPAGE="https://invisible-island.net/bcpp/" -SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz" -SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - -BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-thomasdickey-20240114 )" - -src_compile() { - emake CPPFLAGS='-DBCPP_CONFIG_DIR=\"/etc/bcpp/\"' -} - -src_install() { - default - dodoc CHANGES MANIFEST README VERSION txtdocs/hirachy.txt \ - txtdocs/manual.txt - - insinto /etc/bcpp - doins bcpp.cfg indent.cfg -} - -pkg_postinst() { - elog "Check the documentation for more information on how to" - elog "Run bcpp. Please note that in order to get help for" - elog "bcpp, please run bcpp -h and not the command by itself." - elog "" - elog "Configuration files are at ${EPREFIX}/etc/bcpp." - elog "To use them, use the -c option followed by the filename." -} diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest index 415ffb7cd3b7..3153d47e08fb 100644 --- a/dev-util/ccache/Manifest +++ b/dev-util/ccache/Manifest @@ -1,13 +1,3 @@ DIST ccache-4.10-docs.tar.xz 82900 BLAKE2B 0d0ef988bb21bc05642c2d5ea42bdf9c87c190464d3bddc08a8bf281b003670a50a07a88bf31731a781d5454be09b87168bc8df3b239b93f4e3d3e3f667e9094 SHA512 c1030e76dea6eaeed5548dda80a766bb9c944f8e1223157eb7a227f08f80f48a8fece4e1a99beced4c6075b40ec7de3df662111c95f9390624f6e9a3b04c1083 -DIST ccache-4.10.1.tar.xz 485228 BLAKE2B 875914cf89bd696e240e93bb8146339b60a96ec5584b9908578abffe1d8f1b5604907e34a578916d291186fb742907b3d5d75f7a0e9775822ffd206358d44535 SHA512 98ad98ddc2d05d5779e507190df838317b41bc9b196aa20a43bba21700712b671c581ce7379094625dc6411e720cc7f5cb03d4d3b1df925cb5ce614363dea373 -DIST ccache-4.10.1.tar.xz.asc 833 BLAKE2B 0d072b247a09e3823636f69bec81031f2ab02ee6aaf545b7dfd71d39b66c60d47e80bf01e0b53ef674234044c724f2b8fd05698f4166fe4ac76bbf915b9a7089 SHA512 aaf008593cfb26050a6548421249f60a74ecc98b65140a18304a162d9d2d754742e4a35a0aa216a5d12fdac435dc530808b70c6916c1a20c0d7dd25eaf7d4988 DIST ccache-4.10.2.tar.xz 485460 BLAKE2B 7352b8b48ed889e1f251ae59cb7cd9d01d7d3226b58a7823be176907dc074ff22ca5d6a271e2caede7d97a65457b9067b48e9d39ab833bf45fb055eb3bfe7607 SHA512 3815c71d7266c32839acb306763268018acc58b3bbbd9ec79fc101e4217c1720d2ad2f01645bf69168c1c61d27700b6f3bb755cfa82689cca69824f015653f3c DIST ccache-4.10.2.tar.xz.asc 833 BLAKE2B 4a975aa1e8c9c12cf4df60b31cea10023e8e8efb561608dd652ecef2a0e575b41c5f6cfc551b0f3bd860e3b4a59061fcf870a67f5625f6a82cab104045ac2e57 SHA512 4afcc08563f0dfc8ccfd0797ea2cc26227b253415b9b9fe8ed90ef47e5b8d1dbcb8cbdd17ebf95acd6a367260f6a405764d0d0c5432cfbe2dce4d098b2a7a1b9 -DIST ccache-4.10.tar.xz 411272 BLAKE2B 55e4efa41a53a664e8dfa25cd2b21dda80bf7847c467cf361058aaf06425a5c494d9e5b71e70f7d9327a6d57672af271946ad4e24fbd99f49c0bb8c256a9a2a5 SHA512 8bc8451a5e66300cb26ef7c1348d1b47e164ede17eab7f5f857a584a9def599c5c752d5591017a5e5b9673f108bb7a4a5bd59368e379fed9531e833fca8808a4 -DIST ccache-4.10.tar.xz.asc 833 BLAKE2B 4cdd6ce059ab54dca39365120b74e675a5a8c16e280f2e812d7a81feecda4283b63f84bf921d8b18493e348de38850facc95d48f0631e9ae46f33d7154a01f21 SHA512 faa3177d07a63746fe1dac1e748124d85207aa51d55894523e88074bf3b02deba7e961d2f7de48265acc6898bdd083bb48cb65631b02d9f7bdb7a27364d0fc4c -DIST ccache-4.8-docs.tar.xz 80280 BLAKE2B e8e00dd10a00670ff3a0c3f5ab0966469fa5246de64724e24d0287020d4636fb5a1f59421aaa094d05b88bd20efd2a4a06e46dfb957bcf77ad2ea61fd02551c9 SHA512 e0036a7f86b458028c6e24158f95b62e40d9f659031e16adc59c067096bb728f1cb583a2edecaf2118f15b8e00f028fa6f1cfa2466fba76b7c870cca93a883eb -DIST ccache-4.8.3.tar.xz 569724 BLAKE2B 53211db0e516eea9739b8f05bf6a3db678b4b5cff7af741469360556da20a320e4a40253ca9e51568045a394d3497b428413ff6cf77f4273aa4906357b427d1f SHA512 e0e344cd215de67fe060b36fb1b902bab61454477624fbe41d2ec57fdd721cec9c8920ca834f0ef0ccfeedb961b17143f18197497557887d88911ff66e330478 -DIST ccache-4.8.3.tar.xz.asc 833 BLAKE2B e800b7bdce705db3ced97f0fe008e8391811f9c7c49e815b6cd2cf220cf1107f3941d29d7bcdd10f79da4e6cad9766243e482011aeb5a170e1c5920b6ebdd726 SHA512 2e2298a3cf800d9de669f560269bd07ca2b76f761198af10f7174759ea95a23518dedce83f481bdd392bb60adbd736e5dd2c21af88beb761c0f589f685737586 -DIST ccache-4.9-docs.tar.xz 82684 BLAKE2B bc3517803cac75a0124358f740e3f4f4b923341277b77cb9ac7649520bbf19a65a51ebf324cc886f98e606bd29681ca3956073a85b737159792e068d529e299c SHA512 870d15dc9e3a0557dfe533862927ff8e90730678439b576e782f79f1f69c5bb499ff4c7e397a7eca059691ec5f89412594e32c74209a58003a6f55002c00d467 -DIST ccache-4.9.1.tar.xz 583764 BLAKE2B 9ebaf335fda54666e4bfc8f2c402f2b908b3922f3898b6a739b0256481256c6121546021b80fd2dbc93f3aea254db63a8624b97b2820b88e73e502a243bf2562 SHA512 5ae4537a7e546b779c80f5adadce1349a84da3a47b255bda06cb2678ee5403307f013c08c8541a21f6f1fb36a0b64bdbcf785fbd2fcfe3009150117250e75b0b -DIST ccache-4.9.1.tar.xz.asc 833 BLAKE2B a157b0c2c0777732d9a51fb7519f561fac098bbac9ba33fe453b210a6e9a34372b5d00b0fa940d2b783ab0eb48e7bc98707de884b191d83120d9ad8239c9fb76 SHA512 43605eca0f9a62565486c6c7ff622fc4d18a400518aa9c9e3c9d865a99c40c63a6a09d42ccd3428d28575c4de8a69be89c93830d26261d3479792e67179d0839 diff --git a/dev-util/ccache/ccache-4.10-r1.ebuild b/dev-util/ccache/ccache-4.10-r1.ebuild deleted file mode 100644 index 7507908b00db..000000000000 --- a/dev-util/ccache/ccache-4.10-r1.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# XXX: We don't use CCACHE_* for these vars like we do in e.g. cmake/libabigail/qemu -# because Portage unsets them. Aaaah! -# -# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-ccache-docs -# Set to 1 if prebuilt, 0 if not -# (the construct below is to allow overriding from env for script) -: ${MY_DOCS_PREBUILT:=1} - -MY_DOCS_PREBUILT_DEV=sam -MY_DOCS_VERSION=$(ver_cut 1-2) -# Default to generating docs (inc. man pages) if no prebuilt; overridden later -# See bug #784815 -MY_DOCS_USEFLAG="+doc" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/joelrosdahl.asc -inherit cmake toolchain-funcs flag-o-matic prefix verify-sig - -DESCRIPTION="Fast compiler cache" -HOMEPAGE="https://ccache.dev/" -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz" -SRC_URI+=" verify-sig? ( https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz.asc )" -if [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${MY_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${MY_DOCS_VERSION}-docs.tar.xz )" - MY_DOCS_USEFLAG="doc" -fi - -# https://ccache.dev/license.html -# ccache, blake3, NonstdSpan, tl-expected -LICENSE="GPL-3+ || ( CC0-1.0 Apache-2.0 ) Boost-1.0 CC0-1.0" -LICENSE+=" elibc_mingw? ( LGPL-3 ISC PSF-2 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -# Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220 -IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test" -RESTRICT="!test? ( test )" - -# TODO: package NonstdSpan, TlExpected -# TODO: upstream httplib patch -DEPEND=" - >=app-arch/zstd-1.3.4:= - >=dev-cpp/cpp-httplib-0.10.6:= - >=dev-libs/blake3-1.4.0:= - >=dev-libs/libfmt-8.0.0:= - >=dev-libs/xxhash-0.8.0 - redis? ( >=dev-libs/hiredis-0.13.3:= ) -" -RDEPEND=" - ${DEPEND} - dev-util/shadowman - sys-apps/gentoo-functions -" -# Needed for eselect calls in pkg_* -IDEPEND="dev-util/shadowman" - -# clang-specific tests use dev-libs/elfutils to compare objects for equality. -# Let's pull in the dependency unconditionally. -BDEPEND=" - doc? ( dev-ruby/asciidoctor ) - test? ( - >=dev-cpp/doctest-2.4.6 - dev-libs/elfutils - ) - verify-sig? ( sec-keys/openpgp-keys-joelrosdahl ) -" - -DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch - "${FILESDIR}"/${PN}-4.0-objdump.patch - "${FILESDIR}"/${PN}-4.10-avoid-run-user.patch - "${FILESDIR}"/${PN}-4.10-unittest-httplib.patch - "${FILESDIR}"/${P}-blake3.patch -) - -src_unpack() { - # Avoid aborting on the doc tarball - if use verify-sig ; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - - default -} - -src_prepare() { - cmake_src_prepare - - cp "${FILESDIR}"/ccache-config-3 ccache-config || die - eprefixify ccache-config -} - -src_configure() { - # Mainly used in tests - tc-export CC OBJDUMP - - # Avoid dependency on libstdc++.so. Useful for cases when - # we would like to use ccache to build older gcc which injects - # into ccache locally built (possibly outdated) libstdc++ - # See bug #761220 for examples. - # - # Ideally gcc should not use LD_PRELOAD to avoid this type of failure. - use static-c++ && append-ldflags -static-libstdc++ - - local mycmakeargs=( - -DENABLE_DOCUMENTATION=$(usex doc) - -DENABLE_TESTING=$(usex test) - -DDEPS=LOCAL - -DREDIS_STORAGE_BACKEND=$(usex redis) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - dobin ccache-config - insinto /usr/share/shadowman/tools - newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin" - - # If USE=doc, there'll be newly generated docs which we install instead. - if ! use doc && [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${MY_DOCS_VERSION}-docs/doc/*.[0-8] - fi -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]] ; then - eselect compiler-shadow remove ccache - fi -} - -pkg_postinst() { - if [[ -z ${ROOT} ]] ; then - eselect compiler-shadow update ccache - fi -} diff --git a/dev-util/ccache/ccache-4.10.1.ebuild b/dev-util/ccache/ccache-4.10.1.ebuild deleted file mode 100644 index afda2138cd2c..000000000000 --- a/dev-util/ccache/ccache-4.10.1.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# XXX: We don't use CCACHE_* for these vars like we do in e.g. cmake/libabigail/qemu -# because Portage unsets them. Aaaah! -# -# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-ccache-docs -# Set to 1 if prebuilt, 0 if not -# (the construct below is to allow overriding from env for script) -: ${MY_DOCS_PREBUILT:=1} - -MY_DOCS_PREBUILT_DEV=sam -MY_DOCS_VERSION=$(ver_cut 1-2) -# Default to generating docs (inc. man pages) if no prebuilt; overridden later -# See bug #784815 -MY_DOCS_USEFLAG="+doc" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/joelrosdahl.asc -inherit cmake toolchain-funcs flag-o-matic prefix verify-sig - -DESCRIPTION="Fast compiler cache" -HOMEPAGE="https://ccache.dev/" -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz" -SRC_URI+=" verify-sig? ( https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz.asc )" -if [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${MY_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${MY_DOCS_VERSION}-docs.tar.xz )" - MY_DOCS_USEFLAG="doc" -fi - -# https://ccache.dev/license.html -# ccache, blake3, NonstdSpan, tl-expected -LICENSE="GPL-3+ || ( CC0-1.0 Apache-2.0 ) Boost-1.0 CC0-1.0" -LICENSE+=" elibc_mingw? ( LGPL-3 ISC PSF-2 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -# Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220 -IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test" -RESTRICT="!test? ( test )" - -# TODO: package NonstdSpan, TlExpected -DEPEND=" - >=app-arch/zstd-1.3.4:= - >=dev-cpp/cpp-httplib-0.10.6:= - >=dev-libs/blake3-1.4.0:= - >=dev-libs/libfmt-8.0.0:= - >=dev-libs/xxhash-0.8.0 - redis? ( >=dev-libs/hiredis-0.13.3:= ) -" -RDEPEND=" - ${DEPEND} - dev-util/shadowman - sys-apps/gentoo-functions -" -# Needed for eselect calls in pkg_* -IDEPEND="dev-util/shadowman" - -# clang-specific tests use dev-libs/elfutils to compare objects for equality. -# Let's pull in the dependency unconditionally. -BDEPEND=" - doc? ( dev-ruby/asciidoctor ) - test? ( - >=dev-cpp/doctest-2.4.6 - dev-libs/elfutils - ) - verify-sig? ( sec-keys/openpgp-keys-joelrosdahl ) -" - -DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch - "${FILESDIR}"/${PN}-4.0-objdump.patch - "${FILESDIR}"/${PN}-4.10-avoid-run-user.patch - "${FILESDIR}"/${PN}-4.10-libfmt11.patch -) - -src_unpack() { - # Avoid aborting on the doc tarball - if use verify-sig ; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - - default -} - -src_prepare() { - cmake_src_prepare - - cp "${FILESDIR}"/ccache-config-3 ccache-config || die - eprefixify ccache-config -} - -src_configure() { - # Mainly used in tests - tc-export CC OBJDUMP - - # Avoid dependency on libstdc++.so. Useful for cases when - # we would like to use ccache to build older gcc which injects - # into ccache locally built (possibly outdated) libstdc++ - # See bug #761220 for examples. - # - # Ideally gcc should not use LD_PRELOAD to avoid this type of failure. - use static-c++ && append-ldflags -static-libstdc++ - - local mycmakeargs=( - -DENABLE_DOCUMENTATION=$(usex doc) - -DENABLE_TESTING=$(usex test) - -DDEPS=LOCAL - -DREDIS_STORAGE_BACKEND=$(usex redis) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - dobin ccache-config - insinto /usr/share/shadowman/tools - newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin" - - # If USE=doc, there'll be newly generated docs which we install instead. - if ! use doc && [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${MY_DOCS_VERSION}-docs/doc/*.[0-8] - fi -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]] ; then - eselect compiler-shadow remove ccache - fi -} - -pkg_postinst() { - if [[ -z ${ROOT} ]] ; then - eselect compiler-shadow update ccache - fi -} diff --git a/dev-util/ccache/ccache-4.10.2-r1.ebuild b/dev-util/ccache/ccache-4.10.2-r1.ebuild index 101d82110487..1440e512d030 100644 --- a/dev-util/ccache/ccache-4.10.2-r1.ebuild +++ b/dev-util/ccache/ccache-4.10.2-r1.ebuild @@ -34,7 +34,7 @@ fi LICENSE="GPL-3+ || ( CC0-1.0 Apache-2.0 ) Boost-1.0 CC0-1.0" LICENSE+=" elibc_mingw? ( LGPL-3 ISC PSF-2 )" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" # Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220 IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test" RESTRICT="!test? ( test )" diff --git a/dev-util/ccache/ccache-4.10.2.ebuild b/dev-util/ccache/ccache-4.10.2.ebuild deleted file mode 100644 index cf925f29bacf..000000000000 --- a/dev-util/ccache/ccache-4.10.2.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# XXX: We don't use CCACHE_* for these vars like we do in e.g. cmake/libabigail/qemu -# because Portage unsets them. Aaaah! -# -# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-ccache-docs -# Set to 1 if prebuilt, 0 if not -# (the construct below is to allow overriding from env for script) -: ${MY_DOCS_PREBUILT:=1} - -MY_DOCS_PREBUILT_DEV=sam -MY_DOCS_VERSION=$(ver_cut 1-2) -# Default to generating docs (inc. man pages) if no prebuilt; overridden later -# See bug #784815 -MY_DOCS_USEFLAG="+doc" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/joelrosdahl.asc -inherit cmake toolchain-funcs flag-o-matic prefix verify-sig - -DESCRIPTION="Fast compiler cache" -HOMEPAGE="https://ccache.dev/" -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz" -SRC_URI+=" verify-sig? ( https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz.asc )" -if [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${MY_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${MY_DOCS_VERSION}-docs.tar.xz )" - MY_DOCS_USEFLAG="doc" -fi - -# https://ccache.dev/license.html -# ccache, blake3, NonstdSpan, tl-expected -LICENSE="GPL-3+ || ( CC0-1.0 Apache-2.0 ) Boost-1.0 CC0-1.0" -LICENSE+=" elibc_mingw? ( LGPL-3 ISC PSF-2 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -# Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220 -IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test" -RESTRICT="!test? ( test )" - -# TODO: package NonstdSpan, TlExpected -DEPEND=" - >=app-arch/zstd-1.3.4:= - >=dev-cpp/cpp-httplib-0.10.6:= - >=dev-libs/blake3-1.4.0:= - >=dev-libs/libfmt-8.0.0:= - >=dev-libs/xxhash-0.8.0 - redis? ( >=dev-libs/hiredis-0.13.3:= ) -" -RDEPEND=" - ${DEPEND} - dev-util/shadowman - sys-apps/gentoo-functions -" -# Needed for eselect calls in pkg_* -IDEPEND="dev-util/shadowman" - -# clang-specific tests use dev-libs/elfutils to compare objects for equality. -# Let's pull in the dependency unconditionally. -BDEPEND=" - doc? ( dev-ruby/asciidoctor ) - test? ( - >=dev-cpp/doctest-2.4.6 - dev-libs/elfutils - ) - verify-sig? ( sec-keys/openpgp-keys-joelrosdahl ) -" - -DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch - "${FILESDIR}"/${PN}-4.0-objdump.patch - "${FILESDIR}"/${PN}-4.10-avoid-run-user.patch -) - -src_unpack() { - # Avoid aborting on the doc tarball - if use verify-sig ; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - - default -} - -src_prepare() { - cmake_src_prepare - - cp "${FILESDIR}"/ccache-config-3 ccache-config || die - eprefixify ccache-config -} - -src_configure() { - # Mainly used in tests - tc-export CC OBJDUMP - - # Avoid dependency on libstdc++.so. Useful for cases when - # we would like to use ccache to build older gcc which injects - # into ccache locally built (possibly outdated) libstdc++ - # See bug #761220 for examples. - # - # Ideally gcc should not use LD_PRELOAD to avoid this type of failure. - use static-c++ && append-ldflags -static-libstdc++ - - local mycmakeargs=( - -DENABLE_DOCUMENTATION=$(usex doc) - -DENABLE_TESTING=$(usex test) - -DDEPS=LOCAL - -DREDIS_STORAGE_BACKEND=$(usex redis) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - dobin ccache-config - insinto /usr/share/shadowman/tools - newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin" - - # If USE=doc, there'll be newly generated docs which we install instead. - if ! use doc && [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${MY_DOCS_VERSION}-docs/doc/*.[0-8] - fi -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]] ; then - eselect compiler-shadow remove ccache - fi -} - -pkg_postinst() { - if [[ -z ${ROOT} ]] ; then - eselect compiler-shadow update ccache - fi -} diff --git a/dev-util/ccache/ccache-4.8.3.ebuild b/dev-util/ccache/ccache-4.8.3.ebuild deleted file mode 100644 index cb407c7a3ec8..000000000000 --- a/dev-util/ccache/ccache-4.8.3.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# XXX: We don't use CCACHE_* for these vars like we do in e.g. cmake/libabigail/qemu -# because Portage unsets them. Aaaah! -# -# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-ccache-docs -# Set to 1 if prebuilt, 0 if not -# (the construct below is to allow overriding from env for script) -: ${MY_DOCS_PREBUILT:=1} - -MY_DOCS_PREBUILT_DEV=sam -MY_DOCS_VERSION=$(ver_cut 1-2) -# Default to generating docs (inc. man pages) if no prebuilt; overridden later -# See bug #784815 -MY_DOCS_USEFLAG="+doc" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/joelrosdahl.asc -inherit cmake toolchain-funcs flag-o-matic prefix verify-sig - -DESCRIPTION="Fast compiler cache" -HOMEPAGE="https://ccache.dev/" -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz" -SRC_URI+=" verify-sig? ( https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz.asc )" -if [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${MY_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${MY_DOCS_VERSION}-docs.tar.xz )" - MY_DOCS_USEFLAG="doc" -fi - -# https://ccache.dev/license.html -LICENSE="GPL-3+ GPL-3 MIT BSD Boost-1.0 BSD-2 || ( CC0-1.0 Apache-2.0 )" -LICENSE+=" elibc_mingw? ( LGPL-3 ISC PSF-2 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -# Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220 -IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/zstd:= - redis? ( dev-libs/hiredis:= ) -" -RDEPEND=" - ${DEPEND} - dev-util/shadowman - sys-apps/gentoo-functions -" -# Needed for eselect calls in pkg_* -IDEPEND="dev-util/shadowman" - -# clang-specific tests use dev-libs/elfutils to compare objects for equality. -# Let's pull in the dependency unconditionally. -DEPEND+=" test? ( dev-libs/elfutils )" -BDEPEND=" - doc? ( dev-ruby/asciidoctor ) - verify-sig? ( sec-keys/openpgp-keys-joelrosdahl ) -" - -DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch - "${FILESDIR}"/${PN}-4.0-objdump.patch - "${FILESDIR}"/${PN}-4.8-avoid-run-user.patch -) - -src_unpack() { - # Avoid aborting on the doc tarball - if use verify-sig ; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - - default -} - -src_prepare() { - cmake_src_prepare - - cp "${FILESDIR}"/ccache-config-3 ccache-config || die - eprefixify ccache-config -} - -src_configure() { - # Mainly used in tests - tc-export CC OBJDUMP - - # Avoid dependency on libstdc++.so. Useful for cases when - # we would like to use ccache to build older gcc which injects - # into ccache locally built (possibly outdated) libstdc++ - # See bug #761220 for examples. - # - # Ideally gcc should not use LD_PRELOAD to avoid this type of failure. - use static-c++ && append-ldflags -static-libstdc++ - - local mycmakeargs=( - -DENABLE_DOCUMENTATION=$(usex doc) - -DENABLE_TESTING=$(usex test) - -DZSTD_FROM_INTERNET=OFF - -DHIREDIS_FROM_INTERNET=OFF - -DREDIS_STORAGE_BACKEND=$(usex redis) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - dobin ccache-config - insinto /usr/share/shadowman/tools - newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin" - - # If USE=doc, there'll be newly generated docs which we install instead. - if ! use doc && [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${MY_DOCS_VERSION}-docs/doc/*.[0-8] - fi -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]] ; then - eselect compiler-shadow remove ccache - fi -} - -pkg_postinst() { - if [[ -z ${ROOT} ]] ; then - eselect compiler-shadow update ccache - fi -} diff --git a/dev-util/ccache/ccache-4.9.1-r1.ebuild b/dev-util/ccache/ccache-4.9.1-r1.ebuild deleted file mode 100644 index 763fc7a048c4..000000000000 --- a/dev-util/ccache/ccache-4.9.1-r1.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# XXX: We don't use CCACHE_* for these vars like we do in e.g. cmake/libabigail/qemu -# because Portage unsets them. Aaaah! -# -# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-ccache-docs -# Set to 1 if prebuilt, 0 if not -# (the construct below is to allow overriding from env for script) -: ${MY_DOCS_PREBUILT:=1} - -MY_DOCS_PREBUILT_DEV=sam -MY_DOCS_VERSION=$(ver_cut 1-2) -# Default to generating docs (inc. man pages) if no prebuilt; overridden later -# See bug #784815 -MY_DOCS_USEFLAG="+doc" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/joelrosdahl.asc -inherit cmake toolchain-funcs flag-o-matic prefix verify-sig - -DESCRIPTION="Fast compiler cache" -HOMEPAGE="https://ccache.dev/" -SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz" -SRC_URI+=" verify-sig? ( https://github.com/ccache/ccache/releases/download/v${PV}/${P}.tar.xz.asc )" -if [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${MY_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${MY_DOCS_VERSION}-docs.tar.xz )" - MY_DOCS_USEFLAG="doc" -fi - -# https://ccache.dev/license.html -LICENSE="GPL-3+ GPL-3 MIT BSD Boost-1.0 BSD-2 || ( CC0-1.0 Apache-2.0 )" -LICENSE+=" elibc_mingw? ( LGPL-3 ISC PSF-2 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -# Enable 'static-c++' by default to make 'gcc' ebuild Just Work: bug #761220 -IUSE="${MY_DOCS_USEFLAG} redis +static-c++ test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/zstd:= - redis? ( dev-libs/hiredis:= ) -" -RDEPEND=" - ${DEPEND} - dev-util/shadowman - sys-apps/gentoo-functions -" -# Needed for eselect calls in pkg_* -IDEPEND="dev-util/shadowman" - -# clang-specific tests use dev-libs/elfutils to compare objects for equality. -# Let's pull in the dependency unconditionally. -DEPEND+=" test? ( dev-libs/elfutils )" -BDEPEND=" - doc? ( dev-ruby/asciidoctor ) - verify-sig? ( sec-keys/openpgp-keys-joelrosdahl ) -" - -DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch - "${FILESDIR}"/${PN}-4.0-objdump.patch - "${FILESDIR}"/${PN}-4.9-avoid-run-user.patch - "${FILESDIR}"/${P}-distcc.patch -) - -src_unpack() { - # Avoid aborting on the doc tarball - if use verify-sig ; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - - default -} - -src_prepare() { - cmake_src_prepare - - cp "${FILESDIR}"/ccache-config-3 ccache-config || die - eprefixify ccache-config -} - -src_configure() { - # Mainly used in tests - tc-export CC OBJDUMP - - # Avoid dependency on libstdc++.so. Useful for cases when - # we would like to use ccache to build older gcc which injects - # into ccache locally built (possibly outdated) libstdc++ - # See bug #761220 for examples. - # - # Ideally gcc should not use LD_PRELOAD to avoid this type of failure. - use static-c++ && append-ldflags -static-libstdc++ - - local mycmakeargs=( - -DENABLE_DOCUMENTATION=$(usex doc) - -DENABLE_TESTING=$(usex test) - -DZSTD_FROM_INTERNET=OFF - -DHIREDIS_FROM_INTERNET=OFF - -DREDIS_STORAGE_BACKEND=$(usex redis) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - dobin ccache-config - insinto /usr/share/shadowman/tools - newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin" - - # If USE=doc, there'll be newly generated docs which we install instead. - if ! use doc && [[ ${MY_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${MY_DOCS_VERSION}-docs/doc/*.[0-8] - fi -} - -pkg_prerm() { - if [[ -z ${REPLACED_BY_VERSION} && -z ${ROOT} ]] ; then - eselect compiler-shadow remove ccache - fi -} - -pkg_postinst() { - if [[ -z ${ROOT} ]] ; then - eselect compiler-shadow update ccache - fi -} diff --git a/dev-util/ccache/files/ccache-4.10-blake3.patch b/dev-util/ccache/files/ccache-4.10-blake3.patch deleted file mode 100644 index 5789051200eb..000000000000 --- a/dev-util/ccache/files/ccache-4.10-blake3.patch +++ /dev/null @@ -1,79 +0,0 @@ -https://github.com/ccache/ccache/pull/1464 - -From d159306db8398da233df6481ac3fd83460ef0f0b Mon Sep 17 00:00:00 2001 -From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> -Date: Thu, 30 May 2024 19:26:41 +0800 -Subject: [PATCH 1/4] Fix detection of system blake3 - -The existing code mistakenly always rejects the system version as too old because it doesn't parse the version from the header correctly. - -This change fixes that. ---- a/cmake/FindBlake3.cmake -+++ b/cmake/FindBlake3.cmake -@@ -8,7 +8,7 @@ else() - find_library(BLAKE3_LIBRARY blake3) - if(BLAKE3_INCLUDE_DIR) - file(READ "${BLAKE3_INCLUDE_DIR}/blake3.h" _blake3_h) -- string(REGEX MATCH "#define _blake3_version_string \"([0-9]+).([0-9]+).*([0-9]+)\"" _ "${_blake3_h}") -+ string(REGEX MATCH "#define BLAKE3_VERSION_STRING \"([0-9]+).([0-9]+).*([0-9]+)\"" _ "${_blake3_h}") - set(_blake3_version_string "${CMAKE_MATCH_1}.${CMAKE_MATCH_2}.${CMAKE_MATCH_3}") - if(NOT "${CMAKE_MATCH_0}" STREQUAL "" AND "${_blake3_version_string}" VERSION_GREATER_EQUAL "${Blake3_FIND_VERSION}") - if(BLAKE3_LIBRARY) - -From fa4046966e71011587364b0241255130b62858fb Mon Sep 17 00:00:00 2001 -From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> -Date: Thu, 30 May 2024 19:43:11 +0800 -Subject: [PATCH 2/4] Fix blake3 include in Hash.hpp - -System installations of blake3 install the `blake3.h` header directly into the `include` directory and not into a `blake3` subdirectory. ---- a/src/ccache/Hash.hpp -+++ b/src/ccache/Hash.hpp -@@ -21,7 +21,7 @@ - #include <ccache/util/PathString.hpp> - #include <ccache/util/conversion.hpp> - --#include <blake3/blake3.h> -+#include <blake3.h> - #include <nonstd/span.hpp> - #include <tl/expected.hpp> - - -From 36f8eeea1cb986440f51c1eee9db563493103462 Mon Sep 17 00:00:00 2001 -From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> -Date: Thu, 30 May 2024 19:44:53 +0800 -Subject: [PATCH 3/4] Fix include path for bundled blake3 - -We modified the include directive for `blake3.h` in `Hash.hpp`, so we need this in order for builds that use the bundled blake3 to keep working. ---- a/src/third_party/blake3/CMakeLists.txt -+++ b/src/third_party/blake3/CMakeLists.txt -@@ -7,7 +7,7 @@ add_library( - "${CMAKE_CURRENT_SOURCE_DIR}/blake3/blake3_portable.c" - ) - --target_include_directories(dep_blake3 INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}") -+target_include_directories(dep_blake3 INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/blake3") - target_link_libraries(dep_blake3 PRIVATE standard_settings) - - if(MSVC) - -From 8cc68bc6f3ec8dadcb6a1244c76d865536f91be7 Mon Sep 17 00:00:00 2001 -From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> -Date: Thu, 30 May 2024 19:52:59 +0800 -Subject: [PATCH 4/4] Fix `clang-format` failure - ---- a/src/ccache/Hash.hpp -+++ b/src/ccache/Hash.hpp -@@ -21,10 +21,11 @@ - #include <ccache/util/PathString.hpp> - #include <ccache/util/conversion.hpp> - --#include <blake3.h> - #include <nonstd/span.hpp> - #include <tl/expected.hpp> - -+#include <blake3.h> -+ - #include <array> - #include <cstdint> - #include <cstdio> - diff --git a/dev-util/ccache/files/ccache-4.10-libfmt11.patch b/dev-util/ccache/files/ccache-4.10-libfmt11.patch deleted file mode 100644 index 37ed2167611a..000000000000 --- a/dev-util/ccache/files/ccache-4.10-libfmt11.patch +++ /dev/null @@ -1,85 +0,0 @@ - -Patch from: -https://github.com/ccache/ccache/commit/71f772e9d3d4f8045cfa7bccd03bd21c1e8fbef1 - -From db136b6819d95bb53582e4fea8c328029c8f5681 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= <holger@applied-asynchrony.com> -Date: Tue, 2 Jul 2024 12:53:04 +0200 -Subject: [PATCH] build: Try harder to determine FMT_VERSION - -fmt-11.0 moved the FMT_VERSION from core.h to base.h, so try the -new header first and then fall back to the old one. - -Closes: #1477 ---- - cmake/FindFmt.cmake | 14 +++++++++++--- - 1 file changed, 11 insertions(+), 3 deletions(-) - -diff --git a/cmake/FindFmt.cmake b/cmake/FindFmt.cmake -index 55126a3172..0619f4615e 100644 ---- a/cmake/FindFmt.cmake -+++ b/cmake/FindFmt.cmake -@@ -3,11 +3,19 @@ mark_as_advanced(FMT_INCLUDE_DIR FMT_LIBRARY) - if(DEP_FMT STREQUAL "BUNDLED") - message(STATUS "Using bundled Fmt as requested") - else() -- find_path(FMT_INCLUDE_DIR fmt/core.h) -+ find_path(FMT_INCLUDE_DIR fmt/base.h fmt/core.h) - find_library(FMT_LIBRARY fmt) - if(FMT_INCLUDE_DIR AND FMT_LIBRARY) -- file(READ "${FMT_INCLUDE_DIR}/fmt/core.h" _fmt_core_h) -- string(REGEX MATCH "#define FMT_VERSION ([0-9]+)" _ "${_fmt_core_h}") -+ file(READ "${FMT_INCLUDE_DIR}/fmt/base.h" _fmt_base_h) -+ string(REGEX MATCH "#define FMT_VERSION ([0-9]+)" _ "${_fmt_base_h}") -+ if("${CMAKE_MATCH_0}" STREQUAL "") -+ file(READ "${FMT_INCLUDE_DIR}/fmt/core.h" _fmt_core_h) -+ string(REGEX MATCH "#define FMT_VERSION ([0-9]+)" _ "${_fmt_core_h}") -+ endif() -+ if("${CMAKE_MATCH_0}" STREQUAL "") -+ message(FATAL_ERROR "FMT_VERSION not found") -+ return() -+ endif() - math(EXPR _fmt_major "${CMAKE_MATCH_1} / 10000") - math(EXPR _fmt_minor "${CMAKE_MATCH_1} / 100 % 100") - math(EXPR _fmt_patch "${CMAKE_MATCH_1} % 100") - -Patch from: -https://github.com/ccache/ccache/commit/3b09afc5f792f0bd0a15cf6b8408ea40eb069787 - -From 3b09afc5f792f0bd0a15cf6b8408ea40eb069787 Mon Sep 17 00:00:00 2001 -From: Joel Rosdahl <joel@rosdahl.net> -Date: Tue, 2 Jul 2024 17:05:43 +0200 -Subject: [PATCH] build: Fix detection of Fmt version for Fmt<11 - -Fixes regression in 71f772e9d3d4f8045cfa7bccd03bd21c1e8fbef1. ---- - cmake/FindFmt.cmake | 13 +++++++------ - 1 file changed, 7 insertions(+), 6 deletions(-) - -diff --git a/cmake/FindFmt.cmake b/cmake/FindFmt.cmake -index 0619f4615e..7c39291eca 100644 ---- a/cmake/FindFmt.cmake -+++ b/cmake/FindFmt.cmake -@@ -3,15 +3,16 @@ mark_as_advanced(FMT_INCLUDE_DIR FMT_LIBRARY) - if(DEP_FMT STREQUAL "BUNDLED") - message(STATUS "Using bundled Fmt as requested") - else() -- find_path(FMT_INCLUDE_DIR fmt/base.h fmt/core.h) -+ find_path(FMT_INCLUDE_DIR NAMES fmt/base.h fmt/core.h) - find_library(FMT_LIBRARY fmt) - if(FMT_INCLUDE_DIR AND FMT_LIBRARY) -- file(READ "${FMT_INCLUDE_DIR}/fmt/base.h" _fmt_base_h) -- string(REGEX MATCH "#define FMT_VERSION ([0-9]+)" _ "${_fmt_base_h}") -- if("${CMAKE_MATCH_0}" STREQUAL "") -- file(READ "${FMT_INCLUDE_DIR}/fmt/core.h" _fmt_core_h) -- string(REGEX MATCH "#define FMT_VERSION ([0-9]+)" _ "${_fmt_core_h}") -+ if(EXISTS "${FMT_INCLUDE_DIR}/fmt/base.h") -+ set(_fmt_h base.h) -+ else() -+ set(_fmt_h core.h) - endif() -+ file(READ "${FMT_INCLUDE_DIR}/fmt/${_fmt_h}" _fmt_h_content) -+ string(REGEX MATCH "#define FMT_VERSION ([0-9]+)" _ "${_fmt_h_content}") - if("${CMAKE_MATCH_0}" STREQUAL "") - message(FATAL_ERROR "FMT_VERSION not found") - return() diff --git a/dev-util/ccache/files/ccache-4.10-unittest-httplib.patch b/dev-util/ccache/files/ccache-4.10-unittest-httplib.patch deleted file mode 100644 index 2c466013c219..000000000000 --- a/dev-util/ccache/files/ccache-4.10-unittest-httplib.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/ccache/ccache/pull/1465 -https://github.com/ccache/ccache/commit/a641e5ea3087752af71e60690dcf3ed3c1dbc56a - -From a641e5ea3087752af71e60690dcf3ed3c1dbc56a Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sat, 8 Jun 2024 15:11:48 +0100 -Subject: [PATCH] build: Find CppHttplib named libhttplib.so as well (#1465) - -On Gentoo, the library name is 'httplib', not 'cpp-httplib'. Search -for that first (as it appears to be "more vanilla"), then fall back -to 'cpp-httplib'. ---- a/cmake/FindCppHttplib.cmake -+++ b/cmake/FindCppHttplib.cmake -@@ -12,7 +12,11 @@ else() - if(NOT "${CMAKE_MATCH_0}" STREQUAL "" AND "${_cpphttplib_version_string}" VERSION_GREATER_EQUAL "${CppHttplib_FIND_VERSION}") - # Some dists like Fedora package cpp-httplib as a single header while some - # dists like Debian package it as a traditional library. -- find_library(CPPHTTPLIB_LIBRARY cpp-httplib) -+ find_library(CPPHTTPLIB_LIBRARY httplib) -+ if(NOT CPPHTTPLIB_LIBRARY) -+ find_library(CPPHTTPLIB_LIBRARY cpp-httplib) -+ endif() -+ - if(CPPHTTPLIB_LIBRARY) - message(STATUS "Using system CppHttplib (${CPPHTTPLIB_LIBRARY})") - add_library(dep_cpphttplib UNKNOWN IMPORTED) diff --git a/dev-util/ccache/files/ccache-4.8-avoid-run-user.patch b/dev-util/ccache/files/ccache-4.8-avoid-run-user.patch deleted file mode 100644 index 51371464509c..000000000000 --- a/dev-util/ccache/files/ccache-4.8-avoid-run-user.patch +++ /dev/null @@ -1,34 +0,0 @@ -Gentoo's sandbox does not whitelist this path by default yet. - -(4.1 update: -https://github.com/ccache/ccache/issues/984 -https://github.com/ccache/ccache/issues/1044 -https://github.com/ccache/ccache/commit/a0edd4294f6a5a2d3f0c7b01273736f975f250e1 -https://github.com/ccache/ccache/commit/ef2e922f9642f943199138447b29ec53fa63ea68 -... gets us closer, but not there yet.) - -And see https://github.com/ccache/ccache/discussions/1086#discussioncomment-3327565. - -https://bugs.gentoo.org/837362 for 4.6 issue. -https://bugs.gentoo.org/883799 and https://bugs.gentoo.org/887019 fo 4.8 issue. ---- a/src/Config.cpp -+++ b/src/Config.cpp -@@ -1147,17 +1147,5 @@ Config::check_key_tables_consistency() - std::string - Config::default_temporary_dir() const - { -- static const std::string run_user_tmp_dir = [] { --#ifndef _WIN32 -- const char* const xdg_runtime_dir = getenv("XDG_RUNTIME_DIR"); -- if (xdg_runtime_dir && Stat::stat(xdg_runtime_dir).is_directory()) { -- auto dir = FMT("{}/ccache-tmp", xdg_runtime_dir); -- if (Util::create_dir(dir) && access(dir.c_str(), W_OK) == 0) { -- return dir; -- } -- } --#endif -- return std::string(); -- }(); -- return !run_user_tmp_dir.empty() ? run_user_tmp_dir : m_cache_dir + "/tmp"; -+ return m_cache_dir + "/tmp"; - } diff --git a/dev-util/ccache/files/ccache-4.9-avoid-run-user.patch b/dev-util/ccache/files/ccache-4.9-avoid-run-user.patch deleted file mode 100644 index ccce18b9d573..000000000000 --- a/dev-util/ccache/files/ccache-4.9-avoid-run-user.patch +++ /dev/null @@ -1,34 +0,0 @@ -Gentoo's sandbox does not whitelist this path by default yet. - -(4.1 update: -https://github.com/ccache/ccache/issues/984 -https://github.com/ccache/ccache/issues/1044 -https://github.com/ccache/ccache/commit/a0edd4294f6a5a2d3f0c7b01273736f975f250e1 -https://github.com/ccache/ccache/commit/ef2e922f9642f943199138447b29ec53fa63ea68 -... gets us closer, but not there yet.) - -And see https://github.com/ccache/ccache/discussions/1086#discussioncomment-3327565. - -https://bugs.gentoo.org/837362 for 4.6 issue. -https://bugs.gentoo.org/883799 and https://bugs.gentoo.org/887019 fo 4.8 issue. ---- a/src/Config.cpp -+++ b/src/Config.cpp -@@ -1194,17 +1194,5 @@ Config::check_key_tables_consistency() - std::string - Config::default_temporary_dir() const - { -- static const std::string run_user_tmp_dir = [] { --#ifndef _WIN32 -- const char* const xdg_runtime_dir = getenv("XDG_RUNTIME_DIR"); -- if (xdg_runtime_dir && DirEntry(xdg_runtime_dir).is_directory()) { -- auto dir = FMT("{}/ccache-tmp", xdg_runtime_dir); -- if (fs::create_directories(dir) && access(dir.c_str(), W_OK) == 0) { -- return dir; -- } -- } --#endif -- return std::string(); -- }(); -- return !run_user_tmp_dir.empty() ? run_user_tmp_dir : m_cache_dir + "/tmp"; -+ return m_cache_dir + "/tmp"; - } diff --git a/dev-util/ccache/files/ccache-4.9.1-distcc.patch b/dev-util/ccache/files/ccache-4.9.1-distcc.patch deleted file mode 100644 index 412e2562ae76..000000000000 --- a/dev-util/ccache/files/ccache-4.9.1-distcc.patch +++ /dev/null @@ -1,38 +0,0 @@ -https://bugs.gentoo.org/927740 -https://github.com/ccache/ccache/issues/1406 -https://github.com/ccache/ccache/commit/33d390bb249ddf1a6b3bdecede71b12c70000da3 - -From 33d390bb249ddf1a6b3bdecede71b12c70000da3 Mon Sep 17 00:00:00 2001 -From: Joel Rosdahl <joel@rosdahl.net> -Date: Wed, 21 Feb 2024 20:25:03 +0100 -Subject: [PATCH] fix: Allow nonexistent include files in preprocessor mode - -After 43c3a44aadcb nonexistent include files found in the preprocessed -output would increment "Could not read or parse input file" and fall -back to just running the compiler. This made ccache not attempt -preprocessor mode for generated code with #line header referencing files -that can't be found, e.g. in an out-of-source build scenario. - -Fix this by just disabling direct mode, restoring the pre-43c3a44aadcb -behavior in such cases. - -Fixes #1406. - -(cherry picked from commit 08da6cd4da41fa213d387f52e3cf1d1f2a42366b) ---- a/src/ccache.cpp -+++ b/src/ccache.cpp -@@ -352,7 +352,12 @@ remember_include_file(Context& ctx, - - DirEntry dir_entry(path, DirEntry::LogOnError::yes); - if (!dir_entry.exists()) { -- return tl::unexpected(Statistic::bad_input_file); -+ if (ctx.config.direct_mode()) { -+ LOG("Include file {} does not exist, disabling direct mode", -+ dir_entry.path()); -+ ctx.config.set_direct_mode(false); -+ } -+ return {}; - } - if (dir_entry.is_directory()) { - // Ignore directory, typically $PWD. - diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index 9088f56bd500..03107f4d4b2a 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1,5 +1,4 @@ DIST conan-2.10.1.gh.tar.gz 1172069 BLAKE2B c239866be7e30defbd787c93fa36d0b629f6f5338975a66d1c824d4038dfb529c97b35e02b74c2c753ce5466f1288e4f4b5ce63cfc5b47ab76e770cecd09fea3 SHA512 223da4ff12d899b39f4c62a4f51b65036acdb6fd8bbf061bdcf790210a38030060cc4a70f009b390fce27fd1f57666286a020cc73c23792aedcd0620bc6ee066 -DIST conan-2.5.0.gh.tar.gz 1105167 BLAKE2B 2a4a3aba324b3aee968dde721e3659470912ce82eada0c9ffc37c4ff0b4c4b78b2927e3e9cde1f52b1104a3f3e8e32b3d7450643a83c14958c035051a63386a1 SHA512 685cafd0d1ba179d84b7e0e37d0ca5ce95e320e025132e62f3a128a68b085eabeff47bbc0b129d5b8cee17f2955014cb4073b7e648d9f9ccf56c1ee377625e18 -DIST conan-2.6.0.gh.tar.gz 1108424 BLAKE2B d9883900e4c09c2332bc6c3a186c2e010cde237d2b20249317ffaee3bfb182620acac7ab40303fd00810d6420a9676155d09693c89fe5c8a8917144ed654bcac SHA512 7deb8498d992fdebacd8ce8bc77e63089c9389200f010f0e099c73beb22c524c2d288ae643cdddc0cb3ec8494c1f7365fa834ec159c015063cc6fa936e6eb312 +DIST conan-2.11.0.gh.tar.gz 1176653 BLAKE2B 6dd03d72ff63a9a772a3c7ae3be6de25e2308235ed95d48c1a9c09075ad1876c2f6c32a8e42febbc2c5f5a0ca559bc83bf88826ed7ad22541f3730c41c4c85e5 SHA512 f0022c2882161ffc360349cffa8039d8f44ec202ebd53b6a77154c13b341430d3d132445b2a1695c9fd10512a27dc707f04a08a6bc0225f2dd08cdd547c2a4bf DIST conan-2.7.1.gh.tar.gz 1125150 BLAKE2B 2ca8279187fd190f391c7c0aa0dea8f449e95b6e05d367b8e0e3bb0b771957fc293f1b07cc25c1b1534bb309cb4bb07f86f26d6a138532abe852102b2df2e68b SHA512 d1ea9393067aeb4492fb588bd5d7084dfa82e2ae3a649a6492041bb479556f6748aa7b1b67dad0b5a671406ce7ff99db402b465b39e165b75240615675cf6a1d DIST conan-2.9.3.gh.tar.gz 1154838 BLAKE2B 3993b3e94e8c4f23a685d0592b0d07fe050e402bbf714f900e6c5fb37d12db5e853088b0c557033251e22a3bf233781a16aca3314002750b526b3cefdc9310db SHA512 4a59a8f7966679ccb3096b2c01100e5e2cdee2a8b46a2a3211cbb9f226ac55a7deaf23ba32f4bb41af2582a0c1de7edbc783689da0003f686f6785fc9adcb62d diff --git a/dev-util/conan/conan-2.6.0.ebuild b/dev-util/conan/conan-2.11.0.ebuild index 41ab5f1334d2..4171d2e20314 100644 --- a/dev-util/conan/conan-2.6.0.ebuild +++ b/dev-util/conan/conan-2.11.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="sqlite" inherit distutils-r1 @@ -23,7 +23,7 @@ RDEPEND=" >=dev-python/distro-1.4.0[${PYTHON_USEDEP}] >=dev-python/fasteners-0.15.0[${PYTHON_USEDEP}] >=dev-python/jinja2-3.0[${PYTHON_USEDEP}] - >=dev-python/patch-ng-1.17.4[${PYTHON_USEDEP}] + >=dev-python/patch-ng-1.18.0[${PYTHON_USEDEP}] >=dev-python/pluginbase-0.5[${PYTHON_USEDEP}] >=dev-python/pyjwt-2.4[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] diff --git a/dev-util/conan/conan-2.5.0.ebuild b/dev-util/conan/conan-2.5.0.ebuild deleted file mode 100644 index 41ab5f1334d2..000000000000 --- a/dev-util/conan/conan-2.5.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) -PYTHON_REQ_USE="sqlite" - -inherit distutils-r1 - -DESCRIPTION="Distributed C/C++ package manager" -HOMEPAGE="https://conan.io/" -SRC_URI="https://github.com/conan-io/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -RDEPEND=" - >=dev-python/bottle-0.12.8[${PYTHON_USEDEP}] - >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] - >=dev-python/distro-1.4.0[${PYTHON_USEDEP}] - >=dev-python/fasteners-0.15.0[${PYTHON_USEDEP}] - >=dev-python/jinja2-3.0[${PYTHON_USEDEP}] - >=dev-python/patch-ng-1.17.4[${PYTHON_USEDEP}] - >=dev-python/pluginbase-0.5[${PYTHON_USEDEP}] - >=dev-python/pyjwt-2.4[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] - >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.25[${PYTHON_USEDEP}] - >=dev-python/urllib3-1.26.6[${PYTHON_USEDEP}] -" - -# Try to fix it if you're brave enough -# Conan requires noumerous external toolchain dependencies with restricted -# versions and cannot be managable outside of a pure CI environment. -RESTRICT="test" - -src_prepare() { - default - # Fix strict dependencies - sed -i \ - -e 's:,[[:space:]]\?<=\?[[:space:]]\?[[:digit:]|.]*::g' \ - -e 's:==:>=:g' \ - conans/requirements{,_server}.txt || die -} diff --git a/dev-util/gource/Manifest b/dev-util/gource/Manifest index e2c020e3213e..0385e6da5ec4 100644 --- a/dev-util/gource/Manifest +++ b/dev-util/gource/Manifest @@ -1,3 +1 @@ -DIST gource-0.53.tar.gz 900932 BLAKE2B 7f2822b11b5eaeb5345ade1326702109dff120d3ef8c523a2425a84b54d357a29cfe23a9c4a253b287d570e74943cb67bb80753c6c698f9f60739735cb41769b SHA512 e4190eb581d9998808d1bb4f18ba5a3ae22bacf643b9a150c7d1607e97fca2eab720592aefdcc6a47f92adb4a8df17db48bb941a67ee3d23a10f300754f473be -DIST gource-0.54.tar.gz 900831 BLAKE2B be0fafa35457532b3cdc5d007ae5935189b60efc415ecd0979b25e4437d39570db90c4ac1883cc6baf7e0d25eeb9c98c2f8b6ec855ef63a874d223af09caa5d9 SHA512 a9fd2ff7c51931a543d4ab6dc85dd4b2c187ecca1be630006bb60ac2507180ccf40561e37f50493e052c839d9f5f896ae8f113fb65844c2fa9bde33fcd6b53e8 DIST gource-0.55.tar.gz 900907 BLAKE2B c2836045e3c556d94ea433d52b6386de08290ad1f6287ab7dbfa6b632cbcd2f557d0365542de108925eeec237086883491ac90ee3439740969c16fda9894b197 SHA512 6df687441fc04e9bdfcf3620ed6b8a8fc1ac5774d21f51afdb0d518339ea1518914db77c90fb457ada899653c491a3b45c340665c3efa28bddeac65eeb334488 diff --git a/dev-util/gource/files/gource-0.53-boost-1.85.patch b/dev-util/gource/files/gource-0.53-boost-1.85.patch deleted file mode 100644 index c7a10da39b63..000000000000 --- a/dev-util/gource/files/gource-0.53-boost-1.85.patch +++ /dev/null @@ -1,26 +0,0 @@ -Bug: https://bugs.gentoo.org/933111 -Patch: https://github.com/acaudwell/Gource/commit/79b967e0dc2a20725568492bc4fcab74a798a089 - -From 79b967e0dc2a20725568492bc4fcab74a798a089 Mon Sep 17 00:00:00 2001 -From: Michael Cho <michael@michaelcho.dev> -Date: Thu, 25 Apr 2024 12:38:56 -0400 -Subject: [PATCH] Fix build with Boost 1.85.0 - -Signed-off-by: Michael Cho <michael@michaelcho.dev> ---- - src/gource_settings.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/gource_settings.cpp b/src/gource_settings.cpp -index 27142599..e1ab42d3 100644 ---- a/src/gource_settings.cpp -+++ b/src/gource_settings.cpp -@@ -833,7 +833,7 @@ void GourceSettings::importGourceSettings(ConfFile& conffile, ConfSection* gourc - #else - dirfile = p.filename().string(); - #endif -- std::string file_ext = extension(p); -+ std::string file_ext = p.extension().string(); - boost::algorithm::to_lower(file_ext); - - if(file_ext != ".jpg" && file_ext != ".jpeg" && file_ext != ".png") continue; diff --git a/dev-util/gource/gource-0.53.ebuild b/dev-util/gource/gource-0.53.ebuild deleted file mode 100644 index 3f0c25d396ef..000000000000 --- a/dev-util/gource/gource-0.53.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="A software version control visualization tool" -HOMEPAGE="https://gource.io/" -SRC_URI="https://github.com/acaudwell/Gource/releases/download/${P}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -COMMON_DEPEND=" - dev-libs/boost:= - >=media-libs/glew-1.5:0= - >=media-libs/libpng-1.2:0= - media-libs/libsdl2[video,opengl,X] - media-libs/sdl2-image[jpeg,png] - dev-libs/libpcre2:= - dev-libs/tinyxml - media-libs/libglvnd[X] - media-libs/freetype:2 - virtual/glu:0 -" -RDEPEND="${COMMON_DEPEND} - media-fonts/freefont -" -DEPEND="${COMMON_DEPEND} - >=media-libs/glm-0.9.3 -" -BDEPEND="virtual/pkgconfig" - -DOCS=( README.md ChangeLog THANKS ) - -PATCHES=( - "${FILESDIR}"/gource-0.53-boost-1.85.patch -) - -src_prepare() { - default - - sed -e "/data\/gource.1/s/^/#/" -i Makefile.am || die - eautoreconf -} - -src_configure() { - # fix bug #386525 - # this enables gource to be compiled against dev-libs/tinyxml[stl] - if has_version dev-libs/tinyxml[stl]; then - append-cppflags -DTIXML_USE_STL; - fi - - econf \ - --enable-ttf-font-dir=/usr/share/fonts/freefont/ \ - --with-tinyxml -} - -src_install() { - default - doman data/gource.1 -} diff --git a/dev-util/gource/gource-0.54.ebuild b/dev-util/gource/gource-0.54.ebuild deleted file mode 100644 index e5cd7e9c8499..000000000000 --- a/dev-util/gource/gource-0.54.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="A software version control visualization tool" -HOMEPAGE="https://gource.io/" -SRC_URI="https://github.com/acaudwell/Gource/releases/download/${P}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -COMMON_DEPEND=" - dev-libs/boost:= - >=media-libs/glew-1.5:0= - >=media-libs/libpng-1.2:0= - media-libs/libsdl2[video,opengl,X] - media-libs/sdl2-image[jpeg,png] - dev-libs/libpcre2:= - dev-libs/tinyxml - media-libs/libglvnd[X] - media-libs/freetype:2 - virtual/glu:0 -" -RDEPEND="${COMMON_DEPEND} - media-fonts/freefont -" -DEPEND="${COMMON_DEPEND} - >=media-libs/glm-0.9.3 -" -BDEPEND="virtual/pkgconfig" - -DOCS=( README.md ChangeLog THANKS ) - -PATCHES=( - "${FILESDIR}"/gource-0.53-boost-1.85.patch -) - -src_prepare() { - default - - sed -e "/data\/gource.1/s/^/#/" -i Makefile.am || die - eautoreconf -} - -src_configure() { - # fix bug #386525 - # this enables gource to be compiled against dev-libs/tinyxml[stl] - if has_version dev-libs/tinyxml[stl]; then - append-cppflags -DTIXML_USE_STL; - fi - - econf \ - --enable-ttf-font-dir=/usr/share/fonts/freefont/ \ - --with-tinyxml -} - -src_install() { - default - doman data/gource.1 -} diff --git a/dev-util/memprof/memprof-0.6.2-r1.ebuild b/dev-util/memprof/memprof-0.6.2-r1.ebuild deleted file mode 100644 index b2216864763e..000000000000 --- a/dev-util/memprof/memprof-0.6.2-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Profiling and leak detection tool" -HOMEPAGE="https://www.secretlabs.de/projects/memprof/" -SRC_URI="https://www.secretlabs.de/projects/memprof/releases/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="nls" - -RDEPEND=" - dev-libs/glib:2 - >=gnome-base/libglade-2 - >=x11-libs/gtk+-2.6:2 - nls? ( virtual/libintl )" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - nls? ( - dev-util/intltool - sys-devel/gettext - )" - -DOCS=( AUTHORS ChangeLog README NEWS ) - -PATCHES=( - "${FILESDIR}"/${P}-binutils.patch - "${FILESDIR}"/${P}-desktop.patch -) - -src_configure() { - econf \ - --disable-static \ - $(use_enable nls) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} |