From bfb6783f72bfb281223f7ab2fab8149f63860fc5 Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Wed, 26 Nov 2008 21:17:17 +0000 Subject: Fix documentation generation, bug 248944. (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc4 x86_64) --- dev-dotnet/notify-sharp/ChangeLog | 7 +++++- ...tify-sharp-0.4.0_pre20080912-control-docs.patch | 28 ++++++++++++++++++++++ .../notify-sharp-0.4.0_pre20080912.ebuild | 14 +++++++---- 3 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch (limited to 'dev-dotnet/notify-sharp') diff --git a/dev-dotnet/notify-sharp/ChangeLog b/dev-dotnet/notify-sharp/ChangeLog index 574d1b14dcf7..c94d5d92b0d2 100644 --- a/dev-dotnet/notify-sharp/ChangeLog +++ b/dev-dotnet/notify-sharp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-dotnet/notify-sharp # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/notify-sharp/ChangeLog,v 1.1 2008/11/25 14:22:25 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/notify-sharp/ChangeLog,v 1.2 2008/11/26 21:17:17 loki_val Exp $ + + 26 Nov 2008; Peter Alfredsen + +files/notify-sharp-0.4.0_pre20080912-control-docs.patch, + notify-sharp-0.4.0_pre20080912.ebuild: + Fix documentation generation, bug 248944. *notify-sharp-0.4.0_pre20080912 (25 Nov 2008) diff --git a/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch new file mode 100644 index 000000000000..44ff05881fb4 --- /dev/null +++ b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch @@ -0,0 +1,28 @@ +diff -NrU5 notify-sharp-20080912.orig/configure.ac notify-sharp-20080912/configure.ac +--- notify-sharp-20080912.orig/configure.ac 2008-11-26 21:56:02.000000000 +0100 ++++ notify-sharp-20080912/configure.ac 2008-11-26 22:01:08.000000000 +0100 +@@ -34,16 +34,21 @@ + if test "x$GACUTIL" = "xno"; then + AC_MSG_ERROR([You need to install gacutil]) + fi + AC_SUBST(GACUTIL) + +-AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs], +- [Do not build documentation]), with_docs=no, with_docs=yes) ++AC_ARG_ENABLE( [docs], ++ [AC_HELP_STRING( [--enable/disable-docs], ++ [Do (not) build documentation (default=yes)] ++ )], ++ [], ++ [enable_docs=yes] ++) + + MONODOC_REQ_VERSION=1.1.18 + +-if test "x$with_docs" = "xyes"; then ++if test "x$enable_docs" = "xyes"; then + PKG_CHECK_MODULES(MONODOC, monodoc >= $MONODOC_REQ_VERSION,, + [AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation])]) + AC_PATH_PROG(MONODOCER, monodocer, no) + if test "x$MONODOCER" = "xno"; then + AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation]) diff --git a/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20080912.ebuild b/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20080912.ebuild index a7c8fb4b271f..67da99f38e0b 100644 --- a/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20080912.ebuild +++ b/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20080912.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20080912.ebuild,v 1.1 2008/11/25 14:22:25 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/notify-sharp/notify-sharp-0.4.0_pre20080912.ebuild,v 1.2 2008/11/26 21:17:17 loki_val Exp $ EAPI=2 @@ -10,28 +10,34 @@ MY_P=${PN}-${PV#*_pre} DESCRIPTION="notify-sharp is a C# client implementation for Desktop Notifications" HOMEPAGE="http://www.ndesk.org/NotifySharp" -SRC_URI="http://cvs.fedora.redhat.com/repo/pkgs/${PN}/${MY_P}.tar.bz2/098f3cde158cf26d3efedbfcc19c70dd/${MY_P}.tar.bz2" +SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" +#http://cvs.fedora.redhat.com/repo/pkgs/${PN}/${MY_P}.tar.bz2/098f3cde158cf26d3efedbfcc19c70dd/${MY_P}.tar.bz2 LICENSE="as-is" SLOT="0" KEYWORDS="~x86 ~amd64" -IUSE="" +IUSE="doc" RDEPEND=">=dev-lang/mono-1.1.13 >=dev-dotnet/gtk-sharp-2.10.1 >=dev-dotnet/dbus-sharp-0.6 >=dev-dotnet/dbus-glib-sharp-0.4" DEPEND="${RDEPEND} - dev-util/monodoc" + doc? ( dev-util/monodoc )" S=${WORKDIR}/${MY_P} MAKEOPTS="${MAKEOPTS} -j1" src_prepare() { + epatch "${FILESDIR}/${P}-control-docs.patch" eautoreconf } +src_configure() { + econf $(use_enable doc docs) +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed" } -- cgit v1.2.3-65-gdbad