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