Bug 2367133 - Review Request: libdfx - A lightweight user-space library that provides APIs to configure the PL
Summary: Review Request: libdfx - A lightweight user-space library that provides APIs ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/Xilinx/libdfx
Whiteboard:
Depends On:
Blocks: 2367134
TreeView+ depends on / blocked
 
Reported: 2025-05-18 21:39 UTC by Peter Robinson
Modified: 2025-05-27 13:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2025-05-18 21:39:13 UTC
SPEC: https://pbrobinson.fedorapeople.org/libdfx.spec
SRPM: https://pbrobinson.fedorapeople.org/libdfx-2024.2.0-1.fc42.src.rpm

Description:
The library is a lightweight user-space library that provides APIs
for application to configure the PL (programable logic) AKA FPGA.

FAS: pbrobinson

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=132934081

Comment 1 Benson Muite 2025-05-19 17:40:13 UTC
If the static library is needed, can it be put in a separate subpackage?
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_static_libraries

The first part of the soname should not be globbed
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shared_libraries

Comment 2 Peter Robinson 2025-05-19 19:08:42 UTC
(In reply to Benson Muite from comment #1)
> If the static library is needed, can it be put in a separate subpackage?
> https://docs.fedoraproject.org/en-US/packaging-guidelines/
> #_packaging_static_libraries

It's needed for some of the FPGA pieces, I put it in the devel package because it's used when building those, so basically in conjunction with the include files, so I didn't see what value a separate subpackage provided.

> The first part of the soname should not be globbed
> https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shared_libraries

Ah, yes, I meant to fix that before I pushed it, I used it in the early packaging while I was working out all the bits, will fix.

Comment 3 Peter Robinson 2025-05-22 09:13:41 UTC
Hey Benson, any followup?

Comment 4 Benson Muite 2025-05-27 12:19:55 UTC
(In reply to Peter Robinson from comment #2)
> (In reply to Benson Muite from comment #1)
> > If the static library is needed, can it be put in a separate subpackage?
> > https://docs.fedoraproject.org/en-US/packaging-guidelines/
> > #_packaging_static_libraries
> 
> It's needed for some of the FPGA pieces, I put it in the devel package
> because it's used when building those, so basically in conjunction with the
> include files, so I didn't see what value a separate subpackage provided.

Would suggest a static subpackage which can be require the devel package.

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_packaging_static_libraries

Also need to add:
Provides: foo-static = %{version}-%{release}

> 
> > The first part of the soname should not be globbed
> > https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shared_libraries
> 
> Ah, yes, I meant to fix that before I pushed it, I used it in the early
> packaging while I was working out all the bits, will fix.

Comment 5 Peter Robinson 2025-05-27 12:58:29 UTC
SPEC: https://pbrobinson.fedorapeople.org/libdfx.spec
SRPM: https://pbrobinson.fedorapeople.org/libdfx-2024.2.0-2.fc42.src.rpm

> Would suggest a static subpackage which can be require the devel package.

Done
 
> https://docs.fedoraproject.org/en-US/packaging-guidelines/
> #_packaging_static_libraries
> 
> Also need to add:
> Provides: foo-static = %{version}-%{release}

That isn't required with the subpackage.

Comment 6 Fedora Review Service 2025-05-27 13:04:59 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9092344
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2367133-libdfx/fedora-rawhide-x86_64/09092344-libdfx/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.


Note You need to log in before you can comment on or make changes to this bug.