atk 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d2a8b5588a9032f922bb131a7a1390b265dee68c
4
+ data.tar.gz: 21a9ca470ea95a688e71fc55eaaae4059e164d12
5
+ SHA512:
6
+ metadata.gz: 74cdbca42bba9411ed315fe805d69c30e831cfc06a07bad2e665285d0a440e5d300d36e8c701a46528b8b37795103c9cfcb336e3b8a8907b05dcfc22c090e547
7
+ data.tar.gz: 1e1a27faf679122e1317d2f0297830568490c0390237cb50e870a9575065a97c0f3623d9d9e6536cca426bb72e5f5cd22cc823849842d493ab2342175b0bda20
data/README CHANGED
@@ -1,6 +1,6 @@
1
1
  Ruby/ATK
2
2
  ===============
3
- Ruby/ATK is a Ruby binding of ATK-1.0.x or later.
3
+ Ruby/ATK is a Ruby binding of ATK-1.12.x or later.
4
4
 
5
5
  Requirements
6
6
  ------------
@@ -11,7 +11,7 @@ Requirements
11
11
 
12
12
  Install
13
13
  -------
14
- 0. install ruby-1.6.x or later, GLib, ATK, Ruby/GLib2.
14
+ 0. install ruby-1.9.x or later, GLib, ATK, Ruby/GLib2.
15
15
  1. ruby extconf.rb
16
16
  2. make
17
17
  3. su
data/Rakefile CHANGED
@@ -15,13 +15,14 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
15
15
  :name => "atk",
16
16
  :download_site => :gnome,
17
17
  :label => "atk",
18
- :version => "2.8.0",
18
+ :version => "2.10.0",
19
19
  :compression_method => "xz",
20
20
  :windows => {
21
21
  :configure_args => [
22
22
  "--enable-introspection",
23
23
  ],
24
24
  :build_concurrently => false,
25
+ :built_file => "bin/libatk-1.0-0.dll",
25
26
  },
26
27
  }
27
28
  ]
@@ -44,7 +44,7 @@ end
44
44
 
45
45
  setup_win32(module_name, base_dir)
46
46
 
47
- unless required_pkg_config_package(package_id,
47
+ unless required_pkg_config_package([package_id, 1, 12, 0],
48
48
  :debian => "libatk1.0-dev",
49
49
  :redhat => "atk-devel",
50
50
  :homebrew => "atk",
@@ -142,13 +142,11 @@ rg_set_size(VALUE self, VALUE width, VALUE height)
142
142
  return self;
143
143
  }
144
144
 
145
- #if ATK_CHECK_VERSION(1,12,0)
146
145
  static VALUE
147
146
  rg_alpha(VALUE self)
148
147
  {
149
148
  return rb_float_new(atk_component_get_alpha(_SELF(self)));
150
149
  }
151
- #endif
152
150
 
153
151
  void
154
152
  Init_atk_component(VALUE mAtk)
@@ -173,7 +171,5 @@ Init_atk_component(VALUE mAtk)
173
171
  RG_DEF_METHOD(set_extents, 5);
174
172
  RG_DEF_METHOD(set_position, 2);
175
173
  RG_DEF_METHOD(set_size, 2);
176
- #if ATK_CHECK_VERSION(1,12,0)
177
174
  RG_DEF_METHOD(alpha, 0);
178
- #endif
179
175
  }
@@ -39,7 +39,6 @@ rg_document(VALUE self)
39
39
  }
40
40
  */
41
41
 
42
- #if ATK_CHECK_VERSION(1,12,0)
43
42
  static VALUE
44
43
  rg_get_attribute_value(VALUE self, VALUE name)
45
44
  {
@@ -78,7 +77,6 @@ rg_locale(VALUE self)
78
77
  {
79
78
  return CSTR2RVAL(atk_document_get_locale(_SELF(self)));
80
79
  }
81
- #endif
82
80
 
83
81
  void
84
82
  Init_atk_document(VALUE mAtk)
@@ -89,12 +87,10 @@ Init_atk_document(VALUE mAtk)
89
87
  /*
90
88
  RG_DEF_METHOD(document, 0);
91
89
  */
92
- #if ATK_CHECK_VERSION(1,12,0)
93
90
  RG_DEF_METHOD(get_attribute_value, 1);
94
91
  RG_DEF_ALIAS("[]", "get_attribute_value");
95
92
  RG_DEF_METHOD(set_attribute_value, 2);
96
93
  RG_DEF_ALIAS("[]=", "set_attribute_value");
97
94
  RG_DEF_METHOD(attributes, 0);
98
95
  RG_DEF_METHOD(locale, 0);
99
- #endif
100
96
  }
@@ -79,14 +79,12 @@ rg_initialize(VALUE self, VALUE targets, VALUE rbrelationship)
79
79
  return Qnil;
80
80
  }
81
81
 
82
- #if ATK_CHECK_VERSION(1,9,0)
83
82
  static VALUE
84
83
  rg_add_target(VALUE self, VALUE obj)
