Skip to content

Harmonic: patches for protobuf 30 #3100

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

Merged
merged 1 commit into from
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 7 additions & 1 deletion Formula/gz-gui8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class GzGui8 < Formula
url "https://osrf-distributions.s3.amazonaws.com/gz-gui/releases/gz-gui-8.4.0.tar.bz2"
sha256 "1731b01a134afb11b1b3e049fc65e74fa7b5c50532406d3d68366d54016d5498"
license "Apache-2.0"
revision 11
revision 12

head "https://github.com/gazebosim/gz-gui.git", branch: "gz-gui8"

Expand All @@ -24,6 +24,12 @@ class GzGui8 < Formula
depends_on "qt@5"
depends_on "tinyxml2"

patch do
# Fix for compatibility with protobuf 30
url "https://github.com/gazebosim/gz-gui/commit/64031d88132c45c25f66d2bdd8e902c1a2520f0d.patch?full_index=1"
sha256 "b2eb3706209a8c52c3e77fcaecd5008830e209ab3915e446252dc7c7dd33415a"
end

def install
rpaths = [
rpath,
Expand Down
8 changes: 7 additions & 1 deletion Formula/gz-msgs10.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class GzMsgs10 < Formula
url "https://osrf-distributions.s3.amazonaws.com/gz-msgs/releases/gz-msgs-10.3.2.tar.bz2"
sha256 "0dd9c19dee7aec7fc0f7bdd03ee2ae44ab1068dac2fc1ae8cc3ecc1b6df8472a"
license "Apache-2.0"
revision 7
revision 8

head "https://github.com/gazebosim/gz-msgs.git", branch: "gz-msgs10"

Expand All @@ -30,6 +30,12 @@ def python_cmake_arg(python = Formula["python@3.13"])
"-DPython3_EXECUTABLE=#{python.opt_libexec}/bin/python"
end

patch do
# Fix for compatibility with protobuf 30
url "https://github.com/gazebosim/gz-msgs/commit/ebdd05f6d51c990876085bcc9db9f79df59d375a.patch?full_index=1"
sha256 "050137fb0900b7d7cab36b612cc3bc319c3f093aba9c958d13c66ce44a6199b2"
end

def install
cmake_args = std_cmake_args
cmake_args << "-DBUILD_TESTING=Off"
Expand Down
8 changes: 7 additions & 1 deletion Formula/gz-transport13.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class GzTransport13 < Formula
url "https://osrf-distributions.s3.amazonaws.com/gz-transport/releases/gz-transport-13.4.1.tar.bz2"
sha256 "1e7051de16c8e0cadf5b357d32193ffdb3eb33775126d1f89bef29bfd02e11b8"
license "Apache-2.0"
revision 7
revision 8

head "https://github.com/gazebosim/gz-transport.git", branch: "gz-transport13"

Expand Down Expand Up @@ -38,6 +38,12 @@ def python_cmake_arg(python = Formula["python@3.13"])
"-DPython3_EXECUTABLE=#{python.opt_libexec}/bin/python"
end

patch do
# Fix for compatibility with protobuf 30
url "https://github.com/gazebosim/gz-transport/commit/eb7a232bb205051af9a29b2277a23503d38a0fbb.patch?full_index=1"
sha256 "8290b87c5d462b55faaa102bfe98f36c5ed17b11155f0d218519348a881317c0"
end

def install
rpaths = [
rpath,
Expand Down