Bug 400999

Summary: kpackage implicitly pulled in and never reported on
Product: [Applications] kirigami gallery Reporter: Harald Sitter <sitter>
Component: generalAssignee: Marco Martin <notmart>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Harald Sitter 2018-11-13 09:59:04 UTC
The cmakelists contains the following:

> find_program(kpackagetool_cmd kpackagetool5)

The result of this is not ever recorded in the summary. This makes it entirely in-obvious to distributions why appdata is not present for the tool (seeing as cmake never complains that kpackagetool is missing)

It's also always 100% less accurate than what the actual kpackage cmake targets would do, as those will always import the correct path it was installed to, not any old binary it may find in $PATH (which may be rubbish or broken).

As a solution I suggest to write the appdata manually and throw kpackagetool out the window. Notably kpackagetool won't know that this is in application, and as application its appdata should have a launchable key. Also see bug 400998 which mentions that no appdata file is also an approach; albeit resulting in less quality appdata.
Comment 1 Justin Zobel 2022-12-03 09:01:28 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-18 05:15:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2023-01-02 05:29:12 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!