atk 0.90.4 → 0.90.5

Sign up to get free protection for your applications and to get access to all the features.
data/ext/atk/extconf.rb CHANGED
@@ -58,3 +58,11 @@ make_version_header("ATK", package_id, ".")
58
58
  create_pkg_config_file("Ruby/ATK", package_id)
59
59
  $defs << " -DRUBY_ATK_COMPILATION"
60
60
  create_makefile(module_name)
61
+
62
+ pkg_config_dir = with_config("pkg-config-dir")
63
+ if pkg_config_dir.is_a?(String)
64
+ File.open("Makefile", "ab") do |makefile|
65
+ makefile.puts
66
+ makefile.puts("pkgconfigdir=#{pkg_config_dir}")
67
+ end
68
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 383
4
+ hash: 381
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
- - 4
10
- version: 0.90.4
9
+ - 5
10
+ version: 0.90.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-24 00:00:00 +09:00
18
+ date: 2010-10-28 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 383
29
+ hash: 381
30
30
  segments:
31
31
  - 0
32
32
  - 90
33
- - 4
34
- version: 0.90.4
33
+ - 5
34
+ version: 0.90.5
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: Ruby/ATK is a Ruby binding of ATK-1.0.x.
@@ -48,41 +48,39 @@ files:
48
48
  - Rakefile
49
49
  - extconf.rb
50
50
  - lib/atk.rb
51
- - ext/atk/rbatkutil.c
52
51
  - ext/atk/rbatknoopobject.c
53
- - ext/atk/rbatkgobjectaccessible.c
54
- - ext/atk/rbatkinits.c
55
- - ext/atk/rbatkhyperlink.c
52
+ - ext/atk/rbatkrelation.c
53
+ - ext/atk/rbatk.c
54
+ - ext/atk/rbatkobject.c
55
+ - ext/atk/rbatkdocument.c
56
+ - ext/atk/rbatktextrectangle.c
57
+ - ext/atk/extconf.rb
58
+ - ext/atk/makeinits.rb
56
59
  - ext/atk/rbatkcomponent.c
57
60
  - ext/atk/rbatktext.c
61
+ - ext/atk/depend
62
+ - ext/atk/rbatkimplementor.c
58
63
  - ext/atk/rbatkstateset.c
64
+ - ext/atk/rbatkhyperlink.c
59
65
  - ext/atk/rbatkregistry.c
60
- - ext/atk/makeinits.rb
61
- - ext/atk/rbatkimage.c
62
- - ext/atk/rbatkdocument.c
63
- - ext/atk/rbatkrelationset.c
64
- - ext/atk/Makefile
65
- - ext/atk/atk.def
66
- - ext/atk/rbatkobjectfactory.c
67
- - ext/atk/rbatk.c
66
+ - ext/atk/rbatkselection.c
67
+ - ext/atk/rbatkeditabletext.c
68
+ - ext/atk/rbatkaction.c
68
69
  - ext/atk/rbatkstreamablecontent.c
69
- - ext/atk/rbatkimplementor.c
70
+ - ext/atk/rbatkutil.c
71
+ - ext/atk/rbatkstate.c
72
+ - ext/atk/rbatk.h
70
73
  - ext/atk/rbatkvalue.c
71
- - ext/atk/extconf.rb
72
- - ext/atk/rbatkrelation.c
73
- - ext/atk/rbatkaction.c
74
- - ext/atk/rbatktable.c
74
+ - ext/atk/rbatkimage.c
75
+ - ext/atk/rbatknoopobjectfactory.c
76
+ - ext/atk/atk.def
77
+ - ext/atk/rbatkrelationset.c
78
+ - ext/atk/rbatkinits.c
75
79
  - ext/atk/rbatktextrange.c
76
- - ext/atk/rbatktextrectangle.c
77
- - ext/atk/rbatkselection.c
78
- - ext/atk/rbatk.h
80
+ - ext/atk/rbatkgobjectaccessible.c
79
81
  - ext/atk/rbatkhypertext.c
80
- - ext/atk/rbatkversion.h
81
- - ext/atk/depend
82
- - ext/atk/rbatkstate.c
83
- - ext/atk/rbatkeditabletext.c
84
- - ext/atk/rbatknoopobjectfactory.c
85
- - ext/atk/rbatkobject.c
82
+ - ext/atk/rbatkobjectfactory.c
83
+ - ext/atk/rbatktable.c
86
84
  has_rdoc: true
87
85
  homepage: http://ruby-gnome2.sourceforge.jp/
88
86
  licenses: []
