clutter-gtk 3.4.3 → 3.4.7

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: 62c629e14aad75ceca5550e46b4b53bf7e3952e31cdcf00c7125171b5a7dafb6
4
- data.tar.gz: 7b2c559a8193d145a784b183f1f1b65a9815b0273307f02c22acca596ec12252
3
+ metadata.gz: e63435ad5c33f2478aae30368a947b47c952fc9b5dca776383e1ebc29149bbff
4
+ data.tar.gz: c481e33a6a59b4cd44080f0a6a4cede93b9816d16998ccfb99073bb3db6b1aa8
5
5
  SHA512:
6
- metadata.gz: 1b5e13b71d75612dd90564d9973a3fc0c002acbc8fec9cff273b0d250203c2dfde976bc6bc282c1bc531f353288608638735fa4c7638fc1e9618b3db4779b735
7
- data.tar.gz: 9699af18129d72017550a5eaf1cc380ff92fcf985aa054c51dbdbabff68e68b9462e9dd2e11a9d65eccf18c35faa196b3d63e841a56271b959158901afb10491
6
+ metadata.gz: 60d48f7db58adc82336c643515127116917b1e9baa9c678faf1e8e0f84c789db5e9c5d9b9afca5ea7b528f97fac78167debcf0f82bc9843b9480d3d698010463
7
+ data.tar.gz: 3d7c8d162f45dcc4f46446ebeff206571078f199e24211229bcd8c425491f60bf7f934a4172fae04ad3ea489cb373f15388479b7bdb6d067f12a5011d1c28c28
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2013-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,7 +14,7 @@
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"
17
+ require "clutter-gtk"
18
18
 
19
19
  module ClutterGtkTestUtils
20
20
  end
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2012-2020 Ruby-GNOME Project Team
3
+ # Copyright (C) 2012-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,72 +16,39 @@
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
- have_make = system("which make > /dev/null")
20
-
21
- ruby_gnome_base = File.join(File.dirname(__FILE__), "..", "..")
22
- ruby_gnome_base = File.expand_path(ruby_gnome_base)
23
-
24
- glib_base = File.join(ruby_gnome_base, "glib2")
25
- atk_base = File.join(ruby_gnome_base, "atk")
26
- pango_base = File.join(ruby_gnome_base, "pango")
27
- gdk_pixbuf_base = File.join(ruby_gnome_base, "gdk_pixbuf2")
28
- cairo_gobject_base = File.join(ruby_gnome_base, "cairo-gobject")
29
- gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
30
- gio_base = File.join(ruby_gnome_base, "gio2")
31
- clutter_base = File.join(ruby_gnome_base, "clutter")
32
- gdk3_base = File.join(ruby_gnome_base, "gdk3")
33
- gtk3_base = File.join(ruby_gnome_base, "gtk3")
34
- clutter_gdk_base = File.join(ruby_gnome_base, "clutter-gdk")
35
- clutter_gtk_base = File.join(ruby_gnome_base, "clutter-gtk")
36
-
37
- modules = [
38
- [glib_base, "glib2"],
39
- [atk_base, "atk"],
40
- [pango_base, "pango"],
41
- [gdk_pixbuf_base, "gdk_pixbuf2"],
42
- [cairo_gobject_base, "cairo-gobject"],
43
- [gobject_introspection_base, "gobject-introspection"],
44
- [gio_base, "gio2"],
45
- [clutter_base, "clutter"],
46
- [gdk3_base, "gdk3"],
47
- [gtk3_base, "gtk3"],
48
- [clutter_gdk_base, "clutter-gdk"],
49
- [clutter_gtk_base, "clutter-gtk"],
50
- ]
51
- modules.each do |target, module_name|
52
- if File.exist?(File.join(target, "Makefile")) and have_make
53
- `make -C #{target.dump} > /dev/null` or exit(false)
19
+ require_relative "../../glib2/test/run-test"
20
+
21
+ run_test(__dir__,
22
+ [
23
+ "glib2",
24
+ "gobject-introspection",
25
+ "cairo-gobject",
26
+ "pango",
27
+ "atk",
28
+ "gdk_pixbuf2",
29
+ "gio2",
30
+ "clutter",
31
+ "gdk3",
32
+ "gtk3",
33
+ "clutter-gdk",
34
+ "clutter-gtk",
35
+ ]) do
36
+ require_relative "../../gobject-introspection/test/gobject-introspection-test-utils"
37
+ require_relative "../../clutter/test/clutter-test-utils"
38
+
39
+ begin
40
+ require "clutter-gtk"
41
+ rescue GObjectIntrospection::RepositoryError
42
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
43
+ exit(true)
54
44
  end
55
- $LOAD_PATH.unshift(File.join(target, "ext", module_name))
56
- $LOAD_PATH.unshift(File.join(target, "lib"))
57
- end
58
-
59
- $LOAD_PATH.unshift(File.join(glib_base, "test"))
60
- require "glib-test-init"
61
-
62
- $LOAD_PATH.unshift(File.join(gobject_introspection_base, "test"))
63
- require "gobject-introspection-test-utils"
64
45
 
65
- $LOAD_PATH.unshift(File.join(clutter_base, "test"))
66
- require "clutter-test-utils"
67
-
68
- $LOAD_PATH.unshift(File.join(clutter_gtk_base, "test"))
69
- require "clutter-gtk-test-utils"
70
-
71
- begin
72
- require "clutter-gtk"
73
- rescue GObjectIntrospection::RepositoryError
74
- puts("Omit because typelib file doesn't exist: #{$!.message}")
75
- exit(true)
76
- end
46
+ begin
47
+ ClutterGtk.init
48
+ rescue ClutterGtk::InitError
49
+ puts("Omit because initialization is failed: #{$!.message}")
50
+ exit(true)
51
+ end
77
52
 
78
- begin
79
- ClutterGtk.init
80
- rescue ClutterGtk::InitError
81
- puts("Omit because initialization is failed: #{$!.message}")
82
- exit(true)
53
+ require_relative "clutter-gtk-test-utils"
83
54
  end
84
-
85
- # exclude sample/test-*
86
- clutter_gtk_test_base = File.join(clutter_gtk_base, "test")
87
- exit Test::Unit::AutoRunner.run(true, clutter_gtk_test_base)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clutter-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.3
4
+ version: 3.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-10 00:00:00.000000000 Z
11
+ date: 2021-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clutter
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.3
19
+ version: 3.4.7
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: 3.4.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: clutter-gdk
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: 3.4.7
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: 3.4.7
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gtk3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.4.3
47
+ version: 3.4.7
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.4.3
54
+ version: 3.4.7
55
55
  description: Ruby/ClutterGTK is a Ruby binding of Clutter-GTK.
56
56
  email: ruby-gnome2-devel-en@lists.sourceforge.net
57
57
  executables: []
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.2.0.pre1
99
+ rubygems_version: 3.3.0.dev
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Ruby/ClutterGTK is a Ruby binding of Clutter-GTK.