glib2 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbgobj_boxed.c +1 -1
- data/lib/mkmf-gnome2.rb +6 -6
- metadata +2 -2
data/ext/glib2/rbglib.h
CHANGED
data/ext/glib2/rbgobj_boxed.c
CHANGED
data/lib/mkmf-gnome2.rb
CHANGED
@@ -75,7 +75,7 @@ end
|
|
75
75
|
def setup_win32(target_name, base_dir=nil)
|
76
76
|
checking_for(checking_message("Win32 OS")) do
|
77
77
|
case RUBY_PLATFORM
|
78
|
-
when /cygwin|mingw|
|
78
|
+
when /cygwin|mingw|mswin/
|
79
79
|
import_library_name = "libruby-#{target_name}.a"
|
80
80
|
$DLDFLAGS << " -Wl,--out-implib=#{import_library_name}"
|
81
81
|
$cleanfiles << import_library_name
|
@@ -154,12 +154,12 @@ def add_depend_package_path(target_name, target_source_dir, target_build_dir)
|
|
154
154
|
end
|
155
155
|
|
156
156
|
case RUBY_PLATFORM
|
157
|
-
when /cygwin|mingw|
|
157
|
+
when /cygwin|mingw|mswin/
|
158
158
|
case RUBY_PLATFORM
|
159
159
|
when /cygwin|mingw/
|
160
160
|
$LDFLAGS << " -L#{target_build_dir}"
|
161
161
|
$libs << " -lruby-#{target_name}"
|
162
|
-
when /
|
162
|
+
when /mswin/
|
163
163
|
$DLDFLAGS << " /libpath:#{target_build_dir}"
|
164
164
|
$libs << " libruby-#{target_name}.lib"
|
165
165
|
end
|
@@ -257,7 +257,7 @@ def create_makefile_at_srcdir(pkg_name, srcdir, defs = nil)
|
|
257
257
|
end
|
258
258
|
|
259
259
|
def run_make_in_sub_dirs_command(command, sub_dirs)
|
260
|
-
if /
|
260
|
+
if /mswin/ =~ RUBY_PLATFORM
|
261
261
|
sub_dirs.collect do |dir|
|
262
262
|
<<-EOM.chmop
|
263
263
|
@cd #{dir}
|
@@ -288,7 +288,7 @@ clean:
|
|
288
288
|
#{run_make_in_sub_dirs_command("clean", sub_dirs)}
|
289
289
|
EOM
|
290
290
|
|
291
|
-
if /
|
291
|
+
if /mswin/ =~ RUBY_PLATFORM
|
292
292
|
makefile.print(<<-EOM)
|
293
293
|
@if exist extconf.h del extconf.h
|
294
294
|
@if exist conftest.* del conftest.*
|
@@ -414,7 +414,7 @@ def check_cairo(options={})
|
|
414
414
|
end
|
415
415
|
|
416
416
|
unless rcairo_source_dir.nil?
|
417
|
-
if /mingw|cygwin|
|
417
|
+
if /mingw|cygwin|mswin/ =~ RUBY_PLATFORM
|
418
418
|
options = {}
|
419
419
|
build_dir = "tmp/#{RUBY_PLATFORM}/cairo/#{RUBY_VERSION}"
|
420
420
|
if File.exist?(File.join(rcairo_source_dir, build_dir))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glib2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pkg-config
|