gtksourceview2 3.1.1 → 3.1.2
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 +10 -1
- data/test/run-test.rb +16 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34fdbc7644ce814688d1193ca847002286835dd9
|
4
|
+
data.tar.gz: 00a82be594690ef123209ab9af41951fed265f6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b0869f10bd533281ebcdb56a819438c8b6aebf7469031b4659b3dd730c46a53b1b6571a00a6fe78271b00d615b97273d44b6eba77ce8cdbce26fb9389a91114
|
7
|
+
data.tar.gz: 80b24a3c3859aaa0dd1fb17ca28c6865511cddd01c592effd0036623cfb95ef476a719ee6ae9def6f8acbc26c664e549e0af2ec1c8bc9695cfb9dd788907b92d
|
@@ -30,7 +30,16 @@ rescue LoadError
|
|
30
30
|
require 'mkmf-gnome2'
|
31
31
|
end
|
32
32
|
|
33
|
-
[
|
33
|
+
[
|
34
|
+
"glib2",
|
35
|
+
"gobject-introspection",
|
36
|
+
"gio2",
|
37
|
+
"atk",
|
38
|
+
"cairo-gobject",
|
39
|
+
"pango",
|
40
|
+
"gdk_pixbuf2",
|
41
|
+
"gtk2",
|
42
|
+
].each do |package|
|
34
43
|
directory = "#{package}#{version_suffix}"
|
35
44
|
build_dir = "#{directory}/tmp/#{RUBY_PLATFORM}/#{package}/#{RUBY_VERSION}"
|
36
45
|
add_depend_package(package, "#{directory}/ext/#{package}",
|
data/test/run-test.rb
CHANGED
@@ -4,7 +4,10 @@ ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
|
|
4
4
|
ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
|
5
5
|
|
6
6
|
glib_base = File.join(ruby_gnome2_base, "glib2")
|
7
|
+
gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
|
8
|
+
gio_base = File.join(ruby_gnome2_base, "gio2")
|
7
9
|
atk_base = File.join(ruby_gnome2_base, "atk")
|
10
|
+
cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
|
8
11
|
pango_base = File.join(ruby_gnome2_base, "pango")
|
9
12
|
gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
|
10
13
|
gtk_base = File.join(ruby_gnome2_base, "gtk2")
|
@@ -13,15 +16,21 @@ gtk_source_view2_base = File.join(ruby_gnome2_base, "gtksourceview2")
|
|
13
16
|
$LOAD_PATH.unshift(glib_base)
|
14
17
|
require 'test/glib-test-init'
|
15
18
|
|
16
|
-
[
|
17
|
-
|
18
|
-
|
19
|
+
[
|
20
|
+
[glib_base, "glib2"],
|
21
|
+
[gobject_introspection_base, "gobject-introspection"],
|
22
|
+
[gio_base, "gio2"],
|
23
|
+
[atk_base, "atk"],
|
24
|
+
[cairo_gobject_base, "cairo-gobject"],
|
25
|
+
[pango_base, "pango"],
|
26
|
+
[gdk_pixbuf_base, "gdk_pixbuf2"],
|
27
|
+
[gtk_base, "gtk2"],
|
28
|
+
[gtk_source_view2_base, "gtksourceview2"],
|
29
|
+
].each do |target, module_name|
|
30
|
+
if File.exist?("#{target}/Makefile") and system("which make > /dev/null")
|
19
31
|
`make -C #{target.dump} > /dev/null` or exit(1)
|
20
32
|
end
|
21
|
-
$LOAD_PATH.unshift(File.join(target, "ext",
|
22
|
-
$LOAD_PATH.unshift(File.join(target, "src"))
|
23
|
-
$LOAD_PATH.unshift(File.join(target, "src", "lib"))
|
24
|
-
$LOAD_PATH.unshift(File.join(target))
|
33
|
+
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
25
34
|
$LOAD_PATH.unshift(File.join(target, "lib"))
|
26
35
|
end
|
27
36
|
|
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.1.
|
4
|
+
version: 3.1.2
|
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: 2017-
|
11
|
+
date: 2017-04-26 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.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.
|
26
|
+
version: 3.1.2
|
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: []
|
@@ -56,7 +56,7 @@ files:
|
|
56
56
|
- test/test_source_view.rb
|
57
57
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
58
58
|
licenses:
|
59
|
-
-
|
59
|
+
- LGPL-2.1+
|
60
60
|
metadata: {}
|
61
61
|
post_install_message:
|
62
62
|
rdoc_options: []
|