1 |
hwoarang 11/02/22 17:09:37 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: openocd-0.4.0.ebuild openocd-0.3.1-r1.ebuild |
5 |
Log: |
6 |
Detect ftd2xx library correctly. Bug #355563. Version bump thanks to Stephen Bridges <widget@××××××××.uk>. Bug #320045 |
7 |
|
8 |
(Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 dev-embedded/openocd/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/metadata.xml?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/metadata.xml?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/metadata.xml?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/openocd/metadata.xml,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- metadata.xml 17 Jun 2009 10:04:16 -0000 1.3 |
24 |
+++ metadata.xml 22 Feb 2011 17:09:37 -0000 1.4 |
25 |
@@ -2,6 +2,10 @@ |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
<herd>dev-embedded</herd> |
29 |
+<maintainer> |
30 |
+<email>hwoarang@g.o</email> |
31 |
+<name>Markos Chandras</name> |
32 |
+</maintainer> |
33 |
<use> |
34 |
<flag name='ftd2xx'>Enable support for USB FTDI chips via <pkg>dev-embedded/libftd2xx</pkg></flag> |
35 |
<flag name='ftdi'>Enable support for USB FTDI chips via <pkg>dev-embedded/libftdi</pkg></flag> |
36 |
|
37 |
|
38 |
|
39 |
1.11 dev-embedded/openocd/ChangeLog |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/ChangeLog?rev=1.11&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/ChangeLog?rev=1.11&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/ChangeLog?r1=1.10&r2=1.11 |
44 |
|
45 |
Index: ChangeLog |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-embedded/openocd/ChangeLog,v |
48 |
retrieving revision 1.10 |
49 |
retrieving revision 1.11 |
50 |
diff -u -r1.10 -r1.11 |
51 |
--- ChangeLog 7 Mar 2010 04:44:21 -0000 1.10 |
52 |
+++ ChangeLog 22 Feb 2011 17:09:37 -0000 1.11 |
53 |
@@ -1,6 +1,14 @@ |
54 |
# ChangeLog for dev-embedded/openocd |
55 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/ChangeLog,v 1.10 2010/03/07 04:44:21 vapier Exp $ |
57 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/ChangeLog,v 1.11 2011/02/22 17:09:37 hwoarang Exp $ |
59 |
+ |
60 |
+*openocd-0.4.0 (22 Feb 2011) |
61 |
+*openocd-0.3.1-r1 (22 Feb 2011) |
62 |
+ |
63 |
+ 22 Feb 2011; Markos Chandras <hwoarang@g.o> +openocd-0.3.1-r1.ebuild, |
64 |
+ +openocd-0.4.0.ebuild, metadata.xml: |
65 |
+ Detect ftd2xx library correctly. Bug #355563. Version bump thanks to Stephen |
66 |
+ Bridges <widget@××××××××.uk>. Bug #320045 |
67 |
|
68 |
07 Mar 2010; Mike Frysinger <vapier@g.o> openocd-0.3.1.ebuild, |
69 |
openocd-9999.ebuild: |
70 |
|
71 |
|
72 |
|
73 |
1.1 dev-embedded/openocd/openocd-0.4.0.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/openocd-0.4.0.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/openocd-0.4.0.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: openocd-0.4.0.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2011 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-0.4.0.ebuild,v 1.1 2011/02/22 17:09:37 hwoarang Exp $ |
83 |
|
84 |
EGIT_REPO_URI="git://openocd.git.sourceforge.net/gitroot/openocd/openocd" |
85 |
inherit eutils |
86 |
if [[ ${PV} == "9999" ]] ; then |
87 |
inherit git autotools |
88 |
#KEYWORDS="" |
89 |
SRC_URI="" |
90 |
else |
91 |
KEYWORDS="~amd64 ~x86" |
92 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
93 |
fi |
94 |
|
95 |
DESCRIPTION="OpenOCD - Open On-Chip Debugger" |
96 |
HOMEPAGE="http://openocd.berlios.de/web/" |
97 |
|
98 |
LICENSE="GPL-2" |
99 |
SLOT="0" |
100 |
IUSE="ftd2xx ftdi parport presto usb" |
101 |
RESTRICT="strip" # includes non-native binaries |
102 |
|
103 |
# libftd2xx is the default because it is reported to work better. |
104 |
DEPEND="usb? ( dev-libs/libusb ) |
105 |
presto? ( dev-embedded/libftd2xx ) |
106 |
ftd2xx? ( dev-embedded/libftd2xx ) |
107 |
ftdi? ( dev-embedded/libftdi )" |
108 |
RDEPEND="${DEPEND}" |
109 |
|
110 |
pkg_setup() { |
111 |
if use ftdi && use ftd2xx ; then |
112 |
ewarn "You can only use one FTDI library at a time, so picking" |
113 |
ewarn "USE=ftdi (open source) over USE=ftd2xx (closed source)" |
114 |
fi |
115 |
} |
116 |
|
117 |
src_unpack() { |
118 |
if [[ ${PV} == "9999" ]] ; then |
119 |
git_src_unpack |
120 |
cd "${S}" |
121 |
eautoreconf |
122 |
else |
123 |
unpack ${A} |
124 |
fi |
125 |
} |
126 |
|
127 |
src_compile() { |
128 |
if [[ ${PV} == "9999" ]] ; then |
129 |
myconf="${myconf} --enable-maintainer-mode" |
130 |
fi |
131 |
if use usb;then |
132 |
myconf="${myconf} --enable-usbprog --enable-jlink --enable-rlink \ |
133 |
--enable-vsllink --enable-arm-jtag-ew" |
134 |
fi |
135 |
# add explicitely the path to libftd2xx |
136 |
use ftd2xx && ! use ftdi && LDFLAGS="${LDFLAGS} -L/opt/$(get_libdir)" |
137 |
econf \ |
138 |
--disable-werror \ |
139 |
--enable-amtjtagaccel \ |
140 |
--enable-ep93xx \ |
141 |
--enable-at91rm9200 \ |
142 |
--enable-gw16012 \ |
143 |
--enable-oocd_trace \ |
144 |
$(use_enable parport) \ |
145 |
$(use_enable presto presto_ftd2xx) \ |
146 |
$(use_enable ftdi ft2232_libftdi) \ |
147 |
$(use ftdi || use_enable ftd2xx ft2232_ftd2xx) \ |
148 |
${myconf} |
149 |
emake || die "Error in emake!" |
150 |
} |
151 |
|
152 |
src_install() { |
153 |
emake DESTDIR="${D}" install || die |
154 |
dodoc AUTHORS ChangeLog NEWS README TODO |
155 |
prepstrip "${D}"/usr/bin |
156 |
} |
157 |
|
158 |
|
159 |
|
160 |
1.1 dev-embedded/openocd/openocd-0.3.1-r1.ebuild |
161 |
|
162 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/openocd-0.3.1-r1.ebuild?rev=1.1&view=markup |
163 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-embedded/openocd/openocd-0.3.1-r1.ebuild?rev=1.1&content-type=text/plain |
164 |
|
165 |
Index: openocd-0.3.1-r1.ebuild |
166 |
=================================================================== |
167 |
# Copyright 1999-2011 Gentoo Foundation |
168 |
# Distributed under the terms of the GNU General Public License v2 |
169 |
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/openocd/openocd-0.3.1-r1.ebuild,v 1.1 2011/02/22 17:09:37 hwoarang Exp $ |
170 |
|
171 |
EGIT_REPO_URI="git://openocd.git.sourceforge.net/gitroot/openocd/openocd" |
172 |
inherit eutils |
173 |
if [[ ${PV} == "9999" ]] ; then |
174 |
inherit git autotools |
175 |
#KEYWORDS="" |
176 |
SRC_URI="" |
177 |
else |
178 |
KEYWORDS="~amd64 ~x86" |
179 |
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" |
180 |
fi |
181 |
|
182 |
DESCRIPTION="OpenOCD - Open On-Chip Debugger" |
183 |
HOMEPAGE="http://openocd.berlios.de/web/" |
184 |
|
185 |
LICENSE="GPL-2" |
186 |
SLOT="0" |
187 |
IUSE="ftd2xx ftdi parport presto usb" |
188 |
RESTRICT="strip" # includes non-native binaries |
189 |
|
190 |
# libftd2xx is the default because it is reported to work better. |
191 |
DEPEND="usb? ( dev-libs/libusb ) |
192 |
presto? ( dev-embedded/libftd2xx ) |
193 |
ftd2xx? ( dev-embedded/libftd2xx ) |
194 |
ftdi? ( dev-embedded/libftdi )" |
195 |
RDEPEND="${DEPEND}" |
196 |
|
197 |
pkg_setup() { |
198 |
if use ftdi && use ftd2xx ; then |
199 |
ewarn "You can only use one FTDI library at a time, so picking" |
200 |
ewarn "USE=ftdi (open source) over USE=ftd2xx (closed source)" |
201 |
fi |
202 |
} |
203 |
|
204 |
src_unpack() { |
205 |
if [[ ${PV} == "9999" ]] ; then |
206 |
git_src_unpack |
207 |
cd "${S}" |
208 |
eautoreconf |
209 |
else |
210 |
unpack ${A} |
211 |
fi |
212 |
} |
213 |
|
214 |
src_compile() { |
215 |
if [[ ${PV} == "9999" ]] ; then |
216 |
myconf="${myconf} --enable-maintainer-mode" |
217 |
fi |
218 |
# add explicitely the path to libftd2xx |
219 |
use ftd2xx && LDFLAGS="${LDFLAGS} -L/opt/$(get_libdir)" |
220 |
econf \ |
221 |
--disable-werror \ |
222 |
--enable-amtjtagaccel \ |
223 |
--enable-ep93xx \ |
224 |
--enable-at91rm9200 \ |
225 |
--enable-gw16012 \ |
226 |
--enable-oocd_trace \ |
227 |
$(use_enable usb usbprog) \ |
228 |
$(use_enable parport) \ |
229 |
$(use_enable presto presto_ftd2xx) \ |
230 |
$(use_enable ftdi ft2232_libftdi) \ |
231 |
$(use ftdi || use_enable ftd2xx ft2232_ftd2xx) \ |
232 |
${myconf} |
233 |
emake || die "Error in emake!" |
234 |
} |
235 |
|
236 |
src_install() { |
237 |
emake DESTDIR="${D}" install || die |
238 |
dodoc AUTHORS ChangeLog NEWS README TODO |
239 |
prepstrip "${D}"/usr/bin |
240 |
} |