1 |
tomjbe 11/04/28 15:58:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gspiceui-0.9.99-r1.ebuild |
5 |
Log: |
6 |
Fix user manual lookup. Add missing spice models for USE=examples |
7 |
|
8 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.5 sci-electronics/gspiceui/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?rev=1.5&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?rev=1.5&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/ChangeLog?r1=1.4&r2=1.5 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v |
20 |
retrieving revision 1.4 |
21 |
retrieving revision 1.5 |
22 |
diff -u -r1.4 -r1.5 |
23 |
--- ChangeLog 1 Nov 2010 15:25:20 -0000 1.4 |
24 |
+++ ChangeLog 28 Apr 2011 15:58:00 -0000 1.5 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-electronics/gspiceui |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.4 2010/11/01 15:25:20 fauli Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/ChangeLog,v 1.5 2011/04/28 15:58:00 tomjbe Exp $ |
31 |
+ |
32 |
+*gspiceui-0.9.99-r1 (28 Apr 2011) |
33 |
+ |
34 |
+ 28 Apr 2011; Thomas Beierlein <tomjbe@g.o> +gspiceui-0.9.99-r1.ebuild, |
35 |
+ +files/gspiceui-0.9.99-examples.patch: |
36 |
+ Fix user manual lookup. Add missing spice models for USE=examples |
37 |
|
38 |
01 Nov 2010; Christian Faulhammer <fauli@g.o> |
39 |
gspiceui-0.9.99.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-electronics/gspiceui/gspiceui-0.9.99-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/gspiceui-0.9.99-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/gspiceui/gspiceui-0.9.99-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gspiceui-0.9.99-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-0.9.99-r1.ebuild,v 1.1 2011/04/28 15:58:00 tomjbe Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
WX_GTK_VER="2.8" |
57 |
inherit eutils wxwidgets |
58 |
|
59 |
MY_P="${PN}-v${PV}" |
60 |
|
61 |
DESCRIPTION="GUI frontend for Ngspice and Gnucap" |
62 |
HOMEPAGE="http://www.geda.seul.org/tools/gspiceui/" |
63 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
IUSE="examples schematics waveform" |
69 |
|
70 |
DEPEND="x11-libs/wxGTK:2.8[X] |
71 |
sci-electronics/electronics-menu" |
72 |
RDEPEND="${DEPEND} |
73 |
|| ( sci-electronics/ng-spice-rework sci-electronics/gnucap ) |
74 |
waveform? ( sci-electronics/gwave ) |
75 |
schematics? ( sci-electronics/geda )" |
76 |
|
77 |
S="${WORKDIR}/${MY_P}" |
78 |
|
79 |
src_prepare() { |
80 |
# Use Gentoo LDFLAGS and CXXFLAGS |
81 |
epatch "${FILESDIR}/${P}-flags.patch" |
82 |
# Add missing models for examples |
83 |
epatch "${FILESDIR}"/${P}-examples.patch |
84 |
|
85 |
# Adjusting the doc path at src/main/HelpTasks.cpp |
86 |
sed -i -e \ |
87 |
"s:/share/gspiceui/html/User-Manual.html:/share/doc/${PF}/html/User-Manual.html:g" \ |
88 |
src/main/HelpTasks.cpp \ |
89 |
|| die "Patching src/main/HelpTasks.cpp failed" |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
dobin bin/gspiceui || die |
94 |
dodoc ChangeLog ToDo || die |
95 |
doman gspiceui.1 || die |
96 |
newicon src/icons/gspiceui-48x48.xpm gspiceui.xpm || die |
97 |
|
98 |
dohtml html/*.html html/*.jpeg || die |
99 |
|
100 |
# installing examples and according model and symbol files |
101 |
if use examples ; then |
102 |
insinto /usr/share/doc/${PF}/sch |
103 |
doins -r sch/* || die |
104 |
insinto /usr/share/doc/${PF}/lib |
105 |
doins -r lib/* || die |
106 |
fi |
107 |
|
108 |
make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics" |
109 |
} |
110 |
|
111 |
pkg_postinst() { |
112 |
if use examples ; then |
113 |
elog "If you want to use the examples, copy from" |
114 |
elog "/usr/share/doc/${PF} the sch and lib directory" |
115 |
elog "side by side to your home directory to be able" |
116 |
elog "to generate the netlists as normal user." |
117 |
fi |
118 |
} |