Bug 2569282 - Review Request: the-level - Zero-copy CPU/GPU shared memory and an async 2D engine for i915
Summary: Review Request: the-level - Zero-copy CPU/GPU shared memory and an async 2D e...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-NEEDSPONSOR
TreeView+ depends on / blocked
 
Reported: 2026-11-10 03:07 UTC by Americo Simoes
Modified: 2026-11-10 21:40 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Americo Simoes 2026-11-10 03:07:46 UTC
Spec URL: https://github.com/SimoesCTT/the-level/releases/download/v0.1.0/the-level.spec
SRPM URL: https://github.com/SimoesCTT/the-level/releases/download/v0.1.0/the-level-0.1.0-1.fc43.src.rpm

Description:
The Level provides two small C libraries for zero-copy CPU/GPU shared memory on Linux. chipmem allocates an i915 GEM object, exports it as a DMA-BUF, and provides one explicit coherency handoff. blit is a programmable async 2D engine on the same buffers. Verified on Intel Skylake-U.

This is my first package and I need a sponsor.

Fedora Account System Username: simoesctt

Comment 1 Fedora Review Service 2026-11-10 03:50:36 UTC
Cannot find any valid SRPM URL for this ticket. Common causes are:

- You didn't specify `SRPM URL: ...` in the ticket description
  or any of your comments
- The URL schema isn't HTTP or HTTPS
- The SRPM package linked in your URL doesn't match the package name specified
  in the ticket summary


---
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.

Comment 4 Artur Frenszek-Iwicki 2026-11-10 20:39:36 UTC
> %autosetup -n %{name}-%{version}
%{name}-%{version} is the default value for the -n option, so you can drop it.

> export CFLAGS="%{optflags}"
You don't need to do this; CFLAGS/LDFLAGS are exported automatically.

> %check
> make -C chipmem check || :
Why run a test if you're going to ignore the failure?

> %files
> %dir %{_includedir}/the-level
> %{_includedir}/the-level/chipmem.h
> %{_includedir}/the-level/blit.h
Instead of using "%dir %{_includedir}/the-level and then listing the files inside,
you can just use "%{_includedir}/the-level", which will pull in the directory
with all the files inside it.

Also, consider moving the detailed description to the -devel package,
as this spec does not produce the main "the-level" package.

Comment 5 Americo Simoes 2026-11-10 21:40:01 UTC
Thanks for the review. All four points addressed:

1. %autosetup without -n.
2. Dropped the export CFLAGS line; the Makefiles append include paths
   with += and honor the automatic %{optflags}.
3. The chipmem test exits 77 when there is no render node (the mock
   chroot has no /dev/dri). The Makefile's check target now treats
   exit 77 as success, so the spec uses plain `make -C chipmem check`.
4. Dropped the -devel subpackage. The package is header-only; there is
   no main package to describe. The spec now produces a single
   `the-level` package that owns %{_includedir}/the-level, with
   %license and %doc.

New build:
Spec URL: https://download.copr.fedorainfracloud.org/results/simoesctt/the-level/fedora-43-x86_64/11301142-the-level/the-level.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/simoesctt/the-level/fedora-43-x86_64/11301142-the-level/the-level-0.1.0-1.fc43.src.rpm


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