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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 850b247e82c86d02a35c85cf8d1aaee52e9d70e6110b0c396d9aefd8790b5091
4
- data.tar.gz: fc56bbd50779dfdc0ec2e4988b9520dc03d1db1df02b2d951e629c9970ca85dc
3
+ metadata.gz: 6000c75c32082135d97743216ec310e05ef4c89ea66ee3f67706a0448195794a
4
+ data.tar.gz: 5133d35c621fbd5e4c936fbab7129a14d5c4c46d292cb341b2ac5139204a1162
5
5
  SHA512:
6
- metadata.gz: 2db84e8af48258d0af296234343855018056858752243d2344d743e8db202854642082734817888b31b68a08308eb8b6a9d9601e33746ce40e7aa9baec352f44
7
- data.tar.gz: b7de7750096509f6e959944c7399e948379396519b5ea42f809ce6e913116661211d039c36b9a017630b46dbe82dde6a6f1b48416dfa282b3b5c8cb099fd2b6a
6
+ metadata.gz: 71a773116025f627c8c5d7dfb928cfe3a7023925d988057bd7855385518ff218f88aaa68bbe10d9ae2ed8444c71889ea90926caa191703129ffbfd0f01cfc125
7
+ data.tar.gz: fad1f907ec5cf31204a41545c5873bbbd03566f578465e52ff6ceaecba8a0deaa7beaa82c00ade674d7876d5c68caf70be6177b5ef6a49d2ff50a555b506d313
@@ -36,7 +36,7 @@ extern "C" {
36
36
 
37
37
  #define RBGLIB_MAJOR_VERSION 3
38
38
  #define RBGLIB_MINOR_VERSION 3
39
- #define RBGLIB_MICRO_VERSION 5
39
+ #define RBGLIB_MICRO_VERSION 6
40
40
 
41
41
  #ifndef RB_ZALLOC
42
42
  # ifdef ZALLOC
@@ -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
- if windows_platform?
440
- options = {}
441
- build_dir = "tmp/#{RUBY_PLATFORM}/cairo/#{RUBY_VERSION}"
442
- if File.exist?(File.join(rcairo_source_dir, build_dir))
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
- $INCFLAGS += " -I#{rcairo_source_dir}/ext/cairo"
434
+ add_depend_package("cairo", "ext/cairo", rcairo_source_dir, options)
449
435
  end
450
436
 
451
- PKGConfig.have_package('cairo') and have_header('rb_cairo.h')
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.5
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-09 00:00:00.000000000 Z
11
+ date: 2019-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config