HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kde-builder — Easily build KDE components from its source repositories. Drop-in replacement for `kdesrc-build`. Mo

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuildfromeasilyclicomponentskdekde-builder
linux

Problem

How to use the kde-builder command: Easily build KDE components from its source repositories. Drop-in replacement for kdesrc-build. More information: <https://kde-builder.kde.org/en/cmdline/supported-cmdline-params.html>.

Solution

kde-builder — Easily build KDE components from its source repositories. Drop-in replacement for kdesrc-build. More information: <https://kde-builder.kde.org/en/cmdline/supported-cmdline-params.html>.

Initialize kde-builder:
kde-builder --initial-setup


Compile a KDE component and its dependencies from the source (use workspace to compile Plasma desktop):
kde-builder {{component_name1 component_name2 ...}}


Compile a component without updating its local code and without compiling its dependencies:
kde-builder {{[-SD|--no-src --no-include-dependencies]}} {{component_name}}


Refresh the build directories before compiling:
kde-builder {{[-r|--refresh-build]}} {{component_name}}


Resume compilation from a specific dependency:
kde-builder {{[-f|--resume-from]}} {{dependency_component}} {{component_name}}


Run a component with a specified executable name:
kde-builder --run {{executable_name}}


Install login session:
kde-builder --install-login-session-only


Use system libraries in place of a component if it fails to build:
kde-builder --no-stop-on-failure {{component_name}}

Code Snippets

Initialize `kde-builder`

kde-builder --initial-setup

Compile a KDE component and its dependencies from the source (use `workspace` to compile Plasma desktop)

kde-builder {{component_name1 component_name2 ...}}

Compile a component without updating its local code and without compiling its dependencies

kde-builder {{[-SD|--no-src --no-include-dependencies]}} {{component_name}}

Refresh the build directories before compiling

kde-builder {{[-r|--refresh-build]}} {{component_name}}

Resume compilation from a specific dependency

kde-builder {{[-f|--resume-from]}} {{dependency_component}} {{component_name}}

Context

tldr-pages: linux/kde-builder

Revisions (0)

No revisions yet.