clutter-gtk 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32

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: cd094d255c83b9acfbb8a0ae7cfd290867d0c004
4
- data.tar.gz: 9d05132220d5d25d726ad5cf89d801141364d825
3
+ metadata.gz: e7f0bfe4952ef9dd137375614e1701e12a0df744
4
+ data.tar.gz: d99c6d07dbd1d09e8704a449c3b354236c128641
5
5
  SHA512:
6
- metadata.gz: 995f2870b76ecbea8cce2b306291874e162b198709998712a7b1e475b4ab4987a0d9cd638d7900bf69a41899aa7891557759b65c1baf694b6cb9fd6e59b86661
7
- data.tar.gz: 9e0e1ba7f3ef2166dee30ceaf4c7fef915fad1f70eadc733b1a7c3dbde534b47b28ebff4c5af7e0cb13e3fed83b8b0b2263fcd72410bdb2bd2f7a69e8c1cee3f
6
+ metadata.gz: f80e0b0a36fdd882bf77f6e671850f2b8d1cc3cb715129730b38ad4394cdfd39232379a9fa832ccd7507ec0cf58a01ca66f65d684fca5c00d6ee15d78bfbe3c9
7
+ data.tar.gz: 3579a5bd20f7ed41f8d512476907969c1689dc4eb9a37fa2fe7cacbc8088e8e1485e65ad60db93ee3ad8f4a01f9f5e6451e548154f6769de620d7278e9a61b5e
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: x86-mingw32
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,42 +16,42 @@ 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: []
@@ -59,6 +59,7 @@ extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
61
  - Rakefile
62
+ - dependency-check/Rakefile
62
63
  - lib/clutter-gtk.rb
63
64
  - sample/events.rb
64
65
  - sample/multistage.rb
@@ -120,7 +121,7 @@ files:
120
121
  - vendor/local/share/locale/zh_CN/LC_MESSAGES/cluttergtk-1.0.mo
121
122
  homepage: http://ruby-gnome2.sourceforge.jp/
122
123
  licenses:
123
- - LGPLv2.1+
124
+ - LGPL-2.1+
124
125
  metadata: {}
125
126
  post_install_message:
126
127
  rdoc_options: []