aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-dotnet/libgdiplus/Manifest1
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild70
-rw-r--r--dev-dotnet/libgdiplus/libgdiplus-9999.ebuild75
-rw-r--r--dev-dotnet/xsp/xsp-2.10.2-r3.ebuild (renamed from dev-dotnet/xsp/xsp-2.10.2-r2.ebuild)4
-rw-r--r--dev-dotnet/xsp/xsp-9999.ebuild4
-rw-r--r--dev-lang/mono/mono-3.0.11.ebuild195
-rw-r--r--dev-lang/mono/mono-3.0.11.ebuild-backup (renamed from dev-lang/mono/mono-3.0.10.ebuild)8
-rw-r--r--dev-lang/mono/mono-3.0.7.ebuild181
-rw-r--r--dev-lang/mono/mono-9999.ebuild200
-rw-r--r--dev-util/mono-debugger/mono-debugger-9999.ebuild20
-rw-r--r--dev-util/mono-tools/mono-tools-9999.ebuild15
-rw-r--r--dev-util/monodevelop/monodevelop-4.0.ebuild72
-rw-r--r--eclass/go-mono-2.eclass115
-rw-r--r--eclass/go-mono.eclass133
14 files changed, 302 insertions, 791 deletions
diff --git a/dev-dotnet/libgdiplus/Manifest b/dev-dotnet/libgdiplus/Manifest
new file mode 100644
index 0000000..c3082d6
--- /dev/null
+++ b/dev-dotnet/libgdiplus/Manifest
@@ -0,0 +1 @@
+DIST libgdiplus-2.10.9.tar.bz2 2074317 SHA256 6ddeb6c327bada7cb6e06d1a20714f526a0c69520dfd42c12ddd032c3c5d964e SHA512 7f1944795c7ede5fd92a6d7e8d7d6cf2ef3c154e656b83e769b417f8f7195dd975084afe3c3cd1dda1ecb2c1167f76c0b5714cd16d549ff056add09763c6b26c WHIRLPOOL 0930cb2ad191c34b7ebd073f687536663bcfe9a44ed3296cf81bc9d43cfc7ee39d8f60f9b9f83f89847164b7366e514ee945737be50b82257209507c3b6e9c5d
diff --git a/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild
new file mode 100644
index 0000000..cda374f
--- /dev/null
+++ b/dev-dotnet/libgdiplus/libgdiplus-2.10.9-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-2.10.9.ebuild $
+
+EAPI=5
+
+inherit base eutils mono flag-o-matic
+
+DESCRIPTION="Library for using System.Drawing with mono"
+HOMEPAGE="http://www.mono-project.com"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
+
+IUSE="cairo"
+
+RDEPEND=" >=dev-libs/glib-2.16:2
+ >=media-libs/freetype-2.3.7
+ >=media-libs/fontconfig-2.6
+ >=media-libs/libpng-1.4:0
+ x11-libs/libXrender
+ x11-libs/libX11
+ x11-libs/libXt
+ >=x11-libs/cairo-1.8.4[X]
+ media-libs/libexif
+ >=media-libs/giflib-4.1.3
+ virtual/jpeg
+ media-libs/tiff:0
+ !cairo? ( >=x11-libs/pango-1.20 )"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${P}-gold.patch"
+ "${FILESDIR}/${PN}-2.10.1-libpng15.patch" )
+
+src_prepare() {
+ base_src_prepare
+ sed -i -e 's:ungif:gif:g' configure || die
+}
+
+src_configure() {
+ append-flags -fno-strict-aliasing
+ econf --disable-dependency-tracking \
+ --disable-static \
+ --with-cairo=system \
+ $(use !cairo && printf %s --with-pango) \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake "$@" || die "emake failed"
+}
+
+src_install () {
+ emake -j1 DESTDIR="${D}" "$@" install || die "install failed" #nowarn
+ mono_multilib_comply
+ local commondoc=( AUTHORS ChangeLog README TODO )
+ for docfile in "${commondoc[@]}"
+ do
+ [[ -e "${docfile}" ]] && dodoc "${docfile}"
+ done
+ if [[ "${DOCS[@]}" ]]
+ then
+ dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
+ fi
+ find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
+} \ No newline at end of file
diff --git a/dev-dotnet/libgdiplus/libgdiplus-9999.ebuild b/dev-dotnet/libgdiplus/libgdiplus-9999.ebuild
index 8106ea9..aee4297 100644
--- a/dev-dotnet/libgdiplus/libgdiplus-9999.ebuild
+++ b/dev-dotnet/libgdiplus/libgdiplus-9999.ebuild
@@ -1,54 +1,71 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/Attic/libgdiplus-9999.ebuild,v 1.7 2011/02/27 12:46:28 pacho dead $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/libgdiplus/libgdiplus-9999.ebuild $
-EAPI=2
+EAPI=5
-EGIT_REPO_URI="http://github.com/mono/${PN}.git"
-
-inherit go-mono mono flag-o-matic git-2 autotools
+inherit base eutils mono flag-o-matic git-2
DESCRIPTION="Library for using System.Drawing with mono"
-HOMEPAGE="http://www.go-mono.com/"
-
-SRC_URI=""
+HOMEPAGE="http://www.mono-project.com"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
+EGIT_REPO_URI="http://github.com/mono/${PN}.git"
+
IUSE="cairo"
-RDEPEND=">=dev-libs/glib-2.16
- >=media-libs/freetype-2.3.7
- >=media-libs/fontconfig-2.6
- >=media-libs/libpng-1.4:0
- x11-libs/libXrender
- x11-libs/libX11
- x11-libs/libXt
- >=x11-libs/cairo-1.8.4[X]
- media-libs/libexif
- >=media-libs/giflib-4.1.3
- virtual/jpeg
- media-libs/tiff:0
- !cairo? ( >=x11-lzhibs/pango-1.20 )"
+RDEPEND=" >=dev-libs/glib-2.16:2
+ >=media-libs/freetype-2.3.7
+ >=media-libs/fontconfig-2.6
+ >=media-libs/libpng-1.4:0
+ x11-libs/libXrender
+ x11-libs/libX11
+ x11-libs/libXt
+ >=x11-libs/cairo-1.8.4[X]
+ media-libs/libexif
+ >=media-libs/giflib-4.1.3
+ virtual/jpeg
+ media-libs/tiff:0
+ !cairo? ( >=x11-libs/pango-1.20 )"
DEPEND="${RDEPEND}"
RESTRICT="test"
-PATCHES=(
- "${FILESDIR}/${PN}-2.10.1-libpng15.patch"
-)
+PATCHES=( "${FILESDIR}/${PN}-2.10.1-libpng15.patch" )
src_prepare() {
sed -i -e 's/LT_/LTT_/g' cairo/configure.in || die
- go-mono_src_prepare
+ base_src_prepare
epatch "${FILESDIR}/${PN}-2.10.9-gold.patch"
sed -i -e 's:ungif:gif:g' configure || die
}
src_configure() {
append-flags -fno-strict-aliasing
- go-mono_src_configure --with-cairo=system \
- $(use !cairo && printf %s --with-pango) \
- || die "configure failed"
+ econf --disable-dependency-tracking \
+ --disable-static \
+ --with-cairo=system \
+ $(use !cairo && printf %s --with-pango) \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake "$@" || die "emake failed"
}
+
+src_install () {
+ emake -j1 DESTDIR="${D}" "$@" install || die "install failed" #nowarn
+ mono_multilib_comply
+ local commondoc=( AUTHORS ChangeLog README TODO )
+ for docfile in "${commondoc[@]}"
+ do
+ [[ -e "${docfile}" ]] && dodoc "${docfile}"
+ done
+ if [[ "${DOCS[@]}" ]]
+ then
+ dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
+ fi
+ find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
+} \ No newline at end of file
diff --git a/dev-dotnet/xsp/xsp-2.10.2-r2.ebuild b/dev-dotnet/xsp/xsp-2.10.2-r3.ebuild
index 246e5ed..96cc698 100644
--- a/dev-dotnet/xsp/xsp-2.10.2-r2.ebuild
+++ b/dev-dotnet/xsp/xsp-2.10.2-r3.ebuild
@@ -6,13 +6,15 @@ EAPI="5"
USE_DOTNET="net35 net40 net45"
-inherit eutils go-mono mono user
+inherit base eutils mono user
PATCHDIR="${FILESDIR}/2.2/"
DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
HOMEPAGE="http://www.mono-project.com/ASP.NET"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
+
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ppc x86"
diff --git a/dev-dotnet/xsp/xsp-9999.ebuild b/dev-dotnet/xsp/xsp-9999.ebuild
index 0e6ce21..72ca291 100644
--- a/dev-dotnet/xsp/xsp-9999.ebuild
+++ b/dev-dotnet/xsp/xsp-9999.ebuild
@@ -7,11 +7,13 @@ EAPI="5"
USE_DOTNET="net35 net40 net45"
PATCHDIR="${FILESDIR}/2.2/"
-inherit eutils go-mono mono user git-2 autotools-utils
+inherit base eutils mono user git-2 autotools-utils
DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
HOMEPAGE="http://www.mono-project.com/ASP.NET"
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
diff --git a/dev-lang/mono/mono-3.0.11.ebuild b/dev-lang/mono/mono-3.0.11.ebuild
index 85337cd..b4f1195 100644
--- a/dev-lang/mono/mono-3.0.11.ebuild
+++ b/dev-lang/mono/mono-3.0.11.ebuild
@@ -3,78 +3,71 @@
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.11.ebuild $
EAPI="5"
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
-inherit linux-info mono eutils flag-o-matic multilib go-mono-2 pax-utils
+inherit linux-info mono-env flag-o-matic pax-utils autotools-utils git-2
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
HOMEPAGE="http://www.mono-project.com/Main_Page"
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+EGIT_HAS_SUBMODULES="true"
+EGIT_TAG="mono-${PN}"
+
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc"
-
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
IUSE="minimal pax_kernel xen doc"
-COMMONDEPEND="!dev-util/monodoc
+COMMONDEPEND="
+ !dev-util/monodoc
!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
- ia64? ( sys-libs/libunwind )"
+ ia64? ( sys-libs/libunwind )
+"
RDEPEND="${COMMONDEPEND}
- || ( www-client/links www-client/lynx )"
-
+ || ( www-client/links www-client/lynx )
+"
DEPEND="${COMMONDEPEND}
sys-devel/bc
virtual/yacc
- pax_kernel? ( sys-apps/paxctl )"
-
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn
-RESTRICT="test"
-
-QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
- /usr/lib64/mono/4.5/mscorlib.dll.so"
+ pax_kernel? ( sys-apps/paxctl )
+"
+
+pkg_pretend() {
+ # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+ # See http://bugs.gentoo.org/261869 for more info."
+ CONFIG_CHECK="SYSVIPC"
+ use kernel_linux && check_extra_config
+}
pkg_setup() {
- if use kernel_linux
- then
- get_version
- if linux_config_exists
- then
- if linux_chkconfig_present SYSVIPC
- then
- einfo "CONFIG_SYSVIPC is set, looking good."
- else
- eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
- eerror "See http://bugs.gentoo.org/261869 for more info."
- die "Please set CONFIG_SYSVIPC in your kernel .config"
- fi
- else
- ewarn "Was unable to determine your kernel .config"
- ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
- ewarn "See http://bugs.gentoo.org/261869 for more info."
- fi
- fi
+ linux-info_pkg_setup
+ mono-env_pkg_setup
}
src_prepare() {
cat "${S}/mono/mini/Makefile.am.in" > "${S}/mono/mini/Makefile.am" || die
cat "${S}/mono/metadata/Makefile.am.in" > "${S}/mono/metadata/Makefile.am" || die
- go-mono-2_src_prepare
+ eautoreconf
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
# get killed in the build proces when MPROTEC is enable. #286280
# RANDMMAP kill the build proces to #347365
if use pax_kernel ; then
ewarn "We are disabling MPROTECT on the mono binary."
- sed '/exec "$r\/libtool"/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+ sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
fi
-}
-src_configure() {
- # mono's build system is finiky, strip the flags
+ # mono build system can fail otherwise
strip-flags
# Remove this at your own peril. Mono will barf in unexpected ways.
append-flags -fno-strict-aliasing
+ autotools-utils_src_prepare
+}
+
+src_configure() {
# NOTE: We need the static libs for now so mono-debugger works.
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
#
@@ -85,114 +78,40 @@ src_configure() {
# and, otherwise, problems like bug #340641 appear.
#
# sgen fails on ppc, bug #359515
- go-mono-2_src_configure \
- --enable-system-aot=yes \
- --enable-static \
- --disable-quiet-build \
- --without-moonlight \
- --with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
- $(use_with xen xen_opt) \
- --without-ikvm-native \
- --with-jit \
- --disable-dtrace \
- --with-profile4 \
- --with-sgen=$(use ppc && printf "no" || printf "yes" ) \
+ local myeconfargs=(
+ --enable-system-aot=yes
+ --enable-static
+ --disable-quiet-build
+ --without-moonlight
+ --with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
+ $(use_with xen xen_opt)
+ --without-ikvm-native
+ --with-jit
+ --disable-dtrace
+ --with-profile4
+ --with-sgen=$(use ppc && printf "no" || printf "yes" )
$(use_with doc mcs-docs)
-}
+ )
-src_test() {
- echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
+ autotools-utils_src_configure
+}
- export MONO_REGISTRY_PATH="${T}/registry"
- export XDG_DATA_HOME="${T}/data"
- export MONO_SHARED_DIR="${T}/shared"
- export XDG_CONFIG_HOME="${T}/config"
- export HOME="${T}/home"
+src_make() {
+ # Doesn't require previous mono to be installed
+ emake get-monolite-latest
+ emake EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe "$@" || die "emake failed"
+}
- emake -j1 check
+src_test() {
+ emake check || die "tests fails"
}
src_install() {
- go-mono-2_src_install
+ autotools-utils_src_install
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
# for reference.
- rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
- rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
-}
-
-#THINK!!!! Before touching postrm and postinst
-#Reference phase order:
-#pkg_preinst
-#pkg_prerm
-#pkg_postrm
-#pkg_postinst
-
-pkg_preinst() {
- local symlink
- local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
- local pv_atom
- if [[ "$(readlink "${EROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
- then
- for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
- do
- if has_version "=dev-lang/mono-${pv_atom}"
- then
- einfo "If you just received a file collision warning message,"
- einfo "be advised that this is a known problem, which will now be fixed:"
- ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
- for symlink in \
- "${EROOT}/${NUNIT_DIR}" \
- "${EROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
- "${EROOT}/usr/bin/nunit-console" \
- "${EROOT}/usr/bin/nunit-console2"
- do
- if [[ -L "${symlink}" ]]
- then
- rm -f "${symlink}" &> /dev/null
- fi
- done
- eend 0
- break
- fi
- done
- fi
-}
-
-pkg_postinst() {
- elog "PLEASE TAKE NOTE!"
- elog ""
- elog "Some of the namespaces supported by Mono require extra packages to be installed."
- elog "Below is a list of namespaces and the corresponding package you must install:"
- elog ""
- elog ">=x11-libs/cairo-1.6.4"
- elog " Mono.Cairo"
- elog "Also read:"
- elog "http://www.mono-project.com/Mono.Cairo"
- elog ""
- elog ">=dev-db/firebird-2.0.4.13130.1"
- elog " FirebirdSql.Data.Firebird"
- elog "Also read:"
- elog "http://www.mono-project.com/Firebird_Interbase"
- elog ""
- elog "dev-db/sqlite:3"
- elog " Mono.Data.Sqlite"
- elog "Also read:"
- elog "http://www.mono-project.com/SQLite"
- elog ""
- elog ">=dev-db/oracle-instantclient-basic-10.2"
- elog " System.Data.OracleClient"
- elog "Also read:"
- elog "http://www.mono-project.com/Oracle"
- elog ""
- elog "Mono also has support for packages that are not included in portage:"
- elog ""
- elog "No ebuild available:"
- elog " IBM.Data.DB2"
- elog "Also read: http://www.mono-project.com/IBM_DB2"
- elog ""
- elog "No ebuild needed:"
- elog " Mono.Data.SybaseClient"
- elog "Also read: http://www.mono-project.com/Sybase"
-}
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
+} \ No newline at end of file
diff --git a/dev-lang/mono/mono-3.0.10.ebuild b/dev-lang/mono/mono-3.0.11.ebuild-backup
index 80ea37a..85337cd 100644
--- a/dev-lang/mono/mono-3.0.10.ebuild
+++ b/dev-lang/mono/mono-3.0.11.ebuild-backup
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.10.ebuild $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.11.ebuild $
EAPI="5"
@@ -64,7 +64,7 @@ src_prepare() {
# RANDMMAP kill the build proces to #347365
if use pax_kernel ; then
ewarn "We are disabling MPROTECT on the mono binary."
- sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
+ sed '/exec "$r\/libtool"/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
fi
}
@@ -113,10 +113,6 @@ src_test() {
}
src_install() {
- git revert 38348361dadd5d9e8a1721ecd3ea31b01952d1e7
- #
- # (c) Heather
-
go-mono-2_src_install
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
diff --git a/dev-lang/mono/mono-3.0.7.ebuild b/dev-lang/mono/mono-3.0.7.ebuild
index 1b68875..03af857 100644
--- a/dev-lang/mono/mono-3.0.7.ebuild
+++ b/dev-lang/mono/mono-3.0.7.ebuild
@@ -3,59 +3,46 @@
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.7.ebuild $
EAPI="5"
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
-inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
+inherit linux-info mono-env flag-o-matic pax-utils autotools-utils
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
HOMEPAGE="http://www.mono-project.com/Main_Page"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
SLOT="0"
-KEYWORDS="amd64 x86 ~amd64-linux ~ppc"
-
+KEYWORDS="amd64 ppc ppc64 x86 amd64-linux"
IUSE="minimal pax_kernel xen doc"
-COMMONDEPEND="!dev-util/monodoc
+COMMONDEPEND="
+ !dev-util/monodoc
!minimal? ( >=dev-dotnet/libgdiplus-2.10 )
- ia64? ( sys-libs/libunwind )"
+ ia64? ( sys-libs/libunwind )
+"
RDEPEND="${COMMONDEPEND}
- || ( www-client/links www-client/lynx )"
-
+ || ( www-client/links www-client/lynx )
+"
DEPEND="${COMMONDEPEND}
sys-devel/bc
virtual/yacc
- pax_kernel? ( sys-apps/paxctl )"
-
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn
-RESTRICT="test"
-
-QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
- /usr/lib64/mono/4.5/mscorlib.dll.so"
+ pax_kernel? ( sys-apps/paxctl )
+"
+
+pkg_pretend() {
+ # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+ # See http://bugs.gentoo.org/261869 for more info."
+ CONFIG_CHECK="SYSVIPC"
+ use kernel_linux && check_extra_config
+}
pkg_setup() {
- if use kernel_linux
- then
- get_version
- if linux_config_exists
- then
- if linux_chkconfig_present SYSVIPC
- then
- einfo "CONFIG_SYSVIPC is set, looking good."
- else
- eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
- eerror "See http://bugs.gentoo.org/261869 for more info."
- die "Please set CONFIG_SYSVIPC in your kernel .config"
- fi
- else
- ewarn "Was unable to determine your kernel .config"
- ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
- ewarn "See http://bugs.gentoo.org/261869 for more info."
- fi
- fi
+ linux-info_pkg_setup
+ mono-env_pkg_setup
}
src_prepare() {
- go-mono_src_prepare
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
# get killed in the build proces when MPROTEC is enable. #286280
# RANDMMAP kill the build proces to #347365
@@ -63,15 +50,17 @@ src_prepare() {
ewarn "We are disabling MPROTECT on the mono binary."
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
fi
-}
-src_configure() {
- # mono's build system is finiky, strip the flags
+ # mono build system can fail otherwise
strip-flags
# Remove this at your own peril. Mono will barf in unexpected ways.
append-flags -fno-strict-aliasing
+ autotools-utils_src_prepare
+}
+
+src_configure() {
# NOTE: We need the static libs for now so mono-debugger works.
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
#
@@ -82,114 +71,34 @@ src_configure() {
# and, otherwise, problems like bug #340641 appear.
#
# sgen fails on ppc, bug #359515
- go-mono_src_configure \
- --enable-system-aot=yes \
- --enable-static \
- --disable-quiet-build \
- --without-moonlight \
- --with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
- $(use_with xen xen_opt) \
- --without-ikvm-native \
- --with-jit \
- --disable-dtrace \
- --with-profile4 \
- --with-sgen=$(use ppc && printf "no" || printf "yes" ) \
+ local myeconfargs=(
+ --enable-system-aot=yes
+ --enable-static
+ --disable-quiet-build
+ --without-moonlight
+ --with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
+ $(use_with xen xen_opt)
+ --without-ikvm-native
+ --with-jit
+ --disable-dtrace
+ --with-profile4
+ --with-sgen=$(use ppc && printf "no" || printf "yes" )
$(use_with doc mcs-docs)
+ )
+
+ autotools-utils_src_configure
}
src_test() {
- echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
-
- export MONO_REGISTRY_PATH="${T}/registry"
- export XDG_DATA_HOME="${T}/data"
- export MONO_SHARED_DIR="${T}/shared"
- export XDG_CONFIG_HOME="${T}/config"
- export HOME="${T}/home"
-
- emake -j1 check
+ emake check || die "tests fails"
}
src_install() {
- go-mono_src_install
+ autotools-utils_src_install
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
# for reference.
- rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
- rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
-}
-
-#THINK!!!! Before touching postrm and postinst
-#Reference phase order:
-#pkg_preinst
-#pkg_prerm
-#pkg_postrm
-#pkg_postinst
-
-pkg_preinst() {
- local symlink
- local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
- local pv_atom
- if [[ "$(readlink "${EROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
- then
- for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
- do
- if has_version "=dev-lang/mono-${pv_atom}"
- then
- einfo "If you just received a file collision warning message,"
- einfo "be advised that this is a known problem, which will now be fixed:"
- ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
- for symlink in \
- "${EROOT}/${NUNIT_DIR}" \
- "${EROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
- "${EROOT}/usr/bin/nunit-console" \
- "${EROOT}/usr/bin/nunit-console2"
- do
- if [[ -L "${symlink}" ]]
- then
- rm -f "${symlink}" &> /dev/null
- fi
- done
- eend 0
- break
- fi
- done
- fi
-}
-
-pkg_postinst() {
- elog "PLEASE TAKE NOTE!"
- elog ""
- elog "Some of the namespaces supported by Mono require extra packages to be installed."
- elog "Below is a list of namespaces and the corresponding package you must install:"
- elog ""
- elog ">=x11-libs/cairo-1.6.4"
- elog " Mono.Cairo"
- elog "Also read:"
- elog "http://www.mono-project.com/Mono.Cairo"
- elog ""
- elog ">=dev-db/firebird-2.0.4.13130.1"
- elog " FirebirdSql.Data.Firebird"
- elog "Also read:"
- elog "http://www.mono-project.com/Firebird_Interbase"
- elog ""
- elog "dev-db/sqlite:3"
- elog " Mono.Data.Sqlite"
- elog "Also read:"
- elog "http://www.mono-project.com/SQLite"
- elog ""
- elog ">=dev-db/oracle-instantclient-basic-10.2"
- elog " System.Data.OracleClient"
- elog "Also read:"
- elog "http://www.mono-project.com/Oracle"
- elog ""
- elog "Mono also has support for packages that are not included in portage:"
- elog ""
- elog "No ebuild available:"
- elog " IBM.Data.DB2"
- elog "Also read: http://www.mono-project.com/IBM_DB2"
- elog ""
- elog "No ebuild needed:"
- elog " Mono.Data.SybaseClient"
- elog "Also read: http://www.mono-project.com/Sybase"
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
}
diff --git a/dev-lang/mono/mono-9999.ebuild b/dev-lang/mono/mono-9999.ebuild
index 5df7961..9825c7b 100644
--- a/dev-lang/mono/mono-9999.ebuild
+++ b/dev-lang/mono/mono-9999.ebuild
@@ -1,66 +1,54 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-9999.ebuild $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-3.0.11.ebuild $
EAPI="5"
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
-inherit linux-info mono eutils flag-o-matic multilib go-mono pax-utils
+inherit linux-info mono-env flag-o-matic pax-utils autotools-utils git-2
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
HOMEPAGE="http://www.mono-project.com/Main_Page"
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+EGIT_HAS_SUBMODULES="true"
+
LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
SLOT="0"
KEYWORDS=""
+IUSE="minimal pax_kernel xen doc"
-IUSE="minimal pax_kernel xen"
-
-#Bash requirement is for += operator
-COMMONDEPEND="!dev-util/monodoc
- !minimal? ( =dev-dotnet/libgdiplus-9999 )
- ia64? ( sys-libs/libunwind )"
+COMMONDEPEND="
+ !dev-util/monodoc
+ !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
+ ia64? ( sys-libs/libunwind )
+"
RDEPEND="${COMMONDEPEND}
- || ( www-client/links www-client/lynx )"
-
+ || ( www-client/links www-client/lynx )
+"
DEPEND="${COMMONDEPEND}
sys-devel/bc
virtual/yacc
- >=app-shells/bash-3.2
- pax_kernel? ( sys-apps/paxctl )"
-
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn
-RESTRICT="test"
-
-QA_FLAGS_IGNORED="/usr/lib64/mono/4.5/mcs.exe.so \
- /usr/lib64/mono/4.5/mscorlib.dll.so"
+ pax_kernel? ( sys-apps/paxctl )
+"
+
+pkg_pretend() {
+ # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+ # See http://bugs.gentoo.org/261869 for more info."
+ CONFIG_CHECK="SYSVIPC"
+ use kernel_linux && check_extra_config
+}
pkg_setup() {
- if use kernel_linux
- then
- get_version
- if linux_config_exists
- then
- if linux_chkconfig_present SYSVIPC
- then
- einfo "CONFIG_SYSVIPC is set, looking good."
- else
- eerror "If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
- eerror "See http://bugs.gentoo.org/261869 for more info."
- die "Please set CONFIG_SYSVIPC in your kernel .config"
- fi
- else
- ewarn "Was unable to determine your kernel .config"
- ewarn "Please note that if CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling."
- ewarn "See http://bugs.gentoo.org/261869 for more info."
- fi
- fi
+ linux-info_pkg_setup
+ mono-env_pkg_setup
}
src_prepare() {
cat "${S}/mono/mini/Makefile.am.in" > "${S}/mono/mini/Makefile.am" || die
cat "${S}/mono/metadata/Makefile.am.in" > "${S}/mono/metadata/Makefile.am" || die
- go-mono_src_prepare
+ eautoreconf
# we need to sed in the paxctl -mr in the runtime/mono-wrapper.in so it don't
# get killed in the build proces when MPROTEC is enable. #286280
# RANDMMAP kill the build proces to #347365
@@ -68,15 +56,17 @@ src_prepare() {
ewarn "We are disabling MPROTECT on the mono binary."
sed '/exec/ i\paxctl -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in
fi
-}
-src_configure() {
- # mono's build system is finiky, strip the flags
+ # mono build system can fail otherwise
strip-flags
# Remove this at your own peril. Mono will barf in unexpected ways.
append-flags -fno-strict-aliasing
+ autotools-utils_src_prepare
+}
+
+src_configure() {
# NOTE: We need the static libs for now so mono-debugger works.
# See http://bugs.gentoo.org/show_bug.cgi?id=256264 for details
#
@@ -87,116 +77,40 @@ src_configure() {
# and, otherwise, problems like bug #340641 appear.
#
# sgen fails on ppc, bug #359515
+ local myeconfargs=(
+ --enable-system-aot=yes
+ --enable-static
+ --disable-quiet-build
+ --without-moonlight
+ --with-libgdiplus=$(use minimal && printf "no" || printf "installed" )
+ $(use_with xen xen_opt)
+ --without-ikvm-native
+ --with-jit
+ --disable-dtrace
+ --with-profile4
+ --with-sgen=$(use ppc && printf "no" || printf "yes" )
+ $(use_with doc mcs-docs)
+ )
+
+ autotools-utils_src_configure
+}
- local myconf=""
- use ppc && myconf="${myconf} --with-sgen=no"
- go-mono_src_configure \
- --enable-system-aot=yes \
- --enable-static \
- --disable-quiet-build \
- --without-moonlight \
- --with-libgdiplus=$(use minimal && printf "no" || printf "installed" ) \
- $(use_with xen xen_opt) \
- --without-ikvm-native \
- --with-jit \
- --disable-dtrace \
- --with-profile4 \
- ${myconf}
+src_make() {
+ # Doesn't require previous mono to be installed
+ emake get-monolite-latest
+ emake EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe "$@" || die "emake failed"
}
src_test() {
- echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
-
- export MONO_REGISTRY_PATH="${T}/registry"
- export XDG_DATA_HOME="${T}/data"
- export MONO_SHARED_DIR="${T}/shared"
- export XDG_CONFIG_HOME="${T}/config"
- export HOME="${T}/home"
-
- emake -j1 check
+ emake check || die "tests fails"
}
src_install() {
- go-mono_src_install
+ autotools-utils_src_install
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora
# mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html
# for reference.
- rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mscorlib.dll.so
- rm -f "${ED}"/usr/$(get_libdir)/mono/2.0/mcs.exe.so
-}
-
-#THINK!!!! Before touching postrm and postinst
-#Reference phase order:
-#pkg_preinst
-#pkg_prerm
-#pkg_postrm
-#pkg_postinst
-
-pkg_preinst() {
- local symlink
- local NUNIT_DIR="/usr/$(get_libdir)/mono/nunit"
- local pv_atom
- if [[ "$(readlink "${ROOT}"/${NUNIT_DIR})" == *"mono-nunit"* ]]
- then
- for pv_atom in 2.2{,-r1,-r2,-r3,-r4} '2.4_pre*' '2.4_rc*' 2.4
- do
- if has_version "=dev-lang/mono-${pv_atom}"
- then
- einfo "If you just received a file collision warning message,"
- einfo "be advised that this is a known problem, which will now be fixed:"
- ebegin "Found broken symlinks created by $(best_version dev-lang/mono), fixing"
- for symlink in \
- "${ROOT}/${NUNIT_DIR}" \
- "${ROOT}/usr/$(get_libdir)/pkgconfig/nunit.pc" \
- "${ROOT}/usr/bin/nunit-console" \
- "${ROOT}/usr/bin/nunit-console2"
- do
- if [[ -L "${symlink}" ]]
- then
- rm -f "${symlink}" &> /dev/null
- fi
- done
- eend 0
- break
- fi
- done
- fi
-}
-
-pkg_postinst() {
- elog "PLEASE TAKE NOTE!"
- elog ""
- elog "Some of the namespaces supported by Mono require extra packages to be installed."
- elog "Below is a list of namespaces and the corresponding package you must install:"
- elog ""
- elog ">=x11-libs/cairo-1.6.4"
- elog " Mono.Cairo"
- elog "Also read:"
- elog "http://www.mono-project.com/Mono.Cairo"
- elog ""
- elog ">=dev-db/firebird-2.0.4.13130.1"
- elog " FirebirdSql.Data.Firebird"
- elog "Also read:"
- elog "http://www.mono-project.com/Firebird_Interbase"
- elog ""
- elog "dev-db/sqlite:3"
- elog " Mono.Data.Sqlite"
- elog "Also read:"
- elog "http://www.mono-project.com/SQLite"
- elog ""
- elog ">=dev-db/oracle-instantclient-basic-10.2"
- elog " System.Data.OracleClient"
- elog "Also read:"
- elog "http://www.mono-project.com/Oracle"
- elog ""
- elog "Mono also has support for packages that are not included in portage:"
- elog ""
- elog "No ebuild available:"
- elog " IBM.Data.DB2"
- elog "Also read: http://www.mono-project.com/IBM_DB2"
- elog ""
- elog "No ebuild needed:"
- elog " Mono.Data.SybaseClient"
- elog "Also read: http://www.mono-project.com/Sybase"
-}
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so
+} \ No newline at end of file
diff --git a/dev-util/mono-debugger/mono-debugger-9999.ebuild b/dev-util/mono-debugger/mono-debugger-9999.ebuild
index 825174a..457ac38 100644
--- a/dev-util/mono-debugger/mono-debugger-9999.ebuild
+++ b/dev-util/mono-debugger/mono-debugger-9999.ebuild
@@ -2,16 +2,18 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-debugger/mono-debugger-9999.ebuild $
-EAPI=4
+EAPI=5
-inherit go-mono mono autotools flag-o-matic eutils
+inherit base mono autotools flag-o-matic eutils git-2
DESCRIPTION="Debugger for .NET managed and unmanaged applications"
HOMEPAGE="http://www.mono-project.com/"
+EGIT_REPO_URI="git://github.com/mono/debugger.git"
+
LICENSE="GPL-2 MIT"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~x86 ~amd64"
IUSE=""
RESTRICT="test"
@@ -24,7 +26,7 @@ DEPEND="${RDEPEND}
!dev-lang/mercury"
src_prepare() {
- go-mono_src_prepare
+ base_src_prepare
# Allow compilation against system libbfd, bnc#662581
epatch "${FILESDIR}/${PN}-2.8-system-bfd.patch"
@@ -33,12 +35,12 @@ src_prepare() {
src_configure() {
append-ldflags -Wl,--no-undefined #nowarn
-
- go-mono_src_configure \
- --with-system-libbfd \
- --disable-static
+ econf --disable-dependency-tracking \
+ --disable-static \
+ --with-system-libbfd \
+ --disable-static || die "econf failed"
}
src_compile() {
- emake -j1 #nowarn
+ emake -j1 || die "emake failed" #nowarn
}
diff --git a/dev-util/mono-tools/mono-tools-9999.ebuild b/dev-util/mono-tools/mono-tools-9999.ebuild
index 5f46ccd..7f6c6ed 100644
--- a/dev-util/mono-tools/mono-tools-9999.ebuild
+++ b/dev-util/mono-tools/mono-tools-9999.ebuild
@@ -2,31 +2,30 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-9999.ebuild $
-EAPI="4"
+EAPI=5
-inherit go-mono mono autotools
+inherit base mono autotools git-2
DESCRIPTION="Set of useful Mono related utilities"
HOMEPAGE="http://www.mono-project.com/"
+EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+
LICENSE="GPL-2 MIT"
SLOT="0"
KEYWORDS=""
IUSE="+webkit gtkhtml"
-RDEPEND="=virtual/monodoc-${GO_MONO_REL_PV}*
+RDEPEND="virtual/monodoc
>=dev-dotnet/gtk-sharp-2.12.6:2
>=dev-dotnet/glade-sharp-2.12.6:2
>=dev-dotnet/gconf-sharp-2:2
gtkhtml? ( >=dev-dotnet/gtkhtml-sharp-2.24.0:2 )
webkit? ( >=dev-dotnet/webkit-sharp-0.2-r1 )"
-
DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
-
PATCHES=( "${FILESDIR}/${PN}-2.8-html-renderer-fixes.patch" )
-
MAKEOPTS="${MAKEOPTS} -j1" #nowarn
pkg_setup() {
if ! use webkit && ! use gtkhtml
@@ -36,7 +35,7 @@ pkg_setup() {
}
src_prepare() {
- go-mono_src_prepare
+ base_src_prepare
# Stop getting ACLOCAL_FLAGS command not found problem like bug #298813
sed -i -e '/ACLOCAL_FLAGS/d' Makefile.am || die
@@ -49,5 +48,5 @@ src_configure() {
--disable-gecko \
$(use_enable gtkhtml) \
$(use_enable webkit) \
- --disable-monowebbrowser
+ --disable-monowebbrowser || die
}
diff --git a/dev-util/monodevelop/monodevelop-4.0.ebuild b/dev-util/monodevelop/monodevelop-4.0.ebuild
deleted file mode 100644
index 68f44dc..0000000
--- a/dev-util/monodevelop/monodevelop-4.0.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/monodevelop/monodevelop-4.0.ebuild Exp $
-
-EAPI=5
-inherit fdo-mime gnome2-utils mono versionator eutils
-
-DESCRIPTION="Integrated Development Environment for .NET"
-HOMEPAGE="http://www.monodevelop.com/"
-SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-#IT'S STABLE!
-KEYWORDS="amd64 x86"
-IUSE="+subversion +git"
-
-RDEPEND=">=dev-lang/mono-3.0.1
- >=dev-dotnet/gconf-sharp-2.24.0
- >=dev-dotnet/glade-sharp-2.12.9
- >=dev-dotnet/gnome-sharp-2.24.0
- >=dev-dotnet/gnomevfs-sharp-2.24.0
- >=dev-dotnet/gtk-sharp-2.12.9
- >=dev-dotnet/mono-addins-0.6[gtk]
- >=dev-dotnet/xsp-2
- dev-util/ctags
- sys-apps/dbus[X]
- >=virtual/monodoc-2.0
- || (
- www-client/firefox
- www-client/firefox-bin
- www-client/seamonkey
- )
- subversion? ( dev-vcs/subversion )
- !<dev-util/monodevelop-boo-$(get_version_component_range 1-2)
- !<dev-util/monodevelop-java-$(get_version_component_range 1-2)
- !<dev-util/monodevelop-database-$(get_version_component_range 1-2)
- !<dev-util/monodevelop-debugger-gdb-$(get_version_component_range 1-2)
- !<dev-util/monodevelop-debugger-mdb-$(get_version_component_range 1-2)
- !<dev-util/monodevelop-vala-$(get_version_component_range 1-2)"
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- sys-devel/gettext
- x11-misc/shared-mime-info"
-
-MAKEOPTS="${MAKEOPTS} -j1" #nowarn
-src_configure() {
- econf \
- --disable-update-mimedb \
- --disable-update-desktopdb \
- --enable-monoextensions \
- --enable-gnomeplatform \
- $(use_enable subversion) \
- $(use_enable git)
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
- fdo-mime_mime_database_update
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
- fdo-mime_mime_database_update
- fdo-mime_desktop_database_update
-}
diff --git a/eclass/go-mono-2.eclass b/eclass/go-mono-2.eclass
deleted file mode 100644
index 00c57bd..0000000
--- a/eclass/go-mono-2.eclass
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: go-mono.eclass
-# @MAINTAINERS:
-# heather@cynede.net
-# @BLURB: Common functionality for go-mono.org apps
-# @DESCRIPTION:
-# Common functionality needed by all go-mono.org apps.
-
-inherit base versionator mono autotools git-2
-
-PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
-
-GIT_PN="${PN/mono-debugger/debugger}"
-
-ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
-
-GO_MONO_SUB_BRANCH=${GO_MONO_SUB_BRANCH}
-
-if [[ "${PV}" == "9999" ]]
-then
- GO_MONO_P=${P}
- EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
- SRC_URI=""
-elif [[ "${PV%.9999}" != "${PV}" ]]
-then
- GO_MONO_P=${P}
- EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
- EGIT_BRANCH="mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}"
- SRC_URI=""
-else
- GO_MONO_P=${P}
- EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
- EGIT_BRANCH="master"
- EGIT_TAG="mono-${PN}"
- SRC_URI="" #S="${WORKDIR}/${PN}-${P}"
-fi
-
-NO_MONO_DEPEND=( "dev-lang/mono" "dev-dotnet/libgdiplus" "dev-dotnet/gluezilla" )
-
-if [[ "$(get_version_component_range 3)" != "9999" ]]
-then
- GO_MONO_REL_PV="$(get_version_component_range 1-2)"
-else
- GO_MONO_REL_PV="${PV}"
-fi
-
-if ! has "${CATEGORY}/${PN}" "${NO_MONO_DEPEND[@]}"
-then
- RDEPEND="dev-lang/mono" # = -${GO_MONO_REL_PV}*
- DEPEND="${RDEPEND}"
-fi
-
-DEPEND="${DEPEND}
- virtual/pkgconfig
- userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
-
-# @FUNCTION: go-mono-2_src_unpack
-# @DESCRIPTION: Runs default()
-go-mono-2_src_unpack() {
- default
- git-2_src_unpack
-}
-
-# @FUNCTION: go-mono-2_src_prepare
-# @DESCRIPTION: Runs autopatch from base.eclass, if PATCHES is set.
-go-mono-2_src_prepare() {
- base_src_prepare
- [[ "$EAUTOBOOTSTRAP" != "no" ]] && eautoreconf
-}
-
-# @FUNCTION: go-mono-2_src_configure
-# @DESCRIPTION:
-# Runs econf, disabling static libraries and dependency-tracking.
-go-mono-2_src_configure() {
- econf --disable-dependency-tracking \
- --disable-static \
- "$@"
-}
-
-# @FUNCTION: go-mono_src_compile
-# @DESCRIPTION:
-# Runs emake.
-go-mono-2_src_compile() {
- emake get-monolite-latest
- emake EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe "$@" || die "emake failed"
-}
-
-# @ECLASS-VARIABLE: DOCS
-# @DESCRIPTION:
-# Insert path of docs you want installed. If more than one,
-# consider using an array.
-
-# @FUNCTION: go-mono_src_install
-# @DESCRIPTION:
-# Rune emake, installs common doc files, if DOCS is
-# set, installs those. Gets rid of .la files.
-go-mono-2_src_install () {
- emake -j1 DESTDIR="${D}" "$@" install || die "install failed"
- mono_multilib_comply
- local commondoc=( AUTHORS ChangeLog README TODO )
- for docfile in "${commondoc[@]}"
- do
- [[ -e "${docfile}" ]] && dodoc "${docfile}"
- done
- if [[ "${DOCS[@]}" ]]
- then
- dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
- fi
- find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
-}
-
-EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install
diff --git a/eclass/go-mono.eclass b/eclass/go-mono.eclass
deleted file mode 100644
index 2c2629e..0000000
--- a/eclass/go-mono.eclass
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: go-mono.eclass
-# @MAINTAINERS:
-# heather@cynede.net, dotnet@gentoo.org
-# @BLURB: Common functionality for go-mono.org apps
-# @DESCRIPTION:
-# Common functionality needed by all go-mono.org apps.
-
-inherit base versionator mono
-
-PRE_URI="http://mono.ximian.com/monobuild/preview/sources"
-
-GIT_PN="${PN/mono-debugger/debugger}"
-
-ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/mono"
-
-GO_MONO_SUB_BRANCH=${GO_MONO_SUB_BRANCH}
-
-if [[ "${PV%_rc*}" != "${PV}" ]]
-then
- GO_MONO_P="${P%_rc*}"
- SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/${GO_MONO_P}"
-elif [[ "${PV%_pre*}" != "${PV}" ]]
-then
- GO_MONO_P="${P%_pre*}"
- SRC_URI="${PRE_URI}/${PN}/${GO_MONO_P}.tar.bz2 -> ${P}.tar.bz2"
- S="${WORKDIR}/${GO_MONO_P}"
-elif [[ "${PV}" == "9999" ]]
-then
- GO_MONO_P=${P}
- EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
- SRC_URI=""
- inherit autotools git-2
-elif [[ "${PV%.9999}" != "${PV}" ]]
-then
- GO_MONO_P=${P}
- EGIT_REPO_URI="http://github.com/mono/${GIT_PN}.git"
- EGIT_BRANCH="mono-$(get_version_component_range 1)-$(get_version_component_range 2)${GO_MONO_SUB_BRANCH}"
- SRC_URI=""
- inherit autotools git-2
-else
- GO_MONO_P=${P}
- SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
-fi
-
-NO_MONO_DEPEND=( "dev-lang/mono" "dev-dotnet/libgdiplus" "dev-dotnet/gluezilla" )
-
-if [[ "$(get_version_component_range 3)" != "9999" ]]
-then
- GO_MONO_REL_PV="$(get_version_component_range 1-2)"
-else
- GO_MONO_REL_PV="${PV}"
-fi
-
-if ! has "${CATEGORY}/${PN}" "${NO_MONO_DEPEND[@]}"
-then
- RDEPEND="dev-lang/mono" # = -${GO_MONO_REL_PV}*
- DEPEND="${RDEPEND}"
-fi
-
-DEPEND="${DEPEND}
- virtual/pkgconfig
- userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
-
-# @FUNCTION: go-mono_src_unpack
-# @DESCRIPTION: Runs default()
-go-mono_src_unpack() {
- if [[ "${PV%.9999}" != "${PV}" || "${PV}" == "9999" ]]
- then
- default
- git-2_src_unpack
- else
- default
- fi
-}
-
-# @FUNCTION: go-mono_src_prepare
-# @DESCRIPTION: Runs autopatch from base.eclass, if PATCHES is set.
-go-mono_src_prepare() {
- if [[ "${PV%.9999}" != "${PV}" || "${PV}" == "9999" ]]
- then
- base_src_prepare
- [[ "$EAUTOBOOTSTRAP" != "no" ]] && eautoreconf
- else
- base_src_prepare
- fi
-}
-
-# @FUNCTION: go-mono_src_configure
-# @DESCRIPTION:
-# Runs econf, disabling static libraries and dependency-tracking.
-go-mono_src_configure() {
- econf --disable-dependency-tracking \
- --disable-static \
- "$@"
-}
-
-# @FUNCTION: go-mono_src_compile
-# @DESCRIPTION:
-# Runs emake.
-go-mono_src_compile() {
- emake "$@" || die "emake failed"
-}
-
-# @ECLASS-VARIABLE: DOCS
-# @DESCRIPTION:
-# Insert path of docs you want installed. If more than one,
-# consider using an array.
-
-# @FUNCTION: go-mono_src_install
-# @DESCRIPTION:
-# Rune emake, installs common doc files, if DOCS is
-# set, installs those. Gets rid of .la files.
-go-mono_src_install () {
- emake -j1 DESTDIR="${D}" "$@" install || die "install failed"
- mono_multilib_comply
- local commondoc=( AUTHORS ChangeLog README TODO )
- for docfile in "${commondoc[@]}"
- do
- [[ -e "${docfile}" ]] && dodoc "${docfile}"
- done
- if [[ "${DOCS[@]}" ]]
- then
- dodoc "${DOCS[@]}" || die "dodoc DOCS failed"
- fi
- find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
-}
-
-EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install