Gentoo Archives: gentoo-commits

From: Heather Cynede <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/dotnet:master commit in: dev-lang/mono/, dev-util/monodevelop/
Date: Thu, 28 May 2015 14:24:41
Message-Id: 1432823022.7e5c77a9cda53dedf83d4875514bcf432c3feba3.cynede@gentoo
1 commit: 7e5c77a9cda53dedf83d4875514bcf432c3feba3
2 Author: Heather <Heather <AT> live <DOT> ru>
3 AuthorDate: Thu May 28 14:23:42 2015 +0000
4 Commit: Heather Cynede <cynede <AT> gentoo <DOT> org>
5 CommitDate: Thu May 28 14:23:42 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=7e5c77a9
7
8 QA & clean up
9
10 dev-lang/mono/mono-4.0.1.28.ebuild | 121 ----------------------
11 dev-lang/mono/mono-4.0.1.34.ebuild | 3 +-
12 dev-lang/mono/mono-4.0.1.ebuild | 119 ---------------------
13 dev-util/monodevelop/monodevelop-5.9.0.431.ebuild | 9 +-
14 4 files changed, 5 insertions(+), 247 deletions(-)
15
16 diff --git a/dev-lang/mono/mono-4.0.1.28.ebuild b/dev-lang/mono/mono-4.0.1.28.ebuild
17 deleted file mode 100644
18 index ec119ca..0000000
19 --- a/dev-lang/mono/mono-4.0.1.28.ebuild
20 +++ /dev/null
21 @@ -1,121 +0,0 @@
22 -# Copyright 1999-2015 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Header: $
25 -
26 -EAPI=5
27 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
28 -
29 -inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils
30 -
31 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
32 -HOMEPAGE="http://www.mono-project.com/Main_Page"
33 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
34 -
35 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
36 -SLOT="0"
37 -
38 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
39 -
40 -IUSE="nls minimal pax_kernel xen doc debug"
41 -
42 -COMMONDEPEND="
43 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
44 - ia64? ( sys-libs/libunwind )
45 - nls? ( sys-devel/gettext )
46 -"
47 -RDEPEND="${COMMONDEPEND}
48 - || ( www-client/links www-client/lynx )
49 -"
50 -DEPEND="${COMMONDEPEND}
51 - sys-devel/bc
52 - virtual/yacc
53 - pax_kernel? ( sys-apps/elfix )
54 -"
55 -
56 -S="${WORKDIR}/${PN}-4.0.1"
57 -
58 -MAKEOPTS="${MAKEOPTS} -j1" #nowarn
59 -
60 -pkg_pretend() {
61 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
62 - # See http://bugs.gentoo.org/261869 for more info."
63 - CONFIG_CHECK="SYSVIPC"
64 - use kernel_linux && check_extra_config
65 -}
66 -
67 -pkg_setup() {
68 - linux-info_pkg_setup
69 - mono-env_pkg_setup
70 -}
71 -
72 -src_prepare() {
73 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
74 - # get killed in the build proces when MPROTEC is enable. #286280
75 - # RANDMMAP kill the build proces to #347365
76 - if use pax_kernel ; then
77 - ewarn "We are disabling MPROTECT on the mono binary."
78 -
79 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
80 - sed '/exec "/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
81 - fi
82 -
83 - # mono build system can fail otherwise
84 - strip-flags
85 -
86 - # Remove this at your own peril. Mono will barf in unexpected ways.
87 - append-flags -fno-strict-aliasing
88 -
89 - autotools-utils_src_prepare
90 -}
91 -
92 -src_configure() {
93 - # NOTE: We need the static libs for now so mono-debugger works.
94 - # See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
95 - #
96 - # --without-moonlight since www-plugins/moonlight is not the only one
97 - # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
98 - #
99 - # --with-profile4 needs to be always enabled since it's used by default
100 - # and, otherwise, problems like bug #340641 appear.
101 - #
102 - # sgen fails on ppc, bug #359515
103 - local myeconfargs=(
104 - --enable-system-aot=yes
105 - --enable-static
106 - --disable-quiet-build
107 - --without-moonlight
108 - --with-libgdiplus=$(usex minimal no installed)
109 - $(use_with xen xen_opt)
110 - --without-ikvm-native
111 - --with-jit
112 - --disable-dtrace
113 - --with-profile4
114 - --with-sgen=$(usex ppc no yes)
115 - $(use_with doc mcs-docs)
116 - $(use_enable debug)
117 - $(use_enable nls)
118 - )
119 -
120 - autotools-utils_src_configure
121 -
122 - # FIX for uncompilable 3.4.0 sources
123 - FF="${WORKDIR}/mono-3.4.0/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets"
124 - rm -f $FF
125 - touch $FF
126 - echo '<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">' >> $FF
127 - echo ' <Import Project="..\\Microsoft.Portable.Core.props" />' >> $FF
128 - echo ' <Import Project="..\\Microsoft.Portable.Core.targets" />' >> $FF
129 - echo '</Project>' >> $FF
130 -}
131 -
132 -src_compile() {
133 - nonfatal autotools-utils_src_compile || {
134 - eqawarn "maintainer of this ebuild has no idea why it fails. If you happen to know how to fix it - please let me know"
135 - autotools-utils_src_compile
136 - }
137 -}
138 -
139 -src_test() {
140 - cd mcs/tests || die
141 - emake check
142 -}
143
144 diff --git a/dev-lang/mono/mono-4.0.1.34.ebuild b/dev-lang/mono/mono-4.0.1.34.ebuild
145 index c76fb8f..09331fe 100644
146 --- a/dev-lang/mono/mono-4.0.1.34.ebuild
147 +++ b/dev-lang/mono/mono-4.0.1.34.ebuild
148 @@ -32,9 +32,8 @@ DEPEND="${COMMONDEPEND}
149 pax_kernel? ( sys-apps/elfix )
150 "
151
152 -S="${WORKDIR}/${PN}-4.0.1"
153 -
154 MAKEOPTS="${MAKEOPTS} -j1" #nowarn
155 +S="${WORKDIR}/${PN}-4.0.1"
156
157 pkg_pretend() {
158 # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
159
160 diff --git a/dev-lang/mono/mono-4.0.1.ebuild b/dev-lang/mono/mono-4.0.1.ebuild
161 deleted file mode 100644
162 index 8ba5999..0000000
163 --- a/dev-lang/mono/mono-4.0.1.ebuild
164 +++ /dev/null
165 @@ -1,119 +0,0 @@
166 -# Copyright 1999-2015 Gentoo Foundation
167 -# Distributed under the terms of the GNU General Public License v2
168 -# $Header: $
169 -
170 -EAPI="5"
171 -AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
172 -
173 -inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils
174 -
175 -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
176 -HOMEPAGE="http://www.mono-project.com/Main_Page"
177 -SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
178 -
179 -LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
180 -SLOT="0"
181 -
182 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
183 -
184 -IUSE="nls minimal pax_kernel xen doc debug"
185 -
186 -COMMONDEPEND="
187 - !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
188 - ia64? ( sys-libs/libunwind )
189 - nls? ( sys-devel/gettext )
190 -"
191 -RDEPEND="${COMMONDEPEND}
192 - || ( www-client/links www-client/lynx )
193 -"
194 -DEPEND="${COMMONDEPEND}
195 - sys-devel/bc
196 - virtual/yacc
197 - pax_kernel? ( sys-apps/elfix )
198 -"
199 -
200 -MAKEOPTS="${MAKEOPTS} -j1" #nowarn
201 -
202 -pkg_pretend() {
203 - # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
204 - # See http://bugs.gentoo.org/261869 for more info."
205 - CONFIG_CHECK="SYSVIPC"
206 - use kernel_linux && check_extra_config
207 -}
208 -
209 -pkg_setup() {
210 - linux-info_pkg_setup
211 - mono-env_pkg_setup
212 -}
213 -
214 -src_prepare() {
215 - # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
216 - # get killed in the build proces when MPROTEC is enable. #286280
217 - # RANDMMAP kill the build proces to #347365
218 - if use pax_kernel ; then
219 - ewarn "We are disabling MPROTECT on the mono binary."
220 -
221 - # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
222 - sed '/exec "/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
223 - fi
224 -
225 - # mono build system can fail otherwise
226 - strip-flags
227 -
228 - # Remove this at your own peril. Mono will barf in unexpected ways.
229 - append-flags -fno-strict-aliasing
230 -
231 - autotools-utils_src_prepare
232 -}
233 -
234 -src_configure() {
235 - # NOTE: We need the static libs for now so mono-debugger works.
236 - # See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
237 - #
238 - # --without-moonlight since www-plugins/moonlight is not the only one
239 - # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
240 - #
241 - # --with-profile4 needs to be always enabled since it's used by default
242 - # and, otherwise, problems like bug #340641 appear.
243 - #
244 - # sgen fails on ppc, bug #359515
245 - local myeconfargs=(
246 - --enable-system-aot=yes
247 - --enable-static
248 - --disable-quiet-build
249 - --without-moonlight
250 - --with-libgdiplus=$(usex minimal no installed)
251 - $(use_with xen xen_opt)
252 - --without-ikvm-native
253 - --with-jit
254 - --disable-dtrace
255 - --with-profile4
256 - --with-sgen=$(usex ppc no yes)
257 - $(use_with doc mcs-docs)
258 - $(use_enable debug)
259 - $(use_enable nls)
260 - )
261 -
262 - autotools-utils_src_configure
263 -
264 - # FIX for uncompilable 3.4.0 sources
265 - FF="${WORKDIR}/mono-3.4.0/mcs/tools/xbuild/targets/Microsoft.Portable.Common.targets"
266 - rm -f $FF
267 - touch $FF
268 - echo '<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">' >> $FF
269 - echo ' <Import Project="..\\Microsoft.Portable.Core.props" />' >> $FF
270 - echo ' <Import Project="..\\Microsoft.Portable.Core.targets" />' >> $FF
271 - echo '</Project>' >> $FF
272 -}
273 -
274 -src_compile() {
275 - nonfatal autotools-utils_src_compile || {
276 - eqawarn "maintainer of this ebuild has no idea why it fails. If you happen to know how to fix it - please let me know"
277 - autotools-utils_src_compile
278 - }
279 -}
280 -
281 -src_test() {
282 - cd mcs/tests || die
283 - emake check
284 -}
285
286 diff --git a/dev-util/monodevelop/monodevelop-5.9.0.431.ebuild b/dev-util/monodevelop/monodevelop-5.9.0.431.ebuild
287 index b8f6224..2808847 100644
288 --- a/dev-util/monodevelop/monodevelop-5.9.0.431.ebuild
289 +++ b/dev-util/monodevelop/monodevelop-5.9.0.431.ebuild
290 @@ -2,7 +2,7 @@
291 # Distributed under the terms of the GNU General Public License v2
292 # $Header: $
293
294 -EAPI="5"
295 +EAPI=5
296 inherit fdo-mime gnome2-utils dotnet versionator eutils
297
298 DESCRIPTION="Integrated Development Environment for .NET"
299 @@ -16,8 +16,7 @@ SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2
300 https://www.nuget.org/api/v2/package/Microsoft.AspNet.Razor/3.2.2 -> Microsoft.AspNet.Razor.3.2.2.zip
301 https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebPages/3.2.2 -> Microsoft.AspNet.WebPages.3.2.2.zip
302 https://www.nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0.0 -> Microsoft.Web.Infrastructure.1.0.0.0.zip"
303 -
304 -
305 +
306 LICENSE="GPL-2"
307 SLOT="0"
308 KEYWORDS="~amd64 ~x86"
309 @@ -54,7 +53,7 @@ src_unpack() {
310 mkdir monodevelop-5.9/packages || die
311 cd monodevelop-5.9/packages || die
312
313 - for pkg in NUnit.2.6.3 \
314 + for pkg in NUnit.2.6.3 \
315 NUnit.Runners.2.6.3 \
316 System.Web.Mvc.Extensions.Mvc.4.1.0.9 \
317 Microsoft.AspNet.Mvc.5.2.2 \
318 @@ -78,7 +77,7 @@ src_prepare() {
319
320 #copy missing binaries
321 cp -fR "${WORKDIR}"/NUnit-2.5.10.11092/bin/net-2.0/framework/* "${S}"/external/cecil/Test/libs/nunit-2.5.10/ || die
322 -
323 +
324 #fix ASP.Net
325 epatch "${FILESDIR}/5.7-downgrade_to_mvc3.patch"
326 # fix for https://github.com/gentoo/dotnet/issues/42