atk 0.90.2 → 0.90.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +2 -1
  2. data/ext/atk/depend +4 -3
  3. data/ext/atk/extconf.rb +1 -1
  4. metadata +8 -8
data/Rakefile CHANGED
@@ -38,7 +38,8 @@ spec = Gem::Specification.new do |s|
38
38
  s.homepage = "http://ruby-gnome2.sourceforge.jp/"
39
39
  s.version = version
40
40
  s.platform = Gem::Platform::RUBY
41
- s.add_dependency("glib2", "= #{version}")
41
+ compatible_version = version.split(/\./)[0, 3].join(".")
42
+ s.add_dependency("glib2", ">= #{compatible_version}")
42
43
  s.extensions = FileList["ext/#{package_name}/extconf.rb"]
43
44
  s.require_paths = ["lib"]
44
45
  s.files = FileList["ChangeLog", "README", "Rakefile", "extconf.rb",
data/ext/atk/depend CHANGED
@@ -2,7 +2,8 @@ install-so:
2
2
  $(INSTALL_DATA) $(srcdir)/rbatk.h $(RUBYARCHDIR)
3
3
  $(INSTALL_DATA) rbatkversion.h $(RUBYARCHDIR)
4
4
 
5
-
6
5
  install:
7
- $(MAKEDIRS) $(libdir)/pkgconfig
8
- $(INSTALL_DATA) ruby-atk.pc $(libdir)/pkgconfig
6
+ if test -n "$(pkgconfigdir)"; then \
7
+ $(MAKEDIRS) $(pkgconfigdir); \
8
+ $(INSTALL_DATA) ruby-atk.pc $(pkgconfigdir); \
9
+ fi
data/ext/atk/extconf.rb CHANGED
@@ -11,7 +11,7 @@ top_build_dir = Pathname(".").parent.parent.parent.expand_path
11
11
  mkmf_gnome2_dir = top_dir + "glib2" + 'lib'
12
12
  version_suffix = ""
13
13
  unless mkmf_gnome2_dir.exist?
14
- if /(-\d+\.\d+\.\d+)\z/ =~ base_dir.basename.to_s
14
+ if /(-\d+\.\d+\.\d+)(?:\.\d+)?\z/ =~ base_dir.basename.to_s
15
15
  version_suffix = $1
16
16
  mkmf_gnome2_dir = top_dir + "glib2#{version_suffix}" + 'lib'
17
17
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 371
4
+ hash: 369
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
- - 2
10
- version: 0.90.2
9
+ - 3
10
+ version: 0.90.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-25 00:00:00 +09:00
18
+ date: 2010-10-23 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -24,14 +24,14 @@ dependencies:
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - "="
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 371
29
+ hash: 369
30
30
  segments:
31
31
  - 0
32
32
  - 90
33
- - 2
34
- version: 0.90.2
33
+ - 3
34
+ version: 0.90.3
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: Ruby/ATK is a Ruby binding of ATK-1.0.x.