gtksourceview2 3.3.5 → 3.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtksourceview2/extconf.rb +23 -15
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae87033b469d9de12126c8b31b632813d7097b144da764814199a9e3b3084533
|
4
|
+
data.tar.gz: 86418738f52b225d6a1c7a79fde278e9ae689354373a79cbb9640e4b1727ac14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd606ae4ff7ae43fafb245e96e0ace5b7b1446b39a86c992cb49a7d0c26747dd2977e5b818ec27b2a3544382419465804a34ecf8aabd6b59f1c4b9583e6770a0
|
7
|
+
data.tar.gz: '07809ad931e858e76a02dd711fcd01fd5ab9f0f860ec3a9398cd305ecc4aa0fc758b5006a0ef375f2d2e31738c303db0dcdb280b41091ff7895339e08a393fce'
|
@@ -1,8 +1,22 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
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
|
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
|
-
|
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.
|
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-
|
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.
|
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.
|
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: []
|