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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e05a14aa9fb2d55f8f6cc39de7007f009758a2b0
4
- data.tar.gz: 7726778b241e24e8dd5a254dee03d5e560347e58
3
+ metadata.gz: e7d38450de1d55a3da92c0e1fc0fcbbc915222ab
4
+ data.tar.gz: f9c68700d51b35d0b85c039186419062708fd308
5
5
  SHA512:
6
- metadata.gz: b98223b224382628b9f999ad750196d520b61d3a6528733befdbda15f17fbe337236aa2247ab19956a42b28090ca6072bac16629947065a7384eba67099c0a78
7
- data.tar.gz: 2fb2623c21ace750980c77c7cf9f6a26a6b83dc2d654e808380a30be8ea6e61fc50154a0a595ef5d4de51f6f0cf874061f5a70b1db6b2b6f5db838bd9bfb7066
6
+ metadata.gz: 13352b1d6bcd90f1f863059fa197398106d6992fc8598510cc156c61bb6fe60b4b2b5d4ce1b4e6c6c8ca694fc5c3ce04c884c789e178063fe76cd28ff4a9158e
7
+ data.tar.gz: 87e6de78a787457f3b9be7940e1d674c2863060b58ff6755ba9353c6f02562d7bd894bb187cf578846fb2d18483b8c2a6c9c71f191f77792ec601e29c9d111df
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,8 @@
1
+ === 8.2.1 / 2014-10-06
2
+
3
+ * Add ruby-2.1 to binary windows gems.
4
+ * Fix segmentation fault in glutKeyboardUpFunc callback
5
+
1
6
  === 8.2.0 / 2014-03-14
2
7
 
3
8
  * Add x64-mingw platform for cross build and add ruby-2.0.0 to binary gems.
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.7', '>= 0.7.9']
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 = ['i386-mingw32', 'x64-mingw32']
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
@@ -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((int)args->arg1.x);
221
- VALUE y = INT2FIX((int)args->arg2.y);
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);
@@ -25,5 +25,5 @@ module GLUT
25
25
  end
26
26
 
27
27
  module Glut
28
- VERSION = "8.2.0"
28
+ VERSION = "8.2.1"
29
29
  end
Binary file
Binary file
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.0
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-03-14 00:00:00.000000000 Z
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.7'
61
- - - '>='
60
+ version: '0.9'
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: 0.7.9
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.7'
71
- - - '>='
70
+ version: '0.9'
71
+ - - ">="
72
72
  - !ruby/object:Gem::Version
73
- version: 0.7.9
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.7'
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.7'
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: glut
146
- rubygems_version: 2.2.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