rsvg2 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/Rakefile +1 -66
  4. data/lib/rsvg2.rb +1 -35
  5. data/rsvg2.gemspec +2 -2
  6. metadata +9 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e819d0f3b22a2a348a68c95832ada7e566d1fefd715dad000b612d4a84d75c4
4
- data.tar.gz: 7abb5fb2ebe16a9c98f957cfa663795882b15a1e7d22a65240ad71ba54a0bf59
3
+ metadata.gz: 92b20925819795b33443e54c22663fd15fcdbebcc823f547213d4e9cc66a8604
4
+ data.tar.gz: 8b846e0fba7571f1bb50055f718068ed6b6cfd7e8b5fff5590ddf1ee709c75a0
5
5
  SHA512:
6
- metadata.gz: e7a8512406dcfa5ff221aab1032a4b96ef6655ca7656690fcff238bb26f7c494d47dbfd0fff8f9a2a71573b6ba28436f448f3bdd83e44f37117a41aeef8d9618
7
- data.tar.gz: cbf24da5ae93c0a8f27c6df55703d8f76a190eaa080e6b031a984b1ebbcf66ea0b669a5f244f2351bba978757a188336048d78749d5cd732267e7a5b4dc800d6
6
+ metadata.gz: 8ba17e1f5a18d6147f918ad1f3838a4b6befca9d04ee4e1a600379fc0a8787138dbbffbf3670a38493fe440b4515345f62fcfa7bc680e56dfb70a046b11c8da8
7
+ data.tar.gz: d865074bfeb2d1c8479909173bbeff3c3809308ec383dc4482d346967e4e45faffb66f0c4ec50b794d92573d84bf77d7ad99e45af8b4bef8afc97c1d6a22d7d0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Ruby/Rsvg2
1
+ # Ruby/RSVG2
2
2
 
