gdk3 3.3.5 → 3.3.9

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: 93a8b1d49ebec7f444524509e9fea89591bb377a2c21598572e8577d417043f9
4
- data.tar.gz: ebf0930c3bca5527ce545263dea269f0ff824da405946ff22ecd361943a7977e
3
+ metadata.gz: 21f1b3595cf6d2293b2329fde5804fead53367c341a47ea5d5c4e723ff64e636
4
+ data.tar.gz: 5bc62e20ec7641c9b722c64c76180302f259ac04a7799040d9a684852ee209f4
5
5
  SHA512:
6
- metadata.gz: 9a630d2cf59a43cf327d645e4bfa77d9b2529639974d04b94738a4e2ec4afb7495cbb2378513d748d093960a94ec83520fb702b95f6a7480ebb7f197ad7a23f2
7
- data.tar.gz: 764e5ab833ce3fbce031dffdb28e3329f11e022a93875ba1b48204deb27c87e61e243e852e8b3b9576a8e100851493795bb1f38e26858ce62f362aa8fe768a72
6
+ metadata.gz: 9cdd8961c23d6a6207d2a8f502312f209134f5bdc8c3175be29265b6f7b35dffb14097ed916f76daa23118abdba8636e3893a96ecbf755efc1ffc4c60b3ff02d
7
+ data.tar.gz: 4f41bc90b758d98d4dd4525ae220896fd02702008b1b57df6118d75947b12a64fd4a1311128be5e3cfef9ee2833a731c0a182bf1200e3c2a64f548253a562443
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2017-2019 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -29,10 +29,11 @@ end
29
29
  namespace :dependency do
30
30
  desc "Check dependency"
31
31
  task :check do
32
- unless PKGConfig.check_version?("gdk-3.0")
32
+ package_id = "gdk-3.0"
33
+ unless PKGConfig.check_version?(package_id)
33
34
  unless NativePackageInstaller.install(:altlinux => "libgtk+3-devel",
34
35
  :debian => "libgtk-3-dev",
35
- :redhat => "pkgconfig(gdk-3.0)",
36
+ :redhat => "pkgconfig(#{package_id})",
36
37
  :homebrew => "gtk+3",
37
38
  :macports => "gtk3",
38
39
  :msys2 => "gtk3")
@@ -1,6 +1,6 @@
1
1
  # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2018 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2018 Ruby-GNOME Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.name = "gdk3"
23
23
  s.summary = "Ruby/GDK3 is a Ruby binding of GDK-3.x."
24
24
  s.description = "Ruby/GDK3 is a Ruby binding of GDK-3.x."
25
- s.author = "The Ruby-GNOME2 Project Team"
25
+ s.author = "The Ruby-GNOME Project Team"
26
26
  s.email = "ruby-gnome2-devel-en@lists.sourceforge.net"
27
27
  s.homepage = "https://ruby-gnome2.osdn.jp/"
28
28
  s.licenses = ["LGPL-2.1+"]
@@ -38,7 +38,11 @@ module Gdk
38
38
  end
39
39
  display = options[:display] || Display.default
40
40
 
41
- initialize_raw(display, *args)
41
+ if args.size == 1 and args[0].is_a?(String)
42
+ initialize_new_from_name(display, *args)
43
+ else
44
+ initialize_raw(display, *args)
45
+ end
42
46
  end
43
47
  end
44
48
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2013-2019 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -14,13 +14,14 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
+ require "pkg-config"
17
18
  require "test-unit"
18
19
 
19
20
  module GdkTestUtils
20
21
  private
21
22
  def only_gdk_version(major, minor, micro=nil)
22
23
  micro ||= 0
23
- gdk_version_raw = `pkg-config --modversion gdk-3.0`.chomp
24
+ gdk_version_raw = PKGConfig.modversion("gdk-3.0")
24
25
  gdk_version = gdk_version_raw.split(".").collect(&:to_i)
25
26
  unless (gdk_version <=> [major, minor, micro]) >= 0
26
27
  omit("Require GDK >= #{major}.#{minor}.#{micro}")
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2013-2015 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2013-2019 Ruby-GNOME Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -20,6 +20,7 @@ ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
20
20
  ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
21
21
 
22
22
  glib_base = File.join(ruby_gnome2_base, "glib2")
23
+ gio_base = File.join(ruby_gnome2_base, "gio2")
23
24
  atk_base = File.join(ruby_gnome2_base, "atk")
24
25
  cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
25
26
  pango_base = File.join(ruby_gnome2_base, "pango")
@@ -29,6 +30,7 @@ gdk3_base = File.join(ruby_gnome2_base, "gdk3")
29
30
 
30
31
  [
31
32
  [glib_base, "glib2"],
33
+ [gio_base, "gio2"],
32
34
  [atk_base, "atk"],
33
35
  [cairo_gobject_base, "cairo-gobject"],
34
36
  [pango_base, "pango"],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdk3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.5
4
+ version: 3.3.9
5
5
  platform: ruby
6
6
  authors:
7
- - The Ruby-GNOME2 Project Team
7
+ - The Ruby-GNOME 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-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pango
@@ -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.9
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.9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gdk_pixbuf2
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.9
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.9
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cairo-gobject
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.9
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.9
55
55
  description: Ruby/GDK3 is a Ruby binding of GDK-3.x.
56
56
  email: ruby-gnome2-devel-en@lists.sourceforge.net
57
57
  executables: []
@@ -116,7 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.1.0.pre1
119
+ rubyforge_project:
120
+ rubygems_version: 2.7.6.2
120
121
  signing_key:
121
122
  specification_version: 4
122
123
  summary: Ruby/GDK3 is a Ruby binding of GDK-3.x.