Bug 2267876 - Review Request: qt6-qtquick3dphysics - Qt6 - Quick3D Physics Libraries and utilities
Summary: Review Request: qt6-qtquick3dphysics - Qt6 - Quick3D Physics Libraries and ut...
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-05 10:39 UTC by loise@kde.org
Modified: 2024-03-07 15:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
jgrulich: fedora-review+


Attachments (Terms of Use)

Comment 1 Fedora Review Service 2024-03-05 10:39:52 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 Jan Grulich 2024-03-07 08:27:44 UTC
1) Looks like BR: qt6-qtbase-static and qt6-qtdeclarative-static are not needed? At least I can build it without it and don't see any complain
2) The commented workaround can be dropped if the issue was fixed in GCC?
3) Was there an alternative of the cooker binary in Qt5? If not, we might not need to add the -qt6 suffix?
4) I think the thing checking "QMAKE_PRL_BUILD_DIR" is not needed? I guess it's not needed in any of Qt6 package we have and should be perhaps removed? I'm guessing because it's qmake related and we don't use qmake anymore. I also don't see any *.la library being installed.
5) Shouldn't this package own %{_qt6_libdir}/cmake/Qt6Quick3DPhysics and similar directories?

Comment 5 loise@kde.org 2024-03-07 08:34:53 UTC
(In reply to Jan Grulich from comment #4)
> 1) Looks like BR: qt6-qtbase-static and qt6-qtdeclarative-static are not
> needed? At least I can build it without it and don't see any complain
Well, then drop them :)

> 2) The commented workaround can be dropped if the issue was fixed in GCC?
Yes
> 3) Was there an alternative of the cooker binary in Qt5? If not, we might
> not need to add the -qt6 suffix?
That's already a presumption that we will end up with a -qt7 version in the future. The package is new, so you're right, it's not needed really. Drop it if you want :)

> 4) I think the thing checking "QMAKE_PRL_BUILD_DIR" is not needed? I guess
> it's not needed in any of Qt6 package we have and should be perhaps removed?
> I'm guessing because it's qmake related and we don't use qmake anymore. I
> also don't see any *.la library being installed.
yes, we're using cmake, not qmake. I simply copied that from another qt6 package :) so drop it if we drop it everywhere ?

> 5) Shouldn't this package own %{_qt6_libdir}/cmake/Qt6Quick3DPhysics and
> similar directories?
ah yes, I'm sorry I forgot that. It's owned only by this package, yes.

Do you want me to fix this or are you doing it while at it and just import so we get this out the door ? admin will be kde-sig anyway, so there's not necessity for me to own the package at all.

Comment 6 Jan Grulich 2024-03-07 09:01:58 UTC
Please, fix it and post here updated SPEC file :).

Comment 8 Jan Grulich 2024-03-07 10:56:28 UTC
I think we need to use "%dir path" for every directory owned by the package.

E.g.
%dir %{_qt6_libdir}/cmake/Qt6Quick3DPhysics/
%{_qt6_libdir}/cmake/Qt6Quick3DPhysics/*.cmake

At least that's my understanding of this macro and that without it, when uninstalling, it would remove all the files in that directory, except the directory itself.

Comment 10 Jan Grulich 2024-03-07 11:37:00 UTC
Doesn't it report now that files are listed twice? :)

Comment 12 Jan Grulich 2024-03-07 14:03:36 UTC
Looks good to me now. Package approved.

Comment 13 Fedora Admin user for bugzilla script actions 2024-03-07 15:17:50 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/qt6-qtquick3dphysics


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