85
84
  {
86
85
  atk_relation_add_target(_SELF(self), RVAL2ATKOBJECT(obj));
87
86
  return self;
88
87
  }
89
- #endif
90
88
 
91
89
  void
92
90
  Init_atk_relation(VALUE mAtk)
@@ -94,9 +92,7 @@ Init_atk_relation(VALUE mAtk)
94
92
  VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(ATK_TYPE_RELATION, "Relation", mAtk);
95
93
  RG_DEF_SMETHOD(type_register, 1);
96
94
  RG_DEF_METHOD(initialize, 2);
97
- #if ATK_CHECK_VERSION(1,9,0)
98
95
  RG_DEF_METHOD(add_target, 1);
99
- #endif
100
96
 
101
97
  Init_atk_relation_type(RG_TARGET_NAMESPACE);
102
98
  }
@@ -71,7 +71,6 @@ rg_get_relation(VALUE self, VALUE i)
71
71
  }
72
72
  }
73
73
 
74
- #if ATK_CHECK_VERSION(1,9,0)
75
74
  static VALUE
76
75
  rg_add_relation(VALUE self, VALUE relationship, VALUE obj)
77
76
  {
@@ -80,7 +79,6 @@ rg_add_relation(VALUE self, VALUE relationship, VALUE obj)
80
79
  RVAL2ATKOBJECT(obj));
81
80
  return self;
82
81
  }
83
- #endif
84
82
 
85
83
  void
86
84
  Init_atk_relation_set(VALUE mAtk)
@@ -93,7 +91,5 @@ Init_atk_relation_set(VALUE mAtk)
93
91
  RG_DEF_METHOD(add, 1);
94
92
  RG_DEF_METHOD(n_relations, 0);
95
93
  RG_DEF_METHOD(get_relation, 1);
96
- #if ATK_CHECK_VERSION(1,9,0)
97
94
  RG_DEF_METHOD(add_relation, 2);
98
- #endif
99
95
  }
@@ -77,13 +77,11 @@ rg_s_root(G_GNUC_UNUSED VALUE self)
77
77
  return GOBJ2RVAL(atk_get_root());
78
78
  }
79
79
 
80
- #if ATK_CHECK_VERSION(1,6,0)
81
80
  static VALUE
82
81
  rg_s_focus_object(G_GNUC_UNUSED VALUE self)
83
82
  {
84
83
  return GOBJ2RVAL(atk_get_focus_object());
85
84
  }
86
- #endif
87
85
 
88
86
  static VALUE
89
87
  rg_s_toolkit_name(G_GNUC_UNUSED VALUE self)
@@ -109,9 +107,7 @@ Init_atk_util(VALUE mAtk)
109
107
  RG_DEF_SMETHOD(remove_key_event_listener, 1);
110
108
 
111
109
  RG_DEF_SMETHOD(root, 0);
112
- #if ATK_CHECK_VERSION(1,6,0)
113
110
  RG_DEF_SMETHOD(focus_object, 0);
114
- #endif
115
111
  RG_DEF_SMETHOD(toolkit_name, 0);
116
112
  RG_DEF_SMETHOD(toolkit_version, 0);
117
113
 
metadata CHANGED
@@ -1,32 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
5
- prerelease:
4
+ version: 2.0.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - The Ruby-GNOME2 Project Team
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-26 00:00:00.000000000 Z
11
+ date: 2013-12-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: glib2
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - '='
20
18
  - !ruby/object:Gem::Version
21
- version: 2.0.2
19
+ version: 2.0.3
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - '='
28
25
  - !ruby/object:Gem::Version
29
- version: 2.0.2
26
+ version: 2.0.3
30
27
  description: Ruby/ATK is a Ruby binding of ATK-1.0.x.
31
28
  email: ruby-gnome2-devel-en@lists.sourceforge.net
32
29
  executables: []
@@ -79,26 +76,25 @@ files:
79
76
  - test/test-text-rectangle.rb
80
77
  homepage: http://ruby-gnome2.sourceforge.jp/
81
78
  licenses: []
79
+ metadata: {}
82
80
  post_install_message:
83
81
  rdoc_options: []
84
82
  require_paths:
85
83
  - lib
86
84
  required_ruby_version: !ruby/object:Gem::Requirement
87
- none: false
88
85
  requirements:
89
- - - ! '>='
86
+ - - '>='
90
87
  - !ruby/object:Gem::Version
91
- version: 1.8.5
88
+ version: 1.9.3
92
89
  required_rubygems_version: !ruby/object:Gem::Requirement
93
- none: false
94
90
  requirements:
95
- - - ! '>='
91
+ - - '>='
96
92
  - !ruby/object:Gem::Version
97
93
  version: '0'
98
94
  requirements: []
99
95
  rubyforge_project:
100
- rubygems_version: 1.8.23
96
+ rubygems_version: 2.0.14
101
97
  signing_key:
102
- specification_version: 3
98
+ specification_version: 4
103
99
  summary: Ruby/ATK is a Ruby binding of ATK-1.0.x.
104
100
  test_files: []