git: 50731b13c882 - main - devel/kf5-extra-cmake-modules: make compatible with OpenEXR/Imath 3.0

Matthias Andree mandree at FreeBSD.org
Mon Apr 12 21:41:59 UTC 2021


Am 12.04.21 um 11:18 schrieb Adriaan de Groot:
> On Monday, 12 April 2021 02:34:11 CEST Matthias Andree wrote:
>>     devel/kf5-extra-cmake-modules: make compatible with OpenEXR/Imath 3.0
> 
> Have you tried upstreaming any of this? It *seems* like adjusting-to-Imath is 
> required to build against OpenEXR 3.0, and in due course everyone (that is, us 
> and the Linux world) is going to have that, so upstream needs to adjust 
> anyway.

Hi Adrian,

I haven't yet, but we should try to do that, and we should also approach
the Academy Software Foundation to ask them to provide a canonical cmake
find module, I've seen too many diverse approaches.

pkg-config might actually be simplest, most GNU autoconf based ports use
that and they have been a lot easier to update. I think there was some
copying going on from the OpenEXR-finder-for-cmake from Blender, and
lots of homebrewn stuff... too much freedom in mmake.

> (Of course, upstreaming means dealing with both old- and new-OpenEXR and 
> handling paths and builds nicely)

Exactly the reason why I've for now patched our ports locally first, to
avoid a chicken-and-hen circular dependency...

Cheers,
Matthias


More information about the dev-commits-ports-all mailing list