[gentoo-commits] repo/gentoo:master commit in: dev-cpp/asio/, dev-cpp/asio/files/
commit: bb540883769f6387fa4bf7e69392b60145076767 Author: Alexey Sokolov asokolov org> AuthorDate: Thu Apr 4 20:59:14 2024 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jun 7 13:15:06 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb540883 dev-cpp/asio: add 1.30.1 Removed IUSE=doc because docs are only available in tarball published on sourcefourge, not in auto tarballs from github; but versions after 1.28.1 are not available on sourcefourge, but only as git tags. Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/36111 Signed-off-by: Joonas Niilola gentoo.org> dev-cpp/asio/Manifest | 1 + dev-cpp/asio/asio-1.30.1.ebuild| 58 ++ dev-cpp/asio/files/asio-1.30.1-pkgconfig.patch | 24 +++ 3 files changed, 83 insertions(+) diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index 2a55d1eb389a..a58dd01a51e8 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1 +1,2 @@ +DIST asio-1-30-1.tar.gz 2842718 BLAKE2B b99f6e1ab03c4da9bc802e04d66b46ac2374f7da9f65dd98dd3da3cf1cf507548ae2645343a63378ab91d665fc6e2efe5c5262f33757e851973534e23291abb1 SHA512 6b5f41479e20500dff6c535d8e3b096e11815784923bb4c0f68f69be59c80d7ad99c7e0380a1de4dd350e6cc6a79315d4645378a9b8d70d9f8d28a17f1cc68af DIST asio-1.28.1.tar.bz2 3383257 BLAKE2B 9d98152a6cf8b0e2a807275092b23f6198d8175fd7260499be7561cea2e6723c1a8478107315b7163cdc31d6eecab552550393ab3b1cfb686dcb4157d1e91fe4 SHA512 fadd7748675743ba9110f873bf57f2400a5c9c0dc03c1d6cd7f0988bc70ccbbff6cb6140f5dd236d2d874fc82a6f216406e8892808e915aae5119fe9d95743de diff --git a/dev-cpp/asio/asio-1.30.1.ebuild b/dev-cpp/asio/asio-1.30.1.ebuild new file mode 100644 index ..064e9c09bbe5 --- /dev/null +++ b/dev-cpp/asio/asio-1.30.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Asynchronous Network Library" +HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio; +SRC_URI="https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-${PV//./-}.tar.gz; +S="${WORKDIR}/asio-asio-${PV//./-}/asio" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-libs/boost + dev-libs/openssl + ) +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/asio-1.30.1-pkgconfig.patch" +) + +src_prepare() { + default + + eautoreconf + + if ! use test; then + # Don't build nor install any examples or unittests + # since we don't have a script to run them + cat > src/Makefile.in <<-EOF || die + all: + + install: + + clean: + EOF + fi +} + +src_install() { + default + + if use examples; then + # Get rid of the object files + emake clean + dodoc -r src/examples + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/dev-cpp/asio/files/asio-1.30.1-pkgconfig.patch b/dev-cpp/asio/files/asio-1.30.1-pkgconfig.patch new file mode 100644 index ..c58b2a9df86d --- /dev/null +++ b/dev-cpp/asio/files/asio-1.30.1-pkgconfig.patch @@ -0,0 +1,24 @@ +Install .pc file to /usr/share instead of /usr/lib because there are no .so files + +--- a/Makefile.am b/Makefile.am +@@ -1,7 +1,6 @@ + AUTOMAKE_OPTIONS = foreign dist-bzip2 dist-zip + +-pkgconfig_DATA = asio.pc +-pkgconfigdir = $(libdir)/pkgconfig ++noarch_pkgconfig_DATA = asio.pc + + SUBDIRS = include src + +--- a/configure.ac b/configure.ac +@@ -8,7 +8,7 @@ AM_PROG_CC_C_O + AC_PROG_CXX + AC_LANG(C++) + AC_PROG_RANLIB +-PKG_INSTALLDIR ++PKG_NOARCH_INSTALLDIR + + AC_DEFINE(_REENTRANT, [1], [Define this]) +
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/asio/, dev-cpp/asio/files/
commit: f31f3ca73aa13f79a6a5bf2f71d93aa693010616 Author: Alexey Sokolov asokolov org> AuthorDate: Sun Sep 25 07:46:24 2022 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Tue Sep 27 14:00:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f31f3ca7 dev-cpp/asio: drop 1.22.1 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/27433 Signed-off-by: Andrew Ammerlaan gentoo.org> dev-cpp/asio/Manifest| 1 - dev-cpp/asio/asio-1.22.1.ebuild | 63 dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch | 29 - 3 files changed, 93 deletions(-) diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index e0e78768d961..fb0187b3051b 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,3 +1,2 @@ DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09 -DIST asio-1.22.1.tar.bz2 3085878 BLAKE2B 07326a2273d5b8c0aef8402c92a6a88abbcb961d2a029596d58735d6626279e6d4d591371cc368a41fac1d0161b8786174ba71153e73aac38fa81a83f5f5be86 SHA512 be4a066d9f73662f68a771f63a59fc2e16e8ee1ae1ca6c581e09922514029e58c479edfc0517ee6b29a1fd377d202a2a6eb80d9d17f6e957233c11331f04a479 DIST asio-1.22.2.tar.bz2 3077065 BLAKE2B b3660cf3c72d2d7ae122f89e8afb967cb89cc1de3f4859d481bbb8250cad6f03f187a4deb9e500a6231abdc5c9e727ef910c59d7c8b75bc6ba0f12ef94f05252 SHA512 93ea423cec8d13e525bf654291b6edd685f079c2af2da5a6f44dfe0b913e0f3df0a4770f1240ff760bae7842eee8ee3a13bed621c2ee1499abc76b100ebe3885 diff --git a/dev-cpp/asio/asio-1.22.1.ebuild b/dev-cpp/asio/asio-1.22.1.ebuild deleted file mode 100644 index f100d6fc13a9.. --- a/dev-cpp/asio/asio-1.22.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Asynchronous Network Library" -HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio; -SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2" - -LICENSE="Boost-1.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -DEPEND=" - test? ( - dev-libs/boost - dev-libs/openssl - ) -" - -PATCHES=( - "${FILESDIR}/${P}-cpp20ex.patch" -) - -src_prepare() { - default - - eautoreconf - - if ! use test; then - # Don't build nor install any examples or unittests - # since we don't have a script to run them - cat > src/Makefile.in <<-EOF || die - all: - - install: - - clean: - EOF - fi -} - -src_install() { - use doc && local HTML_DOCS=( doc/. ) - default - - if use examples; then - # Get rid of the object files - emake clean - dodoc -r src/examples - docompress -x /usr/share/doc/${PF}/examples - - # Make links to the example .cpp files work - # https://bugs.gentoo.org/828648 - if use doc; then - dosym ../examples /usr/share/doc/${PF}/src/examples - fi - fi -} diff --git a/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch deleted file mode 100644 index 55de22b8a136.. --- a/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch +++ /dev/null @@ -1,29 +0,0 @@ -The cpp20 dir doesn't exist -https://github.com/chriskohlhoff/asio/issues/1026 - a/src/Makefile.am -+++ b/src/Makefile.am -@@ -15,7 +15,6 @@ EXAMPLES_CPP17 = examples/cpp17 - endif - - if HAVE_CXX20 --EXAMPLES_CPP20 = examples/cpp20 - endif - - SUBDIRS = \ -@@ -23,7 +22,6 @@ SUBDIRS = \ - $(EXAMPLES_CPP11) \ - $(EXAMPLES_CPP14) \ - $(EXAMPLES_CPP17) \ -- $(EXAMPLES_CPP20) \ - tests - - DIST_SUBDIRS = examples/cpp03 examples/cpp11 examples/cpp14 examples/cpp17 tests a/configure.ac -+++ b/configure.ac -@@ -241,4 +241,4 @@ AC_OUTPUT([ - src/examples/cpp11/Makefile - src/examples/cpp14/Makefile - src/examples/cpp17/Makefile -- src/examples/cpp20/Makefile]) -+ ])
[gentoo-commits] repo/gentoo:master commit in: dev-cpp/asio/, dev-cpp/asio/files/
commit: bd7dc288fa2238bd26218add1dab04b61901b2a6 Author: Alexey Sokolov asokolov org> AuthorDate: Fri Mar 18 15:52:03 2022 + Commit: Sam James gentoo org> CommitDate: Mon Mar 21 23:41:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd7dc288 dev-cpp/asio: version 1.22.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alexey Sokolov asokolov.org> Closes: https://bugs.gentoo.org/828648 Closes: https://github.com/gentoo/gentoo/pull/24649 Signed-off-by: Sam James gentoo.org> dev-cpp/asio/Manifest| 1 + dev-cpp/asio/asio-1.22.1.ebuild | 63 dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch | 29 + 3 files changed, 93 insertions(+) diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest index e1e692858879..06d0aa659bbd 100644 --- a/dev-cpp/asio/Manifest +++ b/dev-cpp/asio/Manifest @@ -1,2 +1,3 @@ DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09 DIST asio-1.21.0.tar.bz2 1967398 BLAKE2B 95e0ba44910e7450e614011b487acac0cd292302c0f502ec678639b70af7e6f9b86ee2c50c7f7e3e3437ce4474323e44b5e371c08f3a9ed464ffb3f428de728b SHA512 62252b2d3ca4fb99579c5fe57bf64b700792198dd7fa45acb4af7f64e83494bade1885b848f9e364f4c42d9db025841324cbd9a0fd3fe45526e7e4be6f60f8c0 +DIST asio-1.22.1.tar.bz2 3085878 BLAKE2B 07326a2273d5b8c0aef8402c92a6a88abbcb961d2a029596d58735d6626279e6d4d591371cc368a41fac1d0161b8786174ba71153e73aac38fa81a83f5f5be86 SHA512 be4a066d9f73662f68a771f63a59fc2e16e8ee1ae1ca6c581e09922514029e58c479edfc0517ee6b29a1fd377d202a2a6eb80d9d17f6e957233c11331f04a479 diff --git a/dev-cpp/asio/asio-1.22.1.ebuild b/dev-cpp/asio/asio-1.22.1.ebuild new file mode 100644 index ..1917fccbef79 --- /dev/null +++ b/dev-cpp/asio/asio-1.22.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Asynchronous Network Library" +HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio; +SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + dev-libs/boost + dev-libs/openssl + ) +" + +PATCHES=( + "${FILESDIR}/${P}-cpp20ex.patch" +) + +src_prepare() { + default + + eautoreconf + + if ! use test; then + # Don't build nor install any examples or unittests + # since we don't have a script to run them + cat > src/Makefile.in <<-EOF || die + all: + + install: + + clean: + EOF + fi +} + +src_install() { + use doc && local HTML_DOCS=( doc/. ) + default + + if use examples; then + # Get rid of the object files + emake clean + dodoc -r src/examples + docompress -x /usr/share/doc/${PF}/examples + + # Make links to the example .cpp files work + # https://bugs.gentoo.org/828648 + if use doc; then + dosym ../examples /usr/share/doc/${PF}/src/examples + fi + fi +} diff --git a/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch new file mode 100644 index ..55de22b8a136 --- /dev/null +++ b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch @@ -0,0 +1,29 @@ +The cpp20 dir doesn't exist +https://github.com/chriskohlhoff/asio/issues/1026 + +--- a/src/Makefile.am b/src/Makefile.am +@@ -15,7 +15,6 @@ EXAMPLES_CPP17 = examples/cpp17 + endif + + if HAVE_CXX20 +-EXAMPLES_CPP20 = examples/cpp20 + endif + + SUBDIRS = \ +@@ -23,7 +22,6 @@ SUBDIRS = \ + $(EXAMPLES_CPP11) \ + $(EXAMPLES_CPP14) \ + $(EXAMPLES_CPP17) \ +- $(EXAMPLES_CPP20) \ + tests + + DIST_SUBDIRS = examples/cpp03 examples/cpp11 examples/cpp14 examples/cpp17 tests +--- a/configure.ac b/configure.ac +@@ -241,4 +241,4 @@ AC_OUTPUT([ + src/examples/cpp11/Makefile + src/examples/cpp14/Makefile + src/examples/cpp17/Makefile +- src/examples/cpp20/Makefile]) ++ ])