Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protobuf 29.0 #199285

Merged
merged 66 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
63bb705
protobuf 29.0
BrewTestBot Nov 27, 2024
74d6a7f
apache-arrow: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
6337793
bear: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
595cc05
bloaty: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
8d3b8bf
brpc: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
bb250eb
etcd-cpp-apiv3: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
ab6f3d0
fastnetmon: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
85fba17
grpc: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
e696207
libphonenumber: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
1ca0f12
libpulsar: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
0464526
mavsdk: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
746d9f5
mosh: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
73ed7ee
mysql: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
9a57af8
[email protected]: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
1826af4
[email protected]: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
59f0cda
ncnn: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
27aca1e
netdata: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
2bf7733
ola: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
7e00f63
opentelemetry-cpp: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
bdd7f98
or-tools: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
6f5843f
osm-pbf: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
44ceb45
percona-server: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
e318834
percona-xtrabackup: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
d412a55
protobuf-c: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
abf70c2
protoc-gen-grpc-web: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
26ee233
protoc-gen-js: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
a3532d2
pytorch: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
9dec1a8
recc: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
ff536f0
securefs: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
420e2c8
sysdig: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
3e8f26f
syslog-ng: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
8fea090
torchvision: revision bump (protobuf 29.0)
cho-m Nov 27, 2024
2c7f752
opencv: revision bump (protobuf 29.0)
cho-m Nov 28, 2024
f4bd514
apache-arrow: update 18.1.0_1 bottle.
BrewTestBot Nov 30, 2024
3494527
bear: update 3.1.5_6 bottle.
BrewTestBot Nov 30, 2024
5581dcc
bloaty: update 1.1_33 bottle.
BrewTestBot Nov 30, 2024
e5f3964
brpc: update 1.11.0_1 bottle.
BrewTestBot Nov 30, 2024
e09169c
etcd-cpp-apiv3: update 0.15.4_18 bottle.
BrewTestBot Nov 30, 2024
2779c5b
fastnetmon: update 1.2.7_6 bottle.
BrewTestBot Nov 30, 2024
2379ddc
grpc: update 1.68.1_1 bottle.
BrewTestBot Nov 30, 2024
d3cfecc
libphonenumber: update 8.13.50_1 bottle.
BrewTestBot Nov 30, 2024
56676d7
libpulsar: update 3.6.0_4 bottle.
BrewTestBot Nov 30, 2024
ee46eda
mavsdk: update 2.12.12_3 bottle.
BrewTestBot Nov 30, 2024
6f52774
mosh: update 1.4.0_23 bottle.
BrewTestBot Nov 30, 2024
f3d8530
mysql: update 9.0.1_7 bottle.
BrewTestBot Nov 30, 2024
d3aa86e
[email protected]: update 8.0.40_3 bottle.
BrewTestBot Nov 30, 2024
f048b74
[email protected]: update 8.4.3_3 bottle.
BrewTestBot Nov 30, 2024
e72c5ff
ncnn: update 20240820_6 bottle.
BrewTestBot Nov 30, 2024
64114a4
netdata: update 1.44.3_12 bottle.
BrewTestBot Nov 30, 2024
7438a9b
ola: update 0.10.9_2 bottle.
BrewTestBot Nov 30, 2024
df6fd0a
opencv: update 4.10.0_14 bottle.
BrewTestBot Nov 30, 2024
1cbfc55
opentelemetry-cpp: update 1.18.0_1 bottle.
BrewTestBot Nov 30, 2024
161702c
or-tools: update 9.11_4 bottle.
BrewTestBot Nov 30, 2024
04e7e12
osm-pbf: update 1.5.1_10 bottle.
BrewTestBot Nov 30, 2024
e54f8bf
percona-server: update 8.0.36-28_3 bottle.
BrewTestBot Nov 30, 2024
c37a1e2
percona-xtrabackup: update 8.0.35-31_7 bottle.
BrewTestBot Nov 30, 2024
8961910
protobuf: update 29.0 bottle.
BrewTestBot Nov 30, 2024
ff2bd44
protobuf-c: update 1.5.0_13 bottle.
BrewTestBot Nov 30, 2024
84cf07e
protoc-gen-grpc-web: update 1.5.0_5 bottle.
BrewTestBot Nov 30, 2024
840fb8c
protoc-gen-js: update 3.21.4_4 bottle.
BrewTestBot Nov 30, 2024
d770f14
pytorch: update 2.5.1_1 bottle.
BrewTestBot Nov 30, 2024
81a69c5
recc: update 1.2.33_2 bottle.
BrewTestBot Nov 30, 2024
f0c8743
securefs: update 1.0.0_9 bottle.
BrewTestBot Nov 30, 2024
6826c38
sysdig: update 0.38.1_10 bottle.
BrewTestBot Nov 30, 2024
0d7be37
syslog-ng: update 4.8.1_4 bottle.
BrewTestBot Nov 30, 2024
97cd96d
torchvision: update 0.20.1_1 bottle.
BrewTestBot Nov 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
24 changes: 16 additions & 8 deletions Formula/a/apache-arrow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ class ApacheArrow < Formula
mirror "https://archive.apache.org/dist/arrow/arrow-18.1.0/apache-arrow-18.1.0.tar.gz"
sha256 "2dc8da5f8796afe213ecc5e5aba85bb82d91520eff3cf315784a52d0fa61d7fc"
license "Apache-2.0"
revision 1
head "https://github.com/apache/arrow.git", branch: "main"

