Пересобранный и видоизмененный conky для ОСГОС
This commit is contained in:
commit
3a48cf8c86
738 changed files with 217718 additions and 0 deletions
41
web/documents/compiling.mdx
Normal file
41
web/documents/compiling.mdx
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
---
|
||||
title: Compiling
|
||||
description: How to compile Conky from source
|
||||
indexWeight: 0
|
||||
---
|
||||
|
||||
Using CMake to build Conky is pretty easy, and here is how I do it:
|
||||
|
||||
1. From the top level source dir, create a build working dir, and cd into it
|
||||
|
||||
```shell-session
|
||||
mkdir build
|
||||
cd build
|
||||
```
|
||||
|
||||
2. Run the cmake configuration process
|
||||
|
||||
```shell-session
|
||||
cmake ../ # pass the path to the sources to cmake
|
||||
```
|
||||
|
||||
OR
|
||||
|
||||
```shell-session
|
||||
ccmake ../ # you can also use the fance curses interface, or try cmake-gui
|
||||
```
|
||||
|
||||
3. Compile as usual, and enjoy the out-of-source goodness
|
||||
|
||||
```shell-session
|
||||
make
|
||||
sudo make install # if you want
|
||||
```
|
||||
|
||||
There are a number of build options for Conky, and the best way to discover
|
||||
them is to use the `ccmake` (or `cmake-gui`) CMake tool for browsing them.
|
||||
|
||||
Certain Conky build time features (such as doc generation) require third-party
|
||||
applications, which you should be notified of via CMake. In the case of doc
|
||||
generation, you'll need the docbook2X package (available on most
|
||||
distributions).
|
||||
Loading…
Add table
Add a link
Reference in a new issue