summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2004-09-14 16:02:49 +0000
committerMichael Januszewski <spock@gentoo.org>2004-09-14 16:02:49 +0000
commit118cdf3fa81ac0037d26c0505a1834f3a0a08147 (patch)
tree19fd0ff6e8f886925496000970c7da287357d70c /dev-util/oprofile
parentuse cascading profiles (diff)
downloadgentoo-2-118cdf3fa81ac0037d26c0505a1834f3a0a08147.tar.gz
gentoo-2-118cdf3fa81ac0037d26c0505a1834f3a0a08147.tar.bz2
gentoo-2-118cdf3fa81ac0037d26c0505a1834f3a0a08147.zip
Version bump.
Diffstat (limited to 'dev-util/oprofile')
-rw-r--r--dev-util/oprofile/ChangeLog7
-rw-r--r--dev-util/oprofile/Manifest20
-rw-r--r--dev-util/oprofile/files/digest-oprofile-0.8.11
-rw-r--r--dev-util/oprofile/oprofile-0.8.1.ebuild72
4 files changed, 95 insertions, 5 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog
index 7ac1ea8dfb41..0e18f6945135 100644
--- a/dev-util/oprofile/ChangeLog
+++ b/dev-util/oprofile/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/oprofile
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.8 2004/07/03 12:09:31 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.9 2004/09/14 16:02:14 spock Exp $
+
+*oprofile-0.8.1 (14 Sep 2004)
+
+ 14 Sep 2004; Michal Januszewski <spock@gentoo.org> +oprofile-0.8.1.ebuild:
+ Version bump.
03 Jul 2004; Michal Januszewski <spock@gentoo.org> oprofile-0.8.ebuild:
Stable on x86.
diff --git a/dev-util/oprofile/Manifest b/dev-util/oprofile/Manifest
index a814c2e1e978..df593a27a2b5 100644
--- a/dev-util/oprofile/Manifest
+++ b/dev-util/oprofile/Manifest
@@ -1,8 +1,20 @@
-MD5 b485f03e47cac9fcd61298bb94e06292 ChangeLog 1149
-MD5 3d4a085e59f4ef22017d52452649205b metadata.xml 310
-MD5 1c7ac8bd384c1821aeb2c988bf5a5202 oprofile-0.7.1.ebuild 1918
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 5d19bc5a267f71ac4ad9704d1295c061 oprofile-0.7.ebuild 1648
+MD5 1c7ac8bd384c1821aeb2c988bf5a5202 oprofile-0.7.1.ebuild 1918
+MD5 7f007fa4745eaf4b14bc4abcaa621216 ChangeLog 1274
+MD5 4974939ba1f98b20592df4151ddfcfd8 oprofile-0.8.1.ebuild 1862
MD5 2985e6bd8a86b9f72b35ec2a357d332f oprofile-0.8.ebuild 1862
-MD5 06028442781220898a045871c9db7de6 files/digest-oprofile-0.7 64
+MD5 3d4a085e59f4ef22017d52452649205b metadata.xml 310
MD5 8fb81a645cd9dcca67423b0e42d7255c files/digest-oprofile-0.7.1 66
+MD5 26253b92a26a505d340c30e8bd9be1d3 files/digest-oprofile-0.8.1 66
+MD5 06028442781220898a045871c9db7de6 files/digest-oprofile-0.7 64
MD5 c90612912e77016c9aa69bb752907940 files/digest-oprofile-0.8 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBRxYUchej4aZK9/cRAsXtAJsFczEc4rPlEXFbc+BrUy2E0GwMzwCaAmtg
+LhFLZuAhnsPw3rDcXeWkdCo=
+=c3P0
+-----END PGP SIGNATURE-----
diff --git a/dev-util/oprofile/files/digest-oprofile-0.8.1 b/dev-util/oprofile/files/digest-oprofile-0.8.1
new file mode 100644
index 000000000000..6066f95cc541
--- /dev/null
+++ b/dev-util/oprofile/files/digest-oprofile-0.8.1
@@ -0,0 +1 @@
+MD5 3019c776dbf5dd21696c05bf509dea1a oprofile-0.8.1.tar.gz 601302
diff --git a/dev-util/oprofile/oprofile-0.8.1.ebuild b/dev-util/oprofile/oprofile-0.8.1.ebuild
new file mode 100644
index 000000000000..7a923242fcd0
--- /dev/null
+++ b/dev-util/oprofile/oprofile-0.8.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.8.1.ebuild,v 1.1 2004/09/14 16:02:14 spock Exp $
+
+DESCRIPTION="A transparent low-overhead system-wide profiler"
+HOMEPAGE="http://oprofile.sourceforge.net"
+SRC_URI="mirror://sourceforge/oprofile/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+# IUSE: it also needs kernel sources but all gentoo users have them
+IUSE="qt"
+DEPEND=">=dev-libs/popt-1.7-r1
+ >=sys-devel/binutils-2.14.90.0.6-r3
+ >=sys-libs/glibc-2.3.2-r1
+ qt? ( >=x11-libs/qt-3.2.1-r2 )"
+
+src_compile() {
+ check_KV
+
+ local myconf=""
+
+ if use qt
+ then
+ REALHOME="$HOME"
+ mkdir -p $T/fakehome/.kde
+ mkdir -p $T/fakehome/.qt
+ export HOME="$T/fakehome"
+ addwrite "${QTDIR}/etc/settings"
+
+ # things that should access the real homedir
+ [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/"
+ else
+ myconf="${myconf} --with-qt-dir=/void"
+ fi
+
+ myconf="${myconf} --with-x"
+
+ case $KV in
+ 2.2.*|2.4.*) myconf="${myconf} --with-linux=/usr/src/linux";;
+ 2.5.*|2.6.*) myconf="${myconf} --with-kernel-support";;
+ *) die "Kernel version '$KV' not supported";;
+ esac
+ econf ${myconf} || die "econf failed"
+
+ local mymake=""
+
+ sed -i -e "s,depmod -a,:,g" Makefile
+ emake ${mymake} || die "emake failed"
+}
+
+src_install() {
+ local myinst=""
+
+ myinst="${myinst} MODINSTALLDIR=${D}/lib/modules/${KV}"
+ make DESTDIR=${D} ${myinst} install || die "make install failed"
+
+ dodoc ChangeLog* README TODO
+}
+
+pkg_postinst() {
+ # media-video/nvidia-kernel does the following:
+ [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
+
+ echo
+ einfo "Now load the oprofile module by running:"
+ einfo " # opcontrol --init"
+ einfo "Then read manpages and this html doc:"
+ einfo " /usr/share/doc/oprofile/oprofile.html"
+ echo
+}