Bug 2354812 - Review Request: thorvg - Lightweight vector-based scenes and animation drawing library
Summary: Review Request: thorvg - Lightweight vector-based scenes and animation drawi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL: https://www.thorvg.org/
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-25 11:32 UTC by Benson Muite
Modified: 2025-04-11 18:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-04-09 01:52:35 UTC
Type: ---
Embargoed:
negativo17: fedora-review+


Attachments (Terms of Use)

Description Benson Muite 2025-03-25 11:32:37 UTC
spec: https://fed500.fedorapeople.org/thorvg.spec
srpm: https://fed500.fedorapeople.org/thorvg-0.15.11-1.fc43.src.rpm

description:
ThorVG is an open-source graphics library designed for creating vector-based
scenes and animations. It combines immense power with remarkable lightweight
efficiency, as Thor embodies a dual meaning—symbolizing both thunderous
strength and lightning-fast agility. Embracing the philosophy of simpler is
better, the ThorVG project provides intuitive, user-friendly interfaces while
maintaining a compact footprint and minimal overhead.

The following list shows primitives that are supported by ThorVG:
- Lines & Shapes: rectangles, circles, and paths with coordinate control
- Filling: solid colors, linear & radial gradients, and path clipping
- Stroking: stroke width, joins, caps, dash patterns, and trimming
- Scene Management: retainable scene graph and object transformations
- Composition: various blending and masking
- Text: unicode characters with horizontal text layout using scalable fonts (TTF)
- Images: SVG, JPG, PNG, WebP, and raw bitmaps
- Effects: blur, drop shadow, fill, tint, tritone and color replacement
- Animations: Lottie

fas: fed500

Reproducible: Always

Comment 1 Fedora Review Service 2025-03-25 11:48:35 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8818339
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2354812-thorvg/fedora-rawhide-x86_64/08818339-thorvg/fedora-review/review.txt

Please take a look if any issues were found.


---
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 Simone Caronni 2025-03-29 16:59:41 UTC
Some comments:

> BuildRequires:  libjpeg-turbo-devel 
> BuildRequires:  libpng-devel
> BuildRequires:  libwebp-devel
> BuildRequires:  mesa-libGL-devel
> BuildRequires:  rapidjson-devel
> BuildRequires:  SDL2-devel
> BuildRequires:  meson
> BuildRequires:  ninja-build

Meson looks for some of these dependencies using pkgconfig, so for those please update the build requirements to use the pkgconfig format. Example:

BuildRequires: pkgconfig(libturbojpeg)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(sdl2)

> # Modifications do not allow for use of packaged rapidjson
> # https://github.com/thorvg/thorvg/issues/3358
> Provides: bundled(rapidjson)

I think this is just a leftover to remove, as you require rapidjson as BuildRequires and you are also removing src/loaders/lottie/rapidjson in the %prep section.

> %global _description %{expand:
> [..]
> %description %_description

You can avoid using the macro, you are calling the block of description just once, it's more readable if you put the description under %description directly.

Otherwise looks good.

Comment 4 Benson Muite 2025-03-29 17:13:32 UTC
(In reply to Simone Caronni from comment #3)
> Some comments:
> 
> > BuildRequires:  libjpeg-turbo-devel 
> > BuildRequires:  libpng-devel
> > BuildRequires:  libwebp-devel
> > BuildRequires:  mesa-libGL-devel
> > BuildRequires:  rapidjson-devel
> > BuildRequires:  SDL2-devel
> > BuildRequires:  meson
> > BuildRequires:  ninja-build
> 
> Meson looks for some of these dependencies using pkgconfig, so for those
> please update the build requirements to use the pkgconfig format. Example:
> 
> BuildRequires: pkgconfig(libturbojpeg)
> BuildRequires: pkgconfig(libpng)
> BuildRequires: pkgconfig(libwebp)
> BuildRequires: pkgconfig(sdl2)

Done.

> 
> > # Modifications do not allow for use of packaged rapidjson
> > # https://github.com/thorvg/thorvg/issues/3358
> > Provides: bundled(rapidjson)
> 
> I think this is just a leftover to remove, as you require rapidjson as
> BuildRequires and you are also removing src/loaders/lottie/rapidjson in the
> %prep section.

That package will not build, removing the files was an error.

> 
> > %global _description %{expand:
> > [..]
> > %description %_description
> 
> You can avoid using the macro, you are calling the block of description just
> once, it's more readable if you put the description under %description
> directly.
>

Done.


spec: https://fed500.fedorapeople.org/thorvg.spec
srpm: https://fed500.fedorapeople.org/thorvg-0.15.11-1.fc43.src.rpm

Comment 5 Simone Caronni 2025-03-30 14:03:00 UTC
Approved.

Comment 6 Benson Muite 2025-03-31 04:19:13 UTC
Thanks for the review.

Comment 7 Fedora Admin user for bugzilla script actions 2025-03-31 04:20:28 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/thorvg

Comment 8 Fedora Update System 2025-03-31 05:05:23 UTC
FEDORA-2025-dd80a234ba (thorvg-0.15.11-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-dd80a234ba

Comment 9 Fedora Update System 2025-03-31 05:09:25 UTC
FEDORA-2025-433be90aa5 (thorvg-0.15.11-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-433be90aa5

Comment 10 Benson Muite 2025-03-31 05:33:26 UTC
https://release-monitoring.org/project/377440/

Comment 11 Fedora Update System 2025-04-01 03:10:54 UTC
FEDORA-2025-dd80a234ba has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-dd80a234ba \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-dd80a234ba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-04-01 03:25:14 UTC
FEDORA-2025-433be90aa5 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-433be90aa5 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-433be90aa5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-04-09 01:52:35 UTC
FEDORA-2025-dd80a234ba (thorvg-0.15.11-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-04-11 18:24:53 UTC
FEDORA-2025-433be90aa5 (thorvg-0.15.11-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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