Bug 2587581

Summary: Review Request: laser-studio-pro - Prepare and engrave images and drawings on GRBL lasers
Product: [Fedora] Fedora Reporter: Antoine Le Morvan <antoine>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, package-review
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/Jgood3d/laser-studio-pro
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 11411334 to 11411448
none
The .spec file difference from Copr build 11413980 to 11420501 none

Description Antoine Le Morvan 2026-11-30 20:02:03 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/alemorvan/laser-studio-pro/fedora-44-x86_64/11411282-laser-studio-pro/laser-studio-pro.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/alemorvan/laser-studio-pro/srpm-builds/11411282/laser-studio-pro-3.0.1-1.fc44.src.rpm

Description:
Laser Studio Pro prepares images and vector drawings for laser engraving and
cutting, then drives GRBL engravers and cutters over USB: image engraving with
dithering, vector editor with layers (SVG and DXF import, text, shapes,
nesting), box, puzzle and keychain generators, Stencil Studio, guided
calibration and machine control.

Fedora Account System Username: alemorvan

This is my first package, I need a sponsor.

Copr build (Fedora 43, 44, 45; x86_64 and aarch64):
https://copr.fedorainfracloud.org/coprs/build/11411282

Notes for the reviewer:
- fedora-review (mock, fedora-44-x86_64) reports no issue; rpmlint: 0 errors,
  2 warnings (no-manual-page-for-binary for a GUI application, and a
  dangling-symlink to DejaVuSans-Bold.ttf provided by the required
  dejavu-sans-fonts package).
- The upstream test suite (about 1700 tests) runs in %check, one process per
  test file, with QT_QPA_PLATFORM=offscreen.
- No bundled fonts: the Rubik, Dancing Script and DejaVu copies are removed in
  %prep and replaced by the Fedora font packages (Requires).
- No bundled AI model: u2netp.onnx is removed in %prep; it is downloaded on
  first use into the user's profile. onnxruntime is only a Suggests.
- Bundled icons: src/laser_studio/resources/icons/breeze/ is a fixed subset
  (108 SVG icons, 16/22/32 px) of KDE Breeze, LGPL-3.0-or-later, license text
  included and marked %license. It is not used as a system icon theme: the
  application recolors these icons at runtime for its monochrome and "Cortex"
  themes (cortex/ is a recolored copy), and ships the same set on Windows and
  macOS. These are artwork files, not a library.
- License: GPL-3.0-or-later (code) AND LGPL-3.0-or-later (Breeze icons) AND
  CC-BY-SA-4.0 (sports models of the design library) AND Apache-2.0 (Material
  Symbols pictograms used in those models).
- Upstream: https://github.com/Jgood3d/laser-studio-pro (I am one of the
  upstream developers and maintain the Copr repository).

Comment 1 Fedora Review Service 2026-11-30 20:04:57 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/11411334
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2587581-laser-studio-pro/fedora-rawhide-x86_64/11411334-laser-studio-pro/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 3 Fedora Review Service 2026-11-30 20:48:26 UTC
Created attachment 2164564 [details]
The .spec file difference from Copr build 11411334 to 11411448

Comment 4 Fedora Review Service 2026-11-30 20:48:28 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/11411448
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2587581-laser-studio-pro/fedora-rawhide-x86_64/11411448-laser-studio-pro/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 5 Antoine Le Morvan 2026-12-01 08:13:35 UTC
About the failed Rawhide build from fedora-review-service: the failure does
not come from this package. In Rawhide, "import cv2" itself is currently
broken:

  ImportError: /lib64/libopencv_viz.so.413: undefined symbol:
  _ZN16vtkImplicitArrayI24vtkAffineImplicitBackendIiELi11EE8SetValueExi

libopencv_viz was built against an older VTK than the one now in Rawhide
(opencv-4.13.0-12.fc46, vtk-9.7.0-3.fc46), so any Python package importing
cv2 fails, and %check stops when it imports the modules that use OpenCV.

That's also why my Copr project has no Rawhide chroot: OpenCV and its VTK
dependency break there from time to time, and the failure blocked every
build. The package builds and passes its test suite (about 1700 tests) on
Fedora 43, 44 and 45, x86_64 and aarch64:
https://copr.fedorainfracloud.org/coprs/build/11411425

As this is my first package, I'd appreciate a little guidance here: should I
open a bug against opencv and add it to "Depends On", or is there a better
way to handle a Rawhide breakage in a dependency during a review? I'll
re-trigger the build with [fedora-review-service-build] once cv2 imports
again in Rawhide.

Comment 6 Fedora Review Service 2026-12-01 08:18:23 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/11413980
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2587581-laser-studio-pro/fedora-rawhide-x86_64/11413980-laser-studio-pro/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 7 Artur Frenszek-Iwicki 2026-12-01 21:11:44 UTC
> # The commit count orders snapshots made on the same day: the hash alone would
> # sort them randomly, and dnf would not always offer the latest one.
> %global snapinfo .%{snapdate}.%{commitcount}git%{shortcommit}
Do you really need to update the RPM multiple times a day?

> Version:        3.0.1
> Release:        2%{?snapinfo}%{?dist}
Snapshot data should go into Version, not Release.
https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots

> Requires:       dejavu-sans-fonts
> Requires:       google-rubik-fonts
> Requires:       impallari-dancing-script-fonts
Instead of naming the packages themselves, you can use "Requires: font(...)", e.g. "font(dejavusans)" or "font(rubik)".
You can use "dnf repoquery --provides packagename" to check the font() names.
This will make your RPM resilient against font packages being renamed.

Comment 8 Antoine Le Morvan 2026-12-02 07:55:30 UTC
Thank you very much for this careful review, the remarks are very helpful.

- Snapshots: Fedora itself will only ever get released
  versions, and you made me rethink my Copr workflow: the Copr repository
  now only builds the stable branch, so it no longer gets several updates
  a day. The remaining snapshot logic (Copr only) now puts the snapshot
  information into Version with a caret (3.0.1^YYYYMMDD.<count>git<commit>),
  and Release is back to a plain number.
- Fonts: now required by their font() names (font(dejavusans),
  font(rubik), font(dancingscript)), for both BuildRequires and Requires.

Spec URL: https://download.copr.fedorainfracloud.org/results/alemorvan/laser-studio-pro/fedora-44-x86_64/11420185-laser-studio-pro/laser-studio-pro.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/alemorvan/laser-studio-pro/srpm-builds/11420185/laser-studio-pro-3.0.1-3.fc44.src.rpm

Comment 9 Fedora Review Service 2026-12-02 09:26:00 UTC
Created attachment 2164667 [details]
The .spec file difference from Copr build 11413980 to 11420501

Comment 10 Fedora Review Service 2026-12-02 09:26:02 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/11420501
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2587581-laser-studio-pro/fedora-rawhide-x86_64/11420501-laser-studio-pro/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


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