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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 832ff34898ffaa32951eae48dce9ae4aae4c6e4f
4
- data.tar.gz: 2bfe93ab091d40e8875a125af9c46cb0a5764515
3
+ metadata.gz: 8154c8f53862ed82a8fda232287dd8d3f05ce628
4
+ data.tar.gz: d671e54332529c7282fff02dccf9f0bc6d88bb82
5
5
  SHA512:
6
- metadata.gz: dd19b0bf8c194172be2c2d08db2f2ec110b4b282e3990a772bb1c84168a314698c76ef2b8cebb8fd0228dbb82555bc0ce3bc816209048545ede54fd8cae19f8e
7
- data.tar.gz: dd8e02ba70ded997a4a1c0e63656d7a4d607d26f2772ec89cb377f65c47456017abc2c37b1c602f2d82c099aa16876761fafb84f5dc354a5243586513f369f83
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
@@ -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);
data/lib/glut.rb CHANGED
@@ -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
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.0
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-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
@@ -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: glut
145
- rubygems_version: 2.2.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