summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2014-11-15 13:59:15 +0000
committerAkinori Hattori <hattya@gentoo.org>2014-11-15 13:59:15 +0000
commitffb36da620e546fe3f1c7337bd33adbb36ecdae7 (patch)
tree20a3ef8bf39b93ab0bdf615d89d90b69e56d1d92 /dev-scheme
parentupdate to EAPI 5 (diff)
downloadgentoo-2-ffb36da620e546fe3f1c7337bd33adbb36ecdae7.tar.gz
gentoo-2-ffb36da620e546fe3f1c7337bd33adbb36ecdae7.tar.bz2
gentoo-2-ffb36da620e546fe3f1c7337bd33adbb36ecdae7.zip
new upstream release
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key EC917A6D)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/gauche-gl/ChangeLog10
-rw-r--r--dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.diff25
-rw-r--r--dev-scheme/gauche-gl/gauche-gl-0.6.ebuild52
3 files changed, 85 insertions, 2 deletions
diff --git a/dev-scheme/gauche-gl/ChangeLog b/dev-scheme/gauche-gl/ChangeLog
index 566addfe16b0..b047708e41d4 100644
--- a/dev-scheme/gauche-gl/ChangeLog
+++ b/dev-scheme/gauche-gl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-scheme/gauche-gl
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.25 2012/07/10 12:35:03 hattya Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-gl/ChangeLog,v 1.26 2014/11/15 13:59:15 hattya Exp $
+
+*gauche-gl-0.6 (15 Nov 2014)
+
+ 15 Nov 2014; Akinori Hattori <hattya@gentoo.org>
+ +files/gauche-gl-0.6-simple.viewer.diff, +gauche-gl-0.6.ebuild:
+ new upstream release
10 Jul 2012; Akinori Hattori <hattya@gentoo.org> metadata.xml:
format metadata.xml
diff --git a/dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.diff b/dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.diff
new file mode 100644
index 000000000000..1f5cf8ecacf2
--- /dev/null
+++ b/dev-scheme/gauche-gl/files/gauche-gl-0.6-simple.viewer.diff
@@ -0,0 +1,25 @@
+From 723309ac3e7aa031e2ebd6c9b059d94e42006de3 Mon Sep 17 00:00:00 2001
+From: Shiro Kawai <shiro@acm.org>
+Date: Sat, 9 Aug 2014 22:19:04 -1000
+Subject: [PATCH] Fix incorrect macro definition
+
+---
+ lib/gl/simple/viewer.scm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/gl/simple/viewer.scm b/lib/gl/simple/viewer.scm
+index 857b8d7..9a464ce 100644
+--- a/lib/gl/simple/viewer.scm
++++ b/lib/gl/simple/viewer.scm
+@@ -381,7 +381,7 @@
+ (match opts
+ [() (set! default3-var proc)]
+ [(':perspective) (set! default3-var proc)]
+- [(':orthographic) (set! default3-var proc)]
++ [(':orthographic) (set! default2-var proc)]
+ [(name)
+ (cond [(name->window name) => (^[win] (ref win'closure) 'key proc)]
+ [else
+--
+2.0.3
+
diff --git a/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
new file mode 100644
index 000000000000..9d7bea646e85
--- /dev/null
+++ b/dev-scheme/gauche-gl/gauche-gl-0.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 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.6.ebuild,v 1.1 2014/11/15 13:59:15 hattya Exp $
+
+EAPI="5"
+
+inherit eutils
+
+MY_P="${P^g}"
+
+DESCRIPTION="OpenGL binding for Gauche"
+HOMEPAGE="http://practical-scheme.net/gauche/"
+SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cg examples"
+
+RDEPEND=">=dev-scheme/gauche-0.9.4
+ virtual/opengl
+ media-libs/freeglut
+ cg? ( media-gfx/nvidia-cg-toolkit )"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-simple.viewer.diff
+}
+
+src_configure() {
+ econf $(usex cg --enable-cg "")
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples
+ dodoc examples/*.scm
+ # install simple
+ dodoc -r examples/simple
+ # install glbook
+ dodoc -r examples/glbook
+ dodoc -r examples/images
+ # install slbook
+ dodoc -r examples/slbook
+ # install cg examples
+ use cg && dodoc -r examples/cg
+ fi
+}