1 |
jurek 07/09/10 19:10:12 |
2 |
|
3 |
Modified: ChangeLog mono-1.2.4.ebuild |
4 |
Added: mono-1.2.5.ebuild |
5 |
Log: |
6 |
dev-lang/mono: version bump (bug #191541), fix ppc compilation with PIC (bug #165547) |
7 |
(Portage version: 2.1.2.12) |
8 |
|
9 |
Revision Changes Path |
10 |
1.124 dev-lang/mono/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.124&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.124&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.123&r2=1.124 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v |
19 |
retrieving revision 1.123 |
20 |
retrieving revision 1.124 |
21 |
diff -u -r1.123 -r1.124 |
22 |
--- ChangeLog 22 Aug 2007 03:40:35 -0000 1.123 |
23 |
+++ ChangeLog 10 Sep 2007 19:10:11 -0000 1.124 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for dev-lang/mono |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.123 2007/08/22 03:40:35 compnerd Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.124 2007/09/10 19:10:11 jurek Exp $ |
29 |
+ |
30 |
+*mono-1.2.5 (10 Sep 2007) |
31 |
+ |
32 |
+ 10 Sep 2007; Jurek Bartuszek <jurek@g.o> |
33 |
+ +files/mono-1.2.4-pic.patch, +files/mono-1.2.5-make-check.patch, |
34 |
+ mono-1.2.4.ebuild, +mono-1.2.5.ebuild: |
35 |
+ - Version bump (bug #191541) |
36 |
+ - Fix ppc compilation with PIC (bug #165547) |
37 |
|
38 |
22 Aug 2007; Saleem Abdulrasool <compnerd@g.o> ChangeLog: |
39 |
Add restrict=test back as it still fails for some people |
40 |
|
41 |
|
42 |
|
43 |
1.12 dev-lang/mono/mono-1.2.4.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.4.ebuild?rev=1.12&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.4.ebuild?rev=1.12&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.4.ebuild?r1=1.11&r2=1.12 |
48 |
|
49 |
Index: mono-1.2.4.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.4.ebuild,v |
52 |
retrieving revision 1.11 |
53 |
retrieving revision 1.12 |
54 |
diff -u -r1.11 -r1.12 |
55 |
--- mono-1.2.4.ebuild 22 Aug 2007 03:40:35 -0000 1.11 |
56 |
+++ mono-1.2.4.ebuild 10 Sep 2007 19:10:11 -0000 1.12 |
57 |
@@ -1,6 +1,6 @@ |
58 |
# Copyright 1999-2007 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.4.ebuild,v 1.11 2007/08/22 03:40:35 compnerd Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.4.ebuild,v 1.12 2007/09/10 19:10:11 jurek Exp $ |
62 |
|
63 |
inherit eutils flag-o-matic multilib autotools |
64 |
|
65 |
@@ -52,6 +52,7 @@ |
66 |
|| die "sed failed" |
67 |
|
68 |
epatch ${FILESDIR}/${P}-make-check.patch || die "patch failed" |
69 |
+ epatch ${FILESDIR}/${P}-pic.patch || die "patch failed" |
70 |
|
71 |
# Remove dummy ltconfig and let libtool handle it |
72 |
rm -f ${S}/libgc/ltconfig |
73 |
|
74 |
|
75 |
|
76 |
1.1 dev-lang/mono/mono-1.2.5.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.5.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.5.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: mono-1.2.5.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2007 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.5.ebuild,v 1.1 2007/09/10 19:10:11 jurek Exp $ |
86 |
|
87 |
inherit eutils flag-o-matic multilib autotools |
88 |
|
89 |
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
90 |
HOMEPAGE="http://www.go-mono.com" |
91 |
SRC_URI="http://www.go-mono.com/sources/mono/${P}.tar.bz2" |
92 |
|
93 |
LICENSE="|| ( GPL-2 LGPL-2 X11 )" |
94 |
SLOT="0" |
95 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
96 |
IUSE="X nptl" |
97 |
|
98 |
RDEPEND="!<dev-dotnet/pnet-0.6.12 |
99 |
>=dev-libs/glib-2.6 |
100 |
nptl? ( >=sys-devel/gcc-3.3.5-r1 ) |
101 |
ppc? ( |
102 |
>=sys-devel/gcc-3.2.3-r4 |
103 |
>=sys-libs/glibc-2.3.3_pre20040420 |
104 |
) |
105 |
X? ( >=dev-dotnet/libgdiplus-1.2.4 )" |
106 |
DEPEND="${RDEPEND} |
107 |
sys-devel/bc |
108 |
>=dev-util/pkgconfig-0.19" |
109 |
PDEPEND="dev-dotnet/pe-format" |
110 |
|
111 |
# Parallel build unfriendly |
112 |
# MAKEOPTS="${MAKEOPTS} -j1" |
113 |
|
114 |
RESTRICT="test" |
115 |
|
116 |
function get-memory-total() { |
117 |
cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/" |
118 |
} |
119 |
|
120 |
src_unpack() { |
121 |
unpack ${A} |
122 |
cd ${S} |
123 |
|
124 |
# Fix the install path, install into $(libdir) |
125 |
sed -i -e 's:$(prefix)/lib:$(libdir):' \ |
126 |
-i -e 's:$(exec_prefix)/lib:$(libdir):' \ |
127 |
-i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \ |
128 |
${S}/{scripts,mono/metadata}/Makefile.am ${S}/configure.in \ |
129 |
|| die "sed failed" |
130 |
|
131 |
sed -i -e 's:^libdir.*:libdir=@libdir@:' \ |
132 |
-i -e 's:${prefix}/lib/:${libdir}/:g' \ |
133 |
${S}/{scripts,}/*.pc.in \ |
134 |
|| die "sed failed" |
135 |
|
136 |
epatch ${FILESDIR}/${P}-make-check.patch || die "patch failed" |
137 |
epatch ${FILESDIR}/${PN}-1.2.4-pic.patch || die "patch failed" |
138 |
|
139 |
# Remove dummy ltconfig and let libtool handle it |
140 |
rm -f ${S}/libgc/ltconfig |
141 |
|
142 |
einfo "Regenerating the build files, this will take some time..." |
143 |
eautoreconf |
144 |
} |
145 |
|
146 |
src_compile() { |
147 |
# mono's build system is finiky, strip the flags |
148 |
strip-flags |
149 |
|
150 |
# Enable the 2.0 FX, use the system glib and the gc |
151 |
local myconf="--with-preview=yes --with-glib=system --with-gc=included" |
152 |
|
153 |
# Threading support |
154 |
if use amd64 || use nptl ; then |
155 |
# force __thread on amd64 (bug #83770) |
156 |
myconf="${myconf} --with-tls=__thread" |
157 |
else |
158 |
myconf="${myconf} --with-tls=pthread" |
159 |
fi |
160 |
|
161 |
# Enable large heaps if memory is more than >=3GB |
162 |
if [[ $(get-memory-total) -ge 3145728 ]] ; then |
163 |
myconf="${myconf} --with-large-heap=yes" |
164 |
fi |
165 |
|
166 |
# Force the use of monolite mcs to prevent issues with classlibs (bug #118062) |
167 |
touch ${S}/mcs/build/deps/use-monolite |
168 |
|
169 |
econf ${myconf} || die "configure failed" |
170 |
emake EXTERNAL_MCS=false EXTERNAL_MONO=false |
171 |
|
172 |
if [[ "$?" -ne "0" ]]; then |
173 |
ewarn "If you are using any hardening features such as" |
174 |
ewarn "PIE+SSP/SELinux/grsec/PAX then most probably this is the reason" |
175 |
ewarn "why build has failed. In this case turn any active security" |
176 |
ewarn "enhancements off and try emerging the package again" |
177 |
die |
178 |
fi |
179 |
} |
180 |
|
181 |
src_test() { |
182 |
vecho ">>> Test phase [check]: ${CATEGORY}/${PF}" |
183 |
|
184 |
mkdir -p "${T}/home/mono" || die "mkdir home failed" |
185 |
|
186 |
export HOME="${T}/home/mono" |
187 |
export XDG_CONFIG_HOME="${T}/home/mono" |
188 |
export XDG_DATA_HOME="${T}/home/mono" |
189 |
|
190 |
if ! LC_ALL=C emake -j1 check; then |
191 |
hasq test $FEATURES && die "Make check failed. See above for details." |
192 |
hasq test $FEATURES || eerror "Make check failed. See above for details." |
193 |
fi |
194 |
} |
195 |
|
196 |
src_install() { |
197 |
emake DESTDIR="${D}" install || die "install failed" |
198 |
|
199 |
dodoc AUTHORS ChangeLog NEWS README |
200 |
|
201 |
docinto docs |
202 |
dodoc docs/* |
203 |
|
204 |
docinto libgc |
205 |
dodoc libgc/ChangeLog |
206 |
} |
207 |
|
208 |
|
209 |
|
210 |
-- |
211 |
gentoo-commits@g.o mailing list |