--- libopengl-ruby-0.32f.orig/glut.c +++ libopengl-ruby-0.32f/glut.c @@ -361,7 +361,7 @@ } static VALUE -glut_SetCurcor(obj,arg1) +glut_SetCursor(obj,arg1) VALUE obj,arg1; { int cursor; @@ -1296,7 +1296,9 @@ rb_define_module_function(mGLUT, "ShowWindow", glut_ShowWindow, 0); rb_define_module_function(mGLUT, "HideWindow", glut_HideWindow, 0); rb_define_module_function(mGLUT, "FullScreen", glut_FullScreen, 0); - rb_define_module_function(mGLUT, "SetCurcor", glut_SetCurcor, 1); + rb_define_module_function(mGLUT, "SetCursor", glut_SetCursor, 1); + /* Misspelled function alias retained for backwards-compatibility. */ + rb_define_module_function(mGLUT, "SetCurcor", glut_SetCursor, 1); rb_define_module_function(mGLUT, "WarpPointer", glut_WarpPointer, 2); rb_define_module_function(mGLUT, "EstablishOverlay", glut_EstablishOverlay, 0); rb_define_module_function(mGLUT, "RemoveOverlay", glut_RemoveOverlay, 0); --- libopengl-ruby-0.32f.orig/debian/changelog +++ libopengl-ruby-0.32f/debian/changelog @@ -0,0 +1,43 @@ +libopengl-ruby (0.32f-2) unstable; urgency=low + + * Apply patch from Daniel Brockman to fix typo in the API. Closes: #320741. + + -- Dafydd Harries Tue, 9 Aug 2005 12:46:50 +0100 + +libopengl-ruby (0.32f-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Update Standards-Version to 3.6.1. No changes necessary. + - Improve the package description. + - Specify ">= 1.8" for Ruby build-dependency. + - Specify xlibmesa-gl-dev as the default for the build-dependency on the + libgl-dev virtual package. + * Add a watch file. + * Make example files non-executable. + + -- Dafydd Harries Mon, 2 Aug 2004 01:15:35 +0100 + +libopengl-ruby (0.32d-2) unstable; urgency=low + + * Remove CVS directories from upstream tarball. + + -- Dafydd Harries Wed, 3 Mar 2004 18:28:54 +0000 + +libopengl-ruby (0.32d-1) unstable; urgency=low + + * New upstream release. + * Persuaded upstream to include a copyright notice. My understanding is that + the licence is DFSG-free. + * debian/copyright: Updated to reflect the new COPYRIGHT file. + * debian/control: Add build-depends on ruby, ruby1.8-dev + (in order to be able to run extconf.rb), libgl-dev and libglut-dev + + -- Dafydd Harries Tue, 2 Mar 2004 18:21:07 +0000 + +libopengl-ruby (0.32c-1) unstable; urgency=low + + * Initial Debianization. + + -- Dafydd Harries Tue, 18 Nov 2003 20:50:57 +0000 + --- libopengl-ruby-0.32f.orig/debian/compat +++ libopengl-ruby-0.32f/debian/compat @@ -0,0 +1 @@ +4 --- libopengl-ruby-0.32f.orig/debian/control +++ libopengl-ruby-0.32f/debian/control @@ -0,0 +1,13 @@ +Source: libopengl-ruby +Section: interpreters +Priority: optional +Maintainer: Dafydd Harries +Build-Depends: debhelper (>= 4.0.0), ruby (>= 1.8), ruby1.8-dev, xlibmesa-gl-dev | libgl-dev, libglut-dev +Standards-Version: 3.6.2 + +Package: libopengl-ruby +Architecture: any +Depends: ${shlibs:Depends} +Description: OpenGL binding for Ruby + This library allows program written in Ruby to use the OpenGL API for + graphics. --- libopengl-ruby-0.32f.orig/debian/copyright +++ libopengl-ruby-0.32f/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Dafydd Harries on +Tue, 18 Nov 2003 20:50:57 +0000. + +It was downloaded from . + +Rbogl is copyright (c) 2004 Yoshiyuki Kusano . + +Licence: + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + --- libopengl-ruby-0.32f.orig/debian/rules +++ libopengl-ruby-0.32f/debian/rules @@ -0,0 +1,54 @@ +#!/usr/bin/make -f + +configure-stamp: + dh_testdir + ruby extconf.rb + touch configure-stamp + +configure: configure-stamp + +clean: configure + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + $(MAKE) clean + dh_clean Makefile Makefile.glut Makefile.ogl mkmf.log + +build-stamp: configure-stamp + dh_testdir + $(MAKE) + touch build-stamp + +build: build-stamp + +install: build + dh_testdir + dh_testroot + dh_installdirs + $(MAKE) install \ + DESTDIR=$(CURDIR)/debian/libopengl-ruby \ + sitedir=$(CURDIR)/debian/libopengl-ruby/usr/lib/ruby + dh_installchangelogs ChangeLog + dh_installdocs README.EUC + dh_installexamples sample/* + find $(CURDIR)/debian/libopengl-ruby/usr/share/doc/libopengl-ruby \ + -name '*.rb' -exec chmod 644 '{}' ';' + dh_strip + dh_compress + dh_fixperms + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: configure build clean install binary-indep binary-arch + --- libopengl-ruby-0.32f.orig/debian/watch +++ libopengl-ruby-0.32f/debian/watch @@ -0,0 +1,4 @@ +version=2 +http://www2.giganet.net/~yoshi/rbogl-(.*).tar.gz \ + debian \ + uupdate