Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/gdb-apple: gdb-apple-563.ebuild ChangeLog gdb-apple-960.ebuild metadata.xml gdb-apple-966.ebuild gdb-apple-768-r1.ebuild gdb-apple-962.ebuild
Date: Sun, 21 Jun 2009 10:38:28
Message-Id: E1MIKRO-0006vg-1T@stork.gentoo.org
1 grobian 09/06/21 10:38:26
2
3 Added: gdb-apple-563.ebuild ChangeLog gdb-apple-960.ebuild
4 metadata.xml gdb-apple-966.ebuild
5 gdb-apple-768-r1.ebuild gdb-apple-962.ebuild
6 Log:
7 add sys-devel/gdb-apple from Gentoo Prefix tree
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.1 sys-devel/gdb-apple/gdb-apple-563.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-563.ebuild?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-563.ebuild?rev=1.1&content-type=text/plain
15
16 Index: gdb-apple-563.ebuild
17 ===================================================================
18 # Copyright 1999-2009 Gentoo Foundation
19 # Distributed under the terms of the GNU General Public License v2
20 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-563.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $
21
22 inherit eutils flag-o-matic
23
24 DESCRIPTION="Apple branch of the GNU Debugger, Xcode 2.4"
25 HOMEPAGE="http://sources.redhat.com/gdb/"
26 SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"
27
28 LICENSE="APSL-2 GPL-2"
29 SLOT="0"
30
31 KEYWORDS="~ppc-macos ~x86-macos"
32
33 IUSE="nls"
34
35 RDEPEND=">=sys-libs/ncurses-5.2-r2
36 =dev-db/sqlite-3*"
37 DEPEND="${RDEPEND}
38 nls? ( sys-devel/gettext )"
39
40 S=${WORKDIR}/gdb-${PV}/src
41
42 src_unpack() {
43 unpack ${A}
44 cd "${S}"
45
46 epatch "${FILESDIR}"/${P}-darwin7.patch
47 epatch "${FILESDIR}"/${P}-no-64bit.patch
48 epatch "${FILESDIR}"/${PN}-768-texinfo.patch
49
50 # for FSF gcc / gcc-apple:42
51 sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
52 }
53
54 src_compile() {
55 replace-flags -O? -O2
56 econf \
57 --disable-werror \
58 $(use_enable nls) \
59 || die
60 emake || die
61 }
62
63 src_install() {
64 local ED=${ED-${D}}
65
66 emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die
67 rm -r "${D}"/nukeme || die
68 rm -Rf "${ED}"/usr/${CHOST} || die
69 mv "${ED}"/usr/bin/gdb ${ED}/
70 rm -f "${ED}"/usr/bin/*
71 mv "${ED}"/gdb "${ED}"/usr/bin/
72 }
73
74
75
76 1.1 sys-devel/gdb-apple/ChangeLog
77
78 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/ChangeLog?rev=1.1&view=markup
79 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/ChangeLog?rev=1.1&content-type=text/plain
80
81 Index: ChangeLog
82 ===================================================================
83 # ChangeLog for sys-devel/gdb-apple
84 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
85 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.1 2009/06/21 10:38:25 grobian Exp $
86
87 *gdb-apple-966 (20 Jun 2009)
88
89 20 Jun 2009; Fabian Groffen <grobian@g.o> +gdb-apple-966.ebuild:
90 Version bump to Developer Tools 3.1.3 version
91
92 21 Dec 2008; Fabian Groffen <grobian@g.o> gdb-apple-962.ebuild,
93 gdb-apple-962.ebuild, gdb-apple-962.ebuild:
94 Add notice describing how to make gdb useful on 10.5 and up
95
96 *gdb-apple-962 (21 Dec 2008)
97
98 21 Dec 2008; Fabian Groffen <grobian@g.o>
99 +files/gdb-apple-962-darwin8.patch, -gdb-apple-477.ebuild,
100 gdb-apple-960.ebuild, -gdb-apple-961.ebuild, +gdb-apple-962.ebuild:
101 Version bump to Xcode Tools 3.1.2
102
103 *gdb-apple-960 (23 Aug 2008)
104
105 23 Aug 2008; Fabian Groffen <grobian@g.o> +gdb-apple-960.ebuild:
106 Add 960 from Xcode Tools 3.1, since 961 doesn't build on OSX 10.4
107
108 *gdb-apple-908 (28 Mar 2008)
109 *gdb-apple-768-r1 (28 Mar 2008)
110
111 28 Mar 2008; Fabian Groffen <grobian@g.o>
112 +files/gdb-apple-768-darwin-arch.patch, -gdb-apple-768.ebuild,
113 +gdb-apple-768-r1.ebuild, +gdb-apple-908.ebuild:
114 Bump to Xcode Tools 3.1 Beta version, add patch for 768 to become actually
115 useful on Leopard systems by using /usr/bin/arch
116
117 02 Feb 2008; Elias Pipping <pipping@g.o> gdb-apple-563.ebuild,
118 gdb-apple-563.ebuild, gdb-apple-768.ebuild:
119 port texinfo/-Wno-long-double changes back to 563
120
121 02 Feb 2008; Fabian Groffen <grobian@g.o> gdb-apple-768.ebuild,
122 +files/gdb-apple-768-texinfo.patch:
123 Add patch to work with texinfo 4.11
124
125 *gdb-apple-768 (09 Nov 2007)
126
127 09 Nov 2007; Fabian Groffen <grobian@g.o> +gdb-apple-768.ebuild:
128 New snapshot, as released with 10.5, had to disable no-64-bits patch
129
130 10 Dec 2006; Fabian Groffen <grobian@g.o> +metadata.xml:
131 Add metadata.xml
132
133 17 Nov 2006; Fabian Groffen <grobian@g.o>
134 +files/gdb-apple-563-darwin7.patch, +files/gdb-apple-563-no-64bit.patch,
135 gdb-apple-563.ebuild, gdb-apple-563.ebuild, gdb-apple-563.ebuild:
136 Made gdb-apple-563 compile on Darwin 7. Added patch for both conditional
137 support for features only available in OS X 10.4, and for conditional PPC64
138 support for platforms that don't have 64-bits.
139
140
141
142
143 1.1 sys-devel/gdb-apple/gdb-apple-960.ebuild
144
145 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-960.ebuild?rev=1.1&view=markup
146 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-960.ebuild?rev=1.1&content-type=text/plain
147
148 Index: gdb-apple-960.ebuild
149 ===================================================================
150 # Copyright 1999-2009 Gentoo Foundation
151 # Distributed under the terms of the GNU General Public License v2
152 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-960.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $
153
154 inherit eutils flag-o-matic
155
156 DESCRIPTION="Apple branch of the GNU Debugger, Xcode Tools 3.1"
157 HOMEPAGE="http://sources.redhat.com/gdb/"
158 SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"
159
160 LICENSE="APSL-2 GPL-2"
161 SLOT="0"
162
163 KEYWORDS="~ppc-macos ~x86-macos"
164
165 IUSE="nls"
166
167 RDEPEND=">=sys-libs/ncurses-5.2-r2
168 =dev-db/sqlite-3*"
169 DEPEND="${RDEPEND}
170 nls? ( sys-devel/gettext )"
171
172 S=${WORKDIR}/gdb-${PV}/src
173
174 src_unpack() {
175 unpack ${A}
176 cd "${S}"
177
178 epatch "${FILESDIR}"/${PN}-768-texinfo.patch
179 epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch
180
181 # for FSF gcc / gcc-apple:42
182 sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
183 }
184
185 src_compile() {
186 replace-flags -O? -O2
187 econf \
188 --disable-werror \
189 $(use_enable nls) \
190 || die
191 emake || die
192 }
193
194 src_install() {
195 local ED=${ED-${D}}
196
197 emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die
198 rm -r "$D"/nukeme || die
199 rm -Rf "${ED}"/usr/${CHOST} || die
200 mv "${ED}"/usr/bin/gdb ${ED}/
201 rm -f "${ED}"/usr/bin/*
202 mv "${ED}"/gdb "${ED}"/usr/bin/
203 }
204
205
206
207 1.1 sys-devel/gdb-apple/metadata.xml
208
209 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/metadata.xml?rev=1.1&view=markup
210 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/metadata.xml?rev=1.1&content-type=text/plain
211
212 Index: metadata.xml
213 ===================================================================
214 <?xml version="1.0" encoding="UTF-8"?>
215 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
216 <pkgmetadata>
217 <herd>apple</herd>
218 </pkgmetadata>
219
220
221
222 1.1 sys-devel/gdb-apple/gdb-apple-966.ebuild
223
224 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-966.ebuild?rev=1.1&view=markup
225 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-966.ebuild?rev=1.1&content-type=text/plain
226
227 Index: gdb-apple-966.ebuild
228 ===================================================================
229 # Copyright 1999-2009 Gentoo Foundation
230 # Distributed under the terms of the GNU General Public License v2
231 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-966.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $
232
233 inherit eutils flag-o-matic
234
235 DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 3.1.3"
236 HOMEPAGE="http://sources.redhat.com/gdb/"
237 SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"
238
239 LICENSE="APSL-2 GPL-2"
240 SLOT="0"
241
242 KEYWORDS="~ppc-macos ~x86-macos"
243
244 IUSE="nls"
245
246 RDEPEND=">=sys-libs/ncurses-5.2-r2
247 =dev-db/sqlite-3*"
248 DEPEND="${RDEPEND}
249 nls? ( sys-devel/gettext )"
250
251 S=${WORKDIR}/gdb-${PV}/src
252
253 src_unpack() {
254 unpack ${A}
255 cd "${S}"
256
257 epatch "${FILESDIR}"/${PN}-768-texinfo.patch
258 epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch
259 epatch "${FILESDIR}"/${PN}-962-darwin8.patch
260
261 # for FSF gcc / gcc-apple:42
262 sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
263 }
264
265 src_compile() {
266 replace-flags -O? -O2
267 econf \
268 --disable-werror \
269 $(use_enable nls) \
270 || die
271 emake || die
272 }
273
274 src_install() {
275 local ED=${ED-${D}}
276
277 emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die
278 rm -R "${D}"/nukeme || die
279 rm -Rf "${ED}"/usr/${CHOST} || die
280 mv "${ED}"/usr/bin/gdb ${ED}/
281 rm -f "${ED}"/usr/bin/*
282 mv "${ED}"/gdb "${ED}"/usr/bin/
283 }
284
285 pkg_postinst() {
286 if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then
287 ewarn "Due to increased security measures in 10.5 and up, gdb is"
288 ewarn "not able to get a mach task port when installed by Prefix"
289 ewarn "Portage, unprivileged. To make gdb fully functional you'll"
290 ewarn "have to perform the following steps:"
291 ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb"
292 ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb"
293 fi
294 }
295
296
297
298 1.1 sys-devel/gdb-apple/gdb-apple-768-r1.ebuild
299
300 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild?rev=1.1&view=markup
301 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild?rev=1.1&content-type=text/plain
302
303 Index: gdb-apple-768-r1.ebuild
304 ===================================================================
305 # Copyright 1999-2009 Gentoo Foundation
306 # Distributed under the terms of the GNU General Public License v2
307 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $
308
309 inherit eutils flag-o-matic
310
311 DESCRIPTION="Apple branch of the GNU Debugger, 10.5"
312 HOMEPAGE="http://sources.redhat.com/gdb/"
313 SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"
314
315 LICENSE="APSL-2 GPL-2"
316 SLOT="0"
317
318 KEYWORDS="~ppc-macos ~x86-macos"
319
320 IUSE="nls"
321
322 RDEPEND=">=sys-libs/ncurses-5.2-r2
323 =dev-db/sqlite-3*"
324 DEPEND="${RDEPEND}
325 nls? ( sys-devel/gettext )"
326
327 S=${WORKDIR}/gdb-${PV}/src
328
329 src_unpack() {
330 unpack ${A}
331 cd "${S}"
332
333 epatch "${FILESDIR}"/${P}-texinfo.patch
334 epatch "${FILESDIR}"/${P}-darwin-arch.patch
335
336 # for FSF gcc / gcc-apple:42
337 sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
338 }
339
340 src_compile() {
341 replace-flags -O? -O2
342 econf \
343 --disable-werror \
344 $(use_enable nls) \
345 || die
346 emake || die
347 }
348
349 src_install() {
350 local ED=${ED-${D}}
351
352 emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die
353 rm -r "${D}"/nukeme || die
354 rm -Rf "${ED}"/usr/${CHOST} || die
355 mv "${ED}"/usr/bin/gdb ${ED}/
356 rm -f "${ED}"/usr/bin/*
357 mv "${ED}"/gdb "${ED}"/usr/bin/
358 }
359
360
361
362 1.1 sys-devel/gdb-apple/gdb-apple-962.ebuild
363
364 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild?rev=1.1&view=markup
365 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild?rev=1.1&content-type=text/plain
366
367 Index: gdb-apple-962.ebuild
368 ===================================================================
369 # Copyright 1999-2009 Gentoo Foundation
370 # Distributed under the terms of the GNU General Public License v2
371 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $
372
373 inherit eutils flag-o-matic
374
375 DESCRIPTION="Apple branch of the GNU Debugger, Xcode Tools 3.1.2"
376 HOMEPAGE="http://sources.redhat.com/gdb/"
377 SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"
378
379 LICENSE="APSL-2 GPL-2"
380 SLOT="0"
381
382 KEYWORDS="~ppc-macos ~x86-macos"
383
384 IUSE="nls"
385
386 RDEPEND=">=sys-libs/ncurses-5.2-r2
387 =dev-db/sqlite-3*"
388 DEPEND="${RDEPEND}
389 nls? ( sys-devel/gettext )"
390
391 S=${WORKDIR}/gdb-${PV}/src
392
393 src_unpack() {
394 unpack ${A}
395 cd "${S}"
396
397 epatch "${FILESDIR}"/${PN}-768-texinfo.patch
398 epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch
399 epatch "${FILESDIR}"/${PN}-962-darwin8.patch
400
401 # for FSF gcc / gcc-apple:42
402 sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
403 }
404
405 src_compile() {
406 replace-flags -O? -O2
407 econf \
408 --disable-werror \
409 $(use_enable nls) \
410 || die
411 emake || die
412 }
413
414 src_install() {
415 local ED=${ED-${D}}
416
417 emake DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die
418 rm -r "${D}"/nukeme || die
419 rm -Rf "${ED}"/usr/${CHOST} || die
420 mv "${ED}"/usr/bin/gdb ${ED}/
421 rm -f "${ED}"/usr/bin/*
422 mv "${ED}"/gdb "${ED}"/usr/bin/
423 }
424
425 pkg_postinst() {
426 if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then
427 ewarn "Due to increased security measures in 10.5 and up, gdb is"
428 ewarn "not able to get a mach task port when installed by Prefix"
429 ewarn "Portage, unprivileged. To make gdb fully functional you'll"
430 ewarn "have to perform the following steps:"
431 ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb"
432 ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb"
433 fi
434 }