glut 8.2.1-x86-mingw32 → 8.2.2-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: e7d38450de1d55a3da92c0e1fc0fcbbc915222ab
4
- data.tar.gz: f9c68700d51b35d0b85c039186419062708fd308
3
+ metadata.gz: a33888ebf86c43b5f01c4fd20f16c39d70f531e4
4
+ data.tar.gz: 391b599490ba64824935bc57ff49ebaccc1301d9
5
5
  SHA512:
6
- metadata.gz: 13352b1d6bcd90f1f863059fa197398106d6992fc8598510cc156c61bb6fe60b4b2b5d4ce1b4e6c6c8ca694fc5c3ce04c884c789e178063fe76cd28ff4a9158e
7
- data.tar.gz: 87e6de78a787457f3b9be7940e1d674c2863060b58ff6755ba9353c6f02562d7bd894bb187cf578846fb2d18483b8c2a6c9c71f191f77792ec601e29c9d111df
6
+ metadata.gz: 7a0a2f40d3236765488aa83cf406d8f8b3af1a70cf2a0d8828759c356f020087f252a33158826ef870772b6cc1e5f052823c6f28eb4d809f63d54b75aef6c1ff
7
+ data.tar.gz: ea70f47c39240dae2f0cf510984a68cbd43d948c91cc8ff11b6deb4f408e803185a9d090ff436b498c6e71ecb760795a90d119cac42476bd7bed7fb0f331cc0c
@@ -1,3 +1,8 @@
1
+ === 8.2.2 / 2016-01-21
2
+
3
+ * Add ruby-2.2 and 2.3 to binary windows gems.
4
+ * Fix compilation on OS-X. Github #2
5
+
1
6
  === 8.2.1 / 2014-10-06
2
7
 
3
8
  * Add ruby-2.1 to binary windows gems.
data/Rakefile CHANGED
@@ -32,6 +32,8 @@ hoe = Hoe.spec 'glut' do
32
32
  self.extra_rdoc_files = FileList['*.rdoc']
33
33
 
34
34
  extra_dev_deps << ['rake-compiler', '~> 0.9', '>= 0.9.1']
35
+ extra_dev_deps << ['rake-compiler-dock', '~> 0.5.0']
36
+ extra_dev_deps << ['mini_portile2', '~> 2.1']
35
37
 
