pkg-config 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/{extconf.rb → Gemfile} +11 -5
- data/README.rdoc +20 -4
- data/Rakefile +26 -17
- data/lib/pkg-config.rb +37 -19
- data/setup.rb +1586 -0
- data/test/run-test.rb +1 -3
- data/test/test_pkg_config.rb +7 -3
- metadata +57 -35
- data/NEWS +0 -59
data/test/run-test.rb
CHANGED
@@ -3,12 +3,10 @@
|
|
3
3
|
$VERBOSE = true
|
4
4
|
|
5
5
|
base_dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
6
|
-
test_unit_dir = File.join(base_dir, "test-unit", "lib")
|
7
6
|
lib_dir = File.join(base_dir, "lib")
|
8
7
|
test_dir = File.join(base_dir, "test")
|
9
8
|
|
10
|
-
|
11
|
-
|
9
|
+
gem 'test-unit'
|
12
10
|
require 'test/unit'
|
13
11
|
|
14
12
|
$LOAD_PATH.unshift(base_dir)
|
data/test/test_pkg_config.rb
CHANGED
@@ -17,11 +17,13 @@ class PkgConfigTest < Test::Unit::TestCase
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def test_cflags
|
20
|
+
omit("this is known bug in 1.1.2") if PKGConfig::VERSION == "1.1.2"
|
20
21
|
assert_pkg_config("cairo", ["--cflags"], @cairo.cflags)
|
21
22
|
assert_pkg_config("cairo-png", ["--cflags"], @cairo_png.cflags)
|
22
23
|
end
|
23
24
|
|
24
25
|
def test_cflags_only_I
|
26
|
+
omit("this is known bug in 1.1.2") if PKGConfig::VERSION == "1.1.2"
|
25
27
|
assert_pkg_config("cairo", ["--cflags-only-I"], @cairo.cflags_only_I)
|
26
28
|
assert_pkg_config("cairo-png", ["--cflags-only-I"], @cairo_png.cflags_only_I)
|
27
29
|
end
|
@@ -65,9 +67,11 @@ class PkgConfigTest < Test::Unit::TestCase
|
|
65
67
|
end
|
66
68
|
|
67
69
|
def test_requires_private
|
68
|
-
|
69
|
-
|
70
|
-
|
70
|
+
requires_private = pkg_config("cairo", "--print-requires-private")
|
71
|
+
expected_requires = requires_private.split(/\n/).collect do |require|
|
72
|
+
require.split(/\s/, 2)[0]
|
73
|
+
end
|
74
|
+
assert_equal(expected_requires,
|
71
75
|
@cairo.requires_private)
|
72
76
|
end
|
73
77
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pkg-config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kouhei Sutou
|
@@ -15,67 +15,88 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-07-04 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
22
|
+
none: false
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
hash: 3
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
name: test-unit
|
23
31
|
prerelease: false
|
24
|
-
|
32
|
+
type: :development
|
33
|
+
requirement: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
25
36
|
none: false
|
26
37
|
requirements:
|
27
38
|
- - ">="
|
28
39
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
40
|
+
hash: 3
|
30
41
|
segments:
|
31
|
-
- 2
|
32
42
|
- 0
|
33
|
-
|
34
|
-
|
43
|
+
version: "0"
|
44
|
+
name: test-unit-notify
|
45
|
+
prerelease: false
|
35
46
|
type: :development
|
36
|
-
|
47
|
+
requirement: *id002
|
37
48
|
- !ruby/object:Gem::Dependency
|
38
|
-
|
49
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
hash: 3
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
version: "0"
|
58
|
+
name: rake
|
39
59
|
prerelease: false
|
40
|
-
|
60
|
+
type: :development
|
61
|
+
requirement: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
41
64
|
none: false
|
42
65
|
requirements:
|
43
66
|
- - ">="
|
44
67
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
68
|
+
hash: 3
|
46
69
|
segments:
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
70
|
+
- 0
|
71
|
+
version: "0"
|
72
|
+
name: jeweler
|
73
|
+
prerelease: false
|
51
74
|
type: :development
|
52
|
-
|
53
|
-
description:
|
75
|
+
requirement: *id004
|
76
|
+
description: pkg-config can be used in your extconf.rb to properly detect need libraries for compiling Ruby native extensions
|
54
77
|
email:
|
55
78
|
- kou@cozmixng.org
|
56
79
|
executables: []
|
57
80
|
|
58
81
|
extensions: []
|
59
82
|
|
60
|
-
extra_rdoc_files:
|
61
|
-
|
83
|
+
extra_rdoc_files:
|
84
|
+
- README.rdoc
|
62
85
|
files:
|
86
|
+
- Gemfile
|
63
87
|
- LGPL-2.1
|
64
|
-
- NEWS
|
65
|
-
- README.rdoc
|
66
88
|
- Rakefile
|
67
|
-
- extconf.rb
|
68
89
|
- lib/pkg-config.rb
|
69
|
-
-
|
90
|
+
- setup.rb
|
91
|
+
- README.rdoc
|
70
92
|
- test/test_pkg_config.rb
|
71
|
-
|
93
|
+
- test/run-test.rb
|
72
94
|
homepage: http://github.com/rcairo/pkg-config
|
73
|
-
licenses:
|
74
|
-
|
95
|
+
licenses:
|
96
|
+
- LGPLv2+
|
75
97
|
post_install_message:
|
76
|
-
rdoc_options:
|
77
|
-
|
78
|
-
- README.rdoc
|
98
|
+
rdoc_options: []
|
99
|
+
|
79
100
|
require_paths:
|
80
101
|
- lib
|
81
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -99,9 +120,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
120
|
requirements: []
|
100
121
|
|
101
122
|
rubyforge_project: cairo
|
102
|
-
rubygems_version: 1.
|
123
|
+
rubygems_version: 1.7.2
|
103
124
|
signing_key:
|
104
125
|
specification_version: 3
|
105
|
-
summary: A pkg-config
|
126
|
+
summary: A pkg-config implementation for Ruby
|
106
127
|
test_files:
|
107
128
|
- test/test_pkg_config.rb
|
129
|
+
- test/run-test.rb
|
data/NEWS
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
= NEWS
|
2
|
-
|
3
|
-
== 1.1.1 - 2011/05/03
|
4
|
-
|
5
|
-
* [ruby-gnome-devel-en] add
|
6
|
-
/usr/lib/i386-linux-gnu/pkgconfig to the default paths.
|
7
|
-
(Reported by Andrea B.C.)
|
8
|
-
|
9
|
-
=== Thanks
|
10
|
-
|
11
|
-
* Funky Bibimba
|
12
|
-
|
13
|
-
== 1.1.0 - 2011/04/03
|
14
|
-
|
15
|
-
* [#3270846] add /usr/lib/x86_64-linux-gnu/pkgconfig to default paths.
|
16
|
-
(Reported by Funky Bibimbap)
|
17
|
-
|
18
|
-
=== Thanks
|
19
|
-
|
20
|
-
* Funky Bibimba
|
21
|
-
|
22
|
-
== 1.0.8 - 2011/01/30
|
23
|
-
|
24
|
-
* fix a bug that multiple PKGConfig.add_path doesn't work.
|
25
|
-
|
26
|
-
== 1.0.7 - 2010/09/30
|
27
|
-
|
28
|
-
* suppress warnings on Ruby 1.9.
|
29
|
-
|
30
|
-
== 1.0.6 - 2010/09/23
|
31
|
-
|
32
|
-
* add PKGConfig.libs_only_L.
|
33
|
-
|
34
|
-
== 1.0.5 - 2010/09/23
|
35
|
-
|
36
|
-
* suppress duplicated configure arguments processing.
|
37
|
-
* use mkmf.rb message functions.
|
38
|
-
|
39
|
-
== 1.0.4 - 2010/09/23
|
40
|
-
|
41
|
-
* add PKGConfig.variable.
|
42
|
-
|
43
|
-
== 1.0.3 - 2010/09/07
|
44
|
-
|
45
|
-
* add path and override_variable customize API.
|
46
|
-
* support description.
|
47
|
-
|
48
|
-
== 1.0.2 - 2010/09/02
|
49
|
-
|
50
|
-
* fix packaing miss.
|
51
|
-
|
52
|
-
== 1.0.1 - 2010/09/02
|
53
|
-
|
54
|
-
* support installing without gem.
|
55
|
-
|
56
|
-
== 1.0.0 - 2010/09/02
|
57
|
-
|
58
|
-
* Initial release!
|
59
|
-
|