Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/mono: mono-2.0.1-r1.ebuild ChangeLog
Date: Thu, 25 Dec 2008 23:06:17
Message-Id: E1LFzHR-0007yZ-No@stork.gentoo.org
1 loki_val 08/12/25 23:06:13
2
3 Modified: ChangeLog
4 Added: mono-2.0.1-r1.ebuild
5 Log:
6 Bump, fixing bug 249608, bug 249985 and hopefully fixing bug 249542.
7 (Portage version: 2.2_rc18/cvs/Linux 2.6.28-rc6 x86_64)
8
9 Revision Changes Path
10 1.148 dev-lang/mono/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.148&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.148&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.147&r2=1.148
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v
19 retrieving revision 1.147
20 retrieving revision 1.148
21 diff -u -r1.147 -r1.148
22 --- ChangeLog 24 Nov 2008 23:56:14 -0000 1.147
23 +++ ChangeLog 25 Dec 2008 23:06:13 -0000 1.148
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-lang/mono
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.147 2008/11/24 23:56:14 loki_val Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.148 2008/12/25 23:06:13 loki_val Exp $
29 +
30 +*mono-2.0.1-r1 (25 Dec 2008)
31 +
32 + 25 Dec 2008; Peter Alfredsen <loki_val@g.o>
33 + +files/mono-2.0-fix-headless.patch, +mono-2.0.1-r1.ebuild:
34 + Bump, fixing bug 249608, bug 249985 and hopefully fixing bug 249542.
35
36 24 Nov 2008; Peter Alfredsen <loki_val@g.o>
37 +files/mono-2.0.1-fix_implicit_pointer_conversions.patch,
38
39
40
41 1.1 dev-lang/mono/mono-2.0.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-2.0.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-2.0.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mono-2.0.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.0.1-r1.ebuild,v 1.1 2008/12/25 23:06:13 loki_val Exp $
51
52 EAPI=2
53
54 inherit base eutils flag-o-matic multilib autotools
55
56 DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
57 HOMEPAGE="http://www.go-mono.com"
58 SRC_URI="ftp://ftp.novell.com/pub/mono/sources/mono/${P}.tar.bz2"
59
60 LICENSE="|| ( GPL-2 LGPL-2 X11 )"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
63 IUSE="minimal"
64
65 RDEPEND="!<dev-dotnet/pnet-0.6.12
66 dev-libs/glib:2
67 !minimal? ( =dev-dotnet/libgdiplus-${PV%.*}* )
68 ia64? ( sys-libs/libunwind )"
69
70 DEPEND="${RDEPEND}
71 sys-devel/bc
72 >=dev-util/pkgconfig-0.19"
73 PDEPEND="dev-dotnet/pe-format"
74
75 RESTRICT="test"
76
77 #Threading and mimeicon patches from Fedora CVS. Muine patch from Novell. Pointer conversions patch from Debian.
78
79 PATCHES=( "${FILESDIR}/${PN}-biginteger_overflow.diff"
80 "${FILESDIR}/${PN}-2.0-ppc-threading.patch"
81 "${FILESDIR}/${PN}-2.0-mimeicon.patch"
82 "${FILESDIR}/${P}-fix-wsdl-troubles-with-muine.patch"
83 "${FILESDIR}/${P}-fix_implicit_pointer_conversions.patch"
84 "${FILESDIR}/${PN}-2.0-fix-headless.patch" )
85
86 src_configure() {
87 # mono's build system is finiky, strip the flags
88 strip-flags
89
90 #Remove this at your own peril. Mono will barf in unexpected ways.
91 append-flags -fno-strict-aliasing
92
93 econf --disable-dependency-tracking \
94 --without-moonlight \
95 --with-preview=yes \
96 --with-glib=system \
97 --with-gc=included \
98 --with-libgdiplus=$( use !minimal && printf "installed" || printf "no" ) \
99 --with-ikvm-native=no \
100 --with-jit=yes
101
102 # dev-dotnet/ikvm provides ikvm-native
103 }
104
105 src_compile() {
106 emake -j1 EXTERNAL_MCS=false EXTERNAL_MONO=false
107
108 if [[ "$?" -ne "0" ]]; then
109 ewarn "If you are using any hardening features such as"
110 ewarn "PIE+SSP/SELinux/grsec/PAX then most probably this is the reason"
111 ewarn "why build has failed. In this case turn any active security"
112 ewarn "enhancements off and try emerging the package again"
113 die
114 fi
115 }
116
117 src_test() {
118 vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
119
120 mkdir -p "${T}/home/mono" || die "mkdir home failed"
121
122 export HOME="${T}/home/mono"
123 export XDG_CONFIG_HOME="${T}/home/mono"
124 export XDG_DATA_HOME="${T}/home/mono"
125
126 if ! LC_ALL=C emake -j1 check; then
127 hasq test $FEATURES && die "Make check failed. See above for details."
128 hasq test $FEATURES || eerror "Make check failed. See above for details."
129 fi
130 }
131
132 src_install() {
133 emake -j1 DESTDIR="${D}" install || die "install failed"
134
135 dodoc AUTHORS ChangeLog NEWS README
136
137 docinto docs
138 dodoc docs/*
139
140 docinto libgc
141 dodoc libgc/ChangeLog
142 }