summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-11-05 16:50:13 +0000
committerFabian Groffen <grobian@gentoo.org>2011-11-05 16:50:13 +0000
commitfeed03e5c843e704dfbd101de48f66d083317312 (patch)
treed3045c176af062354c5f1382237a9742ad611ef6 /sys-devel/gdb-apple
parentFix copyright headers and add ChangeLog entry, not sure what went wrong here (diff)
downloadhistorical-feed03e5c843e704dfbd101de48f66d083317312.tar.gz
historical-feed03e5c843e704dfbd101de48f66d083317312.tar.bz2
historical-feed03e5c843e704dfbd101de48f66d083317312.zip
Bump to version from Developer Tools 4.2
Package-Manager: portage-2.2.01.19572-prefix/cvs/Darwin i386
Diffstat (limited to 'sys-devel/gdb-apple')
-rw-r--r--sys-devel/gdb-apple/ChangeLog7
-rw-r--r--sys-devel/gdb-apple/Manifest10
-rw-r--r--sys-devel/gdb-apple/gdb-apple-1708.ebuild74
3 files changed, 86 insertions, 5 deletions
diff --git a/sys-devel/gdb-apple/ChangeLog b/sys-devel/gdb-apple/ChangeLog
index f15f21db0faa..1c54f0c96c73 100644
--- a/sys-devel/gdb-apple/ChangeLog
+++ b/sys-devel/gdb-apple/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/gdb-apple
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.16 2011/10/16 10:17:17 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.17 2011/11/05 16:50:13 grobian Exp $
+
+*gdb-apple-1708 (05 Nov 2011)
+
+ 05 Nov 2011; Fabian Groffen <grobian@gentoo.org> +gdb-apple-1708.ebuild:
+ Bump to version from Developer Tools 4.2
16 Oct 2011; Fabian Groffen <grobian@gentoo.org> gdb-apple-768-r1.ebuild,
gdb-apple-1461.ebuild, gdb-apple-1518.ebuild, gdb-apple-1346.ebuild,
diff --git a/sys-devel/gdb-apple/Manifest b/sys-devel/gdb-apple/Manifest
index 8f9d380fc0f0..3e78b22bdc06 100644
--- a/sys-devel/gdb-apple/Manifest
+++ b/sys-devel/gdb-apple/Manifest
@@ -21,6 +21,7 @@ DIST gdb-1346.tar.gz 17913352 RMD160 c197c1958e0f7b1e714d02719f6c03cd9aaad36c SH
DIST gdb-1461.2.tar.gz 17951571 RMD160 808c4ec8c07de0fcf791bf1dd210e46ff9ea1236 SHA1 32ad338b729b69a7933ec332e64de4946af7e603 SHA256 91d8cdbcd9cf36377d9c2d425921141085b5c79a6dce312a3dc0b6960f8e02f9
DIST gdb-1518.tar.gz 17966113 RMD160 723dccbca46ef336a36ab2576b2aa0ec56baacd4 SHA1 0e331fba34e1646b4c795d0d9f4c3c8612c5bd48 SHA256 c3050f0be9cb60d86ffc5fd174da78bf986511a442526ef8b0eec1e77161f607
DIST gdb-1705.tar.gz 17919005 RMD160 d1751fe48d0fe2e45fea1e5b99b183e4efb23053 SHA1 86730d3453a0efd1652b775a1c3a80899e6279e0 SHA256 f0c4c145f2ef795c4742e0cd8b3f6a95f06c9985eee04a82260b62bdd8293d37
+DIST gdb-1708.tar.gz 17922049 RMD160 d9951c30cab32fdcb91a88fe27028dfbe6938d42 SHA1 b197f5e07b7b99db09bd2706d8a8bfb8a39feb55 SHA256 6ef5a8e09a28c78d3b7cee32b2886f72206ce519acaff5791fa08b90c9f0e327
DIST gdb-563.tar.gz 17130626 RMD160 cbefa5b829e4e70685cf77c9a0e2171f243cc463 SHA1 913f19713a1bc5de4f96ee2920314e7caad31ac5 SHA256 a41177e2edbac8982e01ca01dbd52bef65bd1604fb3a65278dd0f44509bb7179
DIST gdb-768.tar.gz 17727326 RMD160 b61164d22e9e9b4f9f0ee2bb20129e8e06531b04 SHA1 adeffd19caf9270a9a297633f716e6485ebc8536 SHA256 2342cbbf7c57dcc08011736c9823d5ca374156666ba73c4b67d9984ed944f24d
DIST gdb-960.tar.gz 17875803 RMD160 d14638dfda8578110d9525723344665f816d73b1 SHA1 ec4afa508ae451b07c9e1307a2b8eb6212102c46 SHA256 921cb5317b934008bd5f7669cca811a0377c40b779277e9326198f4919f22d97
@@ -31,17 +32,18 @@ EBUILD gdb-apple-1346.ebuild 1717 RMD160 454562a922e56488638cd1449ca4bf94b14c38f
EBUILD gdb-apple-1461.ebuild 1873 RMD160 0e8b8e853f5f11881fe1f6915f8c2c04002f325e SHA1 7d437708ac37236e2c9c4faaadf3adb9c99b1cd0 SHA256 da4a5f9e81d116b10b4978b14e0b22935f14bb603814dbee67c6f4f315839cd1
EBUILD gdb-apple-1518.ebuild 1829 RMD160 12bef0e5ff9be695c37ca40fc2e0833376af75de SHA1 117e52afeff953d2750438abd4b82ea7ef94bc67 SHA256 e3fff9c8a59845d4c6ef9407a1d78960a28ca13764ee48f939d2768c4a2b566e
EBUILD gdb-apple-1705.ebuild 2247 RMD160 334c693914b53eae139c2be55edd2671c0cbcd81 SHA1 fd2a6d68df2f3fca497cc8e17a3376080de9bf7a SHA256 8002fa617d4f586f5a85607c1244ebde8b9467f22db807aafe8a05c114f56577
+EBUILD gdb-apple-1708.ebuild 2247 RMD160 dae4ce7fa1eb1c98a2bdbab99da4a2cfdda315de SHA1 411f19ae199dedf10afe64949c2e22657423927c SHA256 9edd199ce0359ba6bf28c34f206d6a17ee0e3cae37e5b350224e6b9e88add45c
EBUILD gdb-apple-563.ebuild 1247 RMD160 27d7ac18506477b86c47aa075503bbba2e371a23 SHA1 27063ba08e61afe9002561f6ab8e1ac34aa340d2 SHA256 53701def3bed570519fb1c268ec47a19b74553cfdde791148299bd6b5ce97569
EBUILD gdb-apple-768-r1.ebuild 1202 RMD160 374a6637cefd08e34e4b333ec2b9a51fda7f91c4 SHA1 3c3c3d51aa7b28791a9bdc70eeed1b3407b721b5 SHA256 f3a8069cd6ca1786408f41b6b645bb0f74b1ba8b83ec29c7f8a6ad4091edd025
EBUILD gdb-apple-960.ebuild 1218 RMD160 75625c84f45d76238ed592d0790ca0499fe24510 SHA1 0108c92c1b47d55bd1301572bc39c17d590eb139 SHA256 bebcc026c71c8db9bfd2cb04b18225f1832d590dd346ba5703c64426bcec05a9
EBUILD gdb-apple-962.ebuild 1818 RMD160 ef2f97e9ff05a8ff0fc3cf6fa229bec04a700045 SHA1 a9b883eaf1b5cea5c0a62792f3c9d7605ca7cc7c SHA256 501c5331da577179927e0e3cd58ae388bae6be08b98edc1da5e2c336c5489f86
EBUILD gdb-apple-966.ebuild 1822 RMD160 91bfbddb87cd553aee846b2b762ab1bd4b4e026f SHA1 ff65b32680bf0b07394ac7ae466f5c8bd468b1f6 SHA256 dccde0b6cfacb0240f562b9d17b5b34c1f2025cc861d2f487d8ed7148ea0e29c
-MISC ChangeLog 5754 RMD160 f6c913d4c095701898d3fcfbeb620a917ce17a73 SHA1 7817093ad3a22d4e08c960fbdf653a3a22cbce91 SHA256 66d696b5ed526cca8228b88db3b9e7a69aaa49279ae7a7b0c8db012a13713b59
+MISC ChangeLog 5904 RMD160 0f1be8f6f0f3faec0d7ce8f1ac7bd80c3b7fa971 SHA1 a8001f1db832c705097dfd2ea1ed4c9ebcc9f72f SHA256 91c7d4a3f4da69722f2d18d9253e07b8b5da22a08d9311e0b5eac3e157b90409
MISC metadata.xml 160 RMD160 baab82f4bc435813cfde4796d42840882a9a4f8f SHA1 144e248704973cfad031c92a930aad01a62a2fda SHA256 27667dd7db1d188c12342624ec5ff2155717821d646e442aef9a691c65539ac4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (Darwin)
-iEYEARECAAYFAk6arzMACgkQX3X2B8XHTolFLQCfSJQ2438fkMa4wU3TYv25EFBi
-accAnA4wPqURdQ6wW9ojklw24p883JAP
-=9zkt
+iEYEARECAAYFAk61aUoACgkQX3X2B8XHTolWYACcCl58jYSJxMMRPnhtaGz2sIBL
+RFoAnRbPWgUs8/x1QnOQwUcealf1ZIo5
+=fBHZ
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gdb-apple/gdb-apple-1708.ebuild b/sys-devel/gdb-apple/gdb-apple-1708.ebuild
new file mode 100644
index 000000000000..27fbf6912c09
--- /dev/null
+++ b/sys-devel/gdb-apple/gdb-apple-1708.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-1708.ebuild,v 1.1 2011/11/05 16:50:13 grobian Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic
+
+APPLE_PV=${PV}
+DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 4.2"
+HOMEPAGE="http://sources.redhat.com/gdb/"
+SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${APPLE_PV}.tar.gz"
+
+LICENSE="APSL-2 GPL-2"
+SLOT="0"
+
+KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
+
+IUSE="nls"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r2
+ =dev-db/sqlite-3*"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/gdb-${APPLE_PV}/src
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-no-global-gdbinit.patch
+ epatch "${FILESDIR}"/${PN}-768-texinfo.patch
+ epatch "${FILESDIR}"/${PN}-1518-darwin8-9.patch
+ epatch "${FILESDIR}"/${PN}-1705-darwin8-10.patch
+ [[ ${CHOST} == *-darwin8 ]] && epatch "${FILESDIR}"/${PN}-1518-darwin8.patch
+}
+
+src_configure() {
+ replace-flags -O? -O2
+ econf \
+ --disable-werror \
+ --disable-debug-symbols-framework \
+ $(use_enable nls) \
+ || die
+}
+
+src_compile() {
+ # unable to work around parallel make issue
+ emake -j2 || die
+}
+
+src_install() {
+ emake -j2 DESTDIR="${D}" libdir=/nukeme includedir=/nukeme install || die
+ rm -R "${D}"/nukeme || die
+ rm -Rf "${ED}"/usr/${CHOST} || die
+ mv "${ED}"/usr/bin/gdb "${ED}"/
+ rm -f "${ED}"/usr/bin/*
+ mv "${ED}"/gdb "${ED}"/usr/bin/
+}
+
+pkg_postinst() {
+ if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then
+ ewarn "Due to increased security measures in 10.5 and up, gdb is"
+ ewarn "not able to get a mach task port when installed by Prefix"
+ ewarn "Portage, unprivileged. To make gdb fully functional you'll"
+ ewarn "have to perform the following steps:"
+ ewarn " % sudo chgrp procmod ${EPREFIX}/usr/bin/gdb"
+ ewarn " % sudo chmod g+s ${EPREFIX}/usr/bin/gdb"
+ fi
+ if use x86-macos || use x64-macos ; then
+ einfo "FSF gdb works on Intel-based OSX platforms, sometimes even"
+ einfo "better than gdb-apple. You can consider installing FSF gdb"
+ einfo "instead of gdb-apple, since the FSF version is surely more"
+ einfo "advanced than this old 6.8 version modified by Apple."
+ fi
+}