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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d051f3caca43f3080ba1793827fe2390b7a9410ed53cd8c5426856c70592cd9
4
- data.tar.gz: 9466ae396ba0171287dd792fb99cc58995aa76b750772b146f92687f862e28e1
3
+ metadata.gz: 651bc58e91b4358b83ab6ac0768297290a6f7a48f40c73a1092d6cfe91d75480
4
+ data.tar.gz: f1a9c894e958c266c60738cef612dc6fb9e202969a50f258ee31210dbf8fd469
5
5
  SHA512:
6
- metadata.gz: d3bcdf7fd8770090d25ca313808091f3785c5fbac4015af47a6bd745acaae341efcd9381225eeae1dd1d986cfcb4ad895d92c4215586e338c1127be8a9004c15
7
- data.tar.gz: 6151c0a0d960ef89d768a3510400a6bd4ba2fa01b4756e224222e026cc776ad2ddf17978bc9b561a230251c6ffa191ec0833c31cea717cd0db499507b1c705c8
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 "ncurses"
5
- brew "libevent"
6
- brew "libsodium"
7
- brew "lz4"
8
- brew "xz"
9
- brew "gdbm"
10
- brew "pkg-config"
11
- brew "libyaml"
12
- brew "curl"
13
- brew "bison"
14
- brew "flex"
15
- brew "binutils"
16
- brew "libffi"
17
- brew "double-conversion"
18
- brew "boost"
19
- brew "jemalloc"
20
- brew "fmt"
21
- brew "glog"
22
- brew "gnu-sed"
23
- brew "bash"
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"
@@ -29,6 +29,7 @@
29
29
 
30
30
  #pragma once
31
31
 
32
+ #define INCBIN_SILENCE_BITCODE_WARNING
32
33
  #include <incbin/incbin.h>
33
34
 
34
35
  INCBIN_EXTERN(fs);
@@ -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"], ["brotli", "brotlicommon"],
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
- ["flac", "FLAC"], ["flac", "FLAC++"],
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/fmt are no
59
- # longer linked (fmt is header-only / baked into the DwarFS libs).
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
- "-force_load #{deps_lib_dir}/libdwarfs_compressor.a"
155
+ "-force_load #{deps_lib_dir}/libdwarfs_compressor.a"
155
156
  else
156
157
  ""
157
158
  end
@@ -26,5 +26,5 @@
26
26
  # POSSIBILITY OF SUCH DAMAGE.
27
27
 
28
28
  module Tebako
29
- VERSION = "0.16.0"
29
+ VERSION = "0.16.1"
30
30
  end
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.0
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.0
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: