rsvg2 3.0.1-x64-mingw32 → 3.0.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -0
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/rsvg2.rb +43 -0
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/lib/libcroco-0.6.a +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 436c26edce3756e3eab25d8443aacf04b8334c73
|
4
|
+
data.tar.gz: 4e61c2545b3df4a2d497c3231031623cfef49742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ec4043317760ef1a903ce7d7ef8135d894aaef720cd164bcb197af3b9aca7ddf0c1a9928c2ec7b3fa98b67c3a5a2d88cec695c91e30b3de0c7d6cd6c0665345
|
7
|
+
data.tar.gz: 8eb4fc5d5393e98e39b6375102dbdba8076b4278bd9a706bd9dbbce027049022bbbd4ef736901e83b7f790657c6bf3bc33c47e07d1cc09f80ffcfb43da4eee0a
|
data/Rakefile
CHANGED
@@ -34,6 +34,11 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
34
34
|
package.windows.gobject_introspection_dependencies = [
|
35
35
|
"gdk_pixbuf2",
|
36
36
|
]
|
37
|
+
package.cross_compiling do |spec|
|
38
|
+
if /mingw|mswin/ =~ spec.platform.to_s
|
39
|
+
spec.add_runtime_dependency("pango", ">= #{package.version}")
|
40
|
+
end
|
41
|
+
end
|
37
42
|
package.external_packages = [
|
38
43
|
{
|
39
44
|
:name => "libcroco",
|
data/lib/2.0/rsvg2.so
CHANGED
Binary file
|
data/lib/2.1/rsvg2.so
CHANGED
Binary file
|
data/lib/2.2/rsvg2.so
CHANGED
Binary file
|
data/lib/rsvg2.rb
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
# Copyright (C) 2004-2015 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
1
17
|
require "glib2"
|
2
18
|
require "gdk_pixbuf2"
|
3
19
|
require "cairo"
|
@@ -6,6 +22,33 @@ base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
|
6
22
|
vendor_dir = base_dir + "vendor" + "local"
|
7
23
|
vendor_bin_dir = vendor_dir + "bin"
|
8
24
|
GLib.prepend_dll_path(vendor_bin_dir)
|
25
|
+
|
26
|
+
if vendor_dir.exist?
|
27
|
+
require "pango"
|
28
|
+
|
29
|
+
gdk_pixbuf2_spec = Gem.loaded_specs["gdk_pixbuf2"]
|
30
|
+
gdk_pixbuf2_base_dir = Pathname.new(gdk_pixbuf2_spec.gem_dir)
|
31
|
+
gdk_pixbuf2_module_dir =
|
32
|
+
gdk_pixbuf2_base_dir + "vendor" + "local" + "lib" +
|
33
|
+
"gdk-pixbuf-2.0" + "2.10.0"
|
34
|
+
gdk_pixbuf2_loaders_cache_path = gdk_pixbuf2_module_dir + "loaders.cache"
|
35
|
+
need_loaders_cache_update = false
|
36
|
+
if gdk_pixbuf2_loaders_cache_path.exist?
|
37
|
+
gdk_pixbuf2_loaders_cache_path.open do |cache|
|
38
|
+
need_loaders_cache_update = cache.each_line.none? do |line|
|
39
|
+
/\A"svg"/ === line
|
40
|
+
end
|
41
|
+
end
|
42
|
+
else
|
43
|
+
need_loaders_cache_update = true
|
44
|
+
end
|
45
|
+
if need_loaders_cache_update
|
46
|
+
pid = spawn("gdk-pixbuf-query-loaders.exe",
|
47
|
+
:out => [gdk_pixbuf2_loaders_cache_path.to_s, "w"])
|
48
|
+
Process.waitpid(pid)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
9
52
|
begin
|
10
53
|
major, minor, = RUBY_VERSION.split(/\./)
|
11
54
|
require "#{major}.#{minor}/rsvg2.so"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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.0.
|
4
|
+
version: 3.0.2
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cairo
|
@@ -30,14 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.0.
|
33
|
+
version: 3.0.2
|
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.0.
|
40
|
+
version: 3.0.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pango
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.0.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.0.2
|
41
55
|
description: Ruby/RSVG is a Ruby binding of librsvg-2.x.
|
42
56
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
43
57
|
executables: []
|