2023-11-13 09:37:28 +00:00
|
|
|
# kdesrc-build
|
|
|
|
|
|
|
|
> Easily build KDE components from its source repositories.
|
2024-08-06 20:12:23 +01:00
|
|
|
> More information: <https://docs.kde.org/trunk5/en/kdesrc-build/kdesrc-build/index.html>.
|
2023-11-13 09:37:28 +00:00
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Initialize `kdesrc-build`:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build --initial-setup`
|
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Compile a KDE component and its dependencies from source:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build {{component_name}}`
|
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Compile a component without updating its local code and without compiling its dependencies:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build --no-src --no-include-dependencies {{component_name}}`
|
|
|
|
|
2023-11-13 13:54:15 +00:00
|
|
|
- Refresh the build directories before compiling:
|
2023-11-13 09:37:28 +00:00
|
|
|
|
|
|
|
`kdesrc-build --refresh-build {{component_name}}`
|
2023-11-13 13:54:15 +00:00
|
|
|
|
|
|
|
- Resume compilation from a specific dependency:
|
|
|
|
|
|
|
|
`kdesrc-build --resume-from={{dependency_component}} {{component_name}}`
|
|
|
|
|
2024-08-06 20:12:23 +01:00
|
|
|
- Run a component with a specified executable name:
|
2023-11-13 13:54:15 +00:00
|
|
|
|
2024-08-06 20:12:23 +01:00
|
|
|
`kdesrc-build --run --exec {{executable_name}} {{component_name}}`
|
2024-02-08 01:23:14 +00:00
|
|
|
|
|
|
|
- Build all configured components:
|
|
|
|
|
|
|
|
`kdesrc-build`
|
2024-02-18 19:19:06 +00:00
|
|
|
|
|
|
|
- Use system libraries in place of a component if it fails to build:
|
|
|
|
|
|
|
|
`kdesrc-build --no-stop-on-failure {{component_name}}`
|