gtksourceview4 3.4.0 → 3.4.5

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: 218bd233e459eec20758772488efe1caf784683d29ce5831fd10f4b372d7a1c0
4
- data.tar.gz: d6180739df5bf44a0480fce0c625cf9ecd1d8d8d687fe84ef6e94183840495bf
3
+ metadata.gz: a31f53f53ea5c1aad0a267d5de420040b53f6084ea4b4cfa60c9531812cad1c6
4
+ data.tar.gz: 0f410c00bd84ef5a82e44b8e7846ba5abd84bb712d106bb9bd04b42c61307a07
5
5
  SHA512:
6
- metadata.gz: b82435cb57e6fde511ca03f6bb9588368e0fba13e123ff4f9b84c063afc81c9ece6221c66d3444d7867e6d1598efff1d27a6fe44b322534d182c2a66bfaf697d
7
- data.tar.gz: 18119dacb9fd3874a14e45293e3662eed354ce2001c920fb5df2cdcedab3b7964f36b794b83c333dab620aedf32d125c5d1bf4d678b66fba0176b8e1f62ff09d
6
+ metadata.gz: e4cadfa9d5fb394207bdd186384a9ba8424bff70142102d34a8261dcc49cfd8fc9f55cf9e50d799d6ff07ab68fade93eb4198be20757d43d51f7462a76b92c7f
7
+ data.tar.gz: 96d7d6c353ffaaf4314f478e3c42dbc4cf213b920efb7622e5f4f1d2b920d09b1edcb3e27780f0020ae8d1c62268c08521065f8bd685427f9463d9ab2dd81902
@@ -32,10 +32,10 @@ namespace :dependency do
32
32
  package_id = "gtksourceview-4.0"
33
33
  unless PKGConfig.check_version?(package_id)
34
34
  unless NativePackageInstaller.install(:altlinux => "libgtksourceview4-devel",
35
- :debian => "libgtksourceview-4.0-dev",
36
- :redhat => "pkgconfig(#{package_id})",
35
+ :debian => "libgtksourceview-4-dev",
37
36
  :homebrew => "gtksourceview4",
38
37
  :macports => "gtksourceview4",
38
+ :redhat => "pkgconfig(#{package_id})",
39
39
  :msys2 => "gtksourceview4")
40
40
  exit(false)
41
41
  end
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2008-2018 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2008-2021 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
@@ -16,47 +16,29 @@
16
16
  # License along with this library; if not, write to the Free Software
17
17
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
- ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
20
- ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
19
+ require_relative "../../glib2/test/run-test"
21
20
 
22
- glib_base = File.join(ruby_gnome2_base, "glib2")
23
- atk_base = File.join(ruby_gnome2_base, "atk")
24
- cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
25
- pango_base = File.join(ruby_gnome2_base, "pango")
26
- gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
27
- gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
28
- gio2_base = File.join(ruby_gnome2_base, "gio2")
29
- gdk3_base = File.join(ruby_gnome2_base, "gdk3")
30
- gtk3_base = File.join(ruby_gnome2_base, "gtk3")
31
- gtk_source_view4_base = File.join(ruby_gnome2_base, "gtksourceview4")
21
+ run_test(__dir__,
22
+ [
23
+ "glib2",
24
+ "gobject-introspection",
25
+ "atk",
26
+ "cairo-gobject",
27
+ "gio2",
28
+ "gdk_pixbuf2",
29
+ "pango",
30
+ "gdk3",
31
+ "gtk3",
32
+ "gtksourceview4",
33
+ ]) do
34
+ require_relative "../../gtk3/test/gtk-test-utils"
32
35
 
33
- $LOAD_PATH.unshift(glib_base)
34
- require 'test/glib-test-init'
36
+ require "gtksourceview4"
35
37
 
36
- dependencies = [
37
- glib_base,
38
- atk_base,
39
- cairo_gobject_base,
40
- pango_base,
41
- gdk_pixbuf_base,
42
- gobject_introspection_base,
43
- gio2_base,
44
- gdk3_base,
45
- gtk3_base,
46
- gtk_source_view4_base,
47
- ]
48
- dependencies.each do |target|
49
- makefile = File.join(target, "Makefile")
50
- if File.exist?(makefile) and system("which make > /dev/null")
51
- `make -C #{target.dump} > /dev/null` or exit(false)
38
+ begin
39
+ GtkSource.init
40
+ rescue GObjectIntrospection::RepositoryError
41
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
42
+ exit(true)
52
43
  end
53
- $LOAD_PATH.unshift(File.join(target, "ext", File.basename(target)))
54
- $LOAD_PATH.unshift(File.join(target, "lib"))
55
44
  end
56
-
57
- $LOAD_PATH.unshift(File.join(gtk3_base, "test"))
58
- require 'gtk-test-utils'
59
-
60
- require 'gtksourceview4'
61
-
62
- exit Test::Unit::AutoRunner.run(true, File.join(gtk_source_view4_base, "test"))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtksourceview4
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.5
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: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2021-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gtk3
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.0
19
+ version: 3.4.5
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.4.0
26
+ version: 3.4.5
27
27
  description: Ruby/GtkSourceView4 is a Ruby binding of gtksourceview-4.x.
28
28
  email: ruby-gnome2-devel-en@lists.sourceforge.net
29
29
  executables: []
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.1.0.pre1
68
+ rubygems_version: 3.3.0.dev
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Ruby/GtkSourceView4 is a Ruby binding of gtksourceview-4.x.