emf2svg 1.8.2.0-x86_64-linux → 1.8.2.1-x86_64-linux
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/lib/emf2svg/libemf2svg.so +0 -0
- data/lib/emf2svg/recipe.rb +18 -0
- data/lib/emf2svg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e75877df205536667950fd9906a83a19d0825c33aeaa91ab19be53802061e75
|
|
4
|
+
data.tar.gz: eb3c490951fbe321d3500fa123c4af5f9ac7c3ea0629ca1c7f99dde7e1849c48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a9be932b12eb3ede6db42614cd24593302635d6b41c694d0e2c82ead471ee690bf6b67adb11133fe9e3174b8f77b4ed3e19daa05db5cacba944ba2ff60d37a3
|
|
7
|
+
data.tar.gz: 26fb0383cc98f3e2ad61576812e10cb67c3200f023a8dc77dfcf3096683545988e6f49beeecda8f76606c6dc9617cf31b88d04e0eddb25c61ca23bcf26967dee
|
data/lib/emf2svg/libemf2svg.so
CHANGED
|
Binary file
|
data/lib/emf2svg/recipe.rb
CHANGED
|
@@ -41,9 +41,27 @@ module Emf2svg
|
|
|
41
41
|
# vcpkg into the work path before CMake configure runs.
|
|
42
42
|
def configure
|
|
43
43
|
bootstrap_vcpkg
|
|
44
|
+
export_toolchain_to_env
|
|
44
45
|
super
|
|
45
46
|
end
|
|
46
47
|
|
|
48
|
+
# Downstream consumers (e.g. metanorma) sometimes patch RbConfig at
|
|
49
|
+
# runtime to point Ruby's toolchain at a known-good compiler, but
|
|
50
|
+
# those overrides live in the Ruby process and don't reach the raw
|
|
51
|
+
# cmake subprocess that mini_portile2 spawns. The result is
|
|
52
|
+
# "CMAKE_C_COMPILER not set" when the deploy environment has a
|
|
53
|
+
# stripped PATH. Mirror the resolved RbConfig toolchain into ENV so
|
|
54
|
+
# the subprocess sees the same compiler the running Ruby was built
|
|
55
|
+
# with.
|
|
56
|
+
def export_toolchain_to_env
|
|
57
|
+
%w[CC CXX LDFLAGS].each do |var|
|
|
58
|
+
val = RbConfig::CONFIG[var]
|
|
59
|
+
next if val.nil? || val.empty?
|
|
60
|
+
|
|
61
|
+
ENV[var] = val
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
|
|
47
65
|
def bootstrap_vcpkg
|
|
48
66
|
vcpkg_root = File.join(work_path, "vcpkg")
|
|
49
67
|
return if vcpkg_bootstrapped?(vcpkg_root)
|
data/lib/emf2svg/version.rb
CHANGED