rsvg2 0.90.2 → 0.90.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/ChangeLog +9 -0
  2. data/Rakefile +8 -2
  3. data/ext/rsvg2/extconf.rb +1 -1
  4. metadata +5 -4
data/ChangeLog CHANGED
@@ -1,3 +1,12 @@
1
+ 2010-09-29 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * Rakefile: fix dependencies.
4
+
5
+ * Rakefile: add missing gdk-pixbuf dependency.
6
+
7
+ * Rakefile: add missing libcroco dependency.
8
+ Reported by U.Nakamura. Thanks!!!
9
+
1
10
  2010-09-26 Kouhei Sutou <kou@cozmixng.org>
2
11
 
3
12
  * ext/rsvg2/rbrsvg.c: also check rb_cairo.h availability.
data/Rakefile CHANGED
@@ -39,7 +39,8 @@ spec = Gem::Specification.new do |s|
39
39
  s.version = version
40
40
  s.platform = Gem::Platform::RUBY
41
41
  s.add_dependency("cairo", ">= 1.10.0")
42
- s.add_dependency("glib2", "= #{version}")
42
+ compatible_version = version.split(/\./)[0, 3].join(".")
43
+ s.add_dependency("glib2", ">= #{compatible_version}")
43
44
  s.extensions = FileList["ext/#{package_name}/extconf.rb"]
44
45
  s.require_paths = ["lib"]
45
46
  s.files = FileList["ChangeLog", "README", "Rakefile", "extconf.rb",
@@ -69,6 +70,11 @@ namespace :win32 do
69
70
  task :download do
70
71
  $LOAD_PATH.unshift((@rb_glib2_dir + "lib").to_s)
71
72
  require 'gnome2-win32-binary-downloader'
72
- GNOME2Win32BinaryDownloader.download(:packages => ["gtk+", "librsvg"])
73
+ packages = ["glib", "atk", "gdk-pixbuf", "pango", "gtk+",
74
+ "librsvg", "libcroco"]
75
+ dependencies = ["gettext-runtime", "zlib", "freetype", "expat",
76
+ "fontconfig", "cairo", "libpng"]
77
+ GNOME2Win32BinaryDownloader.download(:packages => packages,
78
+ :dependencies => dependencies)
73
79
  end
74
80
  end
@@ -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,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsvg2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 371
4
+ hash: 661
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
9
  - 2
10
- version: 0.90.2
10
+ - 1
11
+ version: 0.90.2.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-09-26 00:00:00 +09:00
19
+ date: 2010-10-03 00:00:00 +09:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
@@ -40,7 +41,7 @@ dependencies:
40
41
  requirement: &id002 !ruby/object:Gem::Requirement
41
42
  none: false
42
43
  requirements:
43
- - - "="
44
+ - - ">="
44
45
  - !ruby/object:Gem::Version
45
46
  hash: 371
46
47
  segments: