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-libs/STLport/, dev-libs/STLport/files/
Date: Sun, 07 May 2017 07:48:50
Message-Id: 1494143314.967d0ecf3f118dae84b7d100d3464f26cc3d33f7.soap@gentoo
1 commit: 967d0ecf3f118dae84b7d100d3464f26cc3d33f7
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 7 07:47:53 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun May 7 07:48:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=967d0ecf
7
8 dev-libs/STLport: Remove from tree
9
10 dev-libs/STLport/Manifest | 2 -
11 dev-libs/STLport/STLport-5.2.1-r1.ebuild | 95 --------------------
12 dev-libs/STLport/STLport-5.2.1-r3.ebuild | 100 ---------------------
13 .../STLport/files/STLport-5.2.1-time-facets.patch | 12 ---
14 dev-libs/STLport/metadata.xml | 14 ---
15 profiles/package.mask | 7 --
16 6 files changed, 230 deletions(-)
17
18 diff --git a/dev-libs/STLport/Manifest b/dev-libs/STLport/Manifest
19 deleted file mode 100644
20 index 24e39d97bcb..00000000000
21 --- a/dev-libs/STLport/Manifest
22 +++ /dev/null
23 @@ -1,2 +0,0 @@
24 -DIST STLport-5.2.1.tar.bz2 717202 SHA256 755b007b982c4545086c43affc8ed32c0acd577ee206eb1f6967e250c3546fc9 SHA512 c619f1965e42a444714f6a2bcbade3428e09823ad056930b32bf8224b7b3e4b4ae82e25e4ba7b4584f73645a7838a677f314b7bc583d1d9bbcef6fcafc439141 WHIRLPOOL 0d8539b98dd57c8b548bcfaeed3866c348f7f750b676404f40b2beda3c5095a2d94496d670e9f13b7287033fecd8c9f997aad44dfb07b310a8236956bdf2d52e
25 -DIST STLport-patches-5.2.1-2.tbz2 5245 SHA256 ccf0803a0b5e3c887e52d6132eb48932d566a933d299ebb22858ebd39dddc0c4 SHA512 ddc1b282d1b8008f1f6d5aa3eee0f821063c00fdf851cb569f69955dd3e1ad46b3e57a5c458a1f54aa75737cafe848cf20685b729951a58e80f14234804b92bb WHIRLPOOL cbb1ba74aca4cd454855aad6371ac7140fef42aa70b30c29e70a3b6d24044e5acd221a5a12c90414fb20bfb26ea879e7e3839ff8857b717d793538ca67380e33
26
27 diff --git a/dev-libs/STLport/STLport-5.2.1-r1.ebuild b/dev-libs/STLport/STLport-5.2.1-r1.ebuild
28 deleted file mode 100644
29 index a7adff98e46..00000000000
30 --- a/dev-libs/STLport/STLport-5.2.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,95 +0,0 @@
33 -# Copyright 1999-2013 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="2"
37 -
38 -inherit eutils versionator toolchain-funcs multilib
39 -
40 -PATCH_V="2"
41 -
42 -DESCRIPTION="C++ STL library"
43 -HOMEPAGE="http://stlport.sourceforge.net/"
44 -SRC_URI="mirror://sourceforge/stlport/${P}.tar.bz2
45 - https://dev.gentoo.org/~xarthisius/distfiles/${PN}-patches-${PV}-${PATCH_V}.tbz2"
46 -
47 -LICENSE="boehm-gc HPND"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~hppa ppc ppc64 sparc x86"
50 -IUSE="boost debug static static-libs threads"
51 -
52 -DEPEND="boost? ( >=dev-libs/boost-1.35.0-r5 )"
53 -RDEPEND="${DEPEND}"
54 -
55 -pkg_setup() {
56 - # make sure OSNAME is not in the environment (bug #305399)
57 - unset OSNAME
58 -}
59 -
60 -src_prepare() {
61 - EPATCH_SOURCE="${WORKDIR}/patches"
62 - EPATCH_SUFFIX="diff"
63 - epatch
64 -
65 - # We have to add this to host.h to make sure
66 - # that dependencies of STLport use the same settings
67 - cat <<- EOF >> stlport/stl/config/host.h
68 - #define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version)
69 - /* use pthreads for threading */
70 - #define _PTHREADS
71 - /* enable largefile support */
72 - #define _FILE_OFFSET_BITS 64
73 - #define _LARGEFILE_SOURCE
74 - #define _LARGEFILE64_SOURCE
75 - EOF
76 -}
77 -
78 -src_configure() {
79 - local myconf
80 -
81 - if use boost ; then
82 - BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")"
83 - BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
84 - BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
85 - BOOST_INC="/usr/include/boost-${BOOST_VER}"
86 -
87 - myconf+="--with-boost=${BOOST_INC} --with-system-boost "
88 - # make sure user apps (e.g. other packges using STLport) use boost as well
89 - sed -i \
90 - -e 'N;N;N;s:/\**\n\(#define _STLP_USE_BOOST_SUPPORT 1\)*\n\*/:\1:' \
91 - stlport/stl/config/user_config.h
92 - fi
93 -
94 - use debug || myconf+="--without-debug "
95 - use static-libs && myconf+="--enable-static "
96 - use threads || myconf+="--without-thread "
97 - use static && myconf+="--use-static-gcc "
98 -
99 - # It's not an autoconf script
100 - ./configure \
101 - --prefix=/usr \
102 - --libdir=/usr/$(get_libdir) \
103 - --use-compiler-family=gcc \
104 - ${myconf} \
105 - --with-cc="$(tc-getCC)" \
106 - --with-cxx="$(tc-getCXX)" \
107 - --with-extra-cflags="${CFLAGS}" \
108 - --with-extra-cxxflags="${CXXFLAGS}" \
109 - --with-extra-ldflags="${LDFLAGS}" || die "configure failed"
110 -}
111 -
112 -src_install() {
113 - # precreate some directories
114 - dodir /usr/$(get_libdir)
115 -
116 - emake DESTDIR="${D}" install || die "emake install failed"
117 -
118 - dodoc README etc/ChangeLog etc/*.txt doc/*.txt doc/{FAQ,README.utf8}
119 -}
120 -
121 -src_test() {
122 - if use static ; then
123 - ewarn "Tests don't work when building with USE=static. Skipping..."
124 - return
125 - fi
126 - default
127 -}
128
129 diff --git a/dev-libs/STLport/STLport-5.2.1-r3.ebuild b/dev-libs/STLport/STLport-5.2.1-r3.ebuild
130 deleted file mode 100644
131 index b1733467a88..00000000000
132 --- a/dev-libs/STLport/STLport-5.2.1-r3.ebuild
133 +++ /dev/null
134 @@ -1,100 +0,0 @@
135 -# Copyright 1999-2013 Gentoo Foundation
136 -# Distributed under the terms of the GNU General Public License v2
137 -
138 -EAPI="5"
139 -
140 -inherit eutils versionator toolchain-funcs multilib
141 -
142 -PATCH_V="2"
143 -
144 -DESCRIPTION="C++ STL library"
145 -HOMEPAGE="http://stlport.sourceforge.net/"
146 -SRC_URI="mirror://sourceforge/stlport/${P}.tar.bz2
147 - https://dev.gentoo.org/~xarthisius/distfiles/${PN}-patches-${PV}-${PATCH_V}.tbz2"
148 -
149 -LICENSE="boehm-gc HPND"
150 -SLOT="0"
151 -KEYWORDS="amd64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
152 -IUSE="boost debug static static-libs threads"
153 -
154 -DEPEND="boost? ( dev-libs/boost:= )"
155 -RDEPEND="${DEPEND}"
156 -
157 -DOCS=( README etc/ChangeLog doc/FAQ doc/README.utf8 )
158 -
159 -pkg_setup() {
160 - # make sure OSNAME is not in the environment (bug #305399)
161 - unset OSNAME
162 -}
163 -
164 -src_prepare() {
165 - EPATCH_SOURCE="${WORKDIR}/patches"
166 - EPATCH_SUFFIX="diff"
167 - epatch
168 -
169 - # We have to add this to host.h to make sure
170 - # that dependencies of STLport use the same settings
171 - cat <<- EOF >> stlport/stl/config/host.h
172 - #define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version)
173 - /* use pthreads for threading */
174 - #define _PTHREADS
175 - /* enable largefile support */
176 - #define _FILE_OFFSET_BITS 64
177 - #define _LARGEFILE_SOURCE
178 - #define _LARGEFILE64_SOURCE
179 - EOF
180 -
181 - # bug #562926
182 - epatch "${FILESDIR}/${P}-time-facets.patch"
183 -
184 - epatch_user
185 -}
186 -
187 -src_configure() {
188 - local myconf
189 -
190 - if use boost ; then
191 - BOOST_PKG="$(best_version ">=dev-libs/boost-1.35.0-r5")"
192 - BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
193 - BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
194 - BOOST_INC="${EPREFIX}/usr/include/boost-${BOOST_VER}"
195 -
196 - myconf+="--with-boost=${BOOST_INC} --with-system-boost "
197 - # make sure user apps (e.g. other packges using STLport) use boost as well
198 - sed -i \
199 - -e 'N;N;N;s:/\**\n\(#define _STLP_USE_BOOST_SUPPORT 1\)*\n\*/:\1:' \
200 - stlport/stl/config/user_config.h || die
201 - fi
202 -
203 - # It's not an autoconf script
204 - ./configure \
205 - --prefix="${EPREFIX}/usr" \
206 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
207 - --use-compiler-family=gcc \
208 - $(use debug || echo "--without-debug") \
209 - $(use static && echo "--use-static-gcc") \
210 - $(use static-libs && echo "--enable-static") \
211 - $(use threads && echo "--without-thread") \
212 - ${myconf} \
213 - --with-cc="$(tc-getCC)" \
214 - --with-cxx="$(tc-getCXX)" \
215 - --with-extra-cflags="${CFLAGS}" \
216 - --with-extra-cxxflags="${CXXFLAGS}" \
217 - --with-extra-ldflags="${LDFLAGS}" || die "configure failed"
218 -}
219 -
220 -src_install() {
221 - # precreate some directories
222 - dodir /usr/$(get_libdir)
223 -
224 - default
225 - dodoc etc/*.txt doc/*.txt
226 -}
227 -
228 -src_test() {
229 - if use static ; then
230 - ewarn "Tests don't work when building with USE=static. Skipping..."
231 - else
232 - default
233 - fi
234 -}
235
236 diff --git a/dev-libs/STLport/files/STLport-5.2.1-time-facets.patch b/dev-libs/STLport/files/STLport-5.2.1-time-facets.patch
237 deleted file mode 100644
238 index 85a5a325bd5..00000000000
239 --- a/dev-libs/STLport/files/STLport-5.2.1-time-facets.patch
240 +++ /dev/null
241 @@ -1,12 +0,0 @@
242 -diff -uNptr a/src/time_facets.cpp b/src/time_facets.cpp
243 ---- a/src/time_facets.cpp 2008-12-10 10:56:51.000000000 +0100
244 -+++ b/src/time_facets.cpp 2015-10-11 12:07:55.841141984 +0100
245 -@@ -428,7 +428,7 @@ void _STLP_CALL __write_formatted_timeT(
246 - break;
247 - {
248 - int diff;
249 --# if defined (__USE_BSD) || defined (__BEOS__)
250 -+# if defined (__USE_MISC) || defined (__USE_BSD) || defined (__BEOS__)
251 - diff = t->tm_gmtoff;
252 - # else
253 - diff = t->__tm_gmtoff;
254
255 diff --git a/dev-libs/STLport/metadata.xml b/dev-libs/STLport/metadata.xml
256 deleted file mode 100644
257 index c6229886288..00000000000
258 --- a/dev-libs/STLport/metadata.xml
259 +++ /dev/null
260 @@ -1,14 +0,0 @@
261 -<?xml version="1.0" encoding="UTF-8"?>
262 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
263 -<pkgmetadata>
264 - <maintainer type="project">
265 - <email>cpp@g.o</email>
266 - <name>Gentoo C++ Project</name>
267 - </maintainer>
268 - <use>
269 - <flag name="boost">Enable the usage of <pkg>dev-libs/boost</pkg></flag>
270 - </use>
271 - <upstream>
272 - <remote-id type="sourceforge">stlport</remote-id>
273 - </upstream>
274 -</pkgmetadata>
275
276 diff --git a/profiles/package.mask b/profiles/package.mask
277 index e6598178ae8..6da35bdbe57 100644
278 --- a/profiles/package.mask
279 +++ b/profiles/package.mask
280 @@ -231,13 +231,6 @@ app-emulation/wine-any
281 # Part of the JDK since Java 6. Removal in 30 days.
282 dev-java/jaxme
283
284 -# David Seifert <soap@g.o> (05 Apr 2017)
285 -# Abandoned, no releases since 2008, only partially
286 -# compatible with C++11, multiple bugs, upstream dead
287 -# Masked for removal in 30 days.
288 -# Bugs #359247, #400547, #409119, #594144
289 -dev-libs/STLport
290 -
291 # Mike Gilbert <floppym@gentoo> (05 Apr 2017)
292 # Unmaintained.
293 # Pinned dependencies cause conflicts with other packages.