Bug 419688 - name inconsistency discover / plasma-discover
Summary: name inconsistency discover / plasma-discover
Status: RESOLVED NOT A BUG
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-05 17:12 UTC by William Oprandi
Modified: 2024-03-04 03:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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