[v10] Split the ogre 1.x render engine into an optional gz-rendering-ogre package #52
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 629 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.386
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #52"
general
weight: 0.35
mini-1235
Checklist
[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] [Re-rendered]( https://conda-forge.org/docs/maintainer/updating_pkgs.html#rerendering-feedstocks ) with the latest
conda-smithy[x] Ensured the license file is being packaged.
Closes #47
Summary
Moves the ogre 1.x render engine into new, optional packages, so
gz-rendering/libgz-rendering(and thereforegz-sim) no longer pull inogre 1.10.by default. The default engine,ogre2(ogre-next), stays inlibgz-rendering.Why (from #47):
ogre1.10 is large (~100 MB) and is not needed by most users, sinceogre2has been the default engine for a long time.It conflicts with rviz2, which uses its own Ogre 1.12 (https://github.com/RoboStack/ros-jazzy/issues/57). This would become a hard solver conflict if rviz2 starts depending on a system/conda
ogreinstead of its vendored copy (https://github.com/ros2/rviz/pull/1683).Packages
| Package | Contents | Depends on
ogre1.10 ||---|---|---|
|
libgz-rendering| core library +ogre2engine | no (was yes) ||
gz-rendering| metapackage forlibgz-rendering| no (was yes) ||
libgz-rendering-ogre(new) | ogre 1.x engine plugin, headers, CMake config,.pcfile, media | yes ||
gz-rendering-ogre(new) | metapackage forlibgz-rendering-ogre| yes |User-facing change: anyone using the
ogre(1.x) engine needs to installgz-rendering-ogre.Implementation
gz-rendering is built once in a
stagingoutput. The package outputs select their files from it withfiles:include/exclude lists, so no upstream CMake changes are needed to build the ogre backend separately.Added
conda-ogre-hint.patch: when theogreengine is requested but its plugin is not installed, gz-rendering now also printsIn conda-forge, the ogre (Ogre 1.x) render engine is packaged separately. Install it with the gz-rendering-ogre package.after the existingcouldn't find shared libraryerror.libgz-rendering-ogreandgz-rendering-ogrehaverun_exports(libgz-rendering-ogre >=10.1.0,<11.0a0), likelibgz-renderingandgz-rendering, since the package ships a linkable library, headers and a CMake target.The activate scripts keep their previous name (
libgz-rendering_[de]activate.) instead of being named after the staging output.Tests:
libgz-renderingnow checks that the ogre 1.x plugin is not present. The ogre plugin checks moved to the new outputs.Testing
CI passes on all platforms (linux-64, linux-aarch64, linux-ppc64le, osx-64, osx-arm64, win-64).
Locally, with rattler-build 0.80.0:
linux-aarch64 (conda-forge
linux-anvil-aarch64:alma10image, with the yum requirements CI installs): all 4 outputs build, 135/135 upstream tests pass, and all recipe tests pass.osx-arm64: all 4 outputs build and pass their recipe tests. For this local build only, I disabled the upstream tests:
minizip4.2.2 from conda-forge ships its owninclude/gtestheaders, which break the vendored googletest build on my machine. This is unrelated to this PR; the issue doesn't occur on Linux or in CI.On both platforms,
libgz-renderingdepends onogre-nextbut not onogre. On osx-arm64 I also checked that none of its libraries link to Ogre 1.x.Runtime check (osx-arm64) with a small program that calls
gz::rendering::engine("ogre"):with only
gz-renderinginstalled: noogrein the environment, and the load fails cleanly with the new hint;with
gz-rendering-ogreinstalled:ogre1.10 is installed and the plugin is found and loaded.find_package(gz-rendering)still works without the ogre component installed.run_exports: a throwaway downstream recipe withgz-rendering-ogreinhostgetslibgz-rendering-ogre >=10.1.0,<11.0a0as a runtime dependency.Downstream
gz-sim users also need conda-forge/gz-sensors-feedstock#93. gz-sensors lists
ogre 1.10.inhost, and ogre'srun_exportsmakelibgz-sensorsdepend on ogre 1.10 at runtime. Sincelibgz-simdepends onlibgz-sensors, gz-sim environments would still get ogre 1.10 with this PR alone. A dry-run solve ofgz-sim=10.6.0against local builds (osx-arm64) installs ogre 1.10 today and with this PR alone, but not with both PRs.gz-sensors only uses the ogre 1.x backend in optional tests/examples (
if (TARGET gz-rendering::ogre)), so dropping the dependency doesn't change its build or tests (checked locally on linux-aarch64 and osx-arm64; details in #93).ogredirectly.---
This PR description was AI-generated with Claude Opus 5.5 (
claude-opus-5-5) and reviewed by the author.🤖 Generated with Claude Code