diff --git a/Aliases/protobuf@30 b/Aliases/protobuf@30 new file mode 120000 index 000000000000..eed58b3535be --- /dev/null +++ b/Aliases/protobuf@30 @@ -0,0 +1 @@ +../Formula/p/protobuf.rb \ No newline at end of file diff --git a/Formula/a/apache-arrow.rb b/Formula/a/apache-arrow.rb index b5ccdb1521d7..972febd7a485 100644 --- a/Formula/a/apache-arrow.rb +++ b/Formula/a/apache-arrow.rb @@ -5,7 +5,7 @@ class ApacheArrow < Formula mirror "https://archive.apache.org/dist/arrow/arrow-20.0.0/apache-arrow-20.0.0.tar.gz" sha256 "89efbbf852f5a1f79e9c99ab4c217e2eb7f991837c005cba2d4a2fbd35fad212" license "Apache-2.0" - revision 1 + revision 2 head "https://github.com/apache/arrow.git", branch: "main" no_autobump! because: :requires_manual_review diff --git a/Formula/b/bear.rb b/Formula/b/bear.rb index 1ce5d35819a6..1164d5543050 100644 --- a/Formula/b/bear.rb +++ b/Formula/b/bear.rb @@ -4,7 +4,7 @@ class Bear < Formula url "https://github.com/rizsotto/Bear/archive/refs/tags/3.1.6.tar.gz" sha256 "99cd891eec6e89b734d7cafe0e623dd8c2f27d8cbf3ee9bc4807e69e5c8fb55c" license "GPL-3.0-or-later" - revision 2 + revision 3 head "https://github.com/rizsotto/Bear.git", branch: "master" bottle do diff --git a/Formula/b/bloaty.rb b/Formula/b/bloaty.rb index 0bcbc5006e1a..aeefa9c00e56 100644 --- a/Formula/b/bloaty.rb +++ b/Formula/b/bloaty.rb @@ -2,7 +2,7 @@ class Bloaty < Formula desc "Size profiler for binaries" homepage "https://github.com/google/bloaty" license "Apache-2.0" - revision 36 + revision 37 head "https://github.com/google/bloaty.git", branch: "main" stable do diff --git a/Formula/e/etcd-cpp-apiv3.rb b/Formula/e/etcd-cpp-apiv3.rb index 5268aff34b3c..99b0dbb704d0 100644 --- a/Formula/e/etcd-cpp-apiv3.rb +++ b/Formula/e/etcd-cpp-apiv3.rb @@ -4,7 +4,7 @@ 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 27 + revision 28 bottle do sha256 cellar: :any, arm64_sequoia: "0a6f1046afee7890bafc8c73e0fa678aa192046d6e36cfc0a7fc24608c9809aa" diff --git a/Formula/f/falcosecurity-libs.rb b/Formula/f/falcosecurity-libs.rb index a3092a071d9b..a3b520c0a886 100644 --- a/Formula/f/falcosecurity-libs.rb +++ b/Formula/f/falcosecurity-libs.rb @@ -8,7 +8,7 @@ class FalcosecurityLibs < Formula { any_of: ["GPL-2.0-only", "MIT"] }, # driver/ { "GPL-2.0-only" => { with: "Linux-syscall-note" } }, # userspace/libscap/compat/ ] - revision 2 + revision 3 livecheck do url :stable diff --git a/Formula/f/fastnetmon.rb b/Formula/f/fastnetmon.rb index 1f6258e45ced..c5dc3a2301a8 100644 --- a/Formula/f/fastnetmon.rb +++ b/Formula/f/fastnetmon.rb @@ -4,7 +4,7 @@ class Fastnetmon < Formula url "https://github.com/pavel-odintsov/fastnetmon/archive/refs/tags/v1.2.8.tar.gz" sha256 "d16901b00963f395241c818d02ad2751f14e33fd32ed3cb3011641ab680e0d01" license "GPL-2.0-only" - revision 7 + revision 8 bottle do sha256 cellar: :any, arm64_sequoia: "49de71494f182fa5183947fd6917b59422b714321b20bbc379ae731fd426ee5a" diff --git a/Formula/g/grpc.rb b/Formula/g/grpc.rb index fdcbe882aee6..5f8b8ee6dc20 100644 --- a/Formula/g/grpc.rb +++ b/Formula/g/grpc.rb @@ -5,6 +5,7 @@ class Grpc < Formula tag: "v1.73.0", revision: "95dd243c6d9a9104c6ca2344861c8e8d8ccf4d7b" 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 diff --git a/Formula/lib/libphonenumber.rb b/Formula/lib/libphonenumber.rb index 1d458431e918..f3de37fbd3b4 100644 --- a/Formula/lib/libphonenumber.rb +++ b/Formula/lib/libphonenumber.rb @@ -4,6 +4,7 @@ class Libphonenumber < Formula url "https://github.com/google/libphonenumber/archive/refs/tags/v9.0.7.tar.gz" sha256 "15b929c24e9071847893cc2bbeb29631eab819ec6561baaf51250852773348b0" license "Apache-2.0" + revision 1 livecheck do url :stable diff --git a/Formula/m/mavsdk.rb b/Formula/m/mavsdk.rb index 05220d15c6d3..723b30bbf1c3 100644 --- a/Formula/m/mavsdk.rb +++ b/Formula/m/mavsdk.rb @@ -5,6 +5,7 @@ class Mavsdk < Formula tag: "v3.6.0", revision: "35a9fb376706d68f54adb8f71fdb3a9cad223f4e" license "BSD-3-Clause" + revision 1 livecheck do url :stable diff --git a/Formula/m/mosh.rb b/Formula/m/mosh.rb index a91429bad7d2..db44e1ebe037 100644 --- a/Formula/m/mosh.rb +++ b/Formula/m/mosh.rb @@ -4,7 +4,7 @@ class Mosh < Formula url "https://github.com/mobile-shell/mosh/releases/download/mosh-1.4.0/mosh-1.4.0.tar.gz" sha256 "872e4b134e5df29c8933dff12350785054d2fd2839b5ae6b5587b14db1465ddd" license "GPL-3.0-or-later" - revision 26 + revision 27 no_autobump! because: :requires_manual_review diff --git a/Formula/n/ncnn.rb b/Formula/n/ncnn.rb index 862d9d056b1b..514aa3785814 100644 --- a/Formula/n/ncnn.rb +++ b/Formula/n/ncnn.rb @@ -4,6 +4,7 @@ class Ncnn < Formula url "https://github.com/Tencent/ncnn/archive/refs/tags/20250503.tar.gz" sha256 "3afea4cf092ce97d06305b72c6affbcfb3530f536ae8e81a4f22007d82b729e9" license "BSD-3-Clause" + revision 1 head "https://github.com/Tencent/ncnn.git", branch: "master" bottle do diff --git a/Formula/n/netdata.rb b/Formula/n/netdata.rb index 7406f7dfa791..9a9adf96bc62 100644 --- a/Formula/n/netdata.rb +++ b/Formula/n/netdata.rb @@ -4,6 +4,7 @@ class Netdata < Formula url "https://github.com/netdata/netdata/releases/download/v2.5.3/netdata-v2.5.3.tar.gz" sha256 "d0d17d5e6c64b520241371bcf60b5859ad482463327fcfbe5a6e0069415c58c6" license "GPL-3.0-or-later" + revision 1 livecheck do url :stable diff --git a/Formula/o/onnx.rb b/Formula/o/onnx.rb index 4b35e8d10e71..37601b9f71db 100644 --- a/Formula/o/onnx.rb +++ b/Formula/o/onnx.rb @@ -4,7 +4,7 @@ class Onnx < Formula url "https://github.com/onnx/onnx/archive/refs/tags/v1.17.0.tar.gz" sha256 "8d5e983c36037003615e5a02d36b18fc286541bf52de1a78f6cf9f32005a820e" license "Apache-2.0" - revision 2 + revision 3 no_autobump! because: :requires_manual_review diff --git a/Formula/o/onnxruntime.rb b/Formula/o/onnxruntime.rb index ab1ffc66125e..5c889b5f1ccd 100644 --- a/Formula/o/onnxruntime.rb +++ b/Formula/o/onnxruntime.rb @@ -5,6 +5,7 @@ class Onnxruntime < Formula tag: "v1.22.0", revision: "f217402897f40ebba457e2421bc0a4702771968e" license "MIT" + revision 1 livecheck do url :stable diff --git a/Formula/o/opencv.rb b/Formula/o/opencv.rb index 4a5632fe4f53..43b219c17b20 100644 --- a/Formula/o/opencv.rb +++ b/Formula/o/opencv.rb @@ -2,7 +2,7 @@ class Opencv < Formula desc "Open source computer vision library" homepage "https://opencv.org/" license "Apache-2.0" - revision 1 + revision 2 stable do url "https://github.com/opencv/opencv/archive/refs/tags/4.11.0.tar.gz" diff --git a/Formula/o/opentelemetry-cpp.rb b/Formula/o/opentelemetry-cpp.rb index 33af1028eef9..fd42a3b01488 100644 --- a/Formula/o/opentelemetry-cpp.rb +++ b/Formula/o/opentelemetry-cpp.rb @@ -4,7 +4,7 @@ class OpentelemetryCpp < Formula url "https://github.com/open-telemetry/opentelemetry-cpp/archive/refs/tags/v1.21.0.tar.gz" sha256 "98e5546f577a11b52a57faed1f4cc60d8c1daa44760eba393f43eab5a8ec46a2" license "Apache-2.0" - revision 1 + revision 2 head "https://github.com/open-telemetry/opentelemetry-cpp.git", branch: "main" bottle do diff --git a/Formula/o/openvino.rb b/Formula/o/openvino.rb index bee56edd35ff..8be08e5be4d6 100644 --- a/Formula/o/openvino.rb +++ b/Formula/o/openvino.rb @@ -6,6 +6,7 @@ class Openvino < Formula url "https://github.com/openvinotoolkit/openvino/archive/refs/tags/2025.0.0.tar.gz" sha256 "d2cbff5a0ac1bc738c33ba103569f8daf20d3a17d3db94da11ae207ffb9e4395" license "Apache-2.0" + revision 1 head "https://github.com/openvinotoolkit/openvino.git", branch: "master" livecheck do @@ -88,6 +89,13 @@ def python3 end def install + # Support cmake 4 + ENV["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5" + + # Workaround to allow building with Protobuf 30+ until upstream support + # TODO: Open upstream issue/PR + inreplace "thirdparty/dependencies.cmake", "find_package(Protobuf 5.26.0", "find_package(Protobuf 6.30.0" + # Remove git cloned 3rd party to make sure formula dependencies are used dependencies = %w[thirdparty/ocl thirdparty/xbyak thirdparty/gflags @@ -150,8 +158,6 @@ def install end test do - pkg_config_flags = shell_output("pkgconf --cflags --libs openvino tbb pugixml").chomp.split - (testpath/"openvino_available_devices.c").write <<~C #include @@ -175,9 +181,10 @@ def install return 0; } C - system ENV.cc, "#{testpath}/openvino_available_devices.c", *pkg_config_flags, - "-o", "#{testpath}/openvino_devices_test" - system "#{testpath}/openvino_devices_test" + + pkgconf_flags = shell_output("pkgconf --define-prefix --cflags --libs openvino tbb pugixml").chomp.split + system ENV.cc, "openvino_available_devices.c", "-o", "openvino_devices_test", *pkgconf_flags + system "./openvino_devices_test" (testpath/"openvino_available_frontends.cpp").write <<~CPP #include diff --git a/Formula/o/osm-pbf.rb b/Formula/o/osm-pbf.rb index ac6df6af42b2..cefd493d110b 100644 --- a/Formula/o/osm-pbf.rb +++ b/Formula/o/osm-pbf.rb @@ -4,7 +4,7 @@ class OsmPbf < Formula url "https://github.com/openstreetmap/OSM-binary/archive/refs/tags/v1.5.1.tar.gz" sha256 "183ad76c5905c7abd35d938824320ffb82d9ca8987796018f2da8380b51cdac2" license "LGPL-3.0-or-later" - revision 13 + revision 14 no_autobump! because: :requires_manual_review diff --git a/Formula/p/percona-server@8.0.rb b/Formula/p/percona-server@8.0.rb index b981703289ba..991f96b76991 100644 --- a/Formula/p/percona-server@8.0.rb +++ b/Formula/p/percona-server@8.0.rb @@ -4,7 +4,7 @@ class PerconaServerAT80 < Formula url "https://downloads.percona.com/downloads/Percona-Server-8.0/Percona-Server-8.0.40-31/source/tarball/percona-server-8.0.40-31.tar.gz" sha256 "1318670d8e176c24df74019f748f5f233e2787f865dd3d41d61790ab5a772c4e" license "BSD-3-Clause" - revision 3 + revision 4 livecheck do url "https://www.percona.com/products-api.php", post_form: { diff --git a/Formula/p/percona-xtrabackup.rb b/Formula/p/percona-xtrabackup.rb index 67a7dda9e48a..e58aad5efc8c 100644 --- a/Formula/p/percona-xtrabackup.rb +++ b/Formula/p/percona-xtrabackup.rb @@ -4,7 +4,7 @@ class PerconaXtrabackup < Formula url "https://downloads.percona.com/downloads/Percona-XtraBackup-8.4/Percona-XtraBackup-8.4.0-2/source/tarball/percona-xtrabackup-8.4.0-2.tar.gz" sha256 "0777e3d3c3b4d4649ed23ed7197ec0aa71379b4a4a41b969b7286f6cf8888b4a" license "GPL-2.0-only" - revision 1 + revision 2 livecheck do url "https://www.percona.com/products-api.php", post_form: { @@ -69,6 +69,9 @@ class PerconaXtrabackup < Formula patch :DATA def install + # Support cmake 4 + ENV["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5" + # Remove bundled libraries other than explicitly allowed below. # `boost` and `rapidjson` must use bundled copy due to patches. # `lz4` is still needed due to xxhash.c used by mysqlgcs diff --git a/Formula/p/protobuf-c.rb b/Formula/p/protobuf-c.rb index 186af646c8dc..dbf50844b9b8 100644 --- a/Formula/p/protobuf-c.rb +++ b/Formula/p/protobuf-c.rb @@ -4,6 +4,7 @@ class ProtobufC < Formula url "https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.2/protobuf-c-1.5.2.tar.gz" sha256 "e2c86271873a79c92b58fef7ebf8de1aa0df4738347a8bd5d4e65a80a16d0d24" license "BSD-2-Clause" + revision 1 bottle do sha256 cellar: :any, arm64_sequoia: "a4c6dbe4ec1d26e23e6e64fcf119bf6b09c558fb4433a53be2e2de0e1ed6611a" diff --git a/Formula/p/protobuf.rb b/Formula/p/protobuf.rb index 2da66f147089..aed877ad3654 100644 --- a/Formula/p/protobuf.rb +++ b/Formula/p/protobuf.rb @@ -1,8 +1,8 @@ class Protobuf < Formula desc "Protocol buffers (Google's data interchange format)" homepage "https://protobuf.dev/" - url "https://github.com/protocolbuffers/protobuf/releases/download/v29.3/protobuf-29.3.tar.gz" - sha256 "008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e" + url "https://github.com/protocolbuffers/protobuf/releases/download/v30.1/protobuf-30.1.tar.gz" + sha256 "1451b03faec83aed17cdc71671d1bbdfd72e54086b827f5f6fd02bf7a4041b68" license "BSD-3-Clause" livecheck do @@ -31,12 +31,6 @@ class Protobuf < Formula depends_on "googletest" => :build end - # Backport to expose java-related symbols - patch do - url "https://github.com/protocolbuffers/protobuf/commit/9dc5aaa1e99f16065e25be4b9aab0a19bfb65ea2.patch?full_index=1" - sha256 "edc1befbc3d7f7eded6b7516b3b21e1aa339aee70e17c96ab337f22e60e154d7" - end - def install # Keep `CMAKE_CXX_STANDARD` in sync with the same variable in `abseil.rb`. abseil_cxx_standard = 17 diff --git a/Formula/p/protoc-gen-grpc-java.rb b/Formula/p/protoc-gen-grpc-java.rb index 314adb60e478..ee9639854fed 100644 --- a/Formula/p/protoc-gen-grpc-java.rb +++ b/Formula/p/protoc-gen-grpc-java.rb @@ -4,6 +4,7 @@ class ProtocGenGrpcJava < Formula url "https://github.com/grpc/grpc-java/archive/refs/tags/v1.73.0.tar.gz" sha256 "eca44a9f3eb341daf7a01482b96016dfa7d91baee495a697746c4724868a06db" license "Apache-2.0" + revision 1 bottle do sha256 cellar: :any, arm64_sequoia: "7dceeffe15dc656a5435fbe90d14a4bcf88f2c862b5e275542535b0bff9e9545" diff --git a/Formula/p/pytorch.rb b/Formula/p/pytorch.rb index 6850f07c8f1c..6972904eb74d 100644 --- a/Formula/p/pytorch.rb +++ b/Formula/p/pytorch.rb @@ -6,7 +6,7 @@ class Pytorch < Formula url "https://github.com/pytorch/pytorch/releases/download/v2.5.1/pytorch-v2.5.1.tar.gz" sha256 "740eb5fff95e33cfe699bad43be83523f569c7cc7f9c285c2a255416443dd266" license "BSD-3-Clause" - revision 4 + revision 5 livecheck do url :stable @@ -99,6 +99,9 @@ class Pytorch < Formula end def install + # Support cmake 4 + ENV["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5" + python3 = "python3.13" # Avoid building AVX512 code diff --git a/Formula/r/recc.rb b/Formula/r/recc.rb index f393f7c186b8..dc58da6c5195 100644 --- a/Formula/r/recc.rb +++ b/Formula/r/recc.rb @@ -4,6 +4,7 @@ class Recc < Formula url "https://gitlab.com/BuildGrid/buildbox/buildbox/-/archive/1.3.21/buildbox-1.3.21.tar.gz" sha256 "5468c07bc5bcc4e5e5e56ab95584a78f46edf255889ed13ae223de1f2f191447" license "Apache-2.0" + revision 1 head "https://gitlab.com/BuildGrid/buildbox/buildbox.git", branch: "master" bottle do diff --git a/Formula/s/securefs.rb b/Formula/s/securefs.rb index 54e13e5f08ea..320f0dffdb1a 100644 --- a/Formula/s/securefs.rb +++ b/Formula/s/securefs.rb @@ -4,6 +4,7 @@ class Securefs < Formula url "https://github.com/netheril96/securefs/archive/refs/tags/v1.1.1.tar.gz" sha256 "a4b0ceaaca98d25ed062bce0649bd43c83d5ea78d93d1fa4f227a2d59bfb7e62" license "MIT" + revision 1 head "https://github.com/netheril96/securefs.git", branch: "master" livecheck do diff --git a/Formula/s/syslog-ng.rb b/Formula/s/syslog-ng.rb index adfead5d3e93..40766c25a77e 100644 --- a/Formula/s/syslog-ng.rb +++ b/Formula/s/syslog-ng.rb @@ -6,7 +6,7 @@ class SyslogNg < Formula url "https://github.com/syslog-ng/syslog-ng/releases/download/syslog-ng-4.8.3/syslog-ng-4.8.3.tar.gz" sha256 "f82732a8e639373037d2b69c0e6d5d6594290f0350350f7a146af4cd8ab9e2c7" license all_of: ["LGPL-2.1-or-later", "GPL-2.0-or-later"] - revision 2 + revision 3 head "https://github.com/syslog-ng/syslog-ng.git", branch: "master" livecheck do @@ -52,6 +52,13 @@ class SyslogNg < Formula depends_on "gettext" end + # Apply Arch Linux patch to build with Protobuf 30+ + # Ref: https://github.com/syslog-ng/syslog-ng/pull/5263 + patch do + url "https://github.com/syslog-ng/syslog-ng/commit/4d2f490807560c11ec62067718b2acf01cac49ef.patch?full_index=1" + sha256 "ddce9ca805a557b86dec3beb149e54883da653b79c7bbc003a4f05fb11ae2889" + end + def install ENV["VERSION"] = version