emf2svg 1.2.0-x64-mingw-ucrt → 1.3.1-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +10 -6
- data/.github/workflows/release.yml +6 -2
- data/.rubocop.yml +1 -1
- data/Rakefile +2 -1
- data/emf2svg.gemspec +1 -1
- data/lib/emf2svg/brotlicommon.dll +0 -0
- data/lib/emf2svg/brotlidec.dll +0 -0
- data/lib/emf2svg/bz2.dll +0 -0
- data/lib/emf2svg/emf2svg.dll +0 -0
- data/lib/emf2svg/fontconfig-1.dll +0 -0
- data/lib/emf2svg/freetype.dll +0 -0
- data/lib/emf2svg/iconv-2.dll +0 -0
- data/lib/emf2svg/libexpat.dll +0 -0
- data/lib/emf2svg/libpng16.dll +0 -0
- data/lib/emf2svg/recipe.rb +35 -12
- data/lib/emf2svg/version.rb +1 -1
- data/lib/emf2svg/zlib1.dll +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5425cd63fa1c3f2343c886afde8a1f7018f3c317575a58dc26641c23a7ef5e6
|
4
|
+
data.tar.gz: 57b57a7d9f8f29f99234c1b7c5d1ea176122bba1d8915a6fa56a644bf09805cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a8d067d5e83a48b590b15c2b9a618ac46b71e2714cefdeddd5276e28c747f3f256b81eb9d231640ca559a6ada38a10e8cf0c87880cc870d0182d88579135922
|
7
|
+
data.tar.gz: 6fb1f885d5f5a7353482c4529e7b9a3fb013bd8c062d0b196b90dcfdb6a41cf175113bac3b5bfa58936e0a2899a0fd0e7b8c23fb7ad07d919be8ea7fe526c45d
|
data/.github/workflows/main.yml
CHANGED
@@ -10,7 +10,7 @@ jobs:
|
|
10
10
|
test:
|
11
11
|
runs-on: ${{ matrix.os }}
|
12
12
|
strategy:
|
13
|
-
max-parallel:
|
13
|
+
max-parallel: 4
|
14
14
|
fail-fast: false
|
15
15
|
matrix:
|
16
16
|
os: [ ubuntu-18.04, ubuntu-latest, windows-latest, macos-latest ]
|
@@ -31,7 +31,7 @@ jobs:
|
|
31
31
|
build:
|
32
32
|
runs-on: ${{ matrix.os }}
|
33
33
|
strategy:
|
34
|
-
max-parallel:
|
34
|
+
max-parallel: 4
|
35
35
|
fail-fast: false
|
36
36
|
matrix:
|
37
37
|
include:
|
@@ -76,7 +76,7 @@ jobs:
|
|
76
76
|
needs: build
|
77
77
|
runs-on: ${{ matrix.os }}
|
78
78
|
strategy:
|
79
|
-
max-parallel:
|
79
|
+
max-parallel: 4
|
80
80
|
fail-fast: false
|
81
81
|
matrix:
|
82
82
|
include:
|
@@ -132,17 +132,21 @@ jobs:
|
|
132
132
|
cross:
|
133
133
|
runs-on: ${{ matrix.os }}
|
134
134
|
strategy:
|
135
|
-
max-parallel:
|
135
|
+
max-parallel: 4
|
136
136
|
fail-fast: false
|
137
137
|
matrix:
|
138
138
|
include:
|
139
|
-
- os: ubuntu-
|
140
|
-
platform:
|
139
|
+
- os: ubuntu-latest
|
140
|
+
platform: aarch64-linux
|
141
|
+
ruby-version: '2.7'
|
142
|
+
- os: macos-latest
|
143
|
+
platform: arm64-darwin
|
141
144
|
ruby-version: '2.7'
|
142
145
|
steps:
|
143
146
|
- uses: actions/checkout@v2
|
144
147
|
|
145
148
|
- name: Install packages
|
149
|
+
if: matrix.os == 'ubuntu-latest'
|
146
150
|
run: |
|
147
151
|
sudo apt-get update
|
148
152
|
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu gperf
|
@@ -57,13 +57,17 @@ jobs:
|
|
57
57
|
fail-fast: false
|
58
58
|
matrix:
|
59
59
|
include:
|
60
|
-
- os: ubuntu-
|
61
|
-
platform:
|
60
|
+
- os: ubuntu-latest
|
61
|
+
platform: aarch64-linux
|
62
|
+
ruby-version: '2.7'
|
63
|
+
- os: macos-latest
|
64
|
+
platform: arm64-darwin
|
62
65
|
ruby-version: '2.7'
|
63
66
|
steps:
|
64
67
|
- uses: actions/checkout@v2
|
65
68
|
|
66
69
|
- name: Install packages
|
70
|
+
if: matrix.os == 'ubuntu-latest'
|
67
71
|
run: |
|
68
72
|
sudo apt-get update
|
69
73
|
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu gperf
|
data/.rubocop.yml
CHANGED
data/Rakefile
CHANGED
data/emf2svg.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.summary = "Ruby interface to libemf2svg."
|
12
12
|
spec.homepage = "https://github.com/metanorma/emf2svg-ruby"
|
13
13
|
spec.license = "BSD-2-Clause"
|
14
|
-
spec.required_ruby_version = ">= 2.
|
14
|
+
spec.required_ruby_version = ">= 2.5.0"
|
15
15
|
|
16
16
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
17
|
spec.metadata["source_code_uri"] = "https://github.com/metanorma/emf2svg-ruby"
|
Binary file
|
data/lib/emf2svg/brotlidec.dll
CHANGED
Binary file
|
data/lib/emf2svg/bz2.dll
CHANGED
Binary file
|
data/lib/emf2svg/emf2svg.dll
CHANGED
Binary file
|
Binary file
|
data/lib/emf2svg/freetype.dll
CHANGED
Binary file
|
data/lib/emf2svg/iconv-2.dll
CHANGED
Binary file
|
data/lib/emf2svg/libexpat.dll
CHANGED
Binary file
|
data/lib/emf2svg/libpng16.dll
CHANGED
Binary file
|
data/lib/emf2svg/recipe.rb
CHANGED
@@ -8,11 +8,11 @@ module Emf2svg
|
|
8
8
|
ROOT = Pathname.new(File.expand_path("../..", __dir__))
|
9
9
|
|
10
10
|
def initialize
|
11
|
-
super("libemf2svg", "1.
|
11
|
+
super("libemf2svg", "1.6.0")
|
12
12
|
|
13
13
|
@files << {
|
14
|
-
url: "https://github.com/metanorma/libemf2svg/releases/download/v1.
|
15
|
-
sha256: "
|
14
|
+
url: "https://github.com/metanorma/libemf2svg/releases/download/v1.6.0/libemf2svg.tar.gz",
|
15
|
+
sha256: "0f186f40b98c06acdec1278a314cEc1f093e7504d34f7a15b697ebfe6c4d3097", # rubocop:disable Layout/LineLength
|
16
16
|
}
|
17
17
|
|
18
18
|
@target = ROOT.join(@target).to_s
|
@@ -40,25 +40,48 @@ module Emf2svg
|
|
40
40
|
"x86-mingw32"
|
41
41
|
when /\Ax86_64.*linux/
|
42
42
|
"x86_64-linux"
|
43
|
-
when /\
|
44
|
-
"
|
43
|
+
when /\A(arm64|aarch64).*linux/
|
44
|
+
"arm64-linux"
|
45
45
|
when /\Ai[3-6]86.*linux/
|
46
46
|
"x86-linux"
|
47
|
-
when /\Ax86_64.*darwin/
|
47
|
+
when /\Ax86_64.*(darwin|macos|osx)/
|
48
48
|
"x86_64-darwin"
|
49
|
-
when /\
|
49
|
+
when /\A(arm64|aarch64).*(darwin|macos|osx)/
|
50
50
|
"arm64-darwin"
|
51
51
|
else
|
52
|
-
|
52
|
+
@host
|
53
53
|
end
|
54
54
|
end
|
55
|
-
# rubocop:enable Metrics/CyclomaticComplexity
|
56
|
-
# rubocop:enable Metrics/MethodLength
|
57
55
|
|
58
56
|
def target_platform
|
59
|
-
@target_platform
|
57
|
+
@target_platform ||=
|
58
|
+
case ENV["target_platform"]
|
59
|
+
when /\A(arm64|aarch64).*(darwin|macos|osx)/
|
60
|
+
"arm64-darwin"
|
61
|
+
when /\Ac86_64.*(darwin|macos|osx)/
|
62
|
+
"x86_64-darwin"
|
63
|
+
when /\A(arm64|aarch64).*linux/
|
64
|
+
"arm64-linux"
|
65
|
+
else
|
66
|
+
ENV["target_platform"] || host_platform
|
67
|
+
end
|
60
68
|
end
|
61
69
|
|
70
|
+
def target_triplet
|
71
|
+
@target_triplet ||=
|
72
|
+
case target_platform
|
73
|
+
when "arm64-darwin"
|
74
|
+
"arm64-osx"
|
75
|
+
when "x86_64-darwin"
|
76
|
+
"x86_64-osx"
|
77
|
+
else
|
78
|
+
target_platform
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# rubocop:enable Metrics/CyclomaticComplexity
|
83
|
+
# rubocop:enable Metrics/MethodLength
|
84
|
+
|
62
85
|
def cross_compiling?
|
63
86
|
not host_platform.eql? target_platform
|
64
87
|
end
|
@@ -78,7 +101,7 @@ module Emf2svg
|
|
78
101
|
|
79
102
|
if cross_compiling? && (not MiniPortile.windows?)
|
80
103
|
message("Cross-compiling on #{host_platform} for #{target_platform}\n")
|
81
|
-
opts << "-DVCPKG_TARGET_TRIPLET=#{
|
104
|
+
opts << "-DVCPKG_TARGET_TRIPLET=#{target_triplet}"
|
82
105
|
end
|
83
106
|
|
84
107
|
opts
|
data/lib/emf2svg/version.rb
CHANGED
data/lib/emf2svg/zlib1.dll
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emf2svg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: x64-mingw-ucrt
|
6
6
|
authors:
|
7
7
|
- Ribose
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03
|
11
|
+
date: 2022-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements:
|
119
119
|
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
|
-
version: 2.
|
121
|
+
version: 2.5.0
|
122
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
123
|
requirements:
|
124
124
|
- - ">="
|