glib2 0.90.6-x86-mingw32 → 0.90.7-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,5 +1,12 @@
1
+ 2011-02-02 Kouhei Sutou <kou@cozmixng.org>
2
+
3
+ * lib/mkmf-gnome2.rb: remove "-Wl,--no-undefined" linker flag.
4
+ Reported by Dobai-Pataky Bálint.
5
+
1
6
  2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
7
 
8
+ * ext/glib2/rbglib.h: 0.90.6 -> 0.90.7.
9
+
3
10
  * lib/mkmf-gnome2.rb (setup_win32): add vendor/local/ existence check.
4
11
 
5
12
  * lib/gnome2-win32-binary-downloader.rb
@@ -0,0 +1,169 @@
1
+
2
+ SHELL = /bin/sh
3
+
4
+ #### Start of system configuration section. ####
5
+
6
+ srcdir = /home/kou/work/ruby/ruby-gnome2.win32/glib2/ext/glib2
7
+ topdir = /usr/lib/ruby/1.8/x86_64-linux
8
+ hdrdir = $(topdir)
9
+ VPATH = $(srcdir):$(topdir):$(hdrdir)
10
+ exec_prefix = $(prefix)
11
+ prefix = $(DESTDIR)/usr
12
+ sharedstatedir = $(prefix)/com
13
+ mandir = $(prefix)/share/man
14
+ psdir = $(docdir)
15
+ oldincludedir = $(DESTDIR)/usr/include
16
+ localedir = $(datarootdir)/locale
17
+ bindir = $(exec_prefix)/bin
18
+ libexecdir = $(prefix)/lib/ruby1.8
19
+ sitedir = $(DESTDIR)/usr/local/lib/site_ruby
20
+ htmldir = $(docdir)
21
+ vendorarchdir = $(vendorlibdir)/$(sitearch)
22
+ includedir = $(prefix)/include
23
+ infodir = $(prefix)/share/info
24
+ vendorlibdir = $(vendordir)/$(ruby_version)
25
+ sysconfdir = $(DESTDIR)/etc
26
+ libdir = $(exec_prefix)/lib
27
+ sbindir = $(exec_prefix)/sbin
28
+ rubylibdir = $(libdir)/ruby/$(ruby_version)
29
+ docdir = $(datarootdir)/doc/$(PACKAGE)
30
+ dvidir = $(docdir)
31
+ vendordir = $(libdir)/ruby/vendor_ruby
32
+ datarootdir = $(prefix)/share
33
+ pdfdir = $(docdir)
34
+ archdir = $(rubylibdir)/$(arch)
35
+ sitearchdir = $(sitelibdir)/$(sitearch)
36
+ datadir = $(datarootdir)
37
+ localstatedir = $(DESTDIR)/var
38
+ sitelibdir = $(sitedir)/$(ruby_version)
39
+
40
+ CC = gcc
41
+ LIBRUBY = $(LIBRUBY_SO)
42
+ LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
43
+ LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
44
+ LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
45
+
46
+ RUBY_EXTCONF_H =
47
+ CFLAGS = -fPIC -fno-strict-aliasing -g -g -O2 -fPIC $(cflags) -Wall -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
48
+ INCFLAGS = -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/ruby-gnome2.win32/glib2/ext/glib2
49
+ DEFS =
50
+ CPPFLAGS = -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_UNISTD_H -DHAVE_G_SPAWN_CLOSE_PID -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DHAVE_RB_EXEC_RECURSIVE -DHAVE_RUBY_SET_CURRENT_SOURCE -DHAVE_RB_CURR_THREAD -DRUBY_GLIB2_COMPILATION
51
+ CXXFLAGS = $(CFLAGS)
52
+ ldflags = -L. -rdynamic -Wl,-export-dynamic -pthread -pthread
53
+ dldflags =
54
+ archflag =
55
+ DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
56
+ LDSHARED = $(CC) -shared
57
+ AR = ar
58
+ EXEEXT =
59
+
60
+ RUBY_INSTALL_NAME = ruby1.8
61
+ RUBY_SO_NAME = ruby1.8
62
+ arch = x86_64-linux
63
+ sitearch = x86_64-linux
64
+ ruby_version = 1.8
65
+ ruby = /usr/bin/ruby1.8
66
+ RUBY = $(ruby)
67
+ RM = rm -f
68
+ MAKEDIRS = mkdir -p
69
+ INSTALL = /usr/bin/install -c
70
+ INSTALL_PROG = $(INSTALL) -m 0755
71
+ INSTALL_DATA = $(INSTALL) -m 644
72
+ COPY = cp
73
+
74
+ #### End of system configuration section. ####
75
+
76
+ preload =
77
+
78
+ libpath = . $(libdir)
79
+ LIBPATH = -L. -L$(libdir)
80
+ DEFFILE =
81
+
82
+ CLEANFILES = mkmf.log
83
+ DISTCLEANFILES = glib-enum-types.h glib-enum-types.c
84
+
85
+ extout =
86
+ extout_prefix =
87
+ target_prefix =
88
+ LOCAL_LIBS =
89
+ LIBS = $(LIBRUBYARG_SHARED) -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lrt -lgthread-2.0 -lrt -lglib-2.0 -lpthread -lrt -ldl -lcrypt -lm -lc
90
+ SRCS = rbglib_timer.c rbglib_completion.c rbgobj_param.c rbgobj_valuearray.c rbglib_threads.c rbgobj_value.c rbglib_fileutils.c rbglib.c rbglib_iochannel.c rbgobj_type.c rbgobj_typeplugin.c rbgobj_convert.c rbgobj_strv.c rbglib_messages.c rbgutil.c rbglib_maincontext.c rbgobj_object.c rbgobj_typeinstance.c rbglib_error.c rbgobj_paramspecs.c rbgutil_callback.c rbgobj_typemodule.c rbglib_utils.c rbglib_mainloop.c rbgobj_enums.c rbglib_win32.c rbglib_int64.c glib-enum-types.c rbgobj_fundamental.c rbgobj_closure.c rbgobject.c rbgobj_boxed.c rbglib_shell.c rbgobj_typeinterface.c rbglib_convert.c rbglib_keyfile.c rbgobj_valuetypes.c rbglib_i18n.c rbglib_unicode.c rbglib_pollfd.c rbglib_bookmarkfile.c rbglib_source.c rbgobj_signal.c rbglib_spawn.c
91
+ OBJS = rbglib_timer.o rbglib_completion.o rbgobj_param.o rbgobj_valuearray.o rbglib_threads.o rbgobj_value.o rbglib_fileutils.o rbglib.o rbglib_iochannel.o rbgobj_type.o rbgobj_typeplugin.o rbgobj_convert.o rbgobj_strv.o rbglib_messages.o rbgutil.o rbglib_maincontext.o rbgobj_object.o rbgobj_typeinstance.o rbglib_error.o rbgobj_paramspecs.o rbgutil_callback.o rbgobj_typemodule.o rbglib_utils.o rbglib_mainloop.o rbgobj_enums.o rbglib_win32.o rbglib_int64.o glib-enum-types.o rbgobj_fundamental.o rbgobj_closure.o rbgobject.o rbgobj_boxed.o rbglib_shell.o rbgobj_typeinterface.o rbglib_convert.o rbglib_keyfile.o rbgobj_valuetypes.o rbglib_i18n.o rbglib_unicode.o rbglib_pollfd.o rbglib_bookmarkfile.o rbglib_source.o rbgobj_signal.o rbglib_spawn.o
92
+ TARGET = glib2
93
+ DLLIB = $(TARGET).so
94
+ EXTSTATIC =
95
+ STATIC_LIB =
96
+
97
+ BINDIR = $(bindir)
98
+ RUBYCOMMONDIR = $(sitedir)$(target_prefix)
99
+ RUBYLIBDIR = $(sitelibdir)$(target_prefix)
100
+ RUBYARCHDIR = $(sitearchdir)$(target_prefix)
101
+
102
+ TARGET_SO = $(DLLIB)
103
+ CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
104
+ CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
105
+
106
+ all: $(DLLIB)
107
+ static: $(STATIC_LIB)
108
+
109
+ clean:
110
+ @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
111
+
112
+ distclean: clean
113
+ @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
114
+ @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
115
+
116
+ realclean: distclean
117
+ install: install-so install-rb
118
+
119
+ install-so: $(RUBYARCHDIR)
120
+ install-so: $(RUBYARCHDIR)/$(DLLIB)
121
+ $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
122
+ $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
123
+ install-rb: pre-install-rb install-rb-default
124
+ install-rb-default: pre-install-rb-default
125
+ pre-install-rb: Makefile
126
+ pre-install-rb-default: Makefile
127
+ $(RUBYARCHDIR):
128
+ $(MAKEDIRS) $@
129
+
130
+ site-install: site-install-so site-install-rb
131
+ site-install-so: install-so
132
+ site-install-rb: install-rb
133
+
134
+ .SUFFIXES: .c .m .cc .cxx .cpp .C .o
135
+
136
+ .cc.o:
137
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
138
+
139
+ .cxx.o:
140
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
141
+
142
+ .cpp.o:
143
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
144
+
145
+ .C.o:
146
+ $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
147
+
148
+ .c.o:
149
+ $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
150
+
151
+ $(DLLIB): $(OBJS) Makefile
152
+ @-$(RM) $@
153
+ $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
154
+
155
+
156
+
157
+ ###
158
+ install-so:
159
+ $(INSTALL_DATA) $(srcdir)/rbglib.h $(RUBYARCHDIR)
160
+ $(INSTALL_DATA) $(srcdir)/rbgutil.h $(RUBYARCHDIR)
161
+ $(INSTALL_DATA) $(srcdir)/rbgobject.h $(RUBYARCHDIR)
162
+ $(INSTALL_DATA) $(srcdir)/rbgcompat.h $(RUBYARCHDIR)
163
+ $(INSTALL_DATA) glib-enum-types.h $(RUBYARCHDIR)
164
+
165
+ install:
166
+ if test -n "$(pkgconfigdir)"; then \
167
+ $(MAKEDIRS) $(pkgconfigdir); \
168
+ $(INSTALL_DATA) ruby-glib2.pc $(pkgconfigdir); \
169
+ fi