data/ext/atk/Makefile DELETED
@@ -1,160 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = /home/kou/work/ruby/ruby-gnome2/atk/src
7
- topdir = /usr/lib/ruby/1.8/x86_64-linux
8
- hdrdir = $(topdir)
9
- VPATH = $(srcdir):$(topdir):$(hdrdir)
10
- prefix = $(DESTDIR)/usr
11
- exec_prefix = $(prefix)
12
- sitedir = $(DESTDIR)/usr/local/lib/site_ruby
13
- rubylibdir = $(libdir)/ruby/$(ruby_version)
14
- docdir = $(datarootdir)/doc/$(PACKAGE)
15
- dvidir = $(docdir)
16
- datarootdir = $(prefix)/share
17
- archdir = $(rubylibdir)/$(arch)
18
- sbindir = $(exec_prefix)/sbin
19
- psdir = $(docdir)
20
- localedir = $(datarootdir)/locale
21
- htmldir = $(docdir)
22
- datadir = $(datarootdir)
23
- includedir = $(prefix)/include
24
- infodir = $(prefix)/share/info
25
- sysconfdir = $(DESTDIR)/etc
26
- mandir = $(prefix)/share/man
27
- libdir = $(exec_prefix)/lib
28
- sharedstatedir = $(prefix)/com
29
- oldincludedir = $(DESTDIR)/usr/include
30
- pdfdir = $(docdir)
31
- sitearchdir = $(sitelibdir)/$(sitearch)
32
- bindir = $(exec_prefix)/bin
33
- localstatedir = $(DESTDIR)/var
34
- sitelibdir = $(sitedir)/$(ruby_version)
35
- libexecdir = $(prefix)/lib/ruby1.8
36
-
37
- CC = cc
38
- LIBRUBY = $(LIBRUBY_SO)
39
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
40
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
41
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
42
-
43
- RUBY_EXTCONF_H =
44
- CFLAGS = -fPIC -fno-strict-aliasing -g -O2 -fPIC -Wall -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
45
- INCFLAGS = -I. -I/home/kou/work/ruby/ruby-gnome2/glib/src -I/home/kou/work/ruby/ruby-gnome2/glib/src -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/ruby-gnome2/atk
46
- CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_ATK_ACTION_GET_LOCALIZED_NAME -DHAVE_ATK_HYPERLINK_IS_INLINE -DHAVE_ATK_OBJECT_ADD_RELATIONSHIP -DHAVE_ATK_OBJECT_REMOVE_RELATIONSHIP -DHAVE_ATK_COMPONENT_GET_LAYER -DHAVE_ATK_HYPERLINK_IS_SELECTED_LINK -DHAVE_ATK_TEXT_GET_BOUNDED_RANGES -DHAVE_ATK_ROLE_GET_LOCALIZED_NAME -DHAVE_ATK_TEXT_CLIP_TYPE_GET_TYPE -DHAVE_ATK_TEXT_FREE_RANGES -DRUBY_ATK_COMPILATION -I/usr/local/lib/site_ruby/1.8/x86_64-linux
47
- CXXFLAGS = $(CFLAGS)
48
- DLDFLAGS = -L. -rdynamic -Wl,-export-dynamic
49
- LDSHARED = $(CC) -shared
50
- AR = ar
51
- EXEEXT =
52
-
53
- RUBY_INSTALL_NAME = ruby1.8
54
- RUBY_SO_NAME = ruby1.8
55
- arch = x86_64-linux
56
- sitearch = x86_64-linux
57
- ruby_version = 1.8
58
- ruby = /usr/bin/ruby1.8
59
- RUBY = $(ruby)
60
- RM = rm -f
61
- MAKEDIRS = mkdir -p
62
- INSTALL = /usr/bin/install -c
63
- INSTALL_PROG = $(INSTALL) -m 0755
64
- INSTALL_DATA = $(INSTALL) -m 644
65
- COPY = cp
66
-
67
- #### End of system configuration section. ####
68
-
69
- preload =
70
-
71
- libpath = . $(libdir)
72
- LIBPATH = -L"." -L"$(libdir)"
73
- DEFFILE =
74
-
75
- CLEANFILES = mkmf.log
76
- DISTCLEANFILES = rbatkinits.c rbatkversion.h
77
-
78
- extout =
79
- extout_prefix =
80
- target_prefix =
81
- LOCAL_LIBS =
82
- LIBS = $(LIBRUBYARG_SHARED) -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -ldl -lcrypt -lm -lc
83
- SRCS = rbatkstreamablecontent.c rbatkinits.c rbatk.c rbatkstate.c rbatkimplementor.c rbatkaction.c rbatkobject.c rbatkselection.c rbatkimage.c rbatkstateset.c rbatkhyperlink.c rbatktable.c rbatktext.c rbatkeditabletext.c rbatktextrectangle.c rbatkgobjectaccessible.c rbatknoopobjectfactory.c rbatkdocument.c rbatkhypertext.c rbatkutil.c rbatknoopobject.c rbatkvalue.c rbatktextrange.c rbatkobjectfactory.c rbatkrelation.c rbatkcomponent.c rbatkrelationset.c rbatkregistry.c
84
- OBJS = rbatkstreamablecontent.o rbatkinits.o rbatk.o rbatkstate.o rbatkimplementor.o rbatkaction.o rbatkobject.o rbatkselection.o rbatkimage.o rbatkstateset.o rbatkhyperlink.o rbatktable.o rbatktext.o rbatkeditabletext.o rbatktextrectangle.o rbatkgobjectaccessible.o rbatknoopobjectfactory.o rbatkdocument.o rbatkhypertext.o rbatkutil.o rbatknoopobject.o rbatkvalue.o rbatktextrange.o rbatkobjectfactory.o rbatkrelation.o rbatkcomponent.o rbatkrelationset.o rbatkregistry.o
85
- TARGET = atk
86
- DLLIB = $(TARGET).so
87
- EXTSTATIC =
88
- STATIC_LIB =
89
-
90
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
91
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
92
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
93
-
94
- TARGET_SO = $(DLLIB)
95
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
96
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
97
-
98
- all: $(DLLIB)
99
- static: $(STATIC_LIB)
100
-
101
- clean:
102
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
103
-
104
- distclean: clean
105
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
106
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
107
-
108
- realclean: distclean
109
- install: install-so install-rb
110
-
111
- install-so: $(RUBYARCHDIR)
112
- install-so: $(RUBYARCHDIR)/$(DLLIB)
113
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
114
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
115
- install-rb: pre-install-rb install-rb-default
116
- install-rb-default: pre-install-rb-default
117
- pre-install-rb: Makefile
118
- pre-install-rb-default: Makefile
119
- pre-install-rb-default: $(RUBYLIBDIR)
120
- install-rb-default: $(RUBYLIBDIR)/atk.rb
121
- $(RUBYLIBDIR)/atk.rb: /home/kou/work/ruby/ruby-gnome2/atk/src/lib/atk.rb
122
- $(INSTALL_DATA) /home/kou/work/ruby/ruby-gnome2/atk/src/lib/atk.rb $(@D)
123
- $(RUBYARCHDIR):
124
- $(MAKEDIRS) $@
125
- $(RUBYLIBDIR):
126
- $(MAKEDIRS) $@
127
-
128
- site-install: site-install-so site-install-rb
129
- site-install-so: install-so
130
- site-install-rb: install-rb
131
-
132
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
133
-
134
- .cc.o:
135
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
136
-
137
- .cxx.o:
138
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
139
-
140
- .cpp.o:
141
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
142
-
143
- .C.o:
144
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
145
-
146
- .c.o:
147
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
148
-
149
- $(DLLIB): $(OBJS)
150
- @-$(RM) $@
151
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
152
-
153
-
154
-
155
- ###
156
- install:
157
- @$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0644, true)' $(srcdir)/rbatk.h $(sitearchdir)$(target_prefix)
158
- @$(RUBY) -r ftools -e 'File::install(ARGV[0], ARGV[1], 0644, true)' rbatkversion.h $(sitearchdir)$(target_prefix)
159
-
160
-
@@ -1,24 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbatkversion.h -
5
-
6
- This file was generated by mkmf-gnome2.rb.
7
-
8
- ************************************************/
9
-
10
- #ifndef __RBATK_VERSION_H__
11
- #define __RBATK_VERSION_H__
12
-
13
- #define ATK_MAJOR_VERSION (1)
14
- #define ATK_MINOR_VERSION (22)
15
- #define ATK_MICRO_VERSION (0)
16
-
17
- #define ATK_CHECK_VERSION(major,minor,micro) \
18
- (ATK_MAJOR_VERSION > (major) || \
19
- (ATK_MAJOR_VERSION == (major) && ATK_MINOR_VERSION > (minor)) || \
20
- (ATK_MAJOR_VERSION == (major) && ATK_MINOR_VERSION == (minor) && \
21
- ATK_MICRO_VERSION >= (micro)))
22
-
23
-
24
- #endif /* __RBATK_VERSION_H__ */