summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2008-05-31 12:51:10 +0000
committerJurek Bartuszek <jurek@gentoo.org>2008-05-31 12:51:10 +0000
commit303b7ab5bb0b4c08ca7621f6173d02c08687f003 (patch)
treefb22649c37c0aa7de1050f038e26725d0d9e0d50 /dev-util/mono-tools
parentdev-util/monodoc: version bump (bug #213381) (diff)
downloadhistorical-303b7ab5bb0b4c08ca7621f6173d02c08687f003.tar.gz
historical-303b7ab5bb0b4c08ca7621f6173d02c08687f003.tar.bz2
historical-303b7ab5bb0b4c08ca7621f6173d02c08687f003.zip
dev-util/mono-tools: version bump (bug #213381)
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-util/mono-tools')
-rw-r--r--dev-util/mono-tools/ChangeLog8
-rw-r--r--dev-util/mono-tools/files/mono-tools-1.9-html-renderer-fixes.patch73
-rw-r--r--dev-util/mono-tools/mono-tools-1.9.ebuild66
3 files changed, 146 insertions, 1 deletions
diff --git a/dev-util/mono-tools/ChangeLog b/dev-util/mono-tools/ChangeLog
index 40e76d00148e..68d4d968101c 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-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.38 2008/03/12 14:11:38 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.39 2008/05/31 12:51:10 jurek Exp $
+
+*mono-tools-1.9 (31 May 2008)
+
+ 31 May 2008; Jurek Bartuszek <jurek@gentoo.org>
+ +files/mono-tools-1.9-html-renderer-fixes.patch, +mono-tools-1.9.ebuild:
+ Version bump (bug #213381)
12 Mar 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing Peter Johanson (latexer, #206688) from metadata.xml.
diff --git a/dev-util/mono-tools/files/mono-tools-1.9-html-renderer-fixes.patch b/dev-util/mono-tools/files/mono-tools-1.9-html-renderer-fixes.patch
new file mode 100644
index 000000000000..b54278cb7193
--- /dev/null
+++ b/dev-util/mono-tools/files/mono-tools-1.9-html-renderer-fixes.patch
@@ -0,0 +1,73 @@
+--- configure.in 2008-02-06 19:12:17.000000000 +0100
++++ configure.in.new 2008-03-20 14:37:13.000000000 +0100
+@@ -43,26 +43,39 @@
+ AC_SUBST(GTK_SHARP_LIBS)
+
+ 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"
+-else
+-PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-2.0, enable_gtkhtml=yes, enable_gtkhtml=no)
+-CSHARP_FLAGS=
++dnl PKG_CHECK_MODULES(GTKHTML_SHARP, gtkhtml-sharp-3.14, enable_gtkhtml=yes, enable_gtkhtml=no)
++dnl if test "x$enable_gtkhtml" = "xyes"; then
++dnl CSHARP_FLAGS="-d:GTKHTML_SHARP_3_14"
++dnl else
++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-2.0)
++
++ AC_SUBST(GTKHTML_SHARP_LIBS)
++ AC_SUBST(CSHARP_FLAGS)
+ fi
+-AC_SUBST(GTKHTML_SHARP_LIBS)
+-AC_SUBST(CSHARP_FLAGS)
+-AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "xyes")
++dnl 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")
++AM_CONDITIONAL(ENABLE_GTKHTML, test "x$enable_gtkhtml" = "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(mozilla,
++ AC_HELP_STRING([--enable-mozilla], [Use Gecko Browser]),,
++ 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
+
++AM_CONDITIONAL(ENABLE_GECKO, test "x$enable_gecko" = "xyes")
+
+ if test "x$enable_gtkhtml$enable_gecko" = "xnono" ; then
+ AC_MSG_ERROR([no HTML display found. You need either gtkhtml or gecko])
+
+--- docbrowser/monodoc.in 2008-03-10 23:34:01.000000000 +0100
++++ docbrowser/monodoc.in.new 2008-03-20 14:27:26.000000000 +0100
+@@ -85,8 +85,10 @@
+ MOZILLA_HOME=$MOZILLA_FIVE_HOME
+ elif [ $(which mozilla 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
+ MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
+-elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
+- MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)
++elif [ $(which firefox 2> /dev/null) ] && grep MOZILLA_LIBDIR= "$(which firefox)" > /dev/null ; then
++ MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which firefox) | cut -d '=' -f 2)
++elif [ $(which seamonkey 2> /dev/null) ] && grep MOZILLA_LIBDIR= "$(which seamonkey)" > /dev/null ; then
++ MOZILLA_HOME=$(grep MOZILLA_LIBDIR= $(which seamonkey) | cut -d '=' -f 2)
+ fi
+
+ if [ -n $LD_LIBRARY_PATH ]; then
diff --git a/dev-util/mono-tools/mono-tools-1.9.ebuild b/dev-util/mono-tools/mono-tools-1.9.ebuild
new file mode 100644
index 000000000000..c16853050354
--- /dev/null
+++ b/dev-util/mono-tools/mono-tools-1.9.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-1.9.ebuild,v 1.1 2008/05/31 12:51:10 jurek Exp $
+
+inherit mono multilib eutils
+
+DESCRIPTION="Set of useful Mono related utilities"
+HOMEPAGE="http://www.mono-project.com/"
+SRC_URI="http://www.go-mono.com/sources/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="gtkhtml seamonkey"
+
+RDEPEND=">=dev-lang/mono-1.0
+ >=dev-util/monodoc-${PV}
+ =dev-dotnet/gtk-sharp-2*
+ =dev-dotnet/glade-sharp-2*
+ =dev-dotnet/gconf-sharp-2*
+ gtkhtml? ( =dev-dotnet/gtkhtml-sharp-2* )
+ seamonkey? ( =dev-dotnet/gecko-sharp-0.11* )
+ !seamonkey? ( =dev-dotnet/gtkhtml-sharp-2* )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/pkgconfig-0.19"
+
+pkg_setup() {
+ if ! use gtkhtml && ! use seamonkey ; then
+ elog "No browser selected, defaulting to gtkhtml"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Install all our .dlls under $(libdir), not $(prefix)/lib
+ find "${S}" -name 'Makefile*' -exec \
+ sed -i -e "s:\$(prefix)/lib:\$(prefix)/$(get_libdir):g" \
+ -e "s:\${prefix}/lib:\${prefix}/$(get_libdir):g" \
+ {} \; \
+ || die "libdir fixup failed"
+
+ sed -i -e 's:$prefix/lib:@libdir@:' \
+ "${S}"/docbrowser/monodoc.in \
+ || die "sed failed"
+
+ epatch "${FILESDIR}/${P}-html-renderer-fixes.patch"
+}
+
+src_compile() {
+ local myconf="$(use_enable gtkhtml) $(use_enable seamonkey mozilla)"
+
+ if ! use gtktml && ! use seamonkey ; then
+ myconf="--enable-gtkhtml --disable-mozilla"
+ fi
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc ChangeLog README
+}