gsf 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32

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
  SHA1:
3
- metadata.gz: a43c945c5f28d59e5a28cb651030e7949e6382b4
4
- data.tar.gz: 8b4479e9e0bc03a1e7b7179e48bc56750715c65e
3
+ metadata.gz: 37432739a7b33adca55459230477fbd54b52a930
4
+ data.tar.gz: cd7e35491dedde27cc548359eb3e8e8f52e3a4e7
5
5
  SHA512:
6
- metadata.gz: 4590c5edec039fbbe0f7757fc1c765f968054333778b5f253ab65425c4bad292295ea1b157a978263a2a7de09db24393c228cfb10933b14badcff2aae8de740b
7
- data.tar.gz: 1c9fa3e14dcbda859c6abf48384cfc312c57991ec0087473728228192603e21e983081271060cc98ed1202a0fa2b3966c55c5b8f26fc9644934bee19fdf7a3ba
6
+ metadata.gz: 25dbd5a81f899e7a6f83008cb1f52f3045f344ea16cf6d6d05ef97ef870f3a86131ac8e976442a55abc224c7734c4c85038ed1577f0d1e56c64bc8eba6925afa
7
+ data.tar.gz: d22d974d04ba08f07160c9f72f5f1a0bee1958678701faf3f83d3c4838b686e1e72395e8183b8a0992a8961b3520e14037b42012c9550907c0f0fd73a6035390
@@ -0,0 +1,40 @@
1
+ # Copyright (C) 2017 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "pkg-config"
18
+ require "native-package-installer"
19
+
20
+ case RUBY_PLATFORM
21
+ when /mingw|mswin/
22
+ task :default => "nothing"
23
+ else
24
+ task :default => "dependency:check"
25
+ end
26
+
27
+ task :nothing do
28
+ end
29
+
30
+ namespace :dependency do
31
+ desc "Check dependency"
32
+ task :check do
33
+ unless PKGConfig.check_version?("libgsf-1")
34
+ unless NativePackageInstaller.install(:debian => "libgsf-1-dev",
35
+ :homebrew => "libgsf")
36
+ exit(false)
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2016 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2016-2017 Ruby-GNOME2 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
@@ -19,11 +19,13 @@
19
19
  ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
20
20
  ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
21
21
 
22
+ glib2_base = File.join(ruby_gnome2_base, "glib2")
22
23
  gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
23
24
  gio2_base = File.join(ruby_gnome2_base, "gio2")
24
25
  gsf_base = File.join(ruby_gnome2_base, "gsf")
25
26
 
26
27
  modules = [
28
+ [glib2_base, "glib2"],
27
29
  [gobject_introspection_base, "gobject-introspection"],
28
30
  [gio2_base, "gio2"],
29
31
  [gsf_base, "gsf"]
@@ -42,5 +44,11 @@ $LOAD_PATH.unshift(File.join(gsf_base, "test"))
42
44
  require "gsf-test-utils"
43
45
 
44
46
  require "gsf"
47
+ begin
48
+ Gsf.init
49
+ rescue GObjectIntrospection::RepositoryError
50
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
51
+ exit(true)
52
+ end
45
53
 
46
54
  exit Test::Unit::AutoRunner.run(true, File.join(gsf_base, "test"))
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gsf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gio2
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.1
19
+ version: 3.1.2
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.1.1
26
+ version: 3.1.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.1
33
+ version: 3.1.2
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.1.1
40
+ version: 3.1.2
41
41
  description: Ruby/GSF is a Ruby binding of GSF.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -45,6 +45,7 @@ extensions: []
45
45
  extra_rdoc_files: []
46
46
  files:
47
47
  - Rakefile
48
+ - dependency-check/Rakefile
48
49
  - lib/gsf.rb
49
50
  - lib/gsf/input.rb
50
51
  - lib/gsf/loader.rb
@@ -209,7 +210,7 @@ files:
209
210
  - vendor/local/share/thumbnailers/gsf-office.thumbnailer
210
211
  homepage: http://ruby-gnome2.sourceforge.jp/
211
212
  licenses:
212
- - LGPLv2.1+
213
+ - LGPL-2.1+
213
214
  metadata: {}
214
215
  post_install_message:
215
216
  rdoc_options: []