rubysdl 2.1.3 → 2.1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e47d0114895f3de3efd54d6a7f4d9e2270948301
4
+ data.tar.gz: 68395f695e0031ce2d21d53743d0bb54205080a6
5
+ SHA512:
6
+ metadata.gz: 364995697c008f59dfff6c7de81d64344ec72ac12ab1db039f68205d4d3d9fdea178ba5e40206859bb1ad488885218d7583ae89dba5b75e7c83b8f0001de08dc
7
+ data.tar.gz: 469bba76d2c89786aa6a2e1a8ef176721d605823496180575cb4a47ed581dcd18a7259b89c49eef8b2a5b477346df029d007fae89c8f32644d16672b021e449c
data/NEWS.en CHANGED
@@ -1,3 +1,7 @@
1
+ version 2.1.3.1
2
+ Change the name of the option for bundled SGE
3
+ Change the way of workaround for -Dmain=SDL_main on Windows platform
4
+
1
5
  version 2.1.3
2
6
  Fix following methods
3
7
  * SDL::TTF#draw*
data/NEWS.ja CHANGED
@@ -1,3 +1,7 @@
1
+ version 2.1.3.1
2
+ $B%P%s%I%k$7$?(BSGE$B$r;H$&$?$a$N%*%W%7%g%sL>$rJQ99(B
3
+ Windows $B$,(B CFLAGS $B$K(B -Dmain=SDL_main $B$H$$$&$N$r4^$s$G$$$k$3$H$X$NBP=hK!$rJQ99(B
4
+
1
5
  version 2.1.3
2
6
  $B0J2<$N%a%=%C%I$N%P%0$r=$@5(B
3
7
  * SDL::TTF#draw*
data/README.en CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- Ruby/SDL 2.1.3
2
+ Ruby/SDL 2.1.3.1
3
3
  Ohbayashi Ippei
4
4
 
5
5
  = What's Ruby/SDL
@@ -65,9 +65,9 @@ You can install from source code as follows:
65
65
 
66
66
  = Use SGE without installing the library
67
67
  You can use SGE without intalling:
68
- gem install rubysdl -- --enable-imported-sge
68
+ gem install rubysdl -- --enable-bundled-sge
69
69
  or
70
- ruby extconf.rb --enable-imported-sge
70
+ ruby extconf.rb --enable-bundled-sge
71
71
 
72
72
  However, please do not use this option if you have
73
73
  other way. Please install SGE separately if possible.
data/README.ja CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- Ruby/SDL 2.1.3
2
+ Ruby/SDL 2.1.3.1
3
3
  ���Ӱ�ʿ
4
4
 
5
5
  = ����
@@ -73,9 +73,9 @@ gem
73
73
 
74
74
  = SGE�򥤥󥹥ȡ��뤻���˻Ȥ�
75
75
  Ruby/SDL�������� SGE ����äƤ��ޤ���
76
- gem install rubysdl -- --enable-imported-sge
76
+ gem install rubysdl -- --enable-bundled-sge
77
77
  �⤷����
78
- ruby extconf.rb --enable-imported-sge
78
+ ruby extconf.rb --enable-bundled-sge
79
79
  �ǻȤ��ޤ���
80
80
 
81
81
  �����������λ��ȤߤϤǤ���лȤ�ʤ��Ǥ���������
data/extconf.rb CHANGED
@@ -7,24 +7,8 @@ else
7
7
  sdl_config = with_config('sdl-config', 'sdl-config')
8
8
  $CPPFLAGS += " " + `#{sdl_config} --cflags`.chomp
9
9
  $LOCAL_LIBS += ' ' + `#{sdl_config} --libs`.chomp
10
-
11
- if /-Dmain=SDL_main/ =~ $CPPFLAGS then
12
- def try_func(func, libs, headers = nil, &b)
13
- headers = cpp_include(headers)
14
- try_link(<<"SRC", libs, &b) or try_link(<<"SRC", libs, &b)
15
- #{headers}
16
- /*top*/
17
- int main(int argc,char** argv) { return 0; }
18
- int t() { #{func}(); return 0; }
19
- SRC
20
- #{COMMON_HEADERS}
21
- #{headers}
22
- /*top*/
23
- int main(int argc,char** argv) { return 0; }
24
- int t() { void ((*volatile p)()); p = (void ((*)()))#{func}; return 0; }
25
- SRC
26
- end
27
- end
10
+
11
+ $CPPFLAGS.gsub!(/-Dmain=SDL_main/, "")
28
12
  end
29
13
 
30
14
  if enable_config("static-libs",false) then
@@ -60,8 +44,8 @@ end
60
44
  if have_library("SDL_ttf","TTF_Init") then
61
45
  $CPPFLAGS+= " -D HAVE_SDL_TTF "
62
46
  end
63
- use_imported_sge = enable_config("imported-sge", false)
64
- if use_imported_sge
47
+ use_bundled_sge = enable_config("bundled-sge", false)
48
+ if use_bundled_sge
65
49
  $CPPFLAGS+= " -Isge -D HAVE_SGE "
66
50
  else
67
51
  if have_library("SGE","sge_Line") then
@@ -105,7 +89,7 @@ if enable_config("opengl",true) then
105
89
  end
106
90
  end
107
91
 
108
- if use_imported_sge
92
+ if use_bundled_sge
109
93
  $srcs += Dir.glob(File.join($srcdir, "sge/*.cpp"))
110
94
  $objs = $srcs.map{|fname| fname.sub(/\.(c|cpp)\Z/, ".o") }
111
95
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rubysdl"
5
- spec.version = "2.1.3"
5
+ spec.version = "2.1.3.1"
6
6
  spec.summary = "The simple ruby extension library to use SDL"
7
7
  spec.description = <<-EOS
8
8
  Ruby/SDL is an extension library to use SDL(Simple DirectMedia
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
13
13
  spec.rubyforge_project = "rubysdl"
14
14
  spec.author = "Ohbayashi Ippei"
15
15
  spec.email = "ohai@kmc.gr.jp"
16
- spec.homepage = "http://www.kmc.gr.jp/~ohai/"
16
+ spec.homepage = "http://www.kmc.gr.jp/~ohai/rubysdl.en.html"
17
17
  spec.files = `git ls-files`.split(/\n/)
18
18
  spec.test_files = []
19
19
  spec.extensions = ["extconf.rb"]
@@ -4,7 +4,7 @@ RBENV_VERSION=trunk-modified ruby extconf.rb
4
4
  make clean; make
5
5
  RBENV_VERSION=trunk-modified ruby -I lib -I. sample/sgetest.rb
6
6
 
7
- RBENV_VERSION=trunk-modified ruby extconf.rb --enable-imported-sge
7
+ RBENV_VERSION=trunk-modified ruby extconf.rb --enable-bundled-sge
8
8
  make clean; make
9
9
  RBENV_VERSION=trunk-modified ruby -I lib -I. sample/sgetest.rb
10
10
 
@@ -12,7 +12,7 @@ ruby extconf.rb
12
12
  make clean; make
13
13
  ruby -I lib -I. sample/sgetest.rb
14
14
 
15
- ruby extconf.rb --enable-imported-sge
15
+ ruby extconf.rb --enable-bundled-sge
16
16
  make clean; make
17
17
  ruby -I lib -I. sample/sgetest.rb
18
18
 
@@ -20,7 +20,7 @@ ruby1.9.1 extconf.rb
20
20
  make clean; make
21
21
  ruby1.9.1 -I lib -I. sample/sgetest.rb
22
22
 
23
- ruby1.9.1 extconf.rb --enable-imported-sge
23
+ ruby1.9.1 extconf.rb --enable-bundled-sge
24
24
  make clean; make
25
25
  ruby1.9.1 -I lib -I. sample/sgetest.rb
26
26
 
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysdl
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
5
- prerelease:
4
+ version: 2.1.3.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ohbayashi Ippei
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-16 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! " Ruby/SDL is an extension library to use SDL(Simple DirectMedia\n
13
+ description: " Ruby/SDL is an extension library to use SDL(Simple DirectMedia\n
15
14
  \ Layer). This library enables you to control audio, keyboard,\n mouse, joystick,
16
15
  3D hardware via OpenGL, and 2D video \n framebuffer. Ruby/SDL is used by games
17
16
  and visual demos.\n"
@@ -157,29 +156,27 @@ files:
157
156
  - win32/README.ja.win32
158
157
  - win32/install_rubysdl.rb
159
158
  - win32/mkpkg.sh
160
- homepage: http://www.kmc.gr.jp/~ohai/
159
+ homepage: http://www.kmc.gr.jp/~ohai/rubysdl.en.html
161
160
  licenses: []
161
+ metadata: {}
162
162
  post_install_message:
163
163
  rdoc_options: []
164
164
  require_paths:
165
165
  - lib
166
166
  required_ruby_version: !ruby/object:Gem::Requirement
167
- none: false
168
167
  requirements:
169
- - - ! '>='
168
+ - - ">="
170
169
  - !ruby/object:Gem::Version
171
170
  version: '0'
172
171
  required_rubygems_version: !ruby/object:Gem::Requirement
173
- none: false
174
172
  requirements:
175
- - - ! '>='
173
+ - - ">="
176
174
  - !ruby/object:Gem::Version
177
175
  version: '0'
178
176
  requirements: []
179
177
  rubyforge_project: rubysdl
180
- rubygems_version: 1.8.23
178
+ rubygems_version: 2.2.0
181
179
  signing_key:
182
- specification_version: 3
180
+ specification_version: 4
183
181
  summary: The simple ruby extension library to use SDL
184
182
  test_files: []
185
- has_rdoc: false