Skip to content

Commit

Permalink
[#591] Remove unnecessary dependencies from tezos binaries
Browse files Browse the repository at this point in the history
Problem: Many tezos binaries have a libffi dependency which it actually does not use. It needs to be removed

Solution: Removed unnecessary dependencies, check that bottles build without it
  • Loading branch information
PruStephan committed Sep 6, 2023
1 parent 6deb063 commit effcf5e
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Formula/tezos-accuser-Proxford.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi]
dependencies = %w[gmp hidapi libev]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-accuser-PtNairob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi]
dependencies = %w[gmp hidapi libev]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-admin-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi]
dependencies = %w[gmp hidapi libev]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-baker-Proxford.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-baker-PtNairob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-codec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi]
dependencies = %w[gmp hidapi libev]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-dac-client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-dac-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-signer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi]
dependencies = %w[gmp hidapi libev]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-smart-rollup-client-Proxford.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down
2 changes: 1 addition & 1 deletion Formula/tezos-smart-rollup-client-PtNairob.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class << self
depends_on dependency => :build
end

dependencies = %w[gmp hidapi libev libffi tezos-sapling-params]
dependencies = %w[gmp hidapi libev tezos-sapling-params]
dependencies.each do |dependency|
depends_on dependency
end
Expand Down

0 comments on commit effcf5e

Please sign in to comment.