Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/icecream: icecream-0.9.4.ebuild ChangeLog
Date: Sun, 28 Jun 2009 08:39:37
Message-Id: E1MKpvC-00020u-Ja@stork.gentoo.org
1 patrick 09/06/28 08:39:34
2
3 Modified: ChangeLog
4 Added: icecream-0.9.4.ebuild
5 Log:
6 Bump to 0.9.4, fixes #275246
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.31 sys-devel/icecream/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/icecream/ChangeLog?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/icecream/ChangeLog?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/icecream/ChangeLog?r1=1.30&r2=1.31
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- ChangeLog 7 Mar 2009 11:46:44 -0000 1.30
23 +++ ChangeLog 28 Jun 2009 08:39:34 -0000 1.31
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-devel/icecream
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v 1.30 2009/03/07 11:46:44 bluebird Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v 1.31 2009/06/28 08:39:34 patrick Exp $
29 +
30 +*icecream-0.9.4 (28 Jun 2009)
31 +
32 + 28 Jun 2009; Patrick Lauer <patrick@g.o> +icecream-0.9.4.ebuild:
33 + Bump to 0.9.4, fixes #275246
34
35 *icecream-0.9.3 (07 Mar 2009)
36
37
38
39
40 1.1 sys-devel/icecream/icecream-0.9.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/icecream/icecream-0.9.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/icecream/icecream-0.9.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: icecream-0.9.4.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/icecream-0.9.4.ebuild,v 1.1 2009/06/28 08:39:34 patrick Exp $
50
51 inherit autotools eutils flag-o-matic
52
53 MY_P="icecc-${PV}"
54
55 DESCRIPTION="icecc is a program for distributed compiling of C(++) code across several machines; based on distcc"
56 HOMEPAGE="http://en.opensuse.org/Icecream"
57 SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
62 IUSE="doc"
63
64 RDEPEND="virtual/libc"
65 DEPEND="${RDEPEND}
66 doc? ( =kde-base/kdelibs-3.5* )"
67
68 S="${WORKDIR}/${MY_P}"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73
74 epatch "${FILESDIR}/${PN}-dont-create-symlinks.patch"
75 epatch "${FILESDIR}/${PN}-conf.d-verbosity.patch"
76
77 # honour ${CFLAGS_${ABI}} environment variable, bug #232931
78 epatch "${FILESDIR}/${PN}-gentoo-multilib.patch"
79
80 use amd64 && append-flags -fPIC -DPIC
81
82 eautoreconf
83 }
84
85 src_compile() {
86 econf
87 emake || die "compiling icecc failed"
88
89 # compile manpages...yeah, we need meinproc, ergo kdelibs for this :(
90 if use doc; then
91 cd doc
92 for docfile in *.docbook; do
93 outputfile="${docfile/man-/}"
94 outputfile="${outputfile/.docbook/}"
95
96 meinproc \
97 --stylesheet /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-man.xsl \
98 "${docfile}" && \
99 mv manpage.troff "${outputfile}" || \
100 die "compiling manpages failed"
101 done
102 fi
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" install || die "install failed"
107
108 dosbin "${FILESDIR}"/icecream-config || die "install failed"
109
110 dosbin "${FILESDIR}"/icecream-create-env || die "install failed"
111
112 newconfd suse/sysconfig.icecream icecream || die "install failed"
113 doinitd "${FILESDIR}"/icecream || die "install failed"
114
115 diropts -m0755
116 keepdir /usr/lib/icecc/bin
117
118 if use doc; then
119 cd doc
120 doman icecc.1 iceccd.1 icecream.7 scheduler.1 || die "doman failed"
121 fi
122 }
123
124 pkg_postinst() {
125 enewgroup icecream
126
127 #are we doing bootstrap with has no useradd?
128 if [ -x /usr/sbin/useradd ]; then
129 enewuser icecream -1 -1 /var/cache/icecream icecream
130 else
131 ewarn "You do not have useradd (bootstrap) from shadow so I didn't"
132 ewarn "install the icecream user. Note that attempting to start the daemon"
133 ewarn "will fail. Please install shadow and re-emerge icecream."
134 ebeep 2
135 fi
136
137 if [[ "${ROOT}" = "/" ]] ; then
138 einfo "Scanning for compiler front-ends..."
139 /usr/sbin/icecream-config --install-links
140 /usr/sbin/icecream-config --install-links "${CHOST}"
141 else
142 ewarn "Install is incomplete; you must run the following command:"
143 ewarn " # icecream-config --install-links \"${CHOST}\""
144 ewarn "after booting or chrooting to \"${ROOT}\" to complete installation."
145 fi
146
147 elog
148 elog "If you have compiled binutils/gcc/glibc with processor-specific flags"
149 elog "(as normal using Gentoo), there is a greater chance that your compiler"
150 elog "won't work on other machines. The best would be to build gcc, glibc and"
151 elog "binutils without those flags and then copy the needed files into your"
152 elog "tarball for distribution to other machines. This tarball can be created"
153 elog "by running /usr/bin/icecc --build-native, and used by setting"
154 elog "ICECC_VERSION in /etc/conf.d/icecream"
155 elog ' ICECC_VERSION=<filename_of_archive_containing_your_environment>'
156 elog
157 elog "To use icecream with portage add the following line to /etc/make.conf"
158 elog ' PREROOTPATH=/usr/lib/icecc/bin'
159 elog
160 elog "To use icecream with normal make use (e.g. in /etc/profile)"
161 elog ' PATH=/usr/lib/icecc/bin:$PATH'
162 elog
163 elog "N.B. To use icecream with ccache, the ccache PATH should come first:"
164 elog ' PATH=/usr/lib/ccache/bin:/usr/lib/icecc/bin:$PATH'
165 elog
166 elog "Don't forget to open the following ports in your firewall(s):"
167 elog " TCP/10245 on the daemon computers (required)"
168 elog " TCP/8765 for the the scheduler computer (required)"
169 elog " TCP/8766 for the telnet interface to the scheduler (optional)"
170 elog " UDP/8765 for broadcast to find the scheduler (optional)"
171 elog
172 elog "Further usage instructions: http://www.opensuse.org/icecream"
173 elog
174 elog "The icecream monitor is no longer included in this package."
175 elog "See http://bugs.gentoo.org/show_bug.cgi?id=139432 for more info."
176 }