1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 21:49:07 +00:00
Go to file
Magliano Andrea 93af415ad7 Force global library path for pkgsrc.
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.
2012-07-05 20:39:38 +02:00
cmake Force global library path for pkgsrc. 2012-07-05 20:39:38 +02:00
data Update docs + minor changes 2012-06-28 19:05:28 +02:00
doc Update docs + minor changes 2012-06-28 19:05:28 +02:00
extras Make $exec et al. use the new callback system 2011-02-27 22:43:32 +01:00
lua Update version, copyright. 2012-05-03 16:34:44 -07:00
src Fall back to statfs if statfs64 not present 2012-07-05 16:41:58 +02:00
.gitignore Add support for $no_update 2010-04-17 15:19:44 +02:00
AUTHORS Add ARGB visual support. 2010-01-01 15:03:40 -08:00
autogen.sh Update version, copyright. 2012-05-03 16:34:44 -07:00
changelog2html.py Fix charset of changelog. 2009-03-29 23:18:17 -06:00
ChangeLog $memwithbuffers object and bar (sf.net #2954143) 2010-02-18 18:32:25 +01:00
check_docs.py Update the doc date when check_docs.py is ran. 2009-07-20 17:32:56 -06:00
CMakeLists.txt install conky documentation with a configurable path (-DDOC_PATH) (sf.net #3117859) 2010-12-11 13:50:59 +01:00
COPYING Remove timed_thread code as it is no longer used. 2011-03-26 21:04:07 +01:00
INSTALL Initial revision 2005-07-20 00:30:40 +00:00
LICENSE.BSD Update copyright notices. 2010-01-01 15:46:17 -08:00
LICENSE.GPL clarifying licensing 2007-08-10 19:53:44 +00:00
NEWS Reformatted all code 2008-02-20 20:30:45 +00:00
README.cmake Deprecate autotools, update docs to reflect cmake build system. 2010-01-01 14:08:57 -08:00
text2c.sh Fix quoting in text2c.sh 2011-09-19 16:52:03 +02:00
TODO Removing old svn keywords. 2008-12-09 16:35:49 -07:00

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).