Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656574

Summary: app-admin/calamares-3.2.0 kde must be optional
Product: Gentoo Linux Reporter: Anton Bolshakov <anton.bugs>
Component: Current packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: mudler, orzel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Anton Bolshakov 2018-05-26 09:23:57 UTC
Currently, the ebuild is written so that bunch of kde packages are required to build the installer. According to the upstream bug report, it is possible to make it optional:

something like -DSKIP_MODULES="interactiveterminal" should be possible.

Could you make these modules optional in Gentoo as well.

Thank you.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-10-17 14:13:55 UTC
Closing this as WONTFIX as the bug reporter did not explain the need to make a few Qt-addon libraries optional and the maintainers did not react in 2.5 years anyway.
Comment 2 Anton Bolshakov 2020-10-18 00:16:19 UTC
The reason is very obvious and I'm surprised that you need a special explanation:
calamares is an installer framework and it is very logical that many users may run it from command line. It can also help to build mini liveCD, for example, without need QT or KDE. See more details in the upstream issue 956.

As for the second point, that's the most lame excuses I have seen.
Chase or change maintainers, but it's not the reason to close a bug report.
Comment 3 Andreas Sturmlechner gentoo-dev 2020-10-18 17:17:29 UTC
(In reply to Anton Bolshakov from comment #2)
> It can also help to build mini liveCD, for example, without need Qt
That's not what you're asking for here, right? You have not explained the rationale for distinguishing between Qt and Qt+addonlibs. The only question that matters is what is gained by dropping "interactiveterminal".

Contrary to popular belief, KDE Frameworks is not 'KDE'.
Comment 4 Anton Bolshakov 2020-10-18 23:51:28 UTC
I'm not asking anything. Upstream supports optional modules, the current ebuild does not. This bug report is about improving the ebuild.

If you read the upstream discussion (this is 3rd time I'm referring to), you find out that it does not pull QT and KDE frameworks (together with konsole) only, but also the entire X server. Now, you can try to be smart and point out the difference between KDE libs, framework and WM but it's not the point.

It should be possible to build the installer without GUI modules for command line installation only. Upstream highlighted  ```-DSKIP_MODULES="interactiveterminal webview"``` configuration options, but you can make other modules optional as well.
Comment 5 Anton Bolshakov 2020-10-19 00:20:03 UTC
I looked at the source code quickly. Webkit module (which is disabled via WEBVIEW_FORCE_WEBKIT=OFF option already) requires QT5Core, and "interactiveterminal" module requires KF5xxx. interactiveterminal module runs "konsole". These seem the only modules which require QT/KDE dependencies and it should be possible to make them optional easily.
Comment 6 Andreas Sturmlechner gentoo-dev 2020-10-25 09:19:55 UTC
The main application requires Qt5, so that is off the table. KF5 is also required by partiton and fsresizer modules, you already got interactiveterminal yourself, and it is used in several other places.

(In reply to Anton Bolshakov from comment #4)
> Now, you can try to be smart and point out the difference between KDE libs,
> framework and WM but it's not the point.
That seems to be important, as it was very wrongly used as a contentious argument in the upstream link.