acxz / pkgbuilds

PKGBUILDs for Arch Linux
25 stars 44 forks source link

cegui: Add support for OGRE 13.x #197

Closed egore closed 2 years ago

egore commented 2 years ago

This is backported from the main git master branch of CEGUI

acxz commented 2 years ago

Is this functionality in cegui-git? If so, I think it is better we don't add a backport. Considering that cegui is still an optdep of gazebo which requires ogre=1.9. This would cause a conflict for gazebo users that have the cegui optdep.

If this was part of a new release of cegui I'd merge it in, but until then I would just recommend users to use cegui-git that is up to date with the main git master branch.

egore commented 2 years ago

The OGRE 13.x compatibility is not given in CEGUI git master branch, and neither is OGRE 1.9.x. I've gone ahead and patched OGRE 1.9 and 13.x support into CEGUI in my fork at https://github.com/egore/cegui/ (the versioning scheme of OGRE changed, which causes CEGUI to confuse OGRE 13.x with OGRE-next 2.x).

Unfortunately the API between CEGUI 0.8.x and git master changed significantly, so relying on cegui-git is not an option. The branch now builds fine with OGRE 1.9 from AUR as well as 13.3.4 from Community. So changing this should not cause issues for gazebo users can stick to ogre=1.9.

egore commented 2 years ago

On a sidenote: gazebo depends on OGRE 1.9, but the 11.10.2 release is capable of handling OGRE up to 1.12 (https://github.com/osrf/gazebo/blob/gazebo11_11.10.2/gazebo/rendering/HeightmapPrivate.hh#L60=) but still fails on the versioning scheme of OGRE 13.x

acxz commented 2 years ago

@egore thanks so much on your efforts for this!