gio2 4.0.5 → 4.0.7

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/gio2/extconf.rb +3 -17
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 634ddec432b53d3bc08a4c3e1b69c20985c8347cb46831700d543d6763cf3b88
4
- data.tar.gz: 6b8636e5014d5fa93111831b4965ed7d20fc29008b7cab239b52eae5f70da09c
3
+ metadata.gz: c31add85ac07f9c3778d02b3c1a3c1c80447619737f09387f1ad6ed8c4ae4c0d
4
+ data.tar.gz: 58e2605d5a70c16c18ea5abb29094de1185edd152d5a1cf4afb1d56446c8317a
5
5
  SHA512:
6
- metadata.gz: 5ba334f60f1379e4bddf1c9d951dfef66097596c5a94fe852e13c45ee9603c9be7e3aa5ba2f9c303b1662333213518cc1c2c9d315f4140e50c359febd55a8bf8
7
- data.tar.gz: ac1b282e7079f2156111d577726bc7c20fef4f3d3b60fd8d28dfb1d01095ab291c0808fd3d9b893c9675504b67ee7f0d2203fb9df1fb0d39eb1424c8b328792c
6
+ metadata.gz: 8c8aa582c730cd3df3a3577b8ce1e2b437c76ad1d7fcff63171053daadd3b250114f7f7aadca2e04169e74433c2ff2a9a4376bac54dca2155beaa3f530738c2d
7
+ data.tar.gz: c28179efdcfa5d56231880fa9de755f39fe23cfa20f790c8585fabe8d41237c8d6a954d8bea65ee4d3ef5be2f26d5971700f97f328c74c31649e379324094485
data/ext/gio2/extconf.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2014-2022 Ruby-GNOME Project Team
3
+ # Copyright (C) 2014-2023 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
@@ -23,15 +23,8 @@ top_dir = base_dir.parent
23
23
  top_build_dir = Pathname(".").parent.parent.parent.expand_path
24
24
 
25
25
  mkmf_gnome2_dir = top_dir + "glib2" + "lib"
26
- version_suffix = ""
27
- unless mkmf_gnome2_dir.exist?
28
- if /(-\d+\.\d+\.\d+)\z/ =~ base_dir.basename.to_s
29
- version_suffix = $1
30
- mkmf_gnome2_dir = top_dir + "glib2#{version_suffix}" + "lib"
31
- end
32
- end
26
+ $LOAD_PATH.unshift(mkmf_gnome2_dir.to_s) if mkmf_gnome2_dir.exist?
33
27
 
34
- $LOAD_PATH.unshift(mkmf_gnome2_dir.to_s)
35
28
 
36
29
  module_name = "gio2"
37
30
  package_id = "gio-2.0"
@@ -39,14 +32,7 @@ package_id = "gio-2.0"
39
32
  require "mkmf-gnome"
40
33
 
41
34
  ["glib2"].each do |package|
42
- directory = "#{package}#{version_suffix}"
43
- build_base_path = "#{directory}/tmp/#{RUBY_PLATFORM}"
44
- package_library_name = package.gsub(/-/, "_")
45
- build_dir = "#{build_base_path}/#{package_library_name}/#{RUBY_VERSION}"
46
- add_depend_package(package, "#{directory}/ext/#{package}",
47
- top_dir.to_s,
48
- :top_build_dir => top_build_dir.to_s,
49
- :target_build_dir => build_dir)
35
+ add_depend_package(package, "#{package}/ext/#{package}", top_dir.to_s)
50
36
  end
51
37
 
52
38
  unless required_pkg_config_package(package_id,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gio2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.5
4
+ version: 4.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.0.5
33
+ version: 4.0.7
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: 4.0.5
40
+ version: 4.0.7
41
41
  description: Ruby/GIO2 provide Ruby binding to a VFS API and useful APIs for desktop
42
42
  applications (such as networking and D-Bus support).
43
43
  email: ruby-gnome2-devel-en@lists.sourceforge.net