glib2 2.2.4 → 2.2.5

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
  SHA1:
3
- metadata.gz: 56078b561e1a7011b0fce3c9f929d8c7066a85b3
4
- data.tar.gz: df80089e7087c66724b67b290a010cbacd983195
3
+ metadata.gz: c7e949298ce137e91f0c483674d00ecf223360e5
4
+ data.tar.gz: 631153ad8255b6e980ab84a72a584b638d3b7b63
5
5
  SHA512:
6
- metadata.gz: b32601c57e27aad49787480785fc194ce03e37f24d01e167e520ea20c29b05d710dd3a3e4f82badaecad38f9e8c35ccbfe9952f86dbf0c9d4ba97726c4794d9a
7
- data.tar.gz: aba12f361aeef1d157143587380aeab77b8ddbf18bf90581d1dfffd8414be19b1c8c69753e5ddc1777258ee92b7c8165fd8484393aca8f19313501ff6f73d5ee
6
+ metadata.gz: 14de6f353a8cc06e27ef8d5b318979c760d6173ecd7c88d676ecaa48eef5d3da41fd99e1249c2132af76b9b5301ef51cd5d7f9b4804eda75b2f87d210310db73
7
+ data.tar.gz: 9d064c4df47b03609136ab7eb8d83fe28dc9d18c46db55e46c7ec41a524f87092c7ed3befa6b24ebecf5591528e11df80414b5887fab9cb2ca2c4cd022b79cd2
data/ext/glib2/extconf.rb CHANGED
@@ -56,10 +56,18 @@ create_pkg_config_file("Ruby/GLib2", package_id)
56
56
 
57
57
  enum_types_prefix = "glib-enum-types"
58
58
  include_paths = PKGConfig.cflags_only_I("glib-2.0")
59
+ ignore_headers = [
60
+ "giochannel.h",
61
+ "gmain.h",
62
+ "gscanner.h",
63
+ ]
64
+ unless (/mingw|cygwin|mswin/ === RUBY_PLATFORM)
65
+ ignore_headers << "gwin32.h"
66
+ end
59
67
  headers = include_paths.split.inject([]) do |result, path|
60
68
  result + Dir.glob(File.join(path.sub(/^-I/, ""), "glib", "*.h"))
61
69
  end.reject do |file|
62
- /g(iochannel|main|scanner)\.h/ =~ file
70
+ ignore_headers.include?(File.basename(file))
63
71
  end
64
72
  include_paths = PKGConfig.cflags_only_I("gobject-2.0")
65
73
  headers = include_paths.split.inject(headers) do |result, path|
data/ext/glib2/rbglib.h CHANGED
@@ -36,7 +36,7 @@ extern "C" {
36
36
 
37
37
  #define RBGLIB_MAJOR_VERSION 2
38
38
  #define RBGLIB_MINOR_VERSION 2
39
- #define RBGLIB_MICRO_VERSION 4
39
+ #define RBGLIB_MICRO_VERSION 5
40
40
 
41
41
  #ifndef RSTRING_PTR
42
42
  # define RSTRING_PTR(s) (RSTRING(s)->ptr)
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: 2.2.4
4
+ version: 2.2.5
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: 2014-12-23 00:00:00.000000000 Z
11
+ date: 2015-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config