gtksourceview2 3.3.5 → 3.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/gtksourceview2/extconf.rb +23 -15
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dea6bd6eca29d1f132b7f288fbeb5e1b91fe84f75c2c75771bd9adcfa88f42aa
4
- data.tar.gz: 2a21354c2cbafb73084d2ccee794ee491ec9f0690b07903eb55353c65d45d507
3
+ metadata.gz: ae87033b469d9de12126c8b31b632813d7097b144da764814199a9e3b3084533
4
+ data.tar.gz: 86418738f52b225d6a1c7a79fde278e9ae689354373a79cbb9640e4b1727ac14
5
5
  SHA512:
6
- metadata.gz: 6f32d245fd40ff72c3d5980ff588186ed04069b9b7649684b4950180d0b8d6eb103a93d609febf40b3bac6c08b4b234ca5ebba268389aef2530f38afce2a7165
7
- data.tar.gz: 1e7bb11dbf9dd2404a1ab453ada7a2e4bb6107b270bd39d0be9367fff9c365fc4c6bf126662f14c2aaae5a0283c82255d5805a15ba25dbd10a60f2de249f10c6
6
+ metadata.gz: dd606ae4ff7ae43fafb245e96e0ace5b7b1446b39a86c992cb49a7d0c26747dd2977e5b818ec27b2a3544382419465804a34ecf8aabd6b59f1c4b9583e6770a0
7
+ data.tar.gz: '07809ad931e858e76a02dd711fcd01fd5ab9f0f860ec3a9398cd305ecc4aa0fc758b5006a0ef375f2d2e31738c303db0dcdb280b41091ff7895339e08a393fce'
@@ -1,8 +1,22 @@
1
- =begin
2
- extconf.rb for Ruby/GtkSourceView2 extension library
3
- =end
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2004-2019 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
4
18
 
5
- require 'pathname'
19
+ require "pathname"
6
20
 
7
21
  base_dir = Pathname(__FILE__).dirname.parent.parent.expand_path
8
22
  top_dir = base_dir.parent
@@ -22,13 +36,7 @@ $LOAD_PATH.unshift(mkmf_gnome2_dir.to_s)
22
36
  module_name = "gtksourceview2"
23
37
  package_id = "gtksourceview-2.0"
24
38
 
25
- begin
26
- require 'mkmf-gnome2'
27
- rescue LoadError
28
- require 'rubygems'
29
- gem 'glib2'
30
- require 'mkmf-gnome2'
31
- end
39
+ require "mkmf-gnome2"
32
40
 
33
41
  [
34
42
  "glib2",
@@ -48,10 +56,6 @@ end
48
56
  :target_build_dir => build_dir)
49
57
  end
50
58
 
51
- unless check_cairo(:top_dir => top_dir)
52
- exit(false)
53
- end
54
-
55
59
  unless required_pkg_config_package(package_id,
56
60
  :altlnux => "libgtksourceview-devel",
57
61
  :debian => "libgtksourceview2.0-dev",
@@ -62,6 +66,10 @@ unless required_pkg_config_package(package_id,
62
66
  exit(false)
63
67
  end
64
68
 
69
+ unless check_cairo(:top_dir => top_dir)
70
+ exit(false)
71
+ end
72
+
65
73
  # 2.2
66
74
  have_func('gtk_source_mark_get_type', "gtksourceview/gtksourcemark.h")
67
75
  have_func('gtk_source_print_compositor_get_type', "gtksourceview/gtksourceprintcompositor.h")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtksourceview2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.5
4
+ version: 3.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-09 00:00:00.000000000 Z
11
+ date: 2019-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gtk2
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.5
19
+ version: 3.3.6
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.5
26
+ version: 3.3.6
27
27
  description: Ruby/GtkSourceView2 is a Ruby binding of gtksourceview-2.x.
28
28
  email: ruby-gnome2-devel-en@lists.sourceforge.net
29
29
  executables: []