gosu 0.8.5.pre1 → 0.8.5

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: f2c16c544b29566336bef5eb0917347074eb4d67
4
- data.tar.gz: d1566b015e4972b8ed692933ac2b29963372ca1c
3
+ metadata.gz: f30ea317b2239af9260f8ba6ede7a73a5ad19bf6
4
+ data.tar.gz: 943d45a6bc1e34190f7cf2730fe4f267feee4258
5
5
  SHA512:
6
- metadata.gz: b59cd681626bfebb1a45ad085cd71bff6345ca85c0fa6d339d46240c07fa83fe0b23b54aafdea0f26b0a80427b38b62a9d19711d52cb163c2a2bbd333886f2c5
7
- data.tar.gz: 6a20dc0649703ded80053c78c7ff354502f8298d63db5d2550c5fa6739a4bdca8c12b7d18bb2c756ee7ff0f758134ada161b251cf37dd1b8789937122a5ec179
6
+ metadata.gz: f90f837816f20812b0ed46056cc31820a22efd53f971b3474c5bbb725f5d264705eac43a4670a87b0185eac913514e2ecdf7247fae4d701ac0c6cffcdd2cd6aa
7
+ data.tar.gz: fef5e78ae838d5d918cd79b5c2ddf056f223921666b664d08ecda60f211326d9496f9d5b6be39518f98f3e4a5b84425f7ab372c5f7875e0555a7a030c91f71d0
@@ -4,7 +4,7 @@
4
4
  #define GOSU_MAJOR_VERSION 0
5
5
  #define GOSU_MINOR_VERSION 8
6
6
  #define GOSU_POINT_VERSION 5
7
- #define GOSU_VERSION "0.8.5.pre1"
7
+ #define GOSU_VERSION "0.8.5"
8
8
 
9
9
  #define GOSU_COPYRIGHT_NOTICE \
10
10
  "This software uses the following third-party libraries:\n" \
@@ -65,6 +65,7 @@ require 'fileutils'
65
65
 
66
66
  # Silence internal deprecation warnings in Gosu
67
67
  $CFLAGS << " -DGOSU_DEPRECATED="
68
+ $CXXFLAGS ||= ''
68
69
 
69
70
  $INCFLAGS << " -I../.. -I../../src"
70
71
 
@@ -81,11 +82,16 @@ if `uname`.chomp == 'Darwin' then
81
82
  # Also undefine two debug flags that cause exceptions to randomly crash, see:
82
83
  # https://trac.macports.org/ticket/27237#comment:21
83
84
  # http://newartisans.com/2009/10/a-c-gotcha-on-snow-leopard/#comment-893
84
- CONFIG['CXXFLAGS'] = "#{CONFIG['CXXFLAGS']} -I/usr/local/include -x objective-c++ -U_GLIBCXX_DEBUG -U_GLIBCXX_DEBUG_PEDANTIC"
85
+ $CXXFLAGS << " -I/usr/local/include -x objective-c++ -U_GLIBCXX_DEBUG -U_GLIBCXX_DEBUG_PEDANTIC"
85
86
  if `uname -r`.to_i >= 13 then
86
- # Use C++11 on Mavericks and above
87
- # TODO: This can probably be enabled starting from 10.6?
88
- CONFIG['CXXFLAGS'] << " -stdlib=libc++ -std=gnu++11"
87
+ # rvm-specific fix:
88
+ # Explicitly set libc++ as the C++ standard library. Otherwise the gem will
89
+ # end up being compiled against libstdc++, but linked against libc++, and
90
+ # fail to load, see: https://github.com/shawn42/gamebox/issues/96
91
+ $CXXFLAGS << " -stdlib=libc++"
92
+ # Enable C++ 11 on Mavericks and above. Gosu will not compile without this,
93
+ # as
94
+ $CXXFLAGS << " -std=gnu++11"
89
95
  end
90
96
 
91
97
  $LDFLAGS << " -liconv"
@@ -137,8 +143,11 @@ SOURCE_FILES.each do |file|
137
143
  end
138
144
 
139
145
  if RUBY_VERSION >= '2.0.0' then
146
+ # In some versions of Ruby 2.x, the $CXXFLAGS variable is ignored, and $CLAGS
147
+ # are not being inherited into it either. In these versions of Ruby we can
148
+ # modify CONFIG instead, and our changes will end up in the Makefile.
140
149
  # See http://bugs.ruby-lang.org/issues/8315
141
- CONFIG['CXXFLAGS'] = "#$CFLAGS #{CONFIG['CXXFLAGS']}"
150
+ CONFIG['CXXFLAGS'] = "#$CFLAGS #$CXXFLAGS"
142
151
  end
143
152
 
144
153
  create_makefile 'gosu'
@@ -10877,7 +10877,7 @@ SWIGEXPORT void Init_gosu(void) {
10877
10877
  rb_define_const(mGosu, "MAJOR_VERSION", SWIG_From_int(static_cast< int >(0)));
10878
10878
  rb_define_const(mGosu, "MINOR_VERSION", SWIG_From_int(static_cast< int >(8)));
10879
10879
  rb_define_const(mGosu, "POINT_VERSION", SWIG_From_int(static_cast< int >(5)));
10880
- rb_define_const(mGosu, "VERSION", SWIG_FromCharPtr("0.8.5.pre1"));
10880
+ rb_define_const(mGosu, "VERSION", SWIG_FromCharPtr("0.8.5"));
10881
10881
  rb_define_const(mGosu, "GOSU_COPYRIGHT_NOTICE", SWIG_FromCharPtr("This software uses the following third-party libraries:\n\nGosu, http://www.libgosu.org, MIT License, http://opensource.org/licenses/MIT\nSDL 2, http://www.libsdl.org, MIT License, http://opensource.org/licenses/MIT\nFreeImage, http://freeimage.sourceforge.net, FreeImage Public License\nlibogg & libvorbis, http://www.xiph.org, BSD License, 3-Clause Version, http://www.xiph.org/licenses/bsd\nlibsndfile, http://www.mega-nerd.com/libsndfile, GNU LGPL 3, http://www.gnu.org/copyleft/lesser.html\nOpenAL Soft, http://kcat.strangesoft.net/openal.html, GNU LGPL 2, http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html\n"));
10882
10882
  rb_define_module_function(mGosu, "milliseconds", VALUEFUNC(_wrap_milliseconds), -1);
10883
10883
  rb_define_module_function(mGosu, "random", VALUEFUNC(_wrap_random), -1);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5.pre1
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Raschke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-09 00:00:00.000000000 Z
11
+ date: 2014-09-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  2D game development library.
@@ -170,17 +170,17 @@ require_paths:
170
170
  - lib
171
171
  required_ruby_version: !ruby/object:Gem::Requirement
172
172
  requirements:
173
- - - '>='
173
+ - - ">="
174
174
  - !ruby/object:Gem::Version
175
175
  version: 1.8.2
176
176
  required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - '>'
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
- version: 1.3.1
180
+ version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.3.0
183
+ rubygems_version: 2.2.2
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: 2D game development library.