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: mono-9999.ebuild ChangeLog
Date: Tue, 05 Oct 2010 22:03:29
Message-Id: 20101005212203.6CDFA20051@flycatcher.gentoo.org
1 pacho 10/10/05 21:22:03
2
3 Modified: mono-9999.ebuild ChangeLog
4 Log:
5 Update 9999 ebuild for using git (bug #339230), thanks a lot to Alistair Bush for his help.
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.4 dev-lang/mono/mono-9999.ebuild
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-9999.ebuild?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-9999.ebuild?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/mono-9999.ebuild?r1=1.3&r2=1.4
14
15 Index: mono-9999.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-9999.ebuild,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- mono-9999.ebuild 31 Jan 2010 19:54:46 -0000 1.3
22 +++ mono-9999.ebuild 5 Oct 2010 21:22:03 -0000 1.4
23 @@ -1,10 +1,10 @@
24 # Copyright 1999-2010 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-9999.ebuild,v 1.3 2010/01/31 19:54:46 tove Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-9999.ebuild,v 1.4 2010/10/05 21:22:03 pacho Exp $
28
29 EAPI=2
30
31 -inherit linux-info mono eutils flag-o-matic multilib go-mono
32 +inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
33
34 DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
35 HOMEPAGE="http://www.go-mono.com"
36 @@ -12,30 +12,28 @@
37 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
38 SLOT="0"
39 KEYWORDS=""
40 -IUSE="xen moonlight minimal"
41 +IUSE="hardened xen moonlight minimal"
42
43 #Bash requirement is for += operator
44 COMMONDEPEND="!<dev-dotnet/pnet-0.6.12
45 !dev-util/monodoc
46 - dev-libs/glib:2
47 + >=dev-libs/glib-2.4:2
48 !minimal? ( =dev-dotnet/libgdiplus-${GO_MONO_REL_PV}* )
49 - ia64? (
50 - sys-libs/libunwind
51 - )"
52 + ia64? ( sys-libs/libunwind )"
53 RDEPEND="${COMMONDEPEND}
54 || ( www-client/links www-client/lynx )"
55
56 DEPEND="${COMMONDEPEND}
57 sys-devel/bc
58 - >=app-shells/bash-3.2"
59 -PDEPEND="dev-dotnet/pe-format"
60 + >=app-shells/bash-3.2
61 + hardened? ( sys-apps/paxctl )"
62
63 MAKEOPTS="${MAKEOPTS} -j1"
64
65 RESTRICT="test"
66
67 PATCHES=(
68 - "${WORKDIR}/mono-2.2-libdir126.patch"
69 + "${WORKDIR}/${P}-libdir.patch"
70 "${FILESDIR}/mono-2.2-ppc-threading.patch"
71 "${FILESDIR}/mono-2.2-uselibdir.patch"
72 )
73 @@ -43,10 +41,10 @@
74 pkg_setup() {
75 if ! has_version dev-lang/mono
76 then
77 - eerror "To compile the SVN version of mono, you must first have a working install of"
78 + eerror "To compile the GIT version of mono, you must first have a working install of"
79 eerror "dev-lang/mono. Preferably one that is not too old relative to the branch you're"
80 eerror "trying to build."
81 - die "A working install of dev-lang/mono is required for building the SVN version."
82 + die "A working install of dev-lang/mono is required for building the GIT version."
83 fi
84 if use kernel_linux
85 then
86 @@ -69,18 +67,19 @@
87 fi
88 }
89
90 -src_unpack() {
91 - subversion_fetch "${ESVN_REPO_URI}" mono || die "subversion_fetch mono failed"
92 - subversion_fetch "${ESVN_REPO_URI%/mono}/mcs" mono/mcs || die "subversion_fetch mcs failed"
93 - S="${WORKDIR}/${P}/mono"
94 -}
95 -
96 src_prepare() {
97 sed -e "s:@MONOLIBDIR@:$(get_libdir):" \
98 - < "${FILESDIR}"/mono-2.2-libdir126.patch \
99 - > "${WORKDIR}"/mono-2.2-libdir126.patch ||
100 + < "${FILESDIR}"/${P}-libdir.patch \
101 + > "${WORKDIR}"/${P}-libdir.patch ||
102 die "Sedding patch file failed"
103 go-mono_src_prepare
104 +
105 + # we need to sed in the paxctl -m in the runtime/mono-wrapper.in so it don't
106 + # get killed in the build proces when MPROTEC is enable. #286280
107 + if use hardened ; then
108 + ewarn "We are disabling MPROTECT on the mono binary."
109 + sed '/exec/ i\paxctl -m "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
110 + fi
111 }
112
113 src_configure() {
114 @@ -92,18 +91,18 @@
115
116 #NOTE: We need the static libs for now so mono-debugger works.
117 #See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
118 +
119 + #--with-glib=system configure: error: --with-glib=system is no longer supported as of Mono 2.8
120 + #--static_mono=yes (default anyway)
121 +
122 go-mono_src_configure \
123 - --enable-static \
124 --disable-quiet-build \
125 - --with-preview \
126 - --with-glib=system \
127 $(use_with moonlight) \
128 --with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
129 $(use_with xen xen_opt) \
130 --without-ikvm-native \
131 --with-jit \
132 --disable-dtrace
133 -
134 }
135
136 src_test() {
137 @@ -126,6 +125,10 @@
138 "${D}"/usr/bin/mod || die "Failed to fix mod."
139
140 find "${D}"/usr/ -name '*nunit-docs*' -exec rm -rf '{}' '+' || die "Removing nunit .docs failed"
141 +
142 + # Remove Jay to avoid colliding with dev-util/jay, the internal
143 + # version is only used to build mcs.
144 + rm -r "${D}"/usr/share/jay "${D}"/usr/bin/jay "${D}"/usr/share/man/man1/jay.1*
145 }
146
147 #THINK!!!! Before touching postrm and postinst
148 @@ -149,10 +152,10 @@
149 einfo "be advised that this is a known problem, which will now be fixed:"
150 ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
151 for symlink in \
152 - "${ROOT}/${NUNIT_DIR}" \
153 - "${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
154 - "${ROOT}/usr/bin/nunit-console" \
155 - "${ROOT}/usr/bin/nunit-console2"
156 + "${ROOT}/${NUNIT_DIR}" \
157 + "${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
158 + "${ROOT}/usr/bin/nunit-console" \
159 + "${ROOT}/usr/bin/nunit-console2"
160 do
161 if [[ -L "${symlink}" ]]
162 then
163
164
165
166 1.199 dev-lang/mono/ChangeLog
167
168 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.199&view=markup
169 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.199&content-type=text/plain
170 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.198&r2=1.199
171
172 Index: ChangeLog
173 ===================================================================
174 RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v
175 retrieving revision 1.198
176 retrieving revision 1.199
177 diff -u -r1.198 -r1.199
178 --- ChangeLog 23 Sep 2010 22:14:59 -0000 1.198
179 +++ ChangeLog 5 Oct 2010 21:22:03 -0000 1.199
180 @@ -1,6 +1,11 @@
181 # ChangeLog for dev-lang/mono
182 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
183 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.198 2010/09/23 22:14:59 hwoarang Exp $
184 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.199 2010/10/05 21:22:03 pacho Exp $
185 +
186 + 05 Oct 2010; Pacho Ramos <pacho@g.o> mono-9999.ebuild,
187 + +files/mono-9999-libdir.patch:
188 + Update 9999 ebuild for using git (bug #339230), thanks a lot to Alistair
189 + Bush for his help.
190
191 23 Sep 2010; Markos Chandras <hwoarang@g.o> mono-2.6.7.ebuild:
192 Stable on amd64 wrt bug #336851