summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-05-08 13:26:59 +0000
committerMarinus Schraal <foser@gentoo.org>2003-05-08 13:26:59 +0000
commit8f409f89c7c16991127da168b52c8b023e76ff5c (patch)
tree21e78144a992f4c9838e3f0a93c236168baf5361 /x11-libs/gtk-sharp
parentForgot one file... (diff)
downloadgentoo-2-8f409f89c7c16991127da168b52c8b023e76ff5c.tar.gz
gentoo-2-8f409f89c7c16991127da168b52c8b023e76ff5c.tar.bz2
gentoo-2-8f409f89c7c16991127da168b52c8b023e76ff5c.zip
New version 'n cleanup
Diffstat (limited to 'x11-libs/gtk-sharp')
-rw-r--r--x11-libs/gtk-sharp/ChangeLog7
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r11
-rw-r--r--x11-libs/gtk-sharp/files/digest-gtk-sharp-0.91
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild58
-rw-r--r--x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild75
5 files changed, 82 insertions, 60 deletions
diff --git a/x11-libs/gtk-sharp/ChangeLog b/x11-libs/gtk-sharp/ChangeLog
index 2b40a7b880ac..b0c95cfb7a81 100644
--- a/x11-libs/gtk-sharp/ChangeLog
+++ b/x11-libs/gtk-sharp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/gtk-sharp
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/ChangeLog,v 1.2 2003/04/22 10:26:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/ChangeLog,v 1.3 2003/05/08 13:26:59 foser Exp $
+
+*gtk-sharp-0.9 (08 May 2003)
+
+ 08 May 2003; foser <foser@gentoo.org> gtk-sharp-0.9.ebuild :
+ New version, removed switches they were useless, added local gnomedb useflag
*gtk-sharp-0.8 (24 Feb 2003)
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r1 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r1
deleted file mode 100644
index 072edb4a1e56..000000000000
--- a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.7-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 54237554ced8f772ab2b5e35c6200dde gtk-sharp-0.7.tar.gz 504357
diff --git a/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.9 b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.9
new file mode 100644
index 000000000000..17e9b5556604
--- /dev/null
+++ b/x11-libs/gtk-sharp/files/digest-gtk-sharp-0.9
@@ -0,0 +1 @@
+MD5 46c44338f81e16f8d0155276d6dfed0b gtk-sharp-0.9.tar.gz 858662
diff --git a/x11-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild
deleted file mode 100644
index bf8bed94556b..000000000000
--- a/x11-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.7-r1.ebuild,v 1.2 2003/02/28 16:55:00 liquidx 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-2.1"
-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_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"
-
- use gnome \
- && myconf="${myconf} --enable-gnome" \
- || myconf="${myconf} --disable-gnome"
-
- # disable samples
- ./autogen.sh
-
- 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/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild b/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild
new file mode 100644
index 000000000000..42d8a8e6e58a
--- /dev/null
+++ b/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk-sharp/gtk-sharp-0.9.ebuild,v 1.1 2003/05/08 13:26:59 foser Exp $
+
+# WARNING
+# All gst-sharp hacks done in this build are nonfunctional
+# Do not try to use them, they don't work. Not for me, not for anybody.
+# They're just here for future reference
+#
+# foser <foser@gentoo.org>
+
+inherit eutils mono
+
+DESCRIPTION="Gtk# is a C# language binding for the GTK2 toolkit and GNOME libraries"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://gtk-sharp.sourceforge.net/"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="gnome gnomedb"
+
+# since mono and gtk-sharp get released together, we follow the mono version
+DEPEND=">=dev-lang/mono-0.24
+ >=x11-libs/gtk+-2
+ >=gnome-base/libglade-2
+ gnome? ( >=gnome-base/libgnomecanvas-2
+ >=gnome-base/libgnomeui-2 )
+ gnomedb? ( >=gnome-extra/libgnomedb-0.11 )"
+
+KEYWORDS="~x86 -ppc"
+
+src_unpack() {
+ unpack ${A}
+
+ # disable building of samples (#16015)
+ cd ${S}
+ mv Makefile.in Makefile.in.old
+ sed -e "s:sample::" Makefile.in.old > Makefile.in
+ mv configure.in configure.in.old
+ sed -e "s:sample/Makefile::" -e "s:sample/rsvg/Makefile::" configure.in.old > configure.in
+
+ # patch gst-sharp stuff
+ # epatch ${FILESDIR}/${P}-gst_sharp.patch
+}
+
+src_compile() {
+ # configure switches do not work
+
+ # disable samples
+ ./autogen.sh
+
+ econf || die "./configure failed"
+
+ emake || die
+
+ # gst-sharp hacks
+ # cd ${S}/gst/
+ # epatch ${FILESDIR}/${P}-generated_fix.patch
+ # rm gst-sharp.dll
+ # make || die "Died making gst-sharp bindings"
+}
+
+src_install () {
+ # Path for the installation of the libs is hardcoded in the Makefile,
+ # so we need to change it - Is being changed, check every release
+ for i in $(find . -iname Makefile); do cp $i ${i}.orig; sed "s:${DESTDIR}/usr:${D}/usr:" $i.orig > $i; done
+
+ einstall || die
+
+ # gst-sharp install
+ # cd ${S}/gst/
+ # make install || die "Gst-sharp install failed"
+
+ dodoc HACKING README* ChangeLog
+}