glut 8.2.0-x64-mingw32 → 8.2.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.rdoc +5 -0
- data/Rakefile +14 -2
- data/ext/glut/glut_callbacks.c +3 -3
- data/lib/glut.rb +1 -1
- data/lib/glut/2.0/glut.so +0 -0
- data/lib/glut/2.1/glut.so +0 -0
- metadata +25 -25
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8154c8f53862ed82a8fda232287dd8d3f05ce628
|
4
|
+
data.tar.gz: d671e54332529c7282fff02dccf9f0bc6d88bb82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04653c6fc2759fd30bd8dbc584f8dfce1174b2c49e6250819fc8026426c1a8b492720beb75877e20da3b4562a715c59240b5c7f50366cadec68c83cfcab7227c
|
7
|
+
data.tar.gz: 3abebb0d8246395538d5afe802312655e51f84362e9bb50ff984622dd9572adffd6e1501e0a58699f9635fb9783568b7422db9541483729df93f2ea60c4e77e8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -31,7 +31,7 @@ hoe = Hoe.spec 'glut' do
|
|
31
31
|
self.history_file = 'History.rdoc'
|
32
32
|
self.extra_rdoc_files = FileList['*.rdoc']
|
33
33
|
|
34
|
-
extra_dev_deps << ['rake-compiler', '~> 0.
|
34
|
+
extra_dev_deps << ['rake-compiler', '~> 0.9', '>= 0.9.1']
|
35
35
|
|
36
36
|
self.spec_extras = {
|
37
37
|
:extensions => %w[ext/glut/extconf.rb],
|
@@ -43,10 +43,22 @@ Rake::ExtensionTask.new 'glut', hoe.spec do |ext|
|
|
43
43
|
ext.lib_dir = 'lib/glut'
|
44
44
|
|
45
45
|
ext.cross_compile = true
|
46
|
-
ext.cross_platform = ['
|
46
|
+
ext.cross_platform = ['x86-mingw32', 'x64-mingw32']
|
47
47
|
ext.cross_config_options += [
|
48
48
|
"--enable-win32-cross",
|
49
49
|
]
|
50
50
|
end
|
51
51
|
|
52
|
+
|
53
|
+
# To reduce the gem file size strip mingw32 dlls before packaging
|
54
|
+
ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
|
55
|
+
task "copy:glut:x86-mingw32:#{ruby_version}" do |t|
|
56
|
+
sh "i686-w64-mingw32-strip -S tmp/x86-mingw32/stage/lib/glut/#{ruby_version[/^\d+\.\d+/]}/glut.so"
|
57
|
+
end
|
58
|
+
|
59
|
+
task "copy:glut:x64-mingw32:#{ruby_version}" do |t|
|
60
|
+
sh "x86_64-w64-mingw32-strip -S tmp/x64-mingw32/stage/lib/glut/#{ruby_version[/^\d+\.\d+/]}/glut.so"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
52
64
|
task :test => :compile
|
data/ext/glut/glut_callbacks.c
CHANGED
@@ -213,12 +213,12 @@ static void *
|
|
213
213
|
glut_KeyboardUpFuncCallback(struct callback_args *args) {
|
214
214
|
VALUE func = rb_ary_entry(KeyboardUpFunc, glutGetWindow());
|
215
215
|
#if HAVE_SINGLE_BYTE_STRINGS
|
216
|
-
VALUE key = rb_str_new((char *)args->arg0.key, 1);
|
216
|
+
VALUE key = rb_str_new((char *)&args->arg0.key, 1);
|
217
217
|
#else
|
218
218
|
VALUE key = UINT2NUM((unsigned char)args->arg0.key);
|
219
219
|
#endif
|
220
|
-
VALUE x = INT2FIX(
|
221
|
-
VALUE y = INT2FIX(
|
220
|
+
VALUE x = INT2FIX(args->arg1.x);
|
221
|
+
VALUE y = INT2FIX(args->arg2.y);
|
222
222
|
|
223
223
|
if (!NIL_P(func))
|
224
224
|
rb_funcall(func, call_id, 3, key, x, y);
|
data/lib/glut.rb
CHANGED
data/lib/glut/2.0/glut.so
CHANGED
Binary file
|
data/lib/glut/2.1/glut.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.2.
|
4
|
+
version: 8.2.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Eric Hodel
|
@@ -35,56 +35,56 @@ cert_chain:
|
|
35
35
|
GrqF74zpLl7/KFdHC8VmzwZS18hvDjxeLVuVI2gIGnBInqnlqv05g/l4/1pISh5j
|
36
36
|
dS4=
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2014-
|
38
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rdoc
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - ~>
|
44
|
+
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '4.0'
|
47
47
|
type: :development
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - ~>
|
51
|
+
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '4.0'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: rake-compiler
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - ~>
|
58
|
+
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
61
|
-
- -
|
60
|
+
version: '0.9'
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
63
|
+
version: 0.9.1
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- - ~>
|
68
|
+
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: '0.
|
71
|
-
- -
|
70
|
+
version: '0.9'
|
71
|
+
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 0.
|
73
|
+
version: 0.9.1
|
74
74
|
- !ruby/object:Gem::Dependency
|
75
75
|
name: hoe
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - ~>
|
78
|
+
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '3.
|
80
|
+
version: '3.13'
|
81
81
|
type: :development
|
82
82
|
prerelease: false
|
83
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- - ~>
|
85
|
+
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '3.
|
87
|
+
version: '3.13'
|
88
88
|
description: Glut bindings for OpenGL. To be used with the {opengl}[https://github.com/larskanis/opengl]
|
89
89
|
gem.
|
90
90
|
email:
|
@@ -102,10 +102,10 @@ extra_rdoc_files:
|
|
102
102
|
- Manifest.txt
|
103
103
|
- README.rdoc
|
104
104
|
files:
|
105
|
-
- .autotest
|
106
|
-
- .gemtest
|
107
|
-
- .gitignore
|
108
|
-
- .travis.yml
|
105
|
+
- ".autotest"
|
106
|
+
- ".gemtest"
|
107
|
+
- ".gitignore"
|
108
|
+
- ".travis.yml"
|
109
109
|
- History.rdoc
|
110
110
|
- MIT-LICENSE
|
111
111
|
- Manifest.txt
|
@@ -126,23 +126,23 @@ licenses:
|
|
126
126
|
metadata: {}
|
127
127
|
post_install_message:
|
128
128
|
rdoc_options:
|
129
|
-
- --main
|
129
|
+
- "--main"
|
130
130
|
- README.rdoc
|
131
131
|
require_paths:
|
132
132
|
- lib
|
133
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: 1.9.2
|
138
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
|
-
- -
|
140
|
+
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
144
|
+
rubyforge_project:
|
145
|
+
rubygems_version: 2.4.2
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Glut bindings for OpenGL
|
metadata.gz.sig
CHANGED
Binary file
|