summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-05-29 18:00:34 +0000
committerJustin Lecher <jlec@gentoo.org>2012-05-29 18:00:34 +0000
commit8072c30a8e1ead8bffaef4b43c177e389f8851d7 (patch)
treecdf21296ae9d93e70342bae67997ff9de48f38ab /app-benchmarks
parentsci-chemistry/sparky: Fix symlink creation in EAPI=4 (diff)
downloadhistorical-8072c30a8e1ead8bffaef4b43c177e389f8851d7.tar.gz
historical-8072c30a8e1ead8bffaef4b43c177e389f8851d7.tar.bz2
historical-8072c30a8e1ead8bffaef4b43c177e389f8851d7.zip
app-benchmarks/bootchart2: Default on *getty as default
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/bootchart2/ChangeLog7
-rw-r--r--app-benchmarks/bootchart2/Manifest10
-rw-r--r--app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild81
3 files changed, 93 insertions, 5 deletions
diff --git a/app-benchmarks/bootchart2/ChangeLog b/app-benchmarks/bootchart2/ChangeLog
index 76fddf820cb8..349dee9b0e59 100644
--- a/app-benchmarks/bootchart2/ChangeLog
+++ b/app-benchmarks/bootchart2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-benchmarks/bootchart2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.7 2012/05/15 14:31:22 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/ChangeLog,v 1.8 2012/05/29 18:00:34 jlec Exp $
+
+*bootchart2-0.14.2-r3 (29 May 2012)
+
+ 29 May 2012; Justin Lecher <jlec@gentoo.org> +bootchart2-0.14.2-r3.ebuild:
+ Default on *getty as default
15 May 2012; Justin Lecher <jlec@gentoo.org> bootchart2-0.14.2-r1.ebuild,
bootchart2-0.14.2-r2.ebuild:
diff --git a/app-benchmarks/bootchart2/Manifest b/app-benchmarks/bootchart2/Manifest
index 5b1d8dd75c0f..e263febf01c9 100644
--- a/app-benchmarks/bootchart2/Manifest
+++ b/app-benchmarks/bootchart2/Manifest
@@ -5,12 +5,14 @@ AUX bootchart2.init 812 RMD160 29b270b9aea19a6442181ea4de905cf8f883f93f SHA1 bf1
DIST bootchart2-0.14.2.tar.bz2 775770 RMD160 cdfc030c12060737768cd6f6b55be508a8c517bc SHA1 75b3db97c239e8eee4c3143e35f77505480ec415 SHA256 0a9c9cd4065a1ad4d9e27e36888cf6258bb8c830a719e1a4afbf3b1092e728a4
EBUILD bootchart2-0.14.2-r1.ebuild 1743 RMD160 6331a55197c75fcdc221d6eb4915f8da171f2381 SHA1 c84c2a5db390970dc1f3f507b3e9832ff445554f SHA256 cf37400eadc4c4faf2c5ccc0276eef7c992299d9970379a6d4b51f61598b520b
EBUILD bootchart2-0.14.2-r2.ebuild 1849 RMD160 bf084eff7e9792cabe0f7314f7bc1e12761ae93b SHA1 06a94965b0bd104e2e5a57c28e5c7c5877a1fbe3 SHA256 e92ca174f3e561eb14f08b803f32f866415c94f9b66e598af7b11793024225ff
-MISC ChangeLog 1457 RMD160 0286d5a9abe080c8ed194d5a1734726a6516a085 SHA1 05425afc7db0e3971b22a58b01cb9e4136904d08 SHA256 3b9dc69c4d92ac0799abc3464edfc190021d3f65a86ed2db2f28d98d3409f801
+EBUILD bootchart2-0.14.2-r3.ebuild 1963 RMD160 dbe6fb5141a1c2892e45a9adce841c6c14c8674d SHA1 b3b61d5a5087dd524579956309c18d4c686dd270 SHA256 051a81b7752d611af1dcf83b90efa4151007933cb8c1ff1bebf74146303f0bb1
+MISC ChangeLog 1603 RMD160 63ba609d01245eca75028c25d7a249a6c293c46c SHA1 f49e25c6a8fd8b7011c8eab568e053f54ae6b745 SHA256 a2a1840f35c589e6a1045e793fcb5766e9912cbef8c5b0b1e47b024745c5eb43
MISC metadata.xml 201 RMD160 a6c5202673c0843bd9d1453b78b3f6bddc62a1f7 SHA1 6c7c52b9cddff4c6507fe6e49be0bbd53611d236 SHA256 180014e727f4e39b95bfeadf7661f97f2a0c8fe30658a82cd676fac065c7b3c9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
+Comment: GPGTools - http://gpgtools.org
-iEYEAREKAAYFAk+yaMAACgkQgAnW8HDreRYR6wCcDZ9B58rMuJ5W/EMieF1P46Vs
-YRIAn1ookTzMy2maaUjU/sT+dEhSzOlg
-=Y9R0
+iEYEAREKAAYFAk/FDscACgkQgAnW8HDreRbpQwCfbOqqqYnCavuYeVt06uvRgpG6
+kPsAmwcZzCXjRx6Pppm/glys85pM1dmN
+=Kzk6
-----END PGP SIGNATURE-----
diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild
new file mode 100644
index 000000000000..95dce29dd467
--- /dev/null
+++ b/app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart2/bootchart2-0.14.2-r3.ebuild,v 1.1 2012/05/29 18:00:34 jlec Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit linux-info python systemd toolchain-funcs
+
+DESCRIPTION="Performance analysis and visualization of the system boot process"
+HOMEPAGE="https://github.com/mmeeks/bootchart/"
+SRC_URI="mirror://github/mmeeks/bootchart/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="svg"
+
+RDEPEND="
+ !app-benchmarks/bootchart
+ dev-python/pycairo[svg?]
+ dev-python/pygtk
+ sys-apps/lsb-release"
+DEPEND="${RDEPEND}"
+
+CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS"
+
+src_prepare() {
+ tc-export CC
+ sed \
+ -e "/^install/s:py-install-compile::g" \
+ -e "/^VER/s:0.14.1:0.14.2:g" \
+ -e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \
+ -i Makefile || die
+ sed \
+ -e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty":g' \
+ -i bootchartd.conf bootchartd.in || die
+}
+
+src_test() {
+ testing() {
+ emake test
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ export NO_PYTHON_COMPILE=0
+ 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
+
+ installation() {
+ emake \
+ DESTDIR="${D}" \
+ PY_SITEDIR=$(python_get_sitedir) \
+ py-install-compile
+ }
+ python_execute_function installation
+
+ # does not like python3 as active interpreter
+ python_convert_shebangs 2 "${ED}"/usr/bin/pybootchartgui
+
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+}
+
+pkg_postinst() {
+ elog "Please add the init script to your default runlevel"
+ elog "rc-update add bootchart2 default"
+ echo
+ python_mod_optimize pybootchartgui
+}
+
+pkg_postrm() {
+ python_mod_cleanup pybootchartgui
+}