diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-03-19 02:21:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-19 02:21:14 +0000 |
commit | d262f4f59431363114a5a0a5351d9042536c0b32 (patch) | |
tree | ac31a3bb0ce7e9772c9ca50aeb9beee3dedea50c /sys-devel/gdb | |
parent | Version bump. Bug fixes, optimizations, code cleanups (diff) | |
download | historical-d262f4f59431363114a5a0a5351d9042536c0b32.tar.gz historical-d262f4f59431363114a5a0a5351d9042536c0b32.tar.bz2 historical-d262f4f59431363114a5a0a5351d9042536c0b32.zip |
Version bump.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/gdb')
-rw-r--r-- | sys-devel/gdb/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/gdb/Manifest | 16 | ||||
-rw-r--r-- | sys-devel/gdb/gdb-7.1.ebuild | 103 |
3 files changed, 124 insertions, 2 deletions
diff --git a/sys-devel/gdb/ChangeLog b/sys-devel/gdb/ChangeLog index 703ec40bbf07..c29983c36cb2 100644 --- a/sys-devel/gdb/ChangeLog +++ b/sys-devel/gdb/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/gdb # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.163 2010/01/26 16:57:00 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/ChangeLog,v 1.164 2010/03/19 02:21:14 vapier Exp $ + +*gdb-7.1 (19 Mar 2010) + + 19 Mar 2010; Mike Frysinger <vapier@gentoo.org> +gdb-7.1.ebuild: + Version bump. 26 Jan 2010; Jeroen Roovers <jer@gentoo.org> gdb-7.0.ebuild: Stable for HPPA (bug #296389). diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest index a22ee01b3a41..c13271e2c578 100644 --- a/sys-devel/gdb/Manifest +++ b/sys-devel/gdb/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST gdb-6.6-patches-1.3.tar.bz2 15697 RMD160 b9b8576241c1df2288a2473b606155d1e14b0f0a SHA1 075eb0f1817963d0a1fab400d3183bc8d976a208 SHA256 7911134ce63ede4e1a45488481cf7cdc1b69ab00c8b3a432983344ff95a0051e DIST gdb-6.6.tar.bz2 14535755 RMD160 6430798ba47a1913676622db9a73bf2bcfa703be SHA1 744bd0f0740dfe6527036b1dda8fe6a08adbbaeb SHA256 6e602987298db5ddb479bbb84ce653eabd9c304957a49552245f65cdc70d43bd DIST gdb-6.7.1-patches-1.3.tar.bz2 109192 RMD160 412c8ef3a4dd2073bd56b01d762af8c5bcd1ba6c SHA1 c648fe09b120ab45e367e904758cdd95abeb675e SHA256 8d614d6ecdb343310904e293bc86f154550829cb45c5b5bd3bff9c26543f9132 @@ -10,6 +13,8 @@ DIST gdb-7.0-patches-2.tar.lzma 11214 RMD160 a6ec47e6d7741dbcea88e4aca5e7e8f406f DIST gdb-7.0.1-patches-1.tar.lzma 11216 RMD160 0755535e1bc3c54750b077fdb9faab590caaa513 SHA1 ef711d464892a06818947dccd8f48ad037395fd8 SHA256 711d6fb705a0ede2ede6adb036def73f8c7c4fbc9b5a4f27d829800af4d84292 DIST gdb-7.0.1.tar.bz2 17614682 RMD160 b042b7d3b3e59dda1184640c3e999f68b2114835 SHA1 a6b9693b5767dd3b1a3fa925563252afd20eea64 SHA256 560c3fd0053ade6549e71bd045f70282feb88db73b35e401bbad601a311e3c1b DIST gdb-7.0.tar.bz2 17604459 RMD160 a66d9c8d0aae72bbc9b6564139a95f548e3aa26d SHA1 8aed621b7ddb8c82b6ff213b56c028787db90582 SHA256 c750c695c8029da60688fc6584207fd1ea741a6b9e79e4ad03715bfbc2113ecd +DIST gdb-7.1-patches-1.tar.lzma 9207 RMD160 61d829abcfe7186f679ead31540fc9c2c9f0aad9 SHA1 35ca21761d451481a1ff0caa12c95eb9eb0f4e67 SHA256 d2efe1ee66110e4e0c55bbe4365380bdb6e159c45ea849a1e329ac293b4e7e3c +DIST gdb-7.1.tar.bz2 17977195 RMD160 800d224496240a360c996e588490f2d87367c4e3 SHA1 417e2e637a296ea0e1cdddf56233311b8708fa19 SHA256 142c27d7970a4e652dc225d61d887777ae00cf22fdd75cd1e8e4e13bfbd85352 EBUILD gdb-6.6-r2.ebuild 1965 RMD160 dd9796c54dd064da5320890ae75b5daeb990966e SHA1 3fa16ab607a198a45df1c97a89ce014428e67cc0 SHA256 8616917d220910323743342822761795e29ee199e77fc7602ca9483e7e7d1e37 EBUILD gdb-6.7.1-r3.ebuild 2057 RMD160 c0b55697d29010498fba876759fd5761ac30da33 SHA1 97aa63d6901f8ee641f0295d4e7ec3b0f718cf50 SHA256 e19744a4814fd530cde4420f1d24a81ae61c141b7f5f8866a8ae964e0a898b12 EBUILD gdb-6.8-r1.ebuild 2217 RMD160 52a6b0aab722ab31ba81c0d69594018722e116ec SHA1 53ef7917808a0831c43b2c1227fa5738a1fa0ded SHA256 c06f279e6fb71eaba409a4a9c3d8ef559d3fc9615edc126110639c333013a3aa @@ -17,5 +22,14 @@ EBUILD gdb-6.8-r2.ebuild 2281 RMD160 d954946874299851eb7208dcfe46b59a6884fc90 SH EBUILD gdb-6.8.50.20090811.2.12.ebuild 2827 RMD160 b51e23ec33ed66a10915575727bcebf277e8d955 SHA1 b116e312c3fadcf6d88d127da5d9a5f518334b46 SHA256 8d08edc0c431993d54bf6e9f9896cb8e07a177295f06be67ec5b6d07926cf98f EBUILD gdb-7.0.1.ebuild 2672 RMD160 805410b01f5b9251e73494a47c0db5f9c97b2078 SHA1 268aad559074fd69b413370c3b9c2e46d161b4c3 SHA256 7a9155713ebff1eedca5701a00d0ac235dae409016de80c6a030298cb6fa65b4 EBUILD gdb-7.0.ebuild 2661 RMD160 542424557cf169c5b9cd14aeed3860da9ea8284e SHA1 27802d0392d3919fdc337670d54f93d0307a5357 SHA256 45a70f564e8d904942ab63d5360681c6368e1a2b405126daff284d5cca8b233c -MISC ChangeLog 22073 RMD160 dd0a3b85bbc042c47015f5eed5b7ed8b7ba9810f SHA1 29ae642401bd7339787e6bfe307a54e8e4f6372f SHA256 7d12eca6de249ed57bc626562fa282e61adb17c9b87c88d3025a9b35234c7237 +EBUILD gdb-7.1.ebuild 2670 RMD160 8a257a0dd3994f46850405b3f3ff1635575a1429 SHA1 2883816a8af5b8b2690157a539fb9401c2aa0778 SHA256 38bef842b2120058e1818d2c3403bb6faccfea6e22093c1d52460920fdf8d890 +MISC ChangeLog 22184 RMD160 7ecbe1dd9da2d8951cb13fb8934a86c23d4509f1 SHA1 05f80fa6994623b03d439e36e9f26a697d8ee17a SHA256 fe595fff97681996acf5c7c94c44836d1783f2373f0ec9e4e5518313959dd6ad +MISC core 737280 RMD160 1ab3412f1c6504f1aecd0ac53f32f5b0c90ffb64 SHA1 b3fe92f31550001e6375fb734599523778dc9666 SHA256 d4feb62d346fcd642561dbeb0bd1bc16f8a71ff2ec1019e1de2d4a21f0d9fc5f MISC metadata.xml 252 RMD160 13550896f405ea2c00c68851097c455b13211ea8 SHA1 66fb63761a7800e71fa8d88244676f588c1e3490 SHA256 2bda98dae8fab414bb0fe138ac6cc256ad1bbdc031937ab18990674fc58f1e9e +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iF4EAREIAAYFAkui37kACgkQTwhj9JtAlp4bBwD+Ocq3kPPT8LCYDZEc+1ASWF7+ +eJ+RAkIJliuIXYcdEcEA/AlZFF2mNRxNzvk4zsvbs6Q7KpLeW8Zx5+HBEOKm0Ab9 +=q1q3 +-----END PGP SIGNATURE----- diff --git a/sys-devel/gdb/gdb-7.1.ebuild b/sys-devel/gdb/gdb-7.1.ebuild new file mode 100644 index 000000000000..b3e286247d11 --- /dev/null +++ b/sys-devel/gdb/gdb-7.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb/gdb-7.1.ebuild,v 1.1 2010/03/19 02:21:14 vapier Exp $ + +inherit flag-o-matic eutils + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then + export CTARGET=${CATEGORY/cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +PATCH_VER="1" +DESCRIPTION="GNU debugger" +HOMEPAGE="http://sources.redhat.com/gdb/" +SRC_URI="http://ftp.gnu.org/gnu/gdb/${P}.tar.bz2 + ftp://sources.redhat.com/pub/gdb/releases/${P}.tar.bz2 + ${PATCH_VER:+mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma}" + +LICENSE="GPL-2 LGPL-2" +is_cross \ + && SLOT="${CTARGET}" \ + || SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" +IUSE="expat multitarget nls python test vanilla" + +RDEPEND=">=sys-libs/ncurses-5.2-r2 + sys-libs/readline + expat? ( dev-libs/expat ) + python? ( dev-lang/python )" +DEPEND="${RDEPEND} + || ( app-arch/xz-utils app-arch/lzma-utils ) + test? ( dev-util/dejagnu ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + use vanilla || [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch + strip-linguas -u bfd/po opcodes/po +} + +gdb_branding() { + printf "Gentoo ${PV} " + if [[ -n ${PATCH_VER} ]] ; then + printf "p${PATCH_VER}" + else + printf "vanilla" + fi +} + +src_compile() { + strip-unsupported-flags + econf \ + --with-pkgversion="$(gdb_branding)" \ + --with-bugurl='http://bugs.gentoo.org/' \ + --disable-werror \ + $(has_version '=sys-libs/readline-5*:0' && echo --with-system-readline) \ + $(is_cross && echo --with-sysroot=/usr/${CTARGET}) \ + $(use_with expat) \ + $(use_enable nls) \ + $(use multitarget && echo --enable-targets=all) \ + $(use_with python) \ + || die + emake || die +} + +src_test() { + emake check || ewarn "tests failed" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + libdir=/nukeme/pretty/pretty/please includedir=/nukeme/pretty/pretty/please \ + install || die + rm -r "${D}"/nukeme || die + + # Don't install docs when building a cross-gdb + if [[ ${CTARGET} != ${CHOST} ]] ; then + rm -r "${D}"/usr/share + return 0 + fi + + dodoc README + docinto gdb + dodoc gdb/CONTRIBUTE gdb/README gdb/MAINTAINERS \ + gdb/NEWS gdb/ChangeLog gdb/PROBLEMS + docinto sim + dodoc sim/ChangeLog sim/MAINTAINERS sim/README-HACKING + + dodoc "${WORKDIR}"/extra/gdbinit.sample + + # Remove shared info pages + rm -f "${D}"/usr/share/info/{annotate,bfd,configure,standards}.info* +} + +pkg_postinst() { + # portage sucks and doesnt unmerge files in /etc + rm -vf "${ROOT}"/etc/skel/.gdbinit +} |