diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-10-05 17:38:16 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2003-10-05 17:38:16 +0000 |
commit | 980c7a75fc8919edaf5bd9ce961fbced04295e17 (patch) | |
tree | 8180e6a1fa767e3e795e081649daf9f250f1932a /dev-lisp/gauche-gtk | |
parent | Fixes #30255. (diff) | |
download | gentoo-2-980c7a75fc8919edaf5bd9ce961fbced04295e17.tar.gz gentoo-2-980c7a75fc8919edaf5bd9ce961fbced04295e17.tar.bz2 gentoo-2-980c7a75fc8919edaf5bd9ce961fbced04295e17.zip |
Fixes #30255.
Diffstat (limited to 'dev-lisp/gauche-gtk')
-rw-r--r-- | dev-lisp/gauche-gtk/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/Manifest | 6 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3 | 1 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/files/gauche-gtk-0.3-gentoo.diff | 44 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/gauche-gtk-0.3.ebuild | 80 | ||||
-rw-r--r-- | dev-lisp/gauche-gtk/metadata.xml | 14 |
6 files changed, 151 insertions, 3 deletions
diff --git a/dev-lisp/gauche-gtk/ChangeLog b/dev-lisp/gauche-gtk/ChangeLog new file mode 100644 index 000000000000..71aa1a7136fb --- /dev/null +++ b/dev-lisp/gauche-gtk/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-lisp/gauche-gtk +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/ChangeLog,v 1.1 2003/10/05 17:38:10 karltk Exp $ + +*gauche-gtk-0.3 (05 Oct 2003) + + 05 Oct 2003; Karl Trygve Kalleberg <karltk@gentoo.org> gauche-gtk-0.3.ebuild: + Initial import. Ebuild submitted by Hattya <hattya@inter7.jp>. + Fixes #30255. diff --git a/dev-lisp/gauche-gtk/Manifest b/dev-lisp/gauche-gtk/Manifest index 6ed2fd12e65e..821c1f34d38b 100644 --- a/dev-lisp/gauche-gtk/Manifest +++ b/dev-lisp/gauche-gtk/Manifest @@ -1,5 +1,5 @@ -MD5 2c2ee087c88f46e20766ff3a021ce1ef gauche-gtk-0.3.ebuild 1294 -MD5 e664e197da833915da38e973e3df18fd ChangeLog 321 -MD5 a80570092c48733b975740eddedc8933 metadata.xml 410 +MD5 a64078c28096fa700b6835f2811d1a96 gauche-gtk-0.3.ebuild 1398 +MD5 ae08b3ba8ba3846fc938671f9149b086 ChangeLog 413 +MD5 775144440baf16a41d95240fa7288506 metadata.xml 412 MD5 2060b4408fb84f400ba4961c53e54b1c files/gauche-gtk-0.3-gentoo.diff 2109 MD5 6e4171b60649ff7156bd210fed6be749 files/digest-gauche-gtk-0.3 63 diff --git a/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3 b/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3 new file mode 100644 index 000000000000..8f82f65767c5 --- /dev/null +++ b/dev-lisp/gauche-gtk/files/digest-gauche-gtk-0.3 @@ -0,0 +1 @@ +MD5 c68b5db455256f75c7d3fdab44440074 Gauche-gtk-0.3.tgz 345889 diff --git a/dev-lisp/gauche-gtk/files/gauche-gtk-0.3-gentoo.diff b/dev-lisp/gauche-gtk/files/gauche-gtk-0.3-gentoo.diff new file mode 100644 index 000000000000..f438e5da0336 --- /dev/null +++ b/dev-lisp/gauche-gtk/files/gauche-gtk-0.3-gentoo.diff @@ -0,0 +1,44 @@ +diff -urN Gauche-gtk-0.3.orig/gtkgl/Makefile.in Gauche-gtk-0.3/gtkgl/Makefile.in +--- Gauche-gtk-0.3.orig/gtkgl/Makefile.in 2003-09-27 20:08:48.000000000 +0900 ++++ Gauche-gtk-0.3/gtkgl/Makefile.in 2003-09-27 20:11:33.000000000 +0900 +@@ -25,9 +25,9 @@ + GENERATED = gdkgllib.c gtkgllib.c + + INSTALL_TYPE = @INSTALL_TYPE@ +-HEADER_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)incdir` +-SCM_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir` +-ARCH_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)archdir` ++HEADER_INSTALL_DIR = ${DESTDIR}`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)incdir` ++SCM_INSTALL_DIR = ${DESTDIR}`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir` ++ARCH_INSTALL_DIR = ${DESTDIR}`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)archdir` + + all : $(TARGET) + +diff -urN Gauche-gtk-0.3.orig/lib/Makefile.in Gauche-gtk-0.3/lib/Makefile.in +--- Gauche-gtk-0.3.orig/lib/Makefile.in 2003-09-27 20:08:48.000000000 +0900 ++++ Gauche-gtk-0.3/lib/Makefile.in 2003-09-27 20:10:44.000000000 +0900 +@@ -4,7 +4,7 @@ + GAUCHE_CONFIG = @GAUCHE_CONFIG@ + INSTALL = @INSTALL@ + INSTALL_TYPE = @INSTALL_TYPE@ +-SCM_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir` ++SCM_INSTALL_DIR = ${DESTDIR}`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir` + + SCMFILES = gtk.scm gtk/gtkaux.scm gtk/gdkkeysyms.scm gtk/listener.scm \ + gtk/error-dialog.scm @GTKGL_SCM@ +diff -urN Gauche-gtk-0.3.orig/src/Makefile.in Gauche-gtk-0.3/src/Makefile.in +--- Gauche-gtk-0.3.orig/src/Makefile.in 2003-09-27 20:08:48.000000000 +0900 ++++ Gauche-gtk-0.3/src/Makefile.in 2003-09-27 20:10:14.000000000 +0900 +@@ -40,9 +40,9 @@ + TESTFILES = test-native test-native.o + + INSTALL_TYPE = @INSTALL_TYPE@ +-HEADER_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)incdir` +-SCM_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir` +-ARCH_INSTALL_DIR = `$(GAUCHE_CONFIG) --$(INSTALL_TYPE)archdir` ++HEADER_INSTALL_DIR = ${DESTDIR}`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)incdir` ++SCM_INSTALL_DIR = ${DESTDIR}`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)libdir` ++ARCH_INSTALL_DIR = ${DESTDIR}`$(GAUCHE_CONFIG) --$(INSTALL_TYPE)archdir` + + all : $(TARGET) + diff --git a/dev-lisp/gauche-gtk/gauche-gtk-0.3.ebuild b/dev-lisp/gauche-gtk/gauche-gtk-0.3.ebuild new file mode 100644 index 000000000000..e6ac3c2a86de --- /dev/null +++ b/dev-lisp/gauche-gtk/gauche-gtk-0.3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gauche-gtk/gauche-gtk-0.3.ebuild,v 1.1 2003/10/05 17:38:10 karltk Exp $ + +inherit eutils + +IUSE="opengl" + +MY_P="${P/g/G}" + +DESCRIPTION="GTK2 binding for Gauche" +HOMEPAGE="http://gauche.sf.net/" +SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz" + +LICENSE="BSD" +KEYWORDS="~x86" +SLOT="0" +S="${WORKDIR}/${MY_P}" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" +RDEPEND=">=x11-libs/gtk+-2 + >=dev-lisp/gauche-0.7 + opengl? ( >=x11-libs/gtkglext-0.6.0 )" + +src_unpack() { + + unpack ${A} + epatch ${FILESDIR}/${P}-gentoo.diff + +} + +src_compile() { + + local myconf myflags + + use opengl && myconf="--enable-gtkgl" + + + myflags=${CFLAGS} + unset CFLAGS CXXFLAGS + + econf ${myconf} || die + emake OPTFLAGS="${myflags}" || die + +} + +src_install () { + + dodir $(gauche-config --syslibdir) + dodir $(gauche-config --sysincdir) + dodir $(gauche-config --sysarchdir) + + make DESTDIR=${D} install || die + + dodoc ChangeLog README COPYING + + + docinto examples + for f in examples/*; do + [ -f ${f} ] && dodoc ${f} + done + + docinto examples/gtk-tutorial + dodoc examples/gtk-tutorial/* + + if use opengl; then + docinto examples/gtkglext + dodoc examples/gtkglext/* + fi + +} + +pkg_postinst() { + + if use opengl; then + einfo "If you want to use OpenGL with Gauche, please emerge Gauche-gl." + fi + +} diff --git a/dev-lisp/gauche-gtk/metadata.xml b/dev-lisp/gauche-gtk/metadata.xml new file mode 100644 index 000000000000..96128cec7b9d --- /dev/null +++ b/dev-lisp/gauche-gtk/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>karltk@gentoo.org</email> + <name>Karl Trygve Kalleberg</name> + <description>Temporary maintainer until a Lisp herd is created</description> +</maintainer> + +<longdescription> +Gauche extension module to use GTK. +</longdescription> +</pkgmetadata> |