diff options
Diffstat (limited to 'dev-libs')
1203 files changed, 13363 insertions, 20897 deletions
diff --git a/dev-libs/9libs/9libs-1.0-r4.ebuild b/dev-libs/9libs/9libs-1.0-r4.ebuild deleted file mode 100644 index bb14ac5ccbf..00000000000 --- a/dev-libs/9libs/9libs-1.0-r4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools toolchain-funcs - -DESCRIPTION="A package of Plan 9 compatibility libraries" -HOMEPAGE="https://www.netlib.org/research/9libs/9libs-1.0.README" -SRC_URI="https://www.netlib.org/research/9libs/${P}.tar.bz2" - -LICENSE="PLAN9" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -DEPEND=" - >=x11-libs/libX11-1.0.0 - >=x11-libs/libXt-1.0.0 -" -RDEPEND=" - ${DEPEND} -" -DOCS=( - README -) -PATCHES=( - "${FILESDIR}"/${PN}-va_list.patch # Bug 385387 -) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - tc-export CC - - econf \ - --enable-shared \ - --disable-static \ - --includedir=/usr/include/9libs \ - --with-x -} - -src_install() { - default - - # rename some man pages to avoid collisions with dev-libs/libevent - local f - for f in add balloc bitblt cachechars event frame graphics rgbpix; do - mv "${D}"/usr/share/man/man3/${f}.{3,3g} || die - done - - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/9libs/9libs-1.0-r5.ebuild b/dev-libs/9libs/9libs-1.0-r5.ebuild new file mode 100644 index 00000000000..21a9175d21d --- /dev/null +++ b/dev-libs/9libs/9libs-1.0-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Plan 9 compatibility libraries" +HOMEPAGE="https://netlib.org/research/9libs/9libs-1.0.README" +SRC_URI="https://netlib.org/research/9libs/${P}.tar.bz2" + +LICENSE="PLAN9" +SLOT="0" +KEYWORDS="amd64 ~riscv x86" +RESTRICT="test" # interactive, hangs with virtx and fails without (bug #403539) + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXt" +DEPEND=" + ${DEPEND} + x11-base/xorg-proto" + +PATCHES=( + "${FILESDIR}"/${PN}-va_list.patch # Bug 385387 + "${FILESDIR}"/${P}-clang16.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + append-flags -fno-strict-aliasing #855665 + + local econfargs=( + --enable-shared + --includedir="${EPREFIX}"/usr/include/9libs + --with-x + ) + + econf "${econfargs[@]}" +} + +src_install() { + default + + # rename some man pages to avoid collisions with dev-libs/libevent + local f + for f in add balloc bitblt cachechars event frame graphics rgbpix; do + mv "${ED}"/usr/share/man/man3/${f}.{3,3g} || die + done + + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/dev-libs/9libs/files/9libs-1.0-clang16.patch b/dev-libs/9libs/files/9libs-1.0-clang16.patch new file mode 100644 index 00000000000..237cfc0c70c --- /dev/null +++ b/dev-libs/9libs/files/9libs-1.0-clang16.patch @@ -0,0 +1,8 @@ +https://bugs.gentoo.org/871183 +--- a/libXg/gcs.c ++++ b/libXg/gcs.c +@@ -163,3 +163,3 @@ + static GC gc0, gcn; +- static clipset = 0; ++ static int clipset = 0; + GC g; diff --git a/dev-libs/FBGEMM/FBGEMM-2022.01.13-r1.ebuild b/dev-libs/FBGEMM/FBGEMM-2022.01.13-r1.ebuild index 6f20c2c9040..a505928cb56 100644 --- a/dev-libs/FBGEMM/FBGEMM-2022.01.13-r1.ebuild +++ b/dev-libs/FBGEMM/FBGEMM-2022.01.13-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-any-r1 flag-o-matic cmake CommitId=135412d2646f3bd753c8f1cfd33616110bbccd27 diff --git a/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild b/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild index c707cf7f635..9a2f09a92e4 100644 --- a/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild +++ b/dev-libs/FBGEMM/FBGEMM-2022.07.16.ebuild @@ -1,9 +1,9 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit python-any-r1 flag-o-matic cmake CommitId=7d59e803359eb323598e572700db27de467b705a diff --git a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild index 1673b468cb7..b9dca4b566b 100644 --- a/dev-libs/FP16/FP16-2021.03.20-r2.ebuild +++ b/dev-libs/FP16/FP16-2021.03.20-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{9,10} ) inherit python-r1 cmake CommitId=0a92994d729ff76a58f692d3028ca1b64b145d91 @@ -53,6 +53,6 @@ python_install() { src_install() { cmake_src_install - rm "${D}"/usr/include/fp16/*.py || die + rm "${ED}"/usr/include/fp16/*.py || die python_foreach_impl python_install } diff --git a/dev-libs/Ice/Ice-3.6.5-r2.ebuild b/dev-libs/Ice/Ice-3.6.5-r2.ebuild index 24cac8c5725..d7ea1ea0d53 100644 --- a/dev-libs/Ice/Ice-3.6.5-r2.ebuild +++ b/dev-libs/Ice/Ice-3.6.5-r2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..10} ) RUBY_OPTIONAL="yes" USE_RUBY="ruby27" diff --git a/dev-libs/Ice/Ice-3.7.8-r1.ebuild b/dev-libs/Ice/Ice-3.7.8-r1.ebuild new file mode 100644 index 00000000000..40345ee3fab --- /dev/null +++ b/dev-libs/Ice/Ice-3.7.8-r1.ebuild @@ -0,0 +1,258 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +RUBY_OPTIONAL="yes" +USE_RUBY="ruby30" + +PHP_EXT_NAME="IcePHP" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +PHP_EXT_OPTIONAL_USE=php + +USE_PHP="php8-0 php8-1 php8-2" + +inherit php-ext-source-r3 python-r1 ruby-ng toolchain-funcs + +DESCRIPTION="ICE middleware C++ library and generator tools" +HOMEPAGE="https://zeroc.com/products/ice" +SRC_URI="https://github.com/zeroc-ice/ice/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://download.zeroc.com/Ice/$(ver_cut 1-2)/${PN}-3.7.1.pdf )" +LICENSE="GPL-2" +SLOT="0/37" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="debug doc examples php python ruby test" +RESTRICT="test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=app-arch/bzip2-1.0.5 + >=dev-libs/expat-2.0.1 + dev-libs/libedit + dev-cpp/libmcpp + dev-db/lmdb:= + dev-libs/openssl:0= + virtual/libcrypt:= + python? ( ${PYTHON_DEPS} ) + ruby? ( $(ruby_implementation_depend ruby30) )" +DEPEND="${RDEPEND} + test? ( + ${PYTHON_DEPS} + dev-python/passlib[${PYTHON_USEDEP}] + )" + +# Maintainer notes: +# TODO: java bindings + +S="${WORKDIR}/${P,}" +PHP_EXT_S="${S}/php" + +PATCHES=( + "${FILESDIR}/${P}-fix-musl-build.patch" + "${FILESDIR}/${P}-py3k11.patch" +) + +pkg_setup() { + # prevent ruby-ng.eclass from messing with pkg_setup + return +} + +src_unpack() { + # prevent ruby-ng.eclass from messing with src_unpack + default +} + +src_prepare() { + default + + sed -i \ + -e 's|-Werror ||g' \ + config/Make.rules.Linux || die + + # fix for x86 IceBox test + sed -i \ + -e 's|"32"|""|' \ + scripts/IceBoxUtil.py || die + + if use !test; then + # Disable building tests + sed -i \ + -e 's|include \$(top_srcdir)/config/Make.tests.rules||' \ + config/Make.rules || die + fi +} + +src_configure() { + MAKE_RULES=( + "embedded_runpath_prefix=\"${EPREFIX}/usr\"" + "OPTIMIZE=$(usex !debug)" + "V=1" + ) + + if use python; then + local S="${S}/python" + python_copy_sources + fi + + if use ruby; then + SITERUBY="$(ruby30 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" + SITERUBYARCH="$(ruby30 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')" + MAKE_RULES_RUBY=( + "install_rubydir=\"${EPREFIX}/${SITERUBY}\"" + "install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\"" + ) + + # make it use ruby30 only + sed -i \ + -e 's|RUBY ?= ruby|\030|' \ + ruby/config/Make.rules || die + sed -i \ + -e 's|env ruby|\030|' \ + ruby/config/s2rb.rb || die + sed -i \ + -e 's|env ruby|\030|' \ + ruby/scripts/slice2rb || die + fi + + use test && python_setup +} + +src_compile() { + # Do not remove this export or build will break! + tc-export CXX + + emake -C cpp "${MAKE_RULES[@]}" + + if use php; then + local i + for i in $(php_get_slots); do + mkdir -p "${WORKDIR}/${i}" || die + cp -r "${PHP_EXT_S}" "${WORKDIR}/${i}/" || die "Failed to copy source ${PHP_EXT_S} to PHP target directory" + + pushd "${WORKDIR}/${i}" >/dev/null || die + ln -s "${S}/cpp" || die + ln -s "${S}/config" || die + ln -s "${S}/slice" || die + ln -s "${S}/Makefile" || die + + emake -C php "${MAKE_RULES[@]}" "PHP_CONFIG=\"${EPREFIX}/usr/$(get_libdir)/${i}/bin/php-config\"" + popd >/dev/null || die + done + fi + + if use python; then + building() { + emake -C "${BUILD_DIR}" "${MAKE_RULES[@]}" PYTHON="${EPYTHON}" + } + local S="${S}/python" + python_foreach_impl building + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" + fi +} + +src_test() { + local -x LD_LIBRARY_PATH="${S}/cpp/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + emake -C cpp "${MAKE_RULES[@]}" test + + # php tests require the extension loaded and are therefore skipped + + if use python; then + testing() { + PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + PYTHON="${EPYTHON}" \ + install_pythondir="\"$(python_get_sitedir)\"" \ + install_libdir="\"$(python_get_sitedir)\"" test + } + local S="${S}/python" + python_foreach_impl testing + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" test + fi +} + +src_install() { + local DOCS=( CHANGELOG*.md README.md ) + use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" ) + einstalldocs + + MAKE_RULES_INSTALL=( + "prefix=\"${ED}/usr\"" + "install_docdir=\"${ED}/usr/share/doc/${PF}\"" + "install_configdir=\"${ED}/usr/share/${P}/config\"" + "install_mandir=\"${ED}/usr/share/man/man1\"" + ) + + insinto /usr/share/${P} + doins -r slice + + emake -C cpp "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" install + + if use examples; then + docinto examples-cpp + dodoc cpp/config/*.cfg + docompress -x /usr/share/doc/${PF}/examples-cpp + fi + + if use php; then + insinto "/usr/share/php/${PN}" + + local i + while IFS="" read -d $'\0' -r i; do + doins "${i}" + done < <(find "${S}/php/lib/" -name '*.php' -print0) + + pushd "${ED}/usr/share/${P}/slice" >/dev/null || die + + local -x LD_LIBRARY_PATH="${ED}/usr/$(get_libdir):${LD_LIBRARY_PATH}" + for i in *; do + mkdir -p "${ED}/usr/share/php/${i}" || die + "${ED}"/usr/bin/slice2php \ + -I"${ED}/usr/share/${P}/slice/" --all \ + --output-dir "${ED}/usr/share/php/${i}" \ + --ice "${ED}/usr/share/${P}/slice/${i}"/* + done + + for i in $(php_get_slots); do + php_init_slot_env "${i}" + insinto "${EXT_DIR}" + newins "php/lib/ice.so" "${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + + popd >/dev/null || die + fi + + if use python; then + installation() { + mkdir -p "${D}/$(python_get_sitedir)" || die + + emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + "${MAKE_RULES_INSTALL[@]}" \ + install_pythondir="\"${D}/$(python_get_sitedir)\"" \ + install_libdir="\"${D}/$(python_get_sitedir)\"" \ + install + python_optimize + } + local S="${S}/python" + python_foreach_impl installation + fi + + if use ruby; then + MAKE_RULES_RUBY=( + "install_rubydir=\"${ED}/${SITERUBY}\"" + "install_rubylibdir=\"${ED}/${SITERUBYARCH}\"" + ) + dodir "${SITERUBY}" + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" "${MAKE_RULES_RUBY[@]}" install + fi +} diff --git a/dev-libs/Ice/Ice-3.7.8-r2.ebuild b/dev-libs/Ice/Ice-3.7.8-r2.ebuild new file mode 100644 index 00000000000..d5b02cf406b --- /dev/null +++ b/dev-libs/Ice/Ice-3.7.8-r2.ebuild @@ -0,0 +1,258 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +RUBY_OPTIONAL="yes" +USE_RUBY="ruby31" + +PHP_EXT_NAME="IcePHP" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +PHP_EXT_OPTIONAL_USE=php + +USE_PHP="php8-0 php8-1 php8-2" + +inherit php-ext-source-r3 python-r1 ruby-ng toolchain-funcs + +DESCRIPTION="ICE middleware C++ library and generator tools" +HOMEPAGE="https://zeroc.com/products/ice" +SRC_URI="https://github.com/zeroc-ice/ice/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://download.zeroc.com/Ice/$(ver_cut 1-2)/${PN}-3.7.1.pdf )" +LICENSE="GPL-2" +SLOT="0/37" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="debug doc examples php python ruby test" +RESTRICT="test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=app-arch/bzip2-1.0.5 + >=dev-libs/expat-2.0.1 + dev-libs/libedit + dev-cpp/libmcpp + dev-db/lmdb:= + dev-libs/openssl:0= + virtual/libcrypt:= + python? ( ${PYTHON_DEPS} ) + ruby? ( $(ruby_implementation_depend ruby31) )" +DEPEND="${RDEPEND} + test? ( + ${PYTHON_DEPS} + dev-python/passlib[${PYTHON_USEDEP}] + )" + +# Maintainer notes: +# TODO: java bindings + +S="${WORKDIR}/${P,}" +PHP_EXT_S="${S}/php" + +PATCHES=( + "${FILESDIR}/${P}-fix-musl-build.patch" + "${FILESDIR}/${P}-py3k11.patch" +) + +pkg_setup() { + # prevent ruby-ng.eclass from messing with pkg_setup + return +} + +src_unpack() { + # prevent ruby-ng.eclass from messing with src_unpack + default +} + +src_prepare() { + default + + sed -i \ + -e 's|-Werror ||g' \ + config/Make.rules.Linux || die + + # fix for x86 IceBox test + sed -i \ + -e 's|"32"|""|' \ + scripts/IceBoxUtil.py || die + + if use !test; then + # Disable building tests + sed -i \ + -e 's|include \$(top_srcdir)/config/Make.tests.rules||' \ + config/Make.rules || die + fi +} + +src_configure() { + MAKE_RULES=( + "embedded_runpath_prefix=\"${EPREFIX}/usr\"" + "OPTIMIZE=$(usex !debug)" + "V=1" + ) + + if use python; then + local S="${S}/python" + python_copy_sources + fi + + if use ruby; then + SITERUBY="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" + SITERUBYARCH="$(ruby31 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')" + MAKE_RULES_RUBY=( + "install_rubydir=\"${EPREFIX}/${SITERUBY}\"" + "install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\"" + ) + + # make it use ruby31 only + sed -i \ + -e 's|RUBY ?= ruby|\031|' \ + ruby/config/Make.rules || die + sed -i \ + -e 's|env ruby|\031|' \ + ruby/config/s2rb.rb || die + sed -i \ + -e 's|env ruby|\031|' \ + ruby/scripts/slice2rb || die + fi + + use test && python_setup +} + +src_compile() { + # Do not remove this export or build will break! + tc-export CXX + + emake -C cpp "${MAKE_RULES[@]}" + + if use php; then + local i + for i in $(php_get_slots); do + mkdir -p "${WORKDIR}/${i}" || die + cp -r "${PHP_EXT_S}" "${WORKDIR}/${i}/" || die "Failed to copy source ${PHP_EXT_S} to PHP target directory" + + pushd "${WORKDIR}/${i}" >/dev/null || die + ln -s "${S}/cpp" || die + ln -s "${S}/config" || die + ln -s "${S}/slice" || die + ln -s "${S}/Makefile" || die + + emake -C php "${MAKE_RULES[@]}" "PHP_CONFIG=\"${EPREFIX}/usr/$(get_libdir)/${i}/bin/php-config\"" + popd >/dev/null || die + done + fi + + if use python; then + building() { + emake -C "${BUILD_DIR}" "${MAKE_RULES[@]}" PYTHON="${EPYTHON}" + } + local S="${S}/python" + python_foreach_impl building + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" + fi +} + +src_test() { + local -x LD_LIBRARY_PATH="${S}/cpp/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + emake -C cpp "${MAKE_RULES[@]}" test + + # php tests require the extension loaded and are therefore skipped + + if use python; then + testing() { + PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + PYTHON="${EPYTHON}" \ + install_pythondir="\"$(python_get_sitedir)\"" \ + install_libdir="\"$(python_get_sitedir)\"" test + } + local S="${S}/python" + python_foreach_impl testing + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" test + fi +} + +src_install() { + local DOCS=( CHANGELOG*.md README.md ) + use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" ) + einstalldocs + + MAKE_RULES_INSTALL=( + "prefix=\"${ED}/usr\"" + "install_docdir=\"${ED}/usr/share/doc/${PF}\"" + "install_configdir=\"${ED}/usr/share/${P}/config\"" + "install_mandir=\"${ED}/usr/share/man/man1\"" + ) + + insinto /usr/share/${P} + doins -r slice + + emake -C cpp "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" install + + if use examples; then + docinto examples-cpp + dodoc cpp/config/*.cfg + docompress -x /usr/share/doc/${PF}/examples-cpp + fi + + if use php; then + insinto "/usr/share/php/${PN}" + + local i + while IFS="" read -d $'\0' -r i; do + doins "${i}" + done < <(find "${S}/php/lib/" -name '*.php' -print0) + + pushd "${ED}/usr/share/${P}/slice" >/dev/null || die + + local -x LD_LIBRARY_PATH="${ED}/usr/$(get_libdir):${LD_LIBRARY_PATH}" + for i in *; do + mkdir -p "${ED}/usr/share/php/${i}" || die + "${ED}"/usr/bin/slice2php \ + -I"${ED}/usr/share/${P}/slice/" --all \ + --output-dir "${ED}/usr/share/php/${i}" \ + --ice "${ED}/usr/share/${P}/slice/${i}"/* + done + + for i in $(php_get_slots); do + php_init_slot_env "${i}" + insinto "${EXT_DIR}" + newins "php/lib/ice.so" "${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + + popd >/dev/null || die + fi + + if use python; then + installation() { + mkdir -p "${D}/$(python_get_sitedir)" || die + + emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + "${MAKE_RULES_INSTALL[@]}" \ + install_pythondir="\"${D}/$(python_get_sitedir)\"" \ + install_libdir="\"${D}/$(python_get_sitedir)\"" \ + install + python_optimize + } + local S="${S}/python" + python_foreach_impl installation + fi + + if use ruby; then + MAKE_RULES_RUBY=( + "install_rubydir=\"${ED}/${SITERUBY}\"" + "install_rubylibdir=\"${ED}/${SITERUBYARCH}\"" + ) + dodir "${SITERUBY}" + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" "${MAKE_RULES_RUBY[@]}" install + fi +} diff --git a/dev-libs/Ice/Ice-3.7.8.ebuild b/dev-libs/Ice/Ice-3.7.8.ebuild new file mode 100644 index 00000000000..a512d98ba71 --- /dev/null +++ b/dev-libs/Ice/Ice-3.7.8.ebuild @@ -0,0 +1,258 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +RUBY_OPTIONAL="yes" +USE_RUBY="ruby27" + +PHP_EXT_NAME="IcePHP" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +PHP_EXT_OPTIONAL_USE=php + +USE_PHP="php8-0 php8-1 php8-2" + +inherit php-ext-source-r3 python-r1 ruby-ng toolchain-funcs + +DESCRIPTION="ICE middleware C++ library and generator tools" +HOMEPAGE="https://zeroc.com/products/ice" +SRC_URI="https://github.com/zeroc-ice/ice/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://download.zeroc.com/Ice/$(ver_cut 1-2)/${PN}-3.7.1.pdf )" +LICENSE="GPL-2" +SLOT="0/37" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="debug doc examples php python ruby test" +RESTRICT="test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=">=app-arch/bzip2-1.0.5 + >=dev-libs/expat-2.0.1 + dev-libs/libedit + dev-cpp/libmcpp + dev-db/lmdb:= + dev-libs/openssl:0= + virtual/libcrypt:= + python? ( ${PYTHON_DEPS} ) + ruby? ( $(ruby_implementation_depend ruby27) )" +DEPEND="${RDEPEND} + test? ( + ${PYTHON_DEPS} + dev-python/passlib[${PYTHON_USEDEP}] + )" + +# Maintainer notes: +# TODO: java bindings + +S="${WORKDIR}/${P,}" +PHP_EXT_S="${S}/php" + +PATCHES=( + "${FILESDIR}/${P}-fix-musl-build.patch" + "${FILESDIR}/${P}-py3k11.patch" +) + +pkg_setup() { + # prevent ruby-ng.eclass from messing with pkg_setup + return +} + +src_unpack() { + # prevent ruby-ng.eclass from messing with src_unpack + default +} + +src_prepare() { + default + + sed -i \ + -e 's|-Werror ||g' \ + config/Make.rules.Linux || die + + # fix for x86 IceBox test + sed -i \ + -e 's|"32"|""|' \ + scripts/IceBoxUtil.py || die + + if use !test; then + # Disable building tests + sed -i \ + -e 's|include \$(top_srcdir)/config/Make.tests.rules||' \ + config/Make.rules || die + fi +} + +src_configure() { + MAKE_RULES=( + "embedded_runpath_prefix=\"${EPREFIX}/usr\"" + "OPTIMIZE=$(usex !debug)" + "V=1" + ) + + if use python; then + local S="${S}/python" + python_copy_sources + fi + + if use ruby; then + SITERUBY="$(ruby27 -r rbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')" + SITERUBYARCH="$(ruby27 -r rbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')" + MAKE_RULES_RUBY=( + "install_rubydir=\"${EPREFIX}/${SITERUBY}\"" + "install_rubylibdir=\"${EPREFIX}/${SITERUBYARCH}\"" + ) + + # make it use ruby27 only + sed -i \ + -e 's|RUBY ?= ruby|\027|' \ + ruby/config/Make.rules || die + sed -i \ + -e 's|env ruby|\027|' \ + ruby/config/s2rb.rb || die + sed -i \ + -e 's|env ruby|\027|' \ + ruby/scripts/slice2rb || die + fi + + use test && python_setup +} + +src_compile() { + # Do not remove this export or build will break! + tc-export CXX + + emake -C cpp "${MAKE_RULES[@]}" + + if use php; then + local i + for i in $(php_get_slots); do + mkdir -p "${WORKDIR}/${i}" || die + cp -r "${PHP_EXT_S}" "${WORKDIR}/${i}/" || die "Failed to copy source ${PHP_EXT_S} to PHP target directory" + + pushd "${WORKDIR}/${i}" >/dev/null || die + ln -s "${S}/cpp" || die + ln -s "${S}/config" || die + ln -s "${S}/slice" || die + ln -s "${S}/Makefile" || die + + emake -C php "${MAKE_RULES[@]}" "PHP_CONFIG=\"${EPREFIX}/usr/$(get_libdir)/${i}/bin/php-config\"" + popd >/dev/null || die + done + fi + + if use python; then + building() { + emake -C "${BUILD_DIR}" "${MAKE_RULES[@]}" PYTHON="${EPYTHON}" + } + local S="${S}/python" + python_foreach_impl building + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" + fi +} + +src_test() { + local -x LD_LIBRARY_PATH="${S}/cpp/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}" + emake -C cpp "${MAKE_RULES[@]}" test + + # php tests require the extension loaded and are therefore skipped + + if use python; then + testing() { + PYTHONPATH="${BUILD_DIR}"/python emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + PYTHON="${EPYTHON}" \ + install_pythondir="\"$(python_get_sitedir)\"" \ + install_libdir="\"$(python_get_sitedir)\"" test + } + local S="${S}/python" + python_foreach_impl testing + fi + + if use ruby; then + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" test + fi +} + +src_install() { + local DOCS=( CHANGELOG*.md README.md ) + use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" ) + einstalldocs + + MAKE_RULES_INSTALL=( + "prefix=\"${ED}/usr\"" + "install_docdir=\"${ED}/usr/share/doc/${PF}\"" + "install_configdir=\"${ED}/usr/share/${P}/config\"" + "install_mandir=\"${ED}/usr/share/man/man1\"" + ) + + insinto /usr/share/${P} + doins -r slice + + emake -C cpp "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" install + + if use examples; then + docinto examples-cpp + dodoc cpp/config/*.cfg + docompress -x /usr/share/doc/${PF}/examples-cpp + fi + + if use php; then + insinto "/usr/share/php/${PN}" + + local i + while IFS="" read -d $'\0' -r i; do + doins "${i}" + done < <(find "${S}/php/lib/" -name '*.php' -print0) + + pushd "${ED}/usr/share/${P}/slice" >/dev/null || die + + local -x LD_LIBRARY_PATH="${ED}/usr/$(get_libdir):${LD_LIBRARY_PATH}" + for i in *; do + mkdir -p "${ED}/usr/share/php/${i}" || die + "${ED}"/usr/bin/slice2php \ + -I"${ED}/usr/share/${P}/slice/" --all \ + --output-dir "${ED}/usr/share/php/${i}" \ + --ice "${ED}/usr/share/${P}/slice/${i}"/* + done + + for i in $(php_get_slots); do + php_init_slot_env "${i}" + insinto "${EXT_DIR}" + newins "php/lib/ice.so" "${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + + popd >/dev/null || die + fi + + if use python; then + installation() { + mkdir -p "${D}/$(python_get_sitedir)" || die + + emake -C "${BUILD_DIR}" \ + "${MAKE_RULES[@]}" \ + "${MAKE_RULES_INSTALL[@]}" \ + install_pythondir="\"${D}/$(python_get_sitedir)\"" \ + install_libdir="\"${D}/$(python_get_sitedir)\"" \ + install + python_optimize + } + local S="${S}/python" + python_foreach_impl installation + fi + + if use ruby; then + MAKE_RULES_RUBY=( + "install_rubydir=\"${ED}/${SITERUBY}\"" + "install_rubylibdir=\"${ED}/${SITERUBYARCH}\"" + ) + dodir "${SITERUBY}" + emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" "${MAKE_RULES_RUBY[@]}" install + fi +} diff --git a/dev-libs/Ice/Manifest b/dev-libs/Ice/Manifest index 99f001dd10a..a626ec22323 100644 --- a/dev-libs/Ice/Manifest +++ b/dev-libs/Ice/Manifest @@ -1,2 +1,4 @@ DIST Ice-3.6.4.pdf 8907736 BLAKE2B 5a631c1e2e147c8ed3b31a84192210c92bbe83e8644ec9d7d164d1b94a20069ce77f6baf54910ac00c7216cbc2979caac6fa78457e9292a84407e93000f9903a SHA512 9bd2d373eb83e08e563cab174a53063a490367dea3e4b910f93f0477c3817282c859f07e46e503006e9bd37678fb6da31a58b88bfabd217b5e371fff685321a0 DIST Ice-3.6.5.tar.gz 5505499 BLAKE2B e16e8932f09270ac6bb86984ab47fa229ad873ee343ac4f56bb48b6f9547387ded0392a76302afac2c98b6d31da7c1faf294574cdba52654e7dea0af16b4169d SHA512 3431928e6168d716919aa9b3126d17a8ae14895bb78a369902a2bb350b2e82923f38ee17965ed3696512a016fcd34dc128e9aaca40fb2b032e7f7eb07bcb903b +DIST Ice-3.7.1.pdf 9351739 BLAKE2B 527f2c37aea19aedbfc580efd93ce4fae2eb7264342bb485822593e2da6fb75a61eea2b1a46187898af07f138d10bf9a213d0b2a0685c18cd1d4c624709a935b SHA512 199b59f14b87b2896ba970bf5aa32f6fd858cbd3fed18eac93acafe4e296db1361ca2d2000ed49f3390ed66c1d4ff8c1fcd3f14ab8197d7804c87fce422c8486 +DIST Ice-3.7.8.tar.gz 11056950 BLAKE2B 66686d6e66a997badef53ee30782775047a2fa39d70fa8ed73c5e7a1bad3c3899efd8d68f557a416caacd65860a73834a6bdc3188730fa19a3f1e47f028c5e21 SHA512 eb5863cb5e83000199c27a5a505a19e5f1ec05e8575eb9cdc03f6db30447212e3b02e6adc70fb2ae6ddc63cfd93bc2b6b290f38919364ee9f08b238a0aa11e88 diff --git a/dev-libs/Ice/files/Ice-3.7.8-fix-musl-build.patch b/dev-libs/Ice/files/Ice-3.7.8-fix-musl-build.patch new file mode 100644 index 00000000000..76fa6c5cb64 --- /dev/null +++ b/dev-libs/Ice/files/Ice-3.7.8-fix-musl-build.patch @@ -0,0 +1,13 @@ +https://github.com/void-linux/void-packages/blob/master/srcpkgs/Ice/patches/fix-musl.patch + +--- a/cpp/src/IceUtil/UtilException.cpp ++++ b/cpp/src/IceUtil/UtilException.cpp +@@ -43,7 +43,7 @@ + # endif + # endif + +-# if !defined(_AIX) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__) && !defined(ICE_STATIC_LIBS) ++# if !defined(_AIX) && !defined(__sun) && !defined(__FreeBSD__) && !defined(__MINGW32__) && !defined(ICE_STATIC_LIBS) && defined(__GLIBC__) + # include <execinfo.h> + # include <cxxabi.h> + # include <stdint.h> diff --git a/dev-libs/Ice/files/Ice-3.7.8-py3k11.patch b/dev-libs/Ice/files/Ice-3.7.8-py3k11.patch new file mode 100644 index 00000000000..7295aa6d955 --- /dev/null +++ b/dev-libs/Ice/files/Ice-3.7.8-py3k11.patch @@ -0,0 +1,45 @@ +From a98f34df525dce54a96f443806599978b293d7c5 Mon Sep 17 00:00:00 2001 +From: Jose <pepone@users.noreply.github.com> +Date: Thu, 3 Nov 2022 16:52:58 +0100 +Subject: [PATCH] Python 3.11 build fixes (#1394) + +--- + python/modules/IcePy/Slice.cpp | 7 ++++++- + python/modules/IcePy/Util.cpp | 5 +++++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/python/modules/IcePy/Slice.cpp b/python/modules/IcePy/Slice.cpp +index e11365d8d40..7138e76dac0 100644 +--- a/python/modules/IcePy/Slice.cpp ++++ b/python/modules/IcePy/Slice.cpp +@@ -14,7 +14,12 @@ + // Python headers needed for PyEval_EvalCode. + // + #include <compile.h> +-#include <eval.h> ++// Use ceval.h instead of eval.h with Pyhthon 3.11 and greater ++#if PY_VERSION_HEX >= 0x030B0000 ++# include <ceval.h> ++#else ++# include <eval.h> ++#endif + + using namespace std; + using namespace IcePy; +diff --git a/python/modules/IcePy/Util.cpp b/python/modules/IcePy/Util.cpp +index f15c7a5c690..73955c933a2 100644 +--- a/python/modules/IcePy/Util.cpp ++++ b/python/modules/IcePy/Util.cpp +@@ -225,7 +225,12 @@ IcePy::getFunction() + // + // Get name of current function. + // ++ // Use PyEval_GetFrame with Pyhthon >= 3.11 ++#if PY_VERSION_HEX >= 0x030B0000 ++ PyFrameObject *f = PyEval_GetFrame(); ++#else + PyFrameObject *f = PyThreadState_GET()->frame; ++#endif + PyObjectHandle code = getAttr(reinterpret_cast<PyObject*>(f), "f_code", false); + assert(code.get()); + PyObjectHandle func = getAttr(code.get(), "co_name", false); diff --git a/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild b/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild index 13ddc4a2791..f6f44ab31fe 100644 --- a/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild +++ b/dev-libs/OpenNI2/OpenNI2-2.2_beta2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then EGIT_REPO_URI="https://github.com/occipital/openni2" fi -inherit ${SCM} toolchain-funcs java-pkg-opt-2 +inherit ${SCM} flag-o-matic toolchain-funcs java-pkg-opt-2 if [ "${PV#9999}" != "${PV}" ] ; then SRC_URI="" @@ -54,6 +54,12 @@ src_prepare() { } src_compile() { + if ! use elibc_glibc ; then + # Build system doesn't respect CPPFLAGS. + # bug #716346 + append-flags -DXN_PLATFORM_LINUX_NO_GLIBC -DXN_PLATFORM_HAS_NO_SCHED_PARAM + fi + use cpu_flags_arm_neon && export CFLAGS="${CFLAGS} -DXN_NEON" emake \ CC="$(tc-getCC)" \ diff --git a/dev-libs/OpenNI2/OpenNI2-9999.ebuild b/dev-libs/OpenNI2/OpenNI2-9999.ebuild index ffd87acd644..2c75c2c9580 100644 --- a/dev-libs/OpenNI2/OpenNI2-9999.ebuild +++ b/dev-libs/OpenNI2/OpenNI2-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then EGIT_REPO_URI="https://github.com/occipital/openni2" fi -inherit ${SCM} toolchain-funcs java-pkg-opt-2 +inherit ${SCM} flag-o-matic toolchain-funcs java-pkg-opt-2 if [ "${PV#9999}" != "${PV}" ] ; then SRC_URI="" @@ -52,6 +52,12 @@ src_prepare() { } src_compile() { + if ! use elibc_glibc ; then + # Build system doesn't respect CPPFLAGS. + # bug #716346 + append-flags -DXN_PLATFORM_LINUX_NO_GLIBC -DXN_PLATFORM_HAS_NO_SCHED_PARAM + fi + use cpu_flags_arm_neon && export CFLAGS="${CFLAGS} -DXN_NEON" emake \ CC="$(tc-getCC)" \ diff --git a/dev-libs/aml/Manifest b/dev-libs/aml/Manifest index 2443bae4ee3..5910a49a25c 100644 --- a/dev-libs/aml/Manifest +++ b/dev-libs/aml/Manifest @@ -1 +1 @@ -DIST aml-0.2.1.tar.gz 20413 BLAKE2B 62f8cc0e75f23ac7dc8835dd874f584cdb5b394b0d7af08feded06b99ccff66395e0ec04bdd26917ef7784457dc170c2c99bc98a118ecff947602e4d9a60bf21 SHA512 0af4a50cafbddd2a593dac437e6c8121de5265d0383139818bcda97d672a7430cb410ce32552b6842bc82eaebb061bc6cc0ee1b45a483754efbdfbc2103fa2e3 +DIST aml-0.2.2.tar.gz 20442 BLAKE2B 3ea4e03ba511096fc02db628d2591ddf247f79ccdf7638614a2a20fe74dfa563b555662492d976371b407ab013bbb83c193c047fca48f7f08b05cf47e6a87ab4 SHA512 3cb5bf28186a9056b579dd76440202837d96a7abde9427c45a810068d5e051c642303cd73b012e3b093ffb1577896753a50fcc508b2a30c49146033bb74156e7 diff --git a/dev-libs/aml/aml-0.2.1.ebuild b/dev-libs/aml/aml-0.2.2.ebuild index 5ff10f20992..f455ef42c8e 100644 --- a/dev-libs/aml/aml-0.2.1.ebuild +++ b/dev-libs/aml/aml-0.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/any1/aml.git" else SRC_URI="https://github.com/any1/aml/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~riscv ~x86" fi LICENSE="ISC" diff --git a/dev-libs/aml/aml-9999.ebuild b/dev-libs/aml/aml-9999.ebuild index 5ff10f20992..abe16736f7e 100644 --- a/dev-libs/aml/aml-9999.ebuild +++ b/dev-libs/aml/aml-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2021 Gentoo Authors +# Copyright 2020-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/any1/aml.git" else SRC_URI="https://github.com/any1/aml/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~riscv ~x86" + KEYWORDS="~amd64 ~loong ~riscv ~x86" fi LICENSE="ISC" diff --git a/dev-libs/aml/metadata.xml b/dev-libs/aml/metadata.xml index 25cb689305d..3721b93dab0 100644 --- a/dev-libs/aml/metadata.xml +++ b/dev-libs/aml/metadata.xml @@ -2,6 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> + <upstream> + <remote-id type="github">any1/aml</remote-id> + </upstream> <use> <flag name="examples">Build and install examples</flag> </use> diff --git a/dev-libs/appstream-glib/Manifest b/dev-libs/appstream-glib/Manifest index 9edcfaed2b9..ab2a38f0357 100644 --- a/dev-libs/appstream-glib/Manifest +++ b/dev-libs/appstream-glib/Manifest @@ -1,2 +1 @@ -DIST appstream-glib-0.7.18.tar.xz 2309276 BLAKE2B 67f414ae45866cab314ed2b307f2045a2035c262810696246f5bdea2a0bac88d98b561f72a8e87608f90407ad6d577d720213461ecef09d277e919b5330c0bc2 SHA512 2a202eb25d823d524128a8ab164025b6579e069f8b62373cf5447d049a0e3764fca5bf1464296101a45870d1426b094493fc8ead07a6a4bcb514c0f1a91e8ff2 -DIST appstream-glib-0.8.1.tar.xz 2320596 BLAKE2B de8d68c541cd6700fff0bc22a71d59510ccf584ac1380e2aed3e5aa122825cb3087d65b42ac1dc35acbd4b171382d9560545cdeaffa9d6bda721784444bf7a36 SHA512 32462a32ea25c945abb8d9084af1c84850f264b3a2136c6f54444e0168acf0d74ee450f8cbf483a504e417dc29b85a2e9bbc0a5bb8a217296eccacaa02db5ef5 +DIST appstream-glib-0.8.2.tar.xz 2320880 BLAKE2B 6c3c90298ae8bf362caea8c46643afaaab0bb0071271f5244eeca9356ed96a6a956c1b2ffa4a8500201e4bc494a54a15b3db4937b81c6f5f8b80f83299ac58ee SHA512 c9c21049ab43f5da8595aa07a3c2e097163a05b5e0fc030e4e3326136cd18127f04ad9edf08c12aea823b89048b43808cc60759cc26fcf2541cd9c1acbb29e28 diff --git a/dev-libs/appstream-glib/appstream-glib-0.7.18-r1.ebuild b/dev-libs/appstream-glib/appstream-glib-0.7.18-r1.ebuild deleted file mode 100644 index f81e79bb94a..00000000000 --- a/dev-libs/appstream-glib/appstream-glib-0.7.18-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit xdg meson - -DESCRIPTION="Provides GObjects and helper methods to read and write AppStream metadata" -HOMEPAGE="https://people.freedesktop.org/~hughsient/appstream-glib/" -SRC_URI="https://people.freedesktop.org/~hughsient/${PN}/releases/${P}.tar.xz" - -LICENSE="LGPL-2.1+" -SLOT="0/8" # soname version -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="gtk-doc fonts +introspection stemmer" - -RDEPEND=" - >=dev-libs/glib-2.58.0:2 - sys-apps/util-linux - app-arch/libarchive:= - >=net-libs/libsoup-2.51.92:2.4 - >=dev-libs/json-glib-1.1.2 - >=x11-libs/gdk-pixbuf-2.31.5:2[introspection?] - - fonts? ( x11-libs/gtk+:3 - >=media-libs/freetype-2.4:2 ) - >=media-libs/fontconfig-2.11:1.0 - dev-libs/libyaml - stemmer? ( dev-libs/snowball-stemmer:= ) - x11-libs/pango - introspection? ( >=dev-libs/gobject-introspection-1.54:= ) -" -DEPEND="${RDEPEND}" -# libxml2 required for glib-compile-resources -BDEPEND=" - dev-util/gperf - - dev-libs/libxml2:2 - app-text/docbook-xml-dtd:4.2 - dev-libs/libxslt - gtk-doc? ( - >=dev-util/gtk-doc-1.9 - app-text/docbook-xml-dtd:4.3 - ) - >=sys-devel/gettext-0.19.8 -" -# ${PN} supersedes appdata-tools -RDEPEND="${RDEPEND} - !<dev-util/appdata-tools-0.1.8-r1 -" - -src_configure() { - local emesonargs=( - -Ddep11=true - -Dbuilder=true - -Drpm=false - -Dalpm=false - $(meson_use fonts) - $(meson_use stemmer) - -Dman=true - $(meson_use gtk-doc) - $(meson_use introspection) - ) - meson_src_configure -} diff --git a/dev-libs/appstream-glib/appstream-glib-0.8.1.ebuild b/dev-libs/appstream-glib/appstream-glib-0.8.2.ebuild index c77a068ff14..8dd04ed40ec 100644 --- a/dev-libs/appstream-glib/appstream-glib-0.8.1.ebuild +++ b/dev-libs/appstream-glib/appstream-glib-0.8.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://people.freedesktop.org/~hughsient/${PN}/releases/${P}.tar.xz" LICENSE="LGPL-2.1+" SLOT="0/8" # soname version -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="gtk-doc fonts +introspection stemmer" RDEPEND=" diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest index f7b1e10350a..2e213f10740 100644 --- a/dev-libs/appstream/Manifest +++ b/dev-libs/appstream/Manifest @@ -1,2 +1 @@ -DIST AppStream-0.14.6.tar.xz 2403088 BLAKE2B 1eb85601c1782fc47ff21983517f301dc9493fb60347cfe8072c277cc4415e80bf6c11a93db80b6d7fe1eeda7ff1fa414fd10ce7ef0d7379b415326407d805b8 SHA512 810aa7427df50793f4bed27cc3cb5b72c156f0c582f241e06131aa8eabe82d59c8ac0bcc37a22877f7a19ac4640a9a831f8b567ce3e2d26a41ce999515affdb0 -DIST AppStream-0.15.5.tar.xz 2499336 BLAKE2B a0710d1ef2756480fa814c8b740d066e1b06dffe6a3396a44697876372dc9d0f39088ff141817af549d0cf0ad99221e68305344dfdeb82e246f7cda18c3b63a7 SHA512 83202a8db9a31e4328b2a831b02e65389aad1ba95a4c2b2709084fb843cb3675af6fac73f932a31bb3a6d3ff5db85a863c01528be67d9bbd3b9614a978239771 +DIST AppStream-0.15.6.tar.xz 2517688 BLAKE2B 09519205c7dfc5f0715b9d5ae7e99a67673ab499f1e2cb39815edde64defc1aa5059215575278bbcfc4482cd385a79e081c70f6acea3c446c5869dc6b2e18f6c SHA512 7426bc89e22b751de7b3e27d7c07eb1c373f4439f9966868ce5ea410d209b8c5292e03695a34b7a49bfa61e2e62265c7f7cdffc0be871c950193c933f65757ef diff --git a/dev-libs/appstream/appstream-0.14.6.ebuild b/dev-libs/appstream/appstream-0.14.6.ebuild deleted file mode 100644 index c3f1c76f134..00000000000 --- a/dev-libs/appstream/appstream-0.14.6.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson xdg-utils - -if [[ ${PV} = *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/ximion/${PN}" -else - SRC_URI="https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz" - S="${WORKDIR}/AppStream-${PV}" - KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" -fi - -DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem" -HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/" - -LICENSE="LGPL-2.1+ GPL-2+" -# check as_api_level -SLOT="0/4" -IUSE="apt doc +introspection qt5 test" -RESTRICT="test" # bug 691962 - -RDEPEND=" - dev-db/lmdb:= - >=dev-libs/glib-2.58:2 - dev-libs/libxml2:2 - dev-libs/libyaml - dev-libs/snowball-stemmer:= - net-misc/curl - introspection? ( >=dev-libs/gobject-introspection-1.56:= ) - qt5? ( dev-qt/qtcore:5 ) -" -DEPEND="${RDEPEND} - test? ( qt5? ( dev-qt/qttest:5 ) ) -" -BDEPEND=" - dev-libs/appstream-glib - dev-libs/libxslt - dev-util/itstool - >=sys-devel/gettext-0.19.8 - doc? ( app-text/docbook-xml-dtd:4.5 ) - test? ( dev-qt/linguist-tools:5 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.14.3-disable-Werror-flags.patch # bug 733774 -) - -src_prepare() { - default - sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die - if ! use test; then - sed -e "/^subdir.*tests/s/^/#DONT /" -i {,qt/}meson.build || die # bug 675944 - fi -} - -src_configure() { - xdg_environment_reset - - local emesonargs=( - -Dapidocs=false - -Ddocs=false - -Dcompose=false - -Dmaintainer=false - -Dstemming=true - -Dvapi=false - -Dapt-support=$(usex apt true false) - -Dinstall-docs=$(usex doc true false) - -Dgir=$(usex introspection true false) - -Dqt=$(usex qt5 true false) - ) - - meson_src_configure -} diff --git a/dev-libs/appstream/appstream-0.15.5.ebuild b/dev-libs/appstream/appstream-0.15.6.ebuild index cd741e46c56..22035505fde 100644 --- a/dev-libs/appstream/appstream-0.15.5.ebuild +++ b/dev-libs/appstream/appstream-0.15.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ if [[ ${PV} == *9999* ]]; then else MY_PN="AppStream" SRC_URI="https://www.freedesktop.org/software/appstream/releases/${MY_PN}-${PV}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86" S="${WORKDIR}/${MY_PN}-${PV}" fi @@ -46,9 +46,7 @@ BDEPEND=" test? ( dev-qt/linguist-tools:5 ) " -PATCHES=( - "${FILESDIR}"/${PN}-0.14.3-disable-Werror-flags.patch # bug 733774 -) +PATCHES=( "${FILESDIR}"/${P}-disable-Werror-flags.patch ) # bug 733774 src_prepare() { default diff --git a/dev-libs/appstream/files/appstream-0.14.3-disable-Werror-flags.patch b/dev-libs/appstream/files/appstream-0.14.3-disable-Werror-flags.patch deleted file mode 100644 index 4e5a117061b..00000000000 --- a/dev-libs/appstream/files/appstream-0.14.3-disable-Werror-flags.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/meson.build -+++ b/meson.build -@@ -52,9 +52,6 @@ - add_project_arguments(maintainer_c_args, language: 'cpp') - endif - --# a few compiler warning flags we always want enabled --add_project_arguments('-Werror=implicit-function-declaration', '-Wno-unused-parameter', language: 'c') --add_project_arguments('-Wno-unused-parameter', language: 'cpp') - add_project_arguments('-DAS_COMPILATION', language: 'c') - - # Vendor extensions in system headers diff --git a/dev-libs/appstream/files/appstream-0.15.6-disable-Werror-flags.patch b/dev-libs/appstream/files/appstream-0.15.6-disable-Werror-flags.patch new file mode 100644 index 00000000000..ca50493e4fd --- /dev/null +++ b/dev-libs/appstream/files/appstream-0.15.6-disable-Werror-flags.patch @@ -0,0 +1,46 @@ +--- a/meson.build 2022-12-22 23:48:12.000000000 +0100 ++++ b/meson.build 2022-12-24 22:15:49.620891586 +0100 +@@ -95,43 +95,6 @@ + endif + endif + +-# a few compiler warning flags we always want enabled +-add_project_arguments( +- cc.get_supported_arguments([ +- '-Werror=shadow', +- '-Werror=empty-body', +- '-Werror=strict-prototypes', +- '-Werror=missing-prototypes', +- '-Werror=implicit-function-declaration', +- '-Werror=pointer-arith', +- '-Werror=missing-declarations', +- '-Werror=return-type', +- '-Werror=int-conversion', +- '-Werror=incompatible-pointer-types', +- '-Werror=misleading-indentation', +- '-Werror=missing-include-dirs', +- '-Werror=declaration-after-statement', +- '-Werror=format-security', +- +- '-Wno-missing-field-initializers', +- '-Wno-error=missing-field-initializers', +- '-Wno-unused-parameter', +- '-Wno-error=unused-parameter', +- ]), +- language: 'c' +-) +-add_project_arguments( +- '-Wno-unused-parameter', +- '-Werror=shadow', +- '-Werror=empty-body', +- '-Werror=pointer-arith', +- '-Werror=init-self', +- '-Werror=missing-declarations', +- '-Werror=return-type', +- '-Werror=misleading-indentation', +- '-Werror=format-security', +- language: 'cpp' +-) + add_project_arguments('-DAS_COMPILATION', language: 'c') + + # Vendor extensions in system headers diff --git a/dev-libs/apr-util/apr-util-1.6.1-r9.ebuild b/dev-libs/apr-util/apr-util-1.6.1-r10.ebuild index 445641cf361..ff0412e3d5f 100644 --- a/dev-libs/apr-util/apr-util-1.6.1-r9.ebuild +++ b/dev-libs/apr-util/apr-util-1.6.1-r10.ebuild @@ -5,7 +5,7 @@ EAPI=7 # Usually apr-util has the same PV as apr, but in case of security fixes, this may change. # APR_PV="${PV}" -APR_PV="1.6.2" +APR_PV="1.7.0-r6" inherit autotools db-use libtool multilib toolchain-funcs @@ -15,7 +15,7 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2" LICENSE="Apache-2.0" SLOT="1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="berkdb doc gdbm ldap mysql nss odbc openssl postgres sqlite static-libs" #RESTRICT="test" @@ -96,7 +96,7 @@ src_configure() { # We use $T for the libdir because otherwise it'd simply be the normal # system libdir. That's pointless as the compiler will search it for # us already. This makes cross-compiling and such easier. - --with-berkeley-db="${SYSROOT}$(db_includedir 2>/dev/null):${T}" + --with-berkeley-db="$(db_includedir 2>/dev/null):${T}" ) else myconf+=( --without-berkeley-db ) diff --git a/dev-libs/apr-util/apr-util-1.6.1-r8.ebuild b/dev-libs/apr-util/apr-util-1.6.1-r8.ebuild deleted file mode 100644 index 6209149b702..00000000000 --- a/dev-libs/apr-util/apr-util-1.6.1-r8.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# Usually apr-util has the same PV as apr, but in case of security fixes, this may change. -# APR_PV="${PV}" -APR_PV="1.6.2" - -inherit autotools db-use libtool multilib toolchain-funcs - -DESCRIPTION="Apache Portable Runtime Utility Library" -HOMEPAGE="https://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.bz2" - -LICENSE="Apache-2.0" -SLOT="1" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="berkdb doc gdbm ldap mysql nss odbc openssl postgres sqlite static-libs" -#RESTRICT="test" - -RDEPEND=" - >=dev-libs/apr-${APR_PV}:1= - dev-libs/expat - virtual/libcrypt:= - berkdb? ( >=sys-libs/db-4:= ) - gdbm? ( sys-libs/gdbm:= ) - ldap? ( net-nds/openldap:= ) - mysql? ( || ( - dev-db/mariadb-connector-c - >=dev-db/mysql-connector-c-8 - ) ) - nss? ( dev-libs/nss ) - odbc? ( dev-db/unixODBC ) - openssl? ( - dev-libs/openssl:0= - ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite:3 ) -" -DEPEND=" - ${RDEPEND} - >=sys-devel/libtool-2.4.2 - doc? ( app-doc/doxygen ) -" - -DOCS=(CHANGES NOTICE README) - -PATCHES=( - "${FILESDIR}"/${PN}-1.5.3-sysroot.patch #385775 - "${FILESDIR}"/${PN}-1.6.1-fix-gdbm-error-handling.patch - "${FILESDIR}"/${PN}-1.6.1-mariadb-support.patch - "${FILESDIR}"/${PN}-1.6.1-my_bool.patch - "${FILESDIR}"/${PN}-1.6.1-drop-my_init.patch -) - -src_prepare() { - default - - # Fix usage of libmysqlclient (bug #620230) - grep -lrF "libmysqlclient_r" "${S}" \ - | xargs sed 's@libmysqlclient_r@libmysqlclient@g' -i \ - || die - - mv configure.{in,ac} || die - eautoreconf - elibtoolize -} - -src_configure() { - local myconf=( - --datadir="${EPREFIX}"/usr/share/apr-util-1 - --with-apr="${ESYSROOT}"/usr - --with-expat="${EPREFIX}"/usr - --without-sqlite2 - $(use_with gdbm) - $(use_with ldap) - $(use_with mysql) - $(use_with nss) - $(use_with odbc) - $(use_with openssl) - $(use_with postgres pgsql) - $(use_with sqlite sqlite3) - ) - - tc-is-static-only && myconf+=( --disable-util-dso ) - - if use berkdb; then - local db_version - db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version" - db_version="$(db_ver_to_slot "${db_version}")" - db_version="${db_version/\./}" - myconf+=( - --with-dbm=db${db_version} - # We use $T for the libdir because otherwise it'd simply be the normal - # system libdir. That's pointless as the compiler will search it for - # us already. This makes cross-compiling and such easier. - --with-berkeley-db="${SYSROOT}$(db_includedir 2>/dev/null):${T}" - ) - else - myconf+=( --without-berkeley-db ) - fi - - if use nss || use openssl ; then - myconf+=( --with-crypto ) # 518708 - fi - - econf "${myconf[@]}" - # Use the current env build settings rather than whatever apr was built with. - sed -i -r \ - -e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${SYSROOT}:" \ - -e "/^CC=/s:=.*:=$(tc-getCC):" \ - -e '/^(C|CPP|CXX|LD)FLAGS=/d' \ - -e '/^LTFLAGS/s:--silent::' \ - build/rules.mk || die -} - -src_compile() { - emake - use doc && emake dox -} - -src_test() { - # Building tests in parallel is broken - emake -j1 check -} - -src_install() { - default - - find "${ED}" -name "*.la" -delete || die - if [[ -d "${ED}/usr/$(get_libdir)/apr-util-${SLOT}" ]] ; then - find "${ED}/usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -delete || die - fi - if ! use static-libs ; then - find "${ED}" -name "*.a" -not -name "*$(get_libname)" -delete || die - fi - - if use doc ; then - docinto html - dodoc -r docs/dox/html/* - fi - - # This file is only used on AIX systems, which Gentoo is not, - # and causes collisions between the SLOTs, so remove it. - rm "${ED}/usr/$(get_libdir)/aprutil.exp" || die -} diff --git a/dev-libs/apr/apr-1.7.0-r5.ebuild b/dev-libs/apr/apr-1.7.0-r5.ebuild deleted file mode 100644 index b3db9ef0521..00000000000 --- a/dev-libs/apr/apr-1.7.0-r5.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools libtool toolchain-funcs - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="https://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.bz2" - -LICENSE="Apache-2.0" -SLOT="1/${PV%.*}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc older-kernels-compatibility selinux static-libs +urandom" - -# See bug #815265 for libcrypt dependency -CDEPEND="virtual/libcrypt:= - elibc_glibc? ( >=sys-apps/util-linux-2.16 )" -RDEPEND="${CDEPEND} - selinux? ( sec-policy/selinux-base-policy )" -DEPEND="${CDEPEND} - >=sys-devel/libtool-2.4.2 - doc? ( app-doc/doxygen )" - -DOCS=( CHANGES NOTICE README ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.5.0-mint.patch - "${FILESDIR}"/${PN}-1.5.0-libtool.patch - "${FILESDIR}"/${PN}-1.5.0-cross-types.patch - "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775 - "${FILESDIR}"/${PN}-1.6.3-skip-known-failing-tests.patch - "${FILESDIR}"/${PN}-1.7.0-autoconf-2.70.patch #750353 - "${FILESDIR}"/${PN}-1.7.0-CVE-2021-35940.patch #828545 -) - -src_prepare() { - default - - mv configure.in configure.ac || die - AT_M4DIR="build" eautoreconf - elibtoolize - - eapply "${FILESDIR}/config.layout.patch" -} - -src_configure() { - local myconf=( - --enable-layout=gentoo - --enable-nonportable-atomics - --enable-posix-shm - --enable-threads - $(use_enable static-libs static) - --with-installbuilddir="${EPREFIX}"/usr/share/${PN}/build - ) - - if use older-kernels-compatibility; then - local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec - export apr_cv_accept4="no" - export apr_cv_dup3="no" - export apr_cv_epoll_create1="no" - export apr_cv_sock_cloexec="no" - fi - if tc-is-cross-compiler; then - # The apache project relies heavily on AC_TRY_RUN and doesn't - # have any sane cross-compiling fallback logic. - export \ - ac_cv_file__dev_zero="yes" \ - ac_cv_func_sem_open="yes" \ - ac_cv_negative_eai="yes" \ - ac_cv_o_nonblock_inherited="no" \ - ac_cv_struct_rlimit="yes" \ - ap_cv_atomic_builtins="yes" \ - apr_cv_accept4="yes" \ - apr_cv_dup3="yes" \ - apr_cv_epoll="yes" \ - apr_cv_epoll_create1="yes" \ - apr_cv_gai_addrconfig="yes" \ - apr_cv_mutex_recursive="yes" \ - apr_cv_mutex_robust_shared="yes" \ - apr_cv_process_shared_works="yes" \ - apr_cv_pthreads_lib="-pthread" \ - apr_cv_sock_cloexec="yes" \ - apr_cv_tcp_nodelay_with_cork="yes" - fi - - if use urandom; then - myconf+=( --with-devrandom=/dev/urandom ) - elif (( ${CHOST#*-hpux11.} <= 11 )); then - : # no /dev/*random on hpux11.11 and before, ${PN} detects this. - else - myconf+=( --with-devrandom=/dev/random ) - fi - - tc-is-static-only && myconf+=( --disable-dso ) - - # shl_load does not search runpath, but hpux11 supports dlopen - [[ ${CHOST} == *-hpux11* ]] && myconf+=( --enable-dso=dlfcn ) - - if [[ ${CHOST} == *-solaris2.10 ]]; then - case $(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) in - *atomic_cas_ptr*) ;; - *) - elog "You do not have Solaris Patch ID "$( - [[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885 - )" (Problem 4954703) installed on your host ($(hostname))," - elog "using generic atomic operations instead." - myconf+=( --disable-nonportable-atomics ) - ;; - esac - else - if use ppc || use sparc || use mips; then - # Avoid libapr containing undefined references (underlinked) - # undefined reference to `__sync_val_compare_and_swap_8' - # (May be possible to fix via libatomic linkage in future?) - # bug #740464 - myconf+=( --disable-nonportable-atomics ) - fi - fi - - econf "${myconf[@]}" -} - -src_compile() { - if tc-is-cross-compiler; then - # This header is the same across targets, so use the build compiler. - emake tools/gen_test_char - tc-export_build_env BUILD_CC - ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} \ - tools/gen_test_char.c -o tools/gen_test_char || die - fi - - emake - - if use doc; then - emake dox - fi -} - -src_test() { - # Building tests in parallel is broken - emake -j1 check -} - -src_install() { - default - - if ! use static-libs; then - find "${ED}" -name '*.la' -delete || die - fi - - if use doc; then - docinto html - dodoc -r docs/dox/html/* - fi - - # This file is only used on AIX systems, which Gentoo is not, - # and causes collisions between the SLOTs, so remove it. - # Even in Prefix, we don't need this on AIX. - rm "${ED}/usr/$(get_libdir)/apr.exp" || die -} diff --git a/dev-libs/apr/apr-1.7.0-r4.ebuild b/dev-libs/apr/apr-1.7.0-r6.ebuild index 3348d775384..855fd6a0da4 100644 --- a/dev-libs/apr/apr-1.7.0-r4.ebuild +++ b/dev-libs/apr/apr-1.7.0-r6.ebuild @@ -32,6 +32,9 @@ PATCHES=( "${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775 "${FILESDIR}"/${PN}-1.6.3-skip-known-failing-tests.patch "${FILESDIR}"/${PN}-1.7.0-autoconf-2.70.patch #750353 + "${FILESDIR}"/${PN}-1.7.0-CVE-2021-35940.patch #828545 + "${FILESDIR}"/${PN}-1.7.0-clang-16.patch #870004 + "${FILESDIR}"/${PN}-1.7.0-dev-zero.patch #830833 ) src_prepare() { diff --git a/dev-libs/apr/files/apr-1.7.0-clang-16.patch b/dev-libs/apr/files/apr-1.7.0-clang-16.patch new file mode 100644 index 00000000000..2244b07a14f --- /dev/null +++ b/dev-libs/apr/files/apr-1.7.0-clang-16.patch @@ -0,0 +1,174 @@ +https://bugs.gentoo.org/870004 + +Fixed upstream, hopefully (it's hard to keep track of 1.7.x branch churn): +- https://bz.apache.org/bugzilla/show_bug.cgi?id=64753 +- https://bz.apache.org/bugzilla/show_bug.cgi?id=65087 +--- a/build/apr_common.m4 ++++ b/build/apr_common.m4 +@@ -467,6 +467,7 @@ changequote([, ])dnl + AC_MSG_CHECKING(size of $2) + AC_CACHE_VAL(AC_CV_NAME, + [AC_TRY_RUN([#include <stdio.h> ++#include <stdlib.h> + $1 + #ifdef WIN32 + #define binmode "b" +@@ -531,7 +532,8 @@ AC_TRY_RUN([ + #include <errno.h> + #include <string.h> + #include <stdio.h> +-main() ++#include <stdlib.h> ++int main() + { + char buf[1024]; + if (strerror_r(ERANGE, buf, sizeof buf) < 1) { +--- a/build/apr_network.m4 ++++ b/build/apr_network.m4 +@@ -63,6 +63,10 @@ AC_DEFUN([APR_CHECK_WORKING_GETADDRINFO], [ + #ifdef HAVE_SYS_SOCKET_H + #include <sys/socket.h> + #endif ++#include <stdlib.h> ++ ++#include <netinet/in.h> ++#include <arpa/inet.h> + + int main(void) { + struct addrinfo hints, *ai; +@@ -136,6 +140,11 @@ dnl + AC_DEFUN([APR_CHECK_WORKING_GETNAMEINFO], [ + AC_CACHE_CHECK(for working getnameinfo, ac_cv_working_getnameinfo,[ + AC_TRY_RUN( [ ++#include <sys/socket.h> ++#include <netinet/in.h> ++#include <arpa/inet.h> ++#include <stdlib.h> ++ + #ifdef HAVE_NETDB_H + #include <netdb.h> + #endif +@@ -195,6 +204,8 @@ AC_DEFUN([APR_CHECK_NEGATIVE_EAI], [ + #include <netdb.h> + #endif + ++#include <stdlib.h> ++ + int main(void) { + if (EAI_ADDRFAMILY < 0) { + exit(0); +@@ -388,9 +399,14 @@ AC_DEFUN([APR_CHECK_TCP_NODELAY_INHERITED], [ + AC_CACHE_CHECK(if TCP_NODELAY setting is inherited from listening sockets, ac_cv_tcp_nodelay_inherited,[ + AC_TRY_RUN( [ + #include <stdio.h> ++#include <stdlib.h> ++ + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> +-#endif ++#end ++#ifdef HAVE_STRING_H ++#include <string.h> ++#endifif + #ifdef HAVE_SYS_SOCKET_H + #include <sys/socket.h> + #endif +@@ -734,6 +750,9 @@ AC_TRY_COMPILE([ + #ifdef HAVE_ARPA_INET_H + #include <arpa/inet.h> + #endif ++ ++#include <sys/socket.h> ++#include <netinet/in.h> + ],[ + inet_addr("127.0.0.1"); + ],[ +@@ -754,6 +773,9 @@ fi + AC_DEFUN([APR_CHECK_INET_NETWORK], [ + AC_CACHE_CHECK(for inet_network, ac_cv_func_inet_network,[ + AC_TRY_COMPILE([ ++#include <sys/socket.h> ++#include <netinet/in.h> ++ + #ifdef HAVE_SYS_TYPES_H + #include <sys/types.h> + #endif +--- a/configure.in ++++ b/configure.in +@@ -1440,8 +1440,6 @@ AC_CHECK_FUNCS(sigaction, [ have_sigaction="1" ], [ have_sigaction="0" ]) + AC_DECL_SYS_SIGLIST + + AC_CHECK_FUNCS(fork, [ fork="1" ], [ fork="0" ]) +-APR_CHECK_INET_ADDR +-APR_CHECK_INET_NETWORK + AC_SUBST(apr_inaddr_none) + AC_CHECK_FUNC(_getch) + AC_CHECK_FUNCS(strerror_r, [ strerror_r="1" ], [ strerror_r="0" ]) +@@ -1547,6 +1545,9 @@ APR_FLAG_HEADERS( + sys/un.h \ + sys/wait.h) + ++APR_CHECK_INET_ADDR ++APR_CHECK_INET_NETWORK ++ + # IRIX 6.5 has a problem in <netinet/tcp.h> which prevents it from + # being included by itself. Check for <netinet/tcp.h> manually, + # including another header file first. +@@ -2208,7 +2209,8 @@ AC_TRY_RUN([ + #include <sys/types.h> + #include <sys/time.h> + #include <sys/resource.h> +-main() ++#include <stdlib.h> ++int main() + { + struct rlimit limit; + limit.rlim_cur = 0; +@@ -2247,7 +2249,7 @@ AC_TRY_RUN([ + #ifndef SEM_FAILED + #define SEM_FAILED (-1) + #endif +-main() ++int main() + { + sem_t *psem; + const char *sem_name = "/apr_autoconf"; +@@ -2307,6 +2309,7 @@ if test "$threads" = "1"; then + AC_TRY_RUN([ + #include <sys/types.h> + #include <pthread.h> ++#include <stdlib.h> + int main() + { + pthread_mutex_t mutex; +@@ -2435,6 +2438,8 @@ int fd; + struct flock proc_mutex_lock_it = {0}; + const char *fname = "conftest.fcntl"; + ++int lockit(); ++ + int main() + { + int rc, status;; +--- a/poll/os2/pollset.c ++++ b/poll/os2/pollset.c +@@ -308,7 +308,7 @@ APR_DECLARE(apr_status_t) apr_pollset_wakeup(apr_pollset_t *pollset) + + + +-APR_DECLARE(const char *) apr_poll_method_defname() ++APR_DECLARE(const char *) apr_poll_method_defname(void) + { + return "select"; + } +--- a/poll/unix/pollset.c ++++ b/poll/unix/pollset.c +@@ -188,7 +188,7 @@ APR_DECLARE(const char *) apr_pollset_method_name(apr_pollset_t *pollset) + return pollset->provider->name; + } + +-APR_DECLARE(const char *) apr_poll_method_defname() ++APR_DECLARE(const char *) apr_poll_method_defname(void) + { + const apr_pollset_provider_t *provider = NULL; + diff --git a/dev-libs/apr/files/apr-1.7.0-dev-zero.patch b/dev-libs/apr/files/apr-1.7.0-dev-zero.patch new file mode 100644 index 00000000000..be6433dd46b --- /dev/null +++ b/dev-libs/apr/files/apr-1.7.0-dev-zero.patch @@ -0,0 +1,34 @@ +APR (ab)uses AC_TRY_RUN to determine if: + +* We have /dev/zero +* We can mmap /dev/zero + +The APR ebuild sets ac_cv_file__dev_zero=yes when cross compiling +to fill in an answer for the first question, but the configure script +immediately defeats that when answering the second. + +AC_TRY_FUN takes four arguments: the test, and what happens on success, +failure, and cross-compiling. The APR script uses this as a "gate" to +clear ac_cv_file__dev_zero when /dev/zero exists but it turns out not +to be useable. They take a pessimistic approach: if you can't "prove" +it is mmap-able, clear the flag. + +This patch changes that to leave the flag alone while cross compiling; +just assume /dev/zero is mmap-able. It relies on ac_cv_file__dev_zero +to be correctly set for the target. The fourth parameter is changed to +[:] and not [] because [] engages autoconf's default cross-compiling +behavior, which raises an error. + +Signed-off-by: Alexandra Parker <alex.iris.parker@gmail.com> + +--- a/configure.in 2022-01-09 00:31:05.552582255 -0800 ++++ b/configure.in 2022-01-09 00:31:19.824582533 -0800 +@@ -1203,7 +1203,7 @@ + return 3; + } + return 0; +- }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no]) ++ }], [], [ac_cv_file__dev_zero=no], [:]) + + AC_MSG_RESULT($ac_cv_file__dev_zero) + fi diff --git a/dev-libs/argtable/argtable-2.13-r2.ebuild b/dev-libs/argtable/argtable-2.13-r3.ebuild index 5ce3f4197fd..30eee172a9f 100644 --- a/dev-libs/argtable/argtable-2.13-r2.ebuild +++ b/dev-libs/argtable/argtable-2.13-r3.ebuild @@ -3,20 +3,22 @@ EAPI=8 -DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss" -HOMEPAGE="http://argtable.sourceforge.net/" - MY_PV="$(ver_rs 1 '-')" MY_P=${PN}${MY_PV} +DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss" +HOMEPAGE="https://argtable.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86" +KEYWORDS="~alpha amd64 ~arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86" IUSE="doc debug examples static-libs" -S="${WORKDIR}"/${MY_P} +PATCHES=( + "${FILESDIR}"/${PN}-2.13-Fix-implicit-function-declaration.patch +) src_configure() { econf \ @@ -25,20 +27,19 @@ src_configure() { } src_install() { - emake DESTDIR="${D}" install - rm -rf "${D}"/usr/share/doc/${PF}/ + default - dodoc AUTHORS ChangeLog NEWS README + rm -rf "${ED}"/usr/share/doc/${PF}/ if use doc ; then - cd "${S}/doc" + cd "${S}"/doc || die dodoc *.pdf *.ps docinto html dodoc *.html *.gif fi if use examples ; then - cd "${S}/example" + cd "${S}"/example || die docinto examples dodoc Makefile *.[ch] README.txt fi diff --git a/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch b/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch new file mode 100644 index 00000000000..14ade74afaa --- /dev/null +++ b/dev-libs/argtable/files/argtable-2.13-Fix-implicit-function-declaration.patch @@ -0,0 +1,16 @@ +From febb2928d1e72c7adc914b2ef8e0611e1a5ea3fd Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Thu, 6 Oct 2022 18:10:52 +0100 +Subject: [PATCH] Fix implicit function declaration + +Bug: https://bugs.gentoo.org/871231 +--- a/src/arg_int.c ++++ b/src/arg_int.c +@@ -29,6 +29,7 @@ USA. + /* #endif */ + + #include "argtable2.h" ++#include <ctype.h> + #include <limits.h> + + /* local error codes */ diff --git a/dev-libs/asmjit/asmjit-2021.11.13.ebuild b/dev-libs/asmjit/asmjit-2021.11.13.ebuild index 27da2e68b8b..95281b54c69 100644 --- a/dev-libs/asmjit/asmjit-2021.11.13.ebuild +++ b/dev-libs/asmjit/asmjit-2021.11.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,7 +27,7 @@ PATCHES=( ) src_configure() { - mycmakeargs=( + local mycmakeargs=( -DASMJIT_TEST=$(usex test TRUE FALSE) ) cmake_src_configure diff --git a/dev-libs/asmjit/asmjit-2022.07.02.ebuild b/dev-libs/asmjit/asmjit-2022.07.02.ebuild index 909111795e6..a436e9b2a3f 100644 --- a/dev-libs/asmjit/asmjit-2022.07.02.ebuild +++ b/dev-libs/asmjit/asmjit-2022.07.02.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ RESTRICT="!test? ( test )" S="${WORKDIR}"/${PN}-${CommitId} src_configure() { - mycmakeargs=( + local mycmakeargs=( -DASMJIT_TEST=$(usex test) ) cmake_src_configure diff --git a/dev-libs/atcore/atcore-1.0.0.ebuild b/dev-libs/atcore/atcore-1.0.0.ebuild index dabc4305343..5f1724ce84b 100644 --- a/dev-libs/atcore/atcore-1.0.0.ebuild +++ b/dev-libs/atcore/atcore-1.0.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 ECM_TEST="forceoptional" QTMIN=5.12.3 @@ -16,10 +16,6 @@ SLOT="0" KEYWORDS="~amd64" IUSE="doc gui test" -BDEPEND=" - >=dev-qt/linguist-tools-${QTMIN}:5 - doc? ( app-doc/doxygen[dot] ) -" DEPEND=" >=dev-qt/qtserialport-${QTMIN}:5 gui? ( @@ -29,13 +25,17 @@ DEPEND=" ) " RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-qt/linguist-tools-${QTMIN}:5 + doc? ( app-doc/doxygen[dot] ) +" src_prepare() { ecm_src_prepare sed -e "s/${PN}/${PF}/" -i doc/CMakeLists.txt || die - use gui || ecm_punt_bogus_dep Qt5 Charts + use gui || ecm_punt_qt_module Charts use test || cmake_comment_add_subdirectory unittests } diff --git a/dev-libs/atk/atk-2.46.0.ebuild b/dev-libs/atk/atk-2.46.0.ebuild new file mode 100644 index 00000000000..f63e1bcaa4c --- /dev/null +++ b/dev-libs/atk/atk-2.46.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build + +DESCRIPTION="GTK+ & GNOME Accessibility Toolkit" +HOMEPAGE="https://wiki.gnome.org/Accessibility" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="+introspection" + +DEPEND="" +RDEPEND=">=app-accessibility/at-spi2-core-2.46.0[introspection?,${MULTILIB_USEDEP}]" diff --git a/dev-libs/atk/metadata.xml b/dev-libs/atk/metadata.xml index 7b343b06be8..926e1a48f13 100644 --- a/dev-libs/atk/metadata.xml +++ b/dev-libs/atk/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>gnome@gentoo.org</email> - <name>Gentoo GNOME Desktop</name> -</maintainer> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <upstream> + <remote-id type="gnome-gitlab">GNOME/atk</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-libs/aws-sdk-cpp/Manifest b/dev-libs/aws-sdk-cpp/Manifest deleted file mode 100644 index 7c55604e6c1..00000000000 --- a/dev-libs/aws-sdk-cpp/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST aws-sdk-cpp-1.8.105.tar.gz 31880249 BLAKE2B 1a2eb972b716c656f45b8d1d12fc3e7280c171e4a19eb5431e320511365d305211e8567aa7fcc3e21f553ad5befda91829df6ccf60c23296d210d0c7347bb2a2 SHA512 a76da095718c8569c62597431d29a0a54c1a7f81c1825894f0f40b1a971a3e0b4f0813da4ac929612b9bb5f92501ee6a034436faa6eef678d936117765baab7e -DIST aws-sdk-cpp-1.8.160.tar.gz 33282825 BLAKE2B 3c48edb5578d4450feeab94f9c44ec8222e2e7785d8f69d468b97cddc9bb503bb1648facdce85c2c90a73141c60a22aa6d1e29aeb4b8a904f8e926055f48124e SHA512 b71bed89d27361bf735907ad86908a3dcb952ff6ba9d6c2c04dd2ff6afded777b12ad2da79ba97744ef9ade6fa21a5ff4451f5b664bbab8bae4864fa4e0db073 diff --git a/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.105.ebuild b/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.105.ebuild deleted file mode 100644 index 88c4f757a87..00000000000 --- a/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.105.ebuild +++ /dev/null @@ -1,195 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit cmake python-single-r1 - -DESCRIPTION="AWS SDK for C++" -HOMEPAGE="https://aws.amazon.com/sdk-for-cpp/" -SRC_URI="https://github.com/aws/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULES=( - access-management apigateway appconfig backup batch budgets chime cloud-desktop cloud-dev cloud-media - cloud-mobile cloudformation cloudfront cloudhsm cloudsearch cloudwatch cognito config dlm ebs ec2 ecr ecs - eks elasticache elasticbeanstalk elastic-inference elasticloadbalancing elasticmapreduce email es events - forecast frauddetector fsx globalaccelerator iot kendra kinesis kms lambda lex license-manager lightsail - lookoutvision machinelearning macie managedblockchain marketplace mwaa networkmanager opsworks - organizations other outposts personalize polly qldb queues rds rekognition resource-groups route53 s3 - sagemaker secretsmanager securityhub serverlessrepo shield sns sqs textract timestream transcribe - translate waf -) - -IUSE="+http pulseaudio +rtti +ssl static-libs test unity-build ${MODULES[*]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND=" - http? ( net-misc/curl:= ) - pulseaudio? ( media-sound/pulseaudio ) - ssl? ( - dev-libs/openssl:0= - ) - >=dev-libs/aws-c-common-0.4.62:=[static-libs=] - >=dev-libs/aws-c-event-stream-0.2.5:=[static-libs=] - >=dev-libs/aws-checksums-0.1.10:=[static-libs=] - sys-libs/zlib -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" - -PATCHES=( - "${FILESDIR}"/${PN}-upgrade_android-build_build_and_test_android_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_binary-release-pipeline_lambda_publish_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_ConstructReleaseDoc_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_ExtractBuildArgs_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_handle_release_notification_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_move_release_doc_to_models_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_doc_crosslinks_generate_cross_link_data_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_build_3rdparty_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_build_example_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_dummy_web_server_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_endpoints_checker_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_gather_3rdparty_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_generate_sdks_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_renew_license_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_run_integration_tests_py-3.9.patch - "${FILESDIR}"/${P}-remove_Werror_from_FLAGS.patch -) - -src_configure() { - local mybuildtargets="core" - - for module in ${MODULES[@]}; do - if use ${module}; then - if [ "${module}" = "access-management" ] ; then - mybuildtargets+=";${module};accessanalyzer;acm;acm-pca;dataexchange;iam" - mybuildtargets+=";identity-management;identitystore;ram;sso;sso-admin;sso-oidc;sts" - elif [ "${module}" = "apigateway" ] ; then - mybuildtargets+=";${module};apigatewaymanagementapi;apigatewayv2" - elif [ "${module}" = "budgets" ] ; then - mybuildtargets+=";${module};ce;cur" - elif [ "${module}" = "cloud-desktop" ] ; then - mybuildtargets+=";appstream;workdocs;worklink;workmail;workmailmessageflow;workspaces" - elif [ "${module}" = "cloud-dev" ] ; then - mybuildtargets+=";cloud9;codeartifact;codebuild;codecommit;codedeploy;codeguruprofiler" - mybuildtargets+=";codeguru-reviewer;codepipeline;codestar;codestar-connections" - mybuildtargets+=";codestar-notifications;honeycode;xray" - if ! use "queues"; then - mybuildtargets+=";queues" - fi - elif [ "${module}" = "cloud-media" ] ; then - mybuildtargets+=";elastictranscoder;mediaconnect;mediaconvert;medialive;mediapackage" - mybuildtargets+=";mediapackage-vod;mediastore;mediastore-data;mediatailor" - elif [ "${module}" = "cloud-mobile" ] ; then - mybuildtargets+=";amplify;appsync;devicefarm;mobile;mobileanalytics;pinpoint" - mybuildtargets+=";pinpoint-email;sms-voice" - if ! use "sns"; then - mybuildtargets+=";sns" - fi - elif [ "${module}" = "cloudhsm" ] ; then - mybuildtargets+=";${module};cloudhsmv2" - elif [ "${module}" = "cloudsearch" ] ; then - mybuildtargets+=";${module};cloudsearchdomain" - elif [ "${module}" = "cloudwatch" ] ; then - mybuildtargets+=";application-insights;appmesh;auditmanager;cloudtrail;compute-optimizer" - mybuildtargets+=";detective;devops-guru;guardduty;health;inspector;logs;monitoring;synthetics" - elif [ "${module}" = "cognito" ] ; then - mybuildtargets+=";cognito-identity;cognito-idp;cognito-sync" - elif [ "${module}" = "dynamodb" ] ; then - mybuildtargets+=";${module};dax;dynamodbstreams" - elif [ "${module}" = "ec2" ] ; then - mybuildtargets+=";${module};autoscaling;autoscaling-plans;application-autoscaling" - mybuildtargets+=";ec2-instance-connect;elasticfilesystem;imagebuilder;savingsplans" - elif [ "${module}" = "ecr" ] ; then - mybuildtargets+=";${module};ecr-public" - elif [ "${module}" = "eks" ] ; then - mybuildtargets+=";${module};emr-containers" - elif [ "${module}" = "elasticloadbalancing" ] ; then - mybuildtargets+=";${module};elasticloadbalancingv2" - elif [ "${module}" = "email" ] ; then - mybuildtargets+=";${module};sesv2" - elif [ "${module}" = "events" ] ; then - mybuildtargets+=";${module};eventbridge" - elif [ "${module}" = "forecast" ] ; then - mybuildtargets+=";${module};forecastquery" - elif [ "${module}" = "iot" ] ; then - mybuildtargets+=";${module};greengrass;iot1click-devices;iot1click-projects" - mybuildtargets+=";iotanalytics;iot-data;iotevents;iotevents-data;iot-jobs-data" - mybuildtargets+=";iotsecuretunneling;iotsitewise;iotthingsgraph" - elif [ "${module}" = "kinesis" ] ; then - mybuildtargets+=";${module};firehose;ivs;kinesisanalytics;kinesisanalyticsv2" - mybuildtargets+=";kinesisvideo;kinesis-video-archived-media;kinesis-video-media" - mybuildtargets+=";kinesis-video-signaling" - elif [ "${module}" = "lex" ] ; then - mybuildtargets+=";${module};lex-models" - elif [ "${module}" = "macie" ] ; then - mybuildtargets+=";${module};macie2" - elif [ "${module}" = "marketplace" ] ; then - mybuildtargets+=";marketplacecommerceanalytics;marketplace-catalog" - mybuildtargets+=";marketplace-entitlement;meteringmarketplace;pricing" - mybuildtargets+=";servicecatalog-appregistry" - elif [ "${module}" = "opsworks" ] ; then - mybuildtargets+=";${module};opsworkscm" - elif [ "${module}" = "other" ] ; then - mybuildtargets+=";AWSMigrationHub;alexaforbusiness;appflow;braket;clouddirectory" - mybuildtargets+=";comprehend;comprehendmedical;connect;connect-contact-lens" - mybuildtargets+=";connectparticipant;customer-profiles;datapipeline;databrew;datasync" - mybuildtargets+=";directconnect;discovery;dms;docdb;ds;dynamodb;gamelift;glue" - mybuildtargets+=";groundstation;healthlake;importexport;kafka;lakeformation" - mybuildtargets+=";migrationhub-config;mq;mturk-requester;neptune;quicksight;redshift" - mybuildtargets+=";robomaker;sdb;schemas;service-quotas;servicecatalog;servicediscovery" - mybuildtargets+=";signer;sms;snowball;ssm;states;storagegateway;support;swf" - elif [ "${module}" = "outposts" ] ; then - mybuildtargets+=";${module};s3outposts" - elif [ "${module}" = "personalize" ] ; then - mybuildtargets+=";${module};personalize-events;personalize-runtime" - elif [ "${module}" = "polly" ] ; then - mybuildtargets+=";${module};text-to-speech" - elif [ "${module}" = "qldb" ] ; then - mybuildtargets+=";${module};qldb-session" - elif [ "${module}" = "rds" ] ; then - mybuildtargets+=";${module};pi;rds-data" - elif [ "${module}" = "resource-groups" ] ; then - mybuildtargets+=";${module};resourcegroupstaggingapi" - elif [ "${module}" = "route53" ] ; then - mybuildtargets+=";${module};route53domains;route53resolver" - elif [ "${module}" = "s3" ] ; then - mybuildtargets+=";${module};athena;awstransfer;glacier;s3-encryption;s3control;transfer" - elif [ "${module}" = "sagemaker" ] ; then - mybuildtargets+=";${module};sagemaker-a2i-runtime;sagemaker-edge" - mybuildtargets+=";sagemaker-featurestore-runtime;sagemaker-runtime" - elif [ "${module}" = "timestream" ] ; then - mybuildtargets+=";timestream-query;timestream-write" - elif [ "${module}" = "transcribe" ] ; then - mybuildtargets+=";${module};transcribestreaming" - elif [ "${module}" = "waf" ] ; then - mybuildtargets+=";${module};fms;network-firewall;waf-regional;wafv2" - else - mybuildtargets+=";${module}" - fi - fi - done - - local mycmakeargs=( - -DAUTORUN_UNIT_TESTS=$(usex test) - -DBUILD_DEPS=NO - -DBUILD_ONLY="${mybuildtargets}" - -DBUILD_SHARED_LIBS=$(usex !static-libs) - -DCPP_STANDARD=17 - -DENABLE_RTTI=$(usex rtti) - -DENABLE_TESTING=$(usex test) - -DENABLE_UNITY_BUILD=$(usex unity-build) - -DNO_ENCRYPTION=$(usex !ssl) - -DNO_HTTP_CLIENT=$(usex !http) - ) - cmake_src_configure -} diff --git a/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.160.ebuild b/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.160.ebuild deleted file mode 100644 index d1b0790ea76..00000000000 --- a/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.160.ebuild +++ /dev/null @@ -1,206 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit cmake python-single-r1 - -DESCRIPTION="AWS SDK for C++" -HOMEPAGE="https://aws.amazon.com/sdk-for-cpp/" -SRC_URI="https://github.com/aws/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -MODULES=( - access-management apigateway appconfig backup batch budgets chime cloud-desktop cloud-dev cloud-media - cloud-mobile cloudformation cloudfront cloudhsm cloudsearch cloudwatch cognito config dlm ebs ec2 ecr ecs - eks elasticache elasticbeanstalk elastic-inference elasticloadbalancing elasticmapreduce email es events - forecast frauddetector fsx globalaccelerator iot kendra kinesis kms lambda lex license-manager lightsail - lookoutvision machinelearning macie managedblockchain marketplace mwaa networkmanager opsworks - organizations other outposts personalize polly qldb queues rds rekognition resource-groups route53 s3 - sagemaker secretsmanager securityhub serverlessrepo shield sns sqs textract timestream transcribe - translate waf wellarchitected -) - -IUSE="+http pulseaudio +rtti +ssl static-libs test unity-build ${MODULES[*]}" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND=" - http? ( net-misc/curl:= ) - pulseaudio? ( media-sound/pulseaudio ) - ssl? ( - dev-libs/openssl:0= - ) - >=dev-libs/aws-c-common-0.5.2:=[static-libs=] - >=dev-libs/aws-c-event-stream-0.2.7:=[static-libs=] - >=dev-libs/aws-checksums-0.1.10:=[static-libs=] - sys-libs/zlib -" -RDEPEND=" - ${DEPEND} - ${PYTHON_DEPS} -" - -PATCHES=( - "${FILESDIR}"/${PN}-upgrade_android-build_build_and_test_android_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_binary-release-pipeline_lambda_publish_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_ConstructReleaseDoc_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_ExtractBuildArgs_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_handle_release_notification_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_CI_move_release_doc_to_models_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_doc_crosslinks_generate_cross_link_data_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_build_3rdparty_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_build_example_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_dummy_web_server_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_endpoints_checker_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_gather_3rdparty_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_generate_sdks_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_renew_license_py-3.9.patch - "${FILESDIR}"/${PN}-upgrade_scripts_run_integration_tests_py-3.9.patch - "${FILESDIR}"/${PN}-1.8.105-remove_Werror_from_FLAGS.patch - "${FILESDIR}"/${P}-disable_http_testing.patch -) - -src_configure() { - local mybuildtargets="core" - - for module in ${MODULES[@]}; do - if use ${module}; then - if [ "${module}" = "access-management" ] ; then - mybuildtargets+=";${module};accessanalyzer;acm;acm-pca;dataexchange;iam" - mybuildtargets+=";identity-management;identitystore;ram;sso;sso-admin;sso-oidc;sts" - elif [ "${module}" = "apigateway" ] ; then - mybuildtargets+=";${module};apigatewaymanagementapi;apigatewayv2" - elif [ "${module}" = "budgets" ] ; then - mybuildtargets+=";${module};ce;cur" - elif [ "${module}" = "cloud-desktop" ] ; then - mybuildtargets+=";appstream;workdocs;worklink;workmail;workmailmessageflow;workspaces" - elif [ "${module}" = "cloud-dev" ] ; then - mybuildtargets+=";cloud9;codeartifact;codebuild;codecommit;codedeploy;codeguruprofiler" - mybuildtargets+=";codeguru-reviewer;codepipeline;codestar;codestar-connections" - mybuildtargets+=";codestar-notifications;honeycode;xray" - if ! use "queues"; then - mybuildtargets+=";queues" - fi - elif [ "${module}" = "cloud-media" ] ; then - mybuildtargets+=";elastictranscoder;mediaconnect;mediaconvert;medialive;mediapackage" - mybuildtargets+=";mediapackage-vod;mediastore;mediastore-data;mediatailor" - elif [ "${module}" = "cloud-mobile" ] ; then - mybuildtargets+=";amplify;appsync;devicefarm;mobile;mobileanalytics;pinpoint" - mybuildtargets+=";pinpoint-email;sms-voice" - if ! use "sns"; then - mybuildtargets+=";sns" - fi - elif [ "${module}" = "cloudhsm" ] ; then - mybuildtargets+=";${module};cloudhsmv2" - elif [ "${module}" = "cloudsearch" ] ; then - mybuildtargets+=";${module};cloudsearchdomain" - elif [ "${module}" = "cloudwatch" ] ; then - mybuildtargets+=";application-insights;appmesh;auditmanager;cloudtrail;compute-optimizer" - mybuildtargets+=";detective;devops-guru;guardduty;health;inspector;logs;monitoring;synthetics" - elif [ "${module}" = "cognito" ] ; then - mybuildtargets+=";cognito-identity;cognito-idp;cognito-sync" - elif [ "${module}" = "dynamodb" ] ; then - mybuildtargets+=";${module};dax;dynamodbstreams" - elif [ "${module}" = "ec2" ] ; then - mybuildtargets+=";${module};autoscaling;autoscaling-plans;application-autoscaling" - mybuildtargets+=";ec2-instance-connect;elasticfilesystem;imagebuilder;savingsplans" - elif [ "${module}" = "ecr" ] ; then - mybuildtargets+=";${module};ecr-public" - elif [ "${module}" = "eks" ] ; then - mybuildtargets+=";${module};emr-containers" - elif [ "${module}" = "elasticloadbalancing" ] ; then - mybuildtargets+=";${module};elasticloadbalancingv2" - elif [ "${module}" = "email" ] ; then - mybuildtargets+=";${module};sesv2" - elif [ "${module}" = "events" ] ; then - mybuildtargets+=";${module};eventbridge" - elif [ "${module}" = "forecast" ] ; then - mybuildtargets+=";${module};forecastquery" - elif [ "${module}" = "iot" ] ; then - mybuildtargets+=";${module};greengrass;greengrassv2;iot1click-devices;iot1click-projects;iotanalytics" - mybuildtargets+=";iot-data;iotdeviceadvisor;iotevents;iotfleethub;iotevents-data;iot-jobs-data" - mybuildtargets+=";iotsecuretunneling;iotsitewise;iotthingsgraph;iotwireless" - elif [ "${module}" = "kinesis" ] ; then - mybuildtargets+=";${module};firehose;ivs;kinesisanalytics;kinesisanalyticsv2" - mybuildtargets+=";kinesisvideo;kinesis-video-archived-media;kinesis-video-media" - mybuildtargets+=";kinesis-video-signaling" - elif [ "${module}" = "lex" ] ; then - mybuildtargets+=";${module};lex-models;lexv2-models;lexv2-runtime" - elif [ "${module}" = "macie" ] ; then - mybuildtargets+=";${module};macie2" - elif [ "${module}" = "marketplace" ] ; then - mybuildtargets+=";marketplacecommerceanalytics;marketplace-catalog" - mybuildtargets+=";marketplace-entitlement;meteringmarketplace;pricing" - mybuildtargets+=";servicecatalog-appregistry" - elif [ "${module}" = "opsworks" ] ; then - mybuildtargets+=";${module};opsworkscm" - elif [ "${module}" = "other" ] ; then - mybuildtargets+=";AWSMigrationHub;alexaforbusiness;appflow;appintegrations;braket;clouddirectory" - mybuildtargets+=";comprehend;comprehendmedical;connect;connect-contact-lens" - mybuildtargets+=";connectparticipant;customer-profiles;datapipeline;databrew;datasync" - mybuildtargets+=";directconnect;discovery;dms;docdb;ds;dynamodb;gamelift;glue" - mybuildtargets+=";groundstation;healthlake;importexport;kafka;lakeformation" - mybuildtargets+=";migrationhub-config;mq;mturk-requester;neptune;quicksight;redshift" - mybuildtargets+=";robomaker;sdb;schemas;service-quotas;servicecatalog;servicediscovery" - mybuildtargets+=";signer;sms;snowball;ssm;states;storagegateway;support;swf" - elif [ "${module}" = "outposts" ] ; then - mybuildtargets+=";${module};s3outposts" - elif [ "${module}" = "personalize" ] ; then - mybuildtargets+=";${module};personalize-events;personalize-runtime" - elif [ "${module}" = "polly" ] ; then - mybuildtargets+=";${module};text-to-speech" - elif [ "${module}" = "qldb" ] ; then - mybuildtargets+=";${module};qldb-session" - elif [ "${module}" = "rds" ] ; then - mybuildtargets+=";${module};pi;rds-data" - elif [ "${module}" = "resource-groups" ] ; then - mybuildtargets+=";${module};resourcegroupstaggingapi" - elif [ "${module}" = "route53" ] ; then - mybuildtargets+=";${module};route53domains;route53resolver" - elif [ "${module}" = "s3" ] ; then - mybuildtargets+=";${module};athena;awstransfer;glacier;s3-encryption;s3control;transfer" - elif [ "${module}" = "sagemaker" ] ; then - mybuildtargets+=";${module};sagemaker-a2i-runtime;sagemaker-edge" - mybuildtargets+=";sagemaker-featurestore-runtime;sagemaker-runtime" - elif [ "${module}" = "timestream" ] ; then - mybuildtargets+=";timestream-query;timestream-write" - elif [ "${module}" = "transcribe" ] ; then - mybuildtargets+=";${module};transcribestreaming" - elif [ "${module}" = "waf" ] ; then - mybuildtargets+=";${module};fms;network-firewall;waf-regional;wafv2" - else - mybuildtargets+=";${module}" - fi - fi - done - - local mycmakeargs=( - -DAUTORUN_UNIT_TESTS=$(usex test) - -DBUILD_DEPS=NO - -DBUILD_ONLY="${mybuildtargets}" - -DBUILD_SHARED_LIBS=$(usex !static-libs) - -DCPP_STANDARD=17 - -DENABLE_RTTI=$(usex rtti) - -DENABLE_TESTING=$(usex test) - -DENABLE_UNITY_BUILD=$(usex unity-build) - -DNO_ENCRYPTION=$(usex !ssl) - -DNO_HTTP_CLIENT=$(usex !http) - ) - - if use test; then - # (#759802) Due to network sandboxing of portage, internet connectivity - # tests will always fail. If you need a USE flag, because you want/need - # to perform these tests manually, please open a bug report for it. - mycmakeargs+=( - -DENABLE_HTTP_CLIENT_TESTING=OFF - ) - fi - - cmake_src_configure -} diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.105-remove_Werror_from_FLAGS.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.105-remove_Werror_from_FLAGS.patch deleted file mode 100644 index 8130066cc39..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.105-remove_Werror_from_FLAGS.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/cmake/compiler_settings.cmake 2020-12-12 15:31:17.703362345 +0100 -+++ b/cmake/compiler_settings.cmake 2020-12-12 15:31:53.641363625 +0100 -@@ -53,7 +53,7 @@ - endmacro() - - macro(set_gcc_warnings) -- list(APPEND AWS_COMPILER_WARNINGS "-Wall" "-Werror" "-pedantic" "-Wextra") -+ list(APPEND AWS_COMPILER_WARNINGS "-Wall" "-pedantic" "-Wextra") - if(COMPILER_CLANG) - if(PLATFORM_ANDROID) - # when using clang with libc and API lower than 21 we need to include Android support headers and ignore the gnu-include-next warning. ---- a/cspell.json 2020-12-12 15:31:17.703362345 +0100 -+++ b/cspell.json 2020-12-12 15:31:42.488363228 +0100 -@@ -13,7 +13,7 @@ - // CMake - "cmake", "DCMAKE", "AUTORUN", "DEPS", "STREQUAL", "RPATH", "STREQUAL", "DTARGET", "TOOLCHAIN", "DANDROID", "DBUILD", "DGIT", "SYSROOT", "DSTATIC", "BINDIR", "LIBDIR", "INCLUDEDIR", "DHAS", - // Compiler and linker -- "Wpedantic", "Wextra", "Werror", "xldscope", "Wtype", "Wunused", "RTTI", "ffunction", "fdata", "fsanitize", "pathconf", "unistd", "umask", -+ "Wpedantic", "Wextra", "xldscope", "Wtype", "Wunused", "RTTI", "ffunction", "fdata", "fsanitize", "pathconf", "unistd", "umask", - // Android NDK - "JNIEXPORT", "jint", "JNICALL", "jobject", "jclass", "jmethod", "Ljava", - // XML parser ---- a/CI/install-test/CMakeLists.txt 2020-12-12 15:31:17.704362345 +0100 -+++ b/CI/install-test/CMakeLists.txt 2020-12-12 15:32:06.433364080 +0100 -@@ -4,4 +4,4 @@ - find_package(AWSSDK REQUIRED COMPONENTS s3) - add_executable(${PROJECT_NAME} "main.cpp") - target_link_libraries(${PROJECT_NAME} ${AWSSDK_LINK_LIBRARIES}) --target_compile_options(${PROJECT_NAME} PRIVATE "-Wall" "-Werror") -+target_compile_options(${PROJECT_NAME} PRIVATE "-Wall") diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch deleted file mode 100644 index 8bf926148e5..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp 2021-03-14 12:52:01.193340560 +0100 -+++ b/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp 2021-03-14 12:52:42.684342951 +0100 -@@ -18,7 +18,7 @@ - using namespace Aws::Utils; - using namespace Aws::Client; - --#ifndef NO_HTTP_CLIENT -+#if !defined(NO_HTTP_CLIENT) && ENABLE_HTTP_CLIENT_TESTING - static void makeRandomHttpRequest(std::shared_ptr<HttpClient> httpClient) - { - auto request = CreateHttpRequest(Aws::String("http://some.unknown1234xxx.test.aws"), -@@ -319,4 +319,4 @@ - } - #endif // ENABLE_CURL_CLIENT - #endif // ENABLE_HTTP_CLIENT_TESTING --#endif // NO_HTTP_CLIENT -+#endif // !defined(NO_HTTP_CLIENT) && ENABLE_HTTP_CLIENT_TESTING diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_ConstructReleaseDoc_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_ConstructReleaseDoc_py-3.9.patch deleted file mode 100644 index 658abfded78..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_ConstructReleaseDoc_py-3.9.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/CI/ConstructReleaseDoc.py (original) -+++ b/CI/ConstructReleaseDoc.py (refactored) -@@ -35,6 +35,6 @@ - releases.append(release) - changeDoc["releases"] = releases - -- print(json.dumps(changeDoc)) -+ print((json.dumps(changeDoc))) - - Main() diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_ExtractBuildArgs_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_ExtractBuildArgs_py-3.9.patch deleted file mode 100644 index fb6856abff3..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_ExtractBuildArgs_py-3.9.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/CI/ExtractBuildArgs.py (original) -+++ b/CI/ExtractBuildArgs.py (refactored) -@@ -3,15 +3,15 @@ - import json - - if len(sys.argv) != 2: -- print >> sys.stderr, " Usage: python ExtractBuildArgs.py <ArgName>" -+ print(" Usage: python ExtractBuildArgs.py <ArgName>", file=sys.stderr) - exit (-1) - - try: - data = json.load(open('BuildSpec.json')) - if sys.argv[1] == "cmakeFlags" and data["cmakeFlags"] != "": -- print(data["cmakeFlags"]) -+ print((data["cmakeFlags"])) - elif sys.argv[1] == "branch" and data["branch"] != "": -- print(data["branch"]) -+ print((data["branch"])) - except: -- print >> sys.stderr, "No related args found in BuildSpec.json" -+ print("No related args found in BuildSpec.json", file=sys.stderr) - exit(-1) diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_handle_release_notification_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_handle_release_notification_py-3.9.patch deleted file mode 100644 index ddd162025b4..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_handle_release_notification_py-3.9.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/CI/handle_release_notification.py (original) -+++ b/CI/handle_release_notification.py (refactored) -@@ -1,5 +1,5 @@ - --from __future__ import print_function -+ - - import json - import zipfile diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_move_release_doc_to_models_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_move_release_doc_to_models_py-3.9.patch deleted file mode 100644 index ef7a384d7e6..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_CI_move_release_doc_to_models_py-3.9.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/CI/move_release_doc_to_models.py (original) -+++ b/CI/move_release_doc_to_models.py (refactored) -@@ -1,5 +1,5 @@ - --from __future__ import print_function -+ - - import json - import zipfile diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_android-build_build_and_test_android_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_android-build_build_and_test_android_py-3.9.patch deleted file mode 100644 index e77436236c9..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_android-build_build_and_test_android_py-3.9.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/android-build/build_and_test_android.py (original) -+++ b/android-build/build_and_test_android.py (refactored) -@@ -120,13 +120,13 @@ - - validTests = GetTestList( buildSharedObjects ) - if runTest not in validTests: -- print( 'Invalid value for runtest option: ' + runTest ) -+ print(( 'Invalid value for runtest option: ' + runTest )) - print( 'Valid values are: ' ) -- print( ' ' + ", ".join( validTests ) ) -+ print(( ' ' + ", ".join( validTests ) )) - raise ArgumentException('runtest', runTest) - - if not IsValidABI(abi): -- print('Invalid argument value for abi: ', abi) -+ print(('Invalid argument value for abi: ', abi)) - print(' Valid values are "armeabi-v7a"') - raise ArgumentException('abi', abi) - -@@ -140,7 +140,7 @@ - avd = FindAVDForABI(abi, avdABIs) - - if not IsValidAVD(avd, abi, avdABIs): -- print('Invalid virtual device: ', avd) -+ print(('Invalid virtual device: ', avd)) - print(' Use --avd to set the virtual device') - print(' Use "android lists avds" to see all usable virtual devices') - raise ArgumentException('avd', avd) diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_binary-release-pipeline_lambda_publish_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_binary-release-pipeline_lambda_publish_py-3.9.patch deleted file mode 100644 index 5322430bfb3..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_binary-release-pipeline_lambda_publish_py-3.9.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/CI/binary-release-pipeline/lambda_publish.py (original) -+++ b/CI/binary-release-pipeline/lambda_publish.py (refactored) -@@ -39,9 +39,9 @@ - prefix = publish_key_prefix, - config = config - ) -- print('Uploading artifacts to https://s3.console.aws.amazon.com/s3/object/{bucket}/{key}'.format( -+ print(('Uploading artifacts to https://s3.console.aws.amazon.com/s3/object/{bucket}/{key}'.format( - bucket = publish_bucket, -- key = publish_key)) -+ key = publish_key))) - - s3.meta.client.copy( - { 'Bucket': input_artifacts[i]['location']['s3Location']['bucketName'], diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_doc_crosslinks_generate_cross_link_data_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_doc_crosslinks_generate_cross_link_data_py-3.9.patch deleted file mode 100644 index f17f05b3d3d..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_doc_crosslinks_generate_cross_link_data_py-3.9.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/doc_crosslinks/generate_cross_link_data.py (original) -+++ b/doc_crosslinks/generate_cross_link_data.py (refactored) -@@ -17,14 +17,14 @@ - if match: - with codecs.open(join(apiDefinitionsPath, file), 'rb', 'utf-8') as api_definition: - api_content = json.loads(api_definition.read()) -- if "uid" in api_content["metadata"].keys(): -+ if "uid" in list(api_content["metadata"].keys()): - sdks[api_content["metadata"]["uid"]] = getServiceNameFromMetadata(api_content["metadata"]) - - return sdks - - def getServiceNameFromMetadata(metadataNode): - toSanitize = "" -- if "serviceAbbreviation" in metadataNode.keys(): -+ if "serviceAbbreviation" in list(metadataNode.keys()): - toSanitize = metadataNode["serviceAbbreviation"] - else: - toSanitize = metadataNode["serviceFullName"] diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_build_3rdparty_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_build_3rdparty_py-3.9.patch deleted file mode 100644 index 885f94800c1..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_build_3rdparty_py-3.9.patch +++ /dev/null @@ -1,70 +0,0 @@ ---- a/scripts/build_3rdparty.py (original) -+++ b/scripts/build_3rdparty.py (refactored) -@@ -237,7 +237,7 @@ - dependentInstallFile = os.path.join( uppercaseLib + "-prefix", "src", uppercaseLib + "-build", "cmake_install.cmake" ) - dependentInstallDirectory = '"' + os.path.join( installDirectory, "external", dependentLib ) + '"' - dependent_install_call = "cmake -DCMAKE_INSTALL_CONFIG_NAME=" + config + " -DCMAKE_INSTALL_PREFIX=" + dependentInstallDirectory + " -P " + dependentInstallFile + " .." -- print( "dependent install call = " + dependent_install_call ) -+ print(( "dependent install call = " + dependent_install_call )) - subprocess.check_call( dependent_install_call, shell = True ) - - -@@ -254,7 +254,7 @@ - - sourcePlatform = platform.system() - if not sourcePlatform in platformEnvironments: -- print( "Platform " + sourcePlatform + " not supported as a build platform" ) -+ print(( "Platform " + sourcePlatform + " not supported as a build platform" )) - return 1 - - platformEnv = platformEnvironments[ sourcePlatform ] -@@ -292,12 +292,12 @@ - shutil.rmtree( installDirectory ) - - if not architecture in platformBuildTargets: -- print( "No definition for target architecture " + architecture ) -+ print(( "No definition for target architecture " + architecture )) - return 1 - - targetPlatformDef = platformBuildTargets[ architecture ] - if not sourcePlatform in targetPlatformDef[ 'buildPlatforms' ]: -- print( "Platform " + sourcePlatform + " does not support building for architecture " + architecture ) -+ print(( "Platform " + sourcePlatform + " does not support building for architecture " + architecture )) - return 1 - - buildEnvironment = buildEnvironments[ targetPlatformDef[ 'build_environment' ] ] -@@ -338,18 +338,18 @@ - cmake_call_list = cmake_call_list + " -DCUSTOM_PLATFORM_DIR=\"" + customPlatformDir + "\"" - - cmake_call_list = cmake_call_list + " " + quotedSourceDir -- print( "cmake call = " + cmake_call_list ) -+ print(( "cmake call = " + cmake_call_list )) - subprocess.check_call( cmake_call_list, shell = True ) - - parallelBuildOption = buildEnvironment[ 'parallel_option' ].replace("??", str(parallelJobs)) - build_call_list = buildEnvironment[ 'global_build_call' ] + archConfig[ 'build_params' ] - if parallelBuildOption != "": - build_call_list = build_call_list + [ parallelBuildOption ] -- print( "build call = " + str( build_call_list ) ) -+ print(( "build call = " + str( build_call_list ) )) - subprocess.check_call( build_call_list ) - - install_call = "cmake -DCMAKE_INSTALL_CONFIG_NAME=" + archConfig[ 'config' ] + " -DCMAKE_INSTALL_PREFIX=" + quotedInstallDirectory + " -P cmake_install.cmake " + quotedSourceDir -- print( "install call = " + install_call ) -+ print(( "install call = " + install_call )) - subprocess.check_call( install_call, shell = True ) - - # platform specific stuff -@@ -365,9 +365,9 @@ - os.chdir( ".." ) - - else: -- print("Build target config " + targetConfig + " does not exist for architecture " + architecture) -- -- print( "Aws SDK for C++ finished 3rd party installation into: " + installDirectory ) -+ print(("Build target config " + targetConfig + " does not exist for architecture " + architecture)) -+ -+ print(( "Aws SDK for C++ finished 3rd party installation into: " + installDirectory )) - - - # On windows: Run from powershell; make sure msbuild is in PATH environment variable diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_build_example_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_build_example_py-3.9.patch deleted file mode 100644 index 8596e41c5f2..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_build_example_py-3.9.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/scripts/build_example.py (original) -+++ b/scripts/build_example.py (refactored) -@@ -56,13 +56,13 @@ - cmake_call = cmake_call + " -DCMAKE_PREFIX_PATH=" + sdkInstallDir - cmake_call = cmake_call + " -DAWSSDK_ROOT_DIR=" + sdkInstallDir - cmake_call = cmake_call + " " + sourceDir -- print("cmake call = " + cmake_call) -+ print(("cmake call = " + cmake_call)) - subprocess.check_call(cmake_call, shell = True) - - build_call = buildEnvironment[ platform ][ 'global_build_call' ] - build_call = build_call + buildEnvironment[ platform ][ 'configs' ].replace("??", buildType) - build_call = build_call + buildEnvironment[ platform ][ 'parallel_option' ].replace("??", parallel) -- print("build call = " + build_call) -+ print(("build call = " + build_call)) - subprocess.check_call(build_call, shell = True) - - def Main(): diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch deleted file mode 100644 index 396d1b134eb..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_dummy_web_server_py-3.9.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/scripts/dummy_web_server.py (original) -+++ b/scripts/dummy_web_server.py (refactored) -@@ -78,7 +78,7 @@ - self._set_headers() - self.wfile.write(self._html("hi!")) - except socket.error as e: -- print ("socket.error : Connection broke. Aborting" + str(e)) -+ print(("socket.error : Connection broke. Aborting" + str(e))) - self.wfile._sock.close() - self.wfile._sock = None - return False -@@ -111,7 +111,7 @@ - server_address = (addr, port) - httpd = server_class(server_address, handler_class) - -- print("Starting httpd server on {}:{}.".format(addr, port)) -+ print(("Starting httpd server on {}:{}.".format(addr, port))) - httpd.serve_forever() - httpd.stop_server() - diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_endpoints_checker_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_endpoints_checker_py-3.9.patch deleted file mode 100644 index 3fd67591c09..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_endpoints_checker_py-3.9.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/scripts/endpoints_checker.py (original) -+++ b/scripts/endpoints_checker.py (refactored) -@@ -64,8 +64,8 @@ - strippedContent = RemoveCPPComments(content); - match = ScanContent(strippedContent); - if match: -- print inputFile; -- print "..." + strippedContent[match.start() : match.end()] + "..."; -+ print(inputFile); -+ print("..." + strippedContent[match.start() : match.end()] + "..."); - return True; - - return False; -@@ -109,7 +109,7 @@ - assert ScanContent("\"cn-north-2 doesn't exist\"") == None; - - ###################Test End###################################### --print "Start checking hard coded endpoints in source files..."; -+print("Start checking hard coded endpoints in source files..."); - exitCode = 0; - RootDir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))); - for root, dirnames, fileNames in os.walk(RootDir): -@@ -117,5 +117,5 @@ - if fileName.endswith(('.h', '.cpp')): - targetFile = os.path.join(root, fileName); - exitCode |= CheckFile(targetFile); --print "Finished checking hard coded endpoints in source files with exit code",exitCode,"."; -+print("Finished checking hard coded endpoints in source files with exit code",exitCode,"."); - exit(exitCode); diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_gather_3rdparty_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_gather_3rdparty_py-3.9.patch deleted file mode 100644 index c1141bdf53e..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_gather_3rdparty_py-3.9.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/scripts/gather_3rdparty.py (original) -+++ b/scripts/gather_3rdparty.py (refactored) -@@ -200,7 +200,7 @@ - - # shutil.rmtree( destDir ) - -- print( "Aws SDK for C++ finished 3rd party pre-build gather into: " + uploadZipFile ) -+ print(( "Aws SDK for C++ finished 3rd party pre-build gather into: " + uploadZipFile )) - - - Main() diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_generate_sdks_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_generate_sdks_py-3.9.patch deleted file mode 100644 index 12b910425bf..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_generate_sdks_py-3.9.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/scripts/generate_sdks.py (original) -+++ b/scripts/generate_sdks.py (refactored) -@@ -94,7 +94,7 @@ - with zipfile.ZipFile(output.strip().decode('utf-8'), 'r') as zip: - zip.extractall(outputDir) - except EnvironmentError as ex: -- print('Error generating sdk {} with error {}'.format(sdk, ex)) -+ print(('Error generating sdk {} with error {}'.format(sdk, ex))) - - def Main(): - arguments = ParseArguments() -@@ -105,11 +105,11 @@ - sdks = DiscoverAllAvailableSDKs(arguments['pathToApiDefinitions']) - - if arguments['listAll']: -- for key, value in sdks.iteritems(): -+ for key, value in sdks.items(): - print(value) - - if arguments['serviceName']: -- print('Generating {} api version {}.'.format(arguments['serviceName'], arguments['apiVersion'])) -+ print(('Generating {} api version {}.'.format(arguments['serviceName'], arguments['apiVersion']))) - key = '{}-{}'.format(arguments['serviceName'], arguments['apiVersion']) - GenerateSdk(arguments['pathToGenerator'], sdks[key], arguments['outputLocation'], arguments['namespace'], arguments['licenseText'], arguments['standalone'], arguments['enableVirtualOperations']) - diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_renew_license_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_renew_license_py-3.9.patch deleted file mode 100644 index d73fa82ff1c..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_renew_license_py-3.9.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/scripts/renew_license.py (original) -+++ b/scripts/renew_license.py (refactored) -@@ -55,7 +55,7 @@ - if (skipFile(inputFile)): - return False; - -- print ("Process file: " + inputFile) -+ print(("Process file: " + inputFile)) - with open(inputFile) as ftarget: - content = ftarget.read() - diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_run_integration_tests_py-3.9.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_run_integration_tests_py-3.9.patch deleted file mode 100644 index f451e707f40..00000000000 --- a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-upgrade_scripts_run_integration_tests_py-3.9.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/scripts/run_integration_tests.py (original) -+++ b/scripts/run_integration_tests.py (refactored) -@@ -52,11 +52,11 @@ - testExe = os.path.join(arguments[ "testDir" ], testName if testHasParentDir else "", testName) + exeExtension - # when build with BUILD_ONLY, not all test binaries will be generated. - if not os.path.isfile(testExe): -- print("Test: \"{}\" doesn't exist, skipped.".format(testExe)) -+ print(("Test: \"{}\" doesn't exist, skipped.".format(testExe))) - continue - prefix = "--aws_resource_prefix=" + platform.system().lower() -- print("testExe = " + testExe) -- print("prefix = " + prefix) -+ print(("testExe = " + testExe)) -+ print(("prefix = " + prefix)) - AddExecutableBit(testExe) - subprocess.check_call([testExe, prefix]) - diff --git a/dev-libs/aws-sdk-cpp/metadata.xml b/dev-libs/aws-sdk-cpp/metadata.xml deleted file mode 100644 index f6161d03b69..00000000000 --- a/dev-libs/aws-sdk-cpp/metadata.xml +++ /dev/null @@ -1,479 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>amit.prakash.ambasta@gmail.com</email> - </maintainer> - <maintainer type="person" proxied="yes"> - <email>sven.eden@prydeworx.com</email> - <name>Sven Eden</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <longdescription> - The AWS SDK for C++ provides a modern C++ version C++ 11 or later interface for Amazon Web Services AWS. - It is meant to be performant and fully functioning with low- and high-level SDKs, while minimizing - dependencies and providing platform portability Windows, OSX, Linux, and mobile. - - AWS SDK for C++ is in now in General Availability and recommended for production use. We invite our - customers to join the development efforts by submitting pull requests and sending us feedback and ideas - via GitHub Issues. - </longdescription> - <use> - <flag name="http">Enable http support via <pkg>net-misc/curl</pkg></flag> - <flag name="rtti">Flag to enable/disable rtti within the library</flag> - <flag name="unity-build"> - Build using a single unified .cpp file for each service library. - Reduces the size of static library binaries - </flag> - - <flag name="access-management"> - AWS Access Management, a meta-flag that enables: - AWS Certificate Manager (ACM): Provision, manage, and deploy SSL/TLS certificates on AWS - managed resources. - AWS Data Exchange : A service that makes it easy for customers to find, subscribe - to, and use third-party data in the AWS Cloud. - AWS IAM Access Analyzer : Identify any policies that grant access to an external - principal. - Identity and Access Management (IAM): A web service for securely controlling access to AWS - services. - Resource Access Manager (RAM): Customers who operate multiple accounts can create resources - centrally and use AWS RAM to share them with all of their accounts to reduce - operational overhead. - SSO : AWS Single Sign-On (SSO) makes it easy to centrally manage access to multiple AWS - accounts and business applications and provide users with single sign-on access to all - their assigned accounts and applications from one place. - Also enables acm-pca, identity-management, identitystore, sso-admin, sso-oidc and sts - (Security Token Service). - </flag> - <flag name="apigateway"> - Create and deploy your own REST and WebSocket APIs at any scale. - Also enables apigatewaymanagementapi and apigatewayv2. - </flag> - <flag name="appconfig">Quickly deploy application configurations to applications of any size.</flag> - <flag name="backup">AWS Backup is a fully managed backup service</flag> - <flag name="batch">Run batch computing workloads on the AWS Cloud</flag> - <flag name="budgets"> - Use AWS Budgets to plan service usage, service costs, and instance reservations. - Also enables the following related modules: - AWS Cost Explorer (CE) : Programmatically query cost and usage data. - Cost and Usage Report (CUR): Programmatically create, query, and delete AWS Cost and Usage - report definitions. - </flag> - <flag name="chime">Amazon Chime, a secure, real-time, unified communications service.</flag> - <flag name="cloud-desktop"> - AWS end user computing services. - AppStream 2.0: Fully managed, secure application streaming service. - WorkDocs : Fully managed, secure enterprise storage and sharing service. - WorkLink : Fully managed, cloud-based service that enables secure, one-click access to - internal websites and web apps from mobile devices. - WorkMail : Managed email and calendaring service. - WorkSpaces : Cloud-based desktop experience for end users. - Also enabled workmailmessageflow. - </flag> - <flag name="cloud-dev"> - Enables in-cloud developer tools: - Cloud9 : Cloud-based integrated development environment IDE to write, run, and debug code. - CodeArtifact: Secure and scalable artifact management service for software development. - CodeBuild : Managed build service that compiles, runs unit tests and produces artifacts. - CodeCommit : Privately store and manage Git repositories in the AWS cloud. - CodeDeploy : Automate the deployment and updating of applications. - CodeGuru : Provides intelligent recommendations for improving application performance, - efficiency, and code quality in your Java applications. - CodePipeline: Continuous delivery service to model, visualize, and automate the steps required - to release software. - CodeStar : Quickly develop, build, and deploy applications on AWS. Also enables - codestar-connections and codestar-notifications. - Honey Code : Fully managed service to quickly build mobile and web apps for teams. - Queues : Simple queue class. Allows standard queue operations top, delete, and push. Also - has higher level, asynchronous interface with callbacks. - X-Ray : Provides request tracing, exception collection, and profiling capabilities. - </flag> - <flag name="cloud-media"> - AWS Media modules for transforming, converting, delivering and streaming media. - Elastic Transcoder : Convert media files stored in Amazon S3 into media files in the formats - required by consumer playback devices. - Elemental Media Connect: Secure and flexible transport service for live video. - Elemental Media Convert: Format and compress offline video content for delivery to televisions - or connected devices. - Elemental Media Live : Video service that allows easy and reliable creation of live outputs - for broadcast and streaming delivery. - Elemental Media Package: Just-in-time video packaging and origination service. (Includes - mediapackage-vod) - Elemental Media Store : Video origination and storage service.Manage video assets as objects in - containers to build dependable, cloud-based media workflows. (Includes mediastore-data) - Elemental Media Tailor : Personalization and monetization service that allows scalable server- - side ad insertion. - </flag> - <flag name="cloud-mobile"> - AWS Mobile modules for handling mobile application management and delivery. - Amplify : Comprehensive set of SDKs, libraries, tools, and documentation for client app - development. - AppSync : Enterprise level, fully managed GraphQL service with real-time data synchronization - and offline programming features. - Device Farm: Test iOS, Android and Fire OS apps on real, physical phones and tablets that are - hosted by AWS. - PinPoint : Engage customers by sending them email, SMS and voice messages, and push - notifications. (Includes pinpoint-email and sms-voice) - SNS : Amazon Simple Notification Service, see USE flag sns. - Also enables mobile and mobileanalytics. - </flag> - <flag name="cloudformation"> - Create and provision AWS infrastructure deployments predictably and repeatedly. Use a template - file to create and delete a collection of resources together as a single unit (a stack). - </flag> - <flag name="cloudfront"> - Delivers static and dynamic web content through a worldwide network of edge locations that - provide low latency and high performance. - </flag> - <flag name="cloudhsm"> - Secure cryptographic key storage by providing managed hardware security modules in the AWS - Cloud. - Also enables cloudhsmv2. - </flag> - <flag name="cloudsearch"> - Fully managed service in the cloud to set up, manage, and scale a search solution for websites. - Also enables cloudsearchdomain. - </flag> - <flag name="cloudwatch"> - Amazon CloudWatch monitors Amazon Web Services (AWS) resources and the applications run on AWS - in real time. - The following modules besides monitoring are also enabled: - Application Insights: Monitor .NET and SQL Server applications. - App Mesh : Monitor and control microservices running on AWS. - Audit Manager : Helps to continuously audit your AWS usage to simplify how you manage - risk and compliance with regulations and industry standards. - CloudTrail : Monitor AWS deployments in the cloud by getting a history of AWS API - calls, including API calls made via the AWS Management Console, the AWS SDKs, the - command line tools, and higher-level AWS services. - Compute Optimizer : Recommends optimal AWS compute resources for your workloads. - Detective : Analyze, investigate, and identify the root cause of security findings - or suspicious activities. - DevOps Guru : Generates operational insights using machine learning to help to improve - the performance of operational applications. - GuardDuty : Continuous security monitoring service. - Health : Provides personalized information about events that can affect the AWS - infrastructure, guides through scheduled changes, and accelerates the troubleshooting - of issues that affect AWS resources and accounts. - Inspector : A security vulnerability assessment service that helps improve the - security and compliance of - AWS resources. - Logs : Monitor, store, and access log files from Amazon EC2 instances, AWS - CloudTrail, or other sources. - Synthetics : Create canaries, configurable scripts that run on a schedule, to monitor - your endpoints and APIs. - </flag> - <flag name="cognito"> - Create unique identities, authenticate these identities with identity providers and save mobile - user data in the AWS Cloud. - Enables cognito-identity, cognito-idp and cognito-sync - </flag> - <flag name="config"> - Provides a detailed view of the resources associated with your AWS account, including how they - are configured, how they are related to one another, and how the configurations and their - relationships have changed over time. - </flag> - <flag name="dlm"> - Amazon Data Lifecycle Manager (DLM): - Manage the lifecycle of AWS resources. Create lifecycle policies to automate operations on - specified resources. - </flag> - <flag name="ebs"> - Amazon Elastic Block Store (Amazon EBS) is a web service that provides block level storage - volumes for use with EC2 instances. EBS volumes are highly available and reliable storage - volumes that can be attached to any running instance and used like a hard drive. - </flag> - <flag name="ec2"> - Amazon Elastic Compute Cloud (EC2) is a web service that provides resizeable computing capacity. - This flag also enables the following modules: - Auto Scaling : Set up dynamic and predictive scaling for scalable AWS resources. Also - enables autoscaling-plans and application-autoscaling. - EC2 Image Builder : Fully-managed AWS service that makes it easier to automate the creation, - management, and deployment of customized, secure, and up-to-date “golden” server images - that are pre-installed and pre-configured with software and settings to meet specific IT - standards. - Elastic File System: EFS provides file storage for Amazon EC2 instances. - Savings Plan : Flexible pricing model that helps you save a significant percentage on - Amazon EC2 and Fargate usage. - </flag> - <flag name="ecr"> - Amazon Elastic Container Registry (ECR) is a fully managed Docker container registry. - Also enables Amazon ECR Public. - </flag> - <flag name="ecs"> - Amazon Elastic Container Service (ECS) is a highly scalable, fast, container management service. - </flag> - <flag name="eks"> - Amazon Elastic Kubernetes Service (EKS) is a managed service to run Kubernetes on AWS without - own Kubernetes clusters. - Also enables Amazon EMR on EKS. - </flag> - <flag name="elasticache"> - Set up, manage, and scale distributed in-memory cache environments in the AWS Cloud - </flag> - <flag name="elasticbeanstalk">Quickly deploy and manage applications in the AWS Cloud.</flag> - <flag name="elastic-inference"> - Amazon Elastic Inference is a service that allows you to attach low-cost GPU-powered - acceleration to many Amazon machine instances in order to reduce the cost of running deep - learning inference by up to 75%. Amazon Elastic Inference supports TensorFlow, Apache MXNet, and - ONNX models through MXNet. - </flag> - <flag name="elasticloadbalancing"> - Automatically distribute incoming application traffic across multiple targets, such as EC2 - instances. - Also enables elasticloadbalancingv2. - </flag> - <flag name="elasticmapreduce"> - Amazon Elastic MapReduce (EMR) processes large amounts of data efficiently using Hadoop - processing combined with several AWS products. - </flag> - <flag name="email"> - Amazon Simple Email Service (Amazon SES): - An email platform to send and receive email using ones own email addresses and domains. - See: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html - Also enables sesv2 - </flag> - <flag name="es"> - Amazon Elasticsearch Configuration Service (ES) is an API to create, configure, and manage - Elasticsearch domains. - </flag> - <flag name="events"> - Serverless event bus service to connect applications with data from a variety of sources. - Also enables eventbridge. - </flag> - <flag name="forecast"> - Amazon Forecast is a fully managed deep learning service for time-series forecasting. Time- - series forecasting is useful in multiple domains, including retail, financial planning, supply - chain, and healthcare. - Also enables the forecastquery module. - </flag> - <flag name="frauddetector"> - Amazon Fraud Detector is a fully managed service that helps you detect suspicious online - activities such as the creation of fake accounts and online payment fraud. With Amazon Fraud - Detector, you can create a fraud detection ML model with just a few clicks and use it to - evaluate online activities in milliseconds. - </flag> - <flag name="fsx">Amazon FSx is a fully managed service to launch and use shared file storage.</flag> - <flag name="globalaccelerator"> - AWS Global Accelerator is a network layer service for accelerators to improve availability and - performance for internet applications used by a global audience. - </flag> - <flag name="iot">AWS IoT - This is a meta-flag for all Internet of Things modules provided by the SDK: - iot : enables secure, bi-directional communication between Internet-connected things - (such as sensors, actuators, embedded devices, or smart appliances) and the AWS Cloud - over MQTT and HTTP. - greengrass : Extends AWS onto physical devices so they can act locally on the data they - generate. Installed are both Version 1 and Version 2. - iot1click : A service for simple devices to trigger AWS Lambda functions that execute a - specific action. - iotanalytics : Provides advanced data analysis for AWS IoT. - iotevents : Monitor equipment or device fleets for failures or changes in operation, and - trigger actions when such events occur. - iotsitewise : Easily collect, organize, and analyze data from industrial equipment at scale. - iotthingsgraph: Integrated set of tools that enable developers to build IoT applications using - devices and services that use different data representation standards and communication - protocols. - Also enables iot1click-devices, iot1click-projects, iotdeviceadvisor, iot-data, iotevents-data, iotfleethub, - iot-jobs-data, iotsecuretunneling and iotwireless. - </flag> - <flag name="kendra"> - Amazon Kendra is a search service, powered by machine learning, that enables users to search - unstructured text using natural language. - </flag> - <flag name="kinesis"> - Amazon Kinesis - Collect, process, and analyze video and data streams in real time. The following modules besides - kinesis are enabled: - firehose : Load data streams into AWS data stores. - ivs : Managed live streaming solution for creating interactive video experiences. - kinesisanalytics: Process and analyze streaming data using SQL or Java. (Also enables - kinesisanalyticsv2) - kinesisvideo : Capture, process, and store video streams for analytics and machine learning. - Additionally kinesis-video-archived-media, kinesis-video-media and kinesis-video-signaling are - enabled. - </flag> - <flag name="kms"> - AWS Key Management Service (KMS) - An encryption and key management service scaled for the cloud. - </flag> - <flag name="lex"> - Amazon Lex is an AWS service for building conversational interfaces into applications using - voice and text. Installed are both Version1 and Version 2. - Also enables lex-models. - </flag> - <flag name="lambda">AWS Lambda: Run code without provisioning or managing servers.</flag> - <flag name="license-manager"> - Streamlines the process of bringing software vendor licenses to the cloud. - </flag> - <flag name="lightsail"> - The easiest way to get started with AWS for developers who just need virtual private servers - </flag> - <flag name="lookoutvision"> - Amazon Lookout for Vision enables you to find visual defects in industrial products, accurately - and at scale. - </flag> - <flag name="machinelearning"> - The algorithms of Amazon Machine Learning create machine learning (ML) models by finding - patterns in existing data. The service uses these models to process new data and generate - predictions for application. - </flag> - <flag name="macie"> - A security service that uses machine learning to automatically discover, classify, and protect - sensitive data in AWS. - Also enables macie2 - </flag> - <flag name="managedblockchain"> - Create and manage scalable blockchain networks using popular open source frameworks. Currently, - Managed Blockchain supports the Hyperledger Fabric open source framework. - </flag> - <flag name="marketplace"> - AWS Marketplace is an online store where you can buy or sell software that runs on Amazon Web - Services (AWS). - Marketplace support consists of the marketplacecommerceanalytics module plus: - Marketplace Entitlement Service: A contract verification feature that AWS Marketplace sellers - can use to verify the amount of the sellers product (for example, end user licenses or - storage, data, or compute capacity) the customer has purchased. - Marketplace Metering Service : A pricing and metering feature that AWS Marketplace sellers can - use to directly charge for their software along one of four dimensions: users, data, - bandwidth, or hosts. - Also enables marketplace-catalog, pricing and servicecatalog-appregistry. - </flag> - <flag name="mwaa"> - Amazon Managed Workflows for Apache Airflow (Amazon MWAA) is a managed service for Apache - Airflow that makes it easy for you to build and manage your workflows in the cloud. - </flag> - <flag name="networkmanager"> - Transit Gateway Network Manager (Network Manager) enables you to create a global network, in - which you can monitor your AWS and on-premises networks that are built around transit gateways. - </flag> - <flag name="organizations"> - Account management service that to consolidate multiple AWS accounts into an organization to be - centrally managed. - </flag> - <flag name="opsworks"> - AWS OpsWorks is a simple and flexible way to create and manage stacks and applications. - Also enables opsworkscm. - </flag> - <flag name="other"> - This is a meta-flag for rarely needed modules that in themselves need not much build time. If - you would like to have any of the following modules to have their own USE flag, please open a - bug report and it will most probably get one. - The modules are: - AWSMigrationHub, alexaforbusiness, appflow, appintegrations, braket, clouddirectory, comprehend, - comprehendmedical, connect, connect-contact-lens, customer-profiles, datapipeline, databrew, - datasync, directconnect, discovery, dms, docdb, ds, dynamodb, gamelift, glue, groundstation, - healthlake, importexport, kafka, lakeformation, migrationhub-config, mq, mturk-requester, - neptune, quicksight, redshift, robomaker, sdb, schemas, service-quotas, servicecatalog, - servicediscovery, signer, sms, snowball, ssm, states, storagegateway, support and swf. - </flag> - <flag name="outposts"> - AWS Outposts brings native AWS services, infrastructure, and operating models to virtually any - data center, co-location space, or on-premises facility. You can use the same services, tools, - and partner solutions to develop for the cloud and on premises. - Also enables s3outposts. - </flag> - <flag name="personalize"> - Real-time personalization and recommendations, based on the same technology used at Amazon.com. - Also enables personalize-events and personalize-runtime. - </flag> - <flag name="polly"> - Amazon Polly - A Text-to-Speech (TTS) cloud service that converts text into lifelike speech. - Also enables text-to-speech, which needs you to enable pulseaudio support to work. - </flag> - <flag name="qldb"> - Amazon Quantum Ledger Database (Amazon QLDB) is a fully managed ledger database that provides a - transparent, immutable, and cryptographically verifiable transaction log owned by a central - trusted authority. You can use Amazon QLDB to track all application data changes, and maintain - a complete and verifiable history of changes over time. - Also enables qldb-session. - </flag> - <flag name="queues"> - AWS Queues is a simple queue class. - Allows standard queue operations top, delete, and push. Also has higher level, asynchronous - interface with callbacks. - </flag> - <flag name="rds"> - Amazon Relational Database Service (RDS) is a web service to set up, operate, and scale a - relational database in the cloud. - Also enables pi (Performance Insights) and rds-data. - </flag> - <flag name="route53"> - AWS Route 53 is a highly available and scalable Domain Name System (DNS) web service. - Also enables route53domains and route53resolver. - </flag> - <flag name="rekognition">Add image and video analysis to applications.</flag> - <flag name="resource-groups"> - AWS Resource Groups and Tag Editor - Organize AWS resources into groups, tag resources using virtually any criteria, and manage, - monitor, and automate tasks on grouped resources. - Also enables resourcegroupstaggingapi. (Resource Groups Tagging API) - </flag> - <flag name="s3"> - Amazon Simple Storage Service Storage for the internet. - Additionally to the s3 module, the following modules are activated: - Athena : Interactive query service to analyze data in Amazon S3 using standard SQL. - Glacier : Storage solution for cold data. - Transfer for SFTP: Transfer files directly into and out of Amazon S3 using SFTP. - Also enables s3-encryption, s3control and transfer. - </flag> - <flag name="sagemaker"> - Amazon SageMaker - Fully managed machine learning service. With Amazon SageMaker, data scientists and developers - can quickly and easily build and train machine learning models, and then directly deploy them - into a production-ready hosted environment. - Also enables sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime and - sagemaker-runtime. - </flag> - <flag name="secretsmanager"> - Encrypt, store, and retrieve credentials for databases and other services. - </flag> - <flag name="securityhub">Provides a comprehensive view of the security state of AWS resources.</flag> - <flag name="serverlessrepo"> - AWS Serverless Application Repository - Enables teams, organizations, and individual developers to find, deploy, publish, share, store, - and easily assemble serverless architectures. - </flag> - <flag name="shield">AWS Shield, protection against DDoS attacks</flag> - <flag name="sns"> - Amazon Simple Notification Service (SNS) is a web service that enables applications, end-users, - and devices to instantly send and receive notifications from the cloud. - </flag> - <flag name="sqs"> - Amazon Simple Queue Service (SQS): Fully managed message queuing service that makes it easy to - decouple and scale microservices, distributed systems, and serverless applications. - </flag> - <flag name="textract"> - Amazon Textract to add document text detection and analysis to applications. - </flag> - <flag name="timestream"> - Store and analyze sensor data for IoT applications, metrics for DevOps use cases, and telemetry - for application monitoring scenarios such as clickstream data analysis. - Note: The two modules enabled are timestream-query and timestream-write. - </flag> - <flag name="transcribe"> - A transcription services for audio files. It uses advanced machine learning technologies to - recognize spoken words and transcribe them into text. - Also enables transcribestreaming. - </flag> - <flag name="translate"> - A neural machine translation service for translating text to and from English across a breadth - of supported languages. - </flag> - <flag name="waf"> - The Web Application Firewall (WAF) can monitor web requests that are forwarded to Amazon - CloudFront distributions or an Application Load Balancer. Can also be used to block or allow - requests based on conditions such as the IP addresses that requests originate from or values in - the requests. - Also enables fms, network-firewall, waf-regional and wafv2 - </flag> - <flag name="wellarchitected"> - Use the AWS Well-Architected Tool to review your workloads against current AWS architectural best practices. - The AWS Well-Architected Tool measures the workload and provides recommendations on how to improve your - architecture. - </flag> - </use> -</pkgmetadata> diff --git a/dev-libs/ayatana-ido/Manifest b/dev-libs/ayatana-ido/Manifest new file mode 100644 index 00000000000..e738118b3be --- /dev/null +++ b/dev-libs/ayatana-ido/Manifest @@ -0,0 +1 @@ +DIST ayatana-ido-0.9.2.tar.gz 122286 BLAKE2B f6498591d72fa6deb5d9c8d87ddad399e41b3701719e45fe82dc8d5bd6ede30bb754561fdeaa938713692a90b8c48657ea2cb472c762acab6c3f36c73907b92e SHA512 efc5825d32d707b02397692c347f99f3bca13da2cd653b6ce87882643c85c2698bdac6168e89a01ed98d5ee58c88a820d89dad7b88a5aee235b450c40969d0a7 diff --git a/dev-libs/ayatana-ido/ayatana-ido-0.9.2.ebuild b/dev-libs/ayatana-ido/ayatana-ido-0.9.2.ebuild new file mode 100644 index 00000000000..0ebb1aecb18 --- /dev/null +++ b/dev-libs/ayatana-ido/ayatana-ido-0.9.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +VALA_USE_DEPEND="vapigen" + +inherit cmake vala + +DESCRIPTION="Ayatana Application Indicators (Shared Library)" +HOMEPAGE="https://github.com/AyatanaIndicators/ayatana-ido" +SRC_URI="https://github.com/AyatanaIndicators/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3 GPL-3" +SLOT="0" +IUSE="test" + +# https://github.com/AyatanaIndicators/ayatana-ido/issues/62 +RESTRICT="test" +#RESTRICT="!test? ( test )" + +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86" + +RDEPEND=" + >=dev-libs/glib-2.58:2 + >=x11-libs/gtk+-3.24:3[introspection] +" +DEPEND="${RDEPEND}" +BDEPEND=" + $(vala_depend) + test? ( dev-cpp/gtest ) +" + +src_prepare() { + cmake_src_prepare + vala_setup +} + +src_configure() { + local mycmakeargs+=( + -DVALA_COMPILER="${VALAC}" + -DVAPI_GEN="${VAPIGEN}" + -DENABLE_TESTS="$(usex test)" + ) + cmake_src_configure +} diff --git a/dev-libs/ayatana-ido/metadata.xml b/dev-libs/ayatana-ido/metadata.xml new file mode 100644 index 00000000000..fee41096033 --- /dev/null +++ b/dev-libs/ayatana-ido/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pacho@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">AyatanaIndicators/ayatana-ido</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/bcm2835/Manifest b/dev-libs/bcm2835/Manifest index 9aafea24af9..b5d08dbc626 100644 --- a/dev-libs/bcm2835/Manifest +++ b/dev-libs/bcm2835/Manifest @@ -1 +1,2 @@ DIST bcm2835-1.68.tar.gz 272796 BLAKE2B d848e901b1b3a51712009e3fbf00c43f870fd6c28812be710276620f80c4173e92529891e53ec02e2076069a5da8ba7190f8dcc620ce4a843773cb85622dd830 SHA512 bdc91af8f28755899611d41cf954c9b2ca107befe984b79ee6fe23b66bbb7f50e746e084c3e431b1b0cdf1b0735cec8a54018ebf12b713380e5db97e3564f477 +DIST bcm2835-1.71.tar.gz 276152 BLAKE2B e363e805d0ef4872baeb5eeffe143177a3983ee82d69c7077f64cc2373cf42524722fda03197de0ff0b6ef186fd017b61822b1192a108e1354d6eb4a76aa3535 SHA512 020d2918da1c23c3ff98513a123b7f96125f7e66cdbc5863ab00bcea93cdb68bb3507f2e29c31cd1fe5c26dd633df112e10122bde72cab9ecf67f0edcdf55aa6 diff --git a/dev-libs/bcm2835/bcm2835-1.71.ebuild b/dev-libs/bcm2835/bcm2835-1.71.ebuild new file mode 100644 index 00000000000..6974a3fc958 --- /dev/null +++ b/dev-libs/bcm2835/bcm2835-1.71.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Provides access to GPIO and other IO functions on the Broadcom BCM2835" +HOMEPAGE="https://www.airspayce.com/mikem/bcm2835/" +SRC_URI="https://www.airspayce.com/mikem/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm" +IUSE="doc examples" + +BDEPEND="doc? ( app-doc/doxygen )" + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + use doc && HTML_DOCS=( doc/html/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + default +} diff --git a/dev-libs/bemenu/Manifest b/dev-libs/bemenu/Manifest index 24b4e9fdad8..3c83a27aca4 100644 --- a/dev-libs/bemenu/Manifest +++ b/dev-libs/bemenu/Manifest @@ -1,4 +1 @@ -DIST bemenu-0.5.0.tar.gz 110749 BLAKE2B dbc6d295262e51c381a9208c6936c0f40e05f3667af6a562716501577861d04c7b28ba836acbce2a6644950a191e56f865efe2f126eccdad67ea68d42f2d30b5 SHA512 5f4397bcb77d3e22340988bfb131feced1782f724ff637e40bf03c36a4377f38127c827f55faccc0dcce2ca482b9353fca7c6bfe700e6cac8e095e0df3b87a31 -DIST bemenu-0.6.1.tar.gz 119885 BLAKE2B 9595fe9241009d4b2ac33ff0b70d98a5340e7f9cc3a31be053ef7ba5dcadc3e0181dae3a82b8058278fdfb62df4a60474e16eb2e2fa207c200350a6cc4e27767 SHA512 a0a77ca50d40c4aa215c668829a8e27597a4b6470be6179420125ec292c8f9555e5690791c068af5f4a5eebd8a10c6b15b0ddafa037a855b0179bd68c06bf11a DIST bemenu-0.6.10.tar.gz 129568 BLAKE2B f81e84e6457175abf11b9dc6c426cb02121b4f101bdef55361c539f6d51144539129d2e2898e506c12f32d8f45a27fb0159083b5b964b33a0fc73485ebe41b00 SHA512 b8aadbe2cd11f7cc713ce683fcc9ce4779cd0050ee8cf41c4d3bca9f299ac99b9cd3b7611d87d27d7f7439f16fc2618671f2bec8878ad2ab65fade54f24ca92f -DIST bemenu-0.6.3.tar.gz 120169 BLAKE2B ab53e3a4c62e259b1fb2b1fb5f87f1fe73e86cc17e59391f408be4d7d3ca1cdf60713c8f54b7acebef01d06473dbe367ef76b83711de8e4192a639155a636fab SHA512 eed615e685f78bb6131dd4cbdccdb6962b7ecf688af650f970e9c79e6bf9d82b791da34161679e27381540d41b2804660605d5ce0bdb132bce63eaff81595ca7 diff --git a/dev-libs/bemenu/bemenu-0.5.0.ebuild b/dev-libs/bemenu/bemenu-0.5.0.ebuild deleted file mode 100644 index e7510494e8a..00000000000 --- a/dev-libs/bemenu/bemenu-0.5.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="dmenu clone for wayland" -HOMEPAGE="https://github.com/Cloudef/bemenu" -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git" -else - SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="doc ncurses wayland X" - -# Require at least one backend be built -REQUIRED_USE="|| ( ncurses wayland X )" - -DEPEND=" - ncurses? ( sys-libs/ncurses:0 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - x11-libs/cairo - x11-libs/pango - ) - X? ( - x11-libs/libxcb - x11-libs/libXext - x11-libs/libX11 - x11-libs/cairo[X] - x11-libs/pango[X] - x11-libs/libXinerama - ) -" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-doc/doxygen )" - -src_compile() { - emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir) - use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir) -} - -src_install() { - emake install PREFIX="${D}"/usr libdir=/$(get_libdir) -} diff --git a/dev-libs/bemenu/bemenu-0.6.1.ebuild b/dev-libs/bemenu/bemenu-0.6.1.ebuild deleted file mode 100644 index 02ec034fd64..00000000000 --- a/dev-libs/bemenu/bemenu-0.6.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="dmenu clone for wayland" -HOMEPAGE="https://github.com/Cloudef/bemenu" -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git" -else - SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="doc ncurses wayland X" - -# Require at least one backend be built -REQUIRED_USE="|| ( ncurses wayland X )" - -DEPEND=" - ncurses? ( sys-libs/ncurses:0 ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - x11-libs/cairo - x11-libs/pango - ) - X? ( - x11-libs/libxcb - x11-libs/libXext - x11-libs/libX11 - x11-libs/cairo[X] - x11-libs/pango[X] - x11-libs/libXinerama - ) -" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-doc/doxygen )" - -src_compile() { - emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir) - use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir) -} - -src_install() { - emake install PREFIX="${D}"/usr libdir=/$(get_libdir) -} diff --git a/dev-libs/bemenu/bemenu-0.6.10.ebuild b/dev-libs/bemenu/bemenu-0.6.10.ebuild index bd5b9bc60d5..26c2c2f1a7a 100644 --- a/dev-libs/bemenu/bemenu-0.6.10.ebuild +++ b/dev-libs/bemenu/bemenu-0.6.10.ebuild @@ -12,7 +12,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git" else SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="amd64 ~arm64 x86" fi LICENSE="GPL-3" diff --git a/dev-libs/bemenu/bemenu-0.6.3-r2.ebuild b/dev-libs/bemenu/bemenu-0.6.3-r2.ebuild deleted file mode 100644 index bd5b9bc60d5..00000000000 --- a/dev-libs/bemenu/bemenu-0.6.3-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="dmenu clone for wayland" -HOMEPAGE="https://github.com/Cloudef/bemenu" -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Cloudef/bemenu.git" -else - SRC_URI="https://github.com/Cloudef/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="doc ncurses wayland X" - -# Require at least one backend be built -REQUIRED_USE="|| ( ncurses wayland X )" - -DEPEND=" - ncurses? ( sys-libs/ncurses:= ) - wayland? ( - dev-libs/wayland - dev-libs/wayland-protocols - x11-libs/cairo - x11-libs/pango - x11-libs/libxcb - ) - X? ( - x11-libs/libxcb - x11-libs/libXext - x11-libs/libX11 - x11-libs/cairo[X] - x11-libs/pango[X] - x11-libs/libXinerama - ) -" -RDEPEND="${DEPEND}" -BDEPEND="doc? ( app-doc/doxygen )" - -src_compile() { - tc-export CC - - emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir) - use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir) -} - -src_install() { - emake install PREFIX="${D}"/usr libdir=/$(get_libdir) -} diff --git a/dev-libs/bglibs/bglibs-2.04-r1.ebuild b/dev-libs/bglibs/bglibs-2.04-r1.ebuild index bf5323a14aa..79095d8196d 100644 --- a/dev-libs/bglibs/bglibs-2.04-r1.ebuild +++ b/dev-libs/bglibs/bglibs-2.04-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,9 +14,9 @@ SLOT="0/2" KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ~ppc64 ~sparc x86" IUSE="doc" -RDEPEND="" -DEPEND="" -BDEPEND="sys-devel/libtool +BDEPEND=" + sys-apps/which + sys-devel/libtool doc? ( app-doc/doxygen dev-texlive/texlive-latexrecommended diff --git a/dev-libs/bglibs/bglibs-2.04-r2.ebuild b/dev-libs/bglibs/bglibs-2.04-r2.ebuild index fc8d028cb07..330ee78a1f5 100644 --- a/dev-libs/bglibs/bglibs-2.04-r2.ebuild +++ b/dev-libs/bglibs/bglibs-2.04-r2.ebuild @@ -14,9 +14,9 @@ SLOT="0/2" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv sparc ~x86" IUSE="doc" -RDEPEND="" -DEPEND="" -BDEPEND="sys-devel/libtool +BDEPEND=" + sys-apps/which + sys-devel/libtool doc? ( app-doc/doxygen dev-texlive/texlive-latexrecommended diff --git a/dev-libs/boehm-gc/boehm-gc-8.2.2-r1.ebuild b/dev-libs/boehm-gc/boehm-gc-8.2.2-r1.ebuild index 28f0b8b30a2..ceebdea9178 100644 --- a/dev-libs/boehm-gc/boehm-gc-8.2.2-r1.ebuild +++ b/dev-libs/boehm-gc/boehm-gc-8.2.2-r1.ebuild @@ -18,7 +18,7 @@ LICENSE="boehm-gc" # We've been using subslot 0 for these instead of "1.1". SLOT="0" # Upstream marked this version as "Pre-release" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="cxx +large static-libs +threads" RDEPEND=">=dev-libs/libatomic_ops-7.4[${MULTILIB_USEDEP}]" diff --git a/dev-libs/boost-mpl-cartesian_product/Manifest b/dev-libs/boost-mpl-cartesian_product/Manifest deleted file mode 100644 index d3fa280cf75..00000000000 --- a/dev-libs/boost-mpl-cartesian_product/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST boost-mpl-cartesian_product-20161205.tar.gz 4391 BLAKE2B 1ed647de2cf98f78aa58fcf9fa4122c3b4a8a40c00c6379d9abb8c7f36ccf1b3360ed3fc3143effc7a7e228404c496d9b93dd3c4f9ced59be15148ae122d7316 SHA512 cbe1f10b45bbb3db84bba7aa935698d7d79a59ae8b40c786df31da2936500feffe5589755ea53f31e3fc869ca4e87a880f013967d2829ce55412900b244252e7 diff --git a/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild b/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild deleted file mode 100644 index d7206af5629..00000000000 --- a/dev-libs/boost-mpl-cartesian_product/boost-mpl-cartesian_product-20161205.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit vcs-snapshot toolchain-funcs - -COMMIT="aeb0266b3a89f32c390dff51cb73a454d5d7a745" -DESCRIPTION="an extension to the Boost.MPL library" -HOMEPAGE="https://github.com/quinoacomputing/BoostMPLCartesianProduct" -SRC_URI="https://github.com/quinoacomputing/BoostMPLCartesianProduct/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Boost-1.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="dev-libs/boost" -RDEPEND="${DEPEND}" - -src_compile() { - use test || return - local i - for i in $(find libs/mpl -name "*.cpp"); do - echo $(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}" - $(tc-getCXX) ${CXXFLAGS} -I. "$i" -o "${i%.cpp}" || die - done -} - -src_test() { - local i - for i in $(find libs/mpl -name "*.cpp"); do - echo "${i%.cpp}" - "${i%.cpp}" || die - done -} - -src_install() { - dodoc readme.txt - insinto /usr/include/boost/mpl - doins boost/mpl/cartesian_product.hpp -} diff --git a/dev-libs/boost-mpl-cartesian_product/metadata.xml b/dev-libs/boost-mpl-cartesian_product/metadata.xml deleted file mode 100644 index 3ac9541f602..00000000000 --- a/dev-libs/boost-mpl-cartesian_product/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>junghans@gentoo.org</email> - <name>Christoph Junghans</name> - </maintainer> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="github">quinoacomputing/BoostMPLCartesianProduct</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-libs/boost/Manifest b/dev-libs/boost/Manifest index ba3e5b485af..c81f47bf5be 100644 --- a/dev-libs/boost/Manifest +++ b/dev-libs/boost/Manifest @@ -1,2 +1,2 @@ -DIST boost_1_79_0.tar.bz2 113456811 BLAKE2B 61f47ca022e60745868e6bdd3b5c75603dd68d878e126dcbb73de5b40fc03c0eec8eede3ec304ece58050435ef2fc1ed7eb763773c20673f85e32bbf4d5f978a SHA512 70909e0561c213d10a1fdd692f9ae7b293d3cdc63e925bdc207da9e9bba6e86474341100e7ee5de6d94f9561196b1a3a1597055a7b7382babf8931131170a312 DIST boost_1_80_0.tar.bz2 115869904 BLAKE2B 507e811be7659442c41bc2d99811bd02a236dc94932e1a7a8cf256243b479f2d2707819cd99e016a51c9dadc215713e803afdd9ea4c105af8d5d2d28d3d06a1f SHA512 829a95b463473d69ff79ea41799c68429bb79d3b2321fbdb71df079af237ab01de9ad7e9612d8783d925730acada010068d2d1aa856c34244ee5c0ece16f208f +DIST boost_1_81_0.tar.bz2 118797750 BLAKE2B ae57247fb80ee5a952881a99bdbe9a1d5622690879ef59053716647dc1121e70fdd322251837387b43357f1cd63c6d1ba285cf35c0c40e4f5ee28a929d7eacf7 SHA512 a04201e73da59f68fa02761b333c864a96ebaf268247b6b10cb19ed3d70ee9ad3da4c53123f2a7a4a9b9e1408793b51e1adbcc6fd09f60fecef3ca9522bb6b36 diff --git a/dev-libs/boost/boost-1.80.0.ebuild b/dev-libs/boost/boost-1.80.0-r1.ebuild index d70b29fc1bf..89992f54523 100644 --- a/dev-libs/boost/boost-1.80.0.ebuild +++ b/dev-libs/boost/boost-1.80.0-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal @@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}_${MY_PV}" LICENSE="Boost-1.0" SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" # the tests will never fail because these are not intended as sanity @@ -52,6 +52,8 @@ PATCHES=( # (upstreamed) "${FILESDIR}"/${PN}-1.80.0-unordered-fix.patch "${FILESDIR}"/${PN}-1.80.0-unary-function.patch + "${FILESDIR}"/${PN}-1.80.0-python3.11.patch + "${FILESDIR}"/${PN}-1.80.0-unordered-ftm-malloc.patch ) python_bindings_needed() { diff --git a/dev-libs/boost/boost-1.79.0.ebuild b/dev-libs/boost/boost-1.81.0-r1.ebuild index 844f6d24b1f..a2dedb81285 100644 --- a/dev-libs/boost/boost-1.79.0.ebuild +++ b/dev-libs/boost/boost-1.81.0-r1.ebuild @@ -1,14 +1,13 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit flag-o-matic multiprocessing python-r1 toolchain-funcs multilib-minimal MY_PV="$(ver_rs 1- _)" -MAJOR_V="$(ver_cut 1-2)" DESCRIPTION="Boost Libraries for C++" HOMEPAGE="https://www.boost.org/" @@ -16,7 +15,7 @@ SRC_URI="https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/boost_$ S="${WORKDIR}/${PN}_${MY_PV}" LICENSE="Boost-1.0" -SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122 +SLOT="0/${PV}" # ${PV} instead of the major version due to bug 486122 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" IUSE="bzip2 context debug doc icu lzma +nls mpi numpy python tools zlib zstd" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" @@ -41,17 +40,18 @@ RDEPEND=" zlib? ( sys-libs/zlib:=[${MULTILIB_USEDEP}] ) zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND}" -#BDEPEND=">=dev-util/boost-build-${MAJOR_V}" -BDEPEND=">=dev-util/boost-build-1.78.0-r1" +BDEPEND=">=dev-util/b2-4.9.2" PATCHES=( - "${FILESDIR}"/${PN}-1.79.0-disable_icu_rpath.patch + "${FILESDIR}"/${PN}-1.81.0-disable_icu_rpath.patch "${FILESDIR}"/${PN}-1.79.0-context-x32.patch "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch # Boost.MPI's __init__.py doesn't work on Py3 "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch - "${FILESDIR}"/${PN}-1.79.0-CVE-2012-2677.patch - "${FILESDIR}"/${PN}-1.79.0-fix-mips1-transition.patch + "${FILESDIR}"/${PN}-1.80.0-fix-mips1-transition.patch + "${FILESDIR}"/${PN}-1.81.0-phoenix-multiple-definitions.patch + + # (upstreamed) ) python_bindings_needed() { @@ -155,18 +155,24 @@ src_configure() { # Workaround for too many parallel processes requested, bug #506064 [[ "$(makeopts_jobs)" -gt 64 ]] && MAKEOPTS="${MAKEOPTS} -j64" + # We don't want to end up with -L/usr/lib on our linker lines + # which then gives us lots of + # skipping incompatible /usr/lib/libc.a when searching for -lc + # warnings + [[ -n ${ESYSROOT} ]] && local icuarg="-sICU_PATH=${ESYSROOT}/usr" + OPTIONS=( $(usex debug gentoodebug gentoorelease) "-j$(makeopts_jobs)" -q -d+2 pch=off - $(usex icu "-sICU_PATH=${ESYSROOT}/usr" '--disable-icu boost.locale.icu=off') + $(usex icu "${icuarg}" '--disable-icu boost.locale.icu=off') $(usev !mpi --without-mpi) $(usev !nls --without-locale) $(usev !context '--without-context --without-coroutine --without-fiber') --without-stacktrace - --boost-build="${BROOT}"/usr/share/boost-build/src + --boost-build="${BROOT}"/usr/share/b2/src --layout=system # building with threading=single is currently not possible # https://svn.boost.org/trac/boost/ticket/7105 @@ -186,8 +192,8 @@ src_configure() { append-ldflags -Wl,-headerpad_max_install_names fi - # Use C++14 globally as of 1.62 - append-cxxflags -std=c++14 + # Use C++17 globally as of 1.80 + append-cxxflags -std=c++17 } multilib_src_compile() { diff --git a/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch b/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch deleted file mode 100644 index 5dfbf85bc63..00000000000 --- a/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch +++ /dev/null @@ -1,121 +0,0 @@ -https://src.fedoraproject.org/rpms/boost/raw/master/f/boost-1.58.0-pool.patch -https://bugzilla.redhat.com/show_bug.cgi?id=828856 -https://bugs.gentoo.org/620468 -https://svn.boost.org/trac10/ticket/6701 - ---- a/boost/pool/pool.hpp -+++ b/boost/pool/pool.hpp -@@ -27,4 +27,6 @@ - #include <boost/pool/poolfwd.hpp> - -+// std::numeric_limits -+#include <boost/limits.hpp> - // boost::integer::static_lcm - #include <boost/integer/common_factor_ct.hpp> -@@ -356,4 +358,11 @@ - } - -+ size_type max_chunks() const -+ { //! Calculated maximum number of memory chunks that can be allocated in a single call by this Pool. -+ size_type partition_size = alloc_size(); -+ size_type POD_size = integer::static_lcm<sizeof(size_type), sizeof(void *)>::value + sizeof(size_type); -+ return (std::numeric_limits<size_type>::max() - POD_size) / alloc_size(); -+ } -+ - static void * & nextof(void * const ptr) - { //! \returns Pointer dereferenced. -@@ -375,5 +384,7 @@ - //! the first time that object needs to allocate system memory. - //! The default is 32. This parameter may not be 0. -- //! \param nmax_size is the maximum number of chunks to allocate in one block. -+ //! \param nmax_size is the maximum number of chunks to allocate in one block. -+ set_next_size(nnext_size); -+ set_max_size(nmax_size); - } - -@@ -398,7 +409,7 @@ - } - void set_next_size(const size_type nnext_size) -- { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0. -- //! \returns nnext_size. -- next_size = start_size = nnext_size; -+ { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0. -+ BOOST_USING_STD_MIN(); -+ next_size = start_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nnext_size, max_chunks()); - } - size_type get_max_size() const -@@ -408,5 +419,6 @@ - void set_max_size(const size_type nmax_size) - { //! Set max_size. -- max_size = nmax_size; -+ BOOST_USING_STD_MIN(); -+ max_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nmax_size, max_chunks()); - } - size_type get_requested_size() const -@@ -709,7 +721,7 @@ - BOOST_USING_STD_MIN(); - if(!max_size) -- next_size <<= 1; -+ set_next_size(next_size << 1); - else if( next_size*partition_size/requested_size < max_size) -- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); -+ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); - - // initialize it, -@@ -749,7 +761,7 @@ - BOOST_USING_STD_MIN(); - if(!max_size) -- next_size <<= 1; -+ set_next_size(next_size << 1); - else if( next_size*partition_size/requested_size < max_size) -- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); -+ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); - - // initialize it, -@@ -793,4 +805,6 @@ - //! \returns Address of chunk n if allocated ok. - //! \returns 0 if not enough memory for n chunks. -+ if (n > max_chunks()) -+ return 0; - - const size_type partition_size = alloc_size(); -@@ -841,7 +855,7 @@ - BOOST_USING_STD_MIN(); - if(!max_size) -- next_size <<= 1; -+ set_next_size(next_size << 1); - else if( next_size*partition_size/requested_size < max_size) -- next_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size*requested_size/ partition_size); -+ set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); - - // insert it into the list, ---- a/libs/pool/test/test_bug_6701.cpp -+++ b/libs/pool/test/test_bug_6701.cpp -@@ -0,0 +1,27 @@ -+/* Copyright (C) 2012 Étienne Dupuis -+* -+* Use, modification and distribution is subject to the -+* Boost Software License, Version 1.0. (See accompanying -+* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) -+*/ -+ -+// Test of bug #6701 (https://svn.boost.org/trac/boost/ticket/6701) -+ -+#include <boost/pool/object_pool.hpp> -+#include <boost/limits.hpp> -+ -+int main() -+{ -+ boost::pool<> p(1024, std::numeric_limits<size_t>::max() / 768); -+ -+ void *x = p.malloc(); -+ BOOST_ASSERT(!x); -+ -+ BOOST_ASSERT(std::numeric_limits<size_t>::max() / 1024 >= p.get_next_size()); -+ BOOST_ASSERT(std::numeric_limits<size_t>::max() / 1024 >= p.get_max_size()); -+ -+ void *y = p.ordered_malloc(std::numeric_limits<size_t>::max() / 768); -+ BOOST_ASSERT(!y); -+ -+ return 0; -+} diff --git a/dev-libs/boost/files/boost-1.79.0-disable_icu_rpath.patch b/dev-libs/boost/files/boost-1.79.0-disable_icu_rpath.patch deleted file mode 100644 index 32faf8d0eb3..00000000000 --- a/dev-libs/boost/files/boost-1.79.0-disable_icu_rpath.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/libs/locale/build/Jamfile.v2 -+++ b/libs/locale/build/Jamfile.v2 -@@ -65,8 +65,8 @@ - - if $(ICU_LINK) - { -- ICU_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <dll-path>$(ICU_PATH)/bin <runtime-link>shared ; -- ICU64_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <dll-path>$(ICU_PATH)/bin64 <runtime-link>shared ; -+ ICU_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <runtime-link>shared ; -+ ICU64_OPTS = <include>$(ICU_PATH)/include <linkflags>$(ICU_LINK) <runtime-link>shared ; - } - else - { -@@ -124,7 +124,6 @@ - <library>icuuc/<link>shared/<runtime-link>shared - <library>icudt/<link>shared/<runtime-link>shared - <library>icuin/<link>shared/<runtime-link>shared -- <dll-path>$(ICU_PATH)/bin - <runtime-link>shared ; - - -@@ -183,7 +182,6 @@ - <library>icuuc_64/<link>shared/<runtime-link>shared - <library>icudt_64/<link>shared/<runtime-link>shared - <library>icuin_64/<link>shared/<runtime-link>shared -- <dll-path>$(ICU_PATH)/bin64 - <runtime-link>shared ; - - diff --git a/dev-libs/boost/files/boost-1.79.0-fix-mips1-transition.patch b/dev-libs/boost/files/boost-1.79.0-fix-mips1-transition.patch deleted file mode 100644 index 81b29ac6cac..00000000000 --- a/dev-libs/boost/files/boost-1.79.0-fix-mips1-transition.patch +++ /dev/null @@ -1,39 +0,0 @@ -https://github.com/boostorg/boost/commit/791442bf1ed7a3b14893ed9e73ef2ab32b2a6026, and -https://github.com/boostorg/config/commit/1a55d1d9c6d1cf7739645080bdd92fe903b4211e without the file renaming. - ---- a/boostcpp.jam -+++ b/boostcpp.jam -@@ -634,7 +634,7 @@ rule address-model ( ) - return <conditional>@boostcpp.deduce-address-model ; - } - --local deducable-architectures = arm mips1 power riscv s390x sparc x86 combined ; -+local deducable-architectures = arm mips power riscv s390x sparc x86 combined ; - feature.feature deduced-architecture : $(deducable-architectures) : propagated optional composite hidden ; - for a in $(deducable-architectures) - { -@@ -645,10 +645,10 @@ rule deduce-architecture ( properties * ) - { - local result ; - local filtered = [ toolset-properties $(properties) ] ; -- local names = arm mips1 power riscv s390x sparc x86 combined ; -+ local names = arm mips power riscv s390x sparc x86 combined ; - local idx = [ configure.find-builds "default architecture" : $(filtered) - : /boost/architecture//arm -- : /boost/architecture//mips1 -+ : /boost/architecture//mips - : /boost/architecture//power - : /boost/architecture//riscv - : /boost/architecture//s390x ---- a/libs/config/checks/architecture/Jamfile.jam -+++ b/libs/config/checks/architecture/Jamfile.jam -@@ -18,7 +18,8 @@ obj 64 : 64.cpp ; - - obj arm : arm.cpp ; - obj combined : combined.cpp ; --obj mips1 : mips1.cpp ; -+obj mips : mips1.cpp ; -+alias mips1 : mips ; # Backwards compatibility - obj power : power.cpp ; - obj riscv : riscv.cpp ; - obj sparc : sparc.cpp ; diff --git a/dev-libs/boost/files/boost-1.80.0-python3.11.patch b/dev-libs/boost/files/boost-1.80.0-python3.11.patch new file mode 100644 index 00000000000..cdbc36ca953 --- /dev/null +++ b/dev-libs/boost/files/boost-1.80.0-python3.11.patch @@ -0,0 +1,33 @@ +https://github.com/boostorg/python/commit/a218babc8daee904a83f550fb66e5cb3f1cb3013 +https://github.com/boostorg/python/pull/385 + +From a218babc8daee904a83f550fb66e5cb3f1cb3013 Mon Sep 17 00:00:00 2001 +From: Victor Stinner <vstinner@python.org> +Date: Mon, 25 Apr 2022 10:51:46 +0200 +Subject: [PATCH] Fix enum_type_object type on Python 3.11 + +The enum_type_object type inherits from PyLong_Type which is not tracked +by the GC. Instances doesn't have to be tracked by the GC: remove the +Py_TPFLAGS_HAVE_GC flag. + +The Python C API documentation says: + + "To create a container type, the tp_flags field of the type object + must include the Py_TPFLAGS_HAVE_GC and provide an implementation of + the tp_traverse handler." + +https://docs.python.org/dev/c-api/gcsupport.html + +The new exception was introduced in Python 3.11 by: +https://github.com/python/cpython/issues/88429 +--- a/libs/python/src/object/enum.cpp ++++ b/libs/python/src/object/enum.cpp +@@ -113,7 +113,6 @@ static PyTypeObject enum_type_object = { + #if PY_VERSION_HEX < 0x03000000 + | Py_TPFLAGS_CHECKTYPES + #endif +- | Py_TPFLAGS_HAVE_GC + | Py_TPFLAGS_BASETYPE, /* tp_flags */ + 0, /* tp_doc */ + 0, /* tp_traverse */ + diff --git a/dev-libs/boost/files/boost-1.80.0-unordered-ftm-malloc.patch b/dev-libs/boost/files/boost-1.80.0-unordered-ftm-malloc.patch new file mode 100644 index 00000000000..95b39e4bb6b --- /dev/null +++ b/dev-libs/boost/files/boost-1.80.0-unordered-ftm-malloc.patch @@ -0,0 +1,21 @@ +https://github.com/boostorg/align/commit/5ad7df63cd792fbdb801d600b93cad1a432f0151 +https://github.com/boostorg/align/pull/19 + +From 5ad7df63cd792fbdb801d600b93cad1a432f0151 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C3=89rico=20Nogueira=20Rolim?= + <34201958+ericonr@users.noreply.github.com> +Date: Fri, 11 Nov 2022 18:29:45 -0300 +Subject: [PATCH] Don't use FTMs to determine implementation choice + +--- a/boost/align/aligned_alloc.hpp ++++ b/boost/align/aligned_alloc.hpp +@@ -38,7 +38,7 @@ Distributed under the Boost Software License, Version 1.0. + #include <boost/align/detail/aligned_alloc_posix.hpp> + #elif defined(sun) || defined(__sun) + #include <boost/align/detail/aligned_alloc_sunos.hpp> +-#elif (_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600) ++#elif defined(_POSIX_VERSION) + #include <boost/align/detail/aligned_alloc_posix.hpp> + #else + #include <boost/align/detail/aligned_alloc.hpp> + diff --git a/dev-libs/boost/files/boost-1.81.0-disable_icu_rpath.patch b/dev-libs/boost/files/boost-1.81.0-disable_icu_rpath.patch new file mode 100644 index 00000000000..a64d2d8675e --- /dev/null +++ b/dev-libs/boost/files/boost-1.81.0-disable_icu_rpath.patch @@ -0,0 +1,19 @@ +--- a/libs/locale/build/Jamfile.v2 ++++ b/libs/locale/build/Jamfile.v2 +@@ -99,16 +99,6 @@ if $(.icu-path) + rule path_options ( properties * ) + { + local result ; +- if <address-model>64 in $(properties) && <toolset>msvc in $(properties) +- { +- debug-message Search 64 bit ICU in "$(.icu-path)/lib64" ; +- result = <search>$(.icu-path)/bin64 <search>$(.icu-path)/lib64 ; +- } +- else +- { +- debug-message Search ICU in "$(.icu-path)/lib" ; +- result = <search>$(.icu-path)/bin <search>$(.icu-path)/lib ; +- } + return $(result) ; + } + diff --git a/dev-libs/boost/files/boost-1.81.0-phoenix-multiple-definitions.patch b/dev-libs/boost/files/boost-1.81.0-phoenix-multiple-definitions.patch new file mode 100644 index 00000000000..0aedde6d073 --- /dev/null +++ b/dev-libs/boost/files/boost-1.81.0-phoenix-multiple-definitions.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/887041 +https://github.com/boostorg/phoenix/issues/111 +--- a/boost/phoenix/stl.hpp ++++ b/boost/phoenix/stl.hpp +@@ -11,6 +11,5 @@ + + #include <boost/phoenix/stl/algorithm.hpp> + #include <boost/phoenix/stl/container.hpp> +-#include <boost/phoenix/stl/tuple.hpp> + + #endif diff --git a/dev-libs/boost/metadata.xml b/dev-libs/boost/metadata.xml index 5ceb55d4b89..98eea6f8a05 100644 --- a/dev-libs/boost/metadata.xml +++ b/dev-libs/boost/metadata.xml @@ -19,7 +19,141 @@ </use> <upstream> <remote-id type="cpe">cpe:/a:boost:boost</remote-id> + <!-- for x in $(find /usr/include/boost -maxdepth 1 -type d | cut -d/ -f5 | sort -u) ; do echo -e "\t\t<remote-id type=\"github\">boostorg/${x}</remote-id>"; done --> <remote-id type="github">boostorg/boost</remote-id> + <remote-id type="github">boostorg/accumulators</remote-id> + <remote-id type="github">boostorg/algorithm</remote-id> + <remote-id type="github">boostorg/align</remote-id> + <remote-id type="github">boostorg/any</remote-id> + <remote-id type="github">boostorg/archive</remote-id> + <remote-id type="github">boostorg/asio</remote-id> + <remote-id type="github">boostorg/assert</remote-id> + <remote-id type="github">boostorg/assign</remote-id> + <remote-id type="github">boostorg/atomic</remote-id> + <remote-id type="github">boostorg/beast</remote-id> + <remote-id type="github">boostorg/bimap</remote-id> + <remote-id type="github">boostorg/bind</remote-id> + <remote-id type="github">boostorg/callable_traits</remote-id> + <remote-id type="github">boostorg/chrono</remote-id> + <remote-id type="github">boostorg/circular_buffer</remote-id> + <remote-id type="github">boostorg/compatibility</remote-id> + <remote-id type="github">boostorg/compute</remote-id> + <remote-id type="github">boostorg/concept</remote-id> + <remote-id type="github">boostorg/concept_check</remote-id> + <remote-id type="github">boostorg/config</remote-id> + <remote-id type="github">boostorg/container</remote-id> + <remote-id type="github">boostorg/container_hash</remote-id> + <remote-id type="github">boostorg/context</remote-id> + <remote-id type="github">boostorg/contract</remote-id> + <remote-id type="github">boostorg/convert</remote-id> + <remote-id type="github">boostorg/core</remote-id> + <remote-id type="github">boostorg/coroutine</remote-id> + <remote-id type="github">boostorg/coroutine2</remote-id> + <remote-id type="github">boostorg/date_time</remote-id> + <remote-id type="github">boostorg/describe</remote-id> + <remote-id type="github">boostorg/detail</remote-id> + <remote-id type="github">boostorg/dll</remote-id> + <remote-id type="github">boostorg/dynamic_bitset</remote-id> + <remote-id type="github">boostorg/endian</remote-id> + <remote-id type="github">boostorg/exception</remote-id> + <remote-id type="github">boostorg/fiber</remote-id> + <remote-id type="github">boostorg/filesystem</remote-id> + <remote-id type="github">boostorg/flyweight</remote-id> + <remote-id type="github">boostorg/format</remote-id> + <remote-id type="github">boostorg/function</remote-id> + <remote-id type="github">boostorg/functional</remote-id> + <remote-id type="github">boostorg/function_types</remote-id> + <remote-id type="github">boostorg/fusion</remote-id> + <remote-id type="github">boostorg/geometry</remote-id> + <remote-id type="github">boostorg/gil</remote-id> + <remote-id type="github">boostorg/graph</remote-id> + <remote-id type="github">boostorg/hana</remote-id> + <remote-id type="github">boostorg/heap</remote-id> + <remote-id type="github">boostorg/histogram</remote-id> + <remote-id type="github">boostorg/hof</remote-id> + <remote-id type="github">boostorg/icl</remote-id> + <remote-id type="github">boostorg/integer</remote-id> + <remote-id type="github">boostorg/interprocess</remote-id> + <remote-id type="github">boostorg/intrusive</remote-id> + <remote-id type="github">boostorg/io</remote-id> + <remote-id type="github">boostorg/iostreams</remote-id> + <remote-id type="github">boostorg/iterator</remote-id> + <remote-id type="github">boostorg/json</remote-id> + <remote-id type="github">boostorg/lambda</remote-id> + <remote-id type="github">boostorg/lambda2</remote-id> + <remote-id type="github">boostorg/leaf</remote-id> + <remote-id type="github">boostorg/lexical_cast</remote-id> + <remote-id type="github">boostorg/locale</remote-id> + <remote-id type="github">boostorg/local_function</remote-id> + <remote-id type="github">boostorg/lockfree</remote-id> + <remote-id type="github">boostorg/log</remote-id> + <remote-id type="github">boostorg/logic</remote-id> + <remote-id type="github">boostorg/math</remote-id> + <remote-id type="github">boostorg/metaparse</remote-id> + <remote-id type="github">boostorg/move</remote-id> + <remote-id type="github">boostorg/mp11</remote-id> + <remote-id type="github">boostorg/mpi</remote-id> + <remote-id type="github">boostorg/mpl</remote-id> + <remote-id type="github">boostorg/msm</remote-id> + <remote-id type="github">boostorg/multi_array</remote-id> + <remote-id type="github">boostorg/multi_index</remote-id> + <remote-id type="github">boostorg/multiprecision</remote-id> + <remote-id type="github">boostorg/nowide</remote-id> + <remote-id type="github">boostorg/numeric</remote-id> + <remote-id type="github">boostorg/optional</remote-id> + <remote-id type="github">boostorg/outcome</remote-id> + <remote-id type="github">boostorg/parameter</remote-id> + <remote-id type="github">boostorg/pending</remote-id> + <remote-id type="github">boostorg/pfr</remote-id> + <remote-id type="github">boostorg/phoenix</remote-id> + <remote-id type="github">boostorg/poly_collection</remote-id> + <remote-id type="github">boostorg/polygon</remote-id> + <remote-id type="github">boostorg/pool</remote-id> + <remote-id type="github">boostorg/predef</remote-id> + <remote-id type="github">boostorg/preprocessor</remote-id> + <remote-id type="github">boostorg/process</remote-id> + <remote-id type="github">boostorg/program_options</remote-id> + <remote-id type="github">boostorg/property_map</remote-id> + <remote-id type="github">boostorg/property_tree</remote-id> + <remote-id type="github">boostorg/proto</remote-id> + <remote-id type="github">boostorg/ptr_container</remote-id> + <remote-id type="github">boostorg/python</remote-id> + <remote-id type="github">boostorg/qvm</remote-id> + <remote-id type="github">boostorg/random</remote-id> + <remote-id type="github">boostorg/range</remote-id> + <remote-id type="github">boostorg/ratio</remote-id> + <remote-id type="github">boostorg/regex</remote-id> + <remote-id type="github">boostorg/safe_numerics</remote-id> + <remote-id type="github">boostorg/serialization</remote-id> + <remote-id type="github">boostorg/signals2</remote-id> + <remote-id type="github">boostorg/smart_ptr</remote-id> + <remote-id type="github">boostorg/sort</remote-id> + <remote-id type="github">boostorg/spirit</remote-id> + <remote-id type="github">boostorg/stacktrace</remote-id> + <remote-id type="github">boostorg/statechart</remote-id> + <remote-id type="github">boostorg/static_string</remote-id> + <remote-id type="github">boostorg/stl_interfaces</remote-id> + <remote-id type="github">boostorg/system</remote-id> + <remote-id type="github">boostorg/test</remote-id> + <remote-id type="github">boostorg/thread</remote-id> + <remote-id type="github">boostorg/timer</remote-id> + <remote-id type="github">boostorg/tti</remote-id> + <remote-id type="github">boostorg/tuple</remote-id> + <remote-id type="github">boostorg/type_erasure</remote-id> + <remote-id type="github">boostorg/type_index</remote-id> + <remote-id type="github">boostorg/typeof</remote-id> + <remote-id type="github">boostorg/type_traits</remote-id> + <remote-id type="github">boostorg/units</remote-id> + <remote-id type="github">boostorg/unordered</remote-id> + <remote-id type="github">boostorg/utility</remote-id> + <remote-id type="github">boostorg/uuid</remote-id> + <remote-id type="github">boostorg/variant</remote-id> + <remote-id type="github">boostorg/variant2</remote-id> + <remote-id type="github">boostorg/vmd</remote-id> + <remote-id type="github">boostorg/wave</remote-id> + <remote-id type="github">boostorg/winapi</remote-id> + <remote-id type="github">boostorg/xpressive</remote-id> + <remote-id type="github">boostorg/yap</remote-id> <remote-id type="sourceforge">boost</remote-id> </upstream> </pkgmetadata> diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest index 34580d8a67e..1371878c460 100644 --- a/dev-libs/botan/Manifest +++ b/dev-libs/botan/Manifest @@ -1,2 +1,4 @@ DIST Botan-2.19.2.tar.xz 6063336 BLAKE2B a46fa49c61846e718197ab3a8431a5bdcab0f4cc5e42aec04fd22932ecdbfa2b755cae53c125eee8248ecae237671ec6f0533f99289068ed81e6cd34886d8b88 SHA512 52b9c80a240457e46a299480338472f7d0c0b56df7b1709fdef52c5be3afca5b474fe143801c9a332ae884eaf033e60461c9d3e0b2f7b069f4fe8b4c45932abf DIST Botan-2.19.2.tar.xz.asc 488 BLAKE2B 94d22dff9de02871560649b1d961f4c7ae5fa37a847141554f8da9f0a726d4497cd23e0d84197beb4d176f29aa3a478118d94cd52d2c04733d115828f85d400d SHA512 e25a03ac437a08737ecde541ead4b841ccb507d3198683a1755dab1d4f82e9ce0278473db7c7041a4b808f9dff9927106e30bbad79b1674615254ee78f0b6a06 +DIST Botan-2.19.3.tar.xz 6105896 BLAKE2B 6d7778d9e9a101c76f35c65b0fb0201641cd91967ba934510f3836ee4b924d54cabdc760dd460997679250aa66e1d2a99369cd03f8fb9e7b2fe672d4b355215f SHA512 80012397e2aa7cc88a9536340ac9b770d1195fddda53b9d4cfde82318dd05f9d4f925bbdff773aba99883a701f4d30581e9d5c97e915fa80c3ca2acfa5a92110 +DIST Botan-2.19.3.tar.xz.asc 488 BLAKE2B cd86bf77306aad2956cced6ac4fb96081279af88743e87d8fe5437e72e9fa8db8aaf40d0b5cb9c5b3a85204cb7d63c3baa3054126ab4c9a2db527e6835a069d7 SHA512 9142f932c958138b4bac32f503a550e6c73b61612690a280dcb98efe8c367aa6bd3cd88b4ed4decec376bb87596a780a21bdcb01d4a3573a1c44fbeb0aa49d23 diff --git a/dev-libs/botan/botan-2.19.2.ebuild b/dev-libs/botan/botan-2.19.2.ebuild index f898e8b84b2..e899feaea56 100644 --- a/dev-libs/botan/botan-2.19.2.ebuild +++ b/dev-libs/botan/botan-2.19.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc inherit edo python-r1 toolchain-funcs verify-sig @@ -81,8 +81,10 @@ src_configure() { if [[ ${CHOST} == *hppa* ]] ; then chostarch=parisc - elif [[ ${PROFILE_ARCH} == sparc64 ]] ; then - chostarch="sparc32-v9" + elif [[ ${ABI} == sparc64 ]] ; then + chostarch="sparc64" + elif [[ ${ABI} == sparc32 ]] ; then + chostarch="sparc32" fi ;; esac diff --git a/dev-libs/botan/botan-2.19.3.ebuild b/dev-libs/botan/botan-2.19.3.ebuild new file mode 100644 index 00000000000..10d64d9a5ec --- /dev/null +++ b/dev-libs/botan/botan-2.19.3.ebuild @@ -0,0 +1,180 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/botan.asc +inherit edo python-r1 toolchain-funcs verify-sig + +MY_P="Botan-${PV}" +DESCRIPTION="C++ crypto library" +HOMEPAGE="https://botan.randombit.net/" +SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz" +SRC_URI+=" verify-sig? ( https://botan.randombit.net/releases/${MY_P}.tar.xz.asc )" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="2/$(ver_cut 1-2)" # soname version +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86 ~ppc-macos" +IUSE="doc boost bzip2 lzma python static-libs sqlite test tools zlib" +RESTRICT="!test? ( test )" + +CPU_USE=( + cpu_flags_arm_{aes,neon} + cpu_flags_ppc_altivec + cpu_flags_x86_{aes,avx2,popcnt,rdrand,sha,sse2,ssse3,sse4_1,sse4_2} +) + +IUSE+=" ${CPU_USE[@]}" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# NOTE: Boost is needed at runtime too for the CLI tool. +DEPEND=" + boost? ( dev-libs/boost:= ) + bzip2? ( >=app-arch/bzip2-1.0.5:= ) + lzma? ( app-arch/xz-utils:= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + zlib? ( >=sys-libs/zlib-1.2.3:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + ') + verify-sig? ( sec-keys/openpgp-keys-botan ) +" + +# NOTE: Considering patching Botan? +# Please see upstream's guidance: +# https://botan.randombit.net/handbook/packaging.html#minimize-distribution-patches + +python_check_deps() { + use doc || return 0 + python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]" +} + +src_configure() { + python_setup + + local disable_modules=( + $(usev !boost 'boost') + ) + + if [[ -z "${DISABLE_MODULES}" ]] ; then + elog "Disabling module(s): ${disable_modules[@]}" + fi + + local chostarch="${CHOST%%-*}" + + # Arch specific wrangling + local myos= + case ${CHOST} in + *-darwin*) + myos=darwin + ;; + *) + myos=linux + + if [[ ${CHOST} == *hppa* ]] ; then + chostarch=parisc + elif [[ ${ABI} == sparc64 ]] ; then + chostarch="sparc64" + elif [[ ${ABI} == sparc32 ]] ; then + chostarch="sparc32" + fi + ;; + esac + + local pythonvers=() + if use python ; then + _append() { + pythonvers+=( ${EPYTHON/python/} ) + } + + python_foreach_impl _append + fi + + local myargs=( + # Intrinsics + # TODO: x86 RDSEED (new CPU_FLAGS_X86?) + # TODO: POWER Crypto (new CPU_FLAGS_PPC?) + $(usev !cpu_flags_arm_aes '--disable-armv8crypto') + $(usev !cpu_flags_arm_neon '--disable-neon') + $(usev !cpu_flags_ppc_altivec '--disable-altivec') + $(usev !cpu_flags_x86_aes '--disable-aes-ni') + $(usev !cpu_flags_x86_avx2 '--disable-avx2') + $(usev !cpu_flags_x86_popcnt '--disable-bmi2') + $(usev !cpu_flags_x86_rdrand '--disable-rdrand') + $(usev !cpu_flags_x86_sha '--disable-sha-ni') + $(usev !cpu_flags_x86_sse2 '--disable-sse2') + $(usev !cpu_flags_x86_ssse3 '--disable-ssse3') + $(usev !cpu_flags_x86_sse4_1 '--disable-sse4.1') + $(usev !cpu_flags_x86_sse4_2 '--disable-sse4.2') + + # HPPA's GCC doesn't support SSP (presumably due to stack direction) + $(usev hppa '--without-stack-protector') + + $(use_with boost) + $(use_with bzip2) + $(use_with doc documentation) + $(use_with doc sphinx) + $(use_with lzma) + $(use_enable static-libs static-library) + $(use_with sqlite sqlite3) + $(use_with zlib) + + --cpu=${chostarch} + --docdir=share/doc + --disable-modules=$(IFS=","; echo "${disable_modules[*]}") + --distribution-info="Gentoo ${PVR}" + --libdir="$(get_libdir)" + + # Don't install Python bindings automatically + # (do it manually later in the right place) + # bug #723096 + --no-install-python-module + + --os=${myos} + --prefix="${EPREFIX}"/usr + --with-endian="$(tc-endian)" + --with-python-version=$(IFS=","; echo "${pythonvers[*]}") + ) + + local build_targets=( + shared + $(usev static-libs static) + $(usev tools cli) + $(usev test tests) + ) + + myargs+=( + --build-targets=$(IFS=","; echo "${build_targets[*]}") + ) + + if use elibc_glibc && use kernel_linux ; then + myargs+=( + --with-os-features=getrandom,getentropy + ) + fi + + tc-export AR CC CXX + + edo ${EPYTHON} configure.py --verbose "${myargs[@]}" +} + +src_test() { + LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed" +} + +src_install() { + default + + # Manually install the Python bindings (bug #723096) + if use python ; then + python_foreach_impl python_domodule src/python/botan2.py + fi +} diff --git a/dev-libs/boxfort/boxfort-0.1.1.ebuild b/dev-libs/boxfort/boxfort-0.1.1.ebuild index bdd68e91ca9..8a8774e348b 100644 --- a/dev-libs/boxfort/boxfort-0.1.1.ebuild +++ b/dev-libs/boxfort/boxfort-0.1.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit meson python-any-r1 diff --git a/dev-libs/boxfort/boxfort-0.1.4.ebuild b/dev-libs/boxfort/boxfort-0.1.4.ebuild index fc974523dab..45d8dc65c1d 100644 --- a/dev-libs/boxfort/boxfort-0.1.4.ebuild +++ b/dev-libs/boxfort/boxfort-0.1.4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit meson python-any-r1 @@ -14,7 +14,7 @@ S="${WORKDIR}"/BoxFort-${PV} LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 -riscv -s390 ~x86" +KEYWORDS="amd64 ~arm ~arm64 -loong -riscv -s390 ~x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-libs/c-blosc/Manifest b/dev-libs/c-blosc/Manifest index 5f09a91ebbb..24d85046710 100644 --- a/dev-libs/c-blosc/Manifest +++ b/dev-libs/c-blosc/Manifest @@ -1 +1 @@ -DIST c-blosc-1.21.1.tar.gz 1456777 BLAKE2B a6a48d79fc8cb3df277e878a69361a5d12552be4b8ae50a4a95d2fe48d5b073c849724913a20c2834de7cf3cac7f288ddfec977ed1e4a1875fc3d21975907b44 SHA512 e06712ffaeaa6892415a6b01219221426c20af4191db6ca923301313daa8f5b0a83a7a3cd273f7013766349ace4e4869590e9c44bd892e57027ca45de53779e7 +DIST c-blosc-1.21.3.gh.tar.gz 1532077 BLAKE2B ff8ad36e4e34b245062025c5820655bb52fea40276e88a748253d5079c3b5f8662079f177835ab38aa6e58d87e7849a93d7e1289346fcc53c077ef85b7382462 SHA512 e9542aa2d1ebae9f6dcc12916d7ac3b920d771281ab96e2b2d59c2951e5f51d02d2684859b8823643d43d320613fb9dd8a3ea411ade34e66e323fcefa8165a91 diff --git a/dev-libs/c-blosc/c-blosc-1.21.1.ebuild b/dev-libs/c-blosc/c-blosc-1.21.3.ebuild index c0b7e51199f..c845b48cd4a 100644 --- a/dev-libs/c-blosc/c-blosc-1.21.1.ebuild +++ b/dev-libs/c-blosc/c-blosc-1.21.3.ebuild @@ -6,29 +6,35 @@ EAPI=8 inherit cmake DESCRIPTION="Blocking, shuffling and lossless compression library" -HOMEPAGE="https://www.blosc.org/" -SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://www.blosc.org/ + https://github.com/Blosc/c-blosc/ +" +SRC_URI=" + https://github.com/Blosc/c-blosc/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" -LICENSE="MIT" +LICENSE="BSD" SLOT="0/1" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+lz4 +snappy test zlib zstd" RESTRICT="!test? ( test )" -RDEPEND=" +DEPEND=" lz4? ( >=app-arch/lz4-1.7.5:= ) snappy? ( app-arch/snappy:= ) zlib? ( sys-libs/zlib:= ) - zstd? ( app-arch/zstd:= )" -DEPEND="${RDEPEND}" + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} +" -src_prepare() { - cmake_src_prepare - # remove bundled libs +src_configure() { + # remove bundled libs (just in case) rm -rf internal-complibs || die -} -src_configure() { local mycmakeargs=( -DBUILD_STATIC=OFF -DBUILD_TESTS=$(usex test) diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest new file mode 100644 index 00000000000..f4508df3f2a --- /dev/null +++ b/dev-libs/c-blosc2/Manifest @@ -0,0 +1 @@ +DIST c-blosc2-2.6.1.gh.tar.gz 2365300 BLAKE2B a3fdc8798eb70e97791b7b708ef872142d38b9c4fdb8efc6d5da2010149fa61f4115f27af630a43edd5f351cb8693fbb79457f19ccf1a518f057902b93196b3d SHA512 9f5daa59d5191784ee91deb18ed15a3b36504b05061ca8b1532eaf8e402c793944059894b277843e8da19f00af05615e0865d9fdb80decd83aa07867b0e661a0 diff --git a/dev-libs/c-blosc2/c-blosc2-2.6.1.ebuild b/dev-libs/c-blosc2/c-blosc2-2.6.1.ebuild new file mode 100644 index 00000000000..e4d54a7ad7a --- /dev/null +++ b/dev-libs/c-blosc2/c-blosc2-2.6.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE=" + https://www.blosc.org/c-blosc2/c-blosc2.html + https://github.com/Blosc/c-blosc2/ +" +SRC_URI=" + https://github.com/Blosc/c-blosc2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test zlib zstd" +REQUIRED_USE="test? ( zlib zstd )" +RESTRICT="!test? ( test )" + +DEPEND=" + >=app-arch/lz4-1.7.5:= + zlib? ( sys-libs/zlib:= ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + # remove bundled libs (just in case) + rm -rf internal-complibs || die + + local mycmakeargs=( + -DBUILD_STATIC=OFF + -DBUILD_TESTS=$(usex test) + -DBUILD_BENCHMARKS=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_FUZZERS=OFF + -DDEACTIVATE_ZLIB=$(usex !zlib) + -DDEACTIVATE_ZSTD=$(usex !zstd) + -DPREFER_EXTERNAL_LZ4=ON + -DPREFER_EXTERNAL_ZLIB=ON + -DPREFER_EXTERNAL_ZSTD=ON + + # upstream overrides CMAKE_C_FLAGS, preventing ${CFLAGS} defaults + # from applying, https://github.com/Blosc/c-blosc2/issues/433 + -DCMAKE_C_FLAGS="${CFLAGS}" + ) + cmake_src_configure +} + +src_test() { + # Tests fail in parallel, https://github.com/Blosc/c-blosc2/issues/432 + MAKEOPTS=-j1 cmake_src_test +} diff --git a/dev-libs/c-blosc2/metadata.xml b/dev-libs/c-blosc2/metadata.xml new file mode 100644 index 00000000000..56c6094796b --- /dev/null +++ b/dev-libs/c-blosc2/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="github">Blosc/c-blosc2</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/cJSON/cJSON-1.7.15.ebuild b/dev-libs/cJSON/cJSON-1.7.15.ebuild index 495764e4b1b..4829b2f530c 100644 --- a/dev-libs/cJSON/cJSON-1.7.15.ebuild +++ b/dev-libs/cJSON/cJSON-1.7.15.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/DaveGamble/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-libs/capnproto/capnproto-0.10.2.ebuild b/dev-libs/capnproto/capnproto-0.10.2.ebuild index 0a6728f73a1..2c126974f18 100644 --- a/dev-libs/capnproto/capnproto-0.10.2.ebuild +++ b/dev-libs/capnproto/capnproto-0.10.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ S="${WORKDIR}"/${P}/c++ LICENSE="MIT" SLOT="0/091" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="+ssl test zlib" RESTRICT="!test? ( test )" @@ -25,6 +25,10 @@ DEPEND="${RDEPEND} test? ( dev-cpp/gtest ) " +PATCHES=( + "${FILESDIR}"/${P}-gcc-13.patch +) + src_configure() { if use arm || use ppc || use mips || [[ ${CHOST} == *i486* ]] ; then # append-libs won't work here, cmake doesn't respect it diff --git a/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch b/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch new file mode 100644 index 00000000000..576e785437d --- /dev/null +++ b/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch @@ -0,0 +1,21 @@ +https://github.com/capnproto/capnproto/commit/1ae1e9990c7603f0dc99e64470f96693f869b00a + +From 1ae1e9990c7603f0dc99e64470f96693f869b00a Mon Sep 17 00:00:00 2001 +From: Heiko Becker <mail@heiko-becker.de> +Date: Wed, 25 Jan 2023 23:40:27 +0100 +Subject: [PATCH] Fix build with gcc 13 by including <stdint.h> (#1613) + +Like other versions before, gcc 13 moved some includes around and as +a result <stdint.h> is no longer transitively included. Explicitly +include it for uint8_t. +--- a/src/kj/string-test.c++ ++++ b/src/kj/string-test.c++ +@@ -24,6 +24,7 @@ + #include <string> + #include "vector.h" + #include <locale.h> ++#include <stdint.h> + + namespace kj { + namespace _ { // private + diff --git a/dev-libs/capstone/capstone-4.0.2-r2.ebuild b/dev-libs/capstone/capstone-4.0.2-r2.ebuild index b604ecec3a8..579ef58d992 100644 --- a/dev-libs/capstone/capstone-4.0.2-r2.ebuild +++ b/dev-libs/capstone/capstone-4.0.2-r2.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit cmake distutils-r1 toolchain-funcs DESCRIPTION="disassembly/disassembler framework + bindings" -HOMEPAGE="http://www.capstone-engine.org/" +HOMEPAGE="https://www.capstone-engine.org/" SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" diff --git a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild b/dev-libs/capstone/capstone-5.0_rc2-r2.ebuild index f8b94f595ae..fe79e806cfa 100644 --- a/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild +++ b/dev-libs/capstone/capstone-5.0_rc2-r2.ebuild @@ -1,20 +1,20 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit cmake distutils-r1 toolchain-funcs DESCRIPTION="disassembly/disassembler framework + bindings" -HOMEPAGE="http://www.capstone-engine.org/" +HOMEPAGE="https://www.capstone-engine.org/" SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0/5" # libcapstone.so.5 -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" +KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86" IUSE="python test" RDEPEND="python? ( ${PYTHON_DEPS} )" @@ -29,6 +29,7 @@ S=${WORKDIR}/${P/_rc/-rc} PATCHES=( "${FILESDIR}"/${P}-pkgconfig.patch + "${FILESDIR}"/${P}-oob-mem-access.patch ) if [[ ${PV} == *_rc* ]]; then diff --git a/dev-libs/capstone/capstone-9999.ebuild b/dev-libs/capstone/capstone-9999.ebuild index 762e910dbce..259fa40dbb5 100644 --- a/dev-libs/capstone/capstone-9999.ebuild +++ b/dev-libs/capstone/capstone-9999.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit cmake distutils-r1 toolchain-funcs DESCRIPTION="disassembly/disassembler framework + bindings" -HOMEPAGE="http://www.capstone-engine.org/" +HOMEPAGE="https://www.capstone-engine.org/" if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then EGIT_REPO_BRANCH="next" else SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" fi LICENSE="BSD" diff --git a/dev-libs/capstone/files/capstone-5.0_rc2-oob-mem-access.patch b/dev-libs/capstone/files/capstone-5.0_rc2-oob-mem-access.patch new file mode 100644 index 00000000000..4e538ef4d5f --- /dev/null +++ b/dev-libs/capstone/files/capstone-5.0_rc2-oob-mem-access.patch @@ -0,0 +1,40 @@ +Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> +Date: Mon Aug 22 18:52:19 2022 +0200 + + PPC: fix out of bound memory access + + closes #1912 + +Bug: https://bugs.gentoo.org/865151 +Upstream: https://github.com/capstone-engine/capstone/pull/1913 + +diff --git a/arch/PowerPC/PPCInstPrinter.c b/arch/PowerPC/PPCInstPrinter.c +index 22eef4ee..a5a30a8b 100644 +--- a/arch/PowerPC/PPCInstPrinter.c ++++ b/arch/PowerPC/PPCInstPrinter.c +@@ -1116,7 +1116,8 @@ static char *stripRegisterPrefix(const char *RegName) + char *name = cs_strdup(RegName + 2); + + // also strip the last 2 letters +- name[strlen(name) - 2] = '\0'; ++ if(strlen(name) > 2) ++ name[strlen(name) - 2] = '\0'; + + return name; + } +diff --git a/suite/cstest/issues.cs b/suite/cstest/issues.cs +index e4fb6cfa..3183f43f 100644 +--- a/suite/cstest/issues.cs ++++ b/suite/cstest/issues.cs +@@ -1,3 +1,11 @@ ++!# issue 1912 PPC register name ++!# CS_ARCH_PPC, CS_MODE_BIG_ENDIAN, None ++0x2d,0x03,0x00,0x80 == cmpwi cr2, r3, 0x80 ++ ++!# issue 1912 PPC no register name ++!# CS_ARCH_PPC, CS_MODE_BIG_ENDIAN, CS_OPT_SYNTAX_NOREGNAME ++0x2d,0x03,0x00,0x80 == cmpwi 2, 3, 0x80 ++ + !# issue 1839 AArch64 Incorrect detailed disassembly of ldr + !# CS_ARCH_ARM64, CS_MODE_ARM, CS_OPT_DETAIL + 0x41,0x00,0x40,0xf9 == ldr x1, [x2] ; operands[0].access: WRITE ; operands[1].access: READ diff --git a/dev-libs/castxml/Manifest b/dev-libs/castxml/Manifest index 11a4f5007da..de8dcc691a9 100644 --- a/dev-libs/castxml/Manifest +++ b/dev-libs/castxml/Manifest @@ -1 +1,2 @@ DIST castxml-0.4.5.tar.gz 104158 BLAKE2B 7d1642442d6908a7d7e1dd8f80a37b55ec8652191c4c93faf7f45601d730653d9b0e5af601f74aca7bce8579c0006eab0e9a2a75752abe2acbec1cfbf1522645 SHA512 c35c5d60dc7487d5dddba34de92590122db8457659458ee4e735fe9936dc59473bd31ed602e05e73651780f25a55ef5554e2daec0923ffb5a7575904320f5352 +DIST castxml-0.5.1.tar.gz 106918 BLAKE2B 9268f149ea5a511d24cbbd0c7faec5bff5eade5a511961d3bb120409691bf2b8aca7f2978e048a759419c097d9d97219a61a122bd37d4f835c1d86827bfb07e3 SHA512 1dff8f5cc6932a159e1132c0b283a28414ea6007c942cac4ae15a1c31789f5bd29efd65a6b5b63d7bc48b3d68c3550804f31bee2658e51082269fc5ecc15590e diff --git a/dev-libs/castxml/castxml-0.4.5.ebuild b/dev-libs/castxml/castxml-0.4.5.ebuild index 7089f8c28ce..7eee74c7e25 100644 --- a/dev-libs/castxml/castxml-0.4.5.ebuild +++ b/dev-libs/castxml/castxml-0.4.5.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/CastXML-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~riscv ~x86" IUSE="+man test" RESTRICT="!test? ( test )" @@ -28,6 +28,10 @@ BDEPEND=" man? ( dev-python/sphinx ) " +PATCHES=( + "${FILESDIR}"/${PN}-fix-tests.patch +) + src_configure() { local mycmakeargs=( -DCastXML_INSTALL_DOC_DIR="share/doc/${P}" diff --git a/dev-libs/castxml/castxml-0.5.1.ebuild b/dev-libs/castxml/castxml-0.5.1.ebuild new file mode 100644 index 00000000000..7eee74c7e25 --- /dev/null +++ b/dev-libs/castxml/castxml-0.5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C-family abstract syntax tree XML output tool" +HOMEPAGE="https://github.com/CastXML/CastXML" +SRC_URI="https://github.com/CastXML/CastXML/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/CastXML-${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~riscv ~x86" +IUSE="+man test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + sys-devel/llvm:= + sys-devel/clang:= + " +DEPEND="${RDEPEND}" +BDEPEND=" + ${RDEPEND} + man? ( dev-python/sphinx ) + " + +PATCHES=( + "${FILESDIR}"/${PN}-fix-tests.patch +) + +src_configure() { + local mycmakeargs=( + -DCastXML_INSTALL_DOC_DIR="share/doc/${P}" + -DCastXML_INSTALL_MAN_DIR="share/man" + -DSPHINX_MAN="$(usex man)" + -DSPHINX_HTML=OFF + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} diff --git a/dev-libs/castxml/files/castxml-fix-tests.patch b/dev-libs/castxml/files/castxml-fix-tests.patch new file mode 100644 index 00000000000..a48cf4fe511 --- /dev/null +++ b/dev-libs/castxml/files/castxml-fix-tests.patch @@ -0,0 +1,14 @@ +diff --git a/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt b/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt +index fb9ae02..33b3df9 100644 +--- a/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt ++++ b/test/expect/cmd.cc-msvc-c-src-c-cmd.stderr.txt +@@ -1 +1 @@ +-"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-[^i] ++"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-([^i]|i[^s]) +diff --git a/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt b/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt +index fb9ae02..33b3df9 100644 +--- a/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt ++++ b/test/expect/cmd.cc-msvc-src-cxx-cmd.stderr.txt +@@ -1 +1 @@ +-"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-[^i] ++"clang" .* "-[^i][^"]*" "[^-"][^"]*" "-isystem" "/some/include" "-isystem" "/some/other/include" "-([^i]|i[^s]) diff --git a/dev-libs/castxml/metadata.xml b/dev-libs/castxml/metadata.xml index 642c87f3644..243288d8ef9 100644 --- a/dev-libs/castxml/metadata.xml +++ b/dev-libs/castxml/metadata.xml @@ -9,4 +9,7 @@ <maintainer type="project"> <email>radio@gentoo.org</email> </maintainer> + <upstream> + <remote-id type="github">CastXML/CastXML</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-libs/cdk/Manifest b/dev-libs/cdk/Manifest index 922f35793fb..a69033cc63b 100644 --- a/dev-libs/cdk/Manifest +++ b/dev-libs/cdk/Manifest @@ -1,2 +1,4 @@ DIST cdk-5.0-20210324.tgz 548203 BLAKE2B 7a944f347bf30a6bf602b9ac61fa547c7b4aef073db54272e4a8d2bd7d83093888f2ca9e5ee9c2d067777472d2abb87cca42b2912b0491b81472cfce086640b8 SHA512 72d62307824708858ca4fb3865d332cc81e987d7ef685011cf127c8f77cee3e19fe9dd6a35009d4416769cb00f04e937ebaec686c61ca0ba58655f522a175a59 DIST cdk-5.0-20211216.tgz 552041 BLAKE2B ce82ac22d4ec2ed37079d3de52a4f93a4206e5228aa952a3e45294d260c1ffef7c363b2c290060cc909bb8ab4ae88cbedecf498db7bd0f13e2d2822d87d7e4fa SHA512 622e99681af8468aaf8638833d0821c743667fb9b41716fe16acb8e78e8a3d5ba4eb7aced0bc213697e120dcb6e96067d6b75d53531555c3e6d90e4961cb99aa +DIST cdk-5.0-20221025.tgz 540925 BLAKE2B 48b37d07630bc71fc5b1a77fa2732c264e61323fc00c60db1436403db46bfc4f870fa897560b705583b07db84b8f812df553780f4bddef4ca88de6b799c31f57 SHA512 408ab61f8110c13d32976896e92f8ded4927eac36435bce6d9fafbe137e693779ffd882829712086868766a252e35e6c592da69c43cfb32d9f4cf7e880c2a593 +DIST cdk-5.0-20221025.tgz.asc 729 BLAKE2B 0e6d0fdfcdb7e8a2139b5050cd2ff79f493edb67a0119baf5b009a00ea9fe715bb85da7980f35dbf688462b8dc07fc1e630101b072111fc626696bb90d318dc8 SHA512 66c52ac973fa6c133ae5a76b1661980b6a32144854c518f9bcddce8bd0b28e60167f8e09f87b99bff59e996275b3844f2c1c4b20d0a40a784700f53394fcbbcc diff --git a/dev-libs/cdk/cdk-5.0.20221025.ebuild b/dev-libs/cdk/cdk-5.0.20221025.ebuild new file mode 100644 index 00000000000..c974d478f4b --- /dev/null +++ b/dev-libs/cdk/cdk-5.0.20221025.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${PN}-$(ver_rs 2 -)" + +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc +inherit verify-sig + +DESCRIPTION="A library of curses widgets" +HOMEPAGE="https://dickey.his.com/cdk/cdk.html https://github.com/ThomasDickey/cdk-snapshots" +SRC_URI="https://invisible-island.net/archives/${PN}/${MY_P}.tgz" +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${MY_P}.tgz.asc )" +S="${WORKDIR}"/${MY_P} + +LICENSE="MIT" +SLOT="0/6" # subslot = soname version +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="examples unicode" + +DEPEND="sys-libs/ncurses:=[unicode(+)?]" +RDEPEND="${DEPEND}" +BDEPEND=" + virtual/pkgconfig + verify-sig? ( sec-keys/openpgp-keys-thomasdickey ) +" + +src_configure() { + if [[ ${CHOST} == *-*-darwin* ]] ; then + export ac_cv_prog_LIBTOOL=glibtool + fi + + # --with-libtool dropped for now because of broken Makefile + # bug #790773 + econf \ + --disable-rpath-hack \ + --with-shared \ + --with-pkg-config \ + --with-ncurses$(usex unicode "w" "") +} + +src_install() { + # parallel make installs duplicate libs + emake -j1 \ + DESTDIR="${D}" \ + DOCUMENT_DIR="${ED}/usr/share/doc/${PF}" \ + install + + if use examples ; then + local x + for x in include c++ demos examples cli cli/utils cli/samples ; do + docinto ${x} + find ${x} -maxdepth 1 -mindepth 1 -type f -print0 | xargs -0 dodoc || die + done + fi + + find "${ED}" \( -name '*.a' -or -name '*.la' \) -delete || die +} diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest index 78f31934197..c9a1df3ecd1 100644 --- a/dev-libs/cereal/Manifest +++ b/dev-libs/cereal/Manifest @@ -1,3 +1 @@ -DIST cereal-1.3.0-fix-doctest.patch 148684 BLAKE2B 6ab6263db5b787b3ae41b9c177df19554f17837d5bb496de887f1d2d2df28c280e038fe64f0986ce3a32cedb709249a9986f6869b6e21b7c3a4b27058739496f SHA512 6389bead42f2f8008e6296f3d5ff5fc7a94920972c774003080fd3ae24ea0fd8fa1c4ab940ab800ab6b3249db003e452fd98a9ed77e5ffbdb301311fc2972a6f -DIST cereal-1.3.0.tar.gz 374585 BLAKE2B 67bcdf8715585d8913c6ae4ff1a20d77df0eb95816b37a77620a3f08000b6e911afbd295236a6cd0394d3242ae0a3b2619f6e168503724517c9c66bc20f1d07c SHA512 2bb640a222d4efe7c624c6ec3e755fecae00ef59e91c4db462e233546c5afe73c065ba1d16d9600f7cd3cc185593109148008b0b2b870208e2f1d6984fd40c72 DIST cereal-1.3.2.tar.gz 385903 BLAKE2B a52e035f31766846dbea86ecb0071d73450bc481967221268717d46112eab1c6618d9cda627610aa1bf35308940d9408c37bd4ebb73c9ee9358334542d8ed810 SHA512 98d306d6292789129675f1c5c5aedcb90cfcc1029c4482893a8f9b23f3c9755e5ed4762d7a528f215345cae6392e87cd8d89467115b6f031b41c8673d6b4b109 diff --git a/dev-libs/cereal/cereal-1.3.0-r2.ebuild b/dev-libs/cereal/cereal-1.3.0-r2.ebuild deleted file mode 100644 index 585358628ca..00000000000 --- a/dev-libs/cereal/cereal-1.3.0-r2.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Header-only C++11 serialization library" -HOMEPAGE="https://uscilab.github.io/cereal/" -SRC_URI=" - https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://dev.gentoo.org/~expeditioneer/patches/${P}-fix-doctest.patch" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="+doc test" - -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-libs/boost )" - -PATCHES=( "${DISTDIR}/${P}-fix-doctest.patch" ) - -src_prepare() { - sed -i -e '/set(CMAKE_CXX_FLAGS "-Wall -g -Wextra -Wshadow -pedantic -Wold-style-cast ${CMAKE_CXX_FLAGS}")/d' CMakeLists.txt || die - - if ! use doc ; then - sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - local CMAKE_BUILD_TYPE="Release" - - local mycmakeargs=( - -DJUST_INSTALL_CEREAL=$(usex !test) - -DSKIP_PORTABILITY_TEST=ON - -DWITH_WERROR=OFF - ) - cmake_src_configure -} diff --git a/dev-libs/cereal/cereal-1.3.2-r2.ebuild b/dev-libs/cereal/cereal-1.3.2-r2.ebuild index da3bf9c6946..57da97a7a8c 100644 --- a/dev-libs/cereal/cereal-1.3.2-r2.ebuild +++ b/dev-libs/cereal/cereal-1.3.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" IUSE="doc test" RESTRICT="!test? ( test )" diff --git a/dev-libs/cereal/cereal-1.3.2.ebuild b/dev-libs/cereal/cereal-1.3.2.ebuild deleted file mode 100644 index f342726f1ea..00000000000 --- a/dev-libs/cereal/cereal-1.3.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Header-only C++11 serialization library" -HOMEPAGE="https://uscilab.github.io/cereal/" -SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -BDEPEND="doc? ( app-doc/doxygen )" - -src_prepare() { - if ! use doc ; then - sed -i -e '/add_subdirectory(doc/d' CMakeLists.txt || die - fi - - cmake_src_prepare -} - -src_configure() { - # TODO: drop bundled doctest, rapidjson, rapidxml (bug #792444) - - local mycmakeargs=( - -DBUILD_TESTS=$(usex test) - - # Avoid Boost dependency - -DSKIP_PERFORMANCE_COMPARISON=ON - - -DWITH_WERROR=OFF - ) - - cmake_src_configure -} diff --git a/dev-libs/clhpp/Manifest b/dev-libs/clhpp/Manifest index 1de4aa06d49..167ed1854c5 100644 --- a/dev-libs/clhpp/Manifest +++ b/dev-libs/clhpp/Manifest @@ -1,3 +1 @@ -DIST clhpp-2.0.15.tar.gz 99826 BLAKE2B de5f6cab05d21199ffea37bbbcc5d312a4b812b602ce091d8fa22cb615060ce08454de1341881792996dd5c06378657a297505ff25ac159d85b59995e924bca5 SHA512 d24c035425c8204099e5264e61939c568e85b64e94d5ed3c58fe9430f4516495a974080a684b742f5aea1351455a0755efccd14317c20cd34885880cf1d8133b -DIST clhpp-2.0.17.tar.gz 106799 BLAKE2B bccbbbc07e83609f49253636eb08a4da19f92c7188dad71759fa9cceaad571291c05595b8f2a7cc427ea0df658f1b7133ef0fdbbfed3ca3c29c85629b005d541 SHA512 af21fac8856a1a7d5de6ccde64dee9518740f75503808488312e226ae441e013e7340a7089f273b021a8d1e34c17dad9df51953c742eef8f8c470657a7816fe2 -DIST clhpp-2.0.18.tar.gz 106867 BLAKE2B 56f867e26ed2220566dd9f71391ccae8ea05aa6727bf5440e4bfa59948759b9251d415310aa97589baa745ae7ee6f5f7474a50a39b65d4fc1175fa7c7c1afe3d SHA512 078e935938ba1edd5ccc8f5234f344f4645ab678888f966e757eb64c3c88fa5e747ff1b931a54af656125fb8b8340c3d3a6d7e98a4adf277d6ca58b15c5c1f56 +DIST clhpp-2.0.19.tar.gz 106871 BLAKE2B e8c94f3e242d272a7eedbb13f7ead89cacaffdeca8b837fab29eb023e60efc7eb730b3966702474168071e7c884801fa24f0eedad95f6ea866f27dddb3af4a4e SHA512 f2d37eaee7a46b505844ddf45ae94f5f94241dea0b8f03f6bf4ba7524d7556c9ed19cc2f702cdd9becc469816ffa3d8371ae3561aebff5486cae9b623a10f58b diff --git a/dev-libs/clhpp/clhpp-2.0.15.ebuild b/dev-libs/clhpp/clhpp-2.0.15.ebuild deleted file mode 100644 index 43da0bfe332..00000000000 --- a/dev-libs/clhpp/clhpp-2.0.15.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Khronos OpenCL C++ bindings" -HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP/" -SRC_URI="https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Khronos-CLHPP" -SLOT="0" -KEYWORDS="amd64 x86" - -DEPEND="virtual/opencl" -RDEPEND="${DEPEND}" - -S="${WORKDIR}"/OpenCL-CLHPP-${PV} - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCS=OFF - -DBUILD_EXAMPLES=OFF - -DBUILD_TESTS=OFF - ) - cmake_src_configure -} diff --git a/dev-libs/clhpp/clhpp-2.0.17.ebuild b/dev-libs/clhpp/clhpp-2.0.17.ebuild deleted file mode 100644 index 5855e92bc4f..00000000000 --- a/dev-libs/clhpp/clhpp-2.0.17.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby26 ruby27 ruby30" -RUBY_OPTIONAL="yes" - -inherit cmake ruby-ng - -MY_PN="OpenCL-CLHPP" -MY_PV="2022.05.18" -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="Khronos OpenCL C++ bindings" -HOMEPAGE="https://github.com/KhronosGroup/OpenCL-CLHPP/" -SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Khronos-CLHPP" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -# Tests require CMock (NOT cmocka), which is currently unpackaged -RESTRICT="test" - -RDEPEND="virtual/opencl" -# Need an opencl-headers ebuild which installs cmake package configs -DEPEND="${RDEPEND} - >=dev-util/opencl-headers-2022.05.18-r1" -BDEPEND="test? ( $(ruby_implementations_depend) )" - -S="${WORKDIR}"/${MY_P} - -pkg_setup() { - use test && ruby-ng_pkg_setup -} - -src_unpack() { - # suppress ruby-ng export - default -} - -src_prepare() { - # suppress ruby-ng export - cmake_src_prepare -} - -src_compile() { - # suppress ruby-ng export - cmake_src_compile -} - -src_install() { - # suppress ruby-ng export - cmake_src_install -} - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCS=OFF - -DBUILD_EXAMPLES=OFF - -DBUILD_TESTING=$(usex test) - ) - cmake_src_configure -} diff --git a/dev-libs/clhpp/clhpp-2.0.18.ebuild b/dev-libs/clhpp/clhpp-2.0.19.ebuild index ef5ea47cd6e..419b89e9488 100644 --- a/dev-libs/clhpp/clhpp-2.0.18.ebuild +++ b/dev-libs/clhpp/clhpp-2.0.19.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ RUBY_OPTIONAL="yes" inherit cmake ruby-ng MY_PN="OpenCL-CLHPP" -MY_PV="2022.09.23" +MY_PV="2022.09.30" MY_P="${MY_PN}-${MY_PV}" DESCRIPTION="Khronos OpenCL C++ bindings" @@ -18,7 +18,7 @@ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/refs/tags/v${MY_PV}.ta LICENSE="Khronos-CLHPP" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="test" # Tests require CMock (NOT cmocka), which is currently unpackaged diff --git a/dev-libs/clhpp/metadata.xml b/dev-libs/clhpp/metadata.xml index db7a35b5874..4fab41399c2 100644 --- a/dev-libs/clhpp/metadata.xml +++ b/dev-libs/clhpp/metadata.xml @@ -1,12 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>x11@gentoo.org</email> - <name>X11</name> -</maintainer> -<maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> -</maintainer> + <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <upstream> + <remote-id type="github">KhronosGroup/OpenCL-CLHPP</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-libs/cloog/Manifest b/dev-libs/cloog/Manifest deleted file mode 100644 index aef10738803..00000000000 --- a/dev-libs/cloog/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cloog-0.20.0.tar.gz 512106 BLAKE2B ac5ce6b7bb6ad586fc614c02b7c2e7c17322e49a775e21b50fb9862e487b4278a2b1024a7269830b55be1ae3c4b4c70f3d411d6c86052483bda124bc9bc07b20 SHA512 2663bbce49c42436681750968823dbee9b3cfbe4c086f5b340d11e51d8c8f138d1a2ccfd1691ae4395b94c082ccc49c0d7e5a1475b29192d13ab3c0148a8c347 diff --git a/dev-libs/cloog/cloog-0.20.0.ebuild b/dev-libs/cloog/cloog-0.20.0.ebuild deleted file mode 100644 index 590340afe67..00000000000 --- a/dev-libs/cloog/cloog-0.20.0.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit autotools - -DESCRIPTION="A loop generator for scanning polyhedra" -HOMEPAGE="http://www.bastoul.net/cloog/ https://github.com/periscop/cloog" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/periscop/cloog" -else - SRC_URI="https://github.com/periscop/cloog/archive/${P}.tar.gz" - S="${WORKDIR}"/cloog-${P} - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0/4" -IUSE="static-libs" - -RDEPEND=" - dev-libs/gmp:= - dev-libs/isl:= -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${PN}-0.20.0-notex.patch ) - -DOCS=( README ) - -src_prepare() { - default - AT_NO_RECURSIVE=yes eautoreconf -i - # m4/ax_create_pkgconfig_info.m4 includes LDFLAGS - # sed to avoid eautoreconf - sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die - - # Make sure we always use the system isl. - rm -rf isl || die -} - -src_configure() { - ECONF_SOURCE="${S}" econf \ - --with-gmp=system \ - --with-isl=system \ - --with-osl=no \ - $(use_enable static-libs static) -} - -# The default src_test() fails, so we'll just run these directly -src_test() { - emake -j1 check -} diff --git a/dev-libs/cloog/cloog-9999.ebuild b/dev-libs/cloog/cloog-9999.ebuild deleted file mode 100644 index 590340afe67..00000000000 --- a/dev-libs/cloog/cloog-9999.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit autotools - -DESCRIPTION="A loop generator for scanning polyhedra" -HOMEPAGE="http://www.bastoul.net/cloog/ https://github.com/periscop/cloog" - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/periscop/cloog" -else - SRC_URI="https://github.com/periscop/cloog/archive/${P}.tar.gz" - S="${WORKDIR}"/cloog-${P} - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" -fi - -LICENSE="LGPL-2.1" -SLOT="0/4" -IUSE="static-libs" - -RDEPEND=" - dev-libs/gmp:= - dev-libs/isl:= -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${PN}-0.20.0-notex.patch ) - -DOCS=( README ) - -src_prepare() { - default - AT_NO_RECURSIVE=yes eautoreconf -i - # m4/ax_create_pkgconfig_info.m4 includes LDFLAGS - # sed to avoid eautoreconf - sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die - - # Make sure we always use the system isl. - rm -rf isl || die -} - -src_configure() { - ECONF_SOURCE="${S}" econf \ - --with-gmp=system \ - --with-isl=system \ - --with-osl=no \ - $(use_enable static-libs static) -} - -# The default src_test() fails, so we'll just run these directly -src_test() { - emake -j1 check -} diff --git a/dev-libs/cloog/files/cloog-0.20.0-notex.patch b/dev-libs/cloog/files/cloog-0.20.0-notex.patch deleted file mode 100644 index 72c75a1820d..00000000000 --- a/dev-libs/cloog/files/cloog-0.20.0-notex.patch +++ /dev/null @@ -1,37 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index 9edba30..fcca42f 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -181,19 +181,6 @@ doc: - @echo " *-----------------------------------------------*/" - doxygen ./autoconf/Doxyfile - --#/***************************************************************************** --# * Doc * --# *****************************************************************************/ -- --if HAVE_TEXI2DVI --pdf_DATA = doc/cloog.pdf --dist_pdf_DATA = doc/cloog.pdf --doc/cloog.pdf: doc/cloog.texi doc/gitversion.texi -- $(TEXI2DVI) -I $(top_builddir)/doc --pdf $< -o $@ --endif -- --doc/gitversion.texi: @GIT_INDEX@ -- echo '@set VERSION '`$(top_builddir)/genversion.sh`'' > $@ - - #/***************************************************************************** - # * Tests * -diff --git a/configure.ac b/configure.ac -index 88d346d..fec9b04 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -72,8 +72,6 @@ AC_CHECK_PROG(CD, cd) - dnl Configure needs an empty install.sh file with this, i HATE that... - AC_PROG_INSTALL - AC_PROG_LIBTOOL --AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, []) --AM_CONDITIONAL(HAVE_TEXI2DVI, test -n "$TEXI2DVI") - - AX_CC_MAXOPT - AC_SUBST(CFLAGS_WARN) diff --git a/dev-libs/cloog/metadata.xml b/dev-libs/cloog/metadata.xml deleted file mode 100644 index 115e9d64a66..00000000000 --- a/dev-libs/cloog/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> -</pkgmetadata> diff --git a/dev-libs/concurrencykit/concurrencykit-0.7.1-r1.ebuild b/dev-libs/concurrencykit/concurrencykit-0.7.1-r1.ebuild index b6d82d69054..de592f0bf47 100644 --- a/dev-libs/concurrencykit/concurrencykit-0.7.1-r1.ebuild +++ b/dev-libs/concurrencykit/concurrencykit-0.7.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_PN="ck" MY_P="${MY_PN}-${PV}" @@ -22,6 +22,9 @@ KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND="!sys-cluster/charm" src_configure() { + # https://github.com/concurrencykit/ck/issues/200 + append-cflags -fno-strict-aliasing + tc-export AR CC LD local myeconfargs=( diff --git a/dev-libs/confuse/confuse-3.3-r1.ebuild b/dev-libs/confuse/confuse-3.3-r1.ebuild new file mode 100644 index 00000000000..cb45a91f7a4 --- /dev/null +++ b/dev-libs/confuse/confuse-3.3-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit multilib-minimal flag-o-matic + +DESCRIPTION="a configuration file parser library" +HOMEPAGE="https://github.com/martinh/libconfuse" +SRC_URI="https://github.com/martinh/libconfuse/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="ISC" +SLOT="0/2.1.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +IUSE="nls static-libs" + +BDEPEND=" + sys-devel/flex + sys-devel/libtool + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" +RDEPEND=" + nls? ( virtual/libintl[${MULTILIB_USEDEP}] ) +" + +DOCS=( AUTHORS ) + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + # https://github.com/libconfuse/libconfuse/pull/167 + append-lfs-flags + + # examples are normally compiled but not installed. They + # fail during a mingw crosscompile. + local ECONF_SOURCE=${BUILD_DIR} + econf \ + --enable-shared \ + --disable-examples \ + $(use_enable nls) \ + $(use_enable static-libs static) +} + +multilib_src_install_all() { + doman doc/man/man3/*.3 + dodoc -r doc/html + + docinto examples + dodoc examples/*.{c,conf} + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/confuse/confuse-3.3.ebuild b/dev-libs/confuse/confuse-3.3.ebuild index 1c901130ccd..672a6224ad1 100644 --- a/dev-libs/confuse/confuse-3.3.ebuild +++ b/dev-libs/confuse/confuse-3.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="https://github.com/martinh/libconfuse/releases/download/v${PV}/${P}.tar LICENSE="ISC" SLOT="0/2.1.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="nls static-libs" diff --git a/dev-libs/crc32c/Manifest b/dev-libs/crc32c/Manifest index 47e69b3b18f..9cc21188565 100644 --- a/dev-libs/crc32c/Manifest +++ b/dev-libs/crc32c/Manifest @@ -1,3 +1 @@ -DIST crc32c-1.0.6.tar.gz 29596 BLAKE2B 5806e0a48cb3048c9b07abb75eb232491483176bbeb98bc11ad1b0ef7d4ce89929ad20b0354906fd67e8773541f9913f3948f1db9a3f3987fe7e2ca67e9d2467 SHA512 c30f6510d6348f15dcdddc06e375f21a69681cd615483d67628b32de747e5e98200fa49faf7e3fc30a1302991fd1f9c9a706c9eb4e13c9c6c09e74066474ea7b -DIST crc32c-1.1.1.tar.gz 29829 BLAKE2B 5ffb0809e80d1fad81a77d96683d44142a7d84fc15ce18070cdcdb12fd9b67f7ec732a53d8af7dc4b77add859bf64c4fa8bc52a593830de931a7bd12c60498cc SHA512 c276160ec960a38cd535c998336472694819bc6eb37beb711bd43a31441d1808c8a14d3a1f0eccc780785b19f739a4a51f923867a20b0707c465e0cc03f457e9 DIST crc32c-1.1.2.tar.gz 29819 BLAKE2B f48720e632b6a4aaab9591651ed92b268bc8fc5faacb01888094af86ecc9dec901be6edc419c534aebf94ade5a2ce2347c0ff2962ba57c62627d6d7c420fc23b SHA512 6325c52b5a6850b9f90086e0c0c86798c008af36e7cfd3a0216184a2d37b3bf7323481ddc6bfe4cbd5b31288b3ee6c69772d03085a13094cf95d00a9756a7196 diff --git a/dev-libs/crc32c/crc32c-1.0.6-r1.ebuild b/dev-libs/crc32c/crc32c-1.0.6-r1.ebuild deleted file mode 100644 index 53b6e710e34..00000000000 --- a/dev-libs/crc32c/crc32c-1.0.6-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="CRC32C implementation with support for CPU-specific acceleration instructions" -HOMEPAGE="https://github.com/google/crc32c" -SRC_URI="https://github.com/google/crc32c/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~riscv x86" - -PATCHES=( - "${FILESDIR}/${P}-fix-big-endian.patch" -) - -DOCS=( README.md ) - -src_prepare() { - sed -e '/-Werror/d' -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCRC32C_BUILD_TESTS=OFF - -DCRC32C_BUILD_BENCHMARKS=OFF - -DCRC32C_USE_GLOG=OFF - ) - - cmake_src_configure -} diff --git a/dev-libs/crc32c/crc32c-1.1.1.ebuild b/dev-libs/crc32c/crc32c-1.1.1.ebuild deleted file mode 100644 index 0086632b41e..00000000000 --- a/dev-libs/crc32c/crc32c-1.1.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="CRC32C implementation with support for CPU-specific acceleration instructions" -HOMEPAGE="https://github.com/google/crc32c" -SRC_URI="https://github.com/google/crc32c/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND="test? ( dev-cpp/gtest )" - -PATCHES=( - "${FILESDIR}/${PN}-1.0.6-fix-big-endian.patch" - "${FILESDIR}/${PN}-1.1.1-system-testdeps.patch" -) - -DOCS=( README.md ) - -src_prepare() { - sed -e '/-Werror/d' -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCRC32C_BUILD_TESTS=$(usex test) - -DCRC32C_BUILD_BENCHMARKS=OFF - -DCRC32C_USE_GLOG=OFF - ) - - cmake_src_configure -} diff --git a/dev-libs/crc32c/files/crc32c-1.0.6-fix-big-endian.patch b/dev-libs/crc32c/files/crc32c-1.0.6-fix-big-endian.patch deleted file mode 100644 index 3bd09930946..00000000000 --- a/dev-libs/crc32c/files/crc32c-1.0.6-fix-big-endian.patch +++ /dev/null @@ -1,29 +0,0 @@ -From: Pieter Wuille <github-sipa@wuille.net> -Date: Thu, 18 Jun 2020 21:05:38 -0700 -Subject: [PATCH] Fix (unused) ReadUint64LE for BE machines (#41) - ---- a/src/crc32c_read_le.h -+++ b/src/crc32c_read_le.h -@@ -30,14 +30,14 @@ inline uint32_t ReadUint32LE(const uint8_t* buffer) { - // Reads a little-endian 64-bit integer from a 64-bit-aligned buffer. - inline uint64_t ReadUint64LE(const uint8_t* buffer) { - #if BYTE_ORDER_BIG_ENDIAN -- return ((static_cast<uint32_t>(static_cast<uint8_t>(buffer[0]))) | -- (static_cast<uint32_t>(static_cast<uint8_t>(buffer[1])) << 8) | -- (static_cast<uint32_t>(static_cast<uint8_t>(buffer[2])) << 16) | -- (static_cast<uint32_t>(static_cast<uint8_t>(buffer[3])) << 24) | -- (static_cast<uint32_t>(static_cast<uint8_t>(buffer[4])) << 32) | -- (static_cast<uint32_t>(static_cast<uint8_t>(buffer[5])) << 40) | -- (static_cast<uint32_t>(static_cast<uint8_t>(buffer[6])) << 48) | -- (static_cast<uint32_t>(static_cast<uint8_t>(buffer[7])) << 56)); -+ return ((static_cast<uint64_t>(static_cast<uint8_t>(buffer[0]))) | -+ (static_cast<uint64_t>(static_cast<uint8_t>(buffer[1])) << 8) | -+ (static_cast<uint64_t>(static_cast<uint8_t>(buffer[2])) << 16) | -+ (static_cast<uint64_t>(static_cast<uint8_t>(buffer[3])) << 24) | -+ (static_cast<uint64_t>(static_cast<uint8_t>(buffer[4])) << 32) | -+ (static_cast<uint64_t>(static_cast<uint8_t>(buffer[5])) << 40) | -+ (static_cast<uint64_t>(static_cast<uint8_t>(buffer[6])) << 48) | -+ (static_cast<uint64_t>(static_cast<uint8_t>(buffer[7])) << 56)); - #else // !BYTE_ORDER_BIG_ENDIAN - uint64_t result; - // This should be optimized to a single instruction. diff --git a/dev-libs/criterion/criterion-2.4.0.ebuild b/dev-libs/criterion/criterion-2.4.0.ebuild index 729ed674cd1..d150bad6f79 100644 --- a/dev-libs/criterion/criterion-2.4.0.ebuild +++ b/dev-libs/criterion/criterion-2.4.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit meson python-any-r1 diff --git a/dev-libs/criterion/criterion-2.4.1.ebuild b/dev-libs/criterion/criterion-2.4.1.ebuild index 302f8af25ab..981964ff1a8 100644 --- a/dev-libs/criterion/criterion-2.4.1.ebuild +++ b/dev-libs/criterion/criterion-2.4.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..10} ) inherit meson python-any-r1 diff --git a/dev-libs/crossguid/Manifest b/dev-libs/crossguid/Manifest index a023eafbb85..cbf759e557c 100644 --- a/dev-libs/crossguid/Manifest +++ b/dev-libs/crossguid/Manifest @@ -1 +1,2 @@ +DIST crossguid-0.2.2_p20190529.tar.gz 141660 BLAKE2B 0f78a8ab5a420297f666b3b8156d499a9141ec25c049d4d2bb2ba594dc585abe211a149b83c605cce4f5530207231a065d5f3a87a0c969781de8c6381afa2527 SHA512 f0a80d8e99b10473bcfdfde3d1c5fd7b766959819f0d1c0595ac84ce46db9007a5fbfde9a55aca60530c46cb7f8ef4c7e472c6191559ded92f868589c141ccaf DIST crossguid-0_pre20150817.tar.gz 46569 BLAKE2B 3384b6c507c4713f5ea0d6012138f3543445a42c7353e934e267b91275f7cf75720a446f5fe24f334b1022946f856a65f5c158d0036c999c761e626c1e30062a SHA512 823ca301f1d3b78a778649cd9169194d98dd33c65cadd5bfb9f86429e82049c99c17e09f093b92675981d2aac2aac25b60cbb157fad57a3e1bada826edd8ba0a diff --git a/dev-libs/crossguid/crossguid-0.2.2_p20190529.ebuild b/dev-libs/crossguid/crossguid-0.2.2_p20190529.ebuild new file mode 100644 index 00000000000..a5fb5914d36 --- /dev/null +++ b/dev-libs/crossguid/crossguid-0.2.2_p20190529.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo cmake + +MY_COMMIT="ca1bf4b810e2d188d04cb6286f957008ee1b7681" + +DESCRIPTION="Lightweight cross platform C++ GUID/UUID library" +HOMEPAGE="https://github.com/graeme-hill/crossguid" +SRC_URI="https://github.com/graeme-hill/crossguid/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# We use libuuid from util-linux. +DEPEND="sys-apps/util-linux" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.2_p20190529-gcc-13.patch +) + +src_prepare() { + # https://github.com/graeme-hill/crossguid/pull/62 + sed -i -e 's:-Werror::' CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCROSSGUID_TESTS=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + edo "${BUILD_DIR}"/crossguid-test +} + +src_install() { + cmake_src_install + + rm "${ED}"/usr/share/crossguid/LICENSE || die +} diff --git a/dev-libs/crossguid/files/crossguid-0.2.2_p20190529-gcc-13.patch b/dev-libs/crossguid/files/crossguid-0.2.2_p20190529-gcc-13.patch new file mode 100644 index 00000000000..b18880cca2e --- /dev/null +++ b/dev-libs/crossguid/files/crossguid-0.2.2_p20190529-gcc-13.patch @@ -0,0 +1,24 @@ +https://github.com/graeme-hill/crossguid/pull/67 + +From 1eb9bea38c320b2b588635cffceaaa2a8d434780 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Wed, 25 Jan 2023 22:09:26 -0800 +Subject: [PATCH] include missing <cstdint> + +gcc 13 moved some includes around and as a result <cstdint> is no longer transitively +included [1]. Explicitly include it for uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/include/crossguid/guid.hpp ++++ b/include/crossguid/guid.hpp +@@ -29,6 +29,7 @@ THE SOFTWARE. + #include <jni.h> + #endif + ++#include <cstdint> + #include <functional> + #include <iostream> + #include <array> + diff --git a/dev-libs/cudnn-frontend/metadata.xml b/dev-libs/cudnn-frontend/metadata.xml index 8d50eb41876..3f54ce321e0 100644 --- a/dev-libs/cudnn-frontend/metadata.xml +++ b/dev-libs/cudnn-frontend/metadata.xml @@ -9,4 +9,7 @@ <email>tupone@gentoo.org</email> <name>Tupone Alfredo</name> </maintainer> + <upstream> + <remote-id type="github">NVIDIA/cudnn-frontend</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-libs/cudnn/Manifest b/dev-libs/cudnn/Manifest index 282a777ebb2..e4069874082 100644 --- a/dev-libs/cudnn/Manifest +++ b/dev-libs/cudnn/Manifest @@ -1,3 +1 @@ -DIST cudnn-linux-x86_64-8.3.1.22_cuda11.5-archive.tar.xz 856769204 BLAKE2B 375021592470b1f17d7a69701f1ac3289ceb8ddbbdacf577fa51abfdad263102d3c6cedb24ac829c49e033300532e77b6064835a8ae1e05377e375f4320c9a15 SHA512 815ef678b7510e014181f3bf782e627771e8d00d218b34f2af11436b8a49331400269f98448854353c12721468365b71a8483eb7631777f0d628982e81942a8b -DIST cudnn-linux-x86_64-8.3.2.44_cuda11.5-archive.tar.xz 857894928 BLAKE2B 7f0f4fe4d8ccd2e7385d5c4535f4543b3d8e80f65caa5a4d5fdaa1b386a76fe16d8d9e32745a098954eda8d0b803af6146c1ffc5b46c838ea0ccecd5923984cf SHA512 4f2159e48685613b436adb3995aa80cf6d5b395c146059ccc15ef2f5f7e47c94bfeebd14b09d8832f7df76d2379829aa32edb7b69852e17a8e7036084265ed39 -DIST cudnn-linux-x86_64-8.4.1.50_cuda11.6-archive.tar.xz 850711772 BLAKE2B 47e03d7a25f92cb2e2793e7d13b6182da62329a7868a785ca2224bccfc97960721fba26e1e8a933e8d449085e895c129871bb2fd7c690265d01ad10564a1b939 SHA512 bf2069edf5c73db325d4ef27e3976169b9bd32afc49f012bd1e6f7d9bd374179dd9312538e7be7b0f8d5da0f2edd79b6788868e183f00f8b99fda185302d07c3 +DIST cudnn-linux-x86_64-8.6.0.163_cuda11-archive.tar.xz 864470696 BLAKE2B e842f5861653f2bc8509cc654e5c40436556786610fbc4ab40781cd8246d5bc94e3e3fae0b0933c947941dc0b6eacbd44d6a54702566e5aefcff56df3f884149 SHA512 15d86b8884bf7b48b4aa1022ea26f0965dd50a9911ca1e6fb89e5266181e662547ba077b2e2e9f19bd135aef9d21fb0a3348b97c7fac9059bb241657046d6d60 diff --git a/dev-libs/cudnn/cudnn-8.3.1.22.ebuild b/dev-libs/cudnn/cudnn-8.3.1.22.ebuild deleted file mode 100644 index 167d9bc667c..00000000000 --- a/dev-libs/cudnn/cudnn-8.3.1.22.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" -HOMEPAGE="https://developer.nvidia.com/cudnn" -SRC_URI="cuda11-5? ( cudnn-linux-x86_64-${PV}_cuda11.5-archive.tar.xz )" -S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda11.5-archive" - -LICENSE="NVIDIA-cuDNN" -SLOT="0/8" -KEYWORDS="~amd64 ~amd64-linux" -IUSE="+cuda11-5" -REQUIRED_USE="^^ ( cuda11-5 )" -RESTRICT="fetch" - -RDEPEND=" - cuda11-5? ( =dev-util/nvidia-cuda-toolkit-11.5* )" - -QA_PREBUILT="*" - -src_install() { - insinto /opt/cuda/targets/x86_64-linux - doins -r include - - insinto /opt/cuda/targets/x86_64-linux/lib - doins -r lib/. -} diff --git a/dev-libs/cudnn/cudnn-8.3.2.44.ebuild b/dev-libs/cudnn/cudnn-8.3.2.44.ebuild deleted file mode 100644 index 167d9bc667c..00000000000 --- a/dev-libs/cudnn/cudnn-8.3.2.44.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" -HOMEPAGE="https://developer.nvidia.com/cudnn" -SRC_URI="cuda11-5? ( cudnn-linux-x86_64-${PV}_cuda11.5-archive.tar.xz )" -S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda11.5-archive" - -LICENSE="NVIDIA-cuDNN" -SLOT="0/8" -KEYWORDS="~amd64 ~amd64-linux" -IUSE="+cuda11-5" -REQUIRED_USE="^^ ( cuda11-5 )" -RESTRICT="fetch" - -RDEPEND=" - cuda11-5? ( =dev-util/nvidia-cuda-toolkit-11.5* )" - -QA_PREBUILT="*" - -src_install() { - insinto /opt/cuda/targets/x86_64-linux - doins -r include - - insinto /opt/cuda/targets/x86_64-linux/lib - doins -r lib/. -} diff --git a/dev-libs/cudnn/cudnn-8.4.1.50.ebuild b/dev-libs/cudnn/cudnn-8.6.0.163.ebuild index 1950bc260e4..318215eb1de 100644 --- a/dev-libs/cudnn/cudnn-8.4.1.50.ebuild +++ b/dev-libs/cudnn/cudnn-8.6.0.163.ebuild @@ -5,27 +5,25 @@ EAPI=8 BASE_V="$(ver_cut 0-3)" # supports 11.x but URL has a specific version number -CUDA_V="11.6" +CUDA_MA="11" +CUDA_MI="8" +CUDA_V="${CUDA_MA}.${CUDA_MI}" DESCRIPTION="NVIDIA Accelerated Deep Learning on GPU library" HOMEPAGE="https://developer.nvidia.com/cudnn" -SRC_URI="https://developer.download.nvidia.com/compute/redist/cudnn/v${BASE_V}/local_installers/${CUDA_V}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive.tar.xz" -S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive" +SRC_URI="https://developer.download.nvidia.com/compute/redist/cudnn/v${BASE_V}/local_installers/${CUDA_V}/cudnn-linux-x86_64-${PV}_cuda${CUDA_MA}-archive.tar.xz" +S="${WORKDIR}/cudnn-linux-x86_64-${PV}_cuda${CUDA_MA}-archive" LICENSE="NVIDIA-cuDNN" SLOT="0/8" KEYWORDS="~amd64 ~amd64-linux" -IUSE="" RESTRICT="mirror" RDEPEND="=dev-util/nvidia-cuda-toolkit-11*" -QA_PREBUILT="*" +QA_PREBUILT="/opt/cuda/targets/x86_64-linux/lib/*" src_install() { insinto /opt/cuda/targets/x86_64-linux - doins -r include - - insinto /opt/cuda/targets/x86_64-linux/lib - doins -r lib/. + doins -r include lib } diff --git a/dev-libs/cudnn/metadata.xml b/dev-libs/cudnn/metadata.xml index 7e420583aa2..c0cd18916a9 100644 --- a/dev-libs/cudnn/metadata.xml +++ b/dev-libs/cudnn/metadata.xml @@ -5,7 +5,4 @@ <email>sci@gentoo.org</email> <name>Gentoo Science Project</name> </maintainer> - <use> - <flag name="cuda11-5">On Nvidia CUDA 11.5</flag> - </use> </pkgmetadata> diff --git a/dev-libs/cxxopts/Manifest b/dev-libs/cxxopts/Manifest index 8e25883fd03..25fc46c0bb8 100644 --- a/dev-libs/cxxopts/Manifest +++ b/dev-libs/cxxopts/Manifest @@ -1,2 +1 @@ -DIST cxxopts-2.2.1.tar.gz 89561 BLAKE2B d7fb74cff9b9381d90827fd3e3bcc7dab8b4dc100b9ff12d98ff4c73400c187c04c270d8c5a019c88e553f8c46c59eda1e5076a1aec944e7d8af5ca6de2326db SHA512 bad2928b4e06efcfa09728dd946426e4fd39715b687c0a5c7b6308dd366cb490fdd8491c9a9778242d97d5be4a383bf9d1c209efe298c6c43bb1eb9daa103f05 DIST cxxopts-3.0.0.tar.gz 97020 BLAKE2B 129b055dd03ce9e4a146d36587063f7155b47456d81e395ae6eeab8012e8d6cfcb410c305353f2ac2ec66a2f3e8d6169e1a0d27c53dcb35388b967d3c9cc86f1 SHA512 239479a3b35ddef6fc380ac9371e1cf7e3aea066f03e1ea538151fa2fff4296838daa976d55e988d8f87f40c0ae027767bcb214754177499413af1081315565c diff --git a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild b/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild deleted file mode 100644 index 96b57b0c39e..00000000000 --- a/dev-libs/cxxopts/cxxopts-2.2.1-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2020-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Lightweight C++ command line option parser" -HOMEPAGE="https://github.com/jarro2783/cxxopts" -SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -DOCS=( - README.md - CHANGELOG.md -) - -src_prepare() { - sed -r -e 's:-Werror[[:space:]]*::' -i CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local -a mycmakeopts=( - -DCXXOPTS_BUILD_EXAMPLES=OFF - -DCXXOPTS_BUILD_TESTS=$(usex test 'ON' 'OFF') - -DCXXOPTS_ENABLE_INSTALL=ON - ) - cmake_src_configure -} diff --git a/dev-libs/cxxopts/cxxopts-3.0.0.ebuild b/dev-libs/cxxopts/cxxopts-3.0.0.ebuild index 3a03a557192..8aa251736b3 100644 --- a/dev-libs/cxxopts/cxxopts-3.0.0.ebuild +++ b/dev-libs/cxxopts/cxxopts-3.0.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/jarro2783/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" IUSE="icu test" RESTRICT="!test? ( test )" diff --git a/dev-libs/dbus-c++/dbus-c++-0.9.0-r5.ebuild b/dev-libs/dbus-c++/dbus-c++-0.9.0-r5.ebuild index bd749ca5481..4f4d7bfe597 100644 --- a/dev-libs/dbus-c++/dbus-c++-0.9.0-r5.ebuild +++ b/dev-libs/dbus-c++/dbus-c++-0.9.0-r5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit multilib-minimal +inherit multilib-minimal autotools virtualx DESCRIPTION="Provides a C++ API for D-BUS" HOMEPAGE="https://sourceforge.net/projects/dbus-cplusplus/" @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/dbus-cplusplus/lib${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="doc ecore glib test" RESTRICT="!test? ( test )" @@ -24,7 +24,8 @@ DEPEND="${RDEPEND} dev-util/cppunit[${MULTILIB_USEDEP}]" BDEPEND=" virtual/pkgconfig - doc? ( app-doc/doxygen )" + doc? ( app-doc/doxygen ) + test? ( sys-apps/dbus[X,${MULTILIB_USEDEP}] )" S="${WORKDIR}/lib${P}" @@ -32,8 +33,14 @@ PATCHES=( "${FILESDIR}"/${P}-gcc-4.7.patch #424707 "${FILESDIR}"/${PN}-gcc7.patch #622790 "${FILESDIR}"/${P}-gcc12.patch + "${FILESDIR}"/${PN}-0.9.0-enable-tests.patch #873487 ) +src_prepare() { + default + eautoreconf +} + multilib_src_configure() { # TODO : add ecore multilib support if/when it is multilibified ECONF_SOURCE="${S}" econf \ @@ -55,6 +62,10 @@ multilib_src_configure() { fi } +src_test() { + virtx multilib-minimal_src_test +} + multilib_src_install_all() { use doc && HTML_DOCS=( doc/html/. ) einstalldocs diff --git a/dev-libs/dbus-c++/files/dbus-c++-0.9.0-enable-tests.patch b/dev-libs/dbus-c++/files/dbus-c++-0.9.0-enable-tests.patch new file mode 100644 index 00000000000..827332c9f67 --- /dev/null +++ b/dev-libs/dbus-c++/files/dbus-c++-0.9.0-enable-tests.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/873487 +https://github.com/gentoo/gentoo/pull/27679 + +diff --git a/test/functional/Test1/Makefile.am b/test/functional/Test1/Makefile.am +index 3269751..50dd2a9 100644 +--- a/test/functional/Test1/Makefile.am ++++ b/test/functional/Test1/Makefile.am +@@ -40,3 +40,4 @@ AM_CPPFLAGS = + + ## File created by the gnome-build tools + ++TESTS = $(noinst_PROGRAMS) +diff --git a/test/generator/Makefile.am b/test/generator/Makefile.am +index 6c2403d..c6781aa 100644 +--- a/test/generator/Makefile.am ++++ b/test/generator/Makefile.am +@@ -38,3 +38,5 @@ dist-hook: + + MAINTAINERCLEANFILES = \ + Makefile.in ++ ++TESTS = $(noinst_PROGRAMS) diff --git a/dev-libs/ding-libs/Manifest b/dev-libs/ding-libs/Manifest index 0ab4e044b12..bed4d6c291c 100644 --- a/dev-libs/ding-libs/Manifest +++ b/dev-libs/ding-libs/Manifest @@ -1,2 +1 @@ -DIST ding-libs-0.6.1.tar.gz 904092 BLAKE2B 72eda10dfe002f27bb2d096bd96f6a6ee60dc246492fb1cc3581661184d050827aad6a5897aadf9b06db9b6dbd18da756637bd27bcc02742c6318c8cc7e68298 SHA512 335a0925bfa7cc113e86c91ad3f2c8aac12711879d5c9b62660140a4b749335a74024c987fcd2304dd78176362997b3e0ebd745193aaffab7a368e2873118628 DIST ding-libs-0.6.2.tar.gz 957577 BLAKE2B 7236706b0892e5b56506e89f67305cac54da648b2bd6f21dcf3c330d848e1bc556134c8e7d2efd0a9c8234ea41212d6bd2250ff7feaf84df12ff8ee6b56e0602 SHA512 566172e0addb0ee6e0ebd12874d3b72f2fa6bcb1ecc628c0c529984193290fae554efc40f52d2cec675bffab32a36183e47ec629db25e83ed2995f1049c64703 diff --git a/dev-libs/ding-libs/ding-libs-0.6.1-r1.ebuild b/dev-libs/ding-libs/ding-libs-0.6.1-r1.ebuild deleted file mode 100644 index 1445f869fec..00000000000 --- a/dev-libs/ding-libs/ding-libs-0.6.1-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib-minimal - -DESCRIPTION="set of utility libraries (mostly used by sssd)" -HOMEPAGE="https://pagure.io/SSSD/ding-libs" -SRC_URI="https://releases.pagure.org/SSSD/${PN}/${P}.tar.gz" - -LICENSE="LGPL-3 GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-libs/check )" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/0000-INI-Fix-detection-of-error-messages.patch - "${FILESDIR}"/0001-path_utils_ut-allow-single-as-well.patch - "${FILESDIR}"/0002-validators_ut_check-Fix-fail-with-new-glibc.patch -) - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf --disable-static -} - -multilib_src_install_all() { - einstalldocs - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/ding-libs/files/0000-INI-Fix-detection-of-error-messages.patch b/dev-libs/ding-libs/files/0000-INI-Fix-detection-of-error-messages.patch deleted file mode 100644 index 62e436c7c92..00000000000 --- a/dev-libs/ding-libs/files/0000-INI-Fix-detection-of-error-messages.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 72c19bd018b107ecf5a80963b433e9922f7243fd Mon Sep 17 00:00:00 2001 -From: Lukas Slebodnik <lslebodn@redhat.com> -Date: Wed, 3 Jan 2018 18:03:44 +0100 -Subject: [PATCH] INI: Fix detection of error messages -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -libc on BSD returns different error messages. - -Reviewed-by: Michal Židek <mzidek@redhat.com> ---- - ini/ini_validators_ut_check.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/ini/ini_validators_ut_check.c b/ini/ini_validators_ut_check.c -index fa7105a..9ecde75 100644 ---- a/ini/ini_validators_ut_check.c -+++ b/ini/ini_validators_ut_check.c -@@ -607,6 +607,12 @@ START_TEST(test_ini_allowed_options_wrong_regex) - "[rule/options_for_foo]: Cannot compile regular expression " - "from option 'section_re'. " - "Error: 'Unmatched [ or [^'"); -+ if (ret != 0) { -+ ret = strcmp(errmsg, -+ "[rule/options_for_foo]: Cannot compile regular expression " -+ "from option 'section_re'. " -+ "Error: 'brackets ([ ]) not balanced'"); -+ } - fail_unless(ret == 0, "Got msg: [%s]", errmsg); - ini_errobj_next(errobj); - -@@ -1028,6 +1034,11 @@ START_TEST(test_ini_allowed_sections_wrong_regex) - ret = strcmp(errmsg, - "[rule/section_list]: Validator failed to use regex " - "[^foo\\(*$]:[Unmatched ( or \\(]"); -+ if (ret !=0) { -+ ret = strcmp(errmsg, -+ "[rule/section_list]: Validator failed to use regex " -+ "[^foo\\(*$]:[parentheses not balanced]"); -+ } - fail_unless(ret == 0, "Got msg: [%s]", errmsg); - ini_errobj_next(errobj); - --- -2.21.0 - diff --git a/dev-libs/ding-libs/files/0001-path_utils_ut-allow-single-as-well.patch b/dev-libs/ding-libs/files/0001-path_utils_ut-allow-single-as-well.patch deleted file mode 100644 index a9ca8e9edc2..00000000000 --- a/dev-libs/ding-libs/files/0001-path_utils_ut-allow-single-as-well.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 4236e323e8ab4f13770e1ac9e94666b304b693fb Mon Sep 17 00:00:00 2001 -From: Henrik Riomar <henrik.riomar@gmail.com> -Date: Tue, 24 Jul 2018 21:59:36 +0000 -Subject: [PATCH 1/2] path_utils_ut: allow single / as well -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html#tag_03_266 - Multiple successive slashes are considered to be the same as one slash. - -When running the tests on a musl libc system - get_dirname(p, PATH_MAX, "//foo//") -actually results in a / and not // - -Reviewed-by: Michal Židek <mzidek@redhat.com> ---- - path_utils/path_utils_ut.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/path_utils/path_utils_ut.c b/path_utils/path_utils_ut.c -index 27c99b6..061abfb 100644 ---- a/path_utils/path_utils_ut.c -+++ b/path_utils/path_utils_ut.c -@@ -62,7 +62,7 @@ START_TEST(test_dirname) - fail_unless_str_equal(p, "//foo"); - - fail_unless(get_dirname(p, PATH_MAX, "//foo//") == SUCCESS); -- fail_unless_str_equal(p, "//"); -+ fail_unless(!strcmp(p, "/") || !strcmp(p, "//")); - - fail_unless(get_dirname(p, PATH_MAX, "foo//bar") == SUCCESS); - fail_unless_str_equal(p, "foo"); --- -2.21.0 - diff --git a/dev-libs/ding-libs/files/0002-validators_ut_check-Fix-fail-with-new-glibc.patch b/dev-libs/ding-libs/files/0002-validators_ut_check-Fix-fail-with-new-glibc.patch deleted file mode 100644 index 0524a128d62..00000000000 --- a/dev-libs/ding-libs/files/0002-validators_ut_check-Fix-fail-with-new-glibc.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 9f9a3ded23cc2bb917468939b745cc498cec523a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzidek@redhat.com> -Date: Wed, 1 Aug 2018 17:48:10 +0200 -Subject: [PATCH 2/2] validators_ut_check: Fix fail with new glibc - -Error message was slightly change from previous version -of glibc which caused fails in validators unit tests. - -Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> ---- - ini/ini_validators_ut_check.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/ini/ini_validators_ut_check.c b/ini/ini_validators_ut_check.c -index 9ecde75..3af8551 100644 ---- a/ini/ini_validators_ut_check.c -+++ b/ini/ini_validators_ut_check.c -@@ -602,6 +602,8 @@ START_TEST(test_ini_allowed_options_wrong_regex) - fail_unless(ret == 0, "Got msg: [%s]", errmsg); - ini_errobj_next(errobj); - -+ /* Different versions of libc produce slightly different error strings -+ * in this case. For simplicity compare against all of them. */ - errmsg = ini_errobj_get_msg(errobj); - ret = strcmp(errmsg, - "[rule/options_for_foo]: Cannot compile regular expression " -@@ -609,10 +611,17 @@ START_TEST(test_ini_allowed_options_wrong_regex) - "Error: 'Unmatched [ or [^'"); - if (ret != 0) { - ret = strcmp(errmsg, -- "[rule/options_for_foo]: Cannot compile regular expression " -- "from option 'section_re'. " -+ "[rule/options_for_foo]: Cannot compile regular " -+ "expression from option 'section_re'. " - "Error: 'brackets ([ ]) not balanced'"); - } -+ -+ if (ret != 0) { -+ ret = strcmp(errmsg, -+ "[rule/options_for_foo]: Cannot compile regular " -+ "expression from option 'section_re'. " -+ "Error: 'Unmatched [, [^, [:, [., or [='"); -+ } - fail_unless(ret == 0, "Got msg: [%s]", errmsg); - ini_errobj_next(errobj); - --- -2.21.0 - diff --git a/dev-libs/distorm3/distorm3-3.5.2.ebuild b/dev-libs/distorm3/distorm3-3.5.2.ebuild index 6c9bc4aa2c0..50ac20c5ac0 100644 --- a/dev-libs/distorm3/distorm3-3.5.2.ebuild +++ b/dev-libs/distorm3/distorm3-3.5.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{9,10} ) inherit distutils-r1 diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest index d9c19d867d1..dbfef5c8a9c 100644 --- a/dev-libs/dqlite/Manifest +++ b/dev-libs/dqlite/Manifest @@ -1 +1,2 @@ -DIST dqlite-1.11.1.tar.gz 172024 BLAKE2B 48fb3c4eebc1f1a2d341254f9f0ad01f871b65fac727b132b80ac59eceb7d1ab95ac6118549ab39c8b032053a8791d6abef5e0d4856da7e45f00939b083463e5 SHA512 64d9a6548a4d75e3045adf5e31d54c508a02b255573225d32119225260c3d5219c4ac29c857ba054cd3fa3df54ee81cf88bbc2f9769839902f63f0f8c02cc6c7 +DIST dqlite-1.13.0.tar.gz 190627 BLAKE2B 02880a112a7b070ee19653b60f19dbb49030b1d0d1bd3671577137ce281fd1af9c135f138d692fcc1c14592972cc9321198b3a2003fa0e81829c8ae462604964 SHA512 da56c622c75dcdc1df814d2b7acfeb08cb046fa7b74691d63575ddb3d30f91b441b8f58cc72466872b4c5e0028706b6505846d8f3d06583be844baefdd85f8a9 +DIST dqlite-1.14.0.tar.gz 190757 BLAKE2B 5304ff10134c7775c4475f77bbe60cc6892cc35c3f2a7b4813743cd27fc1176a1d513d66ebf22b47ed7e83fa833be1408f44f781fbd8200bfd3f4465ea1d6011 SHA512 4305b289903766f00c26e278cce3f761c778b67105a6d7e51e66cc1cbf85564fd41f27689b6895c6f182968d851e10a40d052570d55e22007e9eb5c2929dabd9 diff --git a/dev-libs/dqlite/dqlite-1.11.1.ebuild b/dev-libs/dqlite/dqlite-1.13.0.ebuild index dc59dea2034..5dc934b5faf 100644 --- a/dev-libs/dqlite/dqlite-1.11.1.ebuild +++ b/dev-libs/dqlite/dqlite-1.13.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2022 Gentoo Authors +# Copyright 2020-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,18 +10,20 @@ HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite" SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-3-with-linking-exception" -SLOT="0" +SLOT="0/1.12.0" KEYWORDS="amd64 ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" RDEPEND="dev-db/sqlite:3 dev-libs/libuv:= - >=dev-libs/raft-0.14.0" + >=dev-libs/raft-0.16.0" DEPEND="${RDEPEND} test? ( >=dev-libs/raft-0.13.0[lz4,test] )" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}"/dqlite-1.12.0-disable-werror.patch ) + src_prepare() { default eautoreconf @@ -29,6 +31,7 @@ src_prepare() { src_configure() { local myeconfargs=( + --disable-backtrace --disable-debug --disable-sanitize --disable-static diff --git a/dev-libs/dqlite/dqlite-1.14.0.ebuild b/dev-libs/dqlite/dqlite-1.14.0.ebuild new file mode 100644 index 00000000000..c0cbc911e37 --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.14.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine" +HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite" +SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3-with-linking-exception" +SLOT="0/1.12.0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/libuv:= + >=dev-libs/raft-0.17.1:=" +DEPEND="${RDEPEND} + test? ( >=dev-libs/raft-0.13.0[lz4,test] )" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/dqlite-1.12.0-disable-werror.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-backtrace + --disable-debug + --disable-sanitize + --disable-static + + # Will build a bundled libsqlite3.so. + --enable-build-sqlite=no + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/dqlite/files/dqlite-1.12.0-disable-werror.patch b/dev-libs/dqlite/files/dqlite-1.12.0-disable-werror.patch new file mode 100644 index 00000000000..9c92324688d --- /dev/null +++ b/dev-libs/dqlite/files/dqlite-1.12.0-disable-werror.patch @@ -0,0 +1,20 @@ +diff -Naur a/configure.ac b/configure.ac +--- a/configure.ac 2022-11-18 16:44:34.000000000 +0200 ++++ b/configure.ac 2022-11-19 09:21:24.157589426 +0200 +@@ -3,7 +3,7 @@ + AC_CONFIG_MACRO_DIR([m4]) + AC_CONFIG_AUX_DIR([ac]) + +-AM_INIT_AUTOMAKE([subdir-objects -Wall -Werror -Wno-portability foreign]) ++AM_INIT_AUTOMAKE([subdir-objects -Wall -Wno-portability foreign]) + AM_SILENT_RULES([yes]) + + AC_PROG_CC_STDC +@@ -82,7 +82,6 @@ + -Wdate-time \ + -Wnested-externs \ + -Wconversion \ +- -Werror \ + ]) + # To enable: + # diff --git a/dev-libs/dqlite/metadata.xml b/dev-libs/dqlite/metadata.xml index 2a8b8beafdf..93aa9821db9 100644 --- a/dev-libs/dqlite/metadata.xml +++ b/dev-libs/dqlite/metadata.xml @@ -18,4 +18,7 @@ instances of your application and have them act as a highly-available cluster, with no dependency on external databases. </longdescription> + <upstream> + <remote-id type="github">canonical/dqlite</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-libs/editline/metadata.xml b/dev-libs/editline/metadata.xml index 115e9d64a66..94a7a4cd944 100644 --- a/dev-libs/editline/metadata.xml +++ b/dev-libs/editline/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> + <upstream> + <remote-id type="github">troglobit/editline</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-libs/eekboard/eekboard-1.0.8_p20121001-r1.ebuild b/dev-libs/eekboard/eekboard-1.0.8_p20121001-r1.ebuild index 5c15ff74945..310c5453438 100644 --- a/dev-libs/eekboard/eekboard-1.0.8_p20121001-r1.ebuild +++ b/dev-libs/eekboard/eekboard-1.0.8_p20121001-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_COMPAT=( python3_{9..10} ) VALA_USE_DEPEND="vapigen" inherit autotools gnome2-utils python-any-r1 vala vcs-snapshot virtualx xdg diff --git a/dev-libs/efl/Manifest b/dev-libs/efl/Manifest index 2dd3d94da48..35ae7b6d937 100644 --- a/dev-libs/efl/Manifest +++ b/dev-libs/efl/Manifest @@ -1,2 +1 @@ -DIST efl-1.26.2.tar.xz 168537016 BLAKE2B b7ca59dbcd483edf31e68aae4df512a195a8239935febf8497ce039eb18696ca84e4f6d0206818c84f6e1f625abf3e730fc812304459e5615feca2c3fa07092c SHA512 d8478b6f197600c5abb7e2fcc030f8938e6726dde5e1947df4b042e6e9c77b0f31770b6b86a76ee2be52bf5354e02716bd7e5daf0771d149004d9447e432dc32 DIST efl-1.26.3.tar.xz 168540684 BLAKE2B aeb0215b9cdce9ca10550c698df4985ff9557c3c400c3a300887148d04a8900f04c7200473e5fce1d3021378be1e664e9364d171ec09c4fc488b4ec758722ea5 SHA512 9801ee8bc963786962d87af56d532d3f019bc18a91924d2ef84934dcd0ae30452d858db93c33964f2bff9af2f3c8feb9927f7281ead4a8993ed622cd0cf2c514 diff --git a/dev-libs/efl/efl-1.26.2.ebuild b/dev-libs/efl/efl-1.26.3-r1.ebuild index cb05c5d6fc8..8a464db8851 100644 --- a/dev-libs/efl/efl-1.26.2.ebuild +++ b/dev-libs/efl/efl-1.26.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ DOCS_DIR="${S}/doc" LUA_REQ_USE="deprecated(+)" LUA_COMPAT=( lua5-{1,2} luajit ) -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit docs lua-single meson python-any-r1 xdg @@ -20,7 +20,7 @@ SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz" LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv x86" IUSE="+X avif bmp connman cpu_flags_arm_neon dds debug drm +eet efl-one elogind examples fbcon +fontconfig fribidi gif gnutls glib +gstreamer harfbuzz heif hyphen ibus ico jpeg2k json nls mono opengl +pdf physics pmaps postscript psd pulseaudio raw scim @@ -46,10 +46,10 @@ RDEPEND="${LUA_DEPS} dev-libs/libinput:= net-misc/curl media-libs/giflib:= - media-libs/libpng:0= + media-libs/libjpeg-turbo:= + media-libs/libpng:= sys-apps/dbus sys-libs/zlib - virtual/jpeg X? ( !opengl? ( media-libs/mesa[egl(+),gles2] ) media-libs/freetype @@ -109,7 +109,7 @@ RDEPEND="${LUA_DEPS} svg? ( gnome-base/librsvg:2 ) system-lz4? ( app-arch/lz4:= ) systemd? ( sys-apps/systemd:= ) - tiff? ( media-libs/tiff ) + tiff? ( media-libs/tiff:= ) tslib? ( x11-libs/tslib:= ) unwind? ( sys-libs/libunwind:= ) v4l? ( media-libs/libv4l ) diff --git a/dev-libs/efl/efl-1.26.3.ebuild b/dev-libs/efl/efl-1.26.3.ebuild deleted file mode 100644 index 53253ffd0ec..00000000000 --- a/dev-libs/efl/efl-1.26.3.ebuild +++ /dev/null @@ -1,311 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DOCS_BUILDER="doxygen" -DOCS_DEPEND="dev-texlive/texlive-fontutils" -DOCS_DIR="${S}/doc" - -LUA_REQ_USE="deprecated(+)" -LUA_COMPAT=( lua5-{1,2} luajit ) - -PYTHON_COMPAT=( python3_{8..11} ) - -inherit docs lua-single meson python-any-r1 xdg - -DESCRIPTION="Enlightenment Foundation Libraries all-in-one package" -HOMEPAGE="https://www.enlightenment.org" -SRC_URI="https://download.enlightenment.org/rel/libs/${PN}/${P}.tar.xz" - -LICENSE="BSD-2 GPL-2 LGPL-2.1 ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" -IUSE="+X avif bmp connman cpu_flags_arm_neon dds debug drm +eet efl-one elogind examples fbcon - +fontconfig fribidi gif gnutls glib +gstreamer harfbuzz heif hyphen ibus ico - jpeg2k json nls mono opengl +pdf physics pmaps postscript psd pulseaudio raw scim - sdl +sound +svg +system-lz4 systemd tga tgv tiff tslib unwind v4l vnc wayland webp xcf - xim xpm xpresent zeroconf" - -REQUIRED_USE="${LUA_REQUIRED_USE} - ?? ( elogind systemd ) - ?? ( fbcon tslib ) - drm? ( wayland ) - examples? ( eet svg ) - ibus? ( glib ) - opengl? ( X ) - pulseaudio? ( sound ) - xim? ( X ) - xpresent? ( X )" - -# Requires everything to be enabled unconditionally. -RESTRICT="test" - -RDEPEND="${LUA_DEPS} - !x11-themes/e-flat-theme - dev-libs/libinput:= - net-misc/curl - media-libs/giflib:= - media-libs/libpng:0= - sys-apps/dbus - sys-libs/zlib - virtual/jpeg - X? ( - !opengl? ( media-libs/mesa[egl(+),gles2] ) - media-libs/freetype - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXinerama - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/libxkbcommon - wayland? ( x11-libs/libxkbcommon[X] ) - ) - avif? ( media-libs/libavif:= ) - connman? ( net-misc/connman ) - drm? ( - dev-libs/libinput:= - dev-libs/wayland - media-libs/mesa[gbm(+)] - x11-libs/libdrm - x11-libs/libxkbcommon - ) - elogind? ( - sys-auth/elogind - virtual/libudev:= - ) - fontconfig? ( media-libs/fontconfig ) - fribidi? ( dev-libs/fribidi ) - glib? ( dev-libs/glib:2 ) - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( dev-libs/openssl:0= ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - ) - harfbuzz? ( media-libs/harfbuzz:= ) - heif? ( media-libs/libheif:= ) - hyphen? ( dev-libs/hyphen ) - ibus? ( app-i18n/ibus ) - jpeg2k? ( media-libs/openjpeg:= ) - json? ( >=media-libs/rlottie-0.0.1_pre20200424:= ) - mono? ( dev-lang/mono ) - opengl? ( virtual/opengl ) - pdf? ( app-text/poppler:=[cxx] ) - physics? ( sci-physics/bullet:= ) - postscript? ( app-text/libspectre ) - pulseaudio? ( media-sound/pulseaudio ) - raw? ( media-libs/libraw:= ) - scim? ( app-i18n/scim ) - sdl? ( media-libs/libsdl2 ) - sound? ( media-libs/libsndfile ) - svg? ( gnome-base/librsvg:2 ) - system-lz4? ( app-arch/lz4:= ) - systemd? ( sys-apps/systemd:= ) - tiff? ( media-libs/tiff ) - tslib? ( x11-libs/tslib:= ) - unwind? ( sys-libs/libunwind:= ) - v4l? ( media-libs/libv4l ) - vnc? ( net-libs/libvncserver ) - wayland? ( - dev-libs/wayland - media-libs/mesa[gles2,wayland] - x11-libs/libxkbcommon - ) - webp? ( media-libs/libwebp:= ) - xpm? ( x11-libs/libXpm ) - xpresent? ( x11-libs/libXpresent ) - zeroconf? ( net-dns/avahi )" -DEPEND="${RDEPEND} - wayland? ( dev-libs/wayland-protocols )" -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig - nls? ( sys-devel/gettext ) - wayland? ( dev-util/wayland-scanner )" - -pkg_setup() { - # Deprecated, provided for backward-compatibility. Everything is moved to libefreet.so. - QA_FLAGS_IGNORED="/usr/$(get_libdir)/libefreet_trash.so.${PV} - /usr/$(get_libdir)/libefreet_mime.so.${PV}" - - python-any-r1_pkg_setup -} - -src_prepare() { - default - - # Remove automagic unwind configure option, #743154 - if ! use unwind; then - sed -i "/config_h.set('HAVE_UNWIND/,/eina_ext_deps += unwind/d" src/lib/eina/meson.build || - die "Failed to remove libunwind dep" - fi - - # Fixup Doxyfile - pushd "${DOCS_DIR}" || die - cp Doxyfile.in Doxyfile || die - sed -i \ - -e "s/@PACKAGE_VERSION@/${PV}/g" \ - -e "s/@top_builddir@/../g" \ - -e "s/@top_srcdir@/../g" \ - -e "s/@srcdir@/./g" \ - Doxyfile || die - popd || die - - # Fix python shebangs for python-exec[-native-symlinks], #764086 - local shebangs=($(grep -rl "#!/usr/bin/env python3" || die)) - python_fix_shebang -q ${shebangs[*]} -} - -src_configure() { - local emesonargs=( - --buildtype=plain - - -D buffer=false - -D build-tests=false - -D cocoa=false - -D drm-deprecated=false - -D g-mainloop=false - -D mono-beta=false - -D dotnet=false - -D pixman=false - -D wl-deprecated=false - -D dotnet-stylecop-severity=Warning - - -D edje-sound-and-video=true - -D eeze=true - -D input=true - -D install-eo-files=true - -D libmount=true - -D native-arch-optimization=true - -D xinput2=true - -D xinput22=true - - $(meson_use X x11) - $(meson_use debug debug-threads) - $(meson_use drm) - $(meson_use examples build-examples) - $(meson_use fbcon fb) - $(meson_use fontconfig) - $(meson_use fribidi) - $(meson_use glib) - $(meson_use gstreamer) - $(meson_use harfbuzz) - $(meson_use hyphen) - $(meson_use lua_single_target_luajit elua) - $(meson_use nls) - $(meson_use physics) - $(meson_use pulseaudio) - $(meson_use sdl) - $(meson_use sound audio) - $(meson_use tslib) - $(meson_use v4l v4l2) - $(meson_use vnc vnc-server) - $(meson_use wayland wl) - $(meson_use xpresent) - $(meson_use zeroconf avahi) - - $(meson_use !system-lz4 embedded-lz4) - ) - - if use elogind || use systemd; then - emesonargs+=( -D systemd=true ) - else - emesonargs+=( -D systemd=false ) - fi - - if use wayland; then - emesonargs+=( -D opengl=es-egl ) - elif ! use wayland && use opengl; then - emesonargs+=( -D opengl=full ) - elif ! use wayland && use X && ! use opengl; then - emesonargs+=( -D opengl=es-egl ) - else - emesonargs+=( -D opengl=none ) - fi - - if use gnutls; then - emesonargs+=( -D crypto=gnutls ) - else - emesonargs+=( -D crypto=openssl ) - fi - - if use connman; then - emesonargs+=( -D network-backend=connman ) - else - emesonargs+=( -D network-backend=none ) - fi - - local disabledEvasLoaders="" - ! use avif && disabledEvasLoaders="avif," - ! use bmp && disabledEvasLoaders+="bmp,wbmp," - ! use dds && disabledEvasLoaders+="dds," - ! use eet && disabledEvasLoaders+="eet," - ! use gstreamer && disabledEvasLoaders+="gst," - ! use heif && disabledEvasLoaders+="heif," - ! use ico && disabledEvasLoaders+="ico," - ! use jpeg2k && disabledEvasLoaders+="jp2k," - ! use json && disabledEvasLoaders+="json," - ! use pdf && disabledEvasLoaders+="pdf," - ! use pmaps && disabledEvasLoaders+="pmaps," - ! use postscript && disabledEvasLoaders+="ps," - ! use psd && disabledEvasLoaders+="psd," - ! use raw && disabledEvasLoaders+="raw," - ! use svg && disabledEvasLoaders+="rsvg,svg," - ! use tga && disabledEvasLoaders+="tga," - ! use tgv && disabledEvasLoaders+="tgv," - ! use tiff && disabledEvasLoaders+="tiff," - ! use webp && disabledEvasLoaders+="webp," - ! use xcf && disabledEvasLoaders+="xcf," - ! use xpm && disabledEvasLoaders+="xpm," - [[ ! -z "$disabledEvasLoaders" ]] && disabledEvasLoaders=${disabledEvasLoaders::-1} - emesonargs+=( -D evas-loaders-disabler="${disabledEvasLoaders}" ) - - local disabledImfLoaders="" - ! use ibus && disabledImfLoaders+="ibus," - ! use scim && disabledImfLoaders+="scim," - ! use xim && disabledImfLoaders+="xim," - [[ ! -z "$disabledImfLoaders" ]] && disabledImfLoaders=${disabledImfLoaders::-1} - emesonargs+=( -D ecore-imf-loaders-disabler="${disabledImfLoaders}" ) - - local bindingsList="cxx," - use lua_single_target_luajit && bindingsList+="lua," - use mono && bindingsList+="mono," - [[ ! -z "$bindingsList" ]] && bindingsList=${bindingsList::-1} - emesonargs+=( -D bindings="${bindingsList}" ) - - local luaChoice="" - if use lua_single_target_luajit; then - luaChoice+="luajit" - else - luaChoice+="lua" - fi - emesonargs+=( -D lua-interpreter="${luaChoice}" ) - - # Not all arm CPU's have neon instruction set, #722552 - if use arm && ! use cpu_flags_arm_neon; then - emesonargs+=( -D native-arch-optimization=false ) - fi - - meson_src_configure -} - -src_compile() { - docs_compile - meson_src_compile -} - -src_install() { - meson_src_install - - if use examples; then - docompress -x /usr/share/doc/${PF}/examples/ - dodoc -r "${BUILD_DIR}"/src/examples/ - fi -} diff --git a/dev-libs/efl/metadata.xml b/dev-libs/efl/metadata.xml index 7d086589bd6..44684ed64be 100644 --- a/dev-libs/efl/metadata.xml +++ b/dev-libs/efl/metadata.xml @@ -15,7 +15,6 @@ <flag name="fribidi">Enable bidirectional text support</flag> <flag name="glib">Enable <pkg>dev-libs/glib</pkg> support</flag> <flag name="harfbuzz">Enable complex text shaping and layout support</flag> - <flag name="heif">Enable HEIF image loader</flag> <flag name="hyphen">Enable text hyphenation support</flag> <flag name="ibus">Enable Intelligent Input Bus</flag> <flag name="ico">Enable Ico image loader</flag> diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest index 694bc5af889..98e41ab1101 100644 --- a/dev-libs/elfutils/Manifest +++ b/dev-libs/elfutils/Manifest @@ -1,7 +1,3 @@ -DIST elfutils-0.185-patches.tar.gz 7625 BLAKE2B 92aff147aa7e45976863e8129e25ecad74ad9bca231c9223897094c5933c3b350eb525a203b492d80c1eabee3b3808b43e30bdb879d7173eac968afa2005e97c SHA512 3f253c4de97190731ac157044572912b76df80f9473f3df335f0383dad6409f987593a749c5284672cf1b20241ac3ed9d77b126f730aaf594725703b6a426906 -DIST elfutils-0.185.tar.bz2 9187627 BLAKE2B 57cfa7e4060975c4bf6170dbd354687a19a92f7069c060db1ac2fa4da5a9d34e8bddd07c7ce376b5c28b5670ad5b8c1df795164cbcfb600a44cf1db60c20c4af SHA512 34de0de1355b11740e036e0fc64f2fc063587c8eb121b19216ee5548d3f0f268d8fc3995176c47190466b9d881007cfa11a9d01e9a50e38af6119492bf8bb47f -DIST elfutils-0.186-patches.tar.gz 3323 BLAKE2B 360365597d3a08d6f4fe843d04bcddd07a44ca93dae2034615abc450517e1be21c81a55aa379c409902e134ae795b38bb7461c65cdba3934ac7ef1e4e0e53091 SHA512 e2d427be505fdc416751a1fbc3bb4f39577859d94ce43990faa83c135fe36be2ddb3a2ef0f1020cfa37060e6d43dc7b8cf3db0d07d62b31bf29cb9a4a5945ce1 -DIST elfutils-0.186.tar.bz2 9230491 BLAKE2B 49573d0a1f3519eab81d1ba3e94354cbc0935a36a94a3fdb22fe223a47b78cca8fd6e322870b0e335a809529fa6f54180b13c67936dec0242123c54ba20c9fc9 SHA512 c9180b27ec62935f18b9431268d176f6023d1bb938731d2af6e7626ae460af6608a70ba68483aa1ec7e6cb0fa0528b661ca8b68bc4f58ea8e18af527c5950c78 DIST elfutils-0.187-patches.tar.xz 2804 BLAKE2B 77cbd0666d8da3d5229baaba6605c84e7990200f39bfb72b2008eb2527e4567abd90c93c291cc0c8f3c10bbf97758ccf5877cbdae823780cf8dc97ff4ff2f932 SHA512 d056fdd6ae0e71471087af472a72384d6e73ff2d7fe1b708b5ec9f091a913c8327197660132b7a6619a0db86534715507ef67ee91691a00a591c1d24c55a99f4 -DIST elfutils-0.187.tar.bz2 9240221 BLAKE2B 00ba3efa689d137808f5f53ecda93fd006be0c18d690ce76616ed1dba442281098579fa4b9a9e91b8ba865a3de15968f0ae06703a7b50b15c48a4beb5c970a46 SHA512 a9b9e32b503b8b50a62d4e4001097ed2721d3475232a6380e6b9853bd1647aec016440c0ca7ceb950daf1144f8db9814ab43cf33cc0ebef7fc91e9e775c9e874 -DIST elfutils-0.187.tar.bz2.sig 310 BLAKE2B b23f656de269030cc3dd518a008e22e22726138a3bd619ad269166d3b9fac4b1064d98c81a02fcc6250ca1a996cc3e81322b50e7692fe23cbee92e2908f0300d SHA512 2619d8d537364386491d5e54f2add7ffa5bab21cd19c94a29249f2d9c5cc5dac53e2031a5515268ddeee4799b71115a5d98bdbcafd361aa75bcc13a1d9b70b14 +DIST elfutils-0.188.tar.bz2 9112977 BLAKE2B 6b0474f1436eaf6af73b735b9b2ddd5448ab9c03fbaa0be745a31c89ae8f15b0e21a651409c38643ca125794ce82c19d7b46db4a079f3e72cb919d643560e7a4 SHA512 585551b2d937d19d1becfc2f28935db1dd1a3d25571a62f322b70ac8da98c1a741a55d070327705df6c3e2ee026652e0b9a3c733b050a0b0ec5f2fc75d5b74b5 +DIST elfutils-0.188.tar.bz2.sig 310 BLAKE2B c8d9135cffde3b1dd337b692d5351855cf799915d3ebd553327febaac192bd2f108b3f45a6376d458e179390a1ceaf4809762cdc40ea1e05fed0214ac33ed56e SHA512 4cc8a7417d244e319a1650d71b1831660cfe41afc7c73e9c83d1f076f4013fe15247e8b4f5e12a5396d83c4f1c7663ca4be5ea42bff3dc23263f85331fd9d566 diff --git a/dev-libs/elfutils/elfutils-0.185.ebuild b/dev-libs/elfutils/elfutils-0.185.ebuild deleted file mode 100644 index 85bc9ecded8..00000000000 --- a/dev-libs/elfutils/elfutils-0.185.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2003-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic multilib-minimal - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="https://sourceware.org/elfutils/" -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.185-patches.tar.gz" - -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind zstd" - -RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] - bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) - zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) - elibc_musl? ( - dev-libs/libbsd - sys-libs/argp-standalone - sys-libs/fts-standalone - sys-libs/obstack-standalone - ) - !dev-libs/libelf -" -DEPEND="${RDEPEND} - valgrind? ( dev-util/valgrind ) -" -BDEPEND="nls? ( sys-devel/gettext ) - >=sys-devel/flex-2.5.4a - sys-devel/m4 -" -RESTRICT="!test? ( test )" - -PATCHES=( - "${WORKDIR}"/${PN}-0.185-patches/ -) - -src_prepare() { - default - - if use elibc_musl; then - eapply "${WORKDIR}"/${PN}-0.185-patches/musl/ - fi - - if ! use static-libs; then - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die - fi - # https://sourceware.org/PR23914 - sed -i 's:-Werror::' */Makefile.in || die -} - -src_configure() { - use test && append-flags -g #407135 - - # Symbol aliases are implemented as asm statements. - # Will require porting: https://gcc.gnu.org/PR48200 - filter-flags '-flto*' - - multilib-minimal_src_configure -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable nls) \ - $(use_enable threads thread-safety) \ - $(use_enable valgrind) \ - --disable-debuginfod \ - --disable-libdebuginfod \ - --program-prefix="eu-" \ - --with-zlib \ - $(use_with bzip2 bzlib) \ - $(use_with lzma) \ - $(use_with zstd) -} - -multilib_src_test() { - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ - LC_ALL="C" \ - emake check VERBOSE=1 -} - -multilib_src_install_all() { - einstalldocs - dodoc NOTES - # These build quick, and are needed for most tests, so don't - # disable their building when the USE flag is disabled. - if ! use utils; then - rm -rf "${ED}"/usr/bin || die - fi -} diff --git a/dev-libs/elfutils/elfutils-0.186.ebuild b/dev-libs/elfutils/elfutils-0.186.ebuild deleted file mode 100644 index 1c83e5eca37..00000000000 --- a/dev-libs/elfutils/elfutils-0.186.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 2003-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic multilib-minimal - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="https://sourceware.org/elfutils/" -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.186-patches.tar.gz" - -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind zstd" - -RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] - bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) - zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) - elibc_musl? ( - dev-libs/libbsd - sys-libs/argp-standalone - sys-libs/fts-standalone - sys-libs/obstack-standalone - ) - !dev-libs/libelf -" -DEPEND="${RDEPEND} - valgrind? ( dev-util/valgrind ) -" -BDEPEND="nls? ( sys-devel/gettext ) - >=sys-devel/flex-2.5.4a - sys-devel/m4 -" -RESTRICT="!test? ( test )" - -PATCHES=( - "${WORKDIR}"/${PN}-0.186-patches/ -) - -src_prepare() { - default - - if use elibc_musl; then - eapply "${WORKDIR}"/${PN}-0.186-patches/musl/ - fi - - if ! use static-libs; then - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die - fi - - # https://sourceware.org/PR23914 - sed -i 's:-Werror::' */Makefile.in || die -} - -src_configure() { - use test && append-flags -g #407135 - - # Symbol aliases are implemented as asm statements. - # Will require porting: https://gcc.gnu.org/PR48200 - filter-flags '-flto*' - - multilib-minimal_src_configure -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable nls) \ - $(use_enable threads thread-safety) \ - $(use_enable valgrind) \ - --disable-debuginfod \ - --disable-libdebuginfod \ - --program-prefix="eu-" \ - --with-zlib \ - $(use_with bzip2 bzlib) \ - $(use_with lzma) \ - $(use_with zstd) -} - -multilib_src_test() { - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ - LC_ALL="C" \ - emake check VERBOSE=1 -} - -multilib_src_install_all() { - einstalldocs - dodoc NOTES - # These build quick, and are needed for most tests, so don't - # disable their building when the USE flag is disabled. - if ! use utils; then - rm -rf "${ED}"/usr/bin || die - fi -} diff --git a/dev-libs/elfutils/elfutils-0.187.ebuild b/dev-libs/elfutils/elfutils-0.187.ebuild deleted file mode 100644 index c26702d09da..00000000000 --- a/dev-libs/elfutils/elfutils-0.187.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 2003-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/elfutils.gpg -inherit flag-o-matic multilib-minimal verify-sig - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="https://sourceware.org/elfutils/" -SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-0.187-patches.tar.xz" -SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )" - -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind zstd" - -RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] - bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) - zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) - elibc_musl? ( - dev-libs/libbsd - sys-libs/argp-standalone - sys-libs/fts-standalone - sys-libs/obstack-standalone - ) - !dev-libs/libelf" -DEPEND="${RDEPEND} - valgrind? ( dev-util/valgrind )" -BDEPEND=">=sys-devel/flex-2.5.4a - sys-devel/m4 - nls? ( sys-devel/gettext ) - verify-sig? ( sec-keys/openpgp-keys-elfutils )" -RESTRICT="!test? ( test )" - -PATCHES=( - "${WORKDIR}"/${PN}-0.187-patches/ -) - -src_unpack() { - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.sig} - fi - - default -} - -src_prepare() { - default - - if use elibc_musl; then - eapply "${WORKDIR}"/${PN}-0.187-patches/musl/ - fi - - if ! use static-libs; then - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die - fi - - # https://sourceware.org/PR23914 - sed -i 's:-Werror::' */Makefile.in || die -} - -src_configure() { - # bug #407135 - use test && append-flags -g - - # Symbol aliases are implemented as asm statements. - # Will require porting: https://gcc.gnu.org/PR48200 - filter-flags '-flto*' - - multilib-minimal_src_configure -} - -multilib_src_configure() { - # Valgrind option is just for running tests under it; dodgy under sandbox - # and indeed even w/ glibc with newer instructions. - ECONF_SOURCE="${S}" econf \ - $(use_enable nls) \ - $(use_enable threads thread-safety) \ - --disable-debuginfod \ - --disable-libdebuginfod \ - --disable-valgrind \ - --program-prefix="eu-" \ - --with-zlib \ - $(use_with bzip2 bzlib) \ - $(use_with lzma) \ - $(use_with zstd) -} - -multilib_src_test() { - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ - LC_ALL="C" \ - emake check VERBOSE=1 -} - -multilib_src_install_all() { - einstalldocs - dodoc NOTES - # These build quick, and are needed for most tests, so don't - # disable their building when the USE flag is disabled. - if ! use utils; then - rm -rf "${ED}"/usr/bin || die - fi -} diff --git a/dev-libs/elfutils/elfutils-0.187-r2.ebuild b/dev-libs/elfutils/elfutils-0.188.ebuild index 701a5bc1f9a..b47d779db74 100644 --- a/dev-libs/elfutils/elfutils-0.187-r2.ebuild +++ b/dev-libs/elfutils/elfutils-0.188.ebuild @@ -1,7 +1,7 @@ -# Copyright 2003-2022 Gentoo Authors +# Copyright 2003-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/elfutils.gpg inherit flag-o-matic multilib-minimal verify-sig @@ -14,10 +14,13 @@ SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2. LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" IUSE="bzip2 lzma nls static-libs test +utils valgrind zstd" +RESTRICT="!test? ( test )" -RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] +RDEPEND=" + !dev-libs/libelf + >=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) @@ -27,14 +30,17 @@ RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] sys-libs/fts-standalone sys-libs/obstack-standalone ) - !dev-libs/libelf" -DEPEND="${RDEPEND} - valgrind? ( dev-util/valgrind )" -BDEPEND=">=sys-devel/flex-2.5.4a +" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-util/valgrind ) +" +BDEPEND=" + >=sys-devel/flex-2.5.4a sys-devel/m4 nls? ( sys-devel/gettext ) - verify-sig? ( sec-keys/openpgp-keys-elfutils )" -RESTRICT="!test? ( test )" + verify-sig? ( sec-keys/openpgp-keys-elfutils ) +" PATCHES=( "${WORKDIR}"/${PN}-0.187-patches/ @@ -95,18 +101,24 @@ multilib_src_configure() { $(use_with zstd) ) + # Needed because sets alignment macro + is-flagq -fsanitize=address && myeconfargs+=( --enable-sanitize-address ) + is-flagq -fsanitize=undefined && myeconfargs+=( --enable-sanitize-undefined ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } multilib_src_test() { - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ + env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ LC_ALL="C" \ emake check VERBOSE=1 } multilib_src_install_all() { einstalldocs + dodoc NOTES + # These build quick, and are needed for most tests, so don't # disable their building when the USE flag is disabled. if ! use utils; then diff --git a/dev-libs/elfutils/metadata.xml b/dev-libs/elfutils/metadata.xml index a420f7e0a9e..d91314ed4c1 100644 --- a/dev-libs/elfutils/metadata.xml +++ b/dev-libs/elfutils/metadata.xml @@ -7,7 +7,6 @@ </maintainer> <use> <flag name="lzma">Support automatic decompression of LZMA-compressed files and kernel images</flag> - <flag name="threads">Build the libraries with thread safe support</flag> <flag name="utils">Install command-line utilities (all the eu-* programs)</flag> <flag name="valgrind">Add support for memory debugging using <pkg>dev-util/valgrind</pkg></flag> </use> diff --git a/dev-libs/ell/Manifest b/dev-libs/ell/Manifest index f0789e91510..543e3cec81d 100644 --- a/dev-libs/ell/Manifest +++ b/dev-libs/ell/Manifest @@ -1,3 +1,3 @@ -DIST ell-0.51.tar.xz 544744 BLAKE2B ae9cd3bc2d892109f5ae1a602f0f711b350ceb10ce2a7fcced5ce4bca63986a69c350013fc08eed29c9c626cc892b70ba997dda321d7c6c089d465850fabd5e1 SHA512 c2fd2ea9858542e23d46eba96045e1c924531b6a436401e86d838ffee39d0062923861c2898dae76ec9bfb325327c97b13799d81a2324982928b07b1fb898595 -DIST ell-0.52.tar.xz 548816 BLAKE2B 9c2ac4128fe770c1d1a1532fca8a5e36fcb620b9908177acb4fa8f35cea733374199fbe55ae78aac25ff5e37ee71044b6296a38fbbf7ff23fa867e2a338b8287 SHA512 e3cad20e42b71a7c1aae2c8bebe025f7a2bd0e594738aba96ffe8b316e216eb57dc86a5f0b0837d8141b16cae4f150c7b472c60d455feec5d7eb340b960c26d4 -DIST ell-0.53.tar.xz 550296 BLAKE2B d68952a0d899d8d346aa9e491b19fc5fbe845fd607446b4c16f09816c3d8b38f576a08cf994fdc49d794847277cdbe6483a147146ed4adaafa47c269846d78b5 SHA512 4ebe79834acabaec411bece7d81f50d7d6ea8f5d330769bbeb20596df6c2885ff584f589b6f5bbf9607e1a52158151d6940d4a1438b4aa610d42c38882366ed7 +DIST ell-0.54.tar.xz 562496 BLAKE2B d5aa705d0a72068c18b4f7f2b40c80069fc4d8a746a4c8585140da5387e06a529019b4e8eb37d4caeb9fbb948100e86f78d678ca3a3c0964d03ec368f7a4be64 SHA512 dff507ced951a4919f6fe82b276446ee6a9bfb0b3b9fe7abb2c76a3c22cdccf92f97ebcb0a476946adef5b031fd0d86f5af934b052383bdd87b5a7962b021bac +DIST ell-0.55.tar.xz 562716 BLAKE2B b49acda837e22dec8469423dd47b397471975acdb0df034f0d85163daf0eb393b9bb75b1dd81c6e8a395e271bb0b8da01939df3497983aae5b6d270a70dcd5fc SHA512 f71b7d20a37009842ae54b72463e4c34509d00f0c344ae3b39acabe784fee83027d04b3f272f51dbc519f82ab794837b9a24ca90da55b97c757725d030c1874e +DIST ell-0.56.tar.xz 563096 BLAKE2B 3be874ddddab558911d5ea4e4fb0b32c1557b8577435f39ee88d7302bbb0efbd24671f6c426bbeaba2704ba45b865320e6f2e31f6a9c4d86e82dc8ed38ebae9f SHA512 7255470331927f67ebd1297e6c524c9c244234cf00923016c77d90bad5e4e381605c70373a7be4ecf9c1e72ec85fbc1671960dd31fb |