Conan Documentation Release 1.6.1

Total Page:16

File Type:pdf, Size:1020Kb

Conan Documentation Release 1.6.1 conan Documentation Release 1.6.1 conan Sep 24, 2021 CONTENTS 1 Introduction 3 1.1 Open Source...............................................3 1.2 Decentralized package manager.....................................3 1.3 Binary management...........................................4 1.4 Cross platform, build system agnostic..................................4 1.5 Stable...................................................5 2 Install 7 2.1 Install with pip (recommended).....................................7 2.2 Install from brew (OSX).........................................8 2.3 Install from AUR (Arch Linux).....................................8 2.4 Install the binaries............................................8 2.5 Initial configuration...........................................8 2.6 Install from source............................................9 2.7 Python 2 Deprecation Notice.......................................9 3 Getting started 11 3.1 A Timer using POCO libraries...................................... 11 3.2 Installing dependencies......................................... 12 3.3 Building the timer example....................................... 14 3.4 Inspecting dependencies......................................... 14 3.5 Searching packages........................................... 15 3.6 Building with other configurations.................................... 15 4 Using packages 17 4.1 Installing dependencies......................................... 17 4.2 Using profiles............................................... 21 4.3 Workflows................................................ 23 5 Creating packages 27 5.1 Getting started.............................................. 27 5.2 Recipe and sources in a different repo.................................. 31 5.3 Recipe and sources in the same repo................................... 32 5.4 Packaging existing binaries....................................... 34 5.5 Understanding packaging........................................ 36 5.6 Define package ABI compatibility.................................... 38 5.7 Inspecting packages........................................... 45 5.8 Packaging approaches.......................................... 45 5.9 Tools for package creators........................................ 50 6 Uploading packages 53 i 6.1 Remotes................................................. 53 6.2 Uploading packages to remotes..................................... 54 6.3 Using Bintray............................................... 55 6.4 Artifactory Community Edition for C/C++............................... 59 6.5 Running conan_server.......................................... 61 7 Developing packages 67 7.1 Package development flow........................................ 67 7.2 Workspaces [experimental]....................................... 71 8 Package apps and devtools 75 8.1 Running and deploying packages.................................... 75 8.2 Creating conan packages to install dev tools............................... 78 8.3 Build requirements............................................ 81 9 Mastering conan 87 9.1 Use conanfile.py for consumers..................................... 87 9.2 Conditional settings, options and requirements............................. 89 9.3 Version ranges.............................................. 90 9.4 Build policies............................................... 91 9.5 Environment variables.......................................... 92 9.6 Virtual Environments........................................... 93 9.7 Logging.................................................. 95 9.8 Sharing the settings and other configuration............................... 97 9.9 Conan local cache: concurrency, Continuous Integration, isolation................... 98 10 Systems and cross building 101 10.1 Cross building.............................................. 101 10.2 Windows Subsystems.......................................... 109 11 Integrations 113 11.1 CMake.................................................. 113 11.2 Autotools: configure/make........................................ 122 11.3 Visual Studio............................................... 122 11.4 Apple/Xcode............................................... 125 11.5 Compilers on command line....................................... 127 11.6 Android Studio.............................................. 129 11.7 CLion................................................... 134 11.8 Ninja, NMake, Borland......................................... 139 11.9 pkg-config and pc files.......................................... 139 11.10 Boost Build................................................ 143 11.11 QMake.................................................. 143 11.12 Premake................................................. 144 11.13 qbs.................................................... 144 11.14 Meson Build............................................... 145 11.15 Docker.................................................. 146 11.16 Git.................................................... 146 11.17 Jenkins.................................................. 146 11.18 Travis Ci................................................. 149 11.19 Appveyor................................................. 151 11.20 Gitlab................................................... 153 11.21 Circle CI................................................. 154 11.22 YouCompleteMe (vim).......................................... 156 11.23 SCons................................................... 156 11.24 Custom integrations........................................... 157 ii 11.25 Linting conanfile.py........................................... 161 12 Howtos 163 12.1 How to package header-only libraries.................................. 163 12.2 How to launch conan install from cmake................................ 165 12.3 How to create and reuse packages based on Visual Studio....................... 166 12.4 Creating and reusing packages based on Makefiles........................... 169 12.5 How to manage the GCC >= 5 ABI................................... 171 12.6 Using Visual Studio 2017 - CMake integration............................. 172 12.7 How to manage C++ standard...................................... 175 12.8 How to use docker to create and cross build C and C++ conan packages................ 176 12.9 How to reuse Python code in recipes................................... 179 12.10 How to create and share a custom generator with generator packages................. 182 12.11 How to manage shared libraries..................................... 185 12.12 How to reuse cmake install for package() method............................ 190 12.13 How to collaborate on other users’ packages.............................. 191 12.14 How to link with Apple Frameworks.................................. 192 12.15 How to package Apple Frameworks................................... 192 12.16 How to collect licenses of dependencies................................. 193 12.17 How to capture package version from SCM: git............................. 193 12.18 How to capture package version from text or build files......................... 194 12.19 How to use Conan as other language package manager......................... 194 12.20 How to manage SSL (TLS) certificates................................. 200 12.21 How to check the version of the Conan client inside a conanfile.................... 200 12.22 Use a generic CI with Conan and Artifactory.............................. 201 13 Reference 203 13.1 Commands................................................ 203 13.2 conanfile.txt............................................... 246 13.3 conanfile.py............................................... 248 13.4 Generators................................................ 274 13.5 Profiles.................................................. 291 13.6 Build helpers............................................... 295 13.7 Tools................................................... 311 13.8 Configuration files............................................ 331 13.9 Environment variables.......................................... 337 14 Videos and links 345 15 FAQ 347 15.1 Upgrading to conan 1.0......................................... 347 15.2 General.................................................. 349 15.3 Using conan............................................... 350 15.4 Troubleshooting............................................. 352 16 Changelog 355 16.1 1.6.1 (27-July-2018)........................................... 355 16.2 1.6.0 (19-July-2018)........................................... 355 16.3 1.5.2 (5-July-2018)............................................ 356 16.4 1.5.1 (29-June-2018)........................................... 356 16.5 1.5.0 (27-June-2018)........................................... 356 16.6 1.4.5 (22-June-2018)........................................... 357 16.7 1.4.4 (11-June-2018)........................................... 358 16.8 1.4.3 (6-June-2018)........................................... 358 16.9 1.4.2 (4-June-2018)........................................... 358 iii 16.10 1.4.1 (31-May-2018)........................................... 358 16.11 1.4.0 (30-May-2018)........................................... 358 16.12 1.3.3 (10-May-2018)........................................... 359 16.13 1.3.2 (7-May-2018)........................................... 359 16.14 1.3.1 (3-May-2018)........................................... 359 16.15 1.3.0 (30-April-2018).........................................
Recommended publications
  • Drupaltools Forks 11 Stars 44
    DrupalTools forks 11 stars 44 A list of popular open source and free tools that can help people accomplish Drupal related tasks. Acquia Dev Desktop (2015) Source: dev.acquia.com/downloads Docs: docs.acquia.com/dev-desktop Drupal: 7, 8 Description: Acquia Dev Desktop is a free app that allows you to run and develop Drupal sites locally on your computer and optionally host them using Acquia Cloud. Use Acquia Dev Desktop to evaluate Drupal, add and test other Drupal modules, and develop sites while on a plane or away from an internet connection. Requires: macos, windows Category: deployment, development, testing Aegir (2007) Source: github.com/aegir-project Docs: docs.aegirproject.org Drupal: 6, 7, 8 Description: Aegir allows you to deploy and manage many Drupal sites, and can scale across multiple server clusters. Aegir makes it easy to install, upgrade, and backup an entire network of Drupal sites. Requires: linux, own-server Category: clustering, hosting, multisite, paas Amazee Silverback (2019) Source: github.com/AmazeeLabs/silverback Drupal: 8 Description: A composer package adding common project dependencies, tooling and configuration scaffolding to Amazee Drupal projects. It aims to improve product quality and reduce maintenance costs by encouraging three simple principles: Maximize open source, Minimize requirements, Testability first. Requires: composer Category: building, cli, deployment, development, provisioning, scaffolding, testing Aquifer (2015) Source: github.com/aquifer/aquifer Docs: docs.aquifer.io Drupal: 6, 7, 8 Description: Aquifer is a command line interface that makes it easy to scaffold, build, test, and deploy your Drupal websites. It provides a default set of tools that allow you to develop, and build Drupal sites using the Drush-make workflow.
    [Show full text]
  • An Introduction to Qt 4
    AnAn IntroductionIntroduction toto QtQt 44 Jason Trent [email protected] OOuutltliinnee . Why Trolltech? . Why Qt? . Qt 4 Widgets, Datatypes, and Structures . Qt Designer . qmake . Qt without C++ . Demo WWhhyy TTrroolllltetecchh?? .. QQtt aanndd QQttooppiiaa CCoorree aarree OOppeenn SSoouurrccee .. SSuuppppoorrtteedd bbyy mmuullttii--mmiilllliioonn ddoollllaarr ccoommppaannyy WWhhyy QQt?t? .. MMuullttii--ppllaattffoorrmm – No “virtual machines” or emulation layers – Native compilation for Windows, X11, and Mac • Utilizes core OS technologies (Core, Aero, …) – Extensions - ActiveQt, Motif Migration WWhhyy QQt?t? Over 400 C++ Classes . Not just a GUI toolkit – File handling – Networking – Process handling – Threading – Database access – Event loop processing – XML processing – OpenGL integration – and beyond WWhhyy QQt?t? .. IInntteerrnnaattiioonnaalliizzaattiioonn – Built in support for Unicode and Translation • Language and font aware layouts • Bidirectional font support • Mixed-international interface .. SSeeee QQtt LLiinngguuiisstt ffoorr mmoorree WWhhyy QQt?t? .. NNoott jjuusstt mmuuttllii--ppllaattiiffoorrmm,, mmuullttii--aarrcchhiitteeccttuurree .. QQttooppiiaa CCoorree 44 SSeerriieess – Support for embedded devices • Cell phones, PDAs, etc… – Supports Qt4 widgets with little to no code change QQWWiiddggeett TThhee mmeeeekk mmaayy iinnhheerriitt tthhee eeaarrtthh…… ……bbuutt tthhee eeaarrtthh sshhaallll iinnhheerriitt QQWWiiddggeett QWidget QQtt 44 WWiiddggeetsts .. IInnhheerriitt tthhee aallll--ppoowweerrffuull QQWWiiddggeett .. IInncclluuddee::
    [Show full text]
  • Qt Framework
    About Qt Qt is a framework to develop cross-platform applications. Currently, the supported platforms are Windows, Linux, macOS, Android, iOS, Embedded Linux and some others. Genarally, it means that the programmer may develop the code on one platform but compile, link and run it on another platform. But it also means that Qt needs help: to develop software it must cooperate with development tools on specific platforms, for example in case of Windows with Visual Studio. Qt is well-known for its tools for developing graphical user interfaces (GUI) , but it also provides powerful tools for threads, networking and communication (Bluetooth, serial port, web), 3D graphics, multimedia, SQL databases, etc. Qt has its own Integrated Development Environment (IDE): QtCreator. History: 1991: version 1.0 as cross-platform GUI programming toolkit was developed and implemented by TrollTech (Norway). 2005: version 4.0 was a big step ahead but the compatibility with older versions was lost. 2008: TrollTech was sold to Nokia. 2012: Nokia Qt division was sold to Digia (Finland). 2014: Digia transferred the Qt business to Qt Company. The latest Long Term Support (LTS) version is 5.12. Official website: https://www.qt.io/ Installation The link is https://www.qt.io/download. Select the non-commercial and open source version. It may be possible that you must register yourself creating a new passworded account. Select the latest stable release and the C/C++ development system(s) you are going to use. Tip: the Qt installer proposes to store the stuff in folder C:\Qt. To avoid later complications, agree.
    [Show full text]
  • Automating Drupal Development: Make!Les, Features and Beyond
    Automating Drupal Development: Make!les, Features and Beyond Antonio De Marco Andrea Pescetti http://nuvole.org @nuvoleweb Nuvole: Our Team ),3.0<4 0;(3@ )Y\ZZLSZ 7HYTH Clients in Europe and USA Working with Drupal Distributions Serving International Organizations Serving International Organizations Trainings on Code Driven Development Automating Drupal Development 1. Automating code retrieval 2. Automating installation 3. Automating site configuration 4. Automating tests Automating1 code retrieval Core Modules Contributed, Custom, Patched Themes External Libraries Installation Pro!le Drupal site building blocks drupal.org github.com example.com The best way to download code Introducing Drush Make Drush Make Drush make is a Drush command that can create a ready-to-use Drupal site, pulling sources from various locations. In practical terms, this means that it is possible to distribute a complicated Drupal distribution as a single text file. Drush Make ‣ A single .info file to describe modules, dependencies and patches ‣ A one-line command to download contributed and custom code: libraries, modules, themes, etc... Drush Make can download code Minimal make!le: core only ; distro.make ; Usage: ; $ drush make distro.make [directory] ; api = 2 core = 7.x projects[drupal][type] = core projects[drupal][version] = "7.7" Minimal make!le: core only $ drush make distro.make myproject drupal-7.7 downloaded. $ ls -al myproject -rw-r--r-- 1 ademarco staff 174 May 16 20:04 .gitignore drwxr-xr-x 49 ademarco staff 1666 May 16 20:04 includes/ -rw-r--r-- 1 ademarco
    [Show full text]
  • Jenkins Github Pull Request Integration
    Jenkins Github Pull Request Integration Jay remains out-of-date after Wittie synchronised oftener or hypnotized any tastes. Posticous Guthry augur her geebung so problematically that Anson militarizes very percussively. Long-ago Marvin energise her phenylketonuria so heuristically that Bo marinating very indeed. The six step i to endow the required plugin for integrating GitHub with Jenkins configure it. Once you use these tasks required in code merges or any plans fail, almost any plans fail. Enable Jenkins GitHub plugin service equal to your GitHub repository Click Settings tab Click Integrations services menu option Click. In your environment variables available within a fantastic solution described below to the testing. This means that you have copied the user git log in the repository? Verify each commit the installed repositories has been added on Code Climate. If you can pull comment is github pull integration? GitHub Pull Request Builder This is a different sweet Jenkins plugin that only trigger a lawsuit off of opened pull requests Once jar is configured for a. Insights from ingesting, processing, and analyzing event streams. Can you point ferry to this PR please? Continuous Integration with Bitbucket Server and Jenkins I have. Continuous integration and pull requests are otherwise important concepts for into any development team. The main advantage of finding creative chess problem that github integration plugin repository in use this is also want certain values provided only allows for the years from? It works exactly what a continuous integration server such as Jenkins. Surely somebody done in the original one and it goes on and trigger jenkins server for that you? Pdf deployment are integrated errors, pull request integration they can do not protected with github, will integrate with almost every ci job to.
    [Show full text]
  • Free Software for the Modelling and Simulation of a Mini-UAV an Analysis
    Mathematics and Computers in Science and Industry Free Software for the Modelling and Simulation of a mini-UAV An Analysis Tomáš Vogeltanz, Roman Jašek Department of Informatics and Artificial Intelligence Tomas Bata University in Zlín, Faculty of Applied Informatics nám. T.G. Masaryka 5555, 760 01 Zlín, CZECH REPUBLIC [email protected], [email protected] Abstract—This paper presents an analysis of free software Current standards for handling qualities apply to only which can be used for the modelling and simulation of a mini- piloted aircraft and there are no specific standards for UAV UAV (Unmanned Aerial Vehicle). Every UAV design, handling qualities. Relevant article discussing dynamic stability construction, implementation and test is unique and presents and handling qualities for small UAVs is [4]. [2] different challenges to engineers. Modelling and simulation software can decrease the time and costs needed to development Any UAV system depends on its mission and range, of any UAV. First part of paper is about general information of however, most UAV systems include: airframe and propulsion the UAV. The fundamentals of airplane flight mechanics are systems, control systems and sensors to fly the UAV, sensors mentioned. The following section briefly describes the modelling to collect information, launch and recovery systems, data links and simulation of the UAV and a flight dynamics model. The to get collected information from the UAV and send main section summarizes free software for the modelling and commands to it, and a ground control station. [3] [5] simulation of the UAV. There is described the following software: Digital Datcom, JSBSim, FlightGear, and OpenEaagles.
    [Show full text]
  • Enabling Devops on Premise Or Cloud with Jenkins
    Enabling DevOps on Premise or Cloud with Jenkins Sam Rostam [email protected] Cloud & Enterprise Integration Consultant/Trainer Certified SOA & Cloud Architect Certified Big Data Professional MSc @SFU & PhD Studies – Partial @UBC Topics The Context - Digital Transformation An Agile IT Framework What DevOps bring to Teams? - Disrupting Software Development - Improved Quality, shorten cycles - highly responsive for the business needs What is CI /CD ? Simple Scenario with Jenkins Advanced Jenkins : Plug-ins , APIs & Pipelines Toolchain concept Q/A Digital Transformation – Modernization As stated by a As established enterprises in all industries begin to evolve themselves into the successful Digital Organizations of the future they need to begin with the realization that the road to becoming a Digital Business goes through their IT functions. However, many of these incumbents are saddled with IT that has organizational structures, management models, operational processes, workforces and systems that were built to solve “turn of the century” problems of the past. Many analysts and industry experts have recognized the need for a new model to manage IT in their Businesses and have proposed approaches to understand and manage a hybrid IT environment that includes slower legacy applications and infrastructure in combination with today’s rapidly evolving Digital-first, mobile- first and analytics-enabled applications. http://www.ntti3.com/wp-content/uploads/Agile-IT-v1.3.pdf Digital Transformation requires building an ecosystem • Digital transformation is a strategic approach to IT that treats IT infrastructure and data as a potential product for customers. • Digital transformation requires shifting perspectives and by looking at new ways to use data and data sources and looking at new ways to engage with customers.
    [Show full text]
  • Jenkins Automation.Key
    JENKINS or: How I learned to stop worrying and love automation #MidCamp 2018 – Jeff Geerling Jeff Geerling (geerlingguy) • Drupalist and Acquian • Writer • Automator of things AGENDA 1. Installing Jenkins 2. Configuation and Backup 3. Jenkins and Drupal JENKINS JENKINS • Long, long time ago was 'Hudson' JENKINS • Long, long time ago was 'Hudson' JENKINS • Long, long time ago was 'Hudson' JENKINS • Long, long time ago was 'Hudson' • After Oracle: "Time for a new name!" JENKINS • Long, long time ago was 'Hudson' • After Oracle: "Time for a new name!" • Now under the stewardship of Cloudbees JENKINS • Long, long time ago was 'Hudson' • After Oracle: "Time for a new name!" • Now under the stewardship of Cloudbees • Used to be only name in the open source CI game • Today: GitLab CI, Concourse, Travis CI, CircleCI, CodeShip... RUNNING JENKINS • Server: • RAM (Jenkins is a hungry butler!) • CPU (if jobs need it) • Disk (don't fill the system disk!) RUNNING JENKINS • Monitor RAM, CPU, Disk • Monitor jenkins service if RAM is limited • enforce-jenkins-running.sh INSTALLING JENKINS • Install Java. • Install Jenkins. • Done! Image source: https://medium.com/@ricardoespsanto/jenkins-is-dead-long-live-concourse-ce13f94e4975 INSTALLING JENKINS • Install Java. • Install Jenkins. • Done! Image source: https://medium.com/@ricardoespsanto/jenkins-is-dead-long-live-concourse-ce13f94e4975 (Your Jenkins server, 3 years later) Image source: https://www.albany.edu/news/69224.php INSTALLING JENKINS • Securely: • Java • Jenkins • Nginx • Let's Encrypt INSTALLING
    [Show full text]
  • Forcepoint Behavioral Analytics Installation Manual
    Forcepoint Behavioral Analytics Installation Manual Installation Manual | Forcepoint Behavioral Analytics | v3.2 | 23-Aug-2019 Installation Overview This Forcepoint Behavioral Analytics Installation manual guides technical Forcepoint Behavioral Analytics users through a complete installation of a Forcepoint Behavioral Analytics deployment. This guide includes step-by-step instructions for installing Forcepoint Behavioral Analytics via Ansible and Jenkins. This document covers system architecture, required software installation tools, and finally a step-by-step guide for a complete install. The System Architecture section shows how data moves throughout software components, as well as how 3rd party software is used for key front- and back-end functionalities. The Installation Components section elaborates on important pre-installation topics. In preparation for initial installation setup, we discuss high level topics regarding Jenkins and Ansible - the tools Forcepoint Behavioral Analytics utilizes to facilitate installation commands. Although Jenkins is pre-configured at the time of install, we include Jenkins Setup information and important access and directory location information for a holistic understanding of this key installation facilitator. To conclude this document, we include step-by-step instructions for using Ansible to initialize the Jenkins CI/CD server to install each required software component. An addendum is included for additional components which can optionally be installed. Go to the Downloads page and navigate to User and Entity Behavior Analytics to find the downloads for Forcepoint Behavioral Analytics. © 2019 Forcepoint Platform Overview - Component Platform Overview - Physical Installation Components Host OS Forcepoint requires a RedHat 7 host based Operating System for the Forcepoint Behavioral Analytics platform to be installed. CentOS 7 (minimal) is the recommended OS to be used.
    [Show full text]
  • Pyqt for Autodesk Maya 2015 64Bit
    PyQt for Autodesk Maya 2015 64bit Written by Cyrille Fauvel – Autodesk Developer Network (April 2013) Updated by Vijaya Prakash – Autodesk Developer Network (April 2014) Additional Qt instructions available here - http://around-the-corner.typepad.com/adn/2014/04/building-sip-and-pyqt-for-maya-2015.html Building SIP, and PyQt for Maya 2015 PyQt [http://www.riverbankcomputing.co.uk] is a python binding to the Qt library. Because Maya uses Qt internally, you can use the PyQt modules in Maya python scripts to create custom UI. PyQt does not have the same licensing as Maya, Qt, or Python. Please consult the PyQt website for information about licensing for PyQt. Download PyQt: http://www.riverbankcomputing.com/static/Downloads/PyQt4/ Download SIP: http://www.riverbankcomputing.com/software/sip/download The following are instructions for building a copy of the PyQt modules that have been known to work with Maya. Maya 2015 uses Qt4.8.5 which is binary compatible with the latest version of PyQt - 4.10.4 / SIP - 4.15.5 (at time of writing, April 2014). However, you do not have to use these versions if you prefer using an older version, all you need is to use a version compatible with Qt4.8.5. Note that it’s important to use the Maya modified version of the Qt source code. A copy of the customized Qt 4.8.5 source is available from Autodesk's Open Source web-site (http://www.autodesk.com/lgplsource) and includes text files describing how to configure, build and install Qt for each platform supported by Maya.
    [Show full text]
  • 1 Australian Synchrotron
    EPICS Qt Update Paul Martin 1 Australian Synchrotron • 3GeV, 216m circumference synchrotron • 8 Beamlines • 12 Software Engineers • IMBL – Worlds Widest Beam - MRT Clinical Program – Safety Critical • Melbourne, Australia • Nearest other facilities: Taiwan, Thailand, Japan • 16th Most Urbanized Country • World’s most livable cities • Hosting ICALEPCS in 2015 2 Qt • Qt is a cross-platform application and UI framework for developers using C++ – Windows,OS X, Linux, Embedded Linux, Android, iOS, vxWorks, Win CE, Amiga OS • Open Source (LPGL v2.1) Qt Designer • Trolltech -> Nokia -> Digia, • Development tools: Qt Creator, Qt Designer, Qmake, Qt Linguist, Qt Assistant, Integration into Visual Studio • Rich set of Widgets and other classes (1000+), Qwt (125+) • Very Good Documentation, help, examples • All Qt Objects contain powerful object communication Qt Creator mechanism (Signal+Slots) • GUI Layout widgets • Qt Project: www.qt-project.org 3 EPICS Qt – Team • Started 2009 – Anthony Owen, Andrew Rhyder, Glenn Jackson • Joined 2011 – Andy Starritt • Joined 2012 – Ricardo Fernandez • Joined 2013 – Zai Wang (1 year contract) 4 EPICS Qt – Rapid GUI Development • Adds Channel Access to standard Qt Widgets and Data Classes • Rapid GUI Dev – Drag and Drop EPICS aware components in Qt Designer • Macro Substitutions for PV names and other GUI functions Qt Designer Channel Access running at design time .ui file – presented using QEGui on any platform (windows / linux) 5 EPICS Qt – Other App Types QCaString Qt Creator QCaInteger QCaFloating QCaByteArray
    [Show full text]
  • Kdesrc-Build Script Manual
    kdesrc-build Script Manual Michael Pyne Carlos Woelz kdesrc-build Script Manual 2 Contents 1 Introduction 8 1.1 A brief introduction to kdesrc-build . .8 1.1.1 What is kdesrc-build? . .8 1.1.2 kdesrc-build operation ‘in a nutshell’ . .8 1.2 Documentation Overview . .9 2 Getting Started 10 2.1 Preparing the System to Build KDE . 10 2.1.1 Setup a new user account . 10 2.1.2 Ensure your system is ready to build KDE software . 10 2.1.3 Setup kdesrc-build . 12 2.1.3.1 Install kdesrc-build . 12 2.1.3.2 Prepare the configuration file . 12 2.1.3.2.1 Manual setup of configuration file . 12 2.2 Setting the Configuration Data . 13 2.3 Using the kdesrc-build script . 14 2.3.1 Loading project metadata . 14 2.3.2 Previewing what will happen when kdesrc-build runs . 14 2.3.3 Resolving build failures . 15 2.4 Building specific modules . 16 2.5 Setting the Environment to Run Your KDEPlasma Desktop . 17 2.5.1 Automatically installing a login driver . 18 2.5.1.1 Adding xsession support for distributions . 18 2.5.1.2 Manually adding support for xsession . 18 2.5.2 Setting up the environment manually . 19 2.6 Module Organization and selection . 19 2.6.1 KDE Software Organization . 19 2.6.2 Selecting modules to build . 19 2.6.3 Module Sets . 20 2.6.3.1 The basic module set concept . 20 2.6.3.2 Special Support for KDE module sets .
    [Show full text]