rsvg2 3.4.3 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 763300adb930a3534195a6e1b24dd277f65635032a0e79b444e8ea6c1e7fb001
4
- data.tar.gz: '06493de92c7d70b08db121ef1409765b39c05098725ac3989c868f16ffa29835'
3
+ metadata.gz: 7326aa99ba9c036d87e01630b16c56d86c53e8a8dda17f74fa126f8d38fba40e
4
+ data.tar.gz: c0221d80291fde52e14a0002500e8bde36c1ba5b0b9ab44b6bc287a1f9e4659a
5
5
  SHA512:
6
- metadata.gz: 3c43aff7fcb573874b398522b7a9fec988214ad11f665f5b68b2314acaa4176f57693d606250475fa602952a6b58c84540ecec46c7299a03ebac1eb2581b5cb4
7
- data.tar.gz: bbac79eaef60d6c5d0d140481da193986435d9fbdff4038b0ec57e6f2271b37336262b0e1e78ce6f4d3922b2b725d9754c4c3c0cd9aea0e60172b49297c54da1
6
+ metadata.gz: 11ba0abf04cdc4f1958526154f1ca8af446b266b503bbbc760696bdb7b8be1ca8f9aa454dca9af2aaa1eaee3d4bed4fd5076b5742b73110b0f434d0f24bd1baf
7
+ data.tar.gz: 9e0f28ebf3b4f0ef9677c5340a8dc106b85504824bffa72759c6c73f62545b1a57158dd0b2001a8a29a72c49d27587f06b80a8977e7062b59ce2cda52d4c5e6d
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby/RSVG2
2
2
 
3
- Ruby/RSVG2 is a Ruby binding of [librsvg](https://developer.gnome.org/rsvg/) based on GObject-Introspection.
3
+ Ruby/RSVG2 is a Ruby binding of [librsvg](https://gitlab.gnome.org/GNOME/librsvg) based on GObject-Introspection.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017-2019 Ruby-GNOME Project Team
1
+ # Copyright (C) 2017-2023 Ruby-GNOME 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
@@ -31,10 +31,11 @@ namespace :dependency do
31
31
  task :check do
32
32
  package_id = "librsvg-2.0"
33
33
  unless PKGConfig.check_version?(package_id)
34
- unless NativePackageInstaller.install(:altlinux => "librsvg-devel",
34
+ unless NativePackageInstaller.install(:alt_linux => "librsvg-devel",
35
+ :conda => "librsvg",
35
36
  :debian => "librsvg2-dev",
36
37
  :redhat => "pkgconfig(#{package_id})",
37
- :arch => "librsvg",
38
+ :arch_linux => "librsvg",
38
39
  :homebrew => "librsvg",
39
40
  :macports => "librsvg",
40
41
  :msys2 => "librsvg")
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2014 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2014-2021 Ruby-GNOME 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,10 +14,10 @@
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 "test-unit"
18
-
19
17
  require "fileutils"
20
18
 
19
+ require "rsvg2"
20
+
21
21
  module Rsvg2TestUtils
22
22
  def only_rsvg_version(major, minor, micro=nil)
23
23
  micro ||= 0
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2014-2020 Ruby-GNOME Project Team
3
+ # Copyright (C) 2014-2021 Ruby-GNOME Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -16,38 +16,15 @@
16
16
  # License along with this library; if not, write to the Free Software
17
17
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
- ruby_gnome_base = File.join(File.dirname(__FILE__), "..", "..")
20
- ruby_gnome_base = File.expand_path(ruby_gnome_base)
21
-
22
- glib_base = File.join(ruby_gnome_base, "glib2")
23
- gio2_base = File.join(ruby_gnome_base, "gio2")
24
- gdk_pixbuf2_base = File.join(ruby_gnome_base, "gdk_pixbuf2")
25
- gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
26
- rsvg2_base = File.join(ruby_gnome_base, "rsvg2")
27
-
28
- have_make = system("which make > /dev/null")
29
-
30
- modules = [
31
- [glib_base, "glib2"],
32
- [gio2_base, "gio2"],
33
- [gdk_pixbuf2_base, "gdk_pixbuf2"],
34
- [gobject_introspection_base, "gobject-introspection"],
35
- [rsvg2_base, "rsvg2"],
36
- ]
37
- modules.each do |target, module_name|
38
- if File.exist?(File.join(target, "Makefile")) and have_make
39
- `make -C #{target.dump} > /dev/null` or exit(false)
40
- end
41
- $LOAD_PATH.unshift(File.join(target, "ext", module_name))
42
- $LOAD_PATH.unshift(File.join(target, "lib"))
19
+ require_relative "../../glib2/test/run-test"
20
+
21
+ run_test(__dir__,
22
+ [
23
+ "glib2",
24
+ "gobject-introspection",
25
+ "gio2",
26
+ "gdk_pixbuf2",
27
+ "rsvg2",
28
+ ]) do
29
+ require_relative "rsvg2-test-utils"
43
30
  end
44
-
45
- $LOAD_PATH.unshift(File.join(glib_base, "test"))
46
- require "glib-test-init"
47
-
48
- $LOAD_PATH.unshift(File.join(rsvg2_base, "test"))
49
- require "rsvg2-test-utils"
50
-
51
- require "rsvg2"
52
-
53
- exit Test::Unit::AutoRunner.run(true, File.join(rsvg2_base, "test"))
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.4.3
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-10 00:00:00.000000000 Z
11
+ date: 2024-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gdk_pixbuf2
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.3
19
+ version: 4.2.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.4.3
26
+ version: 4.2.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.4.3
33
+ version: 4.2.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.4.3
40
+ version: 4.2.1
41
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: []
@@ -69,7 +69,7 @@ licenses:
69
69
  - LGPL-2.1+
70
70
  metadata:
71
71
  msys2_mingw_dependencies: librsvg
72
- post_install_message:
72
+ post_install_message:
73
73
  rdoc_options: []
74
74
  require_paths:
75
75
  - lib
@@ -84,8 +84,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.2.0.pre1
88
- signing_key:
87
+ rubygems_version: 3.5.1
88
+ signing_key:
89
89
  specification_version: 4
90
90
  summary: Ruby/RSVG2 is a Ruby binding of librsvg-2.x.
91
91
  test_files: []