Bug 2318468 - Review Request: umu-launcher - Unified launcher for Windows games on Linux
Summary: Review Request: umu-launcher - Unified launcher for Windows games on Linux
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/Open-Wine-Componen...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-14 00:38 UTC by Steve Cossette
Modified: 2025-01-24 20:57 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
ngompa13: fedora-review?


Attachments (Terms of Use)
The .spec file difference from Copr build 8551634 to 8568357 (1.46 KB, patch)
2025-01-24 20:51 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 8568357 to 8568381 (508 bytes, patch)
2025-01-24 20:57 UTC, Fedora Review Service
no flags Details | Diff

Description Steve Cossette 2024-10-14 00:38:55 UTC
Spec URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher.spec
SRPM URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher-1.1.2-1.fc42.src.rpm

Description:
This is a unified launcher for Windows games on Linux.
It is essentially a copy of the Steam Runtime Tools and
Steam Linux Runtime that Valve uses for Proton, with some
modifications made so that it can be used outside of Steam.

Fedora Account System Username: farchord

Comment 1 Neal Gompa 2024-10-14 00:43:37 UTC
Taking this review.

Comment 2 Neal Gompa 2025-01-19 17:43:10 UTC
Initial spec review:

> %define debug_package %{nil}

What's this for? This is an archful package, so it should be able to generate debuginfo properly.

> ./configure.sh --prefix=/usr

This should be set to "--prefix=%{_prefix}" instead.

There's also weirdness with how this package is built, and I think our build flags aren't making it into the package, particularly with the Rust part.

@Fabio, do you have any idea how to make this work right?

Comment 3 Fabio Valentini 2025-01-19 18:07:25 UTC
- Version 1.1.2 doesn't contain Rust code yet.
- The Rust code was added later.
- 1.1.4 is the latest version.
- The native module written in Rust was added *after* that.

Comment 4 Fabio Valentini 2025-01-19 18:08:42 UTC
> %define debug_package %{nil}

So, yes, this should probably be replaced with "BuildArch: noarch" for now.

Comment 5 Steve Cossette 2025-01-20 14:34:49 UTC
Spec URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher.spec
SRPM URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher-1.1.4-1.fc42.src.rpm

Updated to 1.1.4, Removed debug packages global var, Set buildarch to noarch

Comment 6 Fedora Review Service 2025-01-20 14:39:52 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8551634
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2318468-umu-launcher/fedora-rawhide-x86_64/08551634-umu-launcher/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 7 Fabio Valentini 2025-01-20 18:38:49 UTC
I took another look, I hope Neal doesn't mind :)

It looks like making this "noarch" doesn't quite work, likely due to a bug in the upstream Makefiles:

There's a file getting installed to /usr/lib64/python3.13/site-packages/umu (umu_version.json).

> %{python3_sitelib}/umu/
> %{python3_sitearch}/umu/

This looks like a mistake, that umu_version.json file should probably be in python3_sitelib, not in python3_sitearch.

> %{_mandir}/man1/umu.1.gz
> %{_mandir}/man5/umu.5.gz

Don't list .gz explicitly, use .*

> %{_datadir}/steam/compatibilitytools.d/umu-launcher/

Either this package needs to (co?)-own steam/ and steam/compatibilitytools.d/ folders too, or it needs to "Require" the package that contains these.
Probably the former, since steam isn't in the main Fedora repos.

Comment 8 Fabio Valentini 2025-01-20 18:41:34 UTC
I'm also a bit confused by the BuildRequires that you've listed:

> BuildRequires:  python3-devel
> BuildRequires:  meson >= 0.54.0
> BuildRequires:  ninja-build
> BuildRequires:  cmake
> BuildRequires:  gcc-c++
> BuildRequires:  scdoc

The package contains neither meson.build (meson / ninja), nor CMakeLists.txt (cmake), nor any C++ source files (*.cpp).

Comment 9 Steve Cossette 2025-01-24 20:46:50 UTC
Spec URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher.spec
SRPM URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher-1.1.4-1.fc42.src.rpm

Cleaned the BRs, removed package's noarch, cleaned up %files a bit

Comment 10 Fabio Valentini 2025-01-24 20:51:46 UTC
> removed package's noarch

Why? The package is clearly noarch, the fact that it installs something to %python3_sitearch looks like a bug in the upstream Makefile.

Comment 11 Fedora Review Service 2025-01-24 20:51:55 UTC
Created attachment 2073739 [details]
The .spec file difference from Copr build 8551634 to 8568357

Comment 12 Fedora Review Service 2025-01-24 20:51:57 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8568357
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2318468-umu-launcher/fedora-rawhide-x86_64/08568357-umu-launcher/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 13 Steve Cossette 2025-01-24 20:52:38 UTC
Spec URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher.spec
SRPM URL: https://farchord.fedorapeople.org/reviews/umu-launcher/umu-launcher-1.1.4-1.fc42.src.rpm

Put the package back to noarch, waiting for an upstream fix to fix the dangling json file

Comment 14 Fedora Review Service 2025-01-24 20:57:47 UTC
Created attachment 2073740 [details]
The .spec file difference from Copr build 8568357 to 8568381

Comment 15 Fedora Review Service 2025-01-24 20:57:49 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8568381
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2318468-umu-launcher/fedora-rawhide-x86_64/08568381-umu-launcher/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.


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