Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/mono: metadata.xml ChangeLog mono-2.6.7.ebuild
Date: Tue, 07 Sep 2010 21:07:37
Message-Id: 20100907210734.3008F20051@flycatcher.gentoo.org
1 pacho 10/09/07 21:07:34
2
3 Modified: metadata.xml ChangeLog mono-2.6.7.ebuild
4 Log:
5 Drop PDEPEND on pe-format (bug #333907 by Michał Górny), fix build on hardened (bug #286280 by Jason Mattax and fix by Magnus Granberg) and allow people to enable .NET 4.0 profile if they want (bug #326497 by Ron MacNeil).
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.6 dev-lang/mono/metadata.xml
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/metadata.xml?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/metadata.xml?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/metadata.xml?r1=1.5&r2=1.6
14
15 Index: metadata.xml
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/metadata.xml,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- metadata.xml 18 Jan 2009 17:45:22 -0000 1.5
22 +++ metadata.xml 7 Sep 2010 21:07:33 -0000 1.6
23 @@ -3,7 +3,11 @@
24 <pkgmetadata>
25 <herd>dotnet</herd>
26 <use>
27 - <flag name='xen'>Make mono generate code that is considerably faster on xen VMs but slightly slower on for normal systems.</flag>
28 <flag name='moonlight'>Generate Moonlight 2.1 assemblies</flag>
29 + <flag name='profile4'>Include partial support for C# 4.0 and
30 + some of the upcoming .NET 4.0 APIs.</flag>
31 + <flag name='xen'>Make mono generate code that is
32 + considerably faster on xen VMs but slightly slower on for
33 + normal systems.</flag>
34 </use>
35 </pkgmetadata>
36
37
38
39 1.195 dev-lang/mono/ChangeLog
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.195&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.195&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.194&r2=1.195
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v
48 retrieving revision 1.194
49 retrieving revision 1.195
50 diff -u -r1.194 -r1.195
51 --- ChangeLog 21 Jul 2010 17:13:14 -0000 1.194
52 +++ ChangeLog 7 Sep 2010 21:07:33 -0000 1.195
53 @@ -1,6 +1,13 @@
54 # ChangeLog for dev-lang/mono
55 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.194 2010/07/21 17:13:14 pacho Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.195 2010/09/07 21:07:33 pacho Exp $
58 +
59 + 07 Sep 2010; Pacho Ramos <pacho@g.o> mono-2.6.7.ebuild,
60 + metadata.xml:
61 + Drop PDEPEND on pe-format (bug #333907 by Michał Górny), fix build on
62 + hardened (bug #286280 by Jason Mattax and fix by Magnus Granberg) and
63 + allow people to enable .NET 4.0 profile if they want (bug #326497 by Ron
64 + MacNeil).
65
66 *mono-2.6.7 (21 Jul 2010)
67
68
69
70
71 1.2 dev-lang/mono/mono-2.6.7.ebuild
72
73 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild?rev=1.2&view=markup
74 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild?rev=1.2&content-type=text/plain
75 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild?r1=1.1&r2=1.2
76
77 Index: mono-2.6.7.ebuild
78 ===================================================================
79 RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild,v
80 retrieving revision 1.1
81 retrieving revision 1.2
82 diff -u -r1.1 -r1.2
83 --- mono-2.6.7.ebuild 21 Jul 2010 17:13:14 -0000 1.1
84 +++ mono-2.6.7.ebuild 7 Sep 2010 21:07:34 -0000 1.2
85 @@ -1,10 +1,10 @@
86 # Copyright 1999-2010 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild,v 1.1 2010/07/21 17:13:14 pacho Exp $
89 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-2.6.7.ebuild,v 1.2 2010/09/07 21:07:34 pacho Exp $
90
91 EAPI=2
92
93 -inherit linux-info mono eutils flag-o-matic multilib go-mono
94 +inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
95
96 DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
97 HOMEPAGE="http://www.go-mono.com"
98 @@ -12,23 +12,22 @@
99 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
100 SLOT="0"
101 KEYWORDS="~amd64 ~ppc ~x86"
102 -IUSE="xen moonlight minimal"
103 +
104 +IUSE="hardened minimal moonlight profile4 xen"
105
106 #Bash requirement is for += operator
107 COMMONDEPEND="!<dev-dotnet/pnet-0.6.12
108 !dev-util/monodoc
109 - dev-libs/glib:2
110 + >=dev-libs/glib-2.4:2
111 !minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* )
112 - ia64? (
113 - sys-libs/libunwind
114 - )"
115 + ia64? ( sys-libs/libunwind )"
116 RDEPEND="${COMMONDEPEND}
117 || ( www-client/links www-client/lynx )"
118
119 DEPEND="${COMMONDEPEND}
120 sys-devel/bc
121 - >=app-shells/bash-3.2"
122 -PDEPEND="dev-dotnet/pe-format"
123 + >=app-shells/bash-3.2
124 + hardened? ( sys-apps/paxctl )"
125
126 MAKEOPTS="${MAKEOPTS} -j1"
127
128 @@ -69,6 +68,13 @@
129 > "${WORKDIR}"/mono-2.2-libdir126.patch ||
130 die "Sedding patch file failed"
131 go-mono_src_prepare
132 +
133 + # we need to sed in the paxctl -m in the runtime/mono-wrapper.in so it don't
134 + # get killed in the build proces when MPROTEC is enable. #286280
135 + if use hardened ; then
136 + ewarn "We are disabling MPROTECT on the mono binary."
137 + sed '/exec/ i\paxctl -m "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
138 + fi
139 }
140
141 src_configure() {
142 @@ -90,8 +96,8 @@
143 $(use_with xen xen_opt) \
144 --without-ikvm-native \
145 --with-jit \
146 - --disable-dtrace
147 -
148 + --disable-dtrace \
149 + $(use_with profile4)
150 }
151
152 src_test() {