Bug 419688

Summary: name inconsistency discover / plasma-discover
Product: [Developer tools] kdesrc-build Reporter: William Oprandi <william.oprandi>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED NOT A BUG    
Severity: minor CC: ashark
Priority: NOR    
Version First Reported In: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description William Oprandi 2020-04-05 17:12:21 UTC
SUMMARY

When building discover with kdesrc-build, you have a error when trying to run with kdesrc-run because the discover's prefix.sh is located in $HOME/kde/build/discover but the binary is located in $HOME/kde/usr/bin/plasma-discover. The name must be either discover or plasma-discover


STEPS TO REPRODUCE
1. Build discover : ./kdrsrc-build discover (https://community.kde.org/Get_Involved/development#Build_some_software)
2. Try to run it : kdesrc-run discover 

OBSERVED RESULT

$ kdesrc-run discover
kdesrc-run:2: aucun fichier ou dossier de ce type: /home/william/kde/usr/bin/discover

$ kdesrc-run plasma-discover           
kdesrc-run:source:2: aucun fichier ou dossier de ce type: /home/william/kde/build/plasma-discover/prefix.sh


EXPECTED RESULT
No error

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon devel edition
KDE Plasma Version: 5.18.80
KDE Frameworks Version: 5.69
Qt Version: 5.14.1
kdesrc-build : git master
Comment 1 Andrew Shark 2024-03-04 03:30:49 UTC
When the binary name is not the same as module name, use --exec option:
kde-builder discover --exec plasma-discover