clutter-gtk 3.3.9 → 3.4.4

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: f64c261168847c9252e78115e30451cab476bb790dcab430a1e463083dce7b42
4
- data.tar.gz: b42be377f0f5f464aa29f004f86da4e902320c383667aeb23fae438d3909bb4f
3
+ metadata.gz: 2c431a963a4c6b883c5bcd9da2f2d1c214eb6af68ba2c3b840a262912bdb4a72
4
+ data.tar.gz: 1b2e32ad5cad6d73e3dd0a8e34a78bf1844379c0277f7c00bcf78c64532c28b5
5
5
  SHA512:
6
- metadata.gz: d40e591380f94f3a1b33d0babd2e440dc7f3410db792980649e53ffe7cc1e250e1765e95d51872f033b9ea7b7aa747d3aaca2298f2f54e028464eb02cd1c4d8c
7
- data.tar.gz: 7b9842eeee7e68dc0683ea8452054ef82a362938ad846af0947d7c39bd5bfb989b2ee071dcc84271a6df3a85919caa0cbe0d79490439facdec3e94a2628e9770
6
+ metadata.gz: 5644f6666a667caf2c356e7ed02e1dce60eadcf144731856f309456d46ca6ee672b0ed3989d086d09e6f1c2060172b6e875ded3fd12176ec0e24cf5a7ab66f17
7
+ data.tar.gz: d30c1c6265c16e2863e01a8122c929cb6279ef6f9a69fb4132909331c6e97fe8e11fec0abd7a7963b155aa0d1a08321c824a9dbe4ee89f2cf3aedd8287a9e5d1
@@ -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-2017 Ruby-GNOME2 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_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
22
- ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
23
-
24
- glib_base = File.join(ruby_gnome2_base, "glib2")
25
- atk_base = File.join(ruby_gnome2_base, "atk")
26
- pango_base = File.join(ruby_gnome2_base, "pango")
27
- gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
28
- cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
29
- gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
30
- gio_base = File.join(ruby_gnome2_base, "gio2")
31
- clutter_base = File.join(ruby_gnome2_base, "clutter")
32
- gdk3_base = File.join(ruby_gnome2_base, "gdk3")
33
- gtk3_base = File.join(ruby_gnome2_base, "gtk3")
34
- clutter_gdk_base = File.join(ruby_gnome2_base, "clutter-gdk")
35
- clutter_gtk_base = File.join(ruby_gnome2_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.3.9
4
+ version: 3.4.4
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: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2021-04-22 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.3.9
19
+ version: 3.4.4
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.9
26
+ version: 3.4.4
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.3.9
33
+ version: 3.4.4
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.9
40
+ version: 3.4.4
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.3.9
47
+ version: 3.4.4
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.3.9
54
+ version: 3.4.4
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,8 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubyforge_project:
100
- rubygems_version: 2.7.6.2
99
+ rubygems_version: 3.3.0.dev
101
100
  signing_key:
102
101
  specification_version: 4
103
102
  summary: Ruby/ClutterGTK is a Ruby binding of Clutter-GTK.