Gentoo Archives: gentoo-commits

From: Denis Dupeyron <calchan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/gspiceui/files/, sci-electronics/gspiceui/
Date: Wed, 09 Dec 2015 18:01:52
Message-Id: 1449684047.dcc39193280a02b411308cdd084907409d4ac936.calchan@gentoo
1 commit: dcc39193280a02b411308cdd084907409d4ac936
2 Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 9 18:00:47 2015 +0000
4 Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 9 18:00:47 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc39193
7
8 sci-electronics/gspiceui: remove old 0.9.99
9
10 Package-Manager: portage-2.2.26
11
12 sci-electronics/gspiceui/Manifest | 1 -
13 .../gspiceui/files/gspiceui-0.9.99-examples.patch | 52 -----------------
14 .../gspiceui/files/gspiceui-0.9.99-flags.patch | 27 ---------
15 sci-electronics/gspiceui/gspiceui-0.9.99.ebuild | 67 ----------------------
16 4 files changed, 147 deletions(-)
17
18 diff --git a/sci-electronics/gspiceui/Manifest b/sci-electronics/gspiceui/Manifest
19 index 75f2d29..0a560e0 100644
20 --- a/sci-electronics/gspiceui/Manifest
21 +++ b/sci-electronics/gspiceui/Manifest
22 @@ -1,2 +1 @@
23 -DIST gspiceui-v0.9.99.tar.gz 574595 SHA256 9d76db157c4b3f0d4b7bba289653f6646da5183eb7cdc08c9f1056aa7d3f9533 SHA512 87e3422b7425d8ed99c5f946ce27c35a12b3379ae61dd0c8114815fe2d413f9cb983da2cb3a284af6432bfd49dd4cf6d3f1e3aa78e815999e5dccc420890dffe WHIRLPOOL c8417ab5f4c4ca74987978716aa5a224a1b64f38b7e029e0fe3e589082488c8251d4dfe5c2b7e22c6a25ba23632dad0d71331283003ee06c417e9a27a2bb6a6e
24 DIST gspiceui-v1.1.00.tar.gz 1048236 SHA256 22cbe0a8800f9fade43235c74df2e3defb06f2d6e0ac57cff81d058ab89da564 SHA512 46ccf3dd7a5dd9ec1cac1eb742187ecab15a6c0033467d52a44c916e239696faf7b8797e1a155191cf0ed37b04619b0666cff51e78912a06ecd2c63d377cba93 WHIRLPOOL 66c0e089c9246924eee308ec120a7ecd256d91b4e54306d3c7f9e4bc2fcd2982157bbb551d376fb80f1df1c547ea9723a9dc9b0549745f79ff754f2202ef7204
25
26 diff --git a/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch b/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch
27 deleted file mode 100644
28 index 54d37ce..0000000
29 --- a/sci-electronics/gspiceui/files/gspiceui-0.9.99-examples.patch
30 +++ /dev/null
31 @@ -1,52 +0,0 @@
32 -# add missing simulation models
33 -diff -uNr lib/npn/bc548.mod lib/npn/bc548.mod
34 ---- lib/npn/bc548.mod 1970-01-01 01:00:00.000000000 +0100
35 -+++ lib/npn/bc548.mod 2009-09-10 01:25:48.000000000 +0200
36 -@@ -0,0 +1,5 @@
37 -+*BC548BP ZETEX Spice model Last revision 4/90 General Purpose
38 -+*ZTX Si 500mW 30V 200mA 300MHz pkg:TO-92 1,2,3
39 -+.MODEL BC548 NPN( IS=10.2F NF=1 BF=676 VAF=98.6 IKF=60M ISE=1.94P NE=2 BR=4 NR=1
40 -++ VAR=24 IKR=90M RE=0.515 RB=2.06 RC=0.206 XTB=1.5 CJE=7.05P VJE=1.1 MJE=0.5
41 -++ CJC=5.21P VJC=0.3 MJC=0.3 TF=530P TR=368N )
42 -diff -uNr lib/npn/bc550.mod lib/npn/bc550.mod
43 ---- lib/npn/bc550.mod 1970-01-01 01:00:00.000000000 +0100
44 -+++ lib/npn/bc550.mod 2009-09-10 01:25:33.000000000 +0200
45 -@@ -0,0 +1,6 @@
46 -+*BC550BP ZETEX Spice model Last revision 4/90 Low Noise
47 -+*ZTX Si 3dB 45V 200mA 300MHz pkg:TO-92 1,2,3
48 -+.MODEL BC550 NPN( IS=1.8E-14 BF=400 NF=0.9955 VAF=80 IKF=0.14 ISE=5E-14
49 -++ NE=1.46 BR=35.5 NR=1.005 VAR=12.5 IKR=0.03 ISC=1.72E-13 NC=1.27 RB=0.56
50 -++ RE=0.6 RC=0.25 CJE=1.3E-11 TF=6.4E-10 CJC=4E-12 VJC=0.54 TR=5.072E-8 )
51 -+
52 -diff -uNr lib/npn/tip41.mod lib/npn/tip41.mod
53 ---- lib/npn/tip41.mod 1970-01-01 01:00:00.000000000 +0100
54 -+++ lib/npn/tip41.mod 2007-09-04 17:41:08.000000000 +0200
55 -@@ -0,0 +1,4 @@
56 -+.MODEL TIP41 NPN(IS=457.5f XTI=3 EG=1.11 VAF=50 BF=156.7 ISE=1.346p NE=1.34
57 -++ IKF=3.296 NK=.5961 XTB=2.2 BR=7.639 ISC=604.1f NC=2.168 IKR=8.131m RC=91.29m
58 -++ CJC=278.7p MJC=.385 VJC=.75 FC=.5 CJE=433p MJE=.5 VJE=.75 TR=1.412u TF=37.34n
59 -++ ITF=35.68 XTF=1.163 VTF=10 RB=.1)
60 -diff -uNr lib/pnp/2n5401.mod lib/pnp/2n5401.mod
61 ---- lib/pnp/2n5401.mod 1970-01-01 01:00:00.000000000 +0100
62 -+++ lib/pnp/2n5401.mod 2007-09-04 17:41:08.000000000 +0200
63 -@@ -0,0 +1,4 @@
64 -+.MODEL 2N5401 PNP(IS=4.61E-13 BF=93 VAF=220 IKF=0.91 ISE=7.54E-11
65 -++ NE=2 BR=4 VAR=20 IKR=1.36 RB=3.86 RE=0.965 RC=0.386 CJE=5.66E-11 VJE=1.1
66 -++ MJE=0.5 TF=5.3E-10 CJC=2.36E-11 VJC=0.3 MJC=0.3 TR=3.68E-7 XTB=1.5 )
67 -+
68 -diff -uNr lib/pnp/bc558.mod lib/pnp/bc558.mod
69 ---- lib/pnp/bc558.mod 1970-01-01 01:00:00.000000000 +0100
70 -+++ lib/pnp/bc558.mod 2007-09-04 17:41:08.000000000 +0200
71 -@@ -0,0 +1,4 @@
72 -+.MODEL BC558 PNP(IS=1.15E-14 BF=330 NF=0.9872 VAF=84.56 IKF=0.1
73 -++ ISE=5E-14 NE=1.4 BR=13 NR=0.996 VAR=8.15 IKR=0.012 ISC=1.43E-14 NC=1.1
74 -++ RB=0.2 RE=0.4 RC=0.95 CJE=1.6E-11 TF=4.93E-10 CJC=1.05E-11 VJC=0.565
75 -++ MJC=0.415 TR=7.355E-8)
76 -diff -uNr lib/pnp/tip42.mod lib/pnp/tip42.mod
77 ---- lib/pnp/tip42.mod 1970-01-01 01:00:00.000000000 +0100
78 -+++ lib/pnp/tip42.mod 2007-09-04 17:41:08.000000000 +0200
79 -@@ -0,0 +1,4 @@
80 -+.MODEL TIP42 PNP(IS=66.19f XTI=3 EG=1.11 VAF=100 BF=137.6 ISE=862.2f NE=1.481
81 -++ IKF=1.642 NK=.5695 XTB=2 BR=5.88 ISC=273.5f NC=1.24 IKR=3.555 RC=79.39m
82 -++ CJC=870.4p MJC=.6481 VJC=.75 FC=.5 CJE=390.1p MJE=.4343 VJE=.75 TR=235.4n
83 -++ TF=23.21n ITF=71.33 XTF=5.982 VTF=10 RB=.1)
84
85 diff --git a/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch b/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch
86 deleted file mode 100644
87 index 5129929..0000000
88 --- a/sci-electronics/gspiceui/files/gspiceui-0.9.99-flags.patch
89 +++ /dev/null
90 @@ -1,27 +0,0 @@
91 -diff -urN gspiceui-v0.9.99.orig/src/Makefile gspiceui-v0.9.99/src/Makefile
92 ---- gspiceui-v0.9.99.orig/src/Makefile 2010-04-16 10:43:59.000000000 +0200
93 -+++ gspiceui-v0.9.99/src/Makefile 2010-11-01 00:25:32.000000000 +0100
94 -@@ -59,13 +59,7 @@
95 - INSTALLDIR = /usr/local/bin
96 -
97 - # Compiler options
98 --ifeq ($(GSPICEUI_DBG),0)
99 -- # Options for release (not using -Wall since it's GCC specific)
100 -- CXXFLAGS := -O -pipe $(shell $(WXCFG) --cxxflags)
101 --else
102 -- # Options for development
103 -- CXXFLAGS := -Wall -g -pipe $(shell $(WXCFG) --cxxflags)
104 --endif
105 -+CXXFLAGS += $(shell $(WXCFG) --cxxflags)
106 -
107 - # Includes
108 - INCLUDES = -I/usr/include -I/usr/X11R6/include -I.
109 -@@ -108,7 +102,7 @@
110 - # -o specify the output file name
111 -
112 - $(BINDIR)/$(PROG) : $(OBJS)
113 -- $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LIBS)
114 -+ $(CC) -pipe -o $(BINDIR)/$(PROG) obj/*.o $(LDFLAGS) $(LIBS)
115 - ifeq ($(ROOT)/GSpiceUI.app,$(wildcard $(ROOT)/GSpiceUI.app))
116 - cp $(BINDIR)/$(PROG) $(ROOT)/GSpiceUI.app/Contents/MacOS/gspiceui
117 - endif
118
119 diff --git a/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild b/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild
120 deleted file mode 100644
121 index a765d04..0000000
122 --- a/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild
123 +++ /dev/null
124 @@ -1,67 +0,0 @@
125 -# Copyright 1999-2011 Gentoo Foundation
126 -# Distributed under the terms of the GNU General Public License v2
127 -# $Id$
128 -
129 -EAPI="2"
130 -
131 -WX_GTK_VER="2.8"
132 -inherit eutils wxwidgets
133 -
134 -MY_P="${PN}-v${PV}"
135 -
136 -DESCRIPTION="GUI frontend for Ngspice and Gnucap"
137 -HOMEPAGE="http://sourceforge.net/projects/gspiceui/"
138 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
139 -
140 -LICENSE="GPL-2"
141 -SLOT="0"
142 -KEYWORDS="amd64 x86"
143 -IUSE="examples schematics waveform"
144 -
145 -DEPEND="x11-libs/wxGTK:2.8[X]
146 - sci-electronics/electronics-menu"
147 -RDEPEND="${DEPEND}
148 - || ( sci-electronics/ngspice sci-electronics/gnucap )
149 - waveform? ( sci-electronics/gwave )
150 - schematics? ( sci-electronics/geda )"
151 -
152 -S="${WORKDIR}/${MY_P}"
153 -
154 -src_prepare() {
155 - # Use Gentoo LDFLAGS and CXXFLAGS
156 - epatch "${FILESDIR}/${P}-flags.patch"
157 -
158 - # Adjusting the doc path at src/main/HelpTasks.cpp
159 - sed -i \
160 - -e "s:/share/gspiceui/html/gSpiceUI.html:/share/doc/${PF}/html/gSpiceUI.html:" \
161 - src/main/HelpTasks.cpp \
162 - || die "Patching src/main/HelpTasks.cpp failed"
163 -}
164 -
165 -src_install() {
166 - dobin bin/gspiceui || die
167 - dodoc ChangeLog ToDo || die
168 - doman gspiceui.1 || die
169 - newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die
170 -
171 - dohtml html/*.html html/*.jpeg || die
172 -
173 - # installing examples and according model and symbol files
174 - if use examples ; then
175 - insinto /usr/share/doc/${PF}/sch
176 - doins -r sch/* || die
177 - insinto /usr/share/doc/${PF}/lib
178 - doins -r lib/* || die
179 - fi
180 -
181 - make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics"
182 -}
183 -
184 -pkg_postinst() {
185 - if use examples ; then
186 - elog "If you want to use the examples, copy from"
187 - elog "/usr/share/doc/${PF} the sch and lib directory"
188 - elog "side by side to your home directory to be able"
189 - elog "to generate the netlists as normal user."
190 - fi
191 -}