pango 0.90.4 → 0.90.5

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.
@@ -73,3 +73,11 @@ make_version_header("PANGO", "pango", ".")
73
73
  create_pkg_config_file("Ruby/Pango", package_id)
74
74
  $defs << " -DRUBY_PANGO_COMPILATION"
75
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
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pango
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
@@ -42,12 +42,12 @@ dependencies:
42
42
  requirements:
43
43
  - - ">="
44
44
  - !ruby/object:Gem::Version
45
- hash: 383
45
+ hash: 381
46
46
  segments:
47
47
  - 0
48
48
  - 90
49
- - 4
50
- version: 0.90.4
49
+ - 5
50
+ version: 0.90.5
51
51
  type: :runtime
52
52
  version_requirements: *id002
53
53
  description: Ruby/Pango is a Ruby binding of pango-1.x.
@@ -64,64 +64,62 @@ files:
64
64
  - Rakefile
65
65
  - extconf.rb
66
66
  - lib/pango.rb
67
+ - ext/pango/rbpangolanguage.c
67
68
  - ext/pango/rbpangoglyphstring.c
68
- - ext/pango/rbpango.c
69
- - ext/pango/rbpangofontmetrics.c
70
- - ext/pango/rbpangogravity.c
71
- - ext/pango/rbpangoattribute.c
72
- - ext/pango/rbpangoglyphinfo.c
73
- - ext/pango/rbpangoversion.h
74
69
  - ext/pango/rbpangoglyphitem.c
75
- - ext/pango/rbpangolayout.c
76
- - ext/pango/rbpangoattriterator.c
77
- - ext/pango/Makefile
78
- - ext/pango/rbpangoinits.c
79
- - ext/pango/rbpangoattrlist.c
80
- - ext/pango/rbpangomain.c
81
- - ext/pango/rbpangofontsetsimple.c
82
- - ext/pango/rbpangoscript.c
83
- - ext/pango/rbpangolanguage.c
70
+ - ext/pango/rbpangoengine.c
71
+ - ext/pango/rbpangoglyphinfo.c
84
72
  - ext/pango/rbpangofont.c
85
- - ext/pango/extconf.rb
86
73
  - ext/pango/pango.def
87
- - ext/pango/rbpangofontdescription.c
88
- - ext/pango/rbpangofontmap.c
74
+ - ext/pango/rbpango.c
75
+ - ext/pango/rbpangoanalysis.c
89
76
  - ext/pango/rbpangologattr.c
90
- - ext/pango/rbpango.h
91
- - ext/pango/rbpangolayoutiter.c
92
- - ext/pango/rbpangofontfamily.c
77
+ - ext/pango/rbpangoattrlist.c
93
78
  - ext/pango/rbpangofontface.c
79
+ - ext/pango/rbpangofontmap.c
94
80
  - ext/pango/rbpangotabarray.c
95
- - ext/pango/rbpangoengine.c
96
- - ext/pango/rbpangocolor.c
97
- - ext/pango/rbpangoanalysis.c
81
+ - ext/pango/rbpangofontmetrics.c
98
82
  - ext/pango/rbpangomatrix.c
99
- - ext/pango/rbpangocoverage.c
83
+ - ext/pango/rbpangofontdescription.c
84
+ - ext/pango/rbpango.h
85
+ - ext/pango/rbpangomain.c
86
+ - ext/pango/extconf.rb
87
+ - ext/pango/rbpangolayout.c
100
88
  - ext/pango/rbpangorectangle.c
101
- - ext/pango/rbpangoscriptiter.c
102
- - ext/pango/rbpangorenderer.c
103
- - ext/pango/rbpangocairo.c
104
89
  - ext/pango/depend
90
+ - ext/pango/rbpangogravity.c
91
+ - ext/pango/rbpangoattriterator.c
92
+ - ext/pango/rbpangofontsetsimple.c
93
+ - ext/pango/rbpangolayoutiter.c
94
+ - ext/pango/rbpangofontfamily.c
95
+ - ext/pango/rbpangorenderer.c
96
+ - ext/pango/rbpangoscript.c
105
97
  - ext/pango/rbpangolayoutline.c
106
- - ext/pango/rbpangocontext.c
107
98
  - ext/pango/rbpangofontset.c
