mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 09:44:04 +00:00
Check out my config at gist :)
https://gist.github.com/Llewellynvdm/02279631eabc65601a5722dcf4780768
93af415ad7
DragonFlyBSD uses pkgsrc package infrastructure, hence the the need for extra flags. Cmake pkg_search_module macro sets according <XPREFIX>_LDFLAGS var, thus the correct way should be to append it to conky_includes and conky_libs for each extra package needed. As all pkgsrc packages always install in /usr/pkg, the simplest thing is to set specific cflags and ldflags at the very beginning. Conky is btw wip (work in progress) in pkgsrc system, mostly with NetBSD patches. This is intended as radical workaround (DragonFlyBSD specific for now) instead of submitting specific patches to pksrc maintainers. |
||
---|---|---|
cmake | ||
data | ||
doc | ||
extras | ||
lua | ||
src | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
changelog2html.py | ||
ChangeLog | ||
check_docs.py | ||
CMakeLists.txt | ||
COPYING | ||
INSTALL | ||
LICENSE.BSD | ||
LICENSE.GPL | ||
NEWS | ||
README.cmake | ||
text2c.sh | ||
TODO |
Hello, there. 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 $ mkdir build $ cd build 2. Run the cmake configuration process $ cmake ../ # pass the path to the sources to cmake OR $ ccmake ../ # you can also use the fance curses interface, or try cmake-gui 3. Compile as usual, and enjoy the out-of-source goodness $ make # 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).