ruby-opengl2 0.60.4 → 0.60.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +4 -2
- data/ext/gl/gl-2.0.c +3 -1
- data/ext/gl/gl-2.0.o +0 -0
- data/ext/gl/gl-ext-arb.c +3 -1
- data/ext/gl/gl-ext-arb.o +0 -0
- data/ext/gl/gl.bundle +0 -0
- data/ext/gl/mkrf.log +1 -0
- data/ext/gl/mkrf_conf.rb +1 -1
- data/ext/glut/glut.bundle +0 -0
- data/ext/glut/glut.c +4 -2
- data/ext/glut/glut.o +0 -0
- data/lib/gl.bundle +0 -0
- data/lib/glut.bundle +0 -0
- metadata +2 -5
- data/ext/gl/Rakefile +0 -43
- data/ext/glu/Rakefile +0 -43
- data/ext/glut/Rakefile +0 -43
data/Rakefile
CHANGED
@@ -60,7 +60,7 @@ task :test_all => [:test]
|
|
60
60
|
# common specification for source and binary gems
|
61
61
|
spec = Gem::Specification.new do |s|
|
62
62
|
s.name = "ruby-opengl2"
|
63
|
-
s.version = "0.60.
|
63
|
+
s.version = "0.60.5"
|
64
64
|
s.authors = [ "Alain Hoang", "Jan Dvorak", "Minh Thu Vo", "James Adam", "Paolo Bosetti" ]
|
65
65
|
s.homepage = "http://github.com/pbosetti/ruby-opengl"
|
66
66
|
s.email = "p4010@me.com"
|
@@ -70,7 +70,9 @@ spec = Gem::Specification.new do |s|
|
|
70
70
|
s.description = "This is a modernization of the glorious but unmaintained ruby-opengl version, aimed at making it compatible with ruby 1.9.x series. At the moment, it successfully compiles on OS X Lion and Debian 6.0.3"
|
71
71
|
s.require_path = "lib"
|
72
72
|
s.has_rdoc = false
|
73
|
-
s.files = FileList
|
73
|
+
s.files = FileList.new("{lib,ext,examples,test}/**/*") do |fl|
|
74
|
+
fl.exclude(/Rakefile/)
|
75
|
+
end
|
74
76
|
s.extensions = ['Rakefile']
|
75
77
|
|
76
78
|
if s.respond_to? :specification_version then
|
data/ext/gl/gl-2.0.c
CHANGED
@@ -361,7 +361,9 @@ VALUE obj,arg1,arg2; \
|
|
361
361
|
|
362
362
|
GETVERTEXATTRIB_FUNC(GetVertexAttribdv,GLdouble)
|
363
363
|
GETVERTEXATTRIB_FUNC(GetVertexAttribfv,GLfloat)
|
364
|
-
|
364
|
+
#if 0
|
365
|
+
GETVERTEXATTRIB_FUNC(GetVertexAttribiv,GLint,cond_GLBOOL2RUBY)
|
366
|
+
#endif
|
365
367
|
#undef GETVERTEXATTRIB_FUNC
|
366
368
|
|
367
369
|
static void (APIENTRY * fptr_glGetVertexAttribiv)(GLuint,GLenum,GLint *);
|
data/ext/gl/gl-2.0.o
CHANGED
Binary file
|
data/ext/gl/gl-ext-arb.c
CHANGED
@@ -326,7 +326,9 @@ VALUE obj,arg1,arg2; \
|
|
326
326
|
|
327
327
|
GETVERTEXATTRIB_FUNC(GetVertexAttribdvARB,GLdouble,"GL_ARB_vertex_program")
|
328
328
|
GETVERTEXATTRIB_FUNC(GetVertexAttribfvARB,GLfloat,"GL_ARB_vertex_program")
|
329
|
-
|
329
|
+
#if 0
|
330
|
+
GETVERTEXATTRIB_FUNC(GetVertexAttribivARB,GLint,INT2NUM,"GL_ARB_vertex_program")
|
331
|
+
#endif
|
330
332
|
#undef GETVERTEXATTRIB_FUNC
|
331
333
|
|
332
334
|
static void (APIENTRY * fptr_glGetVertexAttribivARB)(GLuint,GLenum,GLint *);
|
data/ext/gl/gl-ext-arb.o
CHANGED
Binary file
|
data/ext/gl/gl.bundle
CHANGED
Binary file
|
data/ext/gl/mkrf.log
CHANGED
data/ext/gl/mkrf_conf.rb
CHANGED
data/ext/glut/glut.bundle
CHANGED
Binary file
|
data/ext/glut/glut.c
CHANGED
@@ -409,8 +409,10 @@ VALUE obj,arg1;
|
|
409
409
|
int menu;
|
410
410
|
menu = (int)NUM2INT(arg1);
|
411
411
|
glutDestroyMenu(menu);
|
412
|
-
|
413
|
-
|
412
|
+
#if 0
|
413
|
+
rb_hash_aset(g_menucallback, menu, Qnil);
|
414
|
+
rb_hash_aset(g_menuargs, menu, Qnil);
|
415
|
+
#endif
|
414
416
|
return Qnil;
|
415
417
|
}
|
416
418
|
|
data/ext/glut/glut.o
CHANGED
Binary file
|
data/lib/gl.bundle
CHANGED
Binary file
|
data/lib/glut.bundle
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-opengl2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.60.
|
4
|
+
version: 0.60.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-08-
|
16
|
+
date: 2012-08-21 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: mkrf
|
@@ -86,7 +86,6 @@ files:
|
|
86
86
|
- ext/gl/gl.o
|
87
87
|
- ext/gl/mkrf.log
|
88
88
|
- ext/gl/mkrf_conf.rb
|
89
|
-
- ext/gl/Rakefile
|
90
89
|
- ext/glu/glu-enums.c
|
91
90
|
- ext/glu/glu-enums.o
|
92
91
|
- ext/glu/glu.bundle
|
@@ -94,13 +93,11 @@ files:
|
|
94
93
|
- ext/glu/glu.o
|
95
94
|
- ext/glu/mkrf.log
|
96
95
|
- ext/glu/mkrf_conf.rb
|
97
|
-
- ext/glu/Rakefile
|
98
96
|
- ext/glut/glut.bundle
|
99
97
|
- ext/glut/glut.c
|
100
98
|
- ext/glut/glut.o
|
101
99
|
- ext/glut/mkrf.log
|
102
100
|
- ext/glut/mkrf_conf.rb
|
103
|
-
- ext/glut/Rakefile
|
104
101
|
- examples/misc/anisotropic.rb
|
105
102
|
- examples/misc/fbo_test.rb
|
106
103
|
- examples/misc/font-glut.rb
|
data/ext/gl/Rakefile
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
# Generated by mkrf
|
2
|
-
require 'rake/clean'
|
3
|
-
|
4
|
-
CLEAN.include('*.o')
|
5
|
-
CLOBBER.include('gl.bundle', 'mkrf.log')
|
6
|
-
|
7
|
-
SRC = FileList['*.c']
|
8
|
-
OBJ = SRC.ext('o')
|
9
|
-
CC = 'clang'
|
10
|
-
|
11
|
-
ADDITIONAL_OBJECTS = ''
|
12
|
-
|
13
|
-
LDSHARED = "clang -dynamic -bundle -framework OpenGL"
|
14
|
-
|
15
|
-
LIBPATH = "-L/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib "
|
16
|
-
|
17
|
-
INCLUDES = "-I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/x86_64-darwin12.0.0 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin12.0.0 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1 -I."
|
18
|
-
|
19
|
-
LIBS = "-lpthread -ldl -lobjc"
|
20
|
-
|
21
|
-
CFLAGS = "-fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe -DRUBY_VERSION=193 "
|
22
|
-
|
23
|
-
RUBYARCHDIR = "#{ENV["RUBYARCHDIR"]}"
|
24
|
-
LIBRUBYARG_SHARED = "-lruby.1.9.1"
|
25
|
-
|
26
|
-
task :default => ['gl.bundle']
|
27
|
-
|
28
|
-
rule '.o' => '.c' do |t|
|
29
|
-
sh "#{CC} #{CFLAGS} #{INCLUDES} -c #{t.source}"
|
30
|
-
end
|
31
|
-
|
32
|
-
desc "Build this extension"
|
33
|
-
file 'gl.bundle' => OBJ do
|
34
|
-
sh "#{LDSHARED} #{LIBPATH} -o gl.bundle #{OBJ} #{ADDITIONAL_OBJECTS} #{LIBS} #{LIBRUBYARG_SHARED}"
|
35
|
-
end
|
36
|
-
|
37
|
-
desc "Install this extension"
|
38
|
-
task :install => 'gl.bundle' do
|
39
|
-
makedirs "#{RUBYARCHDIR}"
|
40
|
-
install "gl.bundle", "#{RUBYARCHDIR}"
|
41
|
-
end
|
42
|
-
|
43
|
-
|
data/ext/glu/Rakefile
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
# Generated by mkrf
|
2
|
-
require 'rake/clean'
|
3
|
-
|
4
|
-
CLEAN.include('*.o')
|
5
|
-
CLOBBER.include('glu.bundle', 'mkrf.log')
|
6
|
-
|
7
|
-
SRC = FileList['*.c']
|
8
|
-
OBJ = SRC.ext('o')
|
9
|
-
CC = 'clang'
|
10
|
-
|
11
|
-
ADDITIONAL_OBJECTS = ''
|
12
|
-
|
13
|
-
LDSHARED = "clang -dynamic -bundle -framework OpenGL"
|
14
|
-
|
15
|
-
LIBPATH = "-L/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib "
|
16
|
-
|
17
|
-
INCLUDES = "-I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/x86_64-darwin12.0.0 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin12.0.0 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1 -I."
|
18
|
-
|
19
|
-
LIBS = "-lpthread -ldl -lobjc"
|
20
|
-
|
21
|
-
CFLAGS = "-fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe -DRUBY_VERSION=193 "
|
22
|
-
|
23
|
-
RUBYARCHDIR = "#{ENV["RUBYARCHDIR"]}"
|
24
|
-
LIBRUBYARG_SHARED = "-lruby.1.9.1"
|
25
|
-
|
26
|
-
task :default => ['glu.bundle']
|
27
|
-
|
28
|
-
rule '.o' => '.c' do |t|
|
29
|
-
sh "#{CC} #{CFLAGS} #{INCLUDES} -c #{t.source}"
|
30
|
-
end
|
31
|
-
|
32
|
-
desc "Build this extension"
|
33
|
-
file 'glu.bundle' => OBJ do
|
34
|
-
sh "#{LDSHARED} #{LIBPATH} -o glu.bundle #{OBJ} #{ADDITIONAL_OBJECTS} #{LIBS} #{LIBRUBYARG_SHARED}"
|
35
|
-
end
|
36
|
-
|
37
|
-
desc "Install this extension"
|
38
|
-
task :install => 'glu.bundle' do
|
39
|
-
makedirs "#{RUBYARCHDIR}"
|
40
|
-
install "glu.bundle", "#{RUBYARCHDIR}"
|
41
|
-
end
|
42
|
-
|
43
|
-
|
data/ext/glut/Rakefile
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
# Generated by mkrf
|
2
|
-
require 'rake/clean'
|
3
|
-
|
4
|
-
CLEAN.include('*.o')
|
5
|
-
CLOBBER.include('glut.bundle', 'mkrf.log')
|
6
|
-
|
7
|
-
SRC = FileList['*.c']
|
8
|
-
OBJ = SRC.ext('o')
|
9
|
-
CC = 'clang'
|
10
|
-
|
11
|
-
ADDITIONAL_OBJECTS = ''
|
12
|
-
|
13
|
-
LDSHARED = "clang -dynamic -bundle -framework GLUT -framework OpenGL -framework Cocoa"
|
14
|
-
|
15
|
-
LIBPATH = "-L/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib "
|
16
|
-
|
17
|
-
INCLUDES = "-I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/include/ruby-1.9.1/x86_64-darwin12.0.0 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin12.0.0 -I/Users/p4010/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1 -I."
|
18
|
-
|
19
|
-
LIBS = "-lpthread -ldl -lobjc"
|
20
|
-
|
21
|
-
CFLAGS = "-fno-common -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe -DRUBY_VERSION=193 "
|
22
|
-
|
23
|
-
RUBYARCHDIR = "#{ENV["RUBYARCHDIR"]}"
|
24
|
-
LIBRUBYARG_SHARED = "-lruby.1.9.1"
|
25
|
-
|
26
|
-
task :default => ['glut.bundle']
|
27
|
-
|
28
|
-
rule '.o' => '.c' do |t|
|
29
|
-
sh "#{CC} #{CFLAGS} #{INCLUDES} -c #{t.source}"
|
30
|
-
end
|
31
|
-
|
32
|
-
desc "Build this extension"
|
33
|
-
file 'glut.bundle' => OBJ do
|
34
|
-
sh "#{LDSHARED} #{LIBPATH} -o glut.bundle #{OBJ} #{ADDITIONAL_OBJECTS} #{LIBS} #{LIBRUBYARG_SHARED}"
|
35
|
-
end
|
36
|
-
|
37
|
-
desc "Install this extension"
|
38
|
-
task :install => 'glut.bundle' do
|
39
|
-
makedirs "#{RUBYARCHDIR}"
|
40
|
-
install "glut.bundle", "#{RUBYARCHDIR}"
|
41
|
-
end
|
42
|
-
|
43
|
-
|