rsvg2 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +63 -7
  3. data/ext/rsvg2/extconf.rb +4 -1
  4. metadata +14 -20
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4a653492c550544126fff59b325e98f2318a1fdb
4
+ data.tar.gz: 06aadf526a2115e2e2beb9f0fce480f1d14c6c09
5
+ SHA512:
6
+ metadata.gz: ef193ba2f719ae4836dc8a94b8aa21fd9a03f9598d2fe4254f59cdc75c94de8ed50be00afb2ba8e0f46827447620dfcb2b5ccff8082536a90c8c6442470e5e86
7
+ data.tar.gz: edb1d0b5f5d0e0973667cd474741e3d359d63a8a15031587f74f80d02f7cbd303184d16e1a8b75f9970528eb2595e25e1aa469093611d309600dd60af1f6523e
data/Rakefile CHANGED
@@ -1,14 +1,70 @@
1
1
  # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2010-2013 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2
18
 
3
19
  $LOAD_PATH.unshift("./../glib2/lib")
4
20
  require 'gnome2-raketask'
5
21
 
6
- package = GNOME2Package.new do |_package|
7
- _package.summary = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
8
- _package.description = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
9
- _package.dependency.gem.runtime = [["cairo", ">= 1.10.0"], "gdk_pixbuf2"]
10
- _package.win32.packages = ["librsvg", "libcroco"]
11
- _package.win32.dependencies = ["libxml2"]
22
+ package_task = GNOME2::Rake::PackageTask.new do |package|
23
+ package.summary = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
24
+ package.description = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
25
+ package.dependency.gem.runtime = [["cairo", ">= 1.12.8"], "gdk_pixbuf2"]
26
+ package.windows.packages = []
27
+ package.windows.dependencies = []
28
+ package.windows.build_dependencies = [
29
+ "glib2",
30
+ "gobject-introspection",
31
+ "pango",
32
+ "gdk_pixbuf2",
33
+ ]
34
+ package.windows.gobject_introspection_dependencies = [
35
+ "gdk_pixbuf2",
36
+ ]
37
+ package.external_packages = [
38
+ {
39
+ :name => "libcroco",
40
+ :download_site => :gnome,
41
+ :label => "libcroco",
42
+ :version => "0.6.8",
43
+ :compression_method => "xz",
44
+ :windows => {
45
+ :configure_args => [
46
+ "--enable-introspection",
47
+ ],
48
+ :built_file => "bin/libcroco-0.6-3.dll",
49
+ },
50
+ },
51
+ {
52
+ :name => "librsvg",
53
+ :download_site => :gnome,
54
+ :label => "librsvg",
55
+ :version => "2.40.1",
56
+ :compression_method => "xz",
57
+ :windows => {
58
+ :configure_args => [
59
+ "--enable-introspection",
60
+ ],
61
+ :patches => [
62
+ "librsvg-2.40.1-replace-canonicalize-file-name.diff",
63
+ ],
64
+ :built_file => "bin/librsvg-2-2.dll",
65
+ },
66
+ },
67
+ ]
12
68
  end
13
- package.define_tasks
69
+ package_task.define
14
70
 
@@ -51,7 +51,10 @@ rcairo_source_dir_names.each do |rcairo_source_dir_name|
51
51
  break
52
52
  end
53
53
  end
54
- check_cairo(rcairo_options)
54
+
55
+ unless check_cairo(rcairo_options)
56
+ exit(false)
57
+ end
55
58
 
56
59
  setup_win32(module_name, base_dir)
57
60
 
metadata CHANGED
@@ -1,48 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsvg2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
5
- prerelease:
4
+ version: 2.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - The Ruby-GNOME2 Project Team
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-26 00:00:00.000000000 Z
11
+ date: 2013-12-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: cairo
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
- version: 1.10.0
19
+ version: 1.12.8
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
- version: 1.10.0
26
+ version: 1.12.8
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: gdk_pixbuf2
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - '='
36
32
  - !ruby/object:Gem::Version
37
- version: 2.0.2
33
+ version: 2.0.3
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - '='
44
39
  - !ruby/object:Gem::Version
45
- version: 2.0.2
40
+ version: 2.0.3
46
41
  description: Ruby/RSVG is a Ruby binding of librsvg-2.x.
47
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
48
43
  executables: []
@@ -65,26 +60,25 @@ files:
65
60
  - sample/svg2.rb
66
61
  homepage: http://ruby-gnome2.sourceforge.jp/
67
62
  licenses: []
63
+ metadata: {}
68
64
  post_install_message:
69
65
  rdoc_options: []
70
66
  require_paths:
71
67
  - lib
72
68
  required_ruby_version: !ruby/object:Gem::Requirement
73
- none: false
74
69
  requirements:
75
- - - ! '>='
70
+ - - '>='
76
71
  - !ruby/object:Gem::Version
77
- version: 1.8.5
72
+ version: 1.9.3
78
73
  required_rubygems_version: !ruby/object:Gem::Requirement
79
- none: false
80
74
  requirements:
81
- - - ! '>='
75
+ - - '>='
82
76
  - !ruby/object:Gem::Version
83
77
  version: '0'
84
78
  requirements: []
85
79
  rubyforge_project:
86
- rubygems_version: 1.8.23
80
+ rubygems_version: 2.0.14
87
81
  signing_key:
88
- specification_version: 3
82
+ specification_version: 4
89
83
  summary: Ruby/RSVG is a Ruby binding of librsvg-2.x.
90
84
  test_files: []