public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/oprofile/
Date: Wed, 23 Aug 2017 06:42:05 +0000 (UTC)	[thread overview]
Message-ID: <1503470517.08fa0cbd562f100a64fde7d079d7828e824b1004.bircoph@gentoo> (raw)

commit:     08fa0cbd562f100a64fde7d079d7828e824b1004
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 06:11:26 2017 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 06:41:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08fa0cbd

dev-util/oprofile: drop event files filtering

Event files may be used in nontrivial way, so filtering them out
may result in broken oprofile, see
https://bugs.gentoo.org/show_bug.cgi?id=580016#c2

Package-Manager: Portage-2.3.8, Repoman-2.3.3
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>

 .../{oprofile-1.2.0.ebuild => oprofile-1.2.0-r1.ebuild} | 15 ---------------
 ...1027.ebuild => oprofile-1.2.0_pre20161027-r1.ebuild} | 17 +----------------
 2 files changed, 1 insertion(+), 31 deletions(-)

diff --git a/dev-util/oprofile/oprofile-1.2.0.ebuild b/dev-util/oprofile/oprofile-1.2.0-r1.ebuild
similarity index 84%
rename from dev-util/oprofile/oprofile-1.2.0.ebuild
rename to dev-util/oprofile/oprofile-1.2.0-r1.ebuild
index c548ac8146e..c34d294d89f 100644
--- a/dev-util/oprofile/oprofile-1.2.0.ebuild
+++ b/dev-util/oprofile/oprofile-1.2.0-r1.ebuild
@@ -52,21 +52,6 @@ src_install() {
 	dodoc ChangeLog* README TODO
 	echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}" || die
 	doenvd "${T}/10${PN}"
-
-	# filter out event files for alien arches, bug 580016
-	cd "${D}/usr/share/${PN}" || die
-	local arch="${ARCH}" f
-	case "${arch}" in
-		x86)
-			arch=i386
-			;;
-		amd64)
-			arch=x86-64
-			;;
-	esac
-	for f in $(find -O3 -mindepth 1 -maxdepth 1 -type d ! -name "${arch}" ); do
-		rm -r "${f}" || die
-	done
 }
 
 pkg_postinst() {

diff --git a/dev-util/oprofile/oprofile-1.2.0_pre20161027.ebuild b/dev-util/oprofile/oprofile-1.2.0_pre20161027-r1.ebuild
similarity index 84%
rename from dev-util/oprofile/oprofile-1.2.0_pre20161027.ebuild
rename to dev-util/oprofile/oprofile-1.2.0_pre20161027-r1.ebuild
index 0c0f35aa14a..5eafde5bdbc 100644
--- a/dev-util/oprofile/oprofile-1.2.0_pre20161027.ebuild
+++ b/dev-util/oprofile/oprofile-1.2.0_pre20161027-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -65,21 +65,6 @@ src_install() {
 	dodoc ChangeLog* README TODO
 	echo "LDPATH=${PREFIX}/usr/$(get_libdir)/${PN}" > "${T}/10${PN}" || die
 	doenvd "${T}/10${PN}"
-
-	# filter out event files for alien arches, bug 580016
-	cd "${D}/usr/share/${PN}" || die
-	local arch="${ARCH}" f
-	case "${arch}" in
-		x86)
-			arch=i386
-			;;
-		amd64)
-			arch=x86-64
-			;;
-	esac
-	for f in $(find -O3 -mindepth 1 -maxdepth 1 -type d ! -name "${arch}" ); do
-		rm -r "${f}" || die
-	done
 }
 
 pkg_postinst() {


             reply	other threads:[~2017-08-23  6:42 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-23  6:42 Andrew Savchenko [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-10  6:47 [gentoo-commits] repo/gentoo:master commit in: dev-util/oprofile/ Miroslav Šulc
2022-11-24  3:25 Mike Gilbert
2021-07-23 19:57 Conrad Kostecki
2021-07-22 19:28 Conrad Kostecki
2021-07-22 19:28 Conrad Kostecki
2021-05-04  7:03 Agostino Sarubbo
2021-05-03 16:53 Sam James
2021-05-02 13:29 Andrew Savchenko
2020-12-02 23:21 Sam James
2020-08-30 13:05 Andrew Savchenko
2019-07-14 13:46 Andrew Savchenko
2019-06-13 19:17 Markus Meier
2019-05-26  7:31 Sergei Trofimovich
2019-05-13  0:38 Thomas Deutschmann
2019-05-07  8:46 Tobias Klausmann
2019-04-19  1:32 Aaron Bauman
2018-12-19 22:48 Sergei Trofimovich
2018-12-08 12:14 Mikle Kolyada
2018-11-28 20:14 Tobias Klausmann
2018-10-30 13:21 Mikle Kolyada
2018-10-28 21:29 Thomas Deutschmann
2018-10-27 20:08 Andrew Savchenko
2017-12-10  9:27 Ulrich Müller
2017-09-14 22:01 Sven Wegener
2017-08-23  6:42 Andrew Savchenko
2017-08-07 15:24 Andrew Savchenko
2017-07-30 11:55 Andrew Savchenko
2016-12-25 22:45 Andrew Savchenko
2016-12-25 10:23 Agostino Sarubbo
2016-12-25 10:23 Agostino Sarubbo
2016-12-25 10:09 Agostino Sarubbo
2016-12-25 10:09 Agostino Sarubbo
2016-12-24 10:18 Agostino Sarubbo
2016-12-24 10:18 Agostino Sarubbo
2016-11-22 17:10 Andrew Savchenko
2016-06-02 19:10 Tobias Klausmann
2016-06-02 18:58 Tobias Klausmann
2016-05-25  5:59 Jeroen Roovers
2016-05-25  5:59 Jeroen Roovers
2016-05-25  5:47 Jeroen Roovers
2016-05-25  5:30 Jeroen Roovers
2016-04-19 19:33 Markus Meier
2016-04-05 11:56 Jeroen Roovers
2016-04-01 19:10 Markus Meier
2016-03-22 14:32 Agostino Sarubbo
2016-03-19 16:32 Agostino Sarubbo
2015-09-29 19:49 Andrew Savchenko
2015-09-29 19:49 Andrew Savchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1503470517.08fa0cbd562f100a64fde7d079d7828e824b1004.bircoph@gentoo \
    --to=bircoph@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox