# ChangeLog for dev-scheme/gauche-gl
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.6 2006/07/03 16:14:56 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.7 2006/12/01 13:53:07 hattya Exp $
+
+*gauche-gl-0.4.2 (01 Dec 2006)
+
+ 01 Dec 2006; Akinori Hattori <hattya@gentoo.org>
+ +files/gauche-gl-prototypes.diff, gauche-gl-0.4.1.ebuild,
+ +gauche-gl-0.4.2.ebuild:
+ new upstream release.
03 Jul 2006; Akinori Hattori <hattya@gentoo.org> gauche-gl-0.4.1.ebuild:
fixes bug #128592
+AUX gauche-gl-prototypes.diff 369 RMD160 ff945f93da6b26f132716e1202fa3797f52431f6 SHA1 5b4c0a2ac38f3df6f5179756facbe91c8fc82520 SHA256 e1e11f7936ae2e5dd01dc1c52041817d718635f0508b868df48961dcf285c248
+MD5 10490319d0164609795ce3169c2dcc1b files/gauche-gl-prototypes.diff 369
+RMD160 ff945f93da6b26f132716e1202fa3797f52431f6 files/gauche-gl-prototypes.diff 369
+SHA256 e1e11f7936ae2e5dd01dc1c52041817d718635f0508b868df48961dcf285c248 files/gauche-gl-prototypes.diff 369
DIST Gauche-gl-0.4.1.tgz 940134 RMD160 7858d9a277360415bedb3d1e48a8a821828e52d7 SHA1 1629d0a07c8ae1d41567fd1b747965916630b73e SHA256 e4350d5d0e53374306e84af772724ebbaa34ec2d47950f16dbe069c4fa1d4d04
-EBUILD gauche-gl-0.4.1.ebuild 1269 RMD160 03ebbd4d58a4f45d4b0112f419fdb838986b9dcc SHA1 b990f93f752e30677c73c3fc97afa346ff3069f2 SHA256 b9020e42a310eb5e4f0839bd18ee1d482825bbaae2cc48d9df19fbb0d9d4941a
-MD5 4c05a8a6a60a39f2b05c9989a9039b01 gauche-gl-0.4.1.ebuild 1269
-RMD160 03ebbd4d58a4f45d4b0112f419fdb838986b9dcc gauche-gl-0.4.1.ebuild 1269
-SHA256 b9020e42a310eb5e4f0839bd18ee1d482825bbaae2cc48d9df19fbb0d9d4941a gauche-gl-0.4.1.ebuild 1269
-MISC ChangeLog 1888 RMD160 0cb74a1e1235e0a23cd0a14df5f9586c97bd93e8 SHA1 c699d83776d72700a45c8714e74456e2f57919c4 SHA256 878b3418bb7f5c4717cb8f9adea59776ae2e52dd5e4dcfad9c634d0df733936f
-MD5 3c751f74379109e67d6eae712f9de610 ChangeLog 1888
-RMD160 0cb74a1e1235e0a23cd0a14df5f9586c97bd93e8 ChangeLog 1888
-SHA256 878b3418bb7f5c4717cb8f9adea59776ae2e52dd5e4dcfad9c634d0df733936f ChangeLog 1888
+DIST Gauche-gl-0.4.2.tgz 942251 RMD160 8e730d81c21ee1bba273d79c7c2d9afe2c181072 SHA1 71e326399f040750fa9066236e3fbe2f4fb611be SHA256 947dd946c7e6837f5825214e89e69f3c2e1ef5b49ad3a27974aa7df7c937cb97
+EBUILD gauche-gl-0.4.1.ebuild 1267 RMD160 be24a9d106a68f7aeaac3caf6ec60ec3b293fada SHA1 dfb7b568c514c9310418415ecb621110e0e3a64f SHA256 50941fbbaa9e3741da43a1d37f876b237e14a793923f447c795fc425c86a083c
+MD5 73eaecc198b8f1ae3b965884d94eef0e gauche-gl-0.4.1.ebuild 1267
+RMD160 be24a9d106a68f7aeaac3caf6ec60ec3b293fada gauche-gl-0.4.1.ebuild 1267
+SHA256 50941fbbaa9e3741da43a1d37f876b237e14a793923f447c795fc425c86a083c gauche-gl-0.4.1.ebuild 1267
+EBUILD gauche-gl-0.4.2.ebuild 1323 RMD160 a452df57df0be2e27667a1f499d98e04a6a3dd8c SHA1 5b6a35a92fa4cb1052e366cf4ac316639dab1b18 SHA256 00cc11de9bf409b7ceedd7e8574ccb5e05600ccf2a39fcdbe9979e023a7acd2a
+MD5 8438d02ab4a2a65a48bbd2994f7485bd gauche-gl-0.4.2.ebuild 1323
+RMD160 a452df57df0be2e27667a1f499d98e04a6a3dd8c gauche-gl-0.4.2.ebuild 1323
+SHA256 00cc11de9bf409b7ceedd7e8574ccb5e05600ccf2a39fcdbe9979e023a7acd2a gauche-gl-0.4.2.ebuild 1323
+MISC ChangeLog 2083 RMD160 05314c001425da3565e3510aca1a57710217167a SHA1 537aefab64bb7980c022b446f034b1c9d9b1172d SHA256 23ecee9c071c6553e201dc1f9871aa0d1109753c6fd150514d76005a5bf44316
+MD5 931167d875a72063a33b6218b3936b4d ChangeLog 2083
+RMD160 05314c001425da3565e3510aca1a57710217167a ChangeLog 2083
+SHA256 23ecee9c071c6553e201dc1f9871aa0d1109753c6fd150514d76005a5bf44316 ChangeLog 2083
MISC metadata.xml 301 RMD160 01e2dc89df5c8e4cc0e692a33174f3872150f80e SHA1 31a284b187daef759063693edabfaaacad5c0d5e SHA256 20ebcfefc548f8f55d886435fc710abc056b16037965887ade64757c9d443ffb
MD5 a16d01230180c4303bbf845fbd67e7bc metadata.xml 301
RMD160 01e2dc89df5c8e4cc0e692a33174f3872150f80e metadata.xml 301
MD5 c0d81d1ac8927aef3833926e9b446df8 files/digest-gauche-gl-0.4.1 238
RMD160 78f49663d766bb8ef8c9a891167a59fd5dd00c98 files/digest-gauche-gl-0.4.1 238
SHA256 df9d802a7cd86725ea62bee36a7fae89d92ea42e652494782ead3ad152db75f9 files/digest-gauche-gl-0.4.1 238
+MD5 edbb8cc332a71d7a39317faa1cb2a9ec files/digest-gauche-gl-0.4.2 238
+RMD160 d4601e3bc4831666d9acf145cebf35e37117f8ab files/digest-gauche-gl-0.4.2 238
+SHA256 fa88ce2065e6d608335f4ccedce257206a05cafc10352a4d6a330490dae9ea45 files/digest-gauche-gl-0.4.2 238
--- /dev/null
+MD5 32e0670225a983e9df99f856825e1f63 Gauche-gl-0.4.2.tgz 942251
+RMD160 8e730d81c21ee1bba273d79c7c2d9afe2c181072 Gauche-gl-0.4.2.tgz 942251
+SHA256 947dd946c7e6837f5825214e89e69f3c2e1ef5b49ad3a27974aa7df7c937cb97 Gauche-gl-0.4.2.tgz 942251
--- /dev/null
+diff -urN Gauche-gl-0.4.2.orig/src/gauche-gl.h Gauche-gl-0.4.2/src/gauche-gl.h
+--- Gauche-gl-0.4.2.orig/src/gauche-gl.h 2005-06-30 22:29:07.000000000 +0900
++++ Gauche-gl-0.4.2/src/gauche-gl.h 2006-12-01 21:44:37.373543816 +0900
+@@ -28,6 +28,8 @@
+ #endif
+
+ #ifdef HAVE_GL_GLX_H
++#define GL_GLEXT_PROTOTYPES
++#define GLX_GLXEXT_PROTOTYPES
+ #include <GL/glx.h>
+ #endif
+
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild,v 1.4 2006/07/03 16:14:56 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/gauche-gl-0.4.1.ebuild,v 1.5 2006/12/01 13:53:07 hattya Exp $
inherit eutils flag-o-matic
IUSE="cg"
-MY_P="${P/g/G}"
+MY_P=${P/g/G}
DESCRIPTION="OpenGL binding for Gauche"
HOMEPAGE="http://gauche.sf.net/"
LICENSE="BSD"
KEYWORDS="~ppc x86"
SLOT="0"
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
DEPEND="virtual/opengl
virtual/glut
src_install() {
- emake DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
dodoc README ChangeLog
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/gauche-gl-0.4.2.ebuild,v 1.1 2006/12/01 13:53:07 hattya Exp $
+
+inherit eutils flag-o-matic
+
+IUSE="cg examples"
+
+MY_P=${P/g/G}
+
+DESCRIPTION="OpenGL binding for Gauche"
+HOMEPAGE="http://gauche.sf.net/"
+SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz"
+
+LICENSE="BSD"
+KEYWORDS="~ppc ~x86"
+SLOT="0"
+S=${WORKDIR}/${MY_P}
+
+DEPEND="virtual/opengl
+ virtual/glut
+ >=dev-lang/gauche-0.8.6
+ cg? ( media-gfx/nvidia-cg-toolkit )"
+
+src_compile() {
+
+ local myconf
+
+ filter-flags -fforce-addr
+
+ if use cg; then
+ myconf="--enable-cg"
+ fi
+
+ econf ${myconf} || die
+ emake || die
+
+}
+
+src_install() {
+
+ emake DESTDIR="${D}" install || die
+
+ dodoc README ChangeLog
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.scm
+
+ # install glbook
+ docinto examples/glbook
+ dodoc examples/glbook/*
+
+ docinto examples/images
+ dodoc examples/images/*
+
+ # install slbook
+ docinto examples/slbook
+ dodoc examples/slbook/*
+
+ docinto examples/slbook/ogl2brick
+ dodoc examples/slbook/ogl2brick/*
+
+ docinto examples/slbook/ogl2particle
+ dodoc examples/slbook/ogl2particle/*
+
+ # install cg examples
+ if use cg; then
+ docinto examples/cg
+ dodoc examples/cg/*
+ fi
+ fi
+
+}