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