diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-14 00:21:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-14 00:21:02 +0000 |
commit | e1c39eaa66faa8f269394b190ab8ff60c6845d31 (patch) | |
tree | 9923bb7dfe1d0e09ea25520443e0567342404ac8 /dev-util | |
parent | old (diff) | |
download | historical-e1c39eaa66faa8f269394b190ab8ff60c6845d31.tar.gz historical-e1c39eaa66faa8f269394b190ab8ff60c6845d31.tar.bz2 historical-e1c39eaa66faa8f269394b190ab8ff60c6845d31.zip |
Version bump #118890 by TGL.
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/sysprof/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/sysprof/Manifest | 13 | ||||
-rw-r--r-- | dev-util/sysprof/files/digest-sysprof-1.0.1 | 1 | ||||
-rw-r--r-- | dev-util/sysprof/files/sysprof-1.0.1-INTERVAL_should_not_be_zero.patch | 17 | ||||
-rw-r--r-- | dev-util/sysprof/sysprof-1.0.1.ebuild | 43 |
5 files changed, 77 insertions, 8 deletions
diff --git a/dev-util/sysprof/ChangeLog b/dev-util/sysprof/ChangeLog index 6f6f6187080f..2640de4a8ff7 100644 --- a/dev-util/sysprof/ChangeLog +++ b/dev-util/sysprof/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/sysprof -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.2 2005/10/05 08:06:09 eradicator Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/ChangeLog,v 1.3 2006/01/14 00:21:02 vapier Exp $ + +*sysprof-1.0.1 (14 Jan 2006) + + 14 Jan 2006; Mike Frysinger <vapier@gentoo.org> + +files/sysprof-1.0.1-INTERVAL_should_not_be_zero.patch, + +sysprof-1.0.1.ebuild: + Version bump #118890 by TGL. *sysprof-1.0 (05 Oct 2005) diff --git a/dev-util/sysprof/Manifest b/dev-util/sysprof/Manifest index 48dd0aaec75a..e31c1af158d8 100644 --- a/dev-util/sysprof/Manifest +++ b/dev-util/sysprof/Manifest @@ -1,15 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 0697ddab41c19eed32f4535106422a0b ChangeLog 469 -MD5 adee278e0e445f2badb640ef691c2caf files/digest-sysprof-0.91 64 +MD5 0010860f582ae08a0e50b869c2672ecc ChangeLog 660 MD5 5fec4f12ce04d543378e727bb656b667 files/digest-sysprof-1.0 63 -MD5 daf49bff783b56d005079fd65a2bf10d sysprof-0.91.ebuild 974 +MD5 429f624174cefeb78d91124db803d3bf files/digest-sysprof-1.0.1 65 +MD5 b4292fb75bf4f8aab984575afe9f7d67 files/sysprof-1.0.1-INTERVAL_should_not_be_zero.patch 449 +MD5 e59e2c97f895c559493ade6e57c02b72 sysprof-1.0.1.ebuild 1066 MD5 21681e9f1f0fed0cca56543e5cdab098 sysprof-1.0.ebuild 980 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDYWvpgIKl8Uu19MoRAgQpAJ4zTP2orqKthtwWcCWkFPsj2ShC4gCbBp9q -V8gwqw6keyvN9oBSRuVAQ6I= -=WxZW +iD8DBQFDyERW2+ySkm8kpY0RAtTUAKC7f/D9t5eVdOfNQyKjnhLWjRiWwACfS88Z +mZd8OlzPFIx7fTHodTCbblk= +=lvhn -----END PGP SIGNATURE----- diff --git a/dev-util/sysprof/files/digest-sysprof-1.0.1 b/dev-util/sysprof/files/digest-sysprof-1.0.1 new file mode 100644 index 000000000000..728656acf4c7 --- /dev/null +++ b/dev-util/sysprof/files/digest-sysprof-1.0.1 @@ -0,0 +1 @@ +MD5 08a4782d6469ede780671feb754bbcb3 sysprof-1.0.1.tar.gz 138055 diff --git a/dev-util/sysprof/files/sysprof-1.0.1-INTERVAL_should_not_be_zero.patch b/dev-util/sysprof/files/sysprof-1.0.1-INTERVAL_should_not_be_zero.patch new file mode 100644 index 000000000000..7c4bad8508ae --- /dev/null +++ b/dev-util/sysprof/files/sysprof-1.0.1-INTERVAL_should_not_be_zero.patch @@ -0,0 +1,17 @@ +http://bugs.gentoo.org/show_bug.cgi?id=118890#c4 + +--- module/sysprof-module.c ++++ module/sysprof-module.c +@@ -50,7 +50,11 @@ + MODULE_AUTHOR("Soeren Sandmann (sandmann@daimi.au.dk)"); + + #define SAMPLES_PER_SECOND (200) +-#define INTERVAL (HZ / SAMPLES_PER_SECOND) ++#if (HZ > SAMPLES_PER_SECOND) ++# define INTERVAL (HZ / SAMPLES_PER_SECOND) ++#else ++# define INTERVAL 1 ++#endif + #define N_TRACES 256 + + static SysprofStackTrace stack_traces[N_TRACES]; diff --git a/dev-util/sysprof/sysprof-1.0.1.ebuild b/dev-util/sysprof/sysprof-1.0.1.ebuild new file mode 100644 index 000000000000..69745dcda765 --- /dev/null +++ b/dev-util/sysprof/sysprof-1.0.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/sysprof/sysprof-1.0.1.ebuild,v 1.1 2006/01/14 00:21:02 vapier Exp $ + +inherit eutils linux-mod + +DESCRIPTION="System-wide Linux Profiler" +HOMEPAGE="http://www.daimi.au.dk/~sandmann/sysprof/" +SRC_URI="http://www.daimi.au.dk/~sandmann/sysprof/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=x11-libs/gtk+-2.6" + +pkg_setup() { + MODULE_NAMES="sysprof-module(misc:${S}/module)" + CONFIG_CHECK="PROFILING" + PROFILING_ERROR="You need to enable Profiling support in your kernel." + BUILD_TARGETS="all" + linux-mod_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-INTERVAL_should_not_be_zero.patch +} + +src_compile() { + econf --disable-kernel-module || die + emake || die + linux-mod_src_compile +} + +src_install() { + make install DESTDIR="${D}" || die + linux-mod_src_install + dodoc AUTHORS ChangeLog NEWS README TODO + make_desktop_entry sysprof Sysprof sysprof-icon.png +} |