Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/qucs/files/, profiles/, sci-electronics/qucs/
Date: Thu, 03 May 2018 11:45:51
Message-Id: 1525347906.79498debc64c5fe9c456d6a1f11f7b865a3abccc.asturm@gentoo
1 commit: 79498debc64c5fe9c456d6a1f11f7b865a3abccc
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 3 11:41:24 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 3 11:45:06 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79498deb
7
8 sci-electronics/qucs: Remove last-rited package
9
10 Closes: https://bugs.gentoo.org/620474
11 Closes: https://bugs.gentoo.org/624740
12 Closes: https://bugs.gentoo.org/648668
13
14 profiles/package.mask | 5 -
15 sci-electronics/qucs/Manifest | 1 -
16 sci-electronics/qucs/files/qucs-0.0.18-gcc6.patch | 189 ----------------------
17 sci-electronics/qucs/metadata.xml | 15 --
18 sci-electronics/qucs/qucs-0.0.18.ebuild | 68 --------
19 5 files changed, 278 deletions(-)
20
21 diff --git a/profiles/package.mask b/profiles/package.mask
22 index 1b3099138e9..5eef1f11cca 100644
23 --- a/profiles/package.mask
24 +++ b/profiles/package.mask
25 @@ -220,11 +220,6 @@ sys-fs/aufs4
26 # Masked for removal in 30 days. Bugs #649118, #510066
27 media-video/subdownloader
28
29 -# Andreas Sturmlechner <asturm@g.o> (03 Apr 2018)
30 -# Build issues, depends on dead Qt4, no port to Qt5 (or far from ready).
31 -# Masked for removal in 30 days. Bugs #620474, #624740, #648668
32 -sci-electronics/qucs
33 -
34 # Michał Górny (03 Apr 2018)
35 # Starting with sys-apps/sandbox-2.13+, unloading is possible via
36 # disabling (SANDBOX_ON=0) + wiping LD_PRELOAD. This renders the tool
37
38 diff --git a/sci-electronics/qucs/Manifest b/sci-electronics/qucs/Manifest
39 deleted file mode 100644
40 index 8d1d543b6f6..00000000000
41 --- a/sci-electronics/qucs/Manifest
42 +++ /dev/null
43 @@ -1 +0,0 @@
44 -DIST qucs-0.0.18.tar.gz 45270816 BLAKE2B 84c70f23fc91decf4b237cab507c2a5de482126c27978e7c331264fc584323cf16c37509212e98f84aa0fd6c847a0aeb3d568bdb23c5551a357c9a794c96d614 SHA512 b6836837fde44fe04e6a0533905c7bbfdbb6f64412fbc2516cab281de2ec51738cf62bb245763a0be6711e02392f8d73e87b86bff6eb432fe3bbf47636c98313
45
46 diff --git a/sci-electronics/qucs/files/qucs-0.0.18-gcc6.patch b/sci-electronics/qucs/files/qucs-0.0.18-gcc6.patch
47 deleted file mode 100644
48 index bf1f7edbfc0..00000000000
49 --- a/sci-electronics/qucs/files/qucs-0.0.18-gcc6.patch
50 +++ /dev/null
51 @@ -1,189 +0,0 @@
52 -Bug: https://bugs.gentoo.org/show_bug.cgi?id=603902
53 -
54 ---- a/qucs-core/src/components/verilog/bsim3v34nMOS.core.cpp
55 -+++ b/qucs-core/src/components/verilog/bsim3v34nMOS.core.cpp
56 -@@ -8432,9 +8432,9 @@
57 - fourkt=(5.5226012e-23*Temp);
58 - leffx2=(leff*leff);
59 - _save_flickernoise2(drainp,sourcep,((KF*pow(cdrain,AF))/(cox*leffx2)),EF,"flicker");
60 --_save_whitenoise2(drainp,sourcep,(((fourkt*ueff)*abs(qinv))/leffx2),"channel");
61 --_save_whitenoise2(drain,drainp,abs((fourkt*drainConductance)),"thermal");
62 --_save_whitenoise2(sourcep,source,abs((fourkt*sourceConductance)),"thermal");
63 -+_save_whitenoise2(drainp,sourcep,(((fourkt*ueff)*std::abs(qinv))/leffx2),"channel");
64 -+_save_whitenoise2(drain,drainp,std::abs((fourkt*drainConductance)),"thermal");
65 -+_save_whitenoise2(sourcep,source,std::abs((fourkt*sourceConductance)),"thermal");
66 - }
67 -
68 - /* ------------------ end of verilog analog equations --------------------- */
69 ---- a/qucs-core/src/components/verilog/bsim3v34pMOS.core.cpp
70 -+++ b/qucs-core/src/components/verilog/bsim3v34pMOS.core.cpp
71 -@@ -8432,9 +8432,9 @@
72 - fourkt=(5.5226012e-23*Temp);
73 - leffx2=(leff*leff);
74 - _save_flickernoise2(drainp,sourcep,((KF*pow(cdrain,AF))/(cox*leffx2)),EF,"flicker");
75 --_save_whitenoise2(drainp,sourcep,(((fourkt*ueff)*abs(qinv))/leffx2),"channel");
76 --_save_whitenoise2(drain,drainp,abs((fourkt*drainConductance)),"thermal");
77 --_save_whitenoise2(sourcep,source,abs((fourkt*sourceConductance)),"thermal");
78 -+_save_whitenoise2(drainp,sourcep,(((fourkt*ueff)*std::abs(qinv))/leffx2),"channel");
79 -+_save_whitenoise2(drain,drainp,std::abs((fourkt*drainConductance)),"thermal");
80 -+_save_whitenoise2(sourcep,source,std::abs((fourkt*sourceConductance)),"thermal");
81 - }
82 -
83 - /* ------------------ end of verilog analog equations --------------------- */
84 ---- a/qucs-core/src/components/verilog/bsim4v30nMOS.core.cpp
85 -+++ b/qucs-core/src/components/verilog/bsim4v30nMOS.core.cpp
86 -@@ -13629,16 +13629,16 @@
87 - {
88 - fourkt=(5.5226012e-23*Temp);
89 - leffx2=(leff*leff);
90 --_save_whitenoise2(drainp,sourcep,((((fourkt*NTNOI)*ueff)*abs((qd+qs)))/leffx2),"channel");
91 -+_save_whitenoise2(drainp,sourcep,((((fourkt*NTNOI)*ueff)*std::abs((qd+qs)))/leffx2),"channel");
92 - }
93 - if
94 - (FNOIMOD==0)
95 - {
96 - leffx2=(leff*leff);
97 --_save_flickernoise2(drainp,sourcep,((KF*pow(abs(cdrain),AF))/(cox*leffx2)),EF,"flicker");
98 -+_save_flickernoise2(drainp,sourcep,((KF*pow(std::abs(cdrain),AF))/(cox*leffx2)),EF,"flicker");
99 - }
100 --_save_whitenoise2(drain,drainp,abs((fourkt*gdtot)),"thermal");
101 --_save_whitenoise2(sourcep,source,abs((fourkt*gstot)),"thermal");
102 -+_save_whitenoise2(drain,drainp,std::abs((fourkt*gdtot)),"thermal");
103 -+_save_whitenoise2(sourcep,source,std::abs((fourkt*gstot)),"thermal");
104 -
105 - /* ------------------ end of verilog analog equations --------------------- */
106 -
107 ---- a/qucs-core/src/components/verilog/bsim4v30pMOS.core.cpp
108 -+++ b/qucs-core/src/components/verilog/bsim4v30pMOS.core.cpp
109 -@@ -13629,16 +13629,16 @@
110 - {
111 - fourkt=(5.5226012e-23*Temp);
112 - leffx2=(leff*leff);
113 --_save_whitenoise2(drainp,sourcep,((((fourkt*NTNOI)*ueff)*abs((qd+qs)))/leffx2),"channel");
114 -+_save_whitenoise2(drainp,sourcep,((((fourkt*NTNOI)*ueff)*std::abs((qd+qs)))/leffx2),"channel");
115 - }
116 - if
117 - (FNOIMOD==0)
118 - {
119 - leffx2=(leff*leff);
120 --_save_flickernoise2(drainp,sourcep,((KF*pow(abs(cdrain),AF))/(cox*leffx2)),EF,"flicker");
121 -+_save_flickernoise2(drainp,sourcep,((KF*pow(std::abs(cdrain),AF))/(cox*leffx2)),EF,"flicker");
122 - }
123 --_save_whitenoise2(drain,drainp,abs((fourkt*gdtot)),"thermal");
124 --_save_whitenoise2(sourcep,source,abs((fourkt*gstot)),"thermal");
125 -+_save_whitenoise2(drain,drainp,std::abs((fourkt*gdtot)),"thermal");
126 -+_save_whitenoise2(sourcep,source,std::abs((fourkt*gstot)),"thermal");
127 -
128 - /* ------------------ end of verilog analog equations --------------------- */
129 -
130 ---- a/qucs-core/src/components/verilog/hic2_full.core.cpp
131 -+++ b/qucs-core/src/components/verilog/hic2_full.core.cpp
132 -@@ -9642,7 +9642,7 @@
133 - #endif
134 - d_Q=Q_pT;
135 - while
136 --(((abs(d_Q)>=(1.0e-5*abs(Q_pT)))&&(l_it<=100)))
137 -+(((std::abs(d_Q)>=(1.0e-5*std::abs(Q_pT)))&&(l_it<=100)))
138 - {
139 - #if defined(_DYNAMIC)
140 - d_Q0=d_Q;
141 -@@ -19895,10 +19895,10 @@
142 - _save_whitenoise2(ci,ei,(twoq*it),"shot");
143 - _save_whitenoise2(ci,bi,(twoq*iavl),"shot");
144 - _save_whitenoise2(bi,ei,(twoq*ibei),"shot");
145 --_save_whitenoise2(bi,ci,(twoq*abs(ibci)),"shot");
146 -+_save_whitenoise2(bi,ci,(twoq*std::abs(ibci)),"shot");
147 - _save_whitenoise2(bp,ei,(twoq*ibep),"shot");
148 --_save_whitenoise2(bp,ci,(twoq*abs(ijbcx)),"shot");
149 --_save_whitenoise2(si,ci,(twoq*abs(ijsc)),"shot");
150 -+_save_whitenoise2(bp,ci,(twoq*std::abs(ijbcx)),"shot");
151 -+_save_whitenoise2(si,ci,(twoq*std::abs(ijsc)),"shot");
152 - }
153 -
154 - /* ------------------ end of verilog analog equations --------------------- */
155 ---- a/qucs-core/src/components/verilog/hicumL2V2p1.core.cpp
156 -+++ b/qucs-core/src/components/verilog/hicumL2V2p1.core.cpp
157 -@@ -4895,7 +4895,7 @@
158 - #endif
159 - d_Q=Q_pT;
160 - while
161 --(((abs(d_Q)>=(1.0e-5*abs(Q_pT)))&&(l_it<=100)))
162 -+(((std::abs(d_Q)>=(1.0e-5*std::abs(Q_pT)))&&(l_it<=100)))
163 - {
164 - #if defined(_DYNAMIC)
165 - d_Q0=d_Q;
166 ---- a/qucs-core/src/components/verilog/hicumL2V2p23.core.cpp
167 -+++ b/qucs-core/src/components/verilog/hicumL2V2p23.core.cpp
168 -@@ -11502,7 +11502,7 @@
169 - #endif
170 - d_Q=Q_pT;
171 - while
172 --(((abs(d_Q)>=(1.0e-5*abs(Q_pT)))&&(l_it<=100)))
173 -+(((std::abs(d_Q)>=(1.0e-5*std::abs(Q_pT)))&&(l_it<=100)))
174 - {
175 - #if defined(_DYNAMIC)
176 - d_Q0=d_Q;
177 -@@ -23949,10 +23949,10 @@
178 - }
179 - twoq=(2.0*1.602176462e-19);
180 - _save_whitenoise2(ci,bi,(twoq*iavl),"shot");
181 --_save_whitenoise2(bi,ci,(twoq*abs(ibci)),"shot");
182 -+_save_whitenoise2(bi,ci,(twoq*std::abs(ibci)),"shot");
183 - _save_whitenoise2(bp,ei,(twoq*ibep),"shot");
184 --_save_whitenoise2(bp,ci,(twoq*abs(ijbcx)),"shot");
185 --_save_whitenoise2(si,ci,(twoq*abs(ijsc)),"shot");
186 -+_save_whitenoise2(bp,ci,(twoq*std::abs(ijbcx)),"shot");
187 -+_save_whitenoise2(si,ci,(twoq*std::abs(ijsc)),"shot");
188 - _save_whitenoise1(n1,((2*1.602176462e-19)*ibei),"shot");
189 - _load_static_residual1(n1,NP(n1));
190 - #if defined(_DERIVATE)
191 ---- a/qucs-core/src/components/verilog/hicumL2V2p24.core.cpp
192 -+++ b/qucs-core/src/components/verilog/hicumL2V2p24.core.cpp
193 -@@ -6090,7 +6090,7 @@
194 - #endif
195 - d_Q=Q_pT;
196 - while
197 --(((abs(d_Q)>=(1.0e-5*abs(Q_pT)))&&(l_it<=100)))
198 -+(((std::abs(d_Q)>=(1.0e-5*std::abs(Q_pT)))&&(l_it<=100)))
199 - {
200 - #if defined(_DYNAMIC)
201 - d_Q0=d_Q;
202 -@@ -11855,10 +11855,10 @@
203 - }
204 - twoq=(2.0*1.602176462e-19);
205 - _save_whitenoise2(ci,bi,(twoq*iavl),"shot");
206 --_save_whitenoise2(bi,ci,(twoq*abs(ibci)),"shot");
207 -+_save_whitenoise2(bi,ci,(twoq*std::abs(ibci)),"shot");
208 - _save_whitenoise2(bp,ei,(twoq*ibep),"shot");
209 --_save_whitenoise2(bp,ci,(twoq*abs(ijbcx)),"shot");
210 --_save_whitenoise2(si,ci,(twoq*abs(ijsc)),"shot");
211 -+_save_whitenoise2(bp,ci,(twoq*std::abs(ijbcx)),"shot");
212 -+_save_whitenoise2(si,ci,(twoq*std::abs(ijsc)),"shot");
213 - _save_whitenoise1(n1,((2*1.602176462e-19)*ibei),"shot");
214 - _load_static_residual1(n1,NP(n1));
215 - #if defined(_DERIVATE)
216 ---- a/qucs-core/src/components/verilog/hicumL2V2p31n.core.cpp
217 -+++ b/qucs-core/src/components/verilog/hicumL2V2p31n.core.cpp
218 -@@ -6726,7 +6726,7 @@
219 - #endif
220 - d_Q=Q_pT;
221 - while
222 --(((abs(d_Q)>=(1.0e-5*abs(Q_pT)))&&(l_it<=100)))
223 -+(((std::abs(d_Q)>=(1.0e-5*std::abs(Q_pT)))&&(l_it<=100)))
224 - {
225 - #if defined(_DYNAMIC)
226 - d_Q0=d_Q;
227 -@@ -12817,10 +12817,10 @@
228 - }
229 - twoq=(2.0*1.602176462e-19);
230 - _save_whitenoise2(ci,bi,(twoq*iavl),"shot");
231 --_save_whitenoise2(bi,ci,(twoq*abs(ibci)),"shot");
232 -+_save_whitenoise2(bi,ci,(twoq*std::abs(ibci)),"shot");
233 - _save_whitenoise2(bp,ei,(twoq*ibep),"shot");
234 --_save_whitenoise2(bp,ci,(twoq*abs(ijbcx)),"shot");
235 --_save_whitenoise2(si,ci,(twoq*abs(ijsc)),"shot");
236 -+_save_whitenoise2(bp,ci,(twoq*std::abs(ijbcx)),"shot");
237 -+_save_whitenoise2(si,ci,(twoq*std::abs(ijsc)),"shot");
238 - if
239 - (flcono==1)
240 - {
241
242 diff --git a/sci-electronics/qucs/metadata.xml b/sci-electronics/qucs/metadata.xml
243 deleted file mode 100644
244 index f233ea25af1..00000000000
245 --- a/sci-electronics/qucs/metadata.xml
246 +++ /dev/null
247 @@ -1,15 +0,0 @@
248 -<?xml version="1.0" encoding="UTF-8"?>
249 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
250 -<pkgmetadata>
251 - <maintainer type="person">
252 - <email>mgorny@g.o</email>
253 - <name>Michał Górny</name>
254 - </maintainer>
255 - <maintainer type="project">
256 - <email>sci-electronics@g.o</email>
257 - <name>Gentoo Electronics Project</name>
258 - </maintainer>
259 - <upstream>
260 - <remote-id type="sourceforge">qucs</remote-id>
261 - </upstream>
262 -</pkgmetadata>
263
264 diff --git a/sci-electronics/qucs/qucs-0.0.18.ebuild b/sci-electronics/qucs/qucs-0.0.18.ebuild
265 deleted file mode 100644
266 index 6e2f31e81f3..00000000000
267 --- a/sci-electronics/qucs/qucs-0.0.18.ebuild
268 +++ /dev/null
269 @@ -1,68 +0,0 @@
270 -# Copyright 1999-2017 Gentoo Foundation
271 -# Distributed under the terms of the GNU General Public License v2
272 -
273 -EAPI=6
274 -
275 -inherit flag-o-matic toolchain-funcs
276 -
277 -DESCRIPTION="Quite Universal Circuit Simulator in Qt4"
278 -HOMEPAGE="http://qucs.sourceforge.net/"
279 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
280 -
281 -LICENSE="GPL-2"
282 -SLOT="0"
283 -KEYWORDS="~amd64 ~x86"
284 -IUSE="debug"
285 -
286 -RDEPEND="dev-qt/qtcore:4[qt3support]
287 - dev-qt/qtgui:4[qt3support]
288 - dev-qt/qtscript:4
289 - dev-qt/qtsvg:4
290 - dev-qt/qt3support:4
291 - x11-libs/libX11:0="
292 -DEPEND="${RDEPEND}"
293 -
294 -PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
295 -
296 -src_prepare() {
297 - default
298 -
299 - # oh my, they strip -g out of C*FLAGS and force -s into LDFLAGS
300 - # note: edit .ac first, then generated files, so that the latter
301 - # have newer timestamp and not trigger regen
302 - sed -i \
303 - -e 's/C.*FLAGS.*sed.*-g.*$/:/' \
304 - -e 's/C.*FLAGS.*-O0.*$/:/' \
305 - -e 's/LDFLAGS.*-s.*$/:/' \
306 - configure.ac asco/configure.ac qucs-core/configure.ac \
307 - configure asco/configure qucs-core/configure \
308 - || die "C*FLAGS and LDFLAGS sanitization sed failed"
309 -}
310 -
311 -src_configure() {
312 - local myconf=(
313 - # enables asserts and debug codepaths
314 - $(use_enable debug)
315 -
316 - # avoid automagic dep
317 - # TODO: add support for it
318 - --disable-mpi
319 - )
320 -
321 - # automagic default on clang++
322 - tc-export CXX
323 -
324 - # the package doesn't use pkg-config on Linux, only on Darwin
325 - # very smart of upstream...
326 - append-ldflags $( $(tc-getPKG_CONFIG) --libs-only-L \
327 - QtCore QtGui QtScript QtSvg QtXml Qt3Support )
328 -
329 - econf "${myconf[@]}"
330 -}
331 -
332 -pkg_postinst() {
333 - if ! has_version 'sci-electronics/freehdl'; then
334 - elog "If you would like to be able to run digital simulations, please install:"
335 - elog " sci-electronics/freehdl"
336 - fi
337 -}