Bug 2309263

Summary: Review Request: chromiumos-platform - ChromiumOS Platform
Product: [Fedora] Fedora Reporter: Davide Cavalca <davide>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-02 22:07:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Davide Cavalca 2024-09-02 16:29:55 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/chromiumos-platform/chromiumos-platform.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/chromiumos-platform/chromiumos-platform-0^20240902git67bc17e-1.fc42.src.rpm

Description:
This package provides the ChromiumOS platform, which includes daemons,
programs, and libraries that were written specifically for ChromiumOS.

Fedora Account System Username: dcavalca

Comment 1 Davide Cavalca 2024-09-02 16:30:20 UTC
Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=122848018

Comment 2 Davide Cavalca 2024-09-02 16:31:59 UTC
Note: this is just sommelier for now, though other tools from the chromiumos platform could be added down the road.

Comment 3 Neal Gompa 2024-09-02 16:36:11 UTC
Taking this review.

Comment 4 Davide Cavalca 2024-09-02 16:57:13 UTC
I've also just updated https://bugzilla.redhat.com/show_bug.cgi?id=2255751 for perfetto, which is needed to enable the tracing stuff.

Comment 5 Neal Gompa 2024-09-02 17:36:54 UTC
Initial spec review:

> Version:        0^%{date}git%{shortcommit}

This should be a tilde instead of a carat as there is no tagged version so it's technically even a pre-release of v0

> %if %{with check}
> BuildRequires:  gmock-devel
> BuildRequires:  gtest-devel
> %endif
> BuildRequires:  libdrm-devel
> BuildRequires:  libevdev-devel
> BuildRequires:  libxcb-devel
> BuildRequires:  libxkbcommon-devel
> BuildRequires:  mesa-libgbm-devel
> BuildRequires:  pixman-devel
> BuildRequires:  protobuf-devel
> BuildRequires:  wayland-devel

It looks like from the meson files that it uses pkgconfig references for these, so please convert these to "pkgconfig()" dependencies accordingly.

> %build
> pushd vm_tools/sommelier
> %meson \
>   -Dgamepad=true \
>   -Dquirks=true \
> %if %{with tracing}
>   -Dtracing=true \
> %endif
> %if %{without check}
>   -Dwith_tests=false \
> %endif
>   %{nil}
> %meson_build
> 
> %install
> pushd vm_tools/sommelier
> %meson_install
> 
> %if %{with check}
> %check
> pushd vm_tools/sommelier
> %meson_test
> %endif

It looks like you're missing "popd" for each of these "pushd" stanzas.

Comment 6 Neal Gompa 2024-09-02 17:40:35 UTC
(In reply to Davide Cavalca from comment #4)
> I've also just updated https://bugzilla.redhat.com/show_bug.cgi?id=2255751
> for perfetto, which is needed to enable the tracing stuff.


You are also missing a conditional dependency for perfetto in the spec.

Comment 7 Davide Cavalca 2024-09-02 21:39:08 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/chromiumos-platform/chromiumos-platform.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/chromiumos-platform/chromiumos-platform-0~20240902git67bc17e-1.fc42.src.rpm

Changelog:
- fix version
- use pkgconfig for BRs
- add missing popd
- add conditional dep on perfetto

Comment 8 Neal Gompa 2024-09-02 21:45:26 UTC
Review notes:

* Package follows packaging guidelines
* Package builds and installs
* Package licensing is correct
* No serious issues from rpmlint

PACKAGE APPROVED.

Comment 9 Fedora Admin user for bugzilla script actions 2024-09-02 21:48:13 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/chromiumos-platform

Comment 10 Fedora Update System 2024-09-02 22:03:35 UTC
FEDORA-2024-31eb186400 (chromiumos-platform-0~20240902git67bc17e-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-31eb186400

Comment 11 Fedora Update System 2024-09-02 22:07:29 UTC
FEDORA-2024-31eb186400 (chromiumos-platform-0~20240902git67bc17e-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2024-09-02 22:19:27 UTC
FEDORA-2024-5fbb8ccaca (chromiumos-platform-0~20240902git67bc17e-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-5fbb8ccaca

Comment 13 Fedora Update System 2024-09-02 22:28:15 UTC
FEDORA-2024-0bdd8c11fe (chromiumos-platform-0~20240902git67bc17e-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-0bdd8c11fe

Comment 14 Fedora Update System 2024-09-02 22:40:10 UTC
FEDORA-2024-6621d0bb3d (chromiumos-platform-0~20240902git67bc17e-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-6621d0bb3d

Comment 15 Fedora Update System 2024-09-03 03:41:06 UTC
FEDORA-2024-6621d0bb3d (chromiumos-platform-0~20240902git67bc17e-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2024-09-03 03:49:59 UTC
FEDORA-2024-5fbb8ccaca 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-2024-5fbb8ccaca \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5fbb8ccaca

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

Comment 17 Fedora Update System 2024-09-03 05:50:23 UTC
FEDORA-2024-0bdd8c11fe (chromiumos-platform-0~20240902git67bc17e-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.