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: ChangeLog eagle-5.1.0.ebuild eagle-5.2.0.ebuild eagle-4.16_p1.ebuild
Date: Thu, 02 Oct 2008 02:43:21
Message-Id: E1KlE9u-0005Tt-Bl@stork.gentoo.org
1 nixphoeni 08/10/02 02:43:18
2
3 Modified: ChangeLog eagle-5.1.0.ebuild
4 Added: eagle-5.2.0.ebuild
5 Removed: eagle-4.16_p1.ebuild
6 Log:
7 Revision bump and cleanup of old ebuilds. Also modified the warning at the end of installation to be a little more severe per UPDATE_en.
8 (Portage version: 2.2_rc9/cvs/Linux 2.6.22-ck1 x86_64)
9
10 Revision Changes Path
11 1.14 sci-electronics/eagle/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 17 Jul 2008 00:12:09 -0000 1.13
24 +++ ChangeLog 2 Oct 2008 02:43:17 -0000 1.14
25 @@ -1,6 +1,15 @@
26 # ChangeLog for sci-electronics/eagle
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.13 2008/07/17 00:12:09 nixphoeni Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/ChangeLog,v 1.14 2008/10/02 02:43:17 nixphoeni Exp $
30 +
31 +*eagle-5.2.0 (02 Oct 2008)
32 +
33 + 02 Oct 2008; Joe Sapp <nixphoeni@g.o> -eagle-4.16_p1.ebuild,
34 + eagle-5.1.0.ebuild, +eagle-5.2.0.ebuild:
35 + Revision bump. Also modified the warning at the end of installation to be
36 + a little more severe per UPDATE_en.
37 + Thanks to Alex <nabrozidhs@×××××.com> on bug #235380 for notifying me.
38 + Cleaned up old ebuilds a little too.
39
40 17 Jul 2008; Joe Sapp <nixphoeni@g.o> ChangeLog:
41 Revised ebuild for eagle version 5, which uses a new packaging system and
42
43
44
45 1.2 sci-electronics/eagle/eagle-5.1.0.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild?rev=1.2&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild?rev=1.2&content-type=text/plain
49 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild?r1=1.1&r2=1.2
50
51 Index: eagle-5.1.0.ebuild
52 ===================================================================
53 RCS file: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild,v
54 retrieving revision 1.1
55 retrieving revision 1.2
56 diff -u -r1.1 -r1.2
57 --- eagle-5.1.0.ebuild 17 Jul 2008 00:12:09 -0000 1.1
58 +++ eagle-5.1.0.ebuild 2 Oct 2008 02:43:17 -0000 1.2
59 @@ -1,6 +1,6 @@
60 # Copyright 1999-2008 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild,v 1.1 2008/07/17 00:12:09 nixphoeni Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.1.0.ebuild,v 1.2 2008/10/02 02:43:17 nixphoeni Exp $
64
65 inherit eutils
66
67 @@ -81,7 +81,11 @@
68 elog "Run \`env-update && source /etc/profile\` from within \${ROOT}"
69 elog "now to set up the correct paths."
70 elog "You must first run eagle as root to invoke product registration."
71 - elog
72 - elog "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx."
73 + echo
74 + ewarn "Due to some necessary changes in the data structure, once you edit"
75 + ewarn "a file with version 5.x you will no longer be able to edit it"
76 + ewarn "with versions prior to 5.0!"
77 + ewarn
78 + ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx."
79
80 }
81
82
83
84 1.1 sci-electronics/eagle/eagle-5.2.0.ebuild
85
86 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-5.2.0.ebuild?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-electronics/eagle/eagle-5.2.0.ebuild?rev=1.1&content-type=text/plain
88
89 Index: eagle-5.2.0.ebuild
90 ===================================================================
91 # Copyright 1999-2008 Gentoo Foundation
92 # Distributed under the terms of the GNU General Public License v2
93 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/eagle/eagle-5.2.0.ebuild,v 1.1 2008/10/02 02:43:17 nixphoeni Exp $
94
95 inherit eutils
96
97 DESCRIPTION="EAGLE Layout Editor"
98 HOMEPAGE="http://www.cadsoft.de"
99
100 KEYWORDS="~amd64 ~x86"
101 IUSE="linguas_de doc"
102 LICENSE="cadsoft"
103 RESTRICT="strip"
104 SLOT="0"
105
106 # Cadsoft has used the suffix "_p" in the past which we translate to "r"
107 MY_PV=${PV/_p/r}
108
109 SRC_URI="ftp://ftp.cadsoft.de/pub/program/${PV%\.[0-9]}/${PN}-lin-${MY_PV}.run"
110
111 RDEPEND="sys-libs/glibc
112 x11-libs/libXext
113 x11-libs/libX11
114 x11-libs/libXau
115 x11-libs/libXdmcp"
116
117 # Append ${PV} since that's what upstream installs to
118 INSTALLDIR="/opt/eagle-${PV}"
119 case "${LINGUAS}" in
120 *de*)
121 MY_LANG="de";;
122 *)
123 MY_LANG="en";;
124 esac
125 # Mandatory documentation being installed
126 DOCS="README_${MY_LANG} UPDATE_${MY_LANG} library_${MY_LANG}.txt"
127
128 src_unpack() {
129
130 # Extract the built-in .tar.bz2 file starting at __DATA__
131 sed -e '1,/^__DATA__$/d' "${DISTDIR}/${A}" | tar xj || die "unpacking failed"
132
133 }
134
135 src_install() {
136
137 cd "${S}"
138 dodir ${INSTALLDIR}
139 # Copy all to INSTALLDIR
140 cp -r . "${D}"/${INSTALLDIR}
141
142 # Install wrapper (suppressing leading tabs)
143 # see bug #188368 or http://www.cadsoft.de/faq.htm#17040701
144 exeinto /usr/bin
145 newexe "${FILESDIR}/eagle_wrapper_script" eagle
146 # Finally, append the path of the eagle binary respecting INSTALLDIR and any
147 # arguments passed to the script (thanks Denilson)
148 echo "${INSTALLDIR}/bin/eagle" '"$@"' >> "${D}/usr/bin/eagle"
149
150 # Install the documentation
151 cd doc
152 dodoc ${DOCS}
153 # Install extra documentation if requested
154 use doc && dodoc elektro-tutorial.pdf manual_${MY_LANG}.pdf tutorial_${MY_LANG}.pdf
155 doman eagle.1
156 # Remove docs left in INSTALLDIR
157 rm -rf "${D}${INSTALLDIR}/doc/*"
158 cd ..
159
160 echo -e "ROOTPATH=${INSTALLDIR}/bin\nPRELINK_PATH_MASK=${INSTALLDIR}" > "${S}/90eagle"
161 doenvd "${S}/90eagle"
162
163 # Create desktop entry
164 doicon bin/${PN}icon50.png
165 make_desktop_entry "${ROOT}/usr/bin/eagle" ${PN} ${PN}icon50.png "Graphics;Electronics"
166
167 }
168
169 pkg_postinst() {
170
171 elog "Run \`env-update && source /etc/profile\` from within \${ROOT}"
172 elog "now to set up the correct paths."
173 elog "You must first run eagle as root to invoke product registration."
174 echo
175 ewarn "Due to some necessary changes in the data structure, once you edit"
176 ewarn "a file with version 5.x you will no longer be able to edit it"
177 ewarn "with versions prior to 5.0!"
178 ewarn
179 ewarn "Please read /usr/share/doc/${PF}/UPDATE_${MY_LANG} if you are upgrading from 4.xx."
180 }