glib2 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/rbglib.h +1 -1
- data/lib/mkmf-gnome2.rb +6 -20
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6000c75c32082135d97743216ec310e05ef4c89ea66ee3f67706a0448195794a
|
4
|
+
data.tar.gz: 5133d35c621fbd5e4c936fbab7129a14d5c4c46d292cb341b2ac5139204a1162
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71a773116025f627c8c5d7dfb928cfe3a7023925d988057bd7855385518ff218f88aaa68bbe10d9ae2ed8444c71889ea90926caa191703129ffbfd0f01cfc125
|
7
|
+
data.tar.gz: fad1f907ec5cf31204a41545c5873bbbd03566f578465e52ff6ceaecba8a0deaa7beaa82c00ade674d7876d5c68caf70be6177b5ef6a49d2ff50a555b506d313
|
data/ext/glib2/rbglib.h
CHANGED
data/lib/mkmf-gnome2.rb
CHANGED
@@ -190,16 +190,6 @@ def add_depend_package_path(target_name, target_source_dir, target_build_dir)
|
|
190
190
|
$INCFLAGS = "-I#{target_source_dir} #{$INCFLAGS}"
|
191
191
|
end
|
192
192
|
|
193
|
-
if windows_platform?
|
194
|
-
target_base_dir = Pathname.new(target_source_dir).parent.parent
|
195
|
-
target_binary_base_dir = target_base_dir + "vendor" + "local"
|
196
|
-
if target_binary_base_dir.exist?
|
197
|
-
$INCFLAGS = "-I#{target_binary_base_dir}/include #{$INCFLAGS}"
|
198
|
-
target_pkg_config_dir = target_binary_base_dir + "lib" + "pkgconfig"
|
199
|
-
PKGConfig.add_path(target_pkg_config_dir.to_s)
|
200
|
-
end
|
201
|
-
end
|
202
|
-
|
203
193
|
return unless File.exist?(target_build_dir)
|
204
194
|
if target_source_dir != target_build_dir
|
205
195
|
$INCFLAGS = "-I#{target_build_dir} #{$INCFLAGS}"
|
@@ -436,19 +426,15 @@ def check_cairo(options={})
|
|
436
426
|
end
|
437
427
|
|
438
428
|
unless rcairo_source_dir.nil?
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
options[:target_build_dir] = build_dir
|
444
|
-
end
|
445
|
-
add_depend_package("cairo", "ext/cairo", rcairo_source_dir, options)
|
446
|
-
$defs << "-DRUBY_CAIRO_PLATFORM_WIN32"
|
429
|
+
options = {}
|
430
|
+
build_dir = "tmp/#{RUBY_PLATFORM}/cairo/#{RUBY_VERSION}"
|
431
|
+
if File.exist?(File.join(rcairo_source_dir, build_dir))
|
432
|
+
options[:target_build_dir] = build_dir
|
447
433
|
end
|
448
|
-
|
434
|
+
add_depend_package("cairo", "ext/cairo", rcairo_source_dir, options)
|
449
435
|
end
|
450
436
|
|
451
|
-
PKGConfig.have_package(
|
437
|
+
PKGConfig.have_package("cairo") and have_header("rb_cairo.h")
|
452
438
|
end
|
453
439
|
|
454
440
|
def install_missing_native_package(native_package_info)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glib2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.6
|
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: 2019-03-
|
11
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pkg-config
|