Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432996 - dev-util/ltrace-0.6.0 version bump
Summary: dev-util/ltrace-0.6.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-27 18:00 UTC by Hendrik v. Raven
Modified: 2012-11-30 22:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ltrace-0.6.0.ebuild (ltrace-0.6.0.ebuild,678 bytes, text/plain)
2012-08-27 18:56 UTC, Hendrik v. Raven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik v. Raven 2012-08-27 18:00:03 UTC
ltrace 0.6.0 is available since Nov. 2011. However no tarball seems to exist, just a git tag at the official repository found here:
http://anonscm.debian.org/gitweb/?p=collab-maint/ltrace.git
Comment 1 Hendrik v. Raven 2012-08-27 18:56:54 UTC
Created attachment 322388 [details]
ltrace-0.6.0.ebuild

First version of a ebuild.
Some tests fail at my systems, I will have a look into that the next days.
The binary itself seems to work at a first test.
Without the EGIT_COMMIT line it works as a ebuild for a nightly build.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-27 22:32:23 UTC
Comment on attachment 322388 [details]
ltrace-0.6.0.ebuild

--- ltrace-0.5.3.1.ebuild       2010-05-24 16:44:58.000000000 +0200
+++ -   2012-08-28 00:31:16.591483829 +0200
@@ -1,45 +1,30 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/ltrace/ltrace-0.5.3.1.ebuild,v 1.7 2010/05/24 14:44:58 armin76 Exp $
+# $Header: $

-inherit eutils autotools
+EAPI=4

-MY_PV=${PV%.?.?}
-MY_P=${PN}_${MY_PV}
-DEB_P=${MY_P}-${PV##?.?.}
+inherit autotools git-2
 
 DESCRIPTION="trace library calls made at runtime"
 HOMEPAGE="http://ltrace.alioth.debian.org/"
-SRC_URI="mirror://debian/pool/main/l/ltrace/${MY_P}.orig.tar.gz
-       mirror://debian/pool/main/l/ltrace/${DEB_P}.diff.gz"
+
+EGIT_REPO_URI="http://anonscm.debian.org/git/collab-maint/ltrace.git"
+EGIT_COMMIT="5f30bc318e430a7c4ea843edeff798e80b5629c9"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-alpha amd64 ~arm ~ia64 ~mips ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="test"
 
 RDEPEND="dev-libs/elfutils"
 DEPEND="${RDEPEND}
-               test? ( dev-util/dejagnu )"
-
-S=${WORKDIR}/${PN}-${MY_PV}
+        test? ( dev-util/dejagnu )"

-src_unpack() {
-       unpack ${A}
-       epatch "${WORKDIR}"/${DEB_P}.diff
-       cd "${S}"
-       epatch "${FILESDIR}"/0.4-parallel-make.patch
-
-       epatch "${FILESDIR}"/${PN}-0.5.3-cross.patch
-       sed \
-               -e 's:uname -m:echo @HOST_CPU@:' \
-               sysdeps/linux-gnu/Makefile > sysdeps/linux-gnu/Makefile.in
-       epatch "${FILESDIR}"/${PN}-0.5.3-ppc.patch
-       epatch "${FILESDIR}"/${P}-gcc43-testsuite.patch
-       eautoconf
+src_prepare() {
+       eautoreconf
 }
 
 src_install() {
-       emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install || die "make install failed"
-       prepalldocs
+       emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install || die
 }


With EAPI=4, emake dies on its own, so you could have removed that too.
Comment 3 Tim Harder gentoo-dev 2012-11-30 22:59:06 UTC
0.7.1 added to CVS.