clutter-gtk 3.1.1 → 3.1.2

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
  SHA1:
3
- metadata.gz: 1fc6c85b6dcf928480bb42ceb47f5c5a0b32bf85
4
- data.tar.gz: 603c68b340647d865ede70ed710441eb19c85ec2
3
+ metadata.gz: 98e2753ec427ac032e3fdb6d351275c9c155c9e0
4
+ data.tar.gz: 685b84273f1cacd112a8c050f8f6754cba6510dc
5
5
  SHA512:
6
- metadata.gz: f889433ee02d952494718c4cf96a851894f141de17a5b7b47ad97e87c78a038254eac2e080cc576c2402762e5ca3b3ee618455c0914abcb9c6180638ff5a36f8
7
- data.tar.gz: 1446b792c53b339fb0aad615ce649a1aff25b6ff5e830c684644b4492749a8da2eb6c879e8d27d90e24f54395b86e191be13fedf65c530b649c5a4a9c450f4cc
6
+ metadata.gz: 2052ac7150ce5e88283bcdefbcac3bfeefc52c89fab98fa373a6739656e5eee5c165d90f22492105230139bfcc02bbe932a8f6146889accd3fc4c7524be7b193
7
+ data.tar.gz: 9427bfb8a82221d2b8572fc8b0f44220f2ca287e901612e1cd8737d861469b682ebe2b649fcf16677d4275983baf518e020ff30f00f808588617670d5c5e2c3c
data/Rakefile CHANGED
@@ -61,12 +61,3 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
61
61
  ]
62
62
  end
63
63
  package_task.define
64
-
65
- namespace :dependency do
66
- desc "Install depenencies"
67
- task :install do
68
- # TODO: Install gir1.2-gtkclutter-1.0 on Debian.
69
- end
70
- end
71
-
72
- task :build => "dependency:install"
@@ -0,0 +1,40 @@
1
+ # Copyright (C) 2017 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
+
17
+ require "pkg-config"
18
+ require "native-package-installer"
19
+
20
+ case RUBY_PLATFORM
21
+ when /mingw|mswin/
22
+ task :default => "nothing"
23
+ else
24
+ task :default => "dependency:check"
25
+ end
26
+
27
+ task :nothing do
28
+ end
29
+
30
+ namespace :dependency do
31
+ desc "Check dependency"
32
+ task :check do
33
+ unless PKGConfig.check_version?("clutter-gtk-1.0")
34
+ unless NativePackageInstaller.install(:debian => "libclutter-gtk-1.0-dev",
35
+ :homebrew => "clutter-gtk")
36
+ exit(false)
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2012-2015 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2012-2017 Ruby-GNOME2 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
@@ -31,6 +31,7 @@ gio_base = File.join(ruby_gnome2_base, "gio2")
31
31
  clutter_base = File.join(ruby_gnome2_base, "clutter")
32
32
  gdk3_base = File.join(ruby_gnome2_base, "gdk3")
33
33
  gtk3_base = File.join(ruby_gnome2_base, "gtk3")
34
+ clutter_gdk_base = File.join(ruby_gnome2_base, "clutter-gdk")
34
35
  clutter_gtk_base = File.join(ruby_gnome2_base, "clutter-gtk")
35
36
 
36
37
  modules = [
@@ -44,6 +45,7 @@ modules = [
44
45
  [clutter_base, "clutter"],
45
46
  [gdk3_base, "gdk3"],
46
47
  [gtk3_base, "gtk3"],
48
+ [clutter_gdk_base, "clutter-gdk"],
47
49
  [clutter_gtk_base, "clutter-gtk"],
48
50
  ]
49
51
  modules.each do |target, module_name|
@@ -66,12 +68,9 @@ require "clutter-test-utils"
66
68
  $LOAD_PATH.unshift(File.join(clutter_gtk_base, "test"))
67
69
  require "clutter-gtk-test-utils"
68
70
 
69
- require "clutter-gtk"
70
-
71
- repository = GObjectIntrospection::Repository.default
72
71
  begin
73
- repository.require(ClutterGtk::Loader::NAMESPACE)
74
- rescue GLib::Error
72
+ require "clutter-gtk"
73
+ rescue GObjectIntrospection::RepositoryError
75
74
  puts("Omit because typelib file doesn't exist: #{$!.message}")
76
75
  exit(true)
77
76
  end
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.1.1
4
+ version: 3.1.2
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: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clutter
@@ -16,49 +16,51 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.1
19
+ version: 3.1.2
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.1.1
26
+ version: 3.1.2
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.1.1
33
+ version: 3.1.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.1.1
40
+ version: 3.1.2
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.1.1
47
+ version: 3.1.2
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.1.1
54
+ version: 3.1.2
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: []
58
- extensions: []
58
+ extensions:
59
+ - dependency-check/Rakefile
59
60
  extra_rdoc_files: []
60
61
  files:
61
62
  - Rakefile
63
+ - dependency-check/Rakefile
62
64
  - lib/clutter-gtk.rb
63
65
  - sample/events.rb
64
66
  - sample/multistage.rb
@@ -73,7 +75,7 @@ files:
73
75
  - test/test-clutter-gtk-embed.rb
74
76
  homepage: http://ruby-gnome2.sourceforge.jp/
75
77
  licenses:
76
- - LGPLv2.1+
78
+ - LGPL-2.1+
77
79
  metadata: {}
78
80
  post_install_message:
79
81
  rdoc_options: []