cairo 1.18.4 → 1.18.5
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.
- checksums.yaml +4 -4
- data/ext/cairo/extconf.rb +15 -58
- data/ext/cairo/rb_cairo.h +1 -1
- metadata +5 -17
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77edfc9ff5c0367aec2165ca23aa7bb263d4dfc6b0f2f142dbd0e9088cacc7c8
|
|
4
|
+
data.tar.gz: c8178555c59a8f7afd2f58b9512fe6378d4aa64f4e89d4bad611ca55a116a247
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ec62c7bbe1535fbc93abc081be1909d4dae74a7654206e1b0249e2086ea70fd97defc758be362f07d278543ead72580cbe102b92eb4a03ce479077cfafdc1d2
|
|
7
|
+
data.tar.gz: 88832327c9415a4cdb2e551d67b3ce1cd9d237a0b92085719f2795c470a48217e1437df7c26744b8f9670ffe779ca0f8bf1826e9d6372c1e25382b4b67a1025e
|
data/ext/cairo/extconf.rb
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
# vim: filetype=ruby:expandtab:shiftwidth=2:tabstop=8:softtabstop=2 :
|
|
3
3
|
|
|
4
|
-
require
|
|
5
|
-
require
|
|
6
|
-
require 'mkmf'
|
|
7
|
-
require 'fileutils'
|
|
4
|
+
require "mkmf"
|
|
5
|
+
require "fileutils"
|
|
8
6
|
|
|
9
7
|
require "pkg-config"
|
|
10
|
-
require "native-package-installer"
|
|
11
8
|
|
|
12
9
|
checking_for(checking_message("GCC")) do
|
|
13
10
|
if macro_defined?("__GNUC__", "")
|
|
@@ -22,61 +19,21 @@ package = "cairo"
|
|
|
22
19
|
module_name = "cairo"
|
|
23
20
|
major, minor, micro = 1, 2, 0
|
|
24
21
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
true
|
|
31
|
-
else
|
|
32
|
-
false
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
def required_pkg_config_package(package_info, native_package_info=nil)
|
|
37
|
-
if package_info.is_a?(Array)
|
|
38
|
-
required_package_info = package_info
|
|
39
|
-
else
|
|
40
|
-
required_package_info = [package_info]
|
|
41
|
-
end
|
|
42
|
-
return true if PKGConfig.have_package(*required_package_info)
|
|
43
|
-
|
|
44
|
-
native_package_info ||= {}
|
|
45
|
-
return false unless NativePackageInstaller.install(native_package_info)
|
|
46
|
-
|
|
47
|
-
PKGConfig.have_package(*required_package_info)
|
|
22
|
+
brew_path = find_executable("brew")
|
|
23
|
+
if brew_path
|
|
24
|
+
# We don't use brew_path here to avoid quoting.
|
|
25
|
+
libffi_prefix = `brew --prefix libffi`.chomp
|
|
26
|
+
PKGConfig.add_path("#{libffi_prefix}/lib/pkgconfig")
|
|
48
27
|
end
|
|
49
28
|
|
|
50
|
-
unless
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"libffi-devel",
|
|
59
|
-
"libpixman-devel",
|
|
60
|
-
],
|
|
61
|
-
:arch_linux => "cairo",
|
|
62
|
-
:conda => [
|
|
63
|
-
"cairo",
|
|
64
|
-
"expat",
|
|
65
|
-
"xorg-kbproto",
|
|
66
|
-
"xorg-libxau",
|
|
67
|
-
"xorg-libxext",
|
|
68
|
-
"xorg-libxrender",
|
|
69
|
-
"xorg-renderproto",
|
|
70
|
-
"xorg-xextproto",
|
|
71
|
-
"xorg-xproto",
|
|
72
|
-
"zlib",
|
|
73
|
-
],
|
|
74
|
-
:debian => "libcairo2-dev",
|
|
75
|
-
:gentoo_linux => "x11-libs/cairo",
|
|
76
|
-
:homebrew => "cairo",
|
|
77
|
-
:macports => "cairo",
|
|
78
|
-
:msys2 => "cairo",
|
|
79
|
-
:redhat => "cairo-devel")
|
|
29
|
+
unless PKGConfig.have_package(package, major, minor, micro)
|
|
30
|
+
$stderr.puts("#{package} >= #{major}.#{minor}.#{micro} doesn't exist.")
|
|
31
|
+
$stderr.puts("If you want to install " +
|
|
32
|
+
"#{package} #{major}.#{minor}.#{micro} or later automatically, " +
|
|
33
|
+
"install rubygems-requirements-system as a normal gem or " +
|
|
34
|
+
"a Bundler plugin.")
|
|
35
|
+
$stderr.puts("See the following documentation for details:")
|
|
36
|
+
$stderr.puts(" https://github.com/ruby-gnome/rubygems-requirements-system/#usage-for-users")
|
|
80
37
|
exit(false)
|
|
81
38
|
end
|
|
82
39
|
|
data/ext/cairo/rb_cairo.h
CHANGED
metadata
CHANGED
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cairo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.18.
|
|
4
|
+
version: 1.18.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
name: native-package-installer
|
|
14
|
-
requirement: !ruby/object:Gem::Requirement
|
|
15
|
-
requirements:
|
|
16
|
-
- - ">="
|
|
17
|
-
- !ruby/object:Gem::Version
|
|
18
|
-
version: 1.0.3
|
|
19
|
-
type: :runtime
|
|
20
|
-
prerelease: false
|
|
21
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
-
requirements:
|
|
23
|
-
- - ">="
|
|
24
|
-
- !ruby/object:Gem::Version
|
|
25
|
-
version: 1.0.3
|
|
26
12
|
- !ruby/object:Gem::Dependency
|
|
27
13
|
name: pkg-config
|
|
28
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -183,10 +169,12 @@ requirements:
|
|
|
183
169
|
- 'system: cairo >= 1.2.0: alt_linux: libcairo-devel'
|
|
184
170
|
- 'system: cairo >= 1.2.0: alt_linux: libexpat-devel'
|
|
185
171
|
- 'system: cairo >= 1.2.0: alt_linux: libffi-devel'
|
|
172
|
+
- 'system: cairo >= 1.2.0: alt_linux: libpcre2-devel'
|
|
186
173
|
- 'system: cairo >= 1.2.0: alt_linux: libpixman-devel'
|
|
187
174
|
- 'system: cairo >= 1.2.0: arch_linux: cairo'
|
|
188
175
|
- 'system: cairo >= 1.2.0: conda: cairo'
|
|
189
176
|
- 'system: cairo >= 1.2.0: conda: expat'
|
|
177
|
+
- 'system: cairo >= 1.2.0: conda: freetype'
|
|
190
178
|
- 'system: cairo >= 1.2.0: conda: xorg-kbproto'
|
|
191
179
|
- 'system: cairo >= 1.2.0: conda: xorg-libxau'
|
|
192
180
|
- 'system: cairo >= 1.2.0: conda: xorg-libxext'
|
|
@@ -201,7 +189,7 @@ requirements:
|
|
|
201
189
|
- 'system: cairo >= 1.2.0: macports: cairo'
|
|
202
190
|
- 'system: cairo >= 1.2.0: pld_linux: cairo-devel'
|
|
203
191
|
- 'system: cairo >= 1.2.0: suse: cairo-devel'
|
|
204
|
-
rubygems_version:
|
|
192
|
+
rubygems_version: 4.0.6
|
|
205
193
|
specification_version: 4
|
|
206
194
|
summary: Ruby bindings for cairo
|
|
207
195
|
test_files:
|