public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [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
@ 2009-06-21 10:38 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2009-06-21 10:38 UTC (permalink / raw
  To: gentoo-commits

grobian     09/06/21 10:38:26

  Added:                gdb-apple-563.ebuild ChangeLog gdb-apple-960.ebuild
                        metadata.xml gdb-apple-966.ebuild
                        gdb-apple-768-r1.ebuild gdb-apple-962.ebuild
  Log:
  add sys-devel/gdb-apple from Gentoo Prefix tree
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-devel/gdb-apple/gdb-apple-563.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-563.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-563.ebuild?rev=1.1&content-type=text/plain

Index: gdb-apple-563.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-563.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $

inherit eutils flag-o-matic

DESCRIPTION="Apple branch of the GNU Debugger, Xcode 2.4"
HOMEPAGE="http://sources.redhat.com/gdb/"
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"

LICENSE="APSL-2 GPL-2"
SLOT="0"

KEYWORDS="~ppc-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-${PV}/src

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${P}-darwin7.patch
	epatch "${FILESDIR}"/${P}-no-64bit.patch
	epatch "${FILESDIR}"/${PN}-768-texinfo.patch

	# for FSF gcc / gcc-apple:42
	sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
}

src_compile() {
	replace-flags -O? -O2
	econf \
		--disable-werror \
		$(use_enable nls) \
		|| die
	emake || die
}

src_install() {
	local ED=${ED-${D}}

	emake 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/
}



1.1                  sys-devel/gdb-apple/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sys-devel/gdb-apple
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/ChangeLog,v 1.1 2009/06/21 10:38:25 grobian Exp $

*gdb-apple-966 (20 Jun 2009)

  20 Jun 2009; Fabian Groffen <grobian@gentoo.org> +gdb-apple-966.ebuild:
  Version bump to Developer Tools 3.1.3 version

  21 Dec 2008; Fabian Groffen <grobian@gentoo.org> gdb-apple-962.ebuild,
  gdb-apple-962.ebuild, gdb-apple-962.ebuild:
  Add notice describing how to make gdb useful on 10.5 and up

*gdb-apple-962 (21 Dec 2008)

  21 Dec 2008; Fabian Groffen <grobian@gentoo.org>
  +files/gdb-apple-962-darwin8.patch, -gdb-apple-477.ebuild,
  gdb-apple-960.ebuild, -gdb-apple-961.ebuild, +gdb-apple-962.ebuild:
  Version bump to Xcode Tools 3.1.2

*gdb-apple-960 (23 Aug 2008)

  23 Aug 2008; Fabian Groffen <grobian@gentoo.org> +gdb-apple-960.ebuild:
  Add 960 from Xcode Tools 3.1, since 961 doesn't build on OSX 10.4

*gdb-apple-908 (28 Mar 2008)
*gdb-apple-768-r1 (28 Mar 2008)

  28 Mar 2008; Fabian Groffen <grobian@gentoo.org>
  +files/gdb-apple-768-darwin-arch.patch, -gdb-apple-768.ebuild,
  +gdb-apple-768-r1.ebuild, +gdb-apple-908.ebuild:
  Bump to Xcode Tools 3.1 Beta version, add patch for 768 to become actually
  useful on Leopard systems by using /usr/bin/arch

  02 Feb 2008; Elias Pipping <pipping@gentoo.org> gdb-apple-563.ebuild,
  gdb-apple-563.ebuild, gdb-apple-768.ebuild:
  port texinfo/-Wno-long-double changes back to 563

  02 Feb 2008; Fabian Groffen <grobian@gentoo.org> gdb-apple-768.ebuild,
  +files/gdb-apple-768-texinfo.patch:
  Add patch to work with texinfo 4.11

*gdb-apple-768 (09 Nov 2007)

  09 Nov 2007; Fabian Groffen <grobian@gentoo.org> +gdb-apple-768.ebuild:
  New snapshot, as released with 10.5, had to disable no-64-bits patch

  10 Dec 2006; Fabian Groffen <grobian@gentoo.org> +metadata.xml:
  Add metadata.xml

  17 Nov 2006; Fabian Groffen <grobian@gentoo.org>
  +files/gdb-apple-563-darwin7.patch, +files/gdb-apple-563-no-64bit.patch,
  gdb-apple-563.ebuild, gdb-apple-563.ebuild, gdb-apple-563.ebuild:
  Made gdb-apple-563 compile on Darwin 7.  Added patch for both conditional
  support for features only available in OS X 10.4, and for conditional PPC64
  support for platforms that don't have 64-bits.




1.1                  sys-devel/gdb-apple/gdb-apple-960.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-960.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-960.ebuild?rev=1.1&content-type=text/plain

Index: gdb-apple-960.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-960.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $

inherit eutils flag-o-matic

DESCRIPTION="Apple branch of the GNU Debugger, Xcode Tools 3.1"
HOMEPAGE="http://sources.redhat.com/gdb/"
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"

LICENSE="APSL-2 GPL-2"
SLOT="0"

KEYWORDS="~ppc-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-${PV}/src

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${PN}-768-texinfo.patch
	epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch

	# for FSF gcc / gcc-apple:42
	sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
}

