gio2 4.0.6 → 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: '09b6d699902880bc91d4c4f8a1a1ecefbbcc09c51431ffb84e4d91501289123a'
4
- data.tar.gz: 80de283082841f77b568df7c800ebfc0a9ecd74afadfa19fbf413ac0a84189bb
3
+ metadata.gz: c31add85ac07f9c3778d02b3c1a3c1c80447619737f09387f1ad6ed8c4ae4c0d
4
+ data.tar.gz: 58e2605d5a70c16c18ea5abb29094de1185edd152d5a1cf4afb1d56446c8317a
5
5
  SHA512:
6
- metadata.gz: d6e983cf72da5498a356c0fcf8335a9b4a36b48f3f3b5eb9d03a85343427e7a9c9f0337c13eabddd1167c17e8741c39d635133351106ced2b1bc2662d56fb340
7
- data.tar.gz: f69c474fedf2104ba4c9a61bcd59bbf797356f615fad0c79f2cbb484272508ad0c78e40a786e4b27ce4545e5832974c89fdbb9fac29b82a81cc029c5248e6caf
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.6
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: 2023-01-08 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.6
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.6
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