atk 3.1.1 → 3.1.2
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 +18 -2
- data/dependency-check/Rakefile +44 -0
- data/lib/atk.rb +29 -21
- data/test/atk-test-utils.rb +1 -1
- data/test/run-test.rb +5 -2
- data/test/test-text-rectangle.rb +5 -4
- data/test/test-version.rb +1 -1
- metadata +7 -44
- data/README +0 -30
- data/ext/atk/atk.def +0 -2
- data/ext/atk/depend +0 -11
- data/ext/atk/extconf.rb +0 -83
- data/ext/atk/rbatk.c +0 -66
- data/ext/atk/rbatk.h +0 -47
- data/ext/atk/rbatkaction.c +0 -85
- data/ext/atk/rbatkcomponent.c +0 -175
- data/ext/atk/rbatkconversions.h +0 -70
- data/ext/atk/rbatkdocument.c +0 -96
- data/ext/atk/rbatkeditabletext.c +0 -177
- data/ext/atk/rbatkgobjectaccessible.c +0 -46
- data/ext/atk/rbatkhyperlink.c +0 -71
- data/ext/atk/rbatkhypertext.c +0 -53
- data/ext/atk/rbatkimage.c +0 -68
- data/ext/atk/rbatkimplementor.c +0 -38
- data/ext/atk/rbatknoopobject.c +0 -40
- data/ext/atk/rbatknoopobjectfactory.c +0 -40
- data/ext/atk/rbatkobject.c +0 -153
- data/ext/atk/rbatkobjectfactory.c +0 -53
- data/ext/atk/rbatkobjectrole.c +0 -50
- data/ext/atk/rbatkprivate.h +0 -48
- data/ext/atk/rbatkregistry.c +0 -63
- data/ext/atk/rbatkrelation.c +0 -98
- data/ext/atk/rbatkrelationset.c +0 -95
- data/ext/atk/rbatkrelationtype.c +0 -38
- data/ext/atk/rbatkselection.c +0 -87
- data/ext/atk/rbatkstate.c +0 -51
- data/ext/atk/rbatkstateset.c +0 -180
- data/ext/atk/rbatkstreamablecontent.c +0 -57
- data/ext/atk/rbatktable.c +0 -271
- data/ext/atk/rbatktext.c +0 -318
- data/ext/atk/rbatktextattribute.c +0 -54
- data/ext/atk/rbatktextrange.c +0 -92
- data/ext/atk/rbatktextrectangle.c +0 -149
- data/ext/atk/rbatkutil.c +0 -122
- data/ext/atk/rbatkvalue.c +0 -78
- data/extconf.rb +0 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92ab659ac675fcf3fa2e7a524dd9660bebf5f6f2
|
4
|
+
data.tar.gz: 429d6f1756605f4eaa7b2e6187cb8fa071918fd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29019280b50ec87e3c0d0b6a4418810c369610fa8d6e5411d89733384baf97ec8885cfd45fe1e7c004c4ef28028970bfc2bb4736feb96b95664fe861070583a9
|
7
|
+
data.tar.gz: f4af0cee02bcbdbe3f8e5a96dc775dd8ee21131f281d5d84b193f90ef1802cef4a7362bda115b7122eebcb89f35ddc8e4ffd18e0804e97f25ce4e4485446cd55
|
data/Rakefile
CHANGED
@@ -1,8 +1,25 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
4
|
+
#
|
5
|
+
# This library is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU Lesser General Public
|
7
|
+
# License as published by the Free Software Foundation; either
|
8
|
+
# version 2.1 of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this library; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2
18
|
|
3
19
|
$LOAD_PATH.unshift("./../glib2/lib")
|
4
20
|
require "gnome2/rake/package-task"
|
5
21
|
|
22
|
+
|
6
23
|
package_task = GNOME2::Rake::PackageTask.new do |package|
|
7
24
|
package.summary = "Ruby/ATK is a Ruby binding of ATK-1.0.x."
|
8
25
|
package.description = "Ruby/ATK is a Ruby binding of ATK-1.0.x."
|
@@ -15,7 +32,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
15
32
|
:name => "atk",
|
16
33
|
:download_site => :gnome,
|
17
34
|
:label => "atk",
|
18
|
-
:version => "2.
|
35
|
+
:version => "2.24.0",
|
19
36
|
:compression_method => "xz",
|
20
37
|
:windows => {
|
21
38
|
:configure_args => [
|
@@ -28,4 +45,3 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
28
45
|
]
|
29
46
|
end
|
30
47
|
package_task.define
|
31
|
-
|
@@ -0,0 +1,44 @@
|
|
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?("atk")
|
34
|
+
unless NativePackageInstaller.install(:altlinux => "libatk-devel",
|
35
|
+
:debian => "libatk1.0-dev",
|
36
|
+
:redhat => "atk-devel",
|
37
|
+
:arch => "atk",
|
38
|
+
:homebrew => "atk",
|
39
|
+
:macports => "atk")
|
40
|
+
exit(false)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/lib/atk.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C)
|
1
|
+
# Copyright (C) 2017 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
|
@@ -14,39 +14,47 @@
|
|
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
|
17
|
+
require "gobject-introspection"
|
18
18
|
|
19
19
|
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
20
20
|
vendor_dir = base_dir + "vendor" + "local"
|
21
21
|
vendor_bin_dir = vendor_dir + "bin"
|
22
22
|
GLib.prepend_dll_path(vendor_bin_dir)
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
|
24
|
+
GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
|
25
|
+
|
26
|
+
module Atk
|
27
|
+
LOG_DOMAIN = "Atk"
|
28
|
+
GLib::Log.set_log_domain(LOG_DOMAIN)
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
class Loader < GObjectIntrospection::Loader
|
31
|
+
end
|
32
|
+
|
33
|
+
loader = Loader.new(self)
|
34
|
+
loader.load("Atk")
|
35
|
+
|
36
|
+
class TextRectangle
|
37
|
+
def initialize(x=nil, y=nil, width=nil, height=nil)
|
38
|
+
super()
|
39
|
+
self.x = x if x
|
40
|
+
self.y = y if y
|
41
|
+
self.width = width if width
|
42
|
+
self.height = height if height
|
43
|
+
end
|
36
44
|
end
|
37
|
-
end
|
38
45
|
|
39
|
-
module Atk
|
40
46
|
module Version
|
41
|
-
MAJOR
|
42
|
-
|
47
|
+
MAJOR = MAJOR_VERSION
|
48
|
+
MINOR = MINOR_VERSION
|
49
|
+
MICRO = MICRO_VERSION
|
50
|
+
STRING = "#{MAJOR_VERSION}.#{MINOR_VERSION}.#{MICRO_VERSION}"
|
43
51
|
class << self
|
44
52
|
def or_later?(major, minor, micro=nil)
|
45
53
|
micro ||= 0
|
46
54
|
version = [
|
47
|
-
|
48
|
-
|
49
|
-
|
55
|
+
MAJOR_VERSION,
|
56
|
+
MINOR_VERSION,
|
57
|
+
MICRO_VERSION,
|
50
58
|
]
|
51
59
|
(version <=> [major, minor, micro]) >= 0
|
52
60
|
end
|
data/test/atk-test-utils.rb
CHANGED
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C)
|
3
|
+
# Copyright (C) 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
|
@@ -20,14 +20,17 @@ ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
|
|
20
20
|
ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
|
21
21
|
|
22
22
|
glib_base = File.join(ruby_gnome2_base, "glib2")
|
23
|
+
gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
|
23
24
|
atk_base = File.join(ruby_gnome2_base, "atk")
|
24
25
|
|
25
26
|
modules = [
|
26
27
|
[glib_base, "glib2"],
|
28
|
+
[gobject_introspection_base, "gobject-introspection"],
|
27
29
|
[atk_base, "atk"]
|
28
30
|
]
|
29
31
|
modules.each do |target, module_name|
|
30
|
-
|
32
|
+
makefile = File.join(target, "Makefile")
|
33
|
+
if File.exist?(makefile) and system("which make > /dev/null")
|
31
34
|
`make -C #{target.dump} > /dev/null` or exit(false)
|
32
35
|
end
|
33
36
|
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
data/test/test-text-rectangle.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
#
|
2
|
-
#
|
3
|
-
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
4
2
|
#
|
5
3
|
# This library is free software; you can redistribute it and/or
|
6
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -16,11 +14,14 @@
|
|
16
14
|
# License along with this library; if not, write to the Free Software
|
17
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
16
|
|
19
|
-
class
|
17
|
+
class TestAtkTextRectangle < Test::Unit::TestCase
|
20
18
|
include AtkTestUtils
|
21
19
|
|
22
20
|
def test_width
|
23
21
|
rectangle = Atk::TextRectangle.new(0, 10, 20, 30)
|
22
|
+
assert_equal(0, rectangle.x)
|
23
|
+
assert_equal(10, rectangle.y)
|
24
24
|
assert_equal(20, rectangle.width)
|
25
|
+
assert_equal(30, rectangle.height)
|
25
26
|
end
|
26
27
|
end
|
data/test/test-version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.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-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: glib2
|
@@ -16,60 +16,23 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.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.
|
26
|
+
version: 3.1.2
|
27
27
|
description: Ruby/ATK is a Ruby binding of ATK-1.0.x.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
30
30
|
extensions:
|
31
|
-
-
|
31
|
+
- dependency-check/Rakefile
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- README
|
35
34
|
- Rakefile
|
36
|
-
-
|
37
|
-
- ext/atk/depend
|
38
|
-
- ext/atk/extconf.rb
|
39
|
-
- ext/atk/rbatk.c
|
40
|
-
- ext/atk/rbatk.h
|
41
|
-
- ext/atk/rbatkaction.c
|
42
|
-
- ext/atk/rbatkcomponent.c
|
43
|
-
- ext/atk/rbatkconversions.h
|
44
|
-
- ext/atk/rbatkdocument.c
|
45
|
-
- ext/atk/rbatkeditabletext.c
|
46
|
-
- ext/atk/rbatkgobjectaccessible.c
|
47
|
-
- ext/atk/rbatkhyperlink.c
|
48
|
-
- ext/atk/rbatkhypertext.c
|
49
|
-
- ext/atk/rbatkimage.c
|
50
|
-
- ext/atk/rbatkimplementor.c
|
51
|
-
- ext/atk/rbatknoopobject.c
|
52
|
-
- ext/atk/rbatknoopobjectfactory.c
|
53
|
-
- ext/atk/rbatkobject.c
|
54
|
-
- ext/atk/rbatkobjectfactory.c
|
55
|
-
- ext/atk/rbatkobjectrole.c
|
56
|
-
- ext/atk/rbatkprivate.h
|
57
|
-
- ext/atk/rbatkregistry.c
|
58
|
-
- ext/atk/rbatkrelation.c
|
59
|
-
- ext/atk/rbatkrelationset.c
|
60
|
-
- ext/atk/rbatkrelationtype.c
|
61
|
-
- ext/atk/rbatkselection.c
|
62
|
-
- ext/atk/rbatkstate.c
|
63
|
-
- ext/atk/rbatkstateset.c
|
64
|
-
- ext/atk/rbatkstreamablecontent.c
|
65
|
-
- ext/atk/rbatktable.c
|
66
|
-
- ext/atk/rbatktext.c
|
67
|
-
- ext/atk/rbatktextattribute.c
|
68
|
-
- ext/atk/rbatktextrange.c
|
69
|
-
- ext/atk/rbatktextrectangle.c
|
70
|
-
- ext/atk/rbatkutil.c
|
71
|
-
- ext/atk/rbatkvalue.c
|
72
|
-
- extconf.rb
|
35
|
+
- dependency-check/Rakefile
|
73
36
|
- lib/atk.rb
|
74
37
|
- test/atk-test-utils.rb
|
75
38
|
- test/run-test.rb
|
@@ -77,7 +40,7 @@ files:
|
|
77
40
|
- test/test-version.rb
|
78
41
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
79
42
|
licenses:
|
80
|
-
-
|
43
|
+
- LGPL-2.1+
|
81
44
|
metadata: {}
|
82
45
|
post_install_message:
|
83
46
|
rdoc_options: []
|
data/README
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
Ruby/ATK
|
2
|
-
===============
|
3
|
-
Ruby/ATK is a Ruby binding of ATK-1.12.x or later.
|
4
|
-
|
5
|
-
Requirements
|
6
|
-
------------
|
7
|
-
Ruby: http://www.ruby-lang.org/
|
8
|
-
GLib: http://www.gtk.org/
|
9
|
-
ATK: http://developer.gnome.org/projects/gap
|
10
|
-
Ruby/GLib2: http://ruby-gnome2.sourceforge.net/
|
11
|
-
|
12
|
-
Install
|
13
|
-
-------
|
14
|
-
0. install ruby-1.9.x or later, GLib, ATK, Ruby/GLib2.
|
15
|
-
1. ruby extconf.rb
|
16
|
-
2. make
|
17
|
-
3. su
|
18
|
-
4. make install
|
19
|
-
|
20
|
-
Copying
|
21
|
-
-------
|
22
|
-
Copyright (c) 2003-2005 Ruby-GNOME2 Project Team
|
23
|
-
|
24
|
-
This program is free software.
|
25
|
-
You can distribute/modify this program under the terms of
|
26
|
-
the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
|
27
|
-
|
28
|
-
Project Website
|
29
|
-
---------------
|
30
|
-
http://ruby-gnome2.sourceforge.jp/
|
data/ext/atk/atk.def
DELETED
data/ext/atk/depend
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
install-so: install-headers
|
2
|
-
install-headers:
|
3
|
-
$(INSTALL_DATA) $(srcdir)/rbatk.h $(RUBYARCHDIR)
|
4
|
-
$(INSTALL_DATA) rbatkversion.h $(RUBYARCHDIR)
|
5
|
-
|
6
|
-
install: install-pc
|
7
|
-
install-pc:
|
8
|
-
if test -n "$(pkgconfigdir)"; then \
|
9
|
-
$(MAKEDIRS) $(pkgconfigdir); \
|
10
|
-
$(INSTALL_DATA) ruby-atk.pc $(pkgconfigdir); \
|
11
|
-
fi
|
data/ext/atk/extconf.rb
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
extconf.rb for Ruby/Atk extention library
|
3
|
-
=end
|
4
|
-
|
5
|
-
require 'pathname'
|
6
|
-
|
7
|
-
base_dir = Pathname(__FILE__).dirname.parent.parent.expand_path
|
8
|
-
top_dir = base_dir.parent
|
9
|
-
top_build_dir = Pathname(".").parent.parent.parent.expand_path
|
10
|
-
|
11
|
-
mkmf_gnome2_dir = top_dir + "glib2" + 'lib'
|
12
|
-
version_suffix = ""
|
13
|
-
unless mkmf_gnome2_dir.exist?
|
14
|
-
if /(-\d+\.\d+\.\d+)(?:\.\d+)?\z/ =~ base_dir.basename.to_s
|
15
|
-
version_suffix = $1
|
16
|
-
mkmf_gnome2_dir = top_dir + "glib2#{version_suffix}" + 'lib'
|
17
|
-
end
|
18
|
-
end
|
19
|
-
|
20
|
-
$LOAD_PATH.unshift(mkmf_gnome2_dir.to_s)
|
21
|
-
|
22
|
-
module_name = "atk"
|
23
|
-
package_id = "atk"
|
24
|
-
|
25
|
-
begin
|
26
|
-
require 'mkmf-gnome2'
|
27
|
-
rescue LoadError
|
28
|
-
require 'rubygems'
|
29
|
-
gem 'glib2'
|
30
|
-
require 'mkmf-gnome2'
|
31
|
-
end
|
32
|
-
|
33
|
-
ruby_header = 'ruby.h'
|
34
|
-
have_func 'rb_errinfo', ruby_header
|
35
|
-
|
36
|
-
["glib2"].each do |package|
|
37
|
-
directory = "#{package}#{version_suffix}"
|
38
|
-
build_dir = "#{directory}/tmp/#{RUBY_PLATFORM}/#{package}/#{RUBY_VERSION}"
|
39
|
-
add_depend_package(package, "#{directory}/ext/#{package}",
|
40
|
-
top_dir.to_s,
|
41
|
-
:top_build_dir => top_build_dir.to_s,
|
42
|
-
:target_build_dir => build_dir)
|
43
|
-
end
|
44
|
-
|
45
|
-
setup_windows(module_name, base_dir)
|
46
|
-
|
47
|
-
unless required_pkg_config_package([package_id, 1, 12, 0],
|
48
|
-
:altlinux => "libatk-devel",
|
49
|
-
:debian => "libatk1.0-dev",
|
50
|
-
:redhat => "atk-devel",
|
51
|
-
:arch => "atk",
|
52
|
-
:homebrew => "atk",
|
53
|
-
:macports => "atk")
|
54
|
-
exit(false)
|
55
|
-
end
|
56
|
-
|
57
|
-
atk_header = "atk/atk.h"
|
58
|
-
have_func('atk_action_get_localized_name', atk_header)
|
59
|
-
have_func('atk_hyperlink_is_inline', atk_header)
|
60
|
-
have_func('atk_object_add_relationship', atk_header)
|
61
|
-
have_func('atk_object_remove_relationship', atk_header)
|
62
|
-
have_func('atk_component_get_layer', atk_header)
|
63
|
-
have_func('atk_component_get_mdi_zorder', atk_header)
|
64
|
-
have_func('atk_hyperlink_is_selected_link', atk_header)
|
65
|
-
have_func('atk_text_get_bounded_ranges', atk_header)
|
66
|
-
have_func('atk_role_get_localized_name', atk_header)
|
67
|
-
have_func('atk_text_clip_type_get_type', atk_header)
|
68
|
-
|
69
|
-
have_func('atk_text_free_ranges', atk_header)
|
70
|
-
|
71
|
-
make_version_header("ATK", package_id, ".")
|
72
|
-
|
73
|
-
create_pkg_config_file("Ruby/ATK", package_id)
|
74
|
-
$defs << " -DRUBY_ATK_COMPILATION"
|
75
|
-
create_makefile(module_name)
|
76
|
-
|
77
|
-
pkg_config_dir = with_config("pkg-config-dir")
|
78
|
-
if pkg_config_dir.is_a?(String)
|
79
|
-
File.open("Makefile", "ab") do |makefile|
|
80
|
-
makefile.puts
|
81
|
-
makefile.puts("pkgconfigdir=#{pkg_config_dir}")
|
82
|
-
end
|
83
|
-
end
|