From b118032096b3380de251b5de2466f5198fd2930a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Dec 2022 21:21:18 +0000 Subject: gentoo auto-resync : 10:12:2022 - 21:21:18 --- dev-libs/Manifest.gz | Bin 96022 -> 96022 bytes dev-libs/mpc/Manifest | 3 +- dev-libs/mpc/files/mpc-1.3.0-header.patch | 31 +++++++++++++++ dev-libs/mpc/mpc-1.3.0-r1.ebuild | 41 +++++++++++++++++++ dev-libs/mpc/mpc-1.3.0.ebuild | 37 ----------------- dev-libs/qcoro5/Manifest | 4 +- dev-libs/qcoro5/metadata.xml | 4 +- dev-libs/qcoro5/qcoro5-0.7.0.ebuild | 64 ++++++++++++++++++++++++++++++ 8 files changed, 144 insertions(+), 40 deletions(-) create mode 100644 dev-libs/mpc/files/mpc-1.3.0-header.patch create mode 100644 dev-libs/mpc/mpc-1.3.0-r1.ebuild delete mode 100644 dev-libs/mpc/mpc-1.3.0.ebuild create mode 100644 dev-libs/qcoro5/qcoro5-0.7.0.ebuild (limited to 'dev-libs') diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz index 6a7c2e39a574..4b4e363894b5 100644 Binary files a/dev-libs/Manifest.gz and b/dev-libs/Manifest.gz differ diff --git a/dev-libs/mpc/Manifest b/dev-libs/mpc/Manifest index feb840256345..13092de146b1 100644 --- a/dev-libs/mpc/Manifest +++ b/dev-libs/mpc/Manifest @@ -1,5 +1,6 @@ +AUX mpc-1.3.0-header.patch 1337 BLAKE2B 4a4f5b73bac8432f3f350961c6b1be53da097b45c82c8709cf4d13ba74bdac88468cc59208dc68bb0369d31434e691a546849caf7e30ed9eda92dda33a93bd2c SHA512 acefc37e97ae5bac38f71040d55a67ea352956efcd0b60ef2be1bb5e82cfecee0338b21ace185ef046280d3f1481a17ff22f665b4d7070725870036ed3773571 DIST mpc-1.2.1.tar.gz 838731 BLAKE2B 9cd03c6a71839e4cdb3c1f18d718cc4d3097c3f8ec307a5c756bd5df27c68aa013755156b3b156efee1acabfee2269602c6a3a358092ef0d522271c9c56c133d SHA512 3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee DIST mpc-1.3.0.tar.gz 773441 BLAKE2B b9e2f4cda2457b1e885e4099daaf55a4c226291ec60097e40835f6e311c297947fe5cfd6ce61f80eecfbc8d374923422c4050a10399b26b23c12ab0f3f53a0f5 SHA512 9c18b24f7542dc1dc5e10cf58fd242e73d79a9dc3619c3f08d52aed75ad0e7d9e2ba2c46857717c8b921b084af2efc8c0d2d7173081af764b81c24a8971ddd9a EBUILD mpc-1.2.1.ebuild 939 BLAKE2B 7af59b1cc4ede3496d708bf774dba385dd88ae88d1935f51b342f93f7cd02686687176f6a5723c73fbcbbc945b8ec07bf38b43ab94082c9fca41a62b01e9901c SHA512 59e817cb235cce2ada39eb88c9856e329325833e898ca6e5a779c7cebb4b1b9ba0d9ad374e39667b9056ee665768651c493db4c3c2e902ec176a59384828f211 -EBUILD mpc-1.3.0.ebuild 1083 BLAKE2B a00bf2001c3a52e9bdbe05acd38bfdb53ba83454d76757d9356e2cf1a196e424c01873dad8a5e5334cfccfebf83d6325c64acbd32cee88f2d09c6b59923c82c2 SHA512 d38cd71469e45a15608cba00d9268770da61b373f573f6b2c9b9f58d163984f3cdec82eb5f7ba9d25f29eda9855c8fa8fc47c1b726a59122093fdb25d65c2863 +EBUILD mpc-1.3.0-r1.ebuild 1129 BLAKE2B 817e68734b909077924852d44632fa255e8d546ba1a1c95cf55da70b0dde0d6950d42aa87d55f3350fee42b4a53d8d7e149f05182b38e79e487e9946065ae758 SHA512 e527a06a709da2e1ca817b614646f7040e0a3684712bafec63ea45653dd5a4bc70830d5a4b21b323a604f04a6c978848505a46b3e5f94db18fe181153736d7c8 MISC metadata.xml 262 BLAKE2B fe330d67755784d14f5c5d664d7127d3cdb9edfab55b907ae3632f434d86323604f5095e1c1a9fbd169ae7a4cbb38f359e55f75047531786247c0674a4a53715 SHA512 3bcaca4e730edeed06fed73e79a5ce0a3358174672735ea4b27240c6c421ac9c33bc2b63a31e596fe1bbb6b1816c16cbc7ef4f258ca906ba04ea7db4aedc86b9 diff --git a/dev-libs/mpc/files/mpc-1.3.0-header.patch b/dev-libs/mpc/files/mpc-1.3.0-header.patch new file mode 100644 index 000000000000..80f1d113f90c --- /dev/null +++ b/dev-libs/mpc/files/mpc-1.3.0-header.patch @@ -0,0 +1,31 @@ +https://gitlab.inria.fr/mpc/mpc/-/commit/e944aa454e60cbff8ab4e8c70dd974083398378f +https://sympa.inria.fr/sympa/arc/mpc-discuss/2022-12/msg00034.html + +From e944aa454e60cbff8ab4e8c70dd974083398378f Mon Sep 17 00:00:00 2001 +From: Paul Zimmermann +Date: Sat, 10 Dec 2022 08:47:51 +0100 +Subject: [PATCH] functions with FILE arguments should be defined only when + stdio.h is included + +--- a/src/mpc.h ++++ b/src/mpc.h +@@ -270,6 +270,7 @@ __MPC_DECLSPEC long double _Complex mpc_get_ldc (mpc_srcptr, mpc_rnd_t); + __MPC_DECLSPEC int mpc_inp_str (mpc_ptr, FILE *, size_t *, int, mpc_rnd_t); + __MPC_DECLSPEC size_t mpc_out_str (FILE *, int, size_t, mpc_srcptr, mpc_rnd_t); + __MPC_DECLSPEC void mpcb_out_str (FILE *f, mpcb_srcptr); ++__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r); + #endif + + __MPC_DECLSPEC int mpcr_inf_p (mpcr_srcptr r); +@@ -284,7 +285,6 @@ __MPC_DECLSPEC void mpcr_set_ui64_2si64 (mpcr_ptr r, uint64_t mant, + int64_t exp); + __MPC_DECLSPEC void mpcr_max (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t); + __MPC_DECLSPEC int64_t mpcr_get_exp (mpcr_srcptr r); +-__MPC_DECLSPEC void mpcr_out_str (FILE *f, mpcr_srcptr r); + __MPC_DECLSPEC void mpcr_mul (mpcr_ptr r, mpcr_srcptr s, mpcr_srcptr t); + __MPC_DECLSPEC void mpcr_mul_2ui (mpcr_ptr r, mpcr_srcptr s, + unsigned long int e); +-- +GitLab + + diff --git a/dev-libs/mpc/mpc-1.3.0-r1.ebuild b/dev-libs/mpc/mpc-1.3.0-r1.ebuild new file mode 100644 index 000000000000..58311b7a2ead --- /dev/null +++ b/dev-libs/mpc/mpc-1.3.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding" +HOMEPAGE="https://www.multiprecision.org/mpc/ https://gitlab.inria.fr/mpc/mpc" + +if [[ ${PV} == *_rc* ]] ; then + SRC_URI="https://www.multiprecision.org/downloads/${P/_}.tar.gz" + S="${WORKDIR}"/${P/_} +else + SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~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" +fi + +LICENSE="LGPL-2.1" +SLOT="0/3" # libmpc.so.3 +IUSE="static-libs" + +DEPEND=" + >=dev-libs/gmp-5.0.0:=[${MULTILIB_USEDEP},static-libs?] + >=dev-libs/mpfr-4.1.0:=[${MULTILIB_USEDEP},static-libs?] +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-header.patch +) + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/mpc/mpc-1.3.0.ebuild b/dev-libs/mpc/mpc-1.3.0.ebuild deleted file mode 100644 index aa330fda2d8a..000000000000 --- a/dev-libs/mpc/mpc-1.3.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib-minimal - -DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding" -HOMEPAGE="https://www.multiprecision.org/mpc/ https://gitlab.inria.fr/mpc/mpc" - -if [[ ${PV} == *_rc* ]] ; then - SRC_URI="https://www.multiprecision.org/downloads/${P/_}.tar.gz" - S="${WORKDIR}"/${P/_} -else - SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~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" -fi - -LICENSE="LGPL-2.1" -SLOT="0/3" # libmpc.so.3 -IUSE="static-libs" - -DEPEND=" - >=dev-libs/gmp-5.0.0:=[${MULTILIB_USEDEP},static-libs?] - >=dev-libs/mpfr-4.1.0:=[${MULTILIB_USEDEP},static-libs?] -" -RDEPEND="${DEPEND}" - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf $(use_enable static-libs static) -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/qcoro5/Manifest b/dev-libs/qcoro5/Manifest index 3036ded11304..d540bfb74665 100644 --- a/dev-libs/qcoro5/Manifest +++ b/dev-libs/qcoro5/Manifest @@ -1,3 +1,5 @@ DIST qcoro5-0.6.0.tar.gz 122618 BLAKE2B 1fbd97d8b9897e9dc7408b2bf667064a3ec6326778c44472689e180af9eedc524236c5104b11a117fa8650f042a4ee3bd2b165e44385a829e8638c5e98d293a8 SHA512 e2e0219156a5ba693c935323c45c7414ce0f8d1773986ca63682812678e2b35146c76fa033ef791facfb57fa67fb96727df75ce6ecdae1e232be42f376973a8d +DIST qcoro5-0.7.0.tar.gz 135419 BLAKE2B 8f593e76e960349090cea649848c6b3d422125f1bd292ec79026d0cdab7f7e7de77ec409d442c624efe2683a24dd7715ba108f400e154813b6b3da3eb0b8fc09 SHA512 cd49f957d30b63ee70080425c1ed8ffe05c09f7d5e3c6f043c2a9e66eee9a537c9bd6f12ea54fa9fa53871c5d6e5c4502e2c4a10c30eb3bf017505ba875838ba EBUILD qcoro5-0.6.0-r1.ebuild 1260 BLAKE2B 7e75016a4ae5baf2fa060e539cf3878ede1157c28359f519819e2a42c13cd6de013718b4afcf113a995a137d636a9c83662e92f88a9d421e1904b592409a4467 SHA512 246c31b2070c7c3d289c085d5d7bb686eb4d90532b6f1e5a843aa7bb24c5ba9775489dc41923ebcefeed613868be84d52b6b182c04797e868211ba344e701709 -MISC metadata.xml 483 BLAKE2B cd6ca8acffb789b49e66d28dae68abadbd50ccb08bd229840481f18b4dcdda586b52ac975a1b826b85672ee4a6759d8cbd285c9c7ed91a1b60e341f441ad0455 SHA512 2bed7eca8178dfd4c6b7c30417ddfde30250926aacb7718e1f81c35a29fff079ea2dbd4c2f3270a339ee5d3fb59ddde875dfb0dc41be9149cf31e88e0f00c249 +EBUILD qcoro5-0.7.0.ebuild 1364 BLAKE2B e5a40a2aeedbd93580888a25c8f5c132a16c607ea3cfde1c5fa0370aba1122d3ea33e89edfb7d21bdb080d09b3dfb8ac38acb3e96c507944d21c4a703f8e118a SHA512 360d05819d51c5c18880196f844927b631de50b1f3dbfd7e0d8cf06fe56609c51366dd8cd24d6f9de07a0fd28ab0f610d4cab2afa5f438f4a80aa3cdbc738e70 +MISC metadata.xml 636 BLAKE2B 6468dbcb6beab2fa3a4843e45668d89b587aed9f2014efc2bc7a314cc2cbb082095ea23e443004cb3ed0b1f9be92339535eacdc9fa49621a1c75cae6dd37a19e SHA512 b868c0ba6b2bd078b8805fe5d68fd661e269f9b1d22a0ac662e823c8f6c4aecc3a176a38319326e8747f03a2edaa4254386fb9b0850df844ec818c46dec18693 diff --git a/dev-libs/qcoro5/metadata.xml b/dev-libs/qcoro5/metadata.xml index 4c518fdf8940..5f4464a4d882 100644 --- a/dev-libs/qcoro5/metadata.xml +++ b/dev-libs/qcoro5/metadata.xml @@ -6,10 +6,12 @@ Gentoo KDE Project - https://bugs.kde.org/ + https://github.com/danvratil/qcoro/issues + danvratil/qcoro Build dev-qt/qtnetwork support + Enable QML/QtQuick support via dev-qt/qtdeclarative Build dev-qt/qtwebsockets support diff --git a/dev-libs/qcoro5/qcoro5-0.7.0.ebuild b/dev-libs/qcoro5/qcoro5-0.7.0.ebuild new file mode 100644 index 000000000000..907417b1c89f --- /dev/null +++ b/dev-libs/qcoro5/qcoro5-0.7.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/danvratil/${PN/5/}" +else + SRC_URI="https://github.com/danvratil/${PN/5/}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P/5/}" + KEYWORDS="~amd64 ~arm64 ~ppc64" +fi + +DESCRIPTION="C++ Coroutine Library for Qt5" +HOMEPAGE="https://qcoro.dvratil.cz/ https://github.com/danvratil/qcoro" + +LICENSE="MIT" +SLOT="0" +IUSE="dbus examples +network qml test websockets" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtcore:5 + dbus? ( dev-qt/qtdbus:5 ) + network? ( dev-qt/qtnetwork:5 ) + qml? ( dev-qt/qtdeclarative:5= ) + websockets? ( dev-qt/qtwebsockets:5 ) +" +DEPEND="${RDEPEND} + examples? ( + dev-qt/qtconcurrent:5 + dev-qt/qtwidgets:5 + ) + test? ( + dev-qt/qtconcurrent:5 + dev-qt/qttest:5 + ) +" + +src_configure() { + local mycmakeargs=( + -DUSE_QT_VERSION=5 + -DQCORO_BUILD_EXAMPLES=$(usex examples) + -DQCORO_WITH_QTDBUS=$(usex dbus) + -DQCORO_WITH_QTNETWORK=$(usex network) + -DQCORO_WITH_QML=$(usex qml) + -DQCORO_WITH_QTQUICK=$(usex qml) + -DBUILD_TESTING=$(usex test) + -DQCORO_WITH_QTWEBSOCKETS=$(usex websockets) + ) + cmake_src_configure +} + +src_install() { + if use examples; then + docinto examples + dodoc -r examples/* + fi + cmake_src_install +} -- cgit v1.2.3