chipmunk 5.3.4.2 → 5.3.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README +10 -1
- data/Rakefile +12 -11
- metadata +9 -18
data/README
CHANGED
@@ -3,7 +3,7 @@ Ruby Bindings to Chipmunk Physics Version 5.3.4
|
|
3
3
|
(C) Scott Lembcke, Beoran and John Mair (banisterfiend)
|
4
4
|
|
5
5
|
IMPORTANT NOTICE:
|
6
|
-
|
6
|
+
This is version 5.3.4.2 of the bindings for MRI Ruby 1.8.x and 1.9.x to
|
7
7
|
Chipmunk version 5.3.4.
|
8
8
|
|
9
9
|
(1) 1/10/09 Cross-Platform Gem built by John Mair (banisterfiend)
|
@@ -40,6 +40,14 @@ ABOUT THESE RUBY BINDINGS:
|
|
40
40
|
https://github.com/beoran/chipmunk/issues
|
41
41
|
|
42
42
|
INSTALLATION
|
43
|
+
Clone this repository, go into the ext directory and do
|
44
|
+
ruby extconf.rb ; make ; make install
|
45
|
+
|
46
|
+
There is a gem available but due to incompatilties in the latest versions of
|
47
|
+
Rake, Rake-Compiler and rubygems, the gem method of installation may fail for
|
48
|
+
you. This will be solved when these incompatinilities are solved by these
|
49
|
+
upstream tools.
|
50
|
+
|
43
51
|
These bindings vendor Chipmunk 5.3.4 with a few extra patches, so a gem
|
44
52
|
install chipmunk should do the trick. Optionally, the C chipmunk library
|
45
53
|
may be installed separately. To compile without vendoring, go to the
|
@@ -72,6 +80,7 @@ TODO:
|
|
72
80
|
* Try to prevent segfauts on incorrect use of certain methods, if possible.
|
73
81
|
* Get ready for chipmunk 5.3.5 and 6.x when they come out.
|
74
82
|
* Some more specs.
|
83
|
+
* Fix the gem when the upstream tools get fixed.
|
75
84
|
|
76
85
|
INFO FOR MAINTAINERS:
|
77
86
|
|
data/Rakefile
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Rakefile added by John Mair (banisterfiend)
|
2
2
|
|
3
|
-
# require '
|
4
|
-
require 'psych'
|
3
|
+
# require 'psych'
|
5
4
|
require 'rake'
|
6
5
|
require 'rake/clean'
|
7
6
|
require 'rubygems'
|
@@ -18,7 +17,7 @@ rescue LoadError
|
|
18
17
|
# puts "...done!"
|
19
18
|
end
|
20
19
|
|
21
|
-
CHIPMUNK_VERSION = "5.3.4.
|
20
|
+
CHIPMUNK_VERSION = "5.3.4.3"
|
22
21
|
VENDORED_CHIPMUNK = 'chipmunk-5.3.4'
|
23
22
|
VENDORED_SRC_DIR = File.join('vendor', VENDORED_CHIPMUNK, 'src')
|
24
23
|
VENDORED_SRC_DIR2 = File.join('vendor', VENDORED_CHIPMUNK, 'src', 'constraints')
|
@@ -84,16 +83,18 @@ else
|
|
84
83
|
s.files = ["Rakefile", "README", "LICENSE", "lib/chipmunk.rb"] +
|
85
84
|
FileList["ext/**/extconf.rb", "ext/**/*.h", "ext/**/*.c"].to_a
|
86
85
|
end
|
86
|
+
|
87
|
+
# add your default gem packing task
|
88
|
+
Gem::PackageTask.new(spec) do |pkg|
|
89
|
+
pkg.need_zip = false
|
90
|
+
pkg.need_tar = false
|
91
|
+
end
|
87
92
|
|
88
93
|
Rake::ExtensionTask.new('chipmunk', spec) do |ext|
|
89
|
-
|
90
|
-
|
91
|
-
|
94
|
+
ext.config_script = 'extconf.rb'
|
95
|
+
ext.cross_compile = true
|
96
|
+
ext.cross_platform = 'i586-mingw32'
|
92
97
|
# ext.cross_platform = 'i386-mswin32'
|
93
98
|
end
|
94
99
|
|
95
|
-
|
96
|
-
pkg.need_zip = false
|
97
|
-
pkg.need_tar = false
|
98
|
-
end
|
99
|
-
end
|
100
|
+
end
|
metadata
CHANGED
@@ -1,21 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chipmunk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.4.
|
5
|
-
|
6
|
-
- 5
|
7
|
-
- 3
|
8
|
-
- 4
|
9
|
-
- 2
|
10
|
-
prerelease: false
|
4
|
+
version: 5.3.4.3
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Scott Lembcke, Beoran, John Mair (banisterfiend)
|
14
|
-
autorequire:
|
9
|
+
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
date: 2011-05-
|
18
|
-
default_executable:
|
12
|
+
date: 2011-05-23 00:00:00.000000000 +02:00
|
13
|
+
default_executable:
|
19
14
|
dependencies: []
|
20
15
|
description: ! 'Enhanced ruby bindings for the chipmunk 5.3.4 game physics engine. '
|
21
16
|
email: beoran@rubyforge.org
|
@@ -96,7 +91,7 @@ files:
|
|
96
91
|
has_rdoc: true
|
97
92
|
homepage: https://github.com/beoran/chipmunk
|
98
93
|
licenses: []
|
99
|
-
post_install_message:
|
94
|
+
post_install_message:
|
100
95
|
rdoc_options: []
|
101
96
|
require_paths:
|
102
97
|
- lib
|
@@ -106,20 +101,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
106
101
|
- - ! '>='
|
107
102
|
- !ruby/object:Gem::Version
|
108
103
|
version: '0'
|
109
|
-
segments:
|
110
|
-
- 0
|
111
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
105
|
none: false
|
113
106
|
requirements:
|
114
107
|
- - ! '>='
|
115
108
|
- !ruby/object:Gem::Version
|
116
109
|
version: '0'
|
117
|
-
segments:
|
118
|
-
- 0
|
119
110
|
requirements: []
|
120
|
-
rubyforge_project:
|
121
|
-
rubygems_version: 1.
|
122
|
-
signing_key:
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 1.6.1
|
113
|
+
signing_key:
|
123
114
|
specification_version: 3
|
124
115
|
summary: Enhanced ruby bindings for the chipmunk 5.3.4 game physics engine.
|
125
116
|
test_files: []
|