diff options
author | 2010-07-03 18:11:35 +0000 | |
---|---|---|
committer | 2010-07-03 18:11:35 +0000 | |
commit | 2197b9a0edcf13f2ab732f58ff2f18b777f1b490 (patch) | |
tree | 6390d3066682d93ac4fad50c6186c3c71ead70f2 /dev-dotnet/gnome-keyring-sharp | |
parent | need newer autoconf-wrapper (diff) | |
download | gentoo-2-2197b9a0edcf13f2ab732f58ff2f18b777f1b490.tar.gz gentoo-2-2197b9a0edcf13f2ab732f58ff2f18b777f1b490.tar.bz2 gentoo-2-2197b9a0edcf13f2ab732f58ff2f18b777f1b490.zip |
Revision bump applying debian patch to support Gnome 2.30
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-dotnet/gnome-keyring-sharp')
3 files changed, 100 insertions, 2 deletions
diff --git a/dev-dotnet/gnome-keyring-sharp/ChangeLog b/dev-dotnet/gnome-keyring-sharp/ChangeLog index b74ca4545b66..59cc0bfcd967 100644 --- a/dev-dotnet/gnome-keyring-sharp/ChangeLog +++ b/dev-dotnet/gnome-keyring-sharp/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-dotnet/gnome-keyring-sharp -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gnome-keyring-sharp/ChangeLog,v 1.4 2009/01/24 01:20:16 loki_val Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gnome-keyring-sharp/ChangeLog,v 1.5 2010/07/03 18:11:35 pacho Exp $ + +*gnome-keyring-sharp-1.0.0-r2 (03 Jul 2010) + + 03 Jul 2010; Pacho Ramos <pacho@gentoo.org> + +gnome-keyring-sharp-1.0.0-r2.ebuild, + +files/gnome-keyring-sharp-1.0.0-monodoc-r1.patch: + Revision bump applying debian patch to support Gnome 2.30, also adapt + monodoc patch to this new situation. *gnome-keyring-sharp-1.0.0-r1 (24 Jan 2009) diff --git a/dev-dotnet/gnome-keyring-sharp/files/gnome-keyring-sharp-1.0.0-monodoc-r1.patch b/dev-dotnet/gnome-keyring-sharp/files/gnome-keyring-sharp-1.0.0-monodoc-r1.patch new file mode 100644 index 000000000000..8c11e2b8c1b2 --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/files/gnome-keyring-sharp-1.0.0-monodoc-r1.patch @@ -0,0 +1,36 @@ +--- configure.ac.orig 2010-07-03 19:43:46.000000000 +0200 ++++ configure.ac 2010-07-03 19:45:59.000000000 +0200 +@@ -58,14 +58,25 @@ + AC_SUBST(GNOME_KEYRING_CFLAGS) + AC_SUBST(GNOME_KEYRING_LIBS) + +-AC_PATH_PROG(MDASSEMBLER, mdassembler, no) +-AC_PATH_PROG(MONODOCER, monodocer, no) +-if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then +- enable_monodoc=no +- doc_sources_dir= +-else +- enable_monodoc=yes +- doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`" ++AC_ARG_ENABLE(monodoc, ++ [AC_HELP_STRING([--enable-monodoc],[install monodoc documents default: yes])], ++ [ENABLE_MONODOC="$enableval"]) ++ ++if test "x$ENABLE_MONODOC" != "xno" ; then ++ AC_PATH_PROG(MDASSEMBLER, mdassembler, no) ++ AC_PATH_PROG(MONODOCER, monodocer, no) ++ ++ if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then ++ if test "x$ENABLE_MONODOC" = "xyes" ; then ++ AC_MSG_ERROR([monodoc can't be installed even though it was explicitly enabled. mdassembler or monodocer not found.]) ++ else ++ enable_monodoc=no ++ doc_sources_dir= ++ fi ++ else ++ enable_monodoc=yes ++ doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`" ++ fi + fi + + AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes") diff --git a/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.0-r2.ebuild b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.0-r2.ebuild new file mode 100644 index 000000000000..8a54fe6b14d0 --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.0-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.0-r2.ebuild,v 1.1 2010/07/03 18:11:35 pacho Exp $ + +EAPI=2 + +inherit mono eutils autotools + +DESCRIPTION="C# implementation of gnome-keyring" +HOMEPAGE="http://www.mono-project.com/" +SRC_URI="http://ftp.novell.com/pub/mono/sources/${PN}/${P}.tar.bz2 + mirror://gentoo/${P}-gnome230.patch.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=">=dev-lang/mono-2.0 + || ( gnome-base/libgnome-keyring <gnome-base/gnome-keyring-2.29.4 ) + dev-dotnet/glib-sharp + doc? ( virtual/monodoc )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + # https://bugzilla.novell.com/show_bug.cgi?id=589166 + epatch "${WORKDIR}/${P}-gnome230.patch" + + # https://bugzilla.novell.com/show_bug.cgi?id=469141 + epatch "${FILESDIR}/${P}-monodoc-r1.patch" + + eautoreconf + + # Disable building samples. + sed -i -e 's:sample::' "${S}"/Makefile.in || die "sed failed" +} + +src_configure() { + econf $(use_enable doc monodoc) || die "econf failed" +} + +src_compile() { + # This dies without telling in docs with anything not -j1 + # CSC=gmcs needed for http://bugs.gentoo.org/show_bug.cgi?id=250069 + emake -j1 CSC=gmcs || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog README + mono_multilib_comply + find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" +} |