gtk2 3.3.5 → 3.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/gtk2/extconf.rb +24 -16
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81ba0c6433aa7f30941709c9f14e31e541693f797c2f53c311d867a58e93585f
4
- data.tar.gz: 7a741d93829b72c96d96caa696fd4e14ddfd99094f258bf7b5c1580c2973281e
3
+ metadata.gz: 6a86d37804f93621a6b95b78e42a7d88a5de3899f4a25988fc7c1028af9f67f9
4
+ data.tar.gz: e933e8e8ed528c30220985cca2ac102d23010e73c1a60896b38255b4730fe48c
5
5
  SHA512:
6
- metadata.gz: 4ed5c3d6e43cb04cf72c3c81ad55e6b490b15e2daeaa52f2ab45e0064e5e7a6f6936df33661477dd8d12e5b45533d645453a8cd231e7be3dd601f8618439052c
7
- data.tar.gz: d1fc38f76bb62d80c474d46ea3f4a13c444a23cbc6df9c7459d2b9507022a01314fcfd7ce00c99f10c510782b27bfbb08ac2c1fd9bf96fccaf3ed457df473892
6
+ metadata.gz: 476036a8a1b9021c92e9383a1a686b6ff3a2f6d98acb65807dc41b56c19cfe854436fb6a9b8575b398ddf9853abf0a88b30151faa6292cd545cdf703673ec4a1
7
+ data.tar.gz: 46494caa88aac8e69d1e00aadc820693cf86f889d57660557f29c3450288a57c24e6128aa023da42402260f716bb03170c1cc0d76906402e5bd5c1c1843da13f
@@ -1,8 +1,22 @@
1
- =begin
2
- extconf.rb for Ruby/GTK extention library
3
- =end
4
-
5
- require 'pathname'
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2010-2019 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ require "pathname"
6
20
 
7
21
  source_dir = Pathname(__FILE__).dirname
8
22
  base_dir = source_dir.parent.parent.expand_path
@@ -23,13 +37,7 @@ $LOAD_PATH.unshift(mkmf_gnome2_dir.to_s)
23
37
  module_name = "gtk2"
24
38
  package_id = "gtk+-2.0"
25
39
 
26
- begin
27
- require 'mkmf-gnome2'
28
- rescue LoadError
29
- require 'rubygems'
30
- gem 'glib2'
31
- require 'mkmf-gnome2'
32
- end
40
+ require "mkmf-gnome2"
33
41
 
34
42
  have_func("rb_errinfo")
35
43
 
@@ -50,10 +58,6 @@ have_func("rb_errinfo")
50
58
  :target_build_dir => build_dir)
51
59
  end
52
60
 
53
- unless check_cairo(:top_dir => top_dir)
54
- exit(false)
55
- end
56
-
57
61
  unless required_pkg_config_package([package_id, 2, 10, 0],
58
62
  :alt_linux => "libgtk+2-devel",
59
63
  :debian => "libgtk2.0-dev",
@@ -65,6 +69,10 @@ unless required_pkg_config_package([package_id, 2, 10, 0],
65
69
  exit(false)
66
70
  end
67
71
 
72
+ unless check_cairo(:top_dir => top_dir)
73
+ exit(false)
74
+ end
75
+
68
76
  PKGConfig.have_package("gobject-introspection-1.0")
69
77
 
70
78
  have_header("st.h")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk2
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: atk
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.5
19
+ version: 3.3.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.3.5
26
+ version: 3.3.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pango
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.3.5
33
+ version: 3.3.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.3.5
40
+ version: 3.3.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: gdk_pixbuf2
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.3.5
47
+ version: 3.3.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.3.5
54
+ version: 3.3.6
55
55
  description: Ruby/GTK2 is a Ruby binding of GTK+-2.x.
56
56
  email: ruby-gnome2-devel-en@lists.sourceforge.net
57
57
  executables: []