public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/leaktracer: ChangeLog leaktracer-2.4-r1.ebuild
@ 2007-12-24  9:56 Tiziano Mueller (dev-zero)
  0 siblings, 0 replies; only message in thread
From: Tiziano Mueller (dev-zero) @ 2007-12-24  9:56 UTC (permalink / raw
  To: gentoo-commits

dev-zero    07/12/24 09:56:31

  Modified:             ChangeLog
  Added:                leaktracer-2.4-r1.ebuild
  Log:
  Added to-be-included multi-stack patch. Fixed various compilation issues. Added patch to fix possible output problems on 64bit. Fixed bug #189399 by disabling tests (see comment)
  (Portage version: 2.1.4_rc11)

Revision  Changes    Path
1.11                 dev-util/leaktracer/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/leaktracer/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/leaktracer/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/leaktracer/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/leaktracer/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	5 Mar 2007 03:52:55 -0000	1.10
+++ ChangeLog	24 Dec 2007 09:56:30 -0000	1.11
@@ -1,6 +1,14 @@
 # ChangeLog for dev-util/leaktracer
 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/ChangeLog,v 1.10 2007/03/05 03:52:55 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/ChangeLog,v 1.11 2007/12/24 09:56:30 dev-zero Exp $
+
+*leaktracer-2.4-r1 (24 Dec 2007)
+
+  24 Dec 2007; Tiziano Müller <dev-zero@gentoo.org>
+  +leaktracer-2.4-r1.ebuild:
+  Added to-be-included multi-stack patch. Fixed various compilation issues.
+  Added patch to fix possible output problems on 64bit. Fixed bug #189399 by
+  disabling tests (see comment)
 
   05 Mar 2007; Marius Mauch <genone@gentoo.org> leaktracer-2.4.ebuild:
   Replacing einfo with elog



1.1                  dev-util/leaktracer/leaktracer-2.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/leaktracer/leaktracer-2.4-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/leaktracer/leaktracer-2.4-r1.ebuild?rev=1.1&content-type=text/plain

Index: leaktracer-2.4-r1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/leaktracer/leaktracer-2.4-r1.ebuild,v 1.1 2007/12/24 09:56:30 dev-zero Exp $

inherit eutils multilib toolchain-funcs

# Upstream-package has no version in it's name.
# We therefore repackage it directly, together with the patches.
PATCH_LEVEL="1"

DESCRIPTION="trace and analyze memory leaks in C++ programs"
HOMEPAGE="http://www.andreasen.org/LeakTracer/"
SRC_URI="mirror://gentoo/${P}-gentoo_p${PATCH_LEVEL}.tbz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=">=dev-lang/perl-5
	sys-devel/gdb"
RDEPEND="${DEPEND}"

# leaktracer is being realized using LD_PRELOAD and segfaults
# when being run in the sandbox and the library is _not_ in
# /usr/$(get_libdir) which is not possible before installation
RESTRICT="test"

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

	EPATCH_SOURCE="${WORKDIR}/patches"
	EPATCH_SUFFIX="patch"
	epatch

	sed -i \
		-e "s|%LIB%|$(get_libdir)|" \
		LeakCheck || die "sed for setting lib path failed"
}

src_compile() {
	emake CXX=$(tc-getCXX) LDFLAGS=${LDFLAGS} || die "emake failed"
}

src_install() {
	dobin LeakCheck leak-analyze || die "dobin failed"
	dolib.so LeakTracer.so || die "dolib.so failed"
	dohtml README.html
	dodoc README "${WORKDIR}/patches/multi-stack.readme"
}

pkg_postinst() {
	elog "To use LeakTracer, run LeakCheck my_prog and then leak-analyze my_prog leak.out"
	elog "Please reffer to README file for more info."
}




-- 
gentoo-commits@gentoo.org mailing list



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

only message in thread, other threads:[~2007-12-24  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-24  9:56 [gentoo-commits] gentoo-x86 commit in dev-util/leaktracer: ChangeLog leaktracer-2.4-r1.ebuild Tiziano Mueller (dev-zero)

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