99
+ - ext/pango/rbpangocolor.c
100
+ - ext/pango/rbpangocontext.c
108
101
  - ext/pango/rbpangoitem.c
109
- - sample/attribute.rb
102
+ - ext/pango/rbpangoattribute.c
103
+ - ext/pango/rbpangoinits.c
104
+ - ext/pango/rbpangocairo.c
105
+ - ext/pango/rbpangoscriptiter.c
106
+ - ext/pango/rbpangocoverage.c
110
107
  - sample/gdk_layout.rb
111
- - sample/parse.rb
112
- - sample/label.rb
113
- - sample/break.rb
108
+ - sample/glyphstring.rb
114
109
  - sample/pango_cairo.rb
115
110
  - sample/sample.txt
111
+ - sample/script.rb
116
112
  - sample/layout.rb
113
+ - sample/break.rb
114
+ - sample/label.rb
117
115
  - sample/item.rb
118
- - sample/glyphstring.rb
119
- - sample/script.rb
120
- - test/pango-test-utils.rb
116
+ - sample/parse.rb
117
+ - sample/attribute.rb
118
+ - test/run-test.rb
121
119
  - test/test_layout.rb
122
120
  - test/test-attribute.rb
123
- - test/run-test.rb
124
121
  - test/test-language.rb
122
+ - test/pango-test-utils.rb
125
123
  has_rdoc: true
126
124
  homepage: http://ruby-gnome2.sourceforge.jp/
127
125
  licenses: []
