diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-07-23 19:48:18 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-07-23 19:48:18 +0000 |
commit | a28d758d5ecfeffb24e36e0a2b121da06fdaa343 (patch) | |
tree | 7fb5f1abbbde0b7b2db0efa8246683646f3dacf1 /dev-util/oprofile | |
parent | Version bump, mostly bugfixes after the release candidates (diff) | |
download | historical-a28d758d5ecfeffb24e36e0a2b121da06fdaa343.tar.gz historical-a28d758d5ecfeffb24e36e0a2b121da06fdaa343.tar.bz2 historical-a28d758d5ecfeffb24e36e0a2b121da06fdaa343.zip |
Remove old ebuilds.
Package-Manager: portage-2.2_rc2/cvs/Linux 2.6.26 x86_64
Diffstat (limited to 'dev-util/oprofile')
-rw-r--r-- | dev-util/oprofile/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/oprofile/Manifest | 17 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.8.2.patch | 12 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.1-gcc41-compilation-fix.diff | 93 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.1-opcontrol_path.diff | 18 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.2-amd64.patch | 86 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.1-r1.ebuild | 82 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.2.ebuild | 79 |
8 files changed, 13 insertions, 384 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog index eba4a7e638b0..3a1a37f0be88 100644 --- a/dev-util/oprofile/ChangeLog +++ b/dev-util/oprofile/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-util/oprofile # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.49 2008/07/23 19:44:43 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.50 2008/07/23 19:48:17 spock Exp $ + + 23 Jul 2008; Michał Januszewski <spock@gentoo.org> + -files/oprofile-0.8.2.patch, + -files/oprofile-0.9.1-gcc41-compilation-fix.diff, + -files/oprofile-0.9.1-opcontrol_path.diff, + -files/oprofile-0.9.2-amd64.patch, -oprofile-0.9.1-r1.ebuild, + -oprofile-0.9.2.ebuild: + Remove old ebuilds. *oprofile-0.9.4 (23 Jul 2008) diff --git a/dev-util/oprofile/Manifest b/dev-util/oprofile/Manifest index e9ce0e30931b..a6ff3f4bc66e 100644 --- a/dev-util/oprofile/Manifest +++ b/dev-util/oprofile/Manifest @@ -1,26 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX oprofile-0.8.2.patch 669 RMD160 bec543dd9fe365427b8b8c4439fb77f9c7c93b29 SHA1 271bbf2919ca239a4a4209cc7390354cde434ec7 SHA256 192dc8b084d531baf185afe2fa889e9891fc815360c7ac9f7bcbedc82b0c6590 -AUX oprofile-0.9.1-gcc41-compilation-fix.diff 2222 RMD160 29fc88fdbeed18b4bba3636db8c58dae6661406b SHA1 5368e8f218ad979b6ffca9e3b79b8297bdd82fe2 SHA256 0e23a38332e3d0a4cf16caf384acba519f15c2892bb68c3732261a42421da175 -AUX oprofile-0.9.1-opcontrol_path.diff 576 RMD160 9e30a4c3c9cc201d2d846c2649de629644b68e17 SHA1 208e8133565654c072caadbfa5b448784d62ea3a SHA256 f51d661cb4969042fef98f8c4a95ac6878945a980c312d2d38be0d3eeb734896 -AUX oprofile-0.9.2-amd64.patch 2163 RMD160 82c2e9afc2bf6d338f382e90bcdc1a5e3fc131b2 SHA1 c5a7844a38d2b7ade57d78563a0379389f9b3455 SHA256 16419001df2cf78578e8de1244bf07b4ccd940ac92d2f369eeaa816bbe56c058 AUX oprofile-0.9.3-gcc43.patch 7398 RMD160 bf6bab5b7d1fe489a0992940cc893a1db82acc03 SHA1 4c502e095bdc2128b9891525f86d97fa614880a5 SHA256 c217da3603574d43312f50a3298705fde96cc4148aeb6f44c20a3367db7fb69e -DIST oprofile-0.9.1-g4-counters.patch.gz 5427 RMD160 46685bcf38065aa60d1ef3c374c168f1167e1504 SHA1 46777765c11206150ba487fb1a76329ce03a0abf SHA256 0cc300f9db9d26b8298274262f5f16dbe1a97ff5fa225e30e089ccbfd35aada7 -DIST oprofile-0.9.1.tar.gz 673244 RMD160 620d06dabc913b426e0eb7e488ba9e8ec5c75321 SHA1 2faa967b15ad66e486225f0bb7849a0dab87a25a SHA256 b3ec27967f072409f692583a6fdbede5cf3dddc89ef0a7102292d8517ffb4a31 -DIST oprofile-0.9.2.tar.gz 741870 RMD160 e514b9ba6327cd84915a5b9fb5bc3b7c483484ac SHA1 5e7056ef32d91bf0c15a99bf77026980fcc017ba SHA256 4b3780ee09efe665a69151c994e0e5f01a56c57338660c18df30916904df83a6 DIST oprofile-0.9.3.tar.gz 853593 RMD160 adcacb204b9061aebf761d6545e4f0b1ba1c4608 SHA1 88aab6c2259423548977d8485467aee98b35ed33 SHA256 4f86ab165dabcc7bc4008710a66fa0ed391c083e2a8bdf8a8f5bf11c0244b2cb DIST oprofile-0.9.4.tar.gz 1229744 RMD160 5653f852a4d67edeedacb51e8f0c02ec8e165377 SHA1 8609b6bec7769eaaf8b8703ecde33f18f8a8a195 SHA256 cb1452159036ba7d3003b75dfef38fcbc61503f76adfca2879ebf7766931cade -EBUILD oprofile-0.9.1-r1.ebuild 2150 RMD160 77e15ccadba2fd9179e956a93c54c05e793acd19 SHA1 ee6085b0096d48ddb95678b86b8ccf7b50c6c87b SHA256 eed11c78a7770fd59371fd327a860726c09790c71b2d12e1f84b1338a42372a8 -EBUILD oprofile-0.9.2.ebuild 2006 RMD160 8ef5b9260cdf6b8b2285303b7c9515d194ec451c SHA1 77b72461d1a951745c33dfe603932c0d60bddcd3 SHA256 ba1a33b45aee693950d135344b1ccfbe7555a039f512408fd9de76c0b7be0709 EBUILD oprofile-0.9.3.ebuild 2008 RMD160 79a275bd78747a1199d2cd97649db09d603a740a SHA1 8d8ca56c7ecefa567e1d14cb07e78e441a3f7131 SHA256 5213309b35f66005ac2a3fcbd46c2b28545758eec741d311a22229d1ccb399d7 EBUILD oprofile-0.9.4.ebuild 1931 RMD160 ed9edf151e5f581d480c0e0de63a7da68ee36ba4 SHA1 8c0ac899a37b8c17df26c92a49b5f62e92b3e74e SHA256 f4a24817805d3a5c16014e9941ef17b4626768912ab4c3cd909e7ef8309375b0 -MISC ChangeLog 6589 RMD160 60f98715a86e7b6b0be012e08e19a461ed1796a3 SHA1 e0cfddfe879f531e4686ac0fe2055d0eee1ab2bf SHA256 e625b0d2899804964a037f622b80bd0070998c8dcc82a2d8e73dd7e5bfb874a7 +MISC ChangeLog 6884 RMD160 4fab86e4dd6f83152a7ddd83465ffa228465ea85 SHA1 46fb634706ed9041a3b287b2c67bb807a1aa0d9f SHA256 1824ee905284d3fcf721f979812b06128cc8a02e17355b838a9d19dcf4a9d432 MISC metadata.xml 307 RMD160 c409719a8668e511d68d18b694941a938d6fcf60 SHA1 c547c9982ae42542ad182642ca3d5608f83e202a SHA256 0df423537a6bebf20bf0422e63cc497468f4926c27c0025c8703db116cdefb69 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkiHif4ACgkQchej4aZK9/c6hwCfWRx15998sqBLsGABMymlaGgm -bXIAn3YCOqJb1FWtkmR3W2CClMXaYyhv -=WWS2 +iEYEARECAAYFAkiHis8ACgkQchej4aZK9/egIQCfenYXnva2pQAhN0sURbnYPm3m +Z48An08HDBvTw5neHVimMJjN6V5ynOej +=46zl -----END PGP SIGNATURE----- diff --git a/dev-util/oprofile/files/oprofile-0.8.2.patch b/dev-util/oprofile/files/oprofile-0.8.2.patch deleted file mode 100644 index e5284b7108a5..000000000000 --- a/dev-util/oprofile/files/oprofile-0.8.2.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur oprofile-0.8.2/module/oprofile.h oprofile-0.8.2-fixed/module/oprofile.h ---- oprofile-0.8.2/module/oprofile.h 2003-11-01 19:56:53.000000000 +0100 -+++ oprofile-0.8.2-fixed/module/oprofile.h 2005-04-26 20:10:16.000000000 +0200 -@@ -141,7 +141,7 @@ - * performance counter */ - extern struct op_int_operations op_rtc_ops; - --void FASTCALL(op_do_profile(uint cpu, long eip, long irq_enabled, int ctr)); -+void op_do_profile(uint cpu, long eip, long irq_enabled, int ctr); - extern struct _oprof_data oprof_data[NR_CPUS]; - extern struct oprof_sysctl sysctl_parms; - extern int lproc_dointvec(ctl_table *table, int write, struct file *filp, void *buffer, size_t *lenp); diff --git a/dev-util/oprofile/files/oprofile-0.9.1-gcc41-compilation-fix.diff b/dev-util/oprofile/files/oprofile-0.9.1-gcc41-compilation-fix.diff deleted file mode 100644 index 82938acd351e..000000000000 --- a/dev-util/oprofile/files/oprofile-0.9.1-gcc41-compilation-fix.diff +++ /dev/null @@ -1,93 +0,0 @@ ---- libpp/arrange_profiles.cpp.orig 2006-02-15 13:26:05.780995781 +0100 -+++ libpp/arrange_profiles.cpp 2006-02-15 13:16:37.997633075 +0100 -@@ -24,6 +24,44 @@ - #include "parse_filename.h" - #include "locate_images.h" - -+bool profile_classes::matches(profile_classes const & classes) -+{ -+ if (v.size() != classes.v.size()) -+ return false; -+ -+ axis_types const axis2 = classes.axis; -+ -+ switch (axis) { -+ case AXIS_EVENT: -+ break; -+ case AXIS_TGID: -+ case AXIS_TID: -+ return axis2 == AXIS_TID || axis2 == AXIS_TGID; -+ case AXIS_CPU: -+ return axis2 == AXIS_CPU; -+ case AXIS_MAX: -+ return false; -+ } -+ -+ // check that the events match (same event, count) -+ -+ std::vector<profile_class>::const_iterator it1 = v.begin(); -+ std::vector<profile_class>::const_iterator end1 = v.end(); -+ std::vector<profile_class>::const_iterator it2 = classes.v.begin(); -+ -+ while (it1 != end1) { -+ if (it1->ptemplate.event != it2->ptemplate.event) -+ return false; -+ if (it1->ptemplate.count != it2->ptemplate.count) -+ return false; -+ // differing unit mask is considered comparable -+ ++it1; -+ ++it2; -+ } -+ -+ return true; -+} -+ - using namespace std; - - namespace { -@@ -90,45 +128,6 @@ - }; - - --bool profile_classes::matches(profile_classes const & classes) --{ -- if (v.size() != classes.v.size()) -- return false; -- -- axis_types const axis2 = classes.axis; -- -- switch (axis) { -- case AXIS_EVENT: -- break; -- case AXIS_TGID: -- case AXIS_TID: -- return axis2 == AXIS_TID || axis2 == AXIS_TGID; -- case AXIS_CPU: -- return axis2 == AXIS_CPU; -- case AXIS_MAX: -- return false; -- } -- -- // check that the events match (same event, count) -- -- vector<profile_class>::const_iterator it1 = v.begin(); -- vector<profile_class>::const_iterator end1 = v.end(); -- vector<profile_class>::const_iterator it2 = classes.v.begin(); -- -- while (it1 != end1) { -- if (it1->ptemplate.event != it2->ptemplate.event) -- return false; -- if (it1->ptemplate.count != it2->ptemplate.count) -- return false; -- // differing unit mask is considered comparable -- ++it1; -- ++it2; -- } -- -- return true; --} -- -- - /// We have more than one axis of classification, tell the user. - void report_error(profile_classes const & classes, axis_types newaxis) - { diff --git a/dev-util/oprofile/files/oprofile-0.9.1-opcontrol_path.diff b/dev-util/oprofile/files/oprofile-0.9.1-opcontrol_path.diff deleted file mode 100644 index 2d2dabdbf16c..000000000000 --- a/dev-util/oprofile/files/oprofile-0.9.1-opcontrol_path.diff +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naurp oprofile-0.9.1-orig/utils/opcontrol oprofile-0.9.1/utils/opcontrol ---- oprofile-0.9.1-orig/utils/opcontrol 2006-02-12 15:26:15.000000000 +0100 -+++ oprofile-0.9.1/utils/opcontrol 2006-02-12 15:26:45.000000000 +0100 -@@ -1409,12 +1409,12 @@ check_version() - - # main - -+PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin -+ - # determine the location of opcontrol and related programs - OPCONTROL=`which $0` - OPDIR=`dirname $OPCONTROL` - --PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin -- - check_version_help $@ - - if test -z "$1"; then diff --git a/dev-util/oprofile/files/oprofile-0.9.2-amd64.patch b/dev-util/oprofile/files/oprofile-0.9.2-amd64.patch deleted file mode 100644 index 06c5e9a7728f..000000000000 --- a/dev-util/oprofile/files/oprofile-0.9.2-amd64.patch +++ /dev/null @@ -1,86 +0,0 @@ ---- a/libop/op_alloc_counter.c 2007-03-21 02:31:40.000000000 +0000 -+++ b/libop/op_alloc_counter.c 2007-03-21 02:31:42.000000000 +0000 -@@ -12,6 +12,8 @@ - */ - - #include <stdlib.h> -+#include <ctype.h> -+#include <dirent.h> - - #include "op_events.h" - #include "op_libiberty.h" -@@ -130,7 +132,7 @@ - counter_arc const * arc = list_entry(pos, counter_arc, next); - - if (allocated_mask & (1 << arc->counter)) -- return 0; -+ continue; - - counter_map[depth] = arc->counter; - -@@ -143,6 +145,42 @@ - return 0; - } - -+/* determine which directories are counter directories -+ */ -+static int perfcounterdir(const struct dirent * entry) -+{ -+ return (isdigit(entry->d_name[0])); -+} -+ -+/** -+ * @param mask pointer where to place bit mask of unavailable counters -+ * -+ * return >= 0 number of counters that are available -+ * < 0 could not determine number of counters -+ * -+ */ -+static int op_get_counter_mask(u32 * mask) -+{ -+ struct dirent **counterlist; -+ int count, i; -+ /* assume nothing is available */ -+ u32 available=0; -+ -+ count = scandir("/dev/oprofile", &counterlist, perfcounterdir, -+ alphasort); -+ if (count < 0) -+ /* unable to determine bit mask */ -+ return -1; -+ /* convert to bit map (0 where counter exists) */ -+ for (i=0; i<count; ++i) { -+ available |= 1 << atoi(counterlist[i]->d_name); -+ free(counterlist[i]); -+ } -+ *mask=~available; -+ free(counterlist); -+ return count; -+} -+ - - size_t * map_event_to_counter(struct op_event const * pev[], int nr_events, - op_cpu cpu_type) -@@ -150,8 +188,11 @@ - counter_arc_head * ctr_arc; - size_t * counter_map; - int nr_counters; -+ u32 unavailable_counters = 0; - -- nr_counters = op_get_nr_counters(cpu_type); -+ nr_counters = op_get_counter_mask(&unavailable_counters); -+ if (nr_counters < 0) -+ nr_counters = op_get_nr_counters(cpu_type); - if (nr_counters < nr_events) - return 0; - -@@ -159,7 +200,8 @@ - - counter_map = xmalloc(nr_counters * sizeof(size_t)); - -- if (!allocate_counter(ctr_arc, nr_events, 0, 0, counter_map)) { -+ if (!allocate_counter(ctr_arc, nr_events, 0, unavailable_counters, -+ counter_map)) { - free(counter_map); - counter_map = 0; - } diff --git a/dev-util/oprofile/oprofile-0.9.1-r1.ebuild b/dev-util/oprofile/oprofile-0.9.1-r1.ebuild deleted file mode 100644 index 8dceb820f407..000000000000 --- a/dev-util/oprofile/oprofile-0.9.1-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.1-r1.ebuild,v 1.12 2007/04/16 15:15:00 spock Exp $ - -inherit eutils qt3 linux-info - -DESCRIPTION="A transparent low-overhead system-wide profiler" -HOMEPAGE="http://oprofile.sourceforge.net" -SRC_URI="mirror://sourceforge/oprofile/${P}.tar.gz - mirror://gentoo/${P}-g4-counters.patch.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="amd64 ppc x86" -# IUSE: it also needs kernel sources but all gentoo users have them -IUSE="qt3" -DEPEND=">=dev-libs/popt-1.7-r1 - >=sys-devel/binutils-2.14.90.0.6-r3 - >=sys-libs/glibc-2.3.2-r1 - qt3? ( $(qt_min_version 3.3) )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/oprofile-0.9.1-opcontrol_path.diff - epatch ${FILESDIR}/oprofile-0.9.1-gcc41-compilation-fix.diff - epatch ${WORKDIR}/${P}-g4-counters.patch -} - -src_compile() { - local myconf="" - - if use qt3 - 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_FULL} in - 2.2.*|2.4.*) myconf="${myconf} --with-linux=${KV_DIR}";; - 2.5.*|2.6.*) myconf="${myconf} --with-kernel-support";; - *) die "Kernel version '${KV_FULL}' 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_FULL}" - make DESTDIR=${D} ${myinst} install || die "make install failed" - - dodoc ChangeLog* README TODO -} - -pkg_postinst() { - if [[ ${ROOT} == / ]] ; then - [[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update - fi - - echo - elog "Now load the oprofile module by running:" - elog " # opcontrol --init" - elog "Then read manpages and this html doc:" - elog " /usr/share/doc/oprofile/oprofile.html" - echo -} diff --git a/dev-util/oprofile/oprofile-0.9.2.ebuild b/dev-util/oprofile/oprofile-0.9.2.ebuild deleted file mode 100644 index 05bc4cad6a6c..000000000000 --- a/dev-util/oprofile/oprofile-0.9.2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.2.ebuild,v 1.6 2007/04/16 15:15:00 spock Exp $ - -inherit eutils qt3 linux-info - -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="~amd64 ~ppc ~ppc64 ~sparc ~x86" -# IUSE: it also needs kernel sources but all gentoo users have them -IUSE="qt3" -DEPEND=">=dev-libs/popt-1.7-r1 - >=sys-devel/binutils-2.14.90.0.6-r3 - >=sys-libs/glibc-2.3.2-r1 - qt3? ( $(qt_min_version 3.3) )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/oprofile-0.9.2-amd64.patch -} - -src_compile() { - local myconf="" - - if use qt3 - 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_FULL} in - 2.2.*|2.4.*) myconf="${myconf} --with-linux=${KV_DIR}";; - 2.5.*|2.6.*) myconf="${myconf} --with-kernel-support";; - *) die "Kernel version '${KV_FULL}' 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_FULL}" - make DESTDIR=${D} ${myinst} install || die "make install failed" - - dodoc ChangeLog* README TODO -} - -pkg_postinst() { - if [[ ${ROOT} == / ]] ; then - [[ -x /sbin/update-modules ]] && /sbin/update-modules || /sbin/modules-update - fi - - echo - elog "Now load the oprofile module by running:" - elog " # opcontrol --init" - elog "Then read manpages and this html doc:" - elog " /usr/share/doc/oprofile/oprofile.html" - echo -} |