1 |
bircoph 14/12/01 06:39:59 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: oprofile-1.0.0.ebuild |
5 |
Log: |
6 |
Version bump to 1.0.0 per bug 530754 |
7 |
|
8 |
Signed-off-by: Andrew Savchenko <bircoph@g.o> |
9 |
(Portage version: 2.2.14/cvs/Linux i686, signed Manifest commit with key 565953B95372756C) |
10 |
|
11 |
Revision Changes Path |
12 |
1.97 dev-util/oprofile/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?rev=1.97&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?rev=1.97&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/ChangeLog?r1=1.96&r2=1.97 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v |
21 |
retrieving revision 1.96 |
22 |
retrieving revision 1.97 |
23 |
diff -u -r1.96 -r1.97 |
24 |
--- ChangeLog 16 Nov 2014 12:42:25 -0000 1.96 |
25 |
+++ ChangeLog 1 Dec 2014 06:39:59 -0000 1.97 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-util/oprofile |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.96 2014/11/16 12:42:25 bircoph Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.97 2014/12/01 06:39:59 bircoph Exp $ |
31 |
+ |
32 |
+*oprofile-1.0.0 (01 Dec 2014) |
33 |
+ |
34 |
+ 01 Dec 2014; Andrew Savchenko <bircoph@g.o> +oprofile-1.0.0.ebuild, |
35 |
+ +files/oprofile-1.0.0-athlon.patch: |
36 |
+ Version bump to 1.0.0, see bug 530754. |
37 |
+ Fix CPU detection for Athlon systems. |
38 |
|
39 |
16 Nov 2014; Andrew Savchenko <bircoph@g.o> metadata.xml: |
40 |
Add myself to maintainers |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-util/oprofile/oprofile-1.0.0.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-1.0.0.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/oprofile/oprofile-1.0.0.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: oprofile-1.0.0.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/oprofile-1.0.0.ebuild,v 1.1 2014/12/01 06:39:59 bircoph Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
inherit eutils java-pkg-opt-2 linux-info multilib user |
57 |
|
58 |
MY_P=${PN}-${PV/_/-} |
59 |
DESCRIPTION="A transparent low-overhead system-wide profiler" |
60 |
HOMEPAGE="http://${PN}.sourceforge.net" |
61 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
66 |
IUSE="java pch" |
67 |
|
68 |
DEPEND=">=dev-libs/popt-1.7-r1 |
69 |
>=sys-devel/binutils-2.14.90.0.6-r3 |
70 |
>=sys-libs/glibc-2.3.2-r1 |
71 |
java? ( >=virtual/jdk-1.5 )" |
72 |
RDEPEND="${DEPEND}" |
73 |
|
74 |
S="${WORKDIR}/${MY_P}" |
75 |
|
76 |
CONFIG_CHECK="PERF_EVENTS" |
77 |
ERROR_PERF_EVENTS="CONFIG_PERF_EVENTS is mandatory for ${PN} to work." |
78 |
|
79 |
pkg_setup() { |
80 |
linux-info_pkg_setup |
81 |
if ! kernel_is -ge 2 6 ; then |
82 |
echo |
83 |
elog "Support for kernels before 2.6 has been dropped in ${PN}-0.9.8." |
84 |
echo |
85 |
fi |
86 |
|
87 |
# Required for JIT support, see README_PACKAGERS |
88 |
enewgroup ${PN} |
89 |
enewuser ${PN} -1 -1 -1 ${PN} |
90 |
|
91 |
use java && java-pkg_init |
92 |
} |
93 |
|
94 |
src_prepare() { |
95 |
epatch "${FILESDIR}/${P}-athlon.patch" |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
econf \ |
100 |
--disable-werror \ |
101 |
$(use_enable pch) \ |
102 |
$(use_with java java ${JAVA_HOME}) |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}" install |
107 |
|
108 |
dodoc ChangeLog* README TODO |
109 |
echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}" |
110 |
doenvd "${T}/10${PN}" |
111 |
} |
112 |
|
113 |
pkg_postinst() { |
114 |
echo |
115 |
elog "Starting from ${PN}-1.0.0 opcontrol was removed, use operf instead." |
116 |
elog "CONFIG_OPROFILE is no longer used, you may remove it from your kernels." |
117 |
elog "Please read manpages and this html doc:" |
118 |
elog " /usr/share/doc/${PF}/${PN}.html" |
119 |
echo |
120 |
} |