diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-16 16:45:30 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-16 16:45:30 +0000 |
commit | d5d3ef3476dc40b86514f081e4be62b3df7038dc (patch) | |
tree | ed0583c9cf3287e47d4d46dc6baef59dd4f338ee /dev-util/oprofile | |
parent | Stable for HPPA (bug #304827). (diff) | |
download | historical-d5d3ef3476dc40b86514f081e4be62b3df7038dc.tar.gz historical-d5d3ef3476dc40b86514f081e4be62b3df7038dc.tar.bz2 historical-d5d3ef3476dc40b86514f081e4be62b3df7038dc.zip |
Remove USE="qt3" wrt #301377, thanks to Ben de Groot for reporting.
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'dev-util/oprofile')
-rw-r--r-- | dev-util/oprofile/ChangeLog | 5 | ||||
-rw-r--r-- | dev-util/oprofile/Manifest | 14 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch | 213 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch | 14 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch | 31 | ||||
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.4-open.patch | 11 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.3.ebuild | 82 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.4.ebuild | 92 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.5.ebuild | 82 | ||||
-rw-r--r-- | dev-util/oprofile/oprofile-0.9.6.ebuild | 37 |
10 files changed, 16 insertions, 565 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog index d80b57268659..f5c220caad47 100644 --- a/dev-util/oprofile/ChangeLog +++ b/dev-util/oprofile/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/oprofile # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.63 2010/02/04 03:05:29 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.64 2010/02/16 16:45:29 ssuominen Exp $ + + 16 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> oprofile-0.9.6.ebuild: + Remove USE="qt3" wrt #301377, thanks to Ben de Groot for reporting. 04 Feb 2010; Jeroen Roovers <jer@gentoo.org> oprofile-0.9.6.ebuild: Stable for HPPA PPC (bug #297610). diff --git a/dev-util/oprofile/Manifest b/dev-util/oprofile/Manifest index bea0fe2fcbfe..3e3a21b64a60 100644 --- a/dev-util/oprofile/Manifest +++ b/dev-util/oprofile/Manifest @@ -1,14 +1,4 @@ -AUX oprofile-0.9.3-gcc43.patch 7398 RMD160 bf6bab5b7d1fe489a0992940cc893a1db82acc03 SHA1 4c502e095bdc2128b9891525f86d97fa614880a5 SHA256 c217da3603574d43312f50a3298705fde96cc4148aeb6f44c20a3367db7fb69e -AUX oprofile-0.9.4+glibc-2.10.patch 480 RMD160 0eb43059db5e0e588e45221fbbbb21c9fedf1460 SHA1 68f88c720f6f2b0e84cd1217e1ee166802fba35a SHA256 7cb6fec22876c45177924f37c3da08615734983d63b2073f34e2f1649024ed82 -AUX oprofile-0.9.4-gcc43.patch 763 RMD160 a7b8ed320ca1a2dca5b027d62ae372fc5e694cfe SHA1 b4f2c2949151906a0b3dc3667b1d338e97756a2b SHA256 a41cf6f4e4319ba7d45956bd1df4af8463dcaa8e5c4b1cad1762d61f33e4a2b9 -AUX oprofile-0.9.4-open.patch 340 RMD160 9fb456aaf762a2d90d89cf9008970e35e331c2d4 SHA1 7413eef585b81234a15b95a3c16ec8f6b092b78f SHA256 e8b7ada2dfc5b73c3fba630b3765e46eddc554df8b76bd9b68ac965e21881768 -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 -DIST oprofile-0.9.5.tar.gz 1319732 RMD160 504e1e282f1d27296a7716f02eb5dbaca7c78cab SHA1 fbcacf3ec66e700126cbedef7bc337932e381916 SHA256 1cb7c3968e3e01e7597f54b87ebc87a48c6c8e569db7e353adb91841db5b4190 DIST oprofile-0.9.6.tar.gz 1321536 RMD160 95af7d4b698ac9f93567e7906e501f29949e96a0 SHA1 cc62cc58c574e235bc146c8ddc9d9a9af0972fd1 SHA256 3f0dd40a7749fc650d25d79d42ebbff8f3b6db310c36e7c3839696cc09077880 -EBUILD oprofile-0.9.3.ebuild 2056 RMD160 91892e2d5eee6111759932ec8d4204812649d05a SHA1 2741878c2ad9a345aad5a4e6dbdbb55734d0619f SHA256 a11d45af8e90e3f7c24c262aa23ae88ba2f2e3b9074e92270aa171a45c51207b -EBUILD oprofile-0.9.4.ebuild 2293 RMD160 c3c760d90adbe513f1d3a4f490336b12afeb33de SHA1 e8312d6558f3d5b2c8e3e70f81c2b5e4ddc52502 SHA256 87b8ce3123f82e0b7ef63fb584a80fd4794e84611296fda7abee785aace34ba2 -EBUILD oprofile-0.9.5.ebuild 2095 RMD160 b819ef7114fdbf37b8dc865692a863059c675fe9 SHA1 e2d74b2ffff81732d6b6ee76a531fb4be575a499 SHA256 beec8dc82d9f8a3b9e8891473ae4f81acecafbc2d83adeb8992be9f31a5db8f9 -EBUILD oprofile-0.9.6.ebuild 2114 RMD160 a9e33bc63ef56981ea1e7149e8b1766f3223d381 SHA1 df06d566c692d3a7b026aecc756a5449c3ca625b SHA256 b5f4ecd829193bff33b680fd08924683b1027289429fbab00c7572c9b47170a1 -MISC ChangeLog 8818 RMD160 b5fc2386df3c49e249b069a941607473900121dc SHA1 584ad76af49eb3e5fa03430f4d22146db25daa70 SHA256 da3eb25f31150f4c4ed39160e0281b4670858363f3155f891e3a61a641cb30e9 +EBUILD oprofile-0.9.6.ebuild 1708 RMD160 d37d351b78281d8472bd4d430509c3e8f23ae2a8 SHA1 11b000a9e196ec9ef18e8555138052d9c9557ea9 SHA256 0336da1ded55efeb19594d06a1eceb59b575106889b914cd7403d3aaf2cba0cd +MISC ChangeLog 8972 RMD160 2bde26847ebe8e08b27736ed4a6fd94feaaac7c2 SHA1 70eb4fddd1ea3be71c8ea41e6ae963b2056c204a SHA256 86895d727f78f7842fb3c1a9cb8d8be1bc1d460e0910688a624dded26f54ea54 MISC metadata.xml 307 RMD160 c409719a8668e511d68d18b694941a938d6fcf60 SHA1 c547c9982ae42542ad182642ca3d5608f83e202a SHA256 0df423537a6bebf20bf0422e63cc497468f4926c27c0025c8703db116cdefb69 diff --git a/dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch b/dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch deleted file mode 100644 index 722c87c73fa6..000000000000 --- a/dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch +++ /dev/null @@ -1,213 +0,0 @@ -diff -urp oprofile-0.9.3-orig/gui/oprof_start_util.cpp oprofile-0.9.3/gui/oprof_start_util.cpp ---- oprofile-0.9.3-orig/gui/oprof_start_util.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/gui/oprof_start_util.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -19,6 +19,7 @@ - #include <sstream> - #include <iostream> - #include <fstream> -+#include <cstdlib> - - #include <qfiledialog.h> - #include <qmessagebox.h> -diff -urp oprofile-0.9.3-orig/libabi/opimport.cpp oprofile-0.9.3/libabi/opimport.cpp ---- oprofile-0.9.3-orig/libabi/opimport.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libabi/opimport.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -17,6 +17,8 @@ - #include <iostream> - #include <vector> - #include <cassert> -+#include <cstring> -+#include <cstdlib> - - #include <sys/types.h> - #include <sys/stat.h> -diff -urp oprofile-0.9.3-orig/libpp/op_header.cpp oprofile-0.9.3/libpp/op_header.cpp ---- oprofile-0.9.3-orig/libpp/op_header.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libpp/op_header.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -14,6 +14,7 @@ - #include <iomanip> - #include <set> - #include <sstream> -+#include <cstring> - - #include "op_exception.h" - #include "odb.h" -Only in oprofile-0.9.3/libpp: op_header.cpp.orig -diff -urp oprofile-0.9.3-orig/libpp/profile.cpp oprofile-0.9.3/libpp/profile.cpp ---- oprofile-0.9.3-orig/libpp/profile.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libpp/profile.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -15,6 +15,7 @@ - #include <iostream> - #include <string> - #include <sstream> -+#include <cstring> - - #include <cerrno> - -diff -urp oprofile-0.9.3-orig/libpp/sample_container.cpp oprofile-0.9.3/libpp/sample_container.cpp ---- oprofile-0.9.3-orig/libpp/sample_container.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libpp/sample_container.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -9,6 +9,7 @@ - * @author John Levon - */ - -+#include <climits> - #include <set> - #include <numeric> - #include <algorithm> -diff -urp oprofile-0.9.3-orig/libregex/demangle_symbol.cpp oprofile-0.9.3/libregex/demangle_symbol.cpp ---- oprofile-0.9.3-orig/libregex/demangle_symbol.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libregex/demangle_symbol.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -8,6 +8,8 @@ - * @author John Levon - */ - -+#include <cstdlib> -+ - #include "config.h" - - #include "demangle_symbol.h" -diff -urp oprofile-0.9.3-orig/libutil++/bfd_spu_support.cpp oprofile-0.9.3/libutil++/bfd_spu_support.cpp ---- oprofile-0.9.3-orig/libutil++/bfd_spu_support.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libutil++/bfd_spu_support.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -19,6 +19,7 @@ - #include <fstream> - #include <sstream> - #include <string> -+#include <cstring> - #include <sys/types.h> - - struct spu_elf { -Only in oprofile-0.9.3/libutil++: bfd_spu_support.cpp.orig -diff -urp oprofile-0.9.3-orig/libutil++/bfd_support.cpp oprofile-0.9.3/libutil++/bfd_support.cpp ---- oprofile-0.9.3-orig/libutil++/bfd_support.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libutil++/bfd_support.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -19,6 +19,8 @@ - #include <fstream> - #include <sstream> - #include <string> -+#include <cstring> -+#include <cstdlib> - - using namespace std; - -diff -urp oprofile-0.9.3-orig/libutil++/child_reader.cpp oprofile-0.9.3/libutil++/child_reader.cpp ---- oprofile-0.9.3-orig/libutil++/child_reader.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libutil++/child_reader.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -11,10 +11,13 @@ - - #include <unistd.h> - #include <sys/wait.h> -+#include <limits.h> - - #include <cerrno> - #include <sstream> - #include <iostream> -+#include <cstring> -+#include <cstdlib> - - #include "op_libiberty.h" - #include "child_reader.h" -diff -urp oprofile-0.9.3-orig/libutil++/cverb.cpp oprofile-0.9.3/libutil++/cverb.cpp ---- oprofile-0.9.3-orig/libutil++/cverb.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libutil++/cverb.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -13,6 +13,7 @@ - #include <iostream> - #include <map> - #include <string> -+#include <cstring> - - #include "cverb.h" - -diff -urp oprofile-0.9.3-orig/libutil++/file_manip.cpp oprofile-0.9.3/libutil++/file_manip.cpp ---- oprofile-0.9.3-orig/libutil++/file_manip.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libutil++/file_manip.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -15,6 +15,8 @@ - #include <dirent.h> - #include <fnmatch.h> - #include <utime.h> -+#include <limits.h> -+#include <stdlib.h> - - #include <cstdio> - #include <cerrno> -diff -urp oprofile-0.9.3-orig/libutil++/op_spu_bfd.cpp oprofile-0.9.3/libutil++/op_spu_bfd.cpp ---- oprofile-0.9.3-orig/libutil++/op_spu_bfd.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libutil++/op_spu_bfd.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -14,6 +14,8 @@ - #include <sys/stat.h> - - #include <iostream> -+#include <cstring> -+#include <cstdlib> - - #include "op_bfd.h" - #include "op_libiberty.h" -Only in oprofile-0.9.3/libutil++: op_spu_bfd.cpp.orig -diff -urp oprofile-0.9.3-orig/pp/common_option.cpp oprofile-0.9.3/pp/common_option.cpp ---- oprofile-0.9.3-orig/pp/common_option.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/pp/common_option.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -12,6 +12,7 @@ - #include <iostream> - #include <sstream> - #include <iterator> -+#include <cstdlib> - - #include "op_config.h" - #include "locate_images.h" -diff -urp oprofile-0.9.3-orig/pp/opannotate_options.cpp oprofile-0.9.3/pp/opannotate_options.cpp ---- oprofile-0.9.3-orig/pp/opannotate_options.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/pp/opannotate_options.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -13,6 +13,7 @@ - #include <list> - #include <iterator> - #include <iostream> -+#include <cstdlib> - - #include "profile_spec.h" - #include "arrange_profiles.h" -diff -urp oprofile-0.9.3-orig/pp/oparchive.cpp oprofile-0.9.3/pp/oparchive.cpp ---- oprofile-0.9.3-orig/pp/oparchive.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/pp/oparchive.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -12,6 +12,7 @@ - - #include <iostream> - #include <fstream> -+#include <cstdlib> - - #include <errno.h> - #include <string.h> -diff -urp oprofile-0.9.3-orig/pp/opgprof_options.cpp oprofile-0.9.3/pp/opgprof_options.cpp ---- oprofile-0.9.3-orig/pp/opgprof_options.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/pp/opgprof_options.cpp 2008-05-04 18:52:58.000000000 +0200 -@@ -13,6 +13,7 @@ - #include <list> - #include <iterator> - #include <iostream> -+#include <cstdlib> - - #include "opgprof_options.h" - #include "popt_options.h" -diff -urp oprofile-0.9.3-orig/libabi/tests/abi_test.cpp oprofile-0.9.3/libabi/tests/abi_test.cpp ---- oprofile-0.9.3-orig/libabi/tests/abi_test.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libabi/tests/abi_test.cpp 2008-05-23 14:31:44.000000000 +0200 -@@ -17,6 +17,8 @@ - - #include <fstream> - #include <iostream> -+#include <cstdlib> -+#include <cstring> - - using namespace std; - -diff -urp oprofile-0.9.3-orig/libregex/tests/regex_test.cpp oprofile-0.9.3/libregex/tests/regex_test.cpp ---- oprofile-0.9.3-orig/libregex/tests/regex_test.cpp 2007-07-16 20:22:17.000000000 +0200 -+++ oprofile-0.9.3/libregex/tests/regex_test.cpp 2008-05-23 14:32:25.000000000 +0200 -@@ -20,6 +20,7 @@ - - #include <iostream> - #include <fstream> -+#include <cstdlib> - - using namespace std; - diff --git a/dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch b/dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch deleted file mode 100644 index fa3d5bb53a56..000000000000 --- a/dev-util/oprofile/files/oprofile-0.9.4+glibc-2.10.patch +++ /dev/null @@ -1,14 +0,0 @@ -Index: oprofile-0.9.4/configure.in -=================================================================== ---- oprofile-0.9.4.orig/configure.in -+++ oprofile-0.9.4/configure.in -@@ -96,6 +96,9 @@ ORIG_SAVE_LIBS="$LIBS" - dnl advanced glibc features which we need but may not be present - AC_CHECK_FUNCS(sched_setaffinity perfmonctl) - -+AC_USE_SYSTEM_EXTENSIONS -+AC_CHECK_DECLS_ONCE([basename]) -+ - AC_CHECK_LIB(popt, poptGetContext,, AC_MSG_ERROR([popt library not found])) - - AX_BINUTILS diff --git a/dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch b/dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch deleted file mode 100644 index 2acc961ea05f..000000000000 --- a/dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- libregex/tests/java_test.cpp.old 2008-09-03 00:57:19.357004497 +0200 -+++ libregex/tests/java_test.cpp 2008-09-03 00:57:38.234025373 +0200 -@@ -16,6 +16,7 @@ - - #include <iostream> - #include <fstream> -+#include <cstdlib> - - using namespace std; - ---- libregex/tests/regex_test.cpp.old 2008-09-03 00:55:18.564005266 +0200 -+++ libregex/tests/regex_test.cpp 2008-09-03 00:55:43.576001018 +0200 -@@ -20,6 +20,7 @@ - - #include <iostream> - #include <fstream> -+#include <cstdlib> - - using namespace std; - ---- libabi/tests/abi_test.cpp.old 2005-08-17 21:15:42.000000000 +0200 -+++ libabi/tests/abi_test.cpp 2008-09-03 01:00:04.091003916 +0200 -@@ -17,6 +17,8 @@ - - #include <fstream> - #include <iostream> -+#include <cstring> -+#include <cstdlib> - - using namespace std; - diff --git a/dev-util/oprofile/files/oprofile-0.9.4-open.patch b/dev-util/oprofile/files/oprofile-0.9.4-open.patch deleted file mode 100644 index e8c792629e90..000000000000 --- a/dev-util/oprofile/files/oprofile-0.9.4-open.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libutil++/file_manip.cpp.old 2009-02-07 18:28:59.000000000 +0300 -+++ libutil++/file_manip.cpp 2009-02-07 18:32:24.000000000 +0300 -@@ -44,7 +44,7 @@ - if (!in) - return false; - -- int fd = open(destination.c_str(), O_RDWR|O_CREAT); -+ int fd = open(destination.c_str(), O_RDWR|O_CREAT, 0666); - if (fd < 0) - return false; - close(fd); diff --git a/dev-util/oprofile/oprofile-0.9.3.ebuild b/dev-util/oprofile/oprofile-0.9.3.ebuild deleted file mode 100644 index 17c2a3350c5e..000000000000 --- a/dev-util/oprofile/oprofile-0.9.3.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.3.ebuild,v 1.8 2009/06/05 22:23:27 spock Exp $ - -EAPI=1 - -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 hppa 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? ( x11-libs/qt:3 )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gcc43.patch - epatch "${FILESDIR}"/oprofile-0.9.4-open.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.4.ebuild b/dev-util/oprofile/oprofile-0.9.4.ebuild deleted file mode 100644 index 766c09e788f8..000000000000 --- a/dev-util/oprofile/oprofile-0.9.4.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.4.ebuild,v 1.8 2009/05/26 20:45:09 flameeyes Exp $ - -EAPI=1 - -inherit eutils qt3 linux-info autotools - -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 ~hppa ~ppc ~ppc64 ~sparc ~x86" -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? ( x11-libs/qt:3 )" - -pkg_setup() { - linux-info_pkg_setup - if ! linux_chkconfig_present OPROFILE; then - elog "In order for oprofile to work, you need to configure your kernel" - elog "with CONFIG_OPROFILE set to 'm' or 'y'." - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-gcc43.patch" - epatch "${FILESDIR}/${P}-open.patch" - epatch "${FILESDIR}/${P}+glibc-2.10.patch" - - eautoreconf -} - -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} htmldir="/usr/share/doc/${PF}" 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/${PF}/oprofile.html" - echo -} diff --git a/dev-util/oprofile/oprofile-0.9.5.ebuild b/dev-util/oprofile/oprofile-0.9.5.ebuild deleted file mode 100644 index f6dcc7a01283..000000000000 --- a/dev-util/oprofile/oprofile-0.9.5.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.5.ebuild,v 1.1 2009/08/02 22:57:48 spock Exp $ - -EAPI=1 - -inherit 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 ~hppa ~ppc ~ppc64 ~sparc ~x86" -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? ( x11-libs/qt:3 )" - -pkg_setup() { - linux-info_pkg_setup - if ! linux_chkconfig_present OPROFILE; then - elog "In order for oprofile to work, you need to configure your kernel" - elog "with CONFIG_OPROFILE set to 'm' or 'y'." - fi -} - -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} htmldir="/usr/share/doc/${PF}" 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/${PF}/oprofile.html" - echo -} diff --git a/dev-util/oprofile/oprofile-0.9.6.ebuild b/dev-util/oprofile/oprofile-0.9.6.ebuild index a2a8a2b91ea5..92992054850c 100644 --- a/dev-util/oprofile/oprofile-0.9.6.ebuild +++ b/dev-util/oprofile/oprofile-0.9.6.ebuild @@ -1,23 +1,22 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.6.ebuild,v 1.4 2010/02/04 03:05:29 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-0.9.6.ebuild,v 1.5 2010/02/16 16:45:29 ssuominen Exp $ EAPI=1 - -inherit qt3 linux-info +inherit 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" +LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 hppa ppc ~ppc64 ~sparc x86" -IUSE="qt3" +IUSE="" + DEPEND=">=dev-libs/popt-1.7-r1 >=sys-devel/binutils-2.14.90.0.6-r3 - >=sys-libs/glibc-2.3.2-r1 - qt3? ( x11-libs/qt:3 )" + >=sys-libs/glibc-2.3.2-r1" pkg_setup() { linux-info_pkg_setup @@ -28,42 +27,26 @@ pkg_setup() { } 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" + local myconf="--with-qt-dir=/void --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" + econf ${myconf} || die local mymake="" sed -i -e "s,depmod -a,:,g" Makefile - emake ${mymake} || die "emake failed" + emake ${mymake} || die } src_install() { local myinst="" myinst="${myinst} MODINSTALLDIR=${D}/lib/modules/${KV_FULL}" - make DESTDIR="${D}" ${myinst} htmldir="/usr/share/doc/${PF}" install || die "make install failed" + make DESTDIR="${D}" ${myinst} htmldir="/usr/share/doc/${PF}" install || die dodoc ChangeLog* README TODO } |