On 2024-01-27 01:04, Elliott Sales de Andrade wrote:
On Sat, Jan 27, 2024 at 1:58 AM Luya Tshimbalanga
<luya(a)fedoraproject.org> wrote:
> Hello team,
>
> I attempt to build MaterialX, an optional requirement for Blender 4.x but hit an
interesting issue with RPATH (partially resolved).
> An example
onhttps://download.copr.fedorainfracloud.org/results/@designsuite/blender...
> shows the path on /usr/ rather than say /usr/share/materialx
This doesn't have anything to do with RPATH. Upstream's build is just
broken for FHS layout.
For example, the "root-level documents" are installed here:
https://github.com/AcademySoftwareFoundation/MaterialX/blob/2f169d152f295...
This just installs documentation to ".", which is /usr.
That is the
missing link.
And the same for resources:
https://github.com/AcademySoftwareFoundation/MaterialX/blob/2f169d152f295...
which doesn't add datadir, but just goes to top-level "resources".
This should probably be reported upstream.
Agreed. Once addressed, perhaps submit a
patch. I will update the status.
--
Luya Tshimbalanga
Fedora Design Team
Fedora Design Suite maintainer