src_compile() {
	replace-flags -O? -O2
	econf \
		--disable-werror \
		$(use_enable nls) \
		|| die
	emake || die
}

src_install() {
	local ED=${ED-${D}}

	emake 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/
}



1.1                  sys-devel/gdb-apple/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>apple</herd>
</pkgmetadata>



1.1                  sys-devel/gdb-apple/gdb-apple-966.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-966.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-966.ebuild?rev=1.1&content-type=text/plain

Index: gdb-apple-966.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-966.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $

inherit eutils flag-o-matic

DESCRIPTION="Apple branch of the GNU Debugger, Developer Tools 3.1.3"
HOMEPAGE="http://sources.redhat.com/gdb/"
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"

LICENSE="APSL-2 GPL-2"
SLOT="0"

KEYWORDS="~ppc-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-${PV}/src

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${PN}-768-texinfo.patch
	epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch
	epatch "${FILESDIR}"/${PN}-962-darwin8.patch

	# for FSF gcc / gcc-apple:42
	sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
}

src_compile() {
	replace-flags -O? -O2
	econf \
		--disable-werror \
		$(use_enable nls) \
		|| die
	emake || die
}

src_install() {
	local ED=${ED-${D}}

	emake 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
}



1.1                  sys-devel/gdb-apple/gdb-apple-768-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-768-r1.ebuild?rev=1.1&view=markup
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

Index: gdb-apple-768-r1.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

inherit eutils flag-o-matic

DESCRIPTION="Apple branch of the GNU Debugger, 10.5"
HOMEPAGE="http://sources.redhat.com/gdb/"
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"

LICENSE="APSL-2 GPL-2"
SLOT="0"

KEYWORDS="~ppc-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-${PV}/src

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${P}-texinfo.patch
	epatch "${FILESDIR}"/${P}-darwin-arch.patch

	# for FSF gcc / gcc-apple:42
	sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
}

src_compile() {
	replace-flags -O? -O2
	econf \
		--disable-werror \
		$(use_enable nls) \
		|| die
	emake || die
}

src_install() {
	local ED=${ED-${D}}

	emake 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/
}



1.1                  sys-devel/gdb-apple/gdb-apple-962.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild?rev=1.1&content-type=text/plain

Index: gdb-apple-962.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gdb-apple/gdb-apple-962.ebuild,v 1.1 2009/06/21 10:38:25 grobian Exp $

inherit eutils flag-o-matic

DESCRIPTION="Apple branch of the GNU Debugger, Xcode Tools 3.1.2"
HOMEPAGE="http://sources.redhat.com/gdb/"
SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gdb-${PV}.tar.gz"

LICENSE="APSL-2 GPL-2"
SLOT="0"

KEYWORDS="~ppc-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-${PV}/src

src_unpack() {
	unpack ${A}
	cd "${S}"

	epatch "${FILESDIR}"/${PN}-768-texinfo.patch
	epatch "${FILESDIR}"/${PN}-768-darwin-arch.patch
	epatch "${FILESDIR}"/${PN}-962-darwin8.patch

	# for FSF gcc / gcc-apple:42
	sed -e 's/-Wno-long-double//' -i gdb/config/*/macosx.mh
}

src_compile() {
	replace-flags -O? -O2
	econf \
		--disable-werror \
		$(use_enable nls) \
		|| die
	emake || die
}

src_install() {
	local ED=${ED-${D}}

	emake 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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-21 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-21 10:38 [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 Fabian Groffen (grobian)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox