glut 8.2.1-x64-mingw32 → 8.2.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.rdoc +5 -0
- data/Rakefile +10 -0
- data/ext/glut/common.h +7 -3
- data/ext/glut/extconf.rb +4 -1
- data/ext/glut/glut_ext.c +16 -0
- data/lib/glut.rb +1 -1
- data/lib/glut/2.0/glut.so +0 -0
- data/lib/glut/2.1/glut.so +0 -0
- data/lib/glut/2.2/glut.so +0 -0
- data/lib/glut/2.3/glut.so +0 -0
- metadata +36 -27
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cc51fecc137bc283eac4f47803b520caa562e0d
|
4
|
+
data.tar.gz: 54ab1295651af64b48a79ae73b46b248767a79d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc518f98efa4783723f1bab04f78a461535277604950f07028569f2f5531570a8f5ce4703ca79d7859a878a02dc30dd8c102d8cff24128550a1d4b4766239dad
|
7
|
+
data.tar.gz: cb4f04b125052d0784f6689fa68ff151066fd15a1acd329c84108543b3ab837e1ebb31f006292de763c9fa3833745a38ea75eecbfedf9d50710e06a22900f992
|
data/History.rdoc
CHANGED
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
|
data/ext/glut/common.h
CHANGED
@@ -25,12 +25,16 @@
|
|
25
25
|
#include <ruby.h>
|
26
26
|
#include "extconf.h"
|
27
27
|
|
28
|
-
#ifdef
|
29
|
-
#include <
|
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/
|
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
|
data/ext/glut/extconf.rb
CHANGED
@@ -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 "
|
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
|
|
data/ext/glut/glut_ext.c
CHANGED
@@ -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
|
}
|
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
|
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.
|
4
|
+
version: 8.2.2
|
5
5
|
platform: x64-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.
|
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.
|
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:
|
@@ -119,6 +126,8 @@ files:
|
|
119
126
|
- lib/glut.rb
|
120
127
|
- lib/glut/2.0/glut.so
|
121
128
|
- lib/glut/2.1/glut.so
|
129
|
+
- lib/glut/2.2/glut.so
|
130
|
+
- lib/glut/2.3/glut.so
|
122
131
|
- lib/glut/dummy.rb
|
123
132
|
homepage:
|
124
133
|
licenses:
|
@@ -142,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
151
|
version: '0'
|
143
152
|
requirements: []
|
144
153
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
154
|
+
rubygems_version: 2.5.1
|
146
155
|
signing_key:
|
147
156
|
specification_version: 4
|
148
157
|
summary: Glut bindings for OpenGL
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED