https://bugzilla.redhat.com/show_bug.cgi?id=2262694



--- Comment #18 from Luya Tshimbalanga <[email protected]> ---
(In reply to Carlos Rodriguez-Fernandez from comment #16)
> Luya, thank you so much for all the updates.
> 
> Inspecting the packages I found these files being installed in
> python3-%{name} (cut for brevity):
> 
> 
> /usr/lib64/python3.12/site-packages/MaterialX/PyMaterialXCore.cpython-312-
> x86_64-linux-gnu.so
> ...
> 
> 
> Notice that
> `/usr/lib64/python3.12/site-packages/MaterialX/usr/share/materialx` folder
> with a lot of the resources that are already in /usr/share/materialx. Is
> that a bug?
> 

Yes, a leftover bug from the line coming from Arch Linux like this one:
"sed -i 's|resources|share/materialx/resources|g' python/CMakeLists.txt"

It is now removed.

> 
> 
> Also, I opened some of the "Scripts" *.py files you are installing in the
> top package and I found some dependencies missing in the SPEC file:
> *.py in %{name} depends on python libraries provided in python3-%{name},
> which depends on %{name}-libs, which may be not of great help without the
> /usr/share/materialx files.
> 
> 
> This is an idea of how to restructure this, let me know what you think:
> 
> package: libmaterialx (general naming for libs)
> * .so. files
> * /usr/share/materialx files
> * docs
> - doesn't depend on anything and stand on its own
>

Materialx suited better to match the name of upstream although 'libmaterialx'
fits well to reflect the libraries. 

> subpackage: python3-libmaterialx (many packages are named this way:
> python3-libXYZ)
> * python libs and cpython so files
> - depends on libmaterialx
> 
> subpackage: libmaterialx-tools (some are named this way, e.g., libbpf-tools)
> * the *.py tools installed in /usr/bin
> - depends on python3-libmaterialx
> 
> subpackage: libmaterialx-devel
> * development files
> - depends on libmaterialx

Here is the updated (the possible renaming will come later):
SPEC:
https://download.copr.fedorainfracloud.org/results/@designsuite/blender/fedora-rawhide-x86_64/07008526-materialx/materialx.spec
SRPM:
https://download.copr.fedorainfracloud.org/results/@designsuite/blender/fedora-rawhide-x86_64/07008526-materialx/materialx-1.38.8-1.fc40.src.rpm


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2262694

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202262694%23c18
--
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to