bottle do
sha256 cellar: :any, arm64_sequoia: "21b70194364e3dc4580643cbcf6e571597166678bd259ffe47a518156a5307c7"
sha256 cellar: :any, arm64_sonoma: "af73f2dc6b9f4f5c563216b947c010dcd17ce41492c179a8527ceac53a97bbf1"
sha256 cellar: :any, arm64_ventura: "7cf56e0b3c21201af705b7419aaa7ead1de094a1fe74a4aa13d2eb3e84cd69ab"
sha256 cellar: :any, sonoma: "719a4abaad84c1f3d504ec823f637cdde0fc263a0ab49dfa5c5247d49ee4d0ac"
sha256 cellar: :any, ventura: "51279e0425997f8853556b6ce5e684ebf003c4d93dea3980b22f2ca88ac3b504"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1eade23c4af9500581130fec6a7ed57db4764107f33404039e70f0b9e7247cdc"
sha256 cellar: :any, arm64_sequoia: "9158e6fc07d81069c123993a446ddda39c2ec00a1b74ea02e457b95efdff4a18"
sha256 cellar: :any, arm64_sonoma: "922fb3b4cb068647b2311f0553ab77ea847076481a904abd301ce3f060c9a854"
sha256 cellar: :any, arm64_ventura: "5e1b5e7add3e5eca7dfea73aa952648d38bb4c64441c6aaf75e65513211134ca"
sha256 cellar: :any, sonoma: "0551a841c14bb4dd64180836f2ca69fac7ea35a5dc78c6e44b58a4eae723244a"
sha256 cellar: :any, ventura: "d6ccf02cacfd6c1b5556c35f2627bfbbcc0304c0ce41e73f417405662ed4639a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "cb6d8b5f40cb6a4f3565ee03c667e666e50f498a57c08f6319a0df37c8d09e52"
end

depends_on "boost" => :build
Expand All @@ -25,6 +26,7 @@ class ApacheArrow < Formula
depends_on "abseil"
depends_on "aws-sdk-cpp"
depends_on "brotli"
depends_on "c-ares"
depends_on "grpc"
depends_on "llvm"
depends_on "lz4"
Expand All @@ -40,11 +42,15 @@ class ApacheArrow < Formula
uses_from_macos "bzip2"
uses_from_macos "zlib"

on_macos do
depends_on "c-ares"
# Issue ref: https://github.com/protocolbuffers/protobuf/issues/19447
fails_with :gcc do
version "12"
cause "Protobuf 29+ generated code with visibility and deprecated attributes needs GCC 13+"
end

def install
ENV.llvm_clang if OS.linux?

