Gentoo Archives: gentoo-commits

From: "Kacper Kowalik (xarthisius)" <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/icecream: icecream-0.9.7-r1.ebuild ChangeLog icecream-0.9.7.ebuild icecream-0.9.6-r1.ebuild
Date: Thu, 23 Aug 2012 10:42:20
Message-Id: 20120823104209.814FE20449@flycatcher.gentoo.org
1 xarthisius 12/08/23 10:42:09
2
3 Modified: ChangeLog
4 Added: icecream-0.9.7-r1.ebuild
5 Removed: icecream-0.9.7.ebuild icecream-0.9.6-r1.ebuild
6 Log:
7 Backport patch fixing build issues with recent automake, drop my patch that caused bug #399259 by Vu Tran Kien <vutrankien.vn@×××××.com>
8
9 (Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.43 sys-devel/icecream/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/icecream/ChangeLog?rev=1.43&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/icecream/ChangeLog?rev=1.43&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/icecream/ChangeLog?r1=1.42&r2=1.43
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v
21 retrieving revision 1.42
22 retrieving revision 1.43
23 diff -u -r1.42 -r1.43
24 --- ChangeLog 24 May 2012 02:41:18 -0000 1.42
25 +++ ChangeLog 23 Aug 2012 10:42:09 -0000 1.43
26 @@ -1,6 +1,15 @@
27 # ChangeLog for sys-devel/icecream
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v 1.42 2012/05/24 02:41:18 vapier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/ChangeLog,v 1.43 2012/08/23 10:42:09 xarthisius Exp $
31 +
32 +*icecream-0.9.7-r1 (23 Aug 2012)
33 +
34 + 23 Aug 2012; Kacper Kowalik <xarthisius@g.o>
35 + +files/0.9.7-automake.patch, +icecream-0.9.7-r1.ebuild,
36 + -files/0.9.7-automake-1.11.2.patch, -icecream-0.9.6-r1.ebuild,
37 + -icecream-0.9.7.ebuild:
38 + Backport patch fixing build issues with recent automake, drop my patch that
39 + caused bug #399259 by Vu Tran Kien <vutrankien.vn@×××××.com>
40
41 24 May 2012; Mike Frysinger <vapier@g.o> icecream-0.9.6-r1.ebuild,
42 icecream-0.9.7.ebuild:
43 @@ -223,4 +232,3 @@
44 +files/icecream.nokde.patch, +files/icecream_disable.patch,
45 +files/icecreamdaemon, +files/icecreamscheduler:
46 Initial import. The ebuild was contributed by Alexander Holler.
47 -
48
49
50
51 1.1 sys-devel/icecream/icecream-0.9.7-r1.ebuild
52
53 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/icecream/icecream-0.9.7-r1.ebuild?rev=1.1&view=markup
54 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/icecream/icecream-0.9.7-r1.ebuild?rev=1.1&content-type=text/plain
55
56 Index: icecream-0.9.7-r1.ebuild
57 ===================================================================
58 # Copyright 1999-2012 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 # $Header: /var/cvsroot/gentoo-x86/sys-devel/icecream/icecream-0.9.7-r1.ebuild,v 1.1 2012/08/23 10:42:09 xarthisius Exp $
61
62 EAPI=4
63
64 inherit autotools base user
65
66 MY_P=icecc-${PV}
67
68 DESCRIPTION="icecc is a program for distributed compiling of C(++) code across several machines; based on distcc"
69 HOMEPAGE="http://en.opensuse.org/Icecream"
70 SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2"
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
75 IUSE=""
76
77 S=${WORKDIR}/${MY_P}
78
79 PATCHES=(
80 "${FILESDIR}/0.9.6-symlinks.patch"
81 "${FILESDIR}/0.9.6-crosscompile.patch"
82 "${FILESDIR}/${PV}-automake.patch"
83 "${FILESDIR}/${PN}-conf.d-verbosity.patch"
84 "${FILESDIR}/${PN}-gentoo-multilib.patch"
85 )
86
87 pkg_setup() {
88 enewgroup icecream
89 enewuser icecream -1 -1 /var/cache/icecream icecream
90 }
91
92 src_prepare() {
93 base_src_prepare
94
95 eautoreconf
96 }
97
98 src_install() {
99 default
100
101 dosbin "${FILESDIR}"/icecream-config
102 dosbin "${FILESDIR}"/icecream-create-env
103
104 newconfd suse/sysconfig.icecream icecream
105 doinitd "${FILESDIR}"/icecream
106
107 diropts -m0755
108 keepdir /usr/lib/icecc/bin
109 }
110
111 pkg_postinst() {
112 ebegin "Scanning for compiler front-ends..."
113 /usr/sbin/icecream-config --install-links
114 /usr/sbin/icecream-config --install-links "${CHOST}"
115 eend ${?}
116
117 elog
118 elog "If you have compiled binutils/gcc/glibc with processor-specific flags"
119 elog "(as normal using Gentoo), there is a greater chance that your compiler"
120 elog "won't work on other machines. The best would be to build gcc, glibc and"
121 elog "binutils without those flags and then copy the needed files into your"
122 elog "tarball for distribution to other machines. This tarball can be created"
123 elog "by running /usr/bin/icecc --build-native, and used by setting"
124 elog "ICECC_VERSION in /etc/conf.d/icecream"
125 elog ' ICECC_VERSION=<filename_of_archive_containing_your_environment>'
126 elog
127 elog "To use icecream with portage add the following line to /etc/make.conf"
128 elog ' PREROOTPATH=/usr/lib/icecc/bin'
129 elog
130 elog "To use icecream with normal make use (e.g. in /etc/profile)"
131 elog ' PATH=/usr/lib/icecc/bin:$PATH'
132 elog
133 elog "N.B. To use icecream with ccache, the ccache PATH should come first:"
134 elog ' PATH=/usr/lib/ccache/bin:/usr/lib/icecc/bin:$PATH'
135 elog
136 elog "Don't forget to open the following ports in your firewall(s):"
137 elog " TCP/10245 on the daemon computers (required)"
138 elog " TCP/8765 for the the scheduler computer (required)"
139 elog " TCP/8766 for the telnet interface to the scheduler (optional)"
140 elog " UDP/8765 for broadcast to find the scheduler (optional)"
141 elog
142 elog "Further usage instructions: ${HOMEPAGE}"
143 }