From 3e31b93ca850a507a6a63c6c5f090989d00596d0 Mon Sep 17 00:00:00 2001 From: Peter Alfredsen Date: Wed, 26 Nov 2008 22:23:41 +0000 Subject: Fix Novell bug 445370, spinbutton api change. (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc4 x86_64) --- dev-dotnet/gtk-sharp/ChangeLog | 9 +++- .../gtk-sharp-2.12.6-spinbutton-api-fix.patch | 10 ++++ dev-dotnet/gtk-sharp/gtk-sharp-2.12.6-r1.ebuild | 62 ++++++++++++++++++++++ dev-dotnet/gtk-sharp/gtk-sharp-2.12.6.ebuild | 57 -------------------- 4 files changed, 80 insertions(+), 58 deletions(-) create mode 100644 dev-dotnet/gtk-sharp/files/gtk-sharp-2.12.6-spinbutton-api-fix.patch create mode 100644 dev-dotnet/gtk-sharp/gtk-sharp-2.12.6-r1.ebuild delete mode 100644 dev-dotnet/gtk-sharp/gtk-sharp-2.12.6.ebuild (limited to 'dev-dotnet/gtk-sharp') diff --git a/dev-dotnet/gtk-sharp/ChangeLog b/dev-dotnet/gtk-sharp/ChangeLog index 718316bf69e5..17cb3246b7ff 100644 --- a/dev-dotnet/gtk-sharp/ChangeLog +++ b/dev-dotnet/gtk-sharp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-dotnet/gtk-sharp # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/ChangeLog,v 1.83 2008/11/25 00:22:05 loki_val Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/ChangeLog,v 1.84 2008/11/26 22:23:41 loki_val Exp $ + +*gtk-sharp-2.12.6-r1 (26 Nov 2008) + + 26 Nov 2008; Peter Alfredsen + +files/gtk-sharp-2.12.6-spinbutton-api-fix.patch, + -gtk-sharp-2.12.6.ebuild, +gtk-sharp-2.12.6-r1.ebuild: + Fix Novell bug 445370, spinbutton api change. 25 Nov 2008; Peter Alfredsen files/gtk-sharp-2.12.0-noautomagic.patch, diff --git a/dev-dotnet/gtk-sharp/files/gtk-sharp-2.12.6-spinbutton-api-fix.patch b/dev-dotnet/gtk-sharp/files/gtk-sharp-2.12.6-spinbutton-api-fix.patch new file mode 100644 index 000000000000..399a4e237610 --- /dev/null +++ b/dev-dotnet/gtk-sharp/files/gtk-sharp-2.12.6-spinbutton-api-fix.patch @@ -0,0 +1,10 @@ +--- trunk/gtk-sharp/gtk/Gtk.metadata 2008/11/15 20:36:23 118943 ++++ trunk/gtk-sharp/gtk/Gtk.metadata 2008/11/15 22:38:07 118944 +@@ -559,6 +559,7 @@ + 1 + GtkWidget* + 1 ++ true + out + out + SetStock diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6-r1.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6-r1.ebuild new file mode 100644 index 000000000000..38885201e0e8 --- /dev/null +++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6-r1.ebuild,v 1.1 2008/11/26 22:23:41 loki_val Exp $ + +EAPI="2" + +inherit eutils mono autotools + +DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries" +HOMEPAGE="http://gtk-sharp.sourceforge.net/" +SRC_URI="mirror://gnome/sources/${PN}/${PV%.*}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="+glade doc" + +RDEPEND=">=dev-lang/mono-1.1.9 + glade? ( >=gnome-base/libglade-2.3.6 ) + >=x11-libs/gtk+-2.12 + !dev-dotnet/glade-sharp" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.19 + doc? ( >=dev-util/monodoc-1.1.8 )" + +RESTRICT="test" + +src_prepare() { + + #Upstream: https://bugzilla.novell.com/show_bug.cgi?id=$bugno + + # Upstream bug #421063 + epatch "${FILESDIR}/${PN}-2.12.0-parallelmake.patch" + epatch "${FILESDIR}/${PN}-2.12.0-doc-parallelmake.patch" + # Upstream bug #443180 + epatch "${FILESDIR}/${PN}-2.12.0-noautomagic.patch" + + # Upstream bug #443175 + sed -i -e ':^CFLAGS=:d' "${S}/configure.in" + + # Upstream bug 445370 + epatch "${FILESDIR}/${P}-spinbutton-api-fix.patch" + + # disable building of samples (#16015) + sed -i -e "s:sample::" Makefile.am + + eautoreconf +} + +src_configure() { + econf $(use_enable doc monodoc) $(use_enable glade) || die "configure failed" +} + +src_compile() { + LANG=C emake || die +} + +src_install () { + emake DESTDIR="${D}" install || die + + dodoc README* ChangeLog +} diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6.ebuild deleted file mode 100644 index 225756f6f22b..000000000000 --- a/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/gtk-sharp/gtk-sharp-2.12.6.ebuild,v 1.3 2008/11/25 00:22:05 loki_val Exp $ - -EAPI="2" - -inherit eutils mono autotools - -DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries" -HOMEPAGE="http://gtk-sharp.sourceforge.net/" -SRC_URI="mirror://gnome/sources/${PN}/${PV%.*}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="2" -KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" -IUSE="+glade doc" - -RDEPEND=">=dev-lang/mono-1.1.9 - glade? ( >=gnome-base/libglade-2.3.6 ) - >=x11-libs/gtk+-2.12 - !dev-dotnet/glade-sharp" -DEPEND="${RDEPEND} - >=dev-util/pkgconfig-0.19 - doc? ( >=dev-util/monodoc-1.1.8 )" - -RESTRICT="test" - -src_prepare() { - - # Upstream bug #421063 - epatch "${FILESDIR}/${PN}-2.12.0-parallelmake.patch" - epatch "${FILESDIR}/${PN}-2.12.0-doc-parallelmake.patch" - # Upstream bug #443180 - epatch "${FILESDIR}/${PN}-2.12.0-noautomagic.patch" - - # Upstream bug #443175 - sed -i -e ':^CFLAGS=:d' "${S}/configure.in" - - # disable building of samples (#16015) - sed -i -e "s:sample::" Makefile.am - - eautoreconf -} - -src_configure() { - econf $(use_enable doc monodoc) $(use_enable glade) || die "configure failed" -} - -src_compile() { - LANG=C emake || die -} - -src_install () { - emake DESTDIR="${D}" install || die - - dodoc README* ChangeLog -} -- cgit v1.2.3-65-gdbad