[Discourse.ros.org] [ROS Projects] Gazebo on Gentoo
Thanks for your efforts of maintaining Gazebo in Gentoo. According to the [information in the Gazebo website](http://gazebosim.org/#status), currently gazebo7 and gazebo8 are supported.
I think that one of the valid points you can consider to support one or more versions of Gazebo ebuilds in the ros-overlay is how many ROS versions you want to support in that overlay: `gazebo7` is the version supported in ROS Kinetic and `gazebo8` is the one used in ROS Lunar. This can help Gentoo users to have the same simulator experience than the users on Ubuntu/Debian.
[quote="allenh1, post:3, topic:1786"]
Maybe it would be best to have a gazebo-kinetic and gazebo-lunar ebuild (along with the proper versioning, of course).
I would not recommend using the ROS distros as identifiers for the gazebo packages: they are both independent projects with their own names and versions, it is probably more consistent to keep the naming/versioning scheme of both. I, as a gazebo user/dev, would be surprised to see gazebo versions named with ROS release names. It should be easier to create `gazebo7`and `gazebo8` and make ebuilds to depend on the correct version or create a `virtual` named `gazebo` (it should make maintenance more easy and I have some valid use cases where you can use gazebo7 or gazebo8 with the same version of ROS)
Speaking as a very-very-long-time Gentoo user, I would prefer to see the package named following the Gentoo conventions. So it should be called "gazebo", there should be versions available for 7 and 8 (and minor/patch releases as appropriate), and it should be slotted so that a user can have one version 7 and one version 8 installed simultaneously.
Yes, patching would be required, but that is fairly common for slotted ebuilds. I think that only the installation target names would need patching. It might alternatively be possible to write the ebuild so that it instructs Gazebo to install to a known directory based on version and then make symbolic links from the `/usr/lib` etc. locations using version-named files to the actual files.
[quote="gbiggs, post:8, topic:1786"]
It might alternatively be possible to write the ebuild so that it instructs Gazebo to install to a known directory based on version and then make symbolic links from the /usr/lib etc. locations using version-named files to the actual files.
I like that a lot, actually. I think this would be the best way.
Apparently, Gazebo 8 will not be ready for Lunar. So I suppose we should just keep things where they are currently.
Moreover, I am starting my internship at OSRF on Monday (May 22nd) and talking with @tfoote about working on a better solution to using ROS on Gentoo than the ROS overlay approach I am doing currently.
The idea is to generate ebuilds from the ROS buildfarm for all bloom-released packages.