mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +00:00
8aa9c819f3
* Try to amend #31 * BUILD_WLAN should be available for all OS. Keep BUILD_WLAN OFF by default for compatibility reasons. * WLAN-related variables should be available for every OS. There are some problems (probably null-dereference) * Fix $wireless_essid crashing conky if no argument provided. Conky wasn't parsing the argument of the variable as it should, thus wasn't allocating the `dev` member variable. Also fix some documentation stuff. * Improve `get_freq` #20 Using the Intel® Power Gadget API (https://software.intel.com/en-us/blogs/2012/12/13/using-the-intel-power-gadget-api-on-mac-os-x) we can now get actual Core frequency and not the constant factory one. Though, for some weird reason the API gives the same freq for all Cores, thus the |cpu| arg becomes useless. * Oops, this accidently slipped in * Introduce BUILD_IPGFREQ build option This build option has been introduced for one particular reason: On macOS getting current core-frequency is not supported by the APIs. A solution is to install Intel's ® Power Gadget which comes with an .app, a Framework and a kernel-extension. Though, this may trouble some alot, thus introduce BUILD_IPGFREQ. * Forgot static here. * Some improvements for get_freq again. Fix frequency not printing correctly (I wasn't using the divisor) Add more guards. * Setup cmake files and project code for Objective-C code #17 We want to use CoreWLAN framework. * update_cpu_usage() now supports multiple cores Also, some cleanup. * Updated default conky config to monitor Mac Networking * Made Mac Friendly BuildOptions and generic default conky configs * Undid Xdamage config and cleaned up previous IF statements * Re-Added XDamage fix * Finish up the algorithm. I think its now correct. Closes: #33 * Cleanup macro and introduce a no-op free_cpu() function for ALL cpu-related variables free_cpu() must be implemented for every OS and on all except macOS its a no-op function. * Reformat, add empty comment.
145 lines
2.7 KiB
C
145 lines
2.7 KiB
C
/*
|
|
* Auto-generated header for CMake. See config.h.in if you need to modify the
|
|
* original.
|
|
*/
|
|
|
|
#ifndef _conky_config_h_
|
|
#define _conky_config_h_
|
|
|
|
#cmakedefine DEBUG
|
|
|
|
#define SYSTEM_NAME "@CMAKE_SYSTEM_NAME@"
|
|
#define PACKAGE_NAME "@PROJECT_NAME@"
|
|
#define VERSION "@VERSION@"
|
|
#define SYSTEM_CONFIG_FILE "@SYSTEM_CONFIG_FILE@"
|
|
#define PACKAGE_LIBDIR "@PACKAGE_LIBRARY_DIR@"
|
|
#define DEFAULTNETDEV "@DEFAULTNETDEV@"
|
|
#define XDG_CONFIG_FILE "@XDG_CONFIG_FILE@"
|
|
#define CONFIG_FILE "@CONFIG_FILE@"
|
|
#define LOCALE_DIR "@LOCALE_DIR@"
|
|
#define MAX_USER_TEXT_DEFAULT @MAX_USER_TEXT_DEFAULT@
|
|
#define DEFAULT_TEXT_BUFFER_SIZE @DEFAULT_TEXT_BUFFER_SIZE@
|
|
#define MAX_NET_INTERFACES @MAX_NET_INTERFACES@
|
|
#define HTTPPORT @HTTPPORT@
|
|
|
|
#cmakedefine BUILD_I18N 1
|
|
|
|
#cmakedefine HAVE_SYS_STATFS_H 1
|
|
#cmakedefine HAVE_SYS_PARAM_H 1
|
|
#cmakedefine HAVE_SYS_INOTIFY_H 1
|
|
#cmakedefine HAVE_DIRENT_H 1
|
|
|
|
#cmakedefine HAVE_SOME_SOUNDCARD_H 1
|
|
#cmakedefine HAVE_LINUX_SOUNDCARD_H 1
|
|
|
|
#cmakedefine HAVE_STRNDUP 1
|
|
|
|
#cmakedefine HAVE_FOPENCOOKIE 1
|
|
#cmakedefine HAVE_FUNOPEN 1
|
|
|
|
#cmakedefine HAVE_PIPE2 1
|
|
#cmakedefine HAVE_O_CLOEXEC 1
|
|
|
|
#cmakedefine HAVE_CLOCK_GETTIME 1
|
|
|
|
#cmakedefine BUILD_X11 1
|
|
|
|
#cmakedefine OWN_WINDOW 1
|
|
|
|
#cmakedefine BUILD_XDAMAGE 1
|
|
|
|
#cmakedefine BUILD_XINERAMA 1
|
|
|
|
#cmakedefine BUILD_XFT 1
|
|
|
|
#cmakedefine BUILD_XSHAPE 1
|
|
|
|
#cmakedefine BUILD_ARGB 1
|
|
|
|
#cmakedefine BUILD_XDBE 1
|
|
|
|
#cmakedefine BUILD_PORT_MONITORS 1
|
|
|
|
#cmakedefine BUILD_AUDACIOUS 1
|
|
|
|
#cmakedefine NEW_AUDACIOUS_FOUND 1
|
|
|
|
#cmakedefine BUILD_MPD 1
|
|
|
|
#cmakedefine BUILD_MYSQL 1
|
|
|
|
#cmakedefine BUILD_MOC 1
|
|
|
|
#cmakedefine BUILD_NVIDIA 0
|
|
|
|
#cmakedefine BUILD_XMMS2 1
|
|
|
|
#cmakedefine BUILD_HDDTEMP 1
|
|
|
|
#cmakedefine BUILD_EVE 1
|
|
|
|
#cmakedefine BUILD_LIBXML2 1
|
|
|
|
#cmakedefine BUILD_CURL 1
|
|
|
|
#cmakedefine BUILD_WEATHER_XOAP 1
|
|
#cmakedefine BUILD_WEATHER_METAR 1
|
|
|
|
#define XOAP_FILE "@XOAP_FILE@"
|
|
|
|
#cmakedefine BUILD_IMLIB2 1
|
|
|
|
#cmakedefine BUILD_MATH 1
|
|
|
|
#cmakedefine BUILD_BUILTIN_CONFIG 1
|
|
|
|
#cmakedefine BUILD_OLD_CONFIG 1
|
|
|
|
#cmakedefine BUILD_NCURSES 1
|
|
#cmakedefine LEAKFREE_NCURSES 1
|
|
|
|
#cmakedefine BUILD_APCUPSD 1
|
|
|
|
#cmakedefine BUILD_IOSTATS 1
|
|
|
|
#cmakedefine BUILD_IPGFREQ 0
|
|
|
|
#cmakedefine BUILD_WLAN 1
|
|
|
|
#cmakedefine BUILD_ICAL 1
|
|
|
|
#cmakedefine BUILD_IRC 1
|
|
|
|
#cmakedefine BUILD_PULSEAUDIO 1
|
|
|
|
#cmakedefine BUILD_IPV6 1
|
|
|
|
#cmakedefine BUILD_HTTP 1
|
|
|
|
#cmakedefine BUILD_ICONV 1
|
|
|
|
#cmakedefine BUILD_LUA_CAIRO 1
|
|
|
|
#cmakedefine BUILD_LUA_IMLIB2 1
|
|
|
|
#cmakedefine BUILD_LUA_RSVG 1
|
|
|
|
#if defined(BUILD_LUA_CAIRO) || defined(BUILD_LUA_IMLIB2) || defined(BUILD_LUA_RSVG)
|
|
#define BUILD_LUA_EXTRAS
|
|
#endif
|
|
|
|
#cmakedefine BUILD_IBM 1
|
|
|
|
#cmakedefine BUILD_RSS 1
|
|
|
|
#cmakedefine BUILD_CMUS 1
|
|
|
|
#cmakedefine BUILD_JOURNAL 1
|
|
|
|
#cmakedefine HAVE_STATFS64 1
|
|
#ifndef HAVE_STATFS64
|
|
#define statfs64 statfs
|
|
#endif
|
|
|
|
#endif /* _conky_config_h_ */
|