clutter 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +0 -109
- data/lib/clutter.rb +1 -12
- metadata +9 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ee48064ad2d0316072df1c24e70aed2ca08ade2684ca55b369464130dafc91d7
|
|
4
|
+
data.tar.gz: b6e427fc2f81948dc8482b98cd359c3197bab09baf5686f7fe8f5884420cc739
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 530e7cab251635f33f3bb98b89672954a55f83a1ccc8906155de9c3b84743889215cf47f29bb6b46f950ea90b401f4a28cafa2ffc655544ec6416d87c58e83d4
|
|
7
|
+
data.tar.gz: 21aebfc113f07e4e55f811ca324863119b6e2c5f935e178683befa7e17ad40b2e74055d5e8425204b9b682767a523c0589b10ee7b7f432cff5a00c50b793aacd
|
data/Rakefile
CHANGED
|
@@ -23,113 +23,4 @@ package_name = File.basename(__dir__)
|
|
|
23
23
|
spec = Gem::Specification.load("#{package_name}.gemspec")
|
|
24
24
|
|
|
25
25
|
GNOME2::Rake::PackageTask.define(spec, __dir__) do |package|
|
|
26
|
-
package.windows.packages = []
|
|
27
|
-
package.windows.dependencies = []
|
|
28
|
-
package.windows.build_dependencies = [
|
|
29
|
-
"glib2",
|
|
30
|
-
"atk",
|
|
31
|
-
"pango",
|
|
32
|
-
"gdk_pixbuf2",
|
|
33
|
-
"gdk3",
|
|
34
|
-
"gobject-introspection",
|
|
35
|
-
]
|
|
36
|
-
package.windows.gobject_introspection_dependencies = [
|
|
37
|
-
"atk",
|
|
38
|
-
"pango",
|
|
39
|
-
"gdk_pixbuf2",
|
|
40
|
-
"gdk3",
|
|
41
|
-
]
|
|
42
|
-
package.external_packages = [
|
|
43
|
-
# Build note:
|
|
44
|
-
# We need to modify /usr/i686-w64-mingw32/include/GL/ directory because
|
|
45
|
-
# MinGW w64 bundles old OpenGL headers. Here are changes to build Cogl:
|
|
46
|
-
#
|
|
47
|
-
# (1) Put the latest glext.h that can be downloaded from
|
|
48
|
-
# https://www.opengl.org/registry/api/GL/glext.h into
|
|
49
|
-
# /usr/share/mingw-w64/include/GL/ directory:
|
|
50
|
-
#
|
|
51
|
-
# % wget https://www.opengl.org/registry/api/GL/glext.h
|
|
52
|
-
# % sudo install glext.h /usr/share/mingw-w64/include/GL/
|
|
53
|
-
#
|
|
54
|
-
# (2) Add missing declarations and includes to
|
|
55
|
-
# /usr/share/mingw-w64/include/GL/gl.h:
|
|
56
|
-
#
|
|
57
|
-
# Before:
|
|
58
|
-
# ...
|
|
59
|
-
# typedef double GLdouble;
|
|
60
|
-
# typedef double GLclampd;
|
|
61
|
-
# typedef void GLvoid;
|
|
62
|
-
#
|
|
63
|
-
# #define GL_VERSION_1_1 1
|
|
64
|
-
# ...
|
|
65
|
-
#
|
|
66
|
-
# After
|
|
67
|
-
# ...
|
|
68
|
-
# typedef double GLdouble;
|
|
69
|
-
# typedef double GLclampd;
|
|
70
|
-
# typedef void GLvoid;
|
|
71
|
-
#
|
|
72
|
-
# typedef ptrdiff_t GLintptr;
|
|
73
|
-
# typedef ptrdiff_t GLsizeiptr;
|
|
74
|
-
# typedef char GLchar;
|
|
75
|
-
# #include <GL/glext.h>
|
|
76
|
-
#
|
|
77
|
-
# #define GL_VERSION_1_1 1
|
|
78
|
-
# ...
|
|
79
|
-
{
|
|
80
|
-
:name => "cogl",
|
|
81
|
-
:download_site => :gnome,
|
|
82
|
-
:label => "Cogl",
|
|
83
|
-
:version => "1.22.2",
|
|
84
|
-
:compression_method => "xz",
|
|
85
|
-
:windows => {
|
|
86
|
-
:configure_args => [
|
|
87
|
-
"--disable-glibtest",
|
|
88
|
-
"--enable-introspection",
|
|
89
|
-
],
|
|
90
|
-
:built_file => "bin/libcogl-20.dll",
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
:name => "json-glib",
|
|
95
|
-
:download_site => :gnome,
|
|
96
|
-
:label => "JSON-GLib",
|
|
97
|
-
:version => "1.4.4",
|
|
98
|
-
:compression_method => "xz",
|
|
99
|
-
:windows => {
|
|
100
|
-
:configure_args => [
|
|
101
|
-
"--enable-introspection",
|
|
102
|
-
],
|
|
103
|
-
:patches => [
|
|
104
|
-
# "json-glib-1.0.2-add-missing-config-h.diff",
|
|
105
|
-
],
|
|
106
|
-
:built_file => "bin/libjson-glib-1.0-0.dll",
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
:name => "clutter",
|
|
111
|
-
:download_site => :gnome,
|
|
112
|
-
:label => "Clutter",
|
|
113
|
-
:version => "1.26.2",
|
|
114
|
-
:compression_method => "xz",
|
|
115
|
-
:windows => {
|
|
116
|
-
:configure_args => [
|
|
117
|
-
"--enable-introspection",
|
|
118
|
-
"--enable-gdk-backend",
|
|
119
|
-
"--enable-gdk-pixbuf",
|
|
120
|
-
],
|
|
121
|
-
:build_concurrently => false,
|
|
122
|
-
:built_file => "bin/libclutter-1.0-0.dll",
|
|
123
|
-
},
|
|
124
|
-
}
|
|
125
|
-
]
|
|
126
|
-
package.cross_compiling do |spec|
|
|
127
|
-
if /mingw|mswin/ =~ spec.platform.to_s
|
|
128
|
-
spec.add_runtime_dependency("gdk3", "= #{package.version}")
|
|
129
|
-
end
|
|
130
|
-
end
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if Rake::Task.task_defined?("native:clutter:i386-mingw32")
|
|
134
|
-
Rake::Task["native:clutter:i386-mingw32"].prerequisites.clear
|
|
135
26
|
end
|
data/lib/clutter.rb
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright (C) 2012-
|
|
1
|
+
# Copyright (C) 2012-2018 Ruby-GNOME2 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
|
|
@@ -18,17 +18,6 @@ require "gobject-introspection"
|
|
|
18
18
|
require "cairo-gobject"
|
|
19
19
|
require "pango"
|
|
20
20
|
|
|
21
|
-
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
|
22
|
-
vendor_dir = base_dir + "vendor" + "local"
|
|
23
|
-
vendor_bin_dir = vendor_dir + "bin"
|
|
24
|
-
GLib.prepend_dll_path(vendor_bin_dir)
|
|
25
|
-
vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
|
|
26
|
-
GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
|
|
27
|
-
|
|
28
|
-
if vendor_dir.exist?
|
|
29
|
-
require "gdk3"
|
|
30
|
-
end
|
|
31
|
-
|
|
32
21
|
module Clutter
|
|
33
22
|
LOG_DOMAIN = "Clutter"
|
|
34
23
|
GLib::Log.set_log_domain(LOG_DOMAIN)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clutter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.
|
|
4
|
+
version: 3.3.1
|
|
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:
|
|
11
|
+
date: 2019-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cairo-gobject
|
|
@@ -16,42 +16,42 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.3.
|
|
19
|
+
version: 3.3.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.3.
|
|
26
|
+
version: 3.3.1
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: gobject-introspection
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - '='
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 3.3.
|
|
33
|
+
version: 3.3.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.3.
|
|
40
|
+
version: 3.3.1
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: pango
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 3.3.
|
|
47
|
+
version: 3.3.1
|
|
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.
|
|
54
|
+
version: 3.3.1
|
|
55
55
|
description: Ruby/Clutter is a Ruby binding of Clutter.
|
|
56
56
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
|
57
57
|
executables: []
|
|
@@ -130,8 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
131
|
version: '0'
|
|
132
132
|
requirements: []
|
|
133
|
-
|
|
134
|
-
rubygems_version: 3.0.0.beta1
|
|
133
|
+
rubygems_version: 3.0.2
|
|
135
134
|
signing_key:
|
|
136
135
|
specification_version: 4
|
|
137
136
|
summary: Ruby/Clutter is a Ruby binding of Clutter.
|