gtksourceview4 3.3.9 → 3.4.4

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: bee78060d8d856f9aec242187d72c745ccba98608f15e4ce152f6ec7dfb3afaf
4
- data.tar.gz: b048bf2a42be1b7ba61f1c645ce65ffacb5b60d8a33f08ea2b2c18cbc0ac3b69
3
+ metadata.gz: a5a459fc7d3483b5ec827c4fb0fba5e5e1d658eaa2430cc5b1c3c0b2a78af161
4
+ data.tar.gz: 7f42977806ba7ebf6dffc110bbaf63a24028348316895a0f7fe8e3543f986d89
5
5
  SHA512:
6
- metadata.gz: 6cc60657880687dc77ae856e0cd975be699918b3f979ae6159035b4af5227cfdf33fa61db440ecbd50d36a8d521393c2e168d51a847dc40b50e68d4d06d62f83
7
- data.tar.gz: 2407e200b2a5c47167e779990a66b9692388d5b78af3df5c8126092f92374c775edabf4cfd42ea7e2a7c9f6056145eb354b030e5231d6a08c1b969a29b658e07
6
+ metadata.gz: 4440a9ba36a6b147d50740ba6d56537b55024e097e8dfe7a02f990d1589bc56bc6c3a6fb78f66f8c214a1590c24661ae9a31505fdd1590f3514125fd117cc471
7
+ data.tar.gz: 4407ce94e4d0dcec5a6c2fc9c5fc5d78144e6cfee01a0efd807fccef11a7520166791cdfa282f9e54be3effbb959f339ded5201e0f1ad75c0bdb057ee8633c0d
@@ -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.3.9
4
+ version: 3.4.4
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-04-22 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.3.9
19
+ version: 3.4.4
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.3.9
26
+ version: 3.4.4
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,8 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubyforge_project:
69
- rubygems_version: 2.7.6.2
68
+ rubygems_version: 3.3.0.dev
70
69
  signing_key:
71
70
  specification_version: 4
72
71
  summary: Ruby/GtkSourceView4 is a Ruby binding of gtksourceview-4.x.