Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-cpp/libcutl/, dev-cpp/libcutl/files/
Date: Tue, 24 Aug 2021 12:39:34
Message-Id: 1629808717.9d4619177fbb2cfc7243cda1d494dd3607827391.soap@gentoo
1 commit: 9d4619177fbb2cfc7243cda1d494dd3607827391
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Aug 24 12:38:37 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 24 12:38:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d461917
7
8 dev-cpp/libcutl: Remove last-rited package
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-cpp/libcutl/Manifest | 1 -
14 .../files/libcutl-1.10.0-boost-1.65-tr1.patch | 162 ---------------------
15 .../libcutl/files/libcutl-1.10.0-fix-c++14.patch | 53 -------
16 dev-cpp/libcutl/libcutl-1.10.0.ebuild | 52 -------
17 dev-cpp/libcutl/metadata.xml | 5 -
18 profiles/package.mask | 1 -
19 6 files changed, 274 deletions(-)
20
21 diff --git a/dev-cpp/libcutl/Manifest b/dev-cpp/libcutl/Manifest
22 deleted file mode 100644
23 index c5ef9585af5..00000000000
24 --- a/dev-cpp/libcutl/Manifest
25 +++ /dev/null
26 @@ -1 +0,0 @@
27 -DIST libcutl-1.10.0.tar.bz2 763920 BLAKE2B 8d6741b19cc7c1d320225b6f412c08d6dd1d975a9f1e2f55914a23b8813e42228616ea525905bcf456f4b6e60a72fbf4128a03275833975ce3b8c87d6e4cb631 SHA512 c03f39e87e660fdd07aa9cccb2d82d411ca8226b56475c74b7b2147b90cdb83d13246bc0c09513e407271bcf568d6a08f92c9006e48d1e7f06e4b18dde34dc5f
28
29 diff --git a/dev-cpp/libcutl/files/libcutl-1.10.0-boost-1.65-tr1.patch b/dev-cpp/libcutl/files/libcutl-1.10.0-boost-1.65-tr1.patch
30 deleted file mode 100644
31 index ebb15ee9b40..00000000000
32 --- a/dev-cpp/libcutl/files/libcutl-1.10.0-boost-1.65-tr1.patch
33 +++ /dev/null
34 @@ -1,162 +0,0 @@
35 -Use regex from C++11 instead of boost/tr1's version (the latter is gone as of boost 1.65).
36 -Patch: https://svnweb.freebsd.org/ports/head/devel/libcutl/files/patch-cutl_re_re.cxx?view=markup&pathrev=445764
37 -Bug: https://bugs.gentoo.org/show_bug.cgi?id=630016
38 -
39 ---- a/cutl/re/re.cxx
40 -+++ b/cutl/re/re.cxx
41 -@@ -9,7 +9,7 @@
42 - #ifndef LIBCUTL_EXTERNAL_BOOST
43 - # include <cutl/details/boost/tr1/regex.hpp>
44 - #else
45 --# include <boost/tr1/regex.hpp>
46 -+# include <regex>
47 - #endif
48 -
49 - using namespace std;
50 -@@ -40,17 +40,17 @@
51 - struct basic_regex<C>::impl
52 - {
53 - typedef basic_string<C> string_type;
54 -- typedef tr1::basic_regex<C> regex_type;
55 -+ typedef std::basic_regex<C> regex_type;
56 - typedef typename regex_type::flag_type flag_type;
57 -
58 - impl () {}
59 - impl (regex_type const& r): r (r) {}
60 - impl (string_type const& s, bool icase)
61 - {
62 -- flag_type f (tr1::regex_constants::ECMAScript);
63 -+ flag_type f (std::regex_constants::ECMAScript);
64 -
65 - if (icase)
66 -- f |= tr1::regex_constants::icase;
67 -+ f |= std::regex_constants::icase;
68 -
69 - r.assign (s, f);
70 - }
71 -@@ -118,15 +118,15 @@
72 - impl_ = s == 0 ? new impl : new impl (*s, icase);
73 - else
74 - {
75 -- impl::flag_type f (tr1::regex_constants::ECMAScript);
76 -+ impl::flag_type f (std::regex_constants::ECMAScript);
77 -
78 - if (icase)
79 -- f |= tr1::regex_constants::icase;
80 -+ f |= std::regex_constants::icase;
81 -
82 - impl_->r.assign (*s, f);
83 - }
84 - }
85 -- catch (tr1::regex_error const& e)
86 -+ catch (std::regex_error const& e)
87 - {
88 - throw basic_format<char> (s == 0 ? "" : *s, e.what ());
89 - }
90 -@@ -146,15 +146,15 @@
91 - impl_ = s == 0 ? new impl : new impl (*s, icase);
92 - else
93 - {
94 -- impl::flag_type f (tr1::regex_constants::ECMAScript);
95 -+ impl::flag_type f (std::regex_constants::ECMAScript);
96 -
97 - if (icase)
98 -- f |= tr1::regex_constants::icase;
99 -+ f |= std::regex_constants::icase;
100 -
101 - impl_->r.assign (*s, f);
102 - }
103 - }
104 -- catch (tr1::regex_error const& e)
105 -+ catch (std::regex_error const& e)
106 - {
107 - throw basic_format<wchar_t> (s == 0 ? L"" : *s, e.what ());
108 - }
109 -@@ -166,28 +166,28 @@
110 - bool basic_regex<char>::
111 - match (string_type const& s) const
112 - {
113 -- return tr1::regex_match (s, impl_->r);
114 -+ return std::regex_match (s, impl_->r);
115 - }
116 -
117 - template <>
118 - bool basic_regex<wchar_t>::
119 - match (string_type const& s) const
120 - {
121 -- return tr1::regex_match (s, impl_->r);
122 -+ return std::regex_match (s, impl_->r);
123 - }
124 -
125 - template <>
126 - bool basic_regex<char>::
127 - search (string_type const& s) const
128 - {
129 -- return tr1::regex_search (s, impl_->r);
130 -+ return std::regex_search (s, impl_->r);
131 - }
132 -
133 - template <>
134 - bool basic_regex<wchar_t>::
135 - search (string_type const& s) const
136 - {
137 -- return tr1::regex_search (s, impl_->r);
138 -+ return std::regex_search (s, impl_->r);
139 - }
140 -
141 - template <>
142 -@@ -196,13 +196,13 @@
143 - string_type const& sub,
144 - bool first_only) const
145 - {
146 -- tr1::regex_constants::match_flag_type f (
147 -- tr1::regex_constants::format_default);
148 -+ std::regex_constants::match_flag_type f (
149 -+ std::regex_constants::format_default);
150 -
151 - if (first_only)
152 -- f |= tr1::regex_constants::format_first_only;
153 -+ f |= std::regex_constants::format_first_only;
154 -
155 -- return tr1::regex_replace (s, impl_->r, sub, f);
156 -+ return std::regex_replace (s, impl_->r, sub, f);
157 - }
158 -
159 - template <>
160 -@@ -211,13 +211,13 @@
161 - string_type const& sub,
162 - bool first_only) const
163 - {
164 -- tr1::regex_constants::match_flag_type f (
165 -- tr1::regex_constants::format_default);
166 -+ std::regex_constants::match_flag_type f (
167 -+ std::regex_constants::format_default);
168 -
169 - if (first_only)
170 -- f |= tr1::regex_constants::format_first_only;
171 -+ f |= std::regex_constants::format_first_only;
172 -
173 -- return tr1::regex_replace (s, impl_->r, sub, f);
174 -+ return std::regex_replace (s, impl_->r, sub, f);
175 - }
176 - }
177 - }
178 ---- a/m4/libboost.m4
179 -+++ b/m4/libboost.m4
180 -@@ -129,13 +129,13 @@
181 - AC_DEFUN([LIBBOOST_REGEX], [
182 - LIBBOOST_LIB([regex],[
183 - AC_LANG_SOURCE([
184 --#include <boost/tr1/regex.hpp>
185 -+#include <regex>
186 -
187 - int
188 - main ()
189 - {
190 -- std::tr1::regex r ("te.t", std::tr1::regex_constants::ECMAScript);
191 -- return std::tr1::regex_match ("test", r) ? 0 : 1;
192 -+ std::regex r ("te.t", std::regex_constants::ECMAScript);
193 -+ return std::regex_match ("test", r) ? 0 : 1;
194 - }
195 - ])],
196 - [$1],
197
198 diff --git a/dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch b/dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch
199 deleted file mode 100644
200 index a6f1a505485..00000000000
201 --- a/dev-cpp/libcutl/files/libcutl-1.10.0-fix-c++14.patch
202 +++ /dev/null
203 @@ -1,53 +0,0 @@
204 -Make dtors noexcept(false) when compiling in C++11 and above. This avoids silent
205 -breakage due to the semantic exception changes between C++98 and C++11.
206 -
207 ---- a/cutl/fs/auto-remove.cxx
208 -+++ b/cutl/fs/auto-remove.cxx
209 -@@ -13,6 +13,9 @@
210 - {
211 - auto_remove::
212 - ~auto_remove ()
213 -+#if __cplusplus >= 201103L
214 -+ noexcept(false)
215 -+#endif
216 - {
217 - if (!canceled_)
218 - {
219 -@@ -23,6 +26,9 @@
220 -
221 - auto_removes::
222 - ~auto_removes ()
223 -+#if __cplusplus >= 201103L
224 -+ noexcept(false)
225 -+#endif
226 - {
227 - if (!canceled_)
228 - {
229 ---- a/cutl/fs/auto-remove.hxx
230 -+++ b/cutl/fs/auto-remove.hxx
231 -@@ -26,7 +26,11 @@
232 - {
233 - }
234 -
235 -- ~auto_remove ();
236 -+ ~auto_remove ()
237 -+#if __cplusplus >= 201103L
238 -+ noexcept(false)
239 -+#endif
240 -+ ;
241 -
242 - void
243 - cancel ()
244 -@@ -51,7 +55,11 @@
245 - struct LIBCUTL_EXPORT auto_removes
246 - {
247 - auto_removes (): canceled_ (false) {}
248 -- ~auto_removes ();
249 -+ ~auto_removes ()
250 -+#if __cplusplus >= 201103L
251 -+ noexcept(false)
252 -+#endif
253 -+ ;
254 -
255 - void
256 - add (path const& p)
257
258 diff --git a/dev-cpp/libcutl/libcutl-1.10.0.ebuild b/dev-cpp/libcutl/libcutl-1.10.0.ebuild
259 deleted file mode 100644
260 index b88f5363b9e..00000000000
261 --- a/dev-cpp/libcutl/libcutl-1.10.0.ebuild
262 +++ /dev/null
263 @@ -1,52 +0,0 @@
264 -# Copyright 1999-2018 Gentoo Foundation
265 -# Distributed under the terms of the GNU General Public License v2
266 -
267 -EAPI=6
268 -
269 -inherit autotools flag-o-matic versionator
270 -
271 -DESCRIPTION="A collection of C++ libraries (successor of libcult)"
272 -HOMEPAGE="https://www.codesynthesis.com/projects/libcutl/"
273 -SRC_URI="https://www.codesynthesis.com/download/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
274 -
275 -LICENSE="MIT"
276 -SLOT="0"
277 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
278 -IUSE=""
279 -
280 -RDEPEND="
281 - dev-libs/expat
282 - dev-libs/boost:="
283 -DEPEND="${RDEPEND}"
284 -
285 -PATCHES=(
286 - "${FILESDIR}"/${PN}-1.10.0-fix-c++14.patch
287 - "${FILESDIR}"/${PN}-1.10.0-boost-1.65-tr1.patch
288 -)
289 -
290 -src_prepare() {
291 - default
292 -
293 - # remove bundled libs
294 - rm -r cutl/details/{boost,expat} || die
295 -
296 - eautoreconf
297 -}
298 -
299 -src_configure() {
300 - # ensure <regex> works on GCC 5 and below
301 - # bug 630016
302 - append-cxxflags -std=c++14
303 -
304 - econf \
305 - --disable-static \
306 - --with-external-boost \
307 - --with-external-expat
308 -}
309 -
310 -src_install() {
311 - default
312 -
313 - # package provides .pc files
314 - find "${D}" -name '*.la' -delete || die
315 -}
316
317 diff --git a/dev-cpp/libcutl/metadata.xml b/dev-cpp/libcutl/metadata.xml
318 deleted file mode 100644
319 index 7a38bb90096..00000000000
320 --- a/dev-cpp/libcutl/metadata.xml
321 +++ /dev/null
322 @@ -1,5 +0,0 @@
323 -<?xml version="1.0" encoding="UTF-8"?>
324 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
325 -<pkgmetadata>
326 - <!-- maintainer-needed -->
327 -</pkgmetadata>
328
329 diff --git a/profiles/package.mask b/profiles/package.mask
330 index d7fed36ef4a..ba3828ff85e 100644
331 --- a/profiles/package.mask
332 +++ b/profiles/package.mask
333 @@ -306,7 +306,6 @@ net-im/minbif
334 # Fails to build with GCC 11.
335 # Removal on 2021-08-26. bug #787113, bug #735714, bug #657510.
336 dev-cpp/libxsd-frontend
337 -dev-cpp/libcutl
338
339 # Andrew Ammerlaan <andrewammerlaan@g.o> (2021-07-12)
340 # Version 3.3.0 suffers from ridiculously high CPU usage, this version has