1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-05 21:07:52 +00:00
Go to file
Phil Sutter 7b05bdd665 text_object: introduce text_object_callbacks
The callback functions are:
print - to be called from generate_text_internal()
iftest - same as print for ifblock objects (triggers jumping)
barval - same as above for bar objects (returns current bar value)
gaugeval - same as above for gauge objects
graphval - same as above for graph objects
percentage - for percentage objects, returns actual percentage
free  - called in free_text_objects()

Until conversion is complete, if the function pointer is NULL the old
lookup by type is being done.

Note that it's possible to assign both 'print' and 'iftest' callbacks.
In this case, the code simply ignores the 'iftest' callback, though this
could easily be changed (always calling DO_JUMP at last, of course) in
order to allow ifblock objects to print something in addition to jumping
somewhere (or not).
2009-11-29 21:33:30 +01:00
cmake_modules Add (broken) cmake build stuff. 2009-11-26 11:25:32 -08:00
data Fix default config when built without x11 2009-11-16 21:42:55 +01:00
doc Add (broken) cmake build stuff. 2009-11-26 11:25:32 -08:00
extras Add support for max_text_width configuration setting 2009-11-25 16:04:49 +01:00
lua Add (broken) cmake build stuff. 2009-11-26 11:25:32 -08:00
m4 Added some completely pointless OpenMP optimizations(?) 2009-05-05 17:36:12 -06:00
src text_object: introduce text_object_callbacks 2009-11-29 21:33:30 +01:00
.gitignore git ignore temporary files in lua/ 2009-11-05 22:06:03 +01:00
AUTHORS Switching email addrs. 2009-09-26 20:40:42 -07:00
autogen.sh Modified autogen.sh so we shouldn't need the README in the git repo. 2009-05-10 11:52:03 -06:00
changelog2html.py Fix charset of changelog. 2009-03-29 23:18:17 -06:00
ChangeLog Add support for max_text_width configuration setting 2009-11-25 16:04:49 +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 Add (broken) cmake build stuff. 2009-11-26 11:25:32 -08:00
config.rpath add config.rpath to satisfy AM_ICONV 2007-01-08 01:10:12 +00:00
configure.ac.in print which features are unsupported at the end of configure 2009-11-15 01:43:30 +01:00
COPYING Update copyright stuff, fix conky.conf weirdness. 2009-03-29 22:55:51 -06:00
INSTALL Initial revision 2005-07-20 00:30:40 +00:00
LICENSE.BSD Update copyright stuff, fix conky.conf weirdness. 2009-03-29 22:55:51 -06:00
LICENSE.GPL clarifying licensing 2007-08-10 19:53:44 +00:00
Makefile.am add emacs indentation variables to source files in line with current vim settings 2009-07-28 23:44:22 +02:00
NEWS Reformatted all code 2008-02-20 20:30:45 +00:00
README.git-version Add note to git readme about doc generation. 2009-05-10 13:24:31 -06:00
text2c.sh use the builtin config also as a default one 2008-12-14 15:45:30 +01:00
TODO Removing old svn keywords. 2008-12-09 16:35:49 -07:00

QUICK & EASY:
	$ sh autogen.sh
	$ ./configure
	$ make
	$ ./src/conky # to run Conky
	# make install

First, read the README. This contains instructions specific to building conky
fresh from the git repo:

* Conky requires three "auto-tools", with at least the specific version numbers.
	Make sure these are installed:

	aclocal-1.9
	automake-1.9
	autoconf-2.59

* NOTE: You may also need to install docbook2X for generating the
	documentation.  Conky will check for the following programs in PATH during
	configuration:

	db2x_xsltproc
	db2x_manxml
	xsltproc

* In the directory where you cloned conky from git,
	run "aclocal", "automake", and then "autoconf".
	Make sure you run those commands with the latest versions...
	it is very possible that older versions are installed, and
	plain "automake" really means automake-1.4, not what we want,
	but "automake-1.9" instead.
	Use the "--version" option to check the program version, i.e.
	"autoconf --version".

	You can also try using the autogen.sh script, like so:

	$ sh autogen.sh

* After that, it's the familiar

	$ ./configure
	$ make
	# make install

	You might have to do the last step as root.