From d39430b96ad12b39a0ce35745f3d45d980d1b328 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 Mar 2023 00:38:34 +0000 Subject: gentoo auto-resync : 21:03:2023 - 00:38:34 --- dev-libs/Manifest.gz | Bin 96256 -> 96418 bytes dev-libs/apr/Manifest | 2 + dev-libs/apr/apr-1.7.2-r1.ebuild | 170 +++++++++++++++++++++++ dev-libs/apr/files/apr-1.7.2-autoconf-2.72.patch | 23 +++ dev-libs/capstone/Manifest | 2 +- dev-libs/capstone/capstone-5.0_rc2-r3.ebuild | 2 +- dev-libs/libdex/Manifest | 3 + dev-libs/libdex/libdex-0.2.0.ebuild | 60 ++++++++ dev-libs/libdex/metadata.xml | 22 +++ 9 files changed, 282 insertions(+), 2 deletions(-) create mode 100644 dev-libs/apr/apr-1.7.2-r1.ebuild create mode 100644 dev-libs/apr/files/apr-1.7.2-autoconf-2.72.patch create mode 100644 dev-libs/libdex/Manifest create mode 100644 dev-libs/libdex/libdex-0.2.0.ebuild create mode 100644 dev-libs/libdex/metadata.xml (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index f7e744d6686b..c4fa7d812400 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/apr/Manifest b/dev-libs/apr/Manifest index 69f567d76898..6acd5871d9bf 100644 --- a/dev-libs/apr/Manifest +++ b/dev-libs/apr/Manifest @@ -1,10 +1,12 @@ AUX apr-1.5.0-mint.patch 872 BLAKE2B dda2941cbed87117a8a6c488bd8045894686aef0ba219ff489f67dd03b58fb07a05f9e67c54cdff330c65e579c41c992446a465104661bbacbb2525a5b9518eb SHA512 ba71f17ef9f61a8379139f05ca17eb583ad34cbc3ebf5c4f59d011662db6b5c963da5c466c093c3eb98372299d8f202d927a05b52cc7515270ac52fe44ec6daf AUX apr-1.6.3-skip-known-failing-tests.patch 512 BLAKE2B 29607bce9a35853d824f8872557f361f3d5ffa0f2c7cd35e06cbf4d449e54f1b12978c0220b8ce4ae5d590ee9e04b5cd77af22876e3880deef115efbeb5a1dcc SHA512 ac097d28d5ae0b2437522da0578ff8bd049190d8df576e4e5298426f827b2bf69891e4f33bd1ffaf1a3c53143927e71f10d8362567121faa03cdf908d4fbc6c2 +AUX apr-1.7.2-autoconf-2.72.patch 570 BLAKE2B 6cfe6c2b00c3d0ac1f5776d546366355be3139a06c0b6229ee2830f1c8c019b16701f9404fda0071c085161461476271a7930c95ec0b6501c4a2df23a371b3fa SHA512 b44805e747c441407b01ae26e06eb1e16f4e5334f097e9eab3c41a4ed39978f483065eadc9a4514a11bf246080ea120f9b594c712d282c2be638a5eb01dc2fbb AUX apr-1.7.2-fix-pkgconfig-libs.patch 963 BLAKE2B fb36bb31050286064e17c2a9c9f3d48ce9c0e42f8ee6cfcfa45ec79ad57670acf953f273d83419d3b053a38d9786600a240b8b082615e0e1fe7f15dcd2793e6c SHA512 0d8bb84b71f6f9f590afc15a48010383ef6b5b84b2b64fcbb9489adefa32137a1af7c0b7b216dd18f9c04b92492772f2d9f9564b9fbfbffc019bed8e43818cfe AUX apr-1.7.2-libtool.patch 517 BLAKE2B da77ee1d94bc2bd46d4ef97f18f018fbcc67cceb17162787f0e2f02e7ae205f80121166551a90b62e24d77c5f4313a2fa68b90dca713923b1a78e649bcca70da SHA512 4e09e88bd2d9e5f25a1edc52bdb632b0e73b28d971a9b0974bdcff9f8217ef2abe5c3ab3ef8a592e56c272bf928569e5a9be78bd3124afafb5954b6b8ee6d0eb AUX apr-1.7.2-respect-flags.patch 652 BLAKE2B e9cef7a8eff52a0d1799c261b377026849d8b65770a9e6b1d93f936d5d6533635827d6bdada9cbfdd8f274b191234d4b07ec7afa640383cac965562153c54164 SHA512 8305861c1196bbc5262bdc5d9fe87ef7d5d38d827d829455db2007036c70d749901bc3d2b63570528a70dfb3ff6171e78b54ceaea8c9646e4aa53c173440e70b AUX apr-1.7.2-sysroot.patch 1399 BLAKE2B 921694b66e2a0fe687ec9acb7458b1c860c12665e553aba4e043d56732bc0adc944c7bdd609dd001fcf2c9716b30989a47207506d3ad9c0141174848ce6ad70c SHA512 0dc3cb41fa8ab909c14e3650f755a061b5a0fab052b6b94c16678af58013841614ff9a407c82764cd3435db5b1d5d5a5ce41bb1b430dae0b272cffc438e49003 AUX config.layout.patch 745 BLAKE2B 9877db3d76339b70f2bd354d118eff0df4d63bc81e4af9e65169c1c5862c3fa3532cc02df8e084b540e7a81091c3b16d50388c6234cba469b15fff896d0428fc SHA512 3a87e718859c8f95793f828b764d240907d65c21fe2c99143815ab835f8b657154092c4ad496e86d79490bd85ef03d394d3acb57a15186f2f06a518b32d77fdf DIST apr-1.7.2.tar.bz2 890218 BLAKE2B a17ee4311a33acee0bdeb9e5225a198f9dec1b2e0267a742080c77d5342e5052392a5a2100a0ba85f5a192b8679838a7002d4c9a12aa5bdd7921eff025b75d15 SHA512 0a3a27ccc97bbe4865c1bc0b803012e3da6d5b1f17d4fb0da6f5f58eec01f6d2ae1f25e52896ea5f9c5ac04c5fddcfd1ac606b301c322cf40d5c4d4ce0a1b76e +EBUILD apr-1.7.2-r1.ebuild 4629 BLAKE2B 345d5ad2ff4b99ebb95a69b5c6ac40cb0614d38ad50931d8c51b4179f9f335b9eeeb58ce673649252451988109d94af508ea8f94db320df772eaee2ccafdcd79 SHA512 a8eb336f494b349138f70e3ff3ae62689f68e7ff10d7ca8b8fed32c035300e6548f503ee889be6c2990952b438d8c4119aec65093788b1a8012f70aa15e50f32 EBUILD apr-1.7.2.ebuild 4575 BLAKE2B a0bb685a7235819f77e0239120375fe335c86b9c99d258a4aefa999bbeae5ba41807bf6797267593ea5a19e1f7a3181df4328d04b87088fe4eb7f8533fc18f98 SHA512 189c3ac5aa060eb2d65013ae73a91498dd3a7a861d7434c007f24f31e2b895530b9f3d7a85f76da482b20870d0a505f454f2105d53f06159fb491cc8cc4227e1 MISC metadata.xml 487 BLAKE2B 826e5b4b8b87d0077f1b2063ae1c808447987ddea524eeb4cdd17d60bea8b3919a2a714cdb0706cf758dfcf86109b702399c04dd054872d8465e1f6b3469c795 SHA512 9e8fbae61974080394151944ca7e2fec92a6c99b2c2fe75dc2486dced890933ac4694c8ac2984504bbfe42706bed6895b7d5fe9f9a9ced96c5c0ead8016f4366 diff --git a/dev-libs/apr/apr-1.7.2-r1.ebuild b/dev-libs/apr/apr-1.7.2-r1.ebuild new file mode 100644 index 000000000000..9ab51b0ca62a --- /dev/null +++ b/dev-libs/apr/apr-1.7.2-r1.ebuild @@ -0,0 +1,170 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools 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 old-kernel selinux static-libs +urandom" + +# See bug #815265 for libcrypt dependency +DEPEND=" + virtual/libcrypt:= + elibc_glibc? ( >=sys-apps/util-linux-2.16 ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-base-policy ) +" +BDEPEND=" + >=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.6.3-skip-known-failing-tests.patch + "${FILESDIR}"/${PN}-1.7.2-libtool.patch + "${FILESDIR}"/${PN}-1.7.2-sysroot.patch # bug #385775 + "${FILESDIR}"/${PN}-1.7.2-fix-pkgconfig-libs.patch + "${FILESDIR}"/${PN}-1.7.2-respect-flags.patch + "${FILESDIR}"/${PN}-1.7.2-autoconf-2.72.patch + "${FILESDIR}"/config.layout.patch +) + +src_prepare() { + default + + mv configure.in configure.ac || die + AT_M4DIR="build" eautoreconf +} + +src_configure() { + tc-export AS CC CPP + + 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 + ) + + tc-is-static-only && myconf+=( --disable-dso ) + + if use old-kernel; 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_mmap__dev_zero="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, apr detects this. + else + myconf+=( --with-devrandom=/dev/random ) + fi + + # shl_load does not search runpath, but hpux11 supports dlopen + if [[ ${CHOST} == *-hpux11* ]]; then + myconf+=( --enable-dso=dlfcn ) + elif [[ ${CHOST} == *-solaris2.10 ]]; then + local atomic_contents=$(<$([[ ${CHOST} != ${CBUILD} ]] && echo "${EPREFIX}/usr/${CHOST}")/usr/include/atomic.h) + + case "${atomic_contents}" in + *atomic_cas_ptr*) + ;; + *) + local patch_id=$([[ ${CHOST} == sparc* ]] && echo 118884 || echo 118885) + + elog "You do not have Solaris Patch ID ${patch_id} (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 all $(usev doc dox) +} + +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/files/apr-1.7.2-autoconf-2.72.patch b/dev-libs/apr/files/apr-1.7.2-autoconf-2.72.patch new file mode 100644 index 000000000000..49d3fd3f1638 --- /dev/null +++ b/dev-libs/apr/files/apr-1.7.2-autoconf-2.72.patch @@ -0,0 +1,23 @@ +https://src.fedoraproject.org/rpms/apr/raw/rawhide/f/apr-1.7.2-autoconf.patch + +Similar to https://github.com/apache/apr/commit/a15958a37a06f71c42c690278f9c958b93b7ee20. +--- a/build/apr_common.m4 ++++ b/build/apr_common.m4 +@@ -468,15 +468,8 @@ AC_DEFUN([APR_TRY_COMPILE_NO_WARNING], + fi + AC_COMPILE_IFELSE( + [AC_LANG_SOURCE( +- [ +-#ifndef PACKAGE_NAME +-#include "confdefs.h" +-#endif +- ] +- [[$1]] +- [int main(int argc, const char *const *argv) {] ++ [[$1]], + [[$2]] +- [ return 0; }] + )], [CFLAGS=$apr_save_CFLAGS + $3], [CFLAGS=$apr_save_CFLAGS + $4]) + diff --git a/dev-libs/capstone/Manifest b/dev-libs/capstone/Manifest index dcd5962c9197..72505c9bc22c 100644 --- a/dev-libs/capstone/Manifest +++ b/dev-libs/capstone/Manifest @@ -5,6 +5,6 @@ DIST capstone-4.0.2.tar.gz 3439542 BLAKE2B 435729a8fef2dce6495635352101b3befe563 DIST capstone-5.0_rc2.tar.gz 5761725 BLAKE2B 2f5074fe1881309ee2d36cdfeba10bacefbac5c994d42dd3b08c07fe8b70e298d9d18e9c061dad1a54c6368bdc296fd02f30d77f78b1ae05074764e7041aef2c SHA512 fdc4992399a2add960b12ff2495087a97fa66dce85e87375ba9d19e02b7ea5fb16a7efa93d839c2693378f6367efc9df68f192584ba624443d3b0b197d4dcd9a EBUILD capstone-4.0.2-r2.ebuild 1536 BLAKE2B ff48fcc776ee396d790f6c1a52a9059fc1db4650b1f73ef5b2de2caa0ed51c662ffef2d53c0008d7a3abb5261dd7ae22fbc0f214882b33e674ab7e64c2929831 SHA512 6b5913274cf1d6c9d6deb0972a2e2d3532b81e52acc88191560effa22bfc8df3374d09ea2ffa5f6ca804c292e671d523793dd937c7e658fe03cbc53ff331f3f7 EBUILD capstone-5.0_rc2-r2.ebuild 1530 BLAKE2B 3cd7be6305deefb6c8c2b404119f9a139856c3156c255bac229bb0b2817a694f47e260a7e6e1385518f426e8ec10a2f64232039f00dfac40f7c0bfec88847ee9 SHA512 ff56bf0e531e1284963d79a5917fd3cc15c269f5986d5adba51fb3476abd629b85a390649dd011f44f3344028813a8349b0d27a4274c6d1ae86794a38eda05b0 -EBUILD capstone-5.0_rc2-r3.ebuild 1826 BLAKE2B e99b0f622f31504520faef815338404666afa5bce9483be742b09d8f0029dc4e15f56e81db85bd4c9d5eeeb0f864e9f655efe2f7d2ec56efe340af4260f47cd9 SHA512 1f1bee3d00ece564ec58e5b9ce6b6138e6cd42482c5d76e3a56c8a2a5f530e9c156a36b3119be5e34e8bc3aeb42ad2b460b225392a46a3247d9b05163b04f454 +EBUILD capstone-5.0_rc2-r3.ebuild 1824 BLAKE2B 57736dfd1a9b27e17bbb50ec109055cfb4204d5f38663c5810dd050ab945da758a5a3c9e19f0e7570fb0684f3ac1949e04684dd91e122d11d244abaf240f7a5b SHA512 5ba56034e254ff783ea48cc3e26145a9360b0d8f0917d3699ecbfe2c3c93c3c1dd9c2f543303d00939616e84edfdcd72d28f76e3d6c73c0ee6674dd0b473d6b3 EBUILD capstone-9999.ebuild 1724 BLAKE2B 0a93e9a68ce80099c5b8ddf8fefd6254720138b24492bbe0825b9d14db1ada58a92040c8f669bca7861aa7904a1f9a0f10e265d336e6ed6d5354e7b9fdc10a48 SHA512 594cb2f8f049cdb0e1eec2457d19c31a580957a8bbc06cd6d2ca59d4fc07a7084e8d9dd653eef452bab064e70f9e0e3b06f291c87d8a7503d2aad458fdcf7581 MISC metadata.xml 484 BLAKE2B 32c39bf06443ce4ca18191a4c9626cf517d5bd4f837c179e6186a68a0053217bf41d61d2c4d46c9792b1974879d22b36e4a02fa461a1b085acf5c4406bde4891 SHA512 f06dcd3133982f72cf21c5bb3d9a34207d7083233b5e70856f6a1dab60ef361cf1432659af30ea6b90fcb38cfdaec49f0792623ef841e136bc33cb5e1c40d1cf diff --git a/dev-libs/capstone/capstone-5.0_rc2-r3.ebuild b/dev-libs/capstone/capstone-5.0_rc2-r3.ebuild index 52e6eaa6617a..c2a407fa7ca8 100644 --- a/dev-libs/capstone/capstone-5.0_rc2-r3.ebuild +++ b/dev-libs/capstone/capstone-5.0_rc2-r3.ebuild @@ -19,7 +19,7 @@ if [[ ${PV} == 9999 ]]; then else SRC_URI="https://github.com/capstone-engine/capstone/archive/${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" S=${WORKDIR}/${P/_rc/-rc} - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv x86" fi LICENSE="BSD" diff --git a/dev-libs/libdex/Manifest b/dev-libs/libdex/Manifest new file mode 100644 index 000000000000..db4c2ab1fc0e --- /dev/null +++ b/dev-libs/libdex/Manifest @@ -0,0 +1,3 @@ +DIST libdex-0.2.0.tar.xz 91648 BLAKE2B 258193b29082024cce30d5e20903f1ba6a3c8e566652d341845178797126796fcc1cf628636de02ba9776cb9d8ff5d38c24f10f269fcd9acbc0cdbb1c0918d8b SHA512 db54fa974af97e59e7a21c19be73db8fec6565377ce313a3532435845d3571216d6617f9a8db500019390d85677ca6f30be3f9a36c60240c8130ae0834826a65 +EBUILD libdex-0.2.0.ebuild 1196 BLAKE2B 3e57c9a99a587f694750bad331a817591f0a62f97ba6a2f5c2c5aa07070abacbad0ab445b748126ac2940a5dcf90c0f65f4f155d78316b189fa31cd2ea5b9813 SHA512 9ac43c58013f6f2a66b7bcc7131d7cda25f1c21351fcdfb23d4912c284474a730a6876fa3809a1c0f9d1d5184def8d025c74ffb9f2787cddfce7faa61bdfb836 +MISC metadata.xml 887 BLAKE2B 981f85ed363974888b20a6a1c7d24a22e47502af784bbe983a15359546afba333fe347e6aab5e5f5bef90a6995a4216702a8dde7ad760b9e730f5113076d38ee SHA512 eea5374f3eb48ee5770cc0d6d9133f405b058e74714d29f973c46ad912ca96282eb7f584b6b396c9aa72eae345d45461bcf8d376d93cf5370f04ac45fbab7e47 diff --git a/dev-libs/libdex/libdex-0.2.0.ebuild b/dev-libs/libdex/libdex-0.2.0.ebuild new file mode 100644 index 000000000000..f0d86d8a55dd --- /dev/null +++ b/dev-libs/libdex/libdex-0.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson vala + +DESCRIPTION="Deferred Execution library for GNOME and GTK" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libdex" + +LICENSE="LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" + +IUSE="gtk-doc +introspection sysprof test vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.68:2 + >=sys-libs/liburing-0.7:= + introspection? ( dev-libs/gobject-introspection:= ) + sysprof? ( dev-util/sysprof-capture:4 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + vala? ( $(vala_depend) ) + dev-util/glib-utils + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +src_prepare() { + default + use vala && vala_setup +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc docs) + -Dexamples=false + $(meson_use vala vapi) + $(meson_feature introspection) + -Dsysprof=false + $(meson_use test tests) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}-1 "${ED}"/usr/share/gtk-doc/html/ || die + fi +} diff --git a/dev-libs/libdex/metadata.xml b/dev-libs/libdex/metadata.xml new file mode 100644 index 000000000000..64509955e2ba --- /dev/null +++ b/dev-libs/libdex/metadata.xml @@ -0,0 +1,22 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + Dex is a library supporting "Deferred Execution" with the explicit + goal of integrating with GNOME and GTK-based applications. + It provides primatives for supporting futures in a variety of ways + with both read-only and writable views. Additionally, integration + with existing asynchronous-based APIs is provided through the use + of wrapper promises. + + + GNOME/libdex + + + Enable profiling data capture support using dev-util/sysprof-capture + + -- cgit v1.2.3