@@ -1,172 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = Z:/home/kou/work/ruby/ruby-gnome2.win32/pango/src
7
- topdir = Z:/tmp/local/lib/ruby/1.8/i386-mingw32msvc
8
- hdrdir = $(topdir)
9
- VPATH = $(srcdir):$(topdir):$(hdrdir)
10
-
11
- DESTDIR = Z:
12
- exec_prefix = $(prefix)
13
- prefix = $(DESTDIR)/tmp/local
14
- sharedstatedir = $(prefix)/com
15
- mandir = $(datarootdir)/man
16
- psdir = $(docdir)
17
- oldincludedir = $(DESTDIR)/usr/include
18
- localedir = $(datarootdir)/locale
19
- bindir = $(exec_prefix)/bin
20
- libexecdir = $(exec_prefix)/libexec
21
- sitedir = $(libdir)/ruby/site_ruby
22
- htmldir = $(docdir)
23
- vendorarchdir = $(vendorlibdir)/$(sitearch)
24
- includedir = $(prefix)/include
25
- infodir = $(datarootdir)/info
26
- vendorlibdir = $(vendordir)/$(ruby_version)
27
- sysconfdir = $(prefix)/etc
28
- libdir = $(exec_prefix)/lib
29
- sbindir = $(exec_prefix)/sbin
30
- rubylibdir = $(libdir)/ruby/$(ruby_version)
31
- docdir = $(datarootdir)/doc/$(PACKAGE)
32
- dvidir = $(docdir)
33
- vendordir = $(libdir)/ruby/vendor_ruby
34
- datarootdir = $(prefix)/share
35
- pdfdir = $(docdir)
36
- archdir = $(rubylibdir)/$(arch)
37
- sitearchdir = $(sitelibdir)/$(sitearch)
38
- datadir = $(datarootdir)
39
- localstatedir = $(prefix)/var
40
- sitelibdir = $(sitedir)/$(ruby_version)
41
-
42
- CC = i586-mingw32msvc-gcc
43
- LIBRUBY = lib$(LIBRUBY_SO).a
44
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
45
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
46
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
47
-
48
- RUBY_EXTCONF_H =
49
- cflags = $(optflags) $(debugflags) $(warnflags)
50
- optflags = -O2
51
- debugflags = -g
52
- warnflags = -Wall -Wno-parentheses
53
- CFLAGS = $(cflags) -mms-bitfields -I/home/kou/.wine/drive_c/gtk/include/pango-1.0 -I/home/kou/.wine/drive_c/gtk/include/glib-2.0 -I/home/kou/.wine/drive_c/gtk/lib/glib-2.0/include -mms-bitfields -I/home/kou/.wine/drive_c/gtk/include/pango-1.0 -I/home/kou/.wine/drive_c/gtk/include/cairo -I/home/kou/.wine/drive_c/gtk/include/libpng12 -I/home/kou/.wine/drive_c/gtk/include/glib-2.0 -I/home/kou/.wine/drive_c/gtk/lib/glib-2.0/include
54
- INCFLAGS = -I. -IZ:/home/kou/work/ruby/ruby-gnome2.win32/glib/src -IZ:/home/kou/work/ruby/ruby-gnome2.win32/glib/src -I. -IZ:/tmp/local/lib/ruby/1.8/i386-mingw32msvc -IZ:/home/kou/work/ruby/ruby-gnome2.win32/pango
55
- DEFS =
56
- CPPFLAGS = -DHAVE_OBJECT_ALLOCATE -DRUBY_PANGO_COMPILATION -IZ:/tmp/local/lib/ruby/site_ruby/1.8/i386-msvcrt
57
- CXXFLAGS = $(CFLAGS)
58
- ldflags = -L. -L/home/kou/.wine/drive_c/gtk/lib -L/home/kou/.wine/drive_c/gtk/lib -LZ:/home/kou/work/ruby/ruby-gnome2.win32/glib/src -LZ:/home/kou/work/ruby/ruby-gnome2.win32/glib/src
59
- dldflags = -Wl,--enable-auto-image-base,--enable-auto-import,--export-all,--out-implib=libruby-pango.a
60
- archflag =
61
- DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
62
- LDSHARED = i586-mingw32msvc-gcc -shared -s
63
- AR = i586-mingw32msvc-ar
64
- EXEEXT = .exe
65
-
66
- RUBY_INSTALL_NAME = ruby
67
- RUBY_SO_NAME = msvcrt-ruby18
68
- arch = i386-mingw32msvc
69
- sitearch = i386-msvcrt
70
- ruby_version = 1.8
71
- ruby = Z:/tmp/local/bin/ruby.exe
72
- RUBY = $(ruby)
73
- RM = rm -f
74
- MAKEDIRS = mkdir -p
75
- INSTALL = /usr/bin/install -c
76
- INSTALL_PROG = $(INSTALL) -m 0755
77
- INSTALL_DATA = $(INSTALL) -m 644
78
- COPY = cp
79
-
80
- #### End of system configuration section. ####
81
-
82
- preload =
83
-
84
- libpath = . $(libdir)
85
- LIBPATH = -L. -L$(libdir)
86
- DEFFILE =
87
-
88
- CLEANFILES = mkmf.log
89
- DISTCLEANFILES = rbpangoinits.c rbpangoversion.h
90
-
91
- extout =
92
- extout_prefix =
93
- target_prefix =
94
- LOCAL_LIBS =
95
- LIBS = $(LIBRUBYARG_SHARED) -lpango-1.0 -lglib-2.0 -lintl -lgobject-2.0 -lgmodule-2.0 -lpangocairo-1.0 -lpango-1.0 -lglib-2.0 -lintl -lgobject-2.0 -lgmodule-2.0 -lcairo -lruby-glib2 -lruby-glib2 -lshell32 -lwsock32
96
- SRCS = rbpangoglyphinfo.c rbpangoscript.c rbpangolayout.c rbpangotabarray.c rbpangoattrlist.c rbpangoanalysis.c rbpangorectangle.c rbpangocontext.c rbpangofont.c rbpangologattr.c rbpangocoverage.c rbpangoglyphstring.c rbpangofontdescription.c rbpangolayoutiter.c rbpangoglyphitem.c rbpangofontmap.c rbpangomain.c rbpangofontsetsimple.c rbpangofontface.c rbpangofontset.c rbpangoinits.c rbpangoitem.c rbpangoattribute.c rbpangoscriptiter.c rbpangofontfamily.c rbpangomatrix.c rbpangofontmetrics.c rbpangoengine.c rbpangolanguage.c rbpangolayoutline.c rbpangoattriterator.c rbpango.c rbpangocolor.c rbpangorenderer.c rbpangocairo.c
97
- OBJS = rbpangoglyphinfo.o rbpangoscript.o rbpangolayout.o rbpangotabarray.o rbpangoattrlist.o rbpangoanalysis.o rbpangorectangle.o rbpangocontext.o rbpangofont.o rbpangologattr.o rbpangocoverage.o rbpangoglyphstring.o rbpangofontdescription.o rbpangolayoutiter.o rbpangoglyphitem.o rbpangofontmap.o rbpangomain.o rbpangofontsetsimple.o rbpangofontface.o rbpangofontset.o rbpangoinits.o rbpangoitem.o rbpangoattribute.o rbpangoscriptiter.o rbpangofontfamily.o rbpangomatrix.o rbpangofontmetrics.o rbpangoengine.o rbpangolanguage.o rbpangolayoutline.o rbpangoattriterator.o rbpango.o rbpangocolor.o rbpangorenderer.o rbpangocairo.o
98
- TARGET = pango
99
- DLLIB = $(TARGET).so
100
- EXTSTATIC =
101
- STATIC_LIB =
102
-
103
- BINDIR = $(bindir)
104
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
105
- RUBYLIBDIR = $(sitelibdir)$(target_prefix)
106
- RUBYARCHDIR = $(sitearchdir)$(target_prefix)
107
-
108
- TARGET_SO = $(DLLIB)
109
- CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
110
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
111
-
112
- all: $(DLLIB)
113
- static: $(STATIC_LIB)
114
-
115
- clean:
116
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
117
-
118
- distclean: clean
119
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
120
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
121
-
122
- realclean: distclean
123
- install: install-so install-rb
124
-
125
- install-so: $(RUBYARCHDIR)
126
- install-so: $(RUBYARCHDIR)/$(DLLIB)
127
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
128
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
129
- install-rb: pre-install-rb install-rb-default
130
- install-rb-default: pre-install-rb-default
131
- pre-install-rb: Makefile
132
- pre-install-rb-default: Makefile
133
- pre-install-rb-default: $(RUBYLIBDIR)
134
- install-rb-default: $(RUBYLIBDIR)/pango.rb
135
- $(RUBYLIBDIR)/pango.rb: Z:/home/kou/work/ruby/ruby-gnome2.win32/pango/src/lib/pango.rb $(RUBYLIBDIR)
136
- $(INSTALL_DATA) Z:/home/kou/work/ruby/ruby-gnome2.win32/pango/src/lib/pango.rb $(@D)
137
- $(RUBYARCHDIR):
138
- $(MAKEDIRS) $@
139
- $(RUBYLIBDIR):
140
- $(MAKEDIRS) $@
141
-
142
- site-install: site-install-so site-install-rb
143
- site-install-so: install-so
144
- site-install-rb: install-rb
145
-
146
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
147
-
148
- .cc.o:
149
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
150
-
151
- .cxx.o:
152
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
153
-
154
- .cpp.o:
155
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
156
-
157
- .C.o:
158
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
159
-
160
- .c.o:
161
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
162
-
163
- $(DLLIB): $(OBJS)
164
- @-$(RM) $@
165
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
166
-
167
-
168
-
169
- ###
170
- install:
171
- @$(RUBY) -run -e install -- -m 0644 -v $(srcdir)/rbpango.h $(sitearchdir)$(target_prefix)
172
- @$(RUBY) -run -e install -- -m 0644 -v rbpangoversion.h $(sitearchdir)$(target_prefix)
@@ -1,24 +0,0 @@
1
- /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbpangoversion.h -
5
-
6
- This file was generated by mkmf-gnome2.rb.
7
-
8
- ************************************************/
9
-
10
- #ifndef __RBPANGO_VERSION_H__
11
- #define __RBPANGO_VERSION_H__
12
-
13
- #define PANGO_MAJOR_VERSION (1)
14
- #define PANGO_MINOR_VERSION (20)
15
- #define PANGO_MICRO_VERSION (5)
16
-
17
- #define PANGO_CHECK_VERSION(major,minor,micro) \
18
- (PANGO_MAJOR_VERSION > (major) || \
19
- (PANGO_MAJOR_VERSION == (major) && PANGO_MINOR_VERSION > (minor)) || \
20
- (PANGO_MAJOR_VERSION == (major) && PANGO_MINOR_VERSION == (minor) && \
21
- PANGO_MICRO_VERSION >= (micro)))
22
-
23
-
24
- #endif /* __RBPANGO_VERSION_H__ */