From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FDD3138350 for ; Thu, 30 Apr 2020 15:10:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0CD3E0986; Thu, 30 Apr 2020 15:10:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85FF1E0986 for ; Thu, 30 Apr 2020 15:10:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 467F534EDEC for ; Thu, 30 Apr 2020 15:10:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A46E207 for ; Thu, 30 Apr 2020 15:10:51 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1588259407.e626c9c6082bf415656a64c2536ae2c52e20583d.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/files/, app-benchmarks/bootchart2/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-benchmarks/bootchart2/bootchart2-0.14.8-r1.ebuild app-benchmarks/bootchart2/files/bootchart2-0.14.8-no-compressed-man.patch X-VCS-Directories: app-benchmarks/bootchart2/ app-benchmarks/bootchart2/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e626c9c6082bf415656a64c2536ae2c52e20583d X-VCS-Branch: master Date: Thu, 30 Apr 2020 15:10:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3a4cb7dd-7807-42d8-a65a-0f8c9484aaed X-Archives-Hash: 47182c3a9f720718126de25efd15558d commit: e626c9c6082bf415656a64c2536ae2c52e20583d Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Apr 30 11:18:19 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Apr 30 15:10:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e626c9c6 app-benchmarks/bootchart2: Drop USE X, broken python deps, EAPI-7 bump Also drop no-op USE svg. Drop USE test that depend on X, restrict tests. Don't compress manpages. Closes: https://bugs.gentoo.org/708108 Closes: https://bugs.gentoo.org/718200 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> .../bootchart2/bootchart2-0.14.8-r1.ebuild | 58 ++++++++++++++++++++++ .../bootchart2-0.14.8-no-compressed-man.patch | 15 ++++++ 2 files changed, 73 insertions(+) diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.8-r1.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.8-r1.ebuild new file mode 100644 index 00000000000..6cb11cd3e6e --- /dev/null +++ b/app-benchmarks/bootchart2/bootchart2-0.14.8-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info systemd toolchain-funcs + +DESCRIPTION="Performance analysis and visualization of the system boot process" +HOMEPAGE="https://github.com/mmeeks/bootchart/" +SRC_URI="https://github.com/mmeeks/bootchart/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RESTRICT="test" + +RDEPEND=" + !app-benchmarks/bootchart + sys-apps/lsb-release" + +S="${WORKDIR}"/${PN%2}-${PV} + +CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS" + +PATCHES=( + "${FILESDIR}"/${PN}-0.14.7-sysmacros.patch # bug 579922 + "${FILESDIR}"/${P}-no-compressed-man.patch +) + +src_prepare() { + default + tc-export CC + sed -i \ + -e "/^install/s:py-install-compile::g" \ + -e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_systemunitdir):g" \ + Makefile || die + sed -i \ + -e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \ + bootchartd.conf bootchartd.in || die +} + +src_install() { + export DOCDIR=/usr/share/doc/${PF} + default + + # Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't + # just change it. Since no libraries are installed, /lib is fine. + keepdir /lib/bootchart/tmpfs + + newinitd "${FILESDIR}"/${PN}.init ${PN} +} + +pkg_postinst() { + elog "If you are using an initrd during boot" + elog "please add the init script to your default runlevel" + elog "rc-update add bootchart2 default" +} diff --git a/app-benchmarks/bootchart2/files/bootchart2-0.14.8-no-compressed-man.patch b/app-benchmarks/bootchart2/files/bootchart2-0.14.8-no-compressed-man.patch new file mode 100644 index 00000000000..261e821a403 --- /dev/null +++ b/app-benchmarks/bootchart2/files/bootchart2-0.14.8-no-compressed-man.patch @@ -0,0 +1,15 @@ +--- a/Makefile 2015-12-17 09:12:57.000000000 +0100 ++++ b/Makefile 2020-04-30 13:14:08.772369141 +0200 +@@ -107,9 +107,9 @@ + install -m 644 -D README $(DESTDIR)$(DOCDIR)/README + install -m 644 -D README.pybootchart $(DESTDIR)$(DOCDIR)/README.pybootchart + mkdir -p $(DESTDIR)$(MANDIR) +- gzip -c bootchart2.1 > $(DESTDIR)$(MANDIR)/bootchart2.1.gz +- gzip -c bootchartd.1 > $(DESTDIR)$(MANDIR)/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).1.gz +- gzip -c pybootchartgui.1 > $(DESTDIR)$(MANDIR)/pybootchartgui.1.gz ++ install -m 644 bootchart2.1 $(DESTDIR)$(MANDIR)/bootchart2.1 ++ install -m 644 bootchartd.1 $(DESTDIR)$(MANDIR)/$(PROGRAM_PREFIX)bootchartd$(PROGRAM_SUFFIX).1 ++ install -m 644 pybootchartgui.1 $(DESTDIR)$(MANDIR)/pybootchartgui.1 + + install-service: + mkdir -p $(DESTDIR)$(SYSTEMD_UNIT_DIR)