# We set `ARROW_ORC=OFF` because it fails to build with Protobuf 27.0
args = %W[
-DCMAKE_INSTALL_RPATH=#{rpath}
Expand Down Expand Up @@ -84,6 +90,8 @@ def install
end

test do
ENV.method(DevelopmentTools.default_compiler).call if OS.linux?

(testpath/"test.cpp").write <<~CPP
#include "arrow/api.h"
int main(void) {
Expand Down
14 changes: 7 additions & 7 deletions Formula/b/bear.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ class Bear < Formula
url "https://github.com/rizsotto/Bear/archive/refs/tags/3.1.5.tar.gz"
sha256 "4ac7b041222dcfc7231c6570d5bd76c39eaeda7a075ee2385b84256e7d659733"
license "GPL-3.0-or-later"
revision 5
revision 6
head "https://github.com/rizsotto/Bear.git", branch: "master"

bottle do
sha256 arm64_sequoia: "f648b4c8202aee98d0367a7ce3bb371b4113528ffd626b84753f709099386c3b"
sha256 arm64_sonoma: "a44838f0e8a760b1dc45866dab23d815f5c7b9842abf86cb4f8fe113890662b7"
sha256 arm64_ventura: "964dc3f462f62a23ca4209e5e1f09f34dd32ca370d43f2471cd5bcb80c826663"
sha256 sonoma: "fd6b815e468c985f7d356f3657e9904bc8c9528157387ae2bfbc661f290d0213"
sha256 ventura: "e859fa298d384c43f674cde683e573bf6b0fec8df8379f2c18fc2d0c00946db6"
sha256 x86_64_linux: "0414f6eed5fee14d856379af50a65f0b1cbd3de6a36673f38ee46e463a3f646b"
sha256 arm64_sequoia: "81a04856aa9c49154e910cc8c30fe77740e825179527b9f400be6e5705e5c16f"
sha256 arm64_sonoma: "2291170c1f80560412ed97dc1210c16e8e997a88cb728c732f098521e5f37b3a"
sha256 arm64_ventura: "ee9c53959b0a913a63f0879a0d01020a1e8a465dd792eba1657d55073a22d108"
sha256 sonoma: "860fe7ea4e0e1a88990b1ae3da89207e5a41c6c6bc3080c573aa3688b1ebe54d"
sha256 ventura: "e26247c3de49d66c56fac2c46950ea1491fbb654a0372c20bfbcb975d1121f60"
sha256 x86_64_linux: "819c72744ef8d13b150ca76db7d296e3e7cb5a7aa23f15338334af47c07c37ef"
end

depends_on "cmake" => :build
Expand Down
14 changes: 7 additions & 7 deletions Formula/b/bloaty.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ class Bloaty < Formula
url "https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2"
sha256 "a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f"
license "Apache-2.0"
revision 32
revision 33

bottle do
sha256 cellar: :any, arm64_sequoia: "6ea6ad2a18c50a8381daed6520b7be110bc20d4aa8f909fc25377340175dcf21"
sha256 cellar: :any, arm64_sonoma: "addd1d7c03488ff0d18ec6cc8891c5151e5bb2b95228bdc4277c4a6d25a30ba5"
sha256 cellar: :any, arm64_ventura: "b1f3207318f2156b8caf626d9f5d59560d9701c28e75ae40387b724efc13aa9a"
sha256 cellar: :any, sonoma: "0940470ec3c169c3e5c3cd886fa779c19e64341f06632c9443f2e3e5741e3195"
sha256 cellar: :any, ventura: "199ffb69cbc6a2cd3620526bf23ce7f4da2199a0db6fe6d3b647aa993864d049"
sha256 cellar: :any_skip_relocation, x86_64_linux: "0512f5da7f9ebc11a451c84baaf572aae09a3190bc077ed18c02e943b6782ab8"
sha256 cellar: :any, arm64_sequoia: "f8ef7e9087916bd4a7cdb68ba7d95787de0a9244e890e70bc0aad3a32a91b797"
sha256 cellar: :any, arm64_sonoma: "475ba8ff46148c2c4312409aaf84a0924b11ce4e6687fd87aa7c6a2d09fa0685"
sha256 cellar: :any, arm64_ventura: "792a943b4df100473f7a88dda7ff4090f04cfc488bef0cffc1489565f1bd514a"
sha256 cellar: :any, sonoma: "bf6d49774d3eed00d1c9de35a81a06620f9285e4d646808c3d64dfe1d3a49972"
sha256 cellar: :any, ventura: "ae515060168848b97dbac7426ddeeb9cfd3d798770809baa76bfe41bb3b9974c"
sha256 cellar: :any_skip_relocation, x86_64_linux: "e6553b28f758e775409ac83f8670c89186f10855c794b510e520efffeff79a2c"
end

depends_on "cmake" => :build
Expand Down
32 changes: 24 additions & 8 deletions Formula/b/brpc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class Brpc < Formula
desc "Better RPC framework"
homepage "https://brpc.apache.org/"
license "Apache-2.0"
revision 1
head "https://github.com/apache/brpc.git", branch: "master"

stable do
Expand All @@ -16,13 +17,12 @@ class Brpc < Formula
end

bottle do
rebuild 1
sha256 cellar: :any, arm64_sequoia: "2af87a85e6d75f15512f01442cc4a738a8c0becb5cdd13f46b92cdfb8f19b517"
sha256 cellar: :any, arm64_sonoma: "95a43bd8abe377cecc3932e7654dc3ec56b4dfe08e09558e51e453cafdae1ce1"
sha256 cellar: :any, arm64_ventura: "3e6f4e3f9d7fc7fa029f68a7aabedf713d2c446a1967865f48e71f90cdcd93f5"
sha256 cellar: :any, sonoma: "5a481367fa8a12938533fa4e4ef91c8ab019835ae6780e0c9ddc7a340b1a0373"
sha256 cellar: :any, ventura: "037a83e91466e226a862829f57d9c5b8e67bebcf409364053cce17dcc62b6053"
sha256 cellar: :any_skip_relocation, x86_64_linux: "ac0410f858e2a042f3e4f045bbaea52b4ed43d7cb38c3fd5e7bc0a2a5bbc2b9f"
sha256 cellar: :any, arm64_sequoia: "0614bc7c01990f3c017e153e400abaa9f532180f7634556280cf3d2f5d361759"
sha256 cellar: :any, arm64_sonoma: "39d8ba07f4e97723f43cbdc7845f9652d93b6cd111d00658cfa22ce368299afc"
sha256 cellar: :any, arm64_ventura: "1c3f90e730c2e661f0509ae8eb9904f4aaeef961bb4e2addc6a3841047e934ba"
sha256 cellar: :any, sonoma: "01eb2c6c851af152869e83ff7998287462e0904faf32d1b5684a7632416d7689"
sha256 cellar: :any, ventura: "ae6a60d455ebde6df38d56dc7099df9d8aa91e11756c4ed1151940d2a00092d6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "2364cda05e6e1a642e4c6e00d66abb85a112b6cf45b28602aa4f7e43a26cb67f"
end

depends_on "cmake" => :build
Expand All @@ -33,6 +33,17 @@ class Brpc < Formula
depends_on "openssl@3"
depends_on "protobuf"

on_linux do
depends_on "pkgconf" => :test
end

# Apply open PR commit to fix compile with Protobuf 29+.
# PR ref: https://github.com/apache/brpc/pull/2830
patch do
url "https://github.com/apache/brpc/commit/8d1ee6d06ffdf84a33bd083463663ece5fb9e7a9.patch?full_index=1"
sha256 "9602c9200bd53b58e359cdf408775c21584ce613404097f6f3832f4df3bcba9c"
end

def install
inreplace "CMakeLists.txt", "/usr/local/opt/openssl",
Formula["openssl@3"].opt_prefix
Expand Down Expand Up @@ -83,6 +94,7 @@ def install
return 0;
}
CPP

protobuf = Formula["protobuf"]
gperftools = Formula["gperftools"]
flags = %W[
Expand All @@ -95,7 +107,11 @@ def install
-lprotobuf
-ltcmalloc
]
system ENV.cxx, "-std=c++17", testpath/"test.cpp", "-o", "test", *flags
# Work around for undefined reference to symbol
# '_ZN4absl12lts_2024072212log_internal21CheckOpMessageBuilder7ForVar2Ev'
flags += shell_output("pkgconf --libs absl_log_internal_check_op").chomp.split if OS.linux?

system ENV.cxx, "-std=c++17", "test.cpp", "-o", "test", *flags
assert_equal "200", shell_output("./test")
end
end
14 changes: 7 additions & 7 deletions Formula/e/etcd-cpp-apiv3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ class EtcdCppApiv3 < Formula
url "https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/archive/refs/tags/v0.15.4.tar.gz"
sha256 "4516ecfa420826088c187efd42dad249367ca94ea6cdfc24e3030c3cf47af7b4"
license "BSD-3-Clause"
revision 17
revision 18

bottle do
sha256 cellar: :any, arm64_sequoia: "eae08a8ebe03d7f50e2652d1492cdcb15eb812aaf5ecf9d8f30e1ae6993c57f9"
sha256 cellar: :any, arm64_sonoma: "40e9e03088afec1230e9f1eb9b9c537e818981627a7e5de2bc8314c7c73cb98e"
sha256 cellar: :any, arm64_ventura: "776250e354e3ac2d1ac415369858cd1460afa987d7e592fab9f97f8413435df9"
sha256 cellar: :any, sonoma: "377981f70cba4f15d820106b4cd8260893a40532fd4ce9a0f6b1684636549a07"
sha256 cellar: :any, ventura: "d1941f788e048b0456058c296e58d3dac5623a3d876957cf8eacade1867f0a25"
sha256 cellar: :any_skip_relocation, x86_64_linux: "f3b0556472f4d881f9883ae82c6fe318d0799da70f73c86c86fe029a2305a316"
sha256 cellar: :any, arm64_sequoia: "c113be073f51b4785b81c4711c2f767c028a4fcd28a681b26f65a04d9033a33f"
sha256 cellar: :any, arm64_sonoma: "378c1c1a9017bd68821b0bb3b11326ca7771b4afae3062fa26af8cfdb646e53a"
sha256 cellar: :any, arm64_ventura: "87e68431698d0b0316e6a974a54a43db6d25e1090deef160a64ed396f6ebacd1"
sha256 cellar: :any, sonoma: "a4a48c7718e5e347d64c7da59194a9ac7a7b42073c40936851e5e0fd9fd4fe8b"
sha256 cellar: :any, ventura: "1b9e289210c2de7751e1f998f6e8cffb4d90f760adcd40bb55232f67b4e8c683"
sha256 cellar: :any_skip_relocation, x86_64_linux: "ea55cd8e2e9b14746e9e2043afce605e6e07a0d6f6e03f36c4e3ac1f5ed746a4"
end

depends_on "cmake" => [:build, :test]
Expand Down
16 changes: 8 additions & 8 deletions Formula/f/fastnetmon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ class Fastnetmon < Formula
url "https://github.com/pavel-odintsov/fastnetmon/archive/refs/tags/v1.2.7.tar.gz"
sha256 "c21fcbf970214dd48ee8aa11e6294e16bea86495085315e7b370a84b316d0af9"
license "GPL-2.0-only"
revision 5
revision 6

bottle do
sha256 cellar: :any, arm64_sequoia: "78d7555d3f490618cc2ca5c9750c26ee11a999941451eafec23905ee9754fdd7"
sha256 cellar: :any, arm64_sonoma: "62c257f2f6bcb2e0dd5411f97ff08154803bedd57c60adb82f19291e9469b665"
sha256 cellar: :any, arm64_ventura: "a485d64327d098652285cee4a46afc7a78865992db3733661ef4af4ca0d8c3a3"
sha256 cellar: :any, sonoma: "2c8db51048368a6051f5fa93dccce2ef963bb440b0558bf98cb9e9bfd6add53e"
sha256 cellar: :any, ventura: "a6dcacf2f8a04d1a700d6c253366755b961a0200c5203ebd80f33c3258736769"
sha256 cellar: :any_skip_relocation, x86_64_linux: "707c93867f1b6cae46f3513f3919fe5fb038079130feb284c312afe029724db0"
sha256 cellar: :any, arm64_sequoia: "251b1c74ebe1ab6a06edca362a9103818205dbd07c364d4fa6da6957beb40bd4"
sha256 cellar: :any, arm64_sonoma: "db7e96d311621d69a9742d982c05f8c3a3a17d8a6ec2b6d6801cdb877121c674"
sha256 cellar: :any, arm64_ventura: "e13b525a79b69508fe8905e50e0e372b1e861b1d7c3f3ca193e4bfdc7384c4d2"
sha256 cellar: :any, sonoma: "34fd2413e1845d617aafcb534ed633ccbb65483c421e78ad2c7b8f9277b2a0e7"
sha256 cellar: :any, ventura: "2fe2a635ceb7a2accb83b0abe3d391918ec1480715775254f24444b8528457a1"
sha256 cellar: :any_skip_relocation, x86_64_linux: "bf131d906cbdab938fac243fa957329f8648adb0a2960cd8a2faab303dd97f10"
end

depends_on "cmake" => :build
Expand Down Expand Up @@ -78,7 +78,7 @@ def install
"--log_to_console"
end

sleep 50
sleep 60

assert_path_exists testpath/"fastnetmon.dat"

Expand Down
13 changes: 7 additions & 6 deletions Formula/g/grpc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class Grpc < Formula
tag: "v1.68.1",
revision: "796e87f16136533977b8647b50a020519fd7a137"
license "Apache-2.0"
revision 1
head "https://github.com/grpc/grpc.git", branch: "master"

# There can be a notable gap between when a version is tagged and a
Expand All @@ -19,12 +20,12 @@ class Grpc < Formula
end

bottle do
sha256 cellar: :any, arm64_sequoia: "a074264b2b6825249d0b1cd3c62b7550866b8dfdd676ace7b72c0e804621aab7"
sha256 cellar: :any, arm64_sonoma: "80288506e154f2273d10eaf6740d03b59084d48f61050768ef94bd6e53dccb29"
sha256 cellar: :any, arm64_ventura: "35d83d21cb41450dc39cbb1d03255c6e41321eaf44936e9c8e8c25d4f2d34b72"
sha256 cellar: :any, sonoma: "043975190bc19a56b277c74e1532799862429e3a2a57b095625db822c228444a"
sha256 cellar: :any, ventura: "11e655ae8bca1a51ed84c5a9d97fe4c58d740165dd07fa4c8e64aa74638ff6e6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "50665f72d59ca518e147dc3d6e64f61fe24f3dafd647c1395669a99d977dc6ba"
sha256 cellar: :any, arm64_sequoia: "a1fc1f85eb74cf3a855e151fbdb1d045e78ffaf703a59faded214b0ae51c92c0"
sha256 cellar: :any, arm64_sonoma: "d9704d75b9159f1a1ab199e2e59625c0cea55d0420c79a2260dea7929aec24f1"
sha256 cellar: :any, arm64_ventura: "19549feee1f02da3e777aca46d00a1c8618b3fb77067b328a80a38e654974d7f"
sha256 cellar: :any, sonoma: "080554b3d6010752d43697ae84a0f5f3f3d71d05105b285a9934f6729efa29ad"
sha256 cellar: :any, ventura: "ece5ccc390d9bc2e15436321cf4afd034c37f9e495010075383d97f5608db93f"
sha256 cellar: :any_skip_relocation, x86_64_linux: "cf5d86a523d8ce19e0da7fb2b189c69fdf44cdde8d20a7c0df379d41c1719c6c"
end

depends_on "autoconf" => :build
Expand Down
30 changes: 20 additions & 10 deletions Formula/lib/libphonenumber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ class Libphonenumber < Formula
url "https://github.com/google/libphonenumber/archive/refs/tags/v8.13.50.tar.gz"
sha256 "a46b2b5195b85197212ca9d9c0d8dc37af57d2f38b38b8c15dd56a0ec3a2cdc0"
license "Apache-2.0"
revision 1

livecheck do
url :stable
strategy :github_latest
end

bottle do
sha256 cellar: :any, arm64_sequoia: "4d8beabc380c2b656a47375d28c090bef3890ca841a3cc49c7eeba76bcf72e09"
sha256 cellar: :any, arm64_sonoma: "ce771636e0e3f83db9ea18386b20bdbdead9bbea118bba20cc2727fb7f516601"
sha256 cellar: :any, arm64_ventura: "86f6557390ee7f8099834f353fb5b98b57a2f02bd096d1d00eb0d84fa0e01a77"
sha256 cellar: :any, sonoma: "e6c8020b56218a0685ab9b3dde8153b985656ad5639c83e1b7cd5ee0603092ca"
sha256 cellar: :any, ventura: "f959c41fc5a98a0adae5ab7212f9af1a4797238d734383d857cf74ea2e6c387a"
sha256 cellar: :any_skip_relocation, x86_64_linux: "372a38d5ddb6a5977b2affc2cf8a2c953256bb23562c58bde8f2779c358c49f9"
sha256 cellar: :any, arm64_sequoia: "c119c5f06b80738e99fe15ec4c1190ee79ff9d29a126ae4f74b85fa47cf6bdbd"
sha256 cellar: :any, arm64_sonoma: "2fffabfbeb44fc5e8d31ad0bd6c33b44345a9def37cc7229526ae898682c3d2f"
sha256 cellar: :any, arm64_ventura: "2c04938948d2c31b52845ef233415f88fac9cf83a95b3d5cc4a2e67d171ed0bb"
sha256 cellar: :any, sonoma: "9087f4947fcc00714ef5ec4853d2fcd41763409b42c9122f62fbaf4196dc08a5"
sha256 cellar: :any, ventura: "6930422f0d4f4917e8e844ccf3f1a6adf940f5d907d8149ebc191c6c430261a6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "579bd9ce342bcd3a7993ba0a2a89d1d83e1c6fa81bc282ba679d0044eb3f343f"
end

depends_on "cmake" => :build
depends_on "cmake" => [:build, :test]
depends_on "openjdk" => :build
depends_on "abseil"
depends_on "boost"
Expand Down Expand Up @@ -60,9 +61,18 @@ def install
}
}
CPP
system ENV.cxx, "-std=c++17", "test.cpp",
"-I#{Formula["protobuf"].opt_include}",
"-L#{lib}", "-lphonenumber", "-o", "test"

