Gentoo Archives: gentoo-commits

From: "Heather Cynede (cynede)" <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/mono: mono-3.2.8.ebuild ChangeLog
Date: Thu, 27 Feb 2014 06:38:28
Message-Id: 20140227063821.EBB642004C@flycatcher.gentoo.org
1 cynede 14/02/27 06:38:21
2
3 Modified: ChangeLog
4 Added: mono-3.2.8.ebuild
5 Log:
6 mono 3.2.8
7
8 (Portage version: 2.2.8_p58/cvs/Linux i686, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.258 dev-lang/mono/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.258&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.258&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.257&r2=1.258
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v
20 retrieving revision 1.257
21 retrieving revision 1.258
22 diff -u -r1.257 -r1.258
23 --- ChangeLog 26 Sep 2013 14:02:55 -0000 1.257
24 +++ ChangeLog 27 Feb 2014 06:38:21 -0000 1.258
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-lang/mono
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.257 2013/09/26 14:02:55 tomwij Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.258 2014/02/27 06:38:21 cynede Exp $
31 +
32 +*mono-3.2.8 (27 Feb 2014)
33 +
34 + 27 Feb 2014; Heather Cynede <cynede@g.o> +mono-3.2.8.ebuild:
35 + mono 3.2.8
36
37 26 Sep 2013; Tom Wijsman <TomWij@g.o> mono-3.2.3.ebuild:
38 Change to the right directory before running test checks, fixes bug #485900.
39
40
41
42 1.1 dev-lang/mono/mono-3.2.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-3.2.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-3.2.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mono-3.2.8.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.2.8.ebuild,v 1.1 2014/02/27 06:38:21 cynede Exp $
52
53 EAPI="5"
54 AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
55
56 inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils
57
58 DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
59 HOMEPAGE="http://www.mono-project.com/Main_Page"
60 SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
61
62 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
63 SLOT="0"
64
65 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
66
67 IUSE="nls minimal pax_kernel xen doc debug"
68
69 COMMONDEPEND="
70 !dev-util/monodoc
71 !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
72 ia64? ( sys-libs/libunwind )
73 nls? ( sys-devel/gettext )
74 "
75 RDEPEND="${COMMONDEPEND}
76 || ( www-client/links www-client/lynx )
77 "
78 DEPEND="${COMMONDEPEND}
79 sys-devel/bc
80 virtual/yacc
81 pax_kernel? ( sys-apps/elfix )
82 "
83
84 pkg_pretend() {
85 # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
86 # See http://bugs.gentoo.org/261869 for more info."
87 CONFIG_CHECK="SYSVIPC"
88 use kernel_linux && check_extra_config
89 }
90
91 pkg_setup() {
92 linux-info_pkg_setup
93 mono-env_pkg_setup
94 }
95
96 src_prepare() {
97 # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
98 # get killed in the build proces when MPROTEC is enable. #286280
99 # RANDMMAP kill the build proces to #347365
100 if use pax_kernel ; then
101 ewarn "We are disabling MPROTECT on the mono binary."
102
103 # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
104 sed '/exec "/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
105 fi
106
107 # mono build system can fail otherwise
108 strip-flags
109
110 # Remove this at your own peril. Mono will barf in unexpected ways.
111 append-flags -fno-strict-aliasing
112
113 autotools-utils_src_prepare
114 }
115
116 src_configure() {
117 # NOTE: We need the static libs for now so mono-debugger works.
118 # See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
119 #
120 # --without-moonlight since www-plugins/moonlight is not the only one
121 # using mono: https://bugzilla.novell.com/show_bug.cgi?id=641005#c3
122 #
123 # --with-profile4 needs to be always enabled since it's used by default
124 # and, otherwise, problems like bug #340641 appear.
125 #
126 # sgen fails on ppc, bug #359515
127 local myeconfargs=(
128 --enable-system-aot=yes
129 --enable-static
130 --disable-quiet-build
131 --without-moonlight
132 --with-libgdiplus=$(usex minimal no installed)
133 $(use_with xen xen_opt)
134 --without-ikvm-native
135 --with-jit
136 --disable-dtrace
137 --with-profile4
138 --with-sgen=$(usex ppc no yes)
139 $(use_with doc mcs-docs)
140 $(use_enable debug)
141 $(use_enable nls)
142 )
143
144 autotools-utils_src_configure
145 }
146
147 src_compile() {
148 nonfatal autotools-utils_src_compile || {
149 eqawarn "maintainer of this ebuild has no idea why it fails. If you happen to know how to fix it - please let me know"
150 autotools-utils_src_compile
151 }
152 }
153
154 src_test() {
155 cd mcs/tests || die
156 emake check
157 }
158
159 src_install() {
160 autotools-utils_src_install
161
162 # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
163 # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html
164 # for reference.
165 rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die
166 rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die
167 }