3
- Ruby/Rsvg2 is a Ruby binding of [Rsvg](https://developer.gnome.org/rsvg/) based on GObject-Introspection.
3
+ Ruby/RSVG2 is a Ruby binding of [librsvg](https://developer.gnome.org/rsvg/) based on GObject-Introspection.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -22,5 +22,5 @@ under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
22
22
 
23
23
  ## Project Websites
24
24
 
25
- * https://ruby-gnome2.osdn.jp/
26
- * https://github.com/ruby-gnome2/ruby-gnome2
25
+ * https://ruby-gnome2.osdn.jp/
26
+ * https://github.com/ruby-gnome2/ruby-gnome2
data/Rakefile CHANGED
@@ -17,75 +17,10 @@
17
17
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
19
  $LOAD_PATH.unshift("./../glib2/lib")
20
- require 'gnome2-raketask'
20
+ require "gnome2-raketask"
21
21
 
22
22
  package_name = File.basename(__dir__)
23
23
  spec = Gem::Specification.load("#{package_name}.gemspec")
24
24
 
25
25
  GNOME2::Rake::PackageTask.define(spec, __dir__) do |package|
26
- package.windows.packages = []
27
- package.windows.dependencies = []
28
- package.windows.build_dependencies = [
29
- "glib2",
30
- "gobject-introspection",
31
- "pango",
32
- "gdk_pixbuf2",
33
- "cairo-gobject",
34
- ]
35
- package.windows.gobject_introspection_dependencies = [
36
- "pango",
37
- "gdk_pixbuf2",
38
- "cairo-gobject",
39
- ]
40
- package.cross_compiling do |spec|
41
- if /mingw|mswin/ =~ spec.platform.to_s
42
- spec.add_runtime_dependency("pango", ">= #{package.version}")
43
- end
44
- end
45
-
46
- if package.windows.build_architecture == "x86"
47
- librsvg_version = "2.40.20"
48
- librsvg_windows_patches = []
49
- librsvg_windows_need_autoreconf = false
50
- librsvg_windows_force_to_disable_deplibs_check = false
51
- else
52
- librsvg_version = "2.42.3"
53
- librsvg_windows_patches = [
54
- "librsvg-2.42-cross-compile.diff"
55
- ]
56
- librsvg_windows_need_autoreconf = true
57
- librsvg_windows_force_to_disable_deplibs_check = true
58
- end
59
-
60
- package.external_packages = [
61
- {
62
- :name => "libcroco",
63
- :download_site => :gnome,
64
- :label => "libcroco",
65
- :version => "0.6.12",
66
- :compression_method => "xz",
67
- :windows => {
68
- :configure_args => [
69
- "--enable-introspection",
70
- ],
71
- :built_file => "bin/libcroco-0.6-3.dll",
72
- },
73
- },
74
- {
75
- :name => "librsvg",
76
- :download_site => :gnome,
77
- :label => "librsvg",
78
- :version => librsvg_version,
79
- :compression_method => "xz",
80
- :windows => {
81
- :configure_args => [
82
- "--enable-introspection",
83
- ],
84
- :patches => librsvg_windows_patches,
85
- :need_autoreconf => librsvg_windows_need_autoreconf,
86
- :force_to_disable_deplibs_check => librsvg_windows_force_to_disable_deplibs_check,
87
- :built_file => "bin/librsvg-2-2.dll",
88
- },
89
- },
90
- ]
91
26
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2017-2018 Ruby-GNOME2 Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -14,46 +14,12 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
- require "gobject-introspection"
18
17
  require "glib2"
19
18
  require "gio2"
20
19
  require "gdk_pixbuf2"
21
20
  require "cairo-gobject"
22
21
  require "cairo"
23
22
 
24
- base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
25
- vendor_dir = base_dir + "vendor" + "local"
26
- vendor_bin_dir = vendor_dir + "bin"
27
- GLib.prepend_dll_path(vendor_bin_dir)
28
- vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
29
- GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
30
-
31
- if vendor_dir.exist?
32
- require "pango"
33
-
34
- gdk_pixbuf2_spec = Gem.loaded_specs["gdk_pixbuf2"]
35
- gdk_pixbuf2_base_dir = Pathname.new(gdk_pixbuf2_spec.gem_dir)
36
- gdk_pixbuf2_module_dir =
37
- gdk_pixbuf2_base_dir + "vendor" + "local" + "lib" +
38
- "gdk-pixbuf-2.0" + "2.10.0"
39
- gdk_pixbuf2_loaders_cache_path = gdk_pixbuf2_module_dir + "loaders.cache"
40
- need_loaders_cache_update = false
41
- if gdk_pixbuf2_loaders_cache_path.exist?
42
- gdk_pixbuf2_loaders_cache_path.open do |cache|
43
- need_loaders_cache_update = cache.each_line.none? do |line|
44
- /\A"svg"/ === line
45
- end
46
- end
47
- else
48
- need_loaders_cache_update = true
49
- end
50
- if need_loaders_cache_update
51
- pid = spawn("gdk-pixbuf-query-loaders.exe",
52
- :out => [gdk_pixbuf2_loaders_cache_path.to_s, "w"])
53
- Process.waitpid(pid)
54
- end
55
- end
56
-
57
23
  require "rsvg2/loader"
58
24
 
59
25
  module Rsvg
@@ -20,8 +20,8 @@ require_relative "../glib2/version"
20
20
 
21
21
  Gem::Specification.new do |s|
22
22
  s.name = "rsvg2"
23
- s.summary = "Ruby/Rsvg is a Ruby binding of librsvg-2.x."
24
- s.description = "Ruby/Rsvg is a Ruby binding of librsvg-2.x."
23
+ s.summary = "Ruby/RSVG2 is a Ruby binding of librsvg-2.x."
24
+ s.description = "Ruby/RSVG2 is a Ruby binding of librsvg-2.x."
25
25
  s.author = "The Ruby-GNOME2 Project Team"
26
26
  s.email = "ruby-gnome2-devel-en@lists.sourceforge.net"
27
27
  s.homepage = "https://ruby-gnome2.osdn.jp/"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsvg2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-31 00:00:00.000000000 Z
11
+ date: 2019-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gdk_pixbuf2
@@ -16,29 +16,29 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.0
19
+ version: 3.3.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.3.0
26
+ version: 3.3.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cairo-gobject
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.3.0
33
+ version: 3.3.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.3.0
41
- description: Ruby/Rsvg is a Ruby binding of librsvg-2.x.
40
+ version: 3.3.1
41
+ description: Ruby/RSVG2 is a Ruby binding of librsvg-2.x.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
44
44
  extensions:
@@ -84,9 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubyforge_project:
88
- rubygems_version: 3.0.0.beta1
87
+ rubygems_version: 3.0.2
89
88
  signing_key:
90
89
  specification_version: 4
91
- summary: Ruby/Rsvg is a Ruby binding of librsvg-2.x.
90
+ summary: Ruby/RSVG2 is a Ruby binding of librsvg-2.x.
92
91
  test_files: []