1 |
rafaelmartins 10/10/01 17:02:43 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: kicad-20100505_p2356.ebuild |
5 |
Log: |
6 |
Version bump. Added myself to metadata.xml |
7 |
|
8 |
(Portage version: 2.2_rc87/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 sci-electronics/kicad/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/kicad/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 16 Nov 2009 21:40:52 -0000 1.3 |
24 |
+++ metadata.xml 1 Oct 2010 17:02:43 -0000 1.4 |
25 |
@@ -1,16 +1,17 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
- |
30 |
- <herd>sci-electronics</herd> |
31 |
- |
32 |
- <longdescription> |
33 |
- Kicad is an open source (GPL) software for the creation of electronic |
34 |
- schematic diagrams and printed circuit board artwork. |
35 |
- </longdescription> |
36 |
- |
37 |
- <use> |
38 |
- <flag name="dev-doc">Install developer documentation (requires |
39 |
- <pkg>app-doc/doxygen</pkg>)</flag> |
40 |
- </use> |
41 |
+ <herd>sci-electronics</herd> |
42 |
+ <maintainer> |
43 |
+ <email>rafaelmartins@g.o</email> |
44 |
+ <name>Rafael G. Martins</name> |
45 |
+ </maintainer> |
46 |
+ <longdescription> |
47 |
+ Kicad is an open source (GPL) software for the creation of electronic |
48 |
+ schematic diagrams and printed circuit board artwork. |
49 |
+ </longdescription> |
50 |
+ <use> |
51 |
+ <flag name="dev-doc">Install developer documentation (requires |
52 |
+ <pkg>app-doc/doxygen</pkg>)</flag> |
53 |
+ </use> |
54 |
</pkgmetadata> |
55 |
|
56 |
|
57 |
|
58 |
1.50 sci-electronics/kicad/ChangeLog |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/ChangeLog?rev=1.50&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/ChangeLog?rev=1.50&content-type=text/plain |
62 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/ChangeLog?r1=1.49&r2=1.50 |
63 |
|
64 |
Index: ChangeLog |
65 |
=================================================================== |
66 |
RCS file: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v |
67 |
retrieving revision 1.49 |
68 |
retrieving revision 1.50 |
69 |
diff -u -r1.49 -r1.50 |
70 |
--- ChangeLog 10 Jul 2010 09:46:22 -0000 1.49 |
71 |
+++ ChangeLog 1 Oct 2010 17:02:43 -0000 1.50 |
72 |
@@ -1,6 +1,12 @@ |
73 |
# ChangeLog for sci-electronics/kicad |
74 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
75 |
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.49 2010/07/10 09:46:22 ssuominen Exp $ |
76 |
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/ChangeLog,v 1.50 2010/10/01 17:02:43 rafaelmartins Exp $ |
77 |
+ |
78 |
+*kicad-20100505_p2356 (01 Oct 2010) |
79 |
+ |
80 |
+ 01 Oct 2010; Rafael G. Martins <rafaelmartins@g.o> |
81 |
+ +kicad-20100505_p2356.ebuild, metadata.xml: |
82 |
+ Version bump. Added myself to metadata.xml |
83 |
|
84 |
10 Jul 2010; Samuli Suominen <ssuominen@g.o> |
85 |
-kicad-20070115.ebuild: |
86 |
|
87 |
|
88 |
|
89 |
1.1 sci-electronics/kicad/kicad-20100505_p2356.ebuild |
90 |
|
91 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/kicad-20100505_p2356.ebuild?rev=1.1&view=markup |
92 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/kicad/kicad-20100505_p2356.ebuild?rev=1.1&content-type=text/plain |
93 |
|
94 |
Index: kicad-20100505_p2356.ebuild |
95 |
=================================================================== |
96 |
# Copyright 1999-2010 Gentoo Foundation |
97 |
# Distributed under the terms of the GNU General Public License v2 |
98 |
# $Header: /var/cvsroot/gentoo-x86/sci-electronics/kicad/kicad-20100505_p2356.ebuild,v 1.1 2010/10/01 17:02:43 rafaelmartins Exp $ |
99 |
|
100 |
EAPI="3" |
101 |
WX_GTK_VER="2.8" |
102 |
|
103 |
inherit cmake-utils wxwidgets fdo-mime gnome2-utils |
104 |
|
105 |
DESCRIPTION="Electronic Schematic and PCB design tools." |
106 |
HOMEPAGE="http://kicad.sourceforge.net" |
107 |
SRC_URI="http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-sources-${PV}.tar.xz |
108 |
!minimal? ( http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-library-${PV}.tar.xz ) |
109 |
doc? ( http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-doc-${PV}.tar.xz ) |
110 |
examples? ( http://dev.gentoo.org/~rafaelmartins/distfiles/${PN}-examples-${PV}.tar.xz )" |
111 |
|
112 |
LICENSE="GPL-2" |
113 |
SLOT="0" |
114 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
115 |
IUSE="dev-doc debug doc examples minimal python" |
116 |
|
117 |
CDEPEND="x11-libs/wxGTK:2.8[X,opengl]" |
118 |
DEPEND="${CDEPEND} |
119 |
>=dev-util/cmake-2.6.0 |
120 |
>=dev-libs/boost-1.40 |
121 |
app-arch/xz-utils |
122 |
dev-doc? ( app-doc/doxygen )" |
123 |
RDEPEND="${CDEPEND} |
124 |
sys-libs/zlib |
125 |
sci-electronics/electronics-menu |
126 |
python? ( dev-lang/python )" |
127 |
|
128 |
S="${WORKDIR}/${PN}" |
129 |
|
130 |
src_prepare() { |
131 |
# Use native boost |
132 |
sed -i -e '/Boost/s/^#check_find_package/check_find_package/' \ |
133 |
-e '/Boost/s/^#find_package/find_package/' CMakeLists.txt || die "sed failed" |
134 |
|
135 |
# Add important doc files |
136 |
sed -i -e 's/INSTALL.txt/AUTHORS.txt CHANGELOG.txt README.txt TODO.txt/' CMakeLists.txt || die "sed failed" |
137 |
|
138 |
# Fix desktop files |
139 |
rm resources/linux/mime/applications/eeschema.desktop |
140 |
sed -i -e 's/Development;//' resources/linux/mime/applications/kicad.desktop || die "sed failed" |
141 |
|
142 |
# Handle optional minimal install |
143 |
if use minimal ; then |
144 |
sed -i -e '/add_subdirectory(template)/d' \ |
145 |
-e '/add_subdirectory(kicad-library)/d' CMakeLists.txt || die "sed failed" |
146 |
fi |
147 |
|
148 |
# Add documentation and fix necessary code if requested |
149 |
if use doc ; then |
150 |
sed -i -e "s/subdirs.Add( wxT( \"kicad\" ) );/subdirs.Add( wxT( \"${PF}\" ) );/" \ |
151 |
-e '/subdirs.Add( _T( "help" ) );/d' common/edaappl.cpp || die "sed failed" |
152 |
else |
153 |
sed -i -e '/add_subdirectory(kicad-doc)/d' CMakeLists.txt || die "sed failed" |
154 |
fi |
155 |
|
156 |
# Install examples in the right place if requested |
157 |
if use examples ; then |
158 |
sed -i -e 's:${KICAD_DATA}/demos:${KICAD_DOCS}/examples:' CMakeLists.txt || die "sed failed" |
159 |
else |
160 |
sed -i -e '/add_subdirectory(demos)/d' CMakeLists.txt || die "sed failed" |
161 |
fi |
162 |
} |
163 |
|
164 |
src_configure() { |
165 |
need-wxwidgets unicode |
166 |
|
167 |
mycmakeargs="${mycmakeargs} |
168 |
-DKICAD_MINIZIP=OFF |
169 |
-DKICAD_CYRILLIC=ON |
170 |
-DwxUSE_UNICODE=ON |
171 |
-DKICAD_GOST=OFF |
172 |
-DKICAD_AUIMANAGER=OFF |
173 |
-DKICAD_AUITOOLBAR=OFF |
174 |
-DKICAD_DOCS=/usr/share/doc/${PF} |
175 |
-DKICAD_HELP=/usr/share/doc/${PF} |
176 |
$(cmake-utils_use python KICAD_PYTHON)" |
177 |
|
178 |
cmake-utils_src_configure |
179 |
} |
180 |
|
181 |
src_compile() { |
182 |
cmake-utils_src_compile |
183 |
use dev-doc && doxygen Doxyfile |
184 |
} |
185 |
|
186 |
src_install() { |
187 |
cmake-utils_src_install |
188 |
if use dev-doc ; then |
189 |
insinto /usr/share/doc/${PF} |
190 |
doins uncrustify.cfg |
191 |
cd Documentation |
192 |
doins -r GUI_Translation_HOWTO.pdf guidelines/UIpolicies.txt doxygen/doxygen |
193 |
fi |
194 |
} |
195 |
|
196 |
pkg_preinst() { |
197 |
gnome2_icon_savelist |
198 |
} |
199 |
|
200 |
pkg_postinst() { |
201 |
fdo-mime_desktop_database_update |
202 |
fdo-mime_mime_database_update |
203 |
gnome2_icon_cache_update |
204 |
|
205 |
if use minimal ; then |
206 |
ewarn "If the schematic and/or board editors complain about missing libraries when you" |
207 |
ewarn "open old projects, you will have to take one or more of the following actions :" |
208 |
ewarn "- Install the missing libraries manually." |
209 |
ewarn "- Remove the libraries from the 'Libs and Dir' preferences." |
210 |
ewarn "- Fix the libraries' locations in the 'Libs and Dir' preferences." |
211 |
ewarn "- Emerge kicad without the 'minimal' USE flag." |
212 |
elog |
213 |
fi |
214 |
elog "You may want to emerge media-gfx/wings if you want to create 3D models of components." |
215 |
} |
216 |
|
217 |
pkg_postrm() { |
218 |
fdo-mime_desktop_database_update |
219 |
fdo-mime_mime_database_update |
220 |
gnome2_icon_cache_update |
221 |
} |