glib2 4.0.6 → 4.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/rbglib.h +2 -2
- data/lib/mkmf-gnome.rb +7 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60c2c5487f29ebf3acdc88e99156b8cae261f6441dac6632582d473ce65accb3
|
4
|
+
data.tar.gz: cfdf2199e9cd240cebd48deba4de79c8984bcffd0da60c10a866fe18a7f895ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67d10012778e5f0ac390adbfb80c4ec3492a0c858182685742be776f279d88c6775146dfad71f23858cb44d074ad74841b8481987ff6805e7755d94218387445
|
7
|
+
data.tar.gz: 8b2bd8cca9855bbf2edb22dfa00977d7d903ccbf7048160e4c564bd4472fc1181b962cc7de0d0325a79fa6ebed22f7d54f6695b292429042b8878a83866740c9
|
data/ext/glib2/rbglib.h
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
|
2
2
|
/*
|
3
|
-
* Copyright (C) 2002-
|
3
|
+
* Copyright (C) 2002-2023 Ruby-GNOME Project Team
|
4
4
|
* Copyright (C) 2002,2003 Masahiro Sakai
|
5
5
|
*
|
6
6
|
* This library is free software; you can redistribute it and/or
|
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
|
|
33
33
|
|
34
34
|
#define RBGLIB_MAJOR_VERSION 4
|
35
35
|
#define RBGLIB_MINOR_VERSION 0
|
36
|
-
#define RBGLIB_MICRO_VERSION
|
36
|
+
#define RBGLIB_MICRO_VERSION 8
|
37
37
|
|
38
38
|
#ifndef RB_ZALLOC
|
39
39
|
# ifdef ZALLOC
|
data/lib/mkmf-gnome.rb
CHANGED
@@ -195,35 +195,24 @@ def add_depend_package_path(target_name,
|
|
195
195
|
target_source_dir,
|
196
196
|
target_build_dir,
|
197
197
|
is_gem=true)
|
198
|
-
pp [__method__,
|
199
|
-
target_name,
|
200
|
-
target_source_dir,
|
201
|
-
target_build_dir,
|
202
|
-
is_gem,
|
203
|
-
File.exist?(target_source_dir),
|
204
|
-
File.exist?(target_build_dir),
|
205
|
-
File.join(target_source_dir, "..", "..", "lib", target_name.gsub(/-/, "_") + ".so"),
|
206
|
-
File.exist?(File.join(target_source_dir, "..", "..", "lib", target_name.gsub(/-/, "_") + ".so")),
|
207
|
-
File.join(target_build_dir, target_name.gsub(/-/, "_") + ".so"),
|
208
|
-
File.exist?(File.join(target_build_dir, target_name.gsub(/-/, "_") + ".so")),
|
209
|
-
]
|
210
198
|
if File.exist?(target_source_dir)
|
211
199
|
$INCFLAGS = "-I#{target_source_dir}".quote + " #{$INCFLAGS}"
|
212
200
|
end
|
213
201
|
|
214
|
-
return unless File.exist?(target_build_dir)
|
215
|
-
if target_source_dir != target_build_dir
|
216
|
-
$INCFLAGS = "-I#{target_build_dir}".quote + " #{$INCFLAGS}"
|
217
|
-
end
|
218
|
-
|
219
|
-
library_base_name = target_name.gsub(/-/, "_")
|
220
202
|
if is_gem
|
221
203
|
# .../glib2/ext/glib2/ -> .../glib2/ext/glib2/../../lib/
|
222
204
|
# (.../glib2/lib/)
|
223
205
|
library_dir = File.join(target_source_dir, "..", "..", "lib")
|
224
206
|
else
|
207
|
+
return unless File.exist?(target_build_dir)
|
225
208
|
library_dir = target_build_dir
|
226
209
|
end
|
210
|
+
|
211
|
+
if target_source_dir != library_dir
|
212
|
+
$INCFLAGS = "-I#{library_dir}".quote + " #{$INCFLAGS}"
|
213
|
+
end
|
214
|
+
|
215
|
+
library_base_name = target_name.gsub(/-/, "_")
|
227
216
|
case RUBY_PLATFORM
|
228
217
|
when /cygwin|mingw/
|
229
218
|
library_path = File.join(library_dir, "#{library_base_name}.so")
|
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: 4.0.
|
4
|
+
version: 4.0.8
|
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-
|
11
|
+
date: 2023-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pkg-config
|