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 +4 -4
- data/ext/glib2/extconf.rb +9 -1
- data/ext/glib2/rbglib.h +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7e949298ce137e91f0c483674d00ecf223360e5
|
4
|
+
data.tar.gz: 631153ad8255b6e980ab84a72a584b638d3b7b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
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
|
+
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:
|
11
|
+
date: 2015-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pkg-config
|