[DRE-commits] r4127 - in trunk/libopengl-ruby: . debian

Paul van Tilburg paulvt at alioth.debian.org
Sat Sep 12 08:53:33 UTC 2009


Author: paulvt
Date: 2009-09-12 08:53:33 +0000 (Sat, 12 Sep 2009)
New Revision: 4127

Added:
   trunk/libopengl-ruby/debian/
   trunk/libopengl-ruby/debian/changelog
   trunk/libopengl-ruby/debian/compat
   trunk/libopengl-ruby/debian/control
   trunk/libopengl-ruby/debian/copyright
   trunk/libopengl-ruby/debian/rules
   trunk/libopengl-ruby/debian/watch
Modified:
   trunk/libopengl-ruby/glut.c
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/libopengl-ruby/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/libopengl-ruby/debian/changelog
===================================================================
--- trunk/libopengl-ruby/debian/changelog	                        (rev 0)
+++ trunk/libopengl-ruby/debian/changelog	2009-09-12 08:53:33 UTC (rev 4127)
@@ -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 <daf at debian.org>  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 <daf at muse.19inch.net>  Mon,  2 Aug 2004 01:15:35 +0100
+
+libopengl-ruby (0.32d-2) unstable; urgency=low
+
+  * Remove CVS directories from upstream tarball.
+
+ -- Dafydd Harries <daf at muse.19inch.net>  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 <daf at muse.19inch.net>  Tue,  2 Mar 2004 18:21:07 +0000
+
+libopengl-ruby (0.32c-1) unstable; urgency=low
+
+  * Initial Debianization.
+
+ -- Dafydd Harries <daf at muse.19inch.net>  Tue, 18 Nov 2003 20:50:57 +0000
+

Added: trunk/libopengl-ruby/debian/compat
===================================================================
--- trunk/libopengl-ruby/debian/compat	                        (rev 0)
+++ trunk/libopengl-ruby/debian/compat	2009-09-12 08:53:33 UTC (rev 4127)
@@ -0,0 +1 @@
+4

Added: trunk/libopengl-ruby/debian/control
===================================================================
--- trunk/libopengl-ruby/debian/control	                        (rev 0)
+++ trunk/libopengl-ruby/debian/control	2009-09-12 08:53:33 UTC (rev 4127)
@@ -0,0 +1,13 @@
+Source: libopengl-ruby
+Section: interpreters
+Priority: optional
+Maintainer: Dafydd Harries <daf at debian.org>
+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.

Added: trunk/libopengl-ruby/debian/copyright
===================================================================
--- trunk/libopengl-ruby/debian/copyright	                        (rev 0)
+++ trunk/libopengl-ruby/debian/copyright	2009-09-12 08:53:33 UTC (rev 4127)
@@ -0,0 +1,27 @@
+This package was debianized by Dafydd Harries <daf at muse.19inch.net> on
+Tue, 18 Nov 2003 20:50:57 +0000.
+
+It was downloaded from <http://www2.giganet.net/~yoshi/>.
+
+Rbogl is copyright (c) 2004 Yoshiyuki Kusano <yoshi at giganet.net>.
+
+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.
+

Added: trunk/libopengl-ruby/debian/rules
===================================================================
--- trunk/libopengl-ruby/debian/rules	                        (rev 0)
+++ trunk/libopengl-ruby/debian/rules	2009-09-12 08:53:33 UTC (rev 4127)
@@ -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
+


Property changes on: trunk/libopengl-ruby/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/libopengl-ruby/debian/watch
===================================================================
--- trunk/libopengl-ruby/debian/watch	                        (rev 0)
+++ trunk/libopengl-ruby/debian/watch	2009-09-12 08:53:33 UTC (rev 4127)
@@ -0,0 +1,4 @@
+version=2
+http://www2.giganet.net/~yoshi/rbogl-(.*).tar.gz \
+	debian \
+	uupdate

Modified: trunk/libopengl-ruby/glut.c
===================================================================
--- trunk/libopengl-ruby/glut.c	2009-09-12 08:53:26 UTC (rev 4126)
+++ trunk/libopengl-ruby/glut.c	2009-09-12 08:53:33 UTC (rev 4127)
@@ -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);




More information about the Pkg-ruby-extras-commits mailing list