36
38
  self.spec_extras = {
37
39
  :extensions => %w[ext/glut/extconf.rb],
@@ -61,4 +63,12 @@ ENV['RUBY_CC_VERSION'].to_s.split(':').each do |ruby_version|
61
63
  end
62
64
  end
63
65
 
66
+ desc "Build windows binary gems per rake-compiler-dock."
67
+ task "gem:windows" do
68
+ require "rake_compiler_dock"
69
+ RakeCompilerDock.sh <<-EOT
70
+ rake cross native gem MAKE='nice make -j`nproc`' RUBY_CC_VERSION=2.3.0:2.2.2:2.1.6:2.0.0:1.9.3
71
+ EOT
72
+ end
73
+
64
74
  task :test => :compile
@@ -25,12 +25,16 @@
25
25
  #include <ruby.h>
26
26
  #include "extconf.h"
27
27
 
28
- #ifdef HAVE_GLUT_GLUT_H
29
- #include <GLUT/freeglut.h>
28
+ #ifdef HAVE_GL_FREEGLUT_H
29
+ #include <GL/freeglut.h>
30
30
  #endif
31
31
 
32
32
  #ifdef HAVE_GL_GLUT_H
33
- #include <GL/freeglut.h>
33
+ #include <GL/glut.h>
34
+ #endif
35
+
36
+ #ifdef HAVE_GLUT_GLUT_H
37
+ #include <GLUT/glut.h>
34
38
  #endif
35
39
 
36
40
  #ifndef GLUTCALLBACK
@@ -14,7 +14,9 @@ def have_framework(fw, &b)
14
14
  end unless respond_to? :have_framework
15
15
 
16
16
  if enable_config('win32-cross')
17
- require "mini_portile"
17
+ require "rubygems"
18
+ gem "mini_portile2", "~> 2.0"
19
+ require "mini_portile2"
18
20
 
19
21
  LIBFREEGLUT_VERSION = ENV['LIBFREEGLUT_VERSION'] || '2.8.1'
20
22
  LIBFREEGLUT_SOURCE_URI = "http://downloads.sourceforge.net/project/freeglut/freeglut/#{LIBFREEGLUT_VERSION}/freeglut-#{LIBFREEGLUT_VERSION}.tar.gz"
@@ -56,6 +58,7 @@ ok =
56
58
  (have_framework('OpenGL') && have_framework('GLUT') && have_framework('Cocoa'))
57
59
 
58
60
  ok &&=
61
+ have_header('GL/freeglut.h') ||
59
62
  have_header('GL/glut.h') ||
60
63
  have_header('GLUT/glut.h') # OS X
61
64
 
@@ -69,16 +69,32 @@ void Init_glut_ext() {
69
69
  rb_define_module_function(mGlut, "glutInitContextProfile", glut_InitContextProfile, 1);
70
70
 
71
71
  /* Context-related flags */
72
+ #ifdef GLUT_INIT_MAJOR_VERSION
72
73
  rb_define_const(mGlut, "GLUT_INIT_MAJOR_VERSION", INT2NUM(GLUT_INIT_MAJOR_VERSION));
74
+ #endif
75
+ #ifdef GLUT_INIT_MINOR_VERSION
73
76
  rb_define_const(mGlut, "GLUT_INIT_MINOR_VERSION", INT2NUM(GLUT_INIT_MINOR_VERSION));
77
+ #endif
78
+ #ifdef GLUT_INIT_FLAGS
74
79
  rb_define_const(mGlut, "GLUT_INIT_FLAGS", INT2NUM(GLUT_INIT_FLAGS));
80
+ #endif
81
+ #ifdef GLUT_INIT_PROFILE
75
82
  rb_define_const(mGlut, "GLUT_INIT_PROFILE", INT2NUM(GLUT_INIT_PROFILE));
83
+ #endif
76
84
 
77
85
  /* Flags for glutInitContextFlags */
86
+ #ifdef GLUT_FORWARD_COMPATIBLE
78
87
  rb_define_const(mGlut, "GLUT_FORWARD_COMPATIBLE", INT2NUM(GLUT_FORWARD_COMPATIBLE));
88
+ #endif
89
+ #ifdef GLUT_DEBUG
79
90
  rb_define_const(mGlut, "GLUT_DEBUG", INT2NUM(GLUT_DEBUG));
91
+ #endif
80
92
 
81
93
  /* Flags for glutInitContextProfile */
94
+ #ifdef GLUT_CORE_PROFILE
82
95
  rb_define_const(mGlut, "GLUT_CORE_PROFILE", INT2NUM(GLUT_CORE_PROFILE));
96
+ #endif
97
+ #ifdef GLUT_COMPATIBILITY_PROFILE
83
98
  rb_define_const(mGlut, "GLUT_COMPATIBILITY_PROFILE", INT2NUM(GLUT_COMPATIBILITY_PROFILE));
99
+ #endif
84
100
  }
@@ -25,5 +25,5 @@ module GLUT
25
25
  end
26
26
 
27
27
  module Glut
28
- VERSION = "8.2.1"
28
+ VERSION = "8.2.2"
29
29
  end
Binary file
Binary file
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.1
4
+ version: 8.2.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Eric Hodel
@@ -13,29 +13,8 @@ authors:
13
13
  - James Adam
14
14
  autorequire:
15
15
  bindir: bin
16
- cert_chain:
17
- - |
18
- -----BEGIN CERTIFICATE-----
19
- MIIDLjCCAhagAwIBAgIBAjANBgkqhkiG9w0BAQUFADA9MQ4wDAYDVQQDDAVrYW5p
20
- czEXMBUGCgmSJomT8ixkARkWB2NvbWNhcmQxEjAQBgoJkiaJk/IsZAEZFgJkZTAe
21
- Fw0xNDAyMjYwOTMzMDBaFw0xNTAyMjYwOTMzMDBaMD0xDjAMBgNVBAMMBWthbmlz
22
- MRcwFQYKCZImiZPyLGQBGRYHY29tY2FyZDESMBAGCgmSJomT8ixkARkWAmRlMIIB
23
- IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApop+rNmg35bzRugZ21VMGqI6
24
- HGzPLO4VHYncWn/xmgPU/ZMcZdfj6MzIaZJ/czXyt4eHpBk1r8QOV3gBXnRXEjVW
25
- 9xi+EdVOkTV2/AVFKThcbTAQGiF/bT1n2M+B1GTybRzMg6hyhOJeGPqIhLfJEpxn
26
- lJi4+ENAVT4MpqHEAGB8yFoPC0GqiOHQsdHxQV3P3c2OZqG+yJey74QtwA2tLcLn
27
- Q53c63+VLGsOjODl1yPn/2ejyq8qWu6ahfTxiIlSar2UbwtaQGBDFdb2CXgEufXT
28
- L7oaPxlmj+Q2oLOfOnInd2Oxop59HoJCQPsg8f921J43NCQGA8VHK6paxIRDLQID
29
- AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUvgTdT7fe
30
- x17ugO3IOsjEJwW7KP4wDQYJKoZIhvcNAQEFBQADggEBAFmIAhRT0awqLQN9e4Uv
31
- ZEk+jUWv4zkb+TWiKFJXlwjPyjGbZY9gVfOwAwMibYOK/t/+57ZzW3d0L12OUwvo
32
- on84NVvYtIr1/iskJFWFkMoIquAFCdi9p68stSPMQK2XcrJJuRot29fJtropsZBa
33
- 2cpaNd/sRYdK4oep2usdKifA1lI0hIkPb3r5nLfwG2lAqBH7WZsUICHcTgR0VEbG
34
- z9Ug5qQp9Uz73xC9YdGvGiuOX53LYobHAR4MWi2xxDlHI+ER8mRz0eY2FUuNu/Wj
35
- GrqF74zpLl7/KFdHC8VmzwZS18hvDjxeLVuVI2gIGnBInqnlqv05g/l4/1pISh5j
36
- dS4=
37
- -----END CERTIFICATE-----
38
- date: 2014-10-06 00:00:00.000000000 Z
16
+ cert_chain: []
17
+ date: 2016-01-21 00:00:00.000000000 Z
39
18
  dependencies:
40
19
  - !ruby/object:Gem::Dependency
41
20
  name: rdoc
@@ -71,20 +50,48 @@ dependencies:
71
50
  - - ">="
72
51
  - !ruby/object:Gem::Version
73
52
  version: 0.9.1
53
+ - !ruby/object:Gem::Dependency
54
+ name: rake-compiler-dock
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: 0.5.0
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: 0.5.0
67
+ - !ruby/object:Gem::Dependency
68
+ name: mini_portile2
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '2.1'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '2.1'
74
81
  - !ruby/object:Gem::Dependency
75
82
  name: hoe
76
83
  requirement: !ruby/object:Gem::Requirement
77
84
  requirements:
78
85
  - - "~>"
79
86
  - !ruby/object:Gem::Version
80
- version: '3.13'
87
+ version: '3.14'
81
88
  type: :development
82
89
  prerelease: false
83
90
  version_requirements: !ruby/object:Gem::Requirement
84
91
  requirements:
85
92
  - - "~>"
86
93
  - !ruby/object:Gem::Version
87
- version: '3.13'
94
+ version: '3.14'
88
95
  description: Glut bindings for OpenGL. To be used with the {opengl}[https://github.com/larskanis/opengl]
89
96
  gem.
90
97
  email:
@@ -120,6 +127,8 @@ files:
120
127
  - lib/glut/1.9/glut.so
121
128
  - lib/glut/2.0/glut.so
122
129
  - lib/glut/2.1/glut.so
130
+ - lib/glut/2.2/glut.so
131
+ - lib/glut/2.3/glut.so
123
132
  - lib/glut/dummy.rb
124
133
  homepage:
125
134
  licenses:
@@ -143,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
152
  version: '0'
144
153
  requirements: []
145
154
  rubyforge_project:
146
- rubygems_version: 2.4.2
155
+ rubygems_version: 2.5.1
147
156
  signing_key:
148
157
  specification_version: 4
149
158
  summary: Glut bindings for OpenGL
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file