diff options
author | Marinus Schraal <foser@gentoo.org> | 2003-02-20 16:53:33 +0000 |
---|---|---|
committer | Marinus Schraal <foser@gentoo.org> | 2003-02-20 16:53:33 +0000 |
commit | 919fe26b546781f66099d4bc83df057e33c8eea7 (patch) | |
tree | a51c8b50383f251f5ef6b4b790bd70afe25f1ff9 /dev-libs | |
parent | Version bump (diff) | |
download | gentoo-2-919fe26b546781f66099d4bc83df057e33c8eea7.tar.gz gentoo-2-919fe26b546781f66099d4bc83df057e33c8eea7.tar.bz2 gentoo-2-919fe26b546781f66099d4bc83df057e33c8eea7.zip |
possible fix added
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/gtk-sharp/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r1 | 1 | ||||
-rw-r--r-- | dev-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild | 17 |
4 files changed, 67 insertions, 3 deletions
diff --git a/dev-libs/gtk-sharp/ChangeLog b/dev-libs/gtk-sharp/ChangeLog index 73a3dd76714e..ba25d0416de4 100644 --- a/dev-libs/gtk-sharp/ChangeLog +++ b/dev-libs/gtk-sharp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/gtk-sharp # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/ChangeLog,v 1.5 2003/02/12 06:04:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/ChangeLog,v 1.6 2003/02/20 16:53:33 foser Exp $ + +*gtk-sharp-0.7-r1 (20 Feb 2003) + + 20 Feb 2003; foser <foser@gentoo.org> gtk-sharp-0.7-r1.ebuild : + Revision bump to fix problems mentioned in #16015 *gtk-sharp-0.7 (24 Jan 2003) diff --git a/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r1 b/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r1 new file mode 100644 index 000000000000..072edb4a1e56 --- /dev/null +++ b/dev-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r1 @@ -0,0 +1 @@ +MD5 54237554ced8f772ab2b5e35c6200dde gtk-sharp-0.7.tar.gz 504357 diff --git a/dev-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild b/dev-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild new file mode 100644 index 000000000000..598d552fed2c --- /dev/null +++ b/dev-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild,v 1.1 2003/02/20 16:53:33 foser Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://gtk-sharp.sourceforge.net/" + +LICENSE="LGPL" +SLOT="0" +IUSE="gnome" + +DEPEND=">=dev-lang/mono-0.16 + >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 + gnome? ( >=gnome-base/libgnomecanvas-2 + >=gnome-base/libgnomeui-2 )" + +KEYWORDS="~x86 -ppc" + +src_compile() { + + local myconf + myconf="--enable-glade" + + use gnome \ + && myconf="${myconf} --enable-gnome" \ + || myconf="${myconf} --disable-gnome" + + econf ${myconf} || die "./configure failed" + + # mcs wants this during build + addwrite ~/.wapi + emake || die +} + +src_install () { + # Path for the installation of the libs is hardcoded in the Makefile, + # so we need to change it - Is being changed, check evry release + for i in $(find . -iname Makefile); do cp $i ${i}.orig; sed "s:${DESTDIR}/usr:${D}/usr:" $i.orig > $i; done + + einstall || die + dodoc HACKING README* ChangeLog +} diff --git a/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild b/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild index ebd03272abeb..c4d2aee77b8f 100644 --- a/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild +++ b/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild,v 1.2 2003/02/13 10:39:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gtk-sharp/gtk-sharp-0.7.ebuild,v 1.3 2003/02/20 16:53:33 foser Exp $ S=${WORKDIR}/${P} DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit." @@ -19,8 +19,18 @@ DEPEND=">=dev-lang/mono-0.16 KEYWORDS="~x86 -ppc" -src_compile() { +src_unpack() { + unpack ${A} + + # disable building of samples (#16015) + cd ${S} + mv makefile makefile.old + sed -e "s:sample::" makefile.old > makefile + mv configure.in configure.in.old + sed -e "s:sample/Makefile::" configure.in.old > configure.in +} +src_compile() { local myconf myconf="--enable-glade" @@ -28,6 +38,9 @@ src_compile() { && myconf="${myconf} --enable-gnome" \ || myconf="${myconf} --disable-gnome" + # disable samples + ./autogen.sh + econf ${myconf} || die "./configure failed" # mcs wants this during build |