diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-19 13:21:17 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-19 13:21:17 +0000 |
commit | 5bfe2c213c7ffdd52be637009305faf2614fe9a1 (patch) | |
tree | a093c3eb7638496649b87dad76f2a2f7041c2ad4 /app-benchmarks | |
parent | Stable on sparc --- Bug #162682 --- builds all examples, demo runs, all as (diff) | |
download | historical-5bfe2c213c7ffdd52be637009305faf2614fe9a1.tar.gz historical-5bfe2c213c7ffdd52be637009305faf2614fe9a1.tar.bz2 historical-5bfe2c213c7ffdd52be637009305faf2614fe9a1.zip |
Port to generation 2 and add the source use flag. Now has java as the herd so we can touch this freely in the future.
Package-Manager: portage-2.1.2
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/bootchart/ChangeLog | 11 | ||||
-rw-r--r-- | app-benchmarks/bootchart/Manifest | 33 | ||||
-rw-r--r-- | app-benchmarks/bootchart/bootchart-0.9-r1.ebuild | 114 | ||||
-rw-r--r-- | app-benchmarks/bootchart/files/digest-bootchart-0.9-r1 | 3 | ||||
-rw-r--r-- | app-benchmarks/bootchart/metadata.xml | 1 |
5 files changed, 152 insertions, 10 deletions
diff --git a/app-benchmarks/bootchart/ChangeLog b/app-benchmarks/bootchart/ChangeLog index 608bdda1f705..990c63c6d41b 100644 --- a/app-benchmarks/bootchart/ChangeLog +++ b/app-benchmarks/bootchart/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-benchmarks/bootchart -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart/ChangeLog,v 1.1 2006/08/15 11:44:28 uberlord Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart/ChangeLog,v 1.2 2007/01/19 13:21:17 betelgeuse Exp $ + +*bootchart-0.9-r1 (19 Jan 2007) + + 19 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> metadata.xml, + +bootchart-0.9-r1.ebuild: + Port to generation 2 and add the source use flag. Now has java as the herd + so we can touch this freely in the future. *bootchart-0.9 (15 Aug 2006) diff --git a/app-benchmarks/bootchart/Manifest b/app-benchmarks/bootchart/Manifest index 07beae90e7df..c11d300094cd 100644 --- a/app-benchmarks/bootchart/Manifest +++ b/app-benchmarks/bootchart/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX bootchart 158 RMD160 5729364e885d6f77ef67071edf24d23fc00ac9c0 SHA1 00c2bce14f62613e94ada34fc6df673a6457c748 SHA256 1e6dacfd95dc35808bce726a2a8517650095b4a6e7026d75de9a9eb3a2d7f898 MD5 b42fd51c5154f39ba1bce1d374ca0746 files/bootchart 158 RMD160 5729364e885d6f77ef67071edf24d23fc00ac9c0 files/bootchart 158 @@ -11,18 +14,32 @@ MD5 96fc74d7aba9aaa13f90092d129d219c files/profiling-functions.sh 1834 RMD160 d1b0b3c695b0f0aa8882af834d7703eb54cdfc15 files/profiling-functions.sh 1834 SHA256 399f831b6fb0421c8e9f3f8fcbf2e240281145e6c061a84031a6f073a06dd7e8 files/profiling-functions.sh 1834 DIST bootchart-0.9.tar.bz2 222558 RMD160 c271bf634117c9bcd530055927abffead134b73a SHA1 3e74e4844e0616c5c6514f8152262638f36d72ac SHA256 7738399ecfcfb2242e9f99a316b13a5f59e89052de05074dbf705ccf4edc327d +EBUILD bootchart-0.9-r1.ebuild 3008 RMD160 839e92f771554cdbbf72fdaa9182661380734488 SHA1 8e0033daab62ed8ccbc9e9ec8a164ae322cc960a SHA256 602267f0ce5a306415c25808efdf15797b677263ae8c7a07860fdf009acfaaaa +MD5 c4bd353563163e090a5ed098c121c575 bootchart-0.9-r1.ebuild 3008 +RMD160 839e92f771554cdbbf72fdaa9182661380734488 bootchart-0.9-r1.ebuild 3008 +SHA256 602267f0ce5a306415c25808efdf15797b677263ae8c7a07860fdf009acfaaaa bootchart-0.9-r1.ebuild 3008 EBUILD bootchart-0.9.ebuild 2862 RMD160 7ddbcee5f04ae6fb7958a8dee12114f6fe21bf02 SHA1 7d0e62e98156acb1a75d9282bc17604fc7ca163e SHA256 e363391287f4d26794223303e8e5d9032cfd349b9f10048deebd953cee48a796 MD5 7a79243591f3ee79d4b25e56741a214f bootchart-0.9.ebuild 2862 RMD160 7ddbcee5f04ae6fb7958a8dee12114f6fe21bf02 bootchart-0.9.ebuild 2862 SHA256 e363391287f4d26794223303e8e5d9032cfd349b9f10048deebd953cee48a796 bootchart-0.9.ebuild 2862 -MISC ChangeLog 478 RMD160 046decc461632ebc8baac5125804741dffe0cc74 SHA1 2d952ffcde92159fe129f6d20588e0a0b9a481cf SHA256 f27a13a3ba24be06ba5c8e35a9780353015ed55cae8aae84d1dcd4ed548854ee -MD5 3a40d407b2b297faa08074dcdf5875e4 ChangeLog 478 -RMD160 046decc461632ebc8baac5125804741dffe0cc74 ChangeLog 478 -SHA256 f27a13a3ba24be06ba5c8e35a9780353015ed55cae8aae84d1dcd4ed548854ee ChangeLog 478 -MISC metadata.xml 331 RMD160 08f8e5738ea03caf8898b8234e9711c1be8bd202 SHA1 1cdfa906243bcb026d8ec36cf68d9a8add7b8a82 SHA256 4ab16e522b96e51e5b3244a1f4fb4a8c2cde42b9105659b3f8ff02cc1b598308 -MD5 8cfd59219e31573b066956408dfb6fb2 metadata.xml 331 -RMD160 08f8e5738ea03caf8898b8234e9711c1be8bd202 metadata.xml 331 -SHA256 4ab16e522b96e51e5b3244a1f4fb4a8c2cde42b9105659b3f8ff02cc1b598308 metadata.xml 331 +MISC ChangeLog 731 RMD160 e98726aa8655bb30c6b1bbce9f73b17b044cafd9 SHA1 8c8b6c2a536a55cc9150c54079a621471751b478 SHA256 5a00aa1321fb864eed85d9528480603617c21f64dbf40ba35c54729367e90572 +MD5 d8f42e1fdd6a72ff3f9884866ebe5ce4 ChangeLog 731 +RMD160 e98726aa8655bb30c6b1bbce9f73b17b044cafd9 ChangeLog 731 +SHA256 5a00aa1321fb864eed85d9528480603617c21f64dbf40ba35c54729367e90572 ChangeLog 731 +MISC metadata.xml 349 RMD160 0d950d5b29ef9abbf0f45ed68d12459d24c30372 SHA1 9e49cb5250089f78a43c8c9b90d828e18521cfbb SHA256 47052292e47427a5893395553b32d83d15fb3bcbfec21a6ce41afca90cfd8a72 +MD5 953f902a416d38ae82fb0eda444e6517 metadata.xml 349 +RMD160 0d950d5b29ef9abbf0f45ed68d12459d24c30372 metadata.xml 349 +SHA256 47052292e47427a5893395553b32d83d15fb3bcbfec21a6ce41afca90cfd8a72 metadata.xml 349 MD5 a8ebf0349681c519872e0a4a791aeace files/digest-bootchart-0.9 244 RMD160 a0069073b8af5d6bf6fbe2872c6bfc6a15acfe48 files/digest-bootchart-0.9 244 SHA256 f985390d16d75832f275f3b9a6a1ac7633589bad459e9ead7d056a3dbc965336 files/digest-bootchart-0.9 244 +MD5 a8ebf0349681c519872e0a4a791aeace files/digest-bootchart-0.9-r1 244 +RMD160 a0069073b8af5d6bf6fbe2872c6bfc6a15acfe48 files/digest-bootchart-0.9-r1 244 +SHA256 f985390d16d75832f275f3b9a6a1ac7633589bad459e9ead7d056a3dbc965336 files/digest-bootchart-0.9-r1 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFsMXXcxLzpIGCsLQRAnokAKCQ+wVa73om/vt4kqs7zpJYqBLp9ACeINbV +dEt4dzF1SGDWGeAOOcLQr4I= +=iQ9E +-----END PGP SIGNATURE----- diff --git a/app-benchmarks/bootchart/bootchart-0.9-r1.ebuild b/app-benchmarks/bootchart/bootchart-0.9-r1.ebuild new file mode 100644 index 000000000000..2b5dd6f42c0b --- /dev/null +++ b/app-benchmarks/bootchart/bootchart-0.9-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/bootchart/bootchart-0.9-r1.ebuild,v 1.1 2007/01/19 13:21:17 betelgeuse Exp $ + +inherit eutils java-pkg-opt-2 java-ant-2 + +DESCRIPTION="Performance analysis and visualization of the system boot process" +HOMEPAGE="http://www.bootchart.org" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +DEPEND=" + java? ( + >=virtual/jdk-1.4 + >=dev-java/ant-core-1.4 + dev-java/commons-cli + source? ( app-arch/zip ) + ) +" + +RDEPEND=" + java? ( + >=virtual/jdk-1.4 + dev-java/commons-cli + ) + acct? ( sys-process/acct ) +" + +LICENSE="GPL-2" +SLOT="0" +IUSE="acct debug doc java source" +KEYWORDS="~amd64 ~x86" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-0.9-gentoo.patch" + + # delete the included commons-cli and use gentoo's instead + # The rest of lib is also bundled but a bit problematic to + # package https://bugs.gentoo.org/show_bug.cgi?id=162788 + rm -rf lib/org/apache/commons/cli lib/org/apache/commons/lang + + if use java ; then + java-ant_rewrite-classpath + sed -i -e 's,AUTO_RENDER="no",AUTO_RENDER="yes",g' \ + script/bootchartd.conf + fi + + if use acct ; then + sed -i -e 's,PROCESS_ACCOUNTING="no",PROCESS_ACCOUNTING="yes",g' \ + script/bootchartd.conf + fi +} + +src_compile() { + if use java ; then + local antflags="jar -Dcompiler.nowarn=true $(use_doc)" + use debug || antflags="${antflags} -Dbuild.debug=false" + eant ${antflags} \ + -Dgentoo.classpath="$(java-pkg_getjars commons-cli-1):./build" + fi +} + +src_install() { + dodoc README README.logger ChangeLog COPYING TODO + + insinto /lib/rcscripts/addons + doins "${FILESDIR}/profiling-functions.sh" + + into / + newsbin script/bootchartd bootchartd + into /usr + + # This dir is normally empty, but is used to bind to the + # temporary dir bootchart normally makes. We do this so + # that our profiling script can write to a fixed location. + keepdir /lib/bootchart + + insinto /etc + doins script/bootchartd.conf + + if use java ; then + java-pkg_dojar "${PN}.jar" + use doc && java-pkg_dojavadoc javadoc/api + use source && java-pkg_dosrc src/org + java-pkg_dolauncher ${PN} \ + --main org.bootchart.Main \ + --java_args "-Djava.awt.headless=true" + fi +} + +pkg_postinst() { + einfo "To generate the chart, set RC_USE_BOOTCHART=\"yes\"" + einfo "in /etc/conf.d/rc and reboot" + einfo + + if use java; then + einfo "The chart will be saved as /var/log/bootchart.png" + else + einfo "Post the file /var/log/bootchart.tgz here:" + einfo " http://www.bootchart.org/download.html" + einfo "to render the chart" + fi + + einfo + einfo "For best results: " + einfo " Enable BSD process accounting v3 in the kernel" + einfo " This will produce more accurate process trees" + einfo " Set AUTO_RENDER_FORMAT to svg in /etc/bootchartd.conf" + einfo " and view /var/log/bootchart.svgz with batik or" + einfo " Adobe SVG viewer. This will give you additional" + einfo " information about the processes in tooltips" +} diff --git a/app-benchmarks/bootchart/files/digest-bootchart-0.9-r1 b/app-benchmarks/bootchart/files/digest-bootchart-0.9-r1 new file mode 100644 index 000000000000..8488ebb31c32 --- /dev/null +++ b/app-benchmarks/bootchart/files/digest-bootchart-0.9-r1 @@ -0,0 +1,3 @@ +MD5 4be91177d19069e21beeb106f2f77dff bootchart-0.9.tar.bz2 222558 +RMD160 c271bf634117c9bcd530055927abffead134b73a bootchart-0.9.tar.bz2 222558 +SHA256 7738399ecfcfb2242e9f99a316b13a5f59e89052de05074dbf705ccf4edc327d bootchart-0.9.tar.bz2 222558 diff --git a/app-benchmarks/bootchart/metadata.xml b/app-benchmarks/bootchart/metadata.xml index fcdef538fc1e..4713e4f1667a 100644 --- a/app-benchmarks/bootchart/metadata.xml +++ b/app-benchmarks/bootchart/metadata.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> +<herd>java</herd> <maintainer> <email>uberlord@gentoo.org</email> <name>Roy Marples</name> |