Gentoo Archives: gentoo-commits

From: "Joe Sapp (nixphoeni)" <nixphoeni@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/eagle: eagle-4.16_p2.ebuild ChangeLog eagle-4.16_p1.ebuild eagle-4.16_p2-r1.ebuild
Date: Sat, 10 Nov 2007 22:52:58
Message-Id: E1IqzC8-00009h-9l@stork.gentoo.org
1 nixphoeni 07/11/10 22:52:52
2
3 Modified: eagle-4.16_p2.ebuild ChangeLog eagle-4.16_p1.ebuild
4 Added: eagle-4.16_p2-r1.ebuild
5 Log:
6 Added script to /usr/bin to execute eagle as recommended by CadSoft - see bug #188368.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.5 sci-electronics/eagle/eagle-4.16_p2.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2.ebuild?r1=1.4&r2=1.5
15
16 Index: eagle-4.16_p2.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- eagle-4.16_p2.ebuild 13 Oct 2007 14:11:06 -0000 1.4
23 +++ eagle-4.16_p2.ebuild 10 Nov 2007 22:52:51 -0000 1.5
24 @@ -1,13 +1,13 @@
25 # Copyright 1999-2007 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2.ebuild,v 1.4 2007/10/13 14:11:06 angelos Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2.ebuild,v 1.5 2007/11/10 22:52:51 nixphoeni Exp $
29
30 inherit eutils
31
32 DESCRIPTION="EAGLE Layout Editor"
33 HOMEPAGE="http://www.cadsoft.de"
34
35 -KEYWORDS="amd64 x86"
36 +KEYWORDS="~amd64 x86"
37 IUSE="linguas_de doc"
38 LICENSE="cadsoft"
39 RESTRICT="strip"
40 @@ -44,7 +44,7 @@
41 esac
42 MANFILE=${MANDOC}-${MY_LANG}-${MANVER}.pdf
43 MY_P=${PN}-lin-${MY_LANG}-${MY_PV}
44 -S=${WORKDIR}/${MY_P}
45 +S="${WORKDIR}/${MY_P}"
46
47 src_unpack() {
48
49 @@ -62,7 +62,7 @@
50
51 # Install the documentation
52 dodoc README doc/*
53 - use doc && cp ${MANFILE} ${D}/usr/share/doc/${PF}
54 + use doc && cp ${MANFILE} "${D}"/usr/share/doc/${PF}
55 doman man/eagle.1
56 # Remove docs left in INSTALLDIR
57 rm -rf "${D}"/${INSTALLDIR}/{README,install,${MANFILE}} "${D}"/${INSTALLDIR}/doc "${D}"/${INSTALLDIR}/man
58 @@ -78,7 +78,8 @@
59
60 pkg_postinst() {
61
62 - elog "Run \`env-update && source /etc/profile\` now to set up the correct paths."
63 + elog "Run \`env-update && source /etc/profile\` from within \${ROOT}"
64 + elog "now to set up the correct paths."
65 elog "You must first run eagle as root to invoke product registration."
66
67 }
68
69
70
71 1.10 sci-electronics/eagle/ChangeLog
72
73 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/ChangeLog?rev=1.10&view=markup
74 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/ChangeLog?rev=1.10&content-type=text/plain
75 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/ChangeLog?r1=1.9&r2=1.10
76
77 Index: ChangeLog
78 ===================================================================
79 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v
80 retrieving revision 1.9
81 retrieving revision 1.10
82 diff -u -r1.9 -r1.10
83 --- ChangeLog 13 Oct 2007 14:11:06 -0000 1.9
84 +++ ChangeLog 10 Nov 2007 22:52:51 -0000 1.10
85 @@ -1,6 +1,15 @@
86 # ChangeLog for sci-electronics/eagle
87 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
88 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.9 2007/10/13 14:11:06 angelos Exp $
89 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.10 2007/11/10 22:52:51 nixphoeni Exp $
90 +
91 +*eagle-4.16_p2-r1 (10 Nov 2007)
92 +
93 + 10 Nov 2007; Joe Sapp <nixphoeni@g.o> +files/eagle_wrapper_script,
94 + eagle-4.16_p1.ebuild, eagle-4.16_p2.ebuild, +eagle-4.16_p2-r1.ebuild:
95 + Added script to /usr/bin to execute eagle as recommended by CadSoft at
96 + http://www.cadsoft.de/faq.htm#17040701 . Also see bug #188368. This
97 + eliminates the need to append the eagle directory to the PATH env var.
98 + Also quoted variables that may need it.
99
100 13 Oct 2007; Christoph Mende <angelos@g.o> eagle-4.16_p2.ebuild:
101 Stable on amd64 wrt bug #188368
102
103
104
105 1.6 sci-electronics/eagle/eagle-4.16_p1.ebuild
106
107 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild?rev=1.6&view=markup
108 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild?rev=1.6&content-type=text/plain
109 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild?r1=1.5&r2=1.6
110
111 Index: eagle-4.16_p1.ebuild
112 ===================================================================
113 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild,v
114 retrieving revision 1.5
115 retrieving revision 1.6
116 diff -u -r1.5 -r1.6
117 --- eagle-4.16_p1.ebuild 13 Sep 2007 01:42:17 -0000 1.5
118 +++ eagle-4.16_p1.ebuild 10 Nov 2007 22:52:51 -0000 1.6
119 @@ -1,6 +1,6 @@
120 # Copyright 1999-2007 Gentoo Foundation
121 # Distributed under the terms of the GNU General Public License v2
122 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild,v 1.5 2007/09/13 01:42:17 nixphoeni Exp $
123 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p1.ebuild,v 1.6 2007/11/10 22:52:51 nixphoeni Exp $
124
125 inherit eutils
126
127 @@ -37,7 +37,7 @@
128 esac
129 MANFILE=${MANDOC}-${MY_LANG}-${MANVER}.pdf
130 MY_P=${PN}-lin-${MY_LANG}-${MY_PV}
131 -S=${WORKDIR}/${MY_P}
132 +S="${WORKDIR}/${MY_P}"
133
134 src_unpack() {
135
136 @@ -55,7 +55,7 @@
137
138 # Install the documentation
139 dodoc README doc/*
140 - use doc && cp ${MANFILE} ${D}/usr/share/doc/${PF}
141 + use doc && cp ${MANFILE} "${D}"/usr/share/doc/${PF}
142 doman man/eagle.1
143 # Remove docs left in INSTALLDIR
144 rm -rf "${D}"/${INSTALLDIR}/{README,install,${MANFILE}} "${D}"/${INSTALLDIR}/doc "${D}"/${INSTALLDIR}/man
145 @@ -71,7 +71,8 @@
146
147 pkg_postinst() {
148
149 - elog "Run \`env-update && source /etc/profile\` now to set up the correct paths."
150 + elog "Run \`env-update && source /etc/profile\` from within \${ROOT}"
151 + elog "now to set up the correct paths."
152 elog "You must first run eagle as root to invoke product registration."
153
154 }
155
156
157
158 1.1 sci-electronics/eagle/eagle-4.16_p2-r1.ebuild
159
160 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2-r1.ebuild?rev=1.1&view=markup
161 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2-r1.ebuild?rev=1.1&content-type=text/plain
162
163 Index: eagle-4.16_p2-r1.ebuild
164 ===================================================================
165 # Copyright 1999-2007 Gentoo Foundation
166 # Distributed under the terms of the GNU General Public License v2
167 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-4.16_p2-r1.ebuild,v 1.1 2007/11/10 22:52:51 nixphoeni Exp $
168
169 inherit eutils
170
171 DESCRIPTION="EAGLE Layout Editor"
172 HOMEPAGE="http://www.cadsoft.de"
173
174 KEYWORDS="~amd64 ~x86"
175 IUSE="linguas_de doc"
176 LICENSE="cadsoft"
177 RESTRICT="strip"
178 SLOT="0"
179
180 MY_PV=${PV/_p/r}
181 MANDOC="cadsoft_eagle_manual"
182 #
183 # When updating this package:
184 # 1) fetch the english and german documentation
185 # 2) update the following MANVER to the document's date
186 # 3) rename the docs to "${MANDOC}-{eng,ger}-${MANVER}.pdf"
187 # 4) stick them on the mirrors (or in your local ${DISTDIR})
188 #
189 MANVER="2006.12.13"
190
191 SRC_URI="linguas_de? ( ftp://ftp.cadsoft.de/pub/program/${MY_PV}/${PN}-lin-ger-${MY_PV}.tgz
192 doc? ( mirror://gentoo/${MANDOC}-ger-${MANVER}.pdf ) )
193 !linguas_de? ( ftp://ftp.cadsoft.de/pub/program/${MY_PV}/${PN}-lin-eng-${MY_PV}.tgz
194 doc? ( mirror://gentoo/${MANDOC}-eng-${MANVER}.pdf ) )"
195
196 RDEPEND="sys-libs/glibc
197 x11-libs/libXext
198 x11-libs/libX11
199 x11-libs/libXau
200 x11-libs/libXdmcp"
201
202 INSTALLDIR="/opt/eagle"
203 case "${LINGUAS}" in
204 *de*)
205 MY_LANG="ger";;
206 *)
207 MY_LANG="eng";;
208 esac
209 MANFILE=${MANDOC}-${MY_LANG}-${MANVER}.pdf
210 MY_P=${PN}-lin-${MY_LANG}-${MY_PV}
211 S="${WORKDIR}/${MY_P}"
212
213 src_unpack() {
214
215 unpack ${MY_P}.tgz
216 use doc && cp "${DISTDIR}"/${MANFILE} "${S}"
217
218 }
219
220 src_install() {
221
222 cd "${S}"
223 dodir ${INSTALLDIR}
224 # Copy all to INSTALLDIR
225 cp -r . "${D}"/${INSTALLDIR}
226
227 # Install wrapper (suppressing leading tabs)
228 # see bug #188368 or http://www.cadsoft.de/faq.htm#17040701
229 exeinto /usr/bin
230 newexe "${FILESDIR}/eagle_wrapper_script" eagle
231 # Finally, append the path of the eagle binary respecting INSTALLDIR
232 echo "${INSTALLDIR}/bin/eagle" >> "${D}/usr/bin/eagle"
233
234 # Install the documentation
235 dodoc README doc/*
236 doman man/eagle.1
237 # Conditionally install the user's manual
238 use doc && cp ${MANFILE} "${D}/usr/share/doc/${PF}"
239 # Remove docs left in INSTALLDIR
240 rm -rf "${D}${INSTALLDIR}/{README,install,${MANFILE}}" "${D}${INSTALLDIR}/doc" "${D}${INSTALLDIR}/man"
241
242 echo -e "ROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}/90eagle"
243 doenvd "${S}/90eagle"
244
245 # Create desktop entry
246 doicon bin/${PN}.xpm
247 make_desktop_entry ${PN} ${PN} ${PN}.xpm "Graphics;Electronics"
248
249 }
250
251 pkg_postinst() {
252
253 elog "Run \`env-update && source /etc/profile\` from within \${ROOT}"
254 elog "now to set up the correct paths."
255 elog "You must first run eagle as root to invoke product registration."
256
257 }
258
259
260
261 --
262 gentoo-commits@g.o mailing list