summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2010-10-10 05:04:47 +0000
committerAlistair Bush <ali_bush@gentoo.org>2010-10-10 05:04:47 +0000
commite53ba9430a32b828940bddef873bd82c84884b9a (patch)
tree06e0662837c85d76f276349ee9d06a6a6c5dd78f /dev-util
parentRemove old slotmove for x11-libs/openmotif, in order to prepare for package m... (diff)
downloadgentoo-2-e53ba9430a32b828940bddef873bd82c84884b9a.tar.gz
gentoo-2-e53ba9430a32b828940bddef873bd82c84884b9a.tar.bz2
gentoo-2-e53ba9430a32b828940bddef873bd82c84884b9a.zip
Version Bump.
(Portage version: 2.1.9.14/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/mono-tools/ChangeLog8
-rw-r--r--dev-util/mono-tools/files/mono-tools-2.8-html-renderer-fixes.patch111
-rw-r--r--dev-util/mono-tools/mono-tools-2.8.ebuild59
3 files changed, 177 insertions, 1 deletions
diff --git a/dev-util/mono-tools/ChangeLog b/dev-util/mono-tools/ChangeLog
index cc52335b44e9..d88e49a4fb0d 100644
--- a/dev-util/mono-tools/ChangeLog
+++ b/dev-util/mono-tools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/mono-tools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.74 2010/10/07 20:21:42 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.75 2010/10/10 05:04:47 ali_bush Exp $
+
+*mono-tools-2.8 (10 Oct 2010)
+
+ 10 Oct 2010; Alistair Bush <ali_bush@gentoo.org> +mono-tools-2.8.ebuild,
+ +files/mono-tools-2.8-html-renderer-fixes.patch:
+ Version Bump.
07 Oct 2010; Pacho Ramos <pacho@gentoo.org>
-files/mono-tools-1.1.17-html-renderer-fixes.diff,
diff --git a/dev-util/mono-tools/files/mono-tools-2.8-html-renderer-fixes.patch b/dev-util/mono-tools/files/mono-tools-2.8-html-renderer-fixes.patch
new file mode 100644
index 000000000000..1c079c11806e
--- /dev/null
+++ b/dev-util/mono-tools/files/mono-tools-2.8-html-renderer-fixes.patch
@@ -0,0 +1,111 @@
+--- configure.in.old 2010-10-09 16:52:09.859675267 +0200
++++ configure.in 2010-10-09 17:01:01.043434596 +0200
+@@ -62,50 +62,80 @@
+ AC_SUBST(GNOME_SHARP_LIBS)
+ AM_CONDITIONAL(ENABLE_GNOME, test "x$enable_gnome" = "xyes")
+
+-PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-3.14, enable_gtkhtml=yes, enable_gtkhtml=no)
+-if test "x$enable_gtkhtml" = "xyes"; then
+- CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14 $CSHARP_FLAGS"
+-else
+- PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-2.0, enable_gtkhtml=yes, enable_gtkhtml=no)
++AC_ARG_ENABLE(gtkhtml,
++ AC_HELP_STRING([--enable-gtkhtml], [Use GTKHTML Browser]),,
++ enable_gtkhtml=yes)
++
++if test "x$enable_gtkhtml" = "xyes" ; then
++ PKG_CHECK_MODULES([GTKHTML_SHARP],
++ [gtkhtml-sharp-3.14],
++ [CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14"],
++ [
++ PKG_CHECK_MODULES([GTKHTML_SHARP],
++ [gtkhtml-sharp-2.0],
++ [CSHARP_FLAGS=""],
++ [])
++ ]
++ )
++ AC_SUBST(GTKHTML_SHARP_LIBS)
++ AC_SUBST(CSHARP_FLAGS)
+ fi
+-AC_SUBST(GTKHTML_SHARP_LIBS)
++
+ AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "xyes")
+
+-AC_SUBST(CSHARP_FLAGS)
++AC_ARG_ENABLE(gecko,
++ AC_HELP_STRING([--enable-gecko], [Use Gecko / Xulrunner-1.8 browser libs]),,
++ enable_gecko=yes)
++
++if test "x$enable_gecko" = "xyes" ; then
++ PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp-2.0)
++
++ AC_SUBST(GECKO_SHARP_LIBS)
++
++ # get the mozilla home directory
++ MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
++ AC_SUBST(MOZILLA_HOME)
++fi
+
+-PKG_CHECK_MODULES(GECKO_SHARP, gecko-sharp-2.0, enable_gecko=yes, enable_gecko=no)
+-AC_SUBST(GECKO_SHARP_LIBS)
+ AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")
+
+-if test "x$enable_gecko" = "xyes"; then
+- # get the mozilla home directory
+- MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
+- AC_SUBST(MOZILLA_HOME)
++AC_ARG_ENABLE(webkit,
++ AC_HELP_STRING([--enable-webkit], [Use Webkit browser]),,
++ enable_webkit=yes)
++
++if test "x$enable_webkit" = "xyes" ; then
++ PKG_CHECK_MODULES(WEBKIT_SHARP, webkit-sharp-1.0)
++ AC_SUBST(WEBKIT_SHARP_LIBS)
+ fi
+
+-PKG_CHECK_MODULES(WEBKIT_SHARP, webkit-sharp-1.0, enable_webkit=yes, enable_webkit=no)
+-AC_SUBST(WEBKIT_SHARP_LIBS)
+ AM_CONDITIONAL(ENABLE_WEBKIT, test "x$enable_webkit" = "xyes")
+
+ # PKG_CHECK_MODULES(MONOWEBBROWSER, mono-webbrowser, enable_monowebbrowser=yes, enable_monowebbrowser=no)
+ # AC_SUBST(MONOWEBBROWSER_LIBS)
+
+-AC_MSG_CHECKING([for Mono.WebBrowser])
+-if test "x$GACUTIL" = "xno"
+-then
+- AC_MSG_RESULT([no])
+- if test "x$enable_monowebbrowser" = "x" ; then enable_monowebbrowser=no ; fi
+-else
+- if $GACUTIL -l Mono.WebBrowser | grep -q "Mono.WebBrowser"
++AC_ARG_ENABLE(monowebbrowser,
++ AC_HELP_STRING([--enable-monowebbrowser], [Use Mono.Webbrowser]),,
++ enable_monowebbrowser=yes)
++
++if test "x$enable_monowebbrowser" = "xyes" ; then
++ AC_MSG_CHECKING([for Mono.WebBrowser])
++ if test "x$GACUTIL" = "xno"
+ then
+- AC_MSG_RESULT([yes])
+- enable_monowebbrowser=yes
+- else
+ AC_MSG_RESULT([no])
+- enable_monowebbrowser=no
+- fi
++ if test "x$enable_monowebbrowser" = "x" ; then enable_monowebbrowser=no ; fi
++ else
++ if $GACUTIL -l Mono.WebBrowser | grep -q "Mono.WebBrowser"
++ then
++ AC_MSG_RESULT([yes])
++ enable_monowebbrowser=yes
++ MONOWEBBROWSER_LIBS=-r:Mono.WebBrowser
++ else
++ AC_MSG_RESULT([no])
++ enable_monowebbrowser=no
++ fi
++ fi
+ fi
+-MONOWEBBROWSER_LIBS=-r:Mono.WebBrowser
++
+ AM_CONDITIONAL(ENABLE_MONOWEBBROWSER, test "x$enable_monowebbrowser" = "xyes")
+
+ if test "x$enable_gtkhtml$enable_gecko$enable_monowebbrowser$enable_webkit" = "xnononono" ; then
diff --git a/dev-util/mono-tools/mono-tools-2.8.ebuild b/dev-util/mono-tools/mono-tools-2.8.ebuild
new file mode 100644
index 000000000000..00dd1ce73172
--- /dev/null
+++ b/dev-util/mono-tools/mono-tools-2.8.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-2.8.ebuild,v 1.1 2010/10/10 05:04:47 ali_bush Exp $
+
+EAPI=2
+
+inherit go-mono mono autotools
+
+DESCRIPTION="Set of useful Mono related utilities"
+HOMEPAGE="http://www.mono-project.com/"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="webkit gtkhtml +xulrunner"
+
+RDEPEND="=virtual/monodoc-${GO_MONO_REL_PV}*
+ >=dev-dotnet/gtk-sharp-2.12.6
+ >=dev-dotnet/glade-sharp-2.12.6
+ >=dev-dotnet/gconf-sharp-2
+ gtkhtml? ( >=dev-dotnet/gtkhtml-sharp-2.24.0 )
+ webkit? ( >=dev-dotnet/webkit-sharp-0.2-r1 )
+ xulrunner? ( >=dev-dotnet/gluezilla-2.6 )
+ "
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/pkgconfig-0.19"
+
+PATCHES=( "${FILESDIR}/${PN}-2.8-html-renderer-fixes.patch" )
+
+#Fails parallel make.
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+ if ! use webkit && ! use gtkhtml && ! use xulrunner
+ then
+ die "You must USE either webkit, gtkhtml or xulrunner"
+ fi
+}
+
+src_prepare() {
+ go-mono_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-dependency-tracking \
+ --disable-gecko \
+ $(use_enable gtkhtml) \
+ $(use_enable webkit) \
+ $(use_enable xulrunner monowebbrowser) \
+ || die "configure failed"
+}
+
+src_install() {
+ go-mono_src_install
+ # Defunct .desktop file, see bug 266694
+ find "${D}" -type f -name 'mprof-heap-viewer.desktop' -exec rm -f '{}' '+' || die "removal of mprof-heap-viewer.desktop failed"
+}