rbe-tebako 0.16.0 → 0.16.1
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/Brewfile +30 -23
- data/include/tebako/tebako-fs.h +1 -0
- data/lib/tebako/packager/patch_libraries.rb +8 -7
- data/lib/tebako/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 651bc58e91b4358b83ab6ac0768297290a6f7a48f40c73a1092d6cfe91d75480
|
|
4
|
+
data.tar.gz: f1a9c894e958c266c60738cef612dc6fb9e202969a50f258ee31210dbf8fd469
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c7fb8a9c9e17594fa5bfb17535ad53ca84b2150b6083b1c8ce13e5ff454ed74a8c977622c8f6653e2ceb18b18b2057af12c86c9e903d72d198d956af5549038
|
|
7
|
+
data.tar.gz: 2e876b7f9a5149a22cbda22f24f46527d4db09afdd1b2794342a215677da86800cf37d55bb09cc9be3e8481530b2e48a23ba60569a4f93c03a2a1e502f1445ff
|
data/Brewfile
CHANGED
|
@@ -1,23 +1,30 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
brew "zlib"
|
|
4
|
-
brew "
|
|
5
|
-
brew "
|
|
6
|
-
brew "
|
|
7
|
-
brew "
|
|
8
|
-
brew "
|
|
9
|
-
brew "
|
|
10
|
-
brew "
|
|
11
|
-
brew "
|
|
12
|
-
brew "
|
|
13
|
-
brew "
|
|
14
|
-
brew "
|
|
15
|
-
brew "
|
|
16
|
-
brew "
|
|
17
|
-
brew "
|
|
18
|
-
brew "
|
|
19
|
-
brew "
|
|
20
|
-
brew "
|
|
21
|
-
brew "
|
|
22
|
-
brew "
|
|
23
|
-
brew "
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
brew "zlib"
|
|
4
|
+
brew "openssl@3"
|
|
5
|
+
brew "ncurses"
|
|
6
|
+
brew "readline"
|
|
7
|
+
brew "libevent"
|
|
8
|
+
brew "libsodium"
|
|
9
|
+
brew "lz4"
|
|
10
|
+
brew "xz"
|
|
11
|
+
brew "gdbm"
|
|
12
|
+
brew "pkg-config"
|
|
13
|
+
brew "libyaml"
|
|
14
|
+
brew "curl"
|
|
15
|
+
brew "bison"
|
|
16
|
+
brew "flex"
|
|
17
|
+
brew "binutils"
|
|
18
|
+
brew "libffi"
|
|
19
|
+
brew "double-conversion"
|
|
20
|
+
brew "boost"
|
|
21
|
+
brew "xxhash"
|
|
22
|
+
brew "zstd"
|
|
23
|
+
brew "brotli"
|
|
24
|
+
brew "flac"
|
|
25
|
+
brew "libogg"
|
|
26
|
+
brew "jemalloc"
|
|
27
|
+
brew "fmt"
|
|
28
|
+
brew "glog"
|
|
29
|
+
brew "gnu-sed"
|
|
30
|
+
brew "bash"
|
data/include/tebako/tebako-fs.h
CHANGED
|
@@ -32,7 +32,7 @@ module Tebako
|
|
|
32
32
|
module Packager
|
|
33
33
|
# Ruby patching definitions (pass2)
|
|
34
34
|
module PatchLibraries
|
|
35
|
-
class << self
|
|
35
|
+
class << self # rubocop:disable Metrics/ClassLength
|
|
36
36
|
# rubocop:disable Style/WordArray
|
|
37
37
|
DARWIN_BREW_LIBS = [
|
|
38
38
|
["zlib", "z"], ["gdbm", "gdbm"], ["readline", "readline"], ["libffi", "ffi"],
|
|
@@ -40,13 +40,14 @@ module Tebako
|
|
|
40
40
|
["boost", "boost_chrono"], ["double-conversion", "double-conversion"],
|
|
41
41
|
# DwarFS v0.15 compression/hash deps (were staged into deps_lib_dir under the bridge)
|
|
42
42
|
["xxhash", "xxhash"], ["zstd", "zstd"],
|
|
43
|
-
["brotli", "brotlienc"], ["brotli", "brotlidec"],
|
|
43
|
+
["brotli", "brotlienc"], ["brotli", "brotlidec"], ["brotli", "brotlicommon"],
|
|
44
44
|
# DwarFS reader link deps
|
|
45
45
|
["boost", "boost_filesystem"], ["boost", "boost_atomic"],
|
|
46
46
|
["boost", "boost_iostreams"], ["boost", "boost_program_options"],
|
|
47
47
|
["boost", "boost_context"], ["boost", "boost_regex"],
|
|
48
48
|
["boost", "boost_thread"],
|
|
49
|
-
["
|
|
49
|
+
["fmt", "fmt"],
|
|
50
|
+
["flac", "FLAC"], ["flac", "FLAC++"],
|
|
50
51
|
["libogg", "ogg"]
|
|
51
52
|
].freeze
|
|
52
53
|
|
|
@@ -55,8 +56,8 @@ module Tebako
|
|
|
55
56
|
DARWIN_BREW_LIBS_31 = [["openssl@3", "ssl"], ["openssl@3", "crypto"]].freeze
|
|
56
57
|
|
|
57
58
|
# DwarFS v0.15 split static libs (installed to deps_lib_dir by libdwarfs). folly/fbthrift
|
|
58
|
-
# are gone; the thrift/fsst/frozen libs are now real .a files. glog/gflags
|
|
59
|
-
#
|
|
59
|
+
# are gone; the thrift/fsst/frozen libs are now real .a files. glog/gflags are no longer
|
|
60
|
+
# linked. fmt remains a compiled dependency of the DwarFS reader/common archives.
|
|
60
61
|
DARWIN_DEP_LIBS_1 = [
|
|
61
62
|
"dwarfs_reader", "dwarfs_common",
|
|
62
63
|
"dwarfs_fsst", "dwarfs_frozen", "dwarfs_thrift_lite_v2",
|
|
@@ -139,7 +140,7 @@ module Tebako
|
|
|
139
140
|
brew_libs.each { |lib| libs << "#{PatchHelpers.get_prefix_macos(lib[0]).chop}/lib/lib#{lib[1]}.a " }
|
|
140
141
|
end
|
|
141
142
|
|
|
142
|
-
def darwin_libraries(deps_lib_dir, ruby_ver, with_compression)
|
|
143
|
+
def darwin_libraries(deps_lib_dir, ruby_ver, with_compression) # rubocop:disable Metrics/MethodLength
|
|
143
144
|
libs = String.new
|
|
144
145
|
|
|
145
146
|
DARWIN_DEP_LIBS_1.each { |lib| libs << "#{deps_lib_dir}/lib#{lib}.a " }
|
|
@@ -151,7 +152,7 @@ module Tebako
|
|
|
151
152
|
compression_lib =
|
|
152
153
|
if with_compression
|
|
153
154
|
"-force_load #{deps_lib_dir}/libdwarfs_decompressor.a " \
|
|
154
|
-
|
|
155
|
+
"-force_load #{deps_lib_dir}/libdwarfs_compressor.a"
|
|
155
156
|
else
|
|
156
157
|
""
|
|
157
158
|
end
|
data/lib/tebako/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rbe-tebako
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.16.
|
|
4
|
+
version: 0.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrea Fomera
|
|
@@ -310,7 +310,7 @@ licenses:
|
|
|
310
310
|
- BSD-2-Clause
|
|
311
311
|
metadata:
|
|
312
312
|
homepage_uri: https://github.com/RubyEverywhere/tebako
|
|
313
|
-
source_code_uri: https://github.com/RubyEverywhere/tebako/tree/v0.16.
|
|
313
|
+
source_code_uri: https://github.com/RubyEverywhere/tebako/tree/v0.16.1
|
|
314
314
|
allowed_push_host: https://rubygems.org
|
|
315
315
|
rdoc_options: []
|
|
316
316
|
require_paths:
|