diff options
-rw-r--r-- | sys-devel/icecream/ChangeLog | 7 | ||||
-rw-r--r-- | sys-devel/icecream/Manifest | 4 | ||||
-rw-r--r-- | sys-devel/icecream/icecream-0.9.4.ebuild | 130 |
3 files changed, 139 insertions, 2 deletions
diff --git a/sys-devel/icecream/ChangeLog b/sys-devel/icecream/ChangeLog index dbbbca4bfb55..8fde639c2ab6 100644 --- a/sys-devel/icecream/ChangeLog +++ b/sys-devel/icecream/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-devel/icecream # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v 1.30 2009/03/07 11:46:44 bluebird Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v 1.31 2009/06/28 08:39:34 patrick Exp $ + +*icecream-0.9.4 (28 Jun 2009) + + 28 Jun 2009; Patrick Lauer <patrick@gentoo.org> +icecream-0.9.4.ebuild: + Bump to 0.9.4, fixes #275246 *icecream-0.9.3 (07 Mar 2009) diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest index df4076ab0c0d..daf0023a63b5 100644 --- a/sys-devel/icecream/Manifest +++ b/sys-devel/icecream/Manifest @@ -6,7 +6,9 @@ AUX icecream-dont-create-symlinks.patch 406 RMD160 c7454778e79367e7cfdbac07ab15a AUX icecream-gentoo-multilib.patch 1579 RMD160 35671f69f782e326749f8ff50bd25ede3ffca628 SHA1 64c2f0c7b54911735792c5f14c78549d2c3f9a4e SHA256 0efa29f5cb350aa8118cb9c4ba8d62cf675b6af5692ee18e25021f463465fc8a DIST icecc-0.9.2.tar.bz2 369567 RMD160 833f22c1219dcb5442aaf10d2f501028651405f8 SHA1 ee4e1315063aff057081bd021585632ea1c0ddfe SHA256 6aafc5eb6557b65f650f600bd6ff9d5ed33df6dd516216f23d0872e82b88540b DIST icecc-0.9.3.tar.bz2 370148 RMD160 1b3e2db85b3129a2a22d91369d5ef6463c8454aa SHA1 64d56c66f0cdc071429d6a52edadce2d86102840 SHA256 fe05ac81b46b8c8786d4d81026ba15a506f9774283ed53ab046fb2c20f3822a4 +DIST icecc-0.9.4.tar.bz2 370207 RMD160 d7b1af137e0dee42e1b1a43b18dd7a881104bf97 SHA1 8211a50bd45e2a05b0e682489bf1f9038b907b5e SHA256 27088ba28e2885a43ad00bc429ad3093232e7fc7e8ef13b9e3e6f76ebce39a06 EBUILD icecream-0.9.2.ebuild 4262 RMD160 f827b834277ab7fa11418a2a2fe2c3dc9158a1f7 SHA1 1980173b2bee8e766b245c4b6b936a5c012fb113 SHA256 9783d34b031704602789b2345eee4b5f329394537faddd80ac8fb9b0884538ba EBUILD icecream-0.9.3.ebuild 4268 RMD160 729a2a108c787d397aa5e3965b8ca46e95102bba SHA1 0436b3d82296fc7a84787de54bd17d593f51783e SHA256 0391700539ad22a401f68a401147b618727839d10cefa35debe3dff0aa1ab13f -MISC ChangeLog 6151 RMD160 cc3a66aede82ecc71c216510f49cb8a9e3caf6f6 SHA1 a31e33e9d0e02ad518d22bd04bab0f4bd99b40cc SHA256 fd21a0f311494bd64921717bcd9f15b22e96641bcb4323f7b42c0fabf2537f48 +EBUILD icecream-0.9.4.ebuild 4267 RMD160 f5bd6729222c6f517c3517dd0e5d64f8b575190a SHA1 0d3dc959351e67306ba2241120c77a89a8005923 SHA256 f4e9f8c9959d2cea410a7d1f8c41e194ad9a22a3aed0560cbfba0912c6f58a90 +MISC ChangeLog 6287 RMD160 4850a9bea5670ddea76f40e56a10eb3de6812784 SHA1 ca2e9585450894288f990d34dfb98455df3a6af1 SHA256 c4e0999b3b752c19eed731744ccbb3c8bfe68c9d1450413ee86bcee3deae0480 MISC metadata.xml 227 RMD160 7155b031dbc4292fbe0c64b51a6ef7d51f4788cb SHA1 126258ae6d52b655b4cafbf037d68d7f4b98399c SHA256 280f0489d26db834f76dd978c65c87644670e968026df54877242cf1a28d1c10 diff --git a/sys-devel/icecream/icecream-0.9.4.ebuild b/sys-devel/icecream/icecream-0.9.4.ebuild new file mode 100644 index 000000000000..c52c6523b1e2 --- /dev/null +++ b/sys-devel/icecream/icecream-0.9.4.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/icecream-0.9.4.ebuild,v 1.1 2009/06/28 08:39:34 patrick Exp $ + +inherit autotools eutils flag-o-matic + +MY_P="icecc-${PV}" + +DESCRIPTION="icecc is a program for distributed compiling of C(++) code across several machines; based on distcc" +HOMEPAGE="http://en.opensuse.org/Icecream" +SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" + +RDEPEND="virtual/libc" +DEPEND="${RDEPEND} + doc? ( =kde-base/kdelibs-3.5* )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-dont-create-symlinks.patch" + epatch "${FILESDIR}/${PN}-conf.d-verbosity.patch" + + # honour ${CFLAGS_${ABI}} environment variable, bug #232931 + epatch "${FILESDIR}/${PN}-gentoo-multilib.patch" + + use amd64 && append-flags -fPIC -DPIC + + eautoreconf +} + +src_compile() { + econf + emake || die "compiling icecc failed" + + # compile manpages...yeah, we need meinproc, ergo kdelibs for this :( + if use doc; then + cd doc + for docfile in *.docbook; do + outputfile="${docfile/man-/}" + outputfile="${outputfile/.docbook/}" + + meinproc \ + --stylesheet /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-man.xsl \ + "${docfile}" && \ + mv manpage.troff "${outputfile}" || \ + die "compiling manpages failed" + done + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + + dosbin "${FILESDIR}"/icecream-config || die "install failed" + + dosbin "${FILESDIR}"/icecream-create-env || die "install failed" + + newconfd suse/sysconfig.icecream icecream || die "install failed" + doinitd "${FILESDIR}"/icecream || die "install failed" + + diropts -m0755 + keepdir /usr/lib/icecc/bin + + if use doc; then + cd doc + doman icecc.1 iceccd.1 icecream.7 scheduler.1 || die "doman failed" + fi +} + +pkg_postinst() { + enewgroup icecream + + #are we doing bootstrap with has no useradd? + if [ -x /usr/sbin/useradd ]; then + enewuser icecream -1 -1 /var/cache/icecream icecream + else + ewarn "You do not have useradd (bootstrap) from shadow so I didn't" + ewarn "install the icecream user. Note that attempting to start the daemon" + ewarn "will fail. Please install shadow and re-emerge icecream." + ebeep 2 + fi + + if [[ "${ROOT}" = "/" ]] ; then + einfo "Scanning for compiler front-ends..." + /usr/sbin/icecream-config --install-links + /usr/sbin/icecream-config --install-links "${CHOST}" + else + ewarn "Install is incomplete; you must run the following command:" + ewarn " # icecream-config --install-links \"${CHOST}\"" + ewarn "after booting or chrooting to \"${ROOT}\" to complete installation." + fi + + elog + elog "If you have compiled binutils/gcc/glibc with processor-specific flags" + elog "(as normal using Gentoo), there is a greater chance that your compiler" + elog "won't work on other machines. The best would be to build gcc, glibc and" + elog "binutils without those flags and then copy the needed files into your" + elog "tarball for distribution to other machines. This tarball can be created" + elog "by running /usr/bin/icecc --build-native, and used by setting" + elog "ICECC_VERSION in /etc/conf.d/icecream" + elog ' ICECC_VERSION=<filename_of_archive_containing_your_environment>' + elog + elog "To use icecream with portage add the following line to /etc/make.conf" + elog ' PREROOTPATH=/usr/lib/icecc/bin' + elog + elog "To use icecream with normal make use (e.g. in /etc/profile)" + elog ' PATH=/usr/lib/icecc/bin:$PATH' + elog + elog "N.B. To use icecream with ccache, the ccache PATH should come first:" + elog ' PATH=/usr/lib/ccache/bin:/usr/lib/icecc/bin:$PATH' + elog + elog "Don't forget to open the following ports in your firewall(s):" + elog " TCP/10245 on the daemon computers (required)" + elog " TCP/8765 for the the scheduler computer (required)" + elog " TCP/8766 for the telnet interface to the scheduler (optional)" + elog " UDP/8765 for broadcast to find the scheduler (optional)" + elog + elog "Further usage instructions: http://www.opensuse.org/icecream" + elog + elog "The icecream monitor is no longer included in this package." + elog "See http://bugs.gentoo.org/show_bug.cgi?id=139432 for more info." +} |