glut 8.2.0-x86-mingw32 → 8.2.1-x86-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/1.9/glut.so +0 -0
- 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: e7d38450de1d55a3da92c0e1fc0fcbbc915222ab
|
4
|
+
data.tar.gz: f9c68700d51b35d0b85c039186419062708fd308
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13352b1d6bcd90f1f863059fa197398106d6992fc8598510cc156c61bb6fe60b4b2b5d4ce1b4e6c6c8ca694fc5c3ce04c884c789e178063fe76cd28ff4a9158e
|
7
|
+
data.tar.gz: 87e6de78a787457f3b9be7940e1d674c2863060b58ff6755ba9353c6f02562d7bd894bb187cf578846fb2d18483b8c2a6c9c71f191f77792ec601e29c9d111df
|
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/1.9/glut.so
CHANGED
Binary file
|
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: x86-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
|
@@ -127,23 +127,23 @@ licenses:
|
|
127
127
|
metadata: {}
|
128
128
|
post_install_message:
|
129
129
|
rdoc_options:
|
130
|
-
- --main
|
130
|
+
- "--main"
|
131
131
|
- README.rdoc
|
132
132
|
require_paths:
|
133
133
|
- lib
|
134
134
|
required_ruby_version: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.9.2
|
139
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
|
-
- -
|
141
|
+
- - ">="
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
145
|
+
rubyforge_project:
|
146
|
+
rubygems_version: 2.4.2
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Glut bindings for OpenGL
|
metadata.gz.sig
CHANGED
Binary file
|