Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/threadpool/, dev-cpp/threadpool/files/, profiles/
Date: Sat, 28 Sep 2019 11:32:01
Message-Id: 1569670305.ce8e182b10b665cee32f2241891c447ce52348fe.mgorny@gentoo
1 commit: ce8e182b10b665cee32f2241891c447ce52348fe
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 28 11:30:59 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 11:31:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8e182b
7
8 dev-cpp/threadpool: Remove last-rited pkg
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-cpp/threadpool/Manifest | 2 --
13 .../files/threadpool-0.2.5-memleak.patch | 22 ------------
14 dev-cpp/threadpool/metadata.xml | 11 ------
15 dev-cpp/threadpool/threadpool-0.2.5-r1.ebuild | 39 ----------------------
16 profiles/package.mask | 4 ---
17 5 files changed, 78 deletions(-)
18
19 diff --git a/dev-cpp/threadpool/Manifest b/dev-cpp/threadpool/Manifest
20 deleted file mode 100644
21 index 54c68e5c06e..00000000000
22 --- a/dev-cpp/threadpool/Manifest
23 +++ /dev/null
24 @@ -1,2 +0,0 @@
25 -DIST threadpool-0_2_5-doc.zip 154617 BLAKE2B 77d9421236d4964c7d69ca59f700f3697dc2c20852737e94bccc0547ce0c5db2a08715701c954c49ceb3c84644c77b7a2e115aef9c537b16df410011af5cc20b SHA512 cdee7d0cf02af55ef4e1237fff9f5214ffb91b00ad2880592efcf3f62d661f3e8a870d092797dd2866e24189e9d6f8e626ca840ab89ce29e5c944c79e8cb31ea
26 -DIST threadpool-0_2_5-src.zip 58599 BLAKE2B 00312a1eee427cac3f55e1162f3051e7a4a2a805a941f9bf858088deba696dda38f241d7eb5e57d38f00bec161197cbda70be1cd31465c4031d242d2f2e6ab66 SHA512 961576b619e5227098fa37a3c8d903128b3c2a9cf1e55c057c6f9126062bcccfa6fe2510b4e8ee5d1a0e3d0425f0077c50eccad2120a423f69e2705460780e7c
27
28 diff --git a/dev-cpp/threadpool/files/threadpool-0.2.5-memleak.patch b/dev-cpp/threadpool/files/threadpool-0.2.5-memleak.patch
29 deleted file mode 100644
30 index 26d89d1d5c2..00000000000
31 --- a/dev-cpp/threadpool/files/threadpool-0.2.5-memleak.patch
32 +++ /dev/null
33 @@ -1,22 +0,0 @@
34 -Fix memleak due circular references blocking garbage collection.
35 -
36 -http://www.cplusplus.com/forum/general/56971/ provides a testcase for a memory
37 -leak with the threadpool due to shared_ptr usage.
38 -
39 -I really needed threadpool to work for me, so I traced & fixed it as best as
40 -possible. When the threadpool is being destroyed, your threads should have
41 -terminated already. Do so deliberately if not done yet, so that they free the
42 -memory.
43 -
44 -Signed-off-by: Robin H. Johnson <robbat2@g.o>
45 -
46 ---- threadpool/boost/threadpool/detail/pool_core.hpp
47 -+++ threadpool/boost/threadpool/detail/pool_core.hpp
48 -@@ -150,6 +150,7 @@
49 - /// Destructor.
50 - ~pool_core()
51 - {
52 -+ terminate_all_workers(true);
53 - }
54 -
55 - /*! Gets the size controller which manages the number of threads in the pool.
56
57 diff --git a/dev-cpp/threadpool/metadata.xml b/dev-cpp/threadpool/metadata.xml
58 deleted file mode 100644
59 index 2af619160dd..00000000000
60 --- a/dev-cpp/threadpool/metadata.xml
61 +++ /dev/null
62 @@ -1,11 +0,0 @@
63 -<?xml version="1.0" encoding="UTF-8"?>
64 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
65 -<pkgmetadata>
66 - <maintainer type="person">
67 - <email>robbat2@g.o</email>
68 - <name>Robin H. Johnson</name>
69 - </maintainer>
70 - <upstream>
71 - <remote-id type="sourceforge">threadpool</remote-id>
72 - </upstream>
73 -</pkgmetadata>
74
75 diff --git a/dev-cpp/threadpool/threadpool-0.2.5-r1.ebuild b/dev-cpp/threadpool/threadpool-0.2.5-r1.ebuild
76 deleted file mode 100644
77 index 882c0704537..00000000000
78 --- a/dev-cpp/threadpool/threadpool-0.2.5-r1.ebuild
79 +++ /dev/null
80 @@ -1,39 +0,0 @@
81 -# Copyright 1999-2016 Gentoo Foundation
82 -# Distributed under the terms of the GNU General Public License v2
83 -
84 -EAPI=6
85 -
86 -DESCRIPTION="A cross-platform C++ thread pool library (built on top of Boost)"
87 -HOMEPAGE="http://threadpool.sourceforge.net/"
88 -MY_PV=${PV//./_}
89 -MY_P=${PN}-${MY_PV}
90 -SRC_URI_BASE="mirror://sourceforge/threadpool/threadpool/${PV}%20%28Stable%29"
91 -SRC_URI="${SRC_URI_BASE}/${MY_P}-src.zip
92 - doc? ( ${SRC_URI_BASE}/${MY_P}-doc.zip )"
93 -
94 -LICENSE="Boost-1.0"
95 -SLOT="0"
96 -KEYWORDS="~amd64 ~x86"
97 -IUSE="doc"
98 -
99 -DEPEND=""
100 -RDEPEND="dev-libs/boost"
101 -
102 -S="${WORKDIR}/${MY_P}-src/${PN}"
103 -
104 -DOCS=( README TODO CHANGE_LOG )
105 -PATCHES=( "${FILESDIR}/${P}-memleak.patch" )
106 -
107 -src_compile() {
108 - # Do nothing
109 - # The makefile just builds the documentation again
110 - # Not even any install targets
111 - return
112 -}
113 -
114 -src_install() {
115 - doheader -r boost
116 -
117 - use doc && HTML_DOCS+=( "${WORKDIR}"/"${MY_P}"-doc/. )
118 - einstalldocs
119 -}
120
121 diff --git a/profiles/package.mask b/profiles/package.mask
122 index cf3c6a21f16..9740f3848ce 100644
123 --- a/profiles/package.mask
124 +++ b/profiles/package.mask
125 @@ -1079,10 +1079,6 @@ mail-filter/ask
126 # Removal in 30 days.
127 sci-electronics/gplcver
128
129 -# David Seifert <soap@g.o> (2019-08-29)
130 -# Dead upstream, last release in 2008, no revdeps, removal in 30 days.
131 -dev-cpp/threadpool
132 -
133 # Miroslav Šulc <fordfrog@g.o> (2019-08-19)
134 # Depends on >=virtual/{jdk,jre}-11 which is masked
135 =www-servers/tomcat-9.0.24