(testpath/"CMakeLists.txt").write <<~CMAKE
cmake_minimum_required(VERSION 3.14)
project(test LANGUAGES CXX)
find_package(Boost COMPONENTS date_time system thread)
find_package(libphonenumber CONFIG REQUIRED)
add_executable(test test.cpp)
target_link_libraries(test libphonenumber::phonenumber-shared)
CMAKE

system "cmake", ".", *std_cmake_args
system "cmake", "--build", "."
system "./test"
end
end
14 changes: 7 additions & 7 deletions Formula/lib/libpulsar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ class Libpulsar < Formula
mirror "https://archive.apache.org/dist/pulsar/pulsar-client-cpp-3.6.0/apache-pulsar-client-cpp-3.6.0.tar.gz"
sha256 "522ca67bc911fcd4c0c9e4278628c9167b614a887c63fb04b04370156254d3b3"
license "Apache-2.0"
revision 3
revision 4

bottle do
sha256 cellar: :any, arm64_sequoia: "29e1d2754eefb335d901ab5878f07113fb473de3e80c440dd30cabd9c3e46c0b"
sha256 cellar: :any, arm64_sonoma: "ed30f70676852c031d57e4aa014ef8f4b5f0d68eaa82956fbeeee8e3cd78c743"
sha256 cellar: :any, arm64_ventura: "56ba5abcb1a5004e8388f45001c6881a008fac8d5065aecc06fc2df39e2cef09"
sha256 cellar: :any, sonoma: "7065abc593ef929783442ba62b3616eda4e4c546f2238366c5ac0860430aa2f6"
sha256 cellar: :any, ventura: "a78aaafae59aa21c03a56feab640f5b8179b221a068fd0cbb8cda07ba1a3f5a0"
sha256 cellar: :any_skip_relocation, x86_64_linux: "4e988998856c14cee75a14a6a8d77baade48238a306d1072df5bf807bb35a048"
sha256 cellar: :any, arm64_sequoia: "4fac16d2bf278f0519bb4354877e23b9e88412c981c441c34c9167da47b5331d"
sha256 cellar: :any, arm64_sonoma: "7874d033e375317c841ca143859a7dd7b70cededdb3fd16cd414d264cc227653"
sha256 cellar: :any, arm64_ventura: "dcea2dab811fe018350cdf60b54c60b59c86b655dd5245b8dfc9235bb677fe2b"
sha256 cellar: :any, sonoma: "3432fd7d9fb9f42fe8c80338f54853dc8c8bb2161e5cd8ee577cc9af90fc6cbd"
sha256 cellar: :any, ventura: "de205eb068098f844902d4f670560752cb0ecd06e816406421bf2d13806ca4fd"
sha256 cellar: :any_skip_relocation, x86_64_linux: "abfecb71a4b5cfa38dfcca2c4c82d1708b40c6c3c500905943de99ab9d16cc57"
end

depends_on "boost" => :build
Expand Down
Loading
Loading