Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/oprofile/
Date: Tue, 29 Sep 2015 19:49:26
Message-Id: 1443556125.d04ba9e826781f21deeaee34ea82377756dbe8f2.bircoph@gentoo
1 commit: d04ba9e826781f21deeaee34ea82377756dbe8f2
2 Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
3 AuthorDate: Tue Sep 29 19:47:45 2015 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 19:48:45 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04ba9e8
7
8 dev-util/oprofile: remove old
9
10 Package-Manager: portage-2.2.22
11 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
12
13 dev-util/oprofile/oprofile-1.0.0-r1.ebuild | 72 ------------------------------
14 dev-util/oprofile/oprofile-1.1.0.ebuild | 67 ---------------------------
15 2 files changed, 139 deletions(-)
16
17 diff --git a/dev-util/oprofile/oprofile-1.0.0-r1.ebuild b/dev-util/oprofile/oprofile-1.0.0-r1.ebuild
18 deleted file mode 100644
19 index 4c75501..0000000
20 --- a/dev-util/oprofile/oprofile-1.0.0-r1.ebuild
21 +++ /dev/null
22 @@ -1,72 +0,0 @@
23 -# Copyright 1999-2015 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Id$
26 -
27 -EAPI="5"
28 -inherit eutils java-pkg-opt-2 linux-info multilib user
29 -
30 -MY_P=${PN}-${PV/_/-}
31 -DESCRIPTION="A transparent low-overhead system-wide profiler"
32 -HOMEPAGE="http://${PN}.sourceforge.net"
33 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
34 -
35 -LICENSE="GPL-2"
36 -SLOT="0"
37 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
38 -IUSE="java pch"
39 -
40 -RDEPEND=">=dev-libs/popt-1.7-r1
41 - >=sys-devel/binutils-2.14.90.0.6-r3:*
42 - >=sys-libs/glibc-2.3.2-r1
43 - java? ( >=virtual/jdk-1.5:= )"
44 -DEPEND="${RDEPEND}
45 - >=sys-kernel/linux-headers-2.6.31"
46 -
47 -S="${WORKDIR}/${MY_P}"
48 -
49 -CONFIG_CHECK="PERF_EVENTS"
50 -ERROR_PERF_EVENTS="CONFIG_PERF_EVENTS is mandatory for ${PN} to work."
51 -
52 -pkg_setup() {
53 - linux-info_pkg_setup
54 - if ! kernel_is -ge 2 6 31; then
55 - echo
56 - ewarn "Support for kernels before 2.6.31 has been dropped in ${PN}-1.0.0."
57 - echo
58 - fi
59 -
60 - # Required for JIT support, see README_PACKAGERS
61 - enewgroup ${PN}
62 - enewuser ${PN} -1 -1 -1 ${PN}
63 -
64 - use java && java-pkg_init
65 -}
66 -
67 -src_prepare() {
68 - epatch "${FILESDIR}/${P}-athlon.patch"
69 - epatch "${FILESDIR}/${P}-opjitconv-open.patch"
70 -}
71 -
72 -src_configure() {
73 - econf \
74 - --disable-werror \
75 - $(use_enable pch) \
76 - $(use_with java java ${JAVA_HOME})
77 -}
78 -
79 -src_install() {
80 - emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}" install
81 -
82 - dodoc ChangeLog* README TODO
83 - echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}"
84 - doenvd "${T}/10${PN}"
85 -}
86 -
87 -pkg_postinst() {
88 - echo
89 - elog "Starting from ${PN}-1.0.0 opcontrol was removed, use operf instead."
90 - elog "CONFIG_OPROFILE is no longer used, you may remove it from your kernels."
91 - elog "Please read manpages and this html doc:"
92 - elog " /usr/share/doc/${PF}/${PN}.html"
93 - echo
94 -}
95
96 diff --git a/dev-util/oprofile/oprofile-1.1.0.ebuild b/dev-util/oprofile/oprofile-1.1.0.ebuild
97 deleted file mode 100644
98 index fedcbb1..0000000
99 --- a/dev-util/oprofile/oprofile-1.1.0.ebuild
100 +++ /dev/null
101 @@ -1,67 +0,0 @@
102 -# Copyright 1999-2015 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -# $Id$
105 -
106 -EAPI="5"
107 -inherit java-pkg-opt-2 linux-info multilib user
108 -
109 -MY_P=${PN}-${PV/_/-}
110 -DESCRIPTION="A transparent low-overhead system-wide profiler"
111 -HOMEPAGE="http://${PN}.sourceforge.net"
112 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
113 -
114 -LICENSE="GPL-2"
115 -SLOT="0"
116 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
117 -IUSE="java pch"
118 -
119 -RDEPEND=">=dev-libs/popt-1.7-r1
120 - >=sys-devel/binutils-2.14.90.0.6-r3:*
121 - >=sys-libs/glibc-2.3.2-r1
122 - java? ( >=virtual/jdk-1.5:= )"
123 -DEPEND="${RDEPEND}
124 - >=sys-kernel/linux-headers-2.6.31"
125 -
126 -S="${WORKDIR}/${MY_P}"
127 -
128 -CONFIG_CHECK="PERF_EVENTS"
129 -ERROR_PERF_EVENTS="CONFIG_PERF_EVENTS is mandatory for ${PN} to work."
130 -
131 -pkg_setup() {
132 - linux-info_pkg_setup
133 - if ! kernel_is -ge 2 6 31; then
134 - echo
135 - ewarn "Support for kernels before 2.6.31 has been dropped in ${PN}-1.0.0."
136 - echo
137 - fi
138 -
139 - # Required for JIT support, see README_PACKAGERS
140 - enewgroup ${PN}
141 - enewuser ${PN} -1 -1 -1 ${PN}
142 -
143 - use java && java-pkg_init
144 -}
145 -
146 -src_configure() {
147 - econf \
148 - --disable-werror \
149 - $(use_enable pch) \
150 - $(use_with java java ${JAVA_HOME})
151 -}
152 -
153 -src_install() {
154 - emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}" install
155 -
156 - dodoc ChangeLog* README TODO
157 - echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}"
158 - doenvd "${T}/10${PN}"
159 -}
160 -
161 -pkg_postinst() {
162 - echo
163 - elog "Starting from ${PN}-1.0.0 opcontrol was removed, use operf instead."
164 - elog "CONFIG_OPROFILE is no longer used, you may remove it from your kernels."
165 - elog "Please read manpages and this html doc:"
166 - elog " /usr/share/doc/${PF}/${PN}.html"
167 - echo
168 -}