From 9c447a19df1a5a196bf46049de1007b6eaee960b Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Mon, 13 Aug 2007 19:01:56 +0000 Subject: [PATCH] back out r919 git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@920 7f574dfc-610e-0410-a909-a81674777703 --- conky1/AUTHORS | 248 + conky1/COPYING | 9 + conky1/ChangeLog | 837 +++ conky1/Conky.kdevelop | 244 + conky1/INSTALL | 184 + conky1/LICENSE.BSD | 27 + conky1/LICENSE.GPL | 674 ++ conky1/Makefile.am | 25 + conky1/NEWS | 97 + conky1/README | 1399 ++++ conky1/README.cvs-version | 29 + conky1/TODO | 8 + conky1/app-admin/conky/conky-1.4.0.ebuild | 103 + conky1/app-admin/conky/conky-1.4.1.ebuild | 109 + conky1/app-admin/conky/conky-1.4.2.ebuild | 104 + conky1/app-admin/conky/conky-1.4.3.ebuild | 102 + conky1/app-admin/conky/conky-1.4.4.ebuild | 109 + conky1/app-admin/conky/conky-1.4.5.ebuild | 108 + conky1/app-admin/conky/conky-1.4.6.ebuild | 107 + conky1/app-admin/conky/conky-1.999.ebuild | 118 + conky1/autogen.sh | 27 + conky1/buildubu.sh | 16 + conky1/changelog2html.py | 30 + conky1/config.rpath | 614 ++ conky1/configure.ac.in | 562 ++ conky1/debian/changelog | 34 + conky1/debian/compat | 1 + conky1/debian/control | 18 + conky1/debian/copyright | 12 + conky1/debian/docs | 6 + conky1/debian/menu | 2 + conky1/debian/rules | 5 + conky1/doc/Makefile.am | 29 + conky1/doc/README.docs | 41 + conky1/doc/command_options.xml | 93 + conky1/doc/config_settings.xml | 437 ++ conky1/doc/config_settings.xsl | 46 + conky1/doc/conky-howto.xml | 142 + conky1/doc/conky.1 | 1287 ++++ conky1/doc/conkyrc.sample | 192 + conky1/doc/docgen.sh | 12 + conky1/doc/docs.xml | 235 + conky1/doc/variables.xml | 1971 ++++++ conky1/doc/variables.xsl | 50 + conky1/extras/nano/README | 2 + conky1/extras/nano/conky.nanorc | 18 + conky1/extras/vim/README | 9 + conky1/extras/vim/ftdetect/conkyrc.vim | 5 + conky1/extras/vim/syntax/conkyrc.vim | 247 + conky1/src/Makefile.am | 104 + conky1/src/audacious.c | 187 + conky1/src/audacious.h | 58 + conky1/src/bmpx.c | 134 + conky1/src/build.h.in | 9 + conky1/src/common.c | 290 + conky1/src/conky.c | 7699 +++++++++++++++++++++ conky1/src/conky.h | 644 ++ conky1/src/freebsd.c | 977 +++ conky1/src/fs.c | 112 + conky1/src/hddtemp.c | 179 + conky1/src/libmpdclient.c | 1955 ++++++ conky1/src/libmpdclient.h | 670 ++ conky1/src/libtcp-portmon.c | 648 ++ conky1/src/libtcp-portmon.h | 246 + conky1/src/linux.c | 2000 ++++++ conky1/src/mail.c | 198 + conky1/src/mboxscan.c | 364 + conky1/src/mboxscan.h | 34 + conky1/src/mixer.c | 109 + conky1/src/mpd.c | 228 + conky1/src/netbsd.c | 402 ++ conky1/src/openbsd.c | 841 +++ conky1/src/prss.c | 225 + conky1/src/prss.h | 67 + conky1/src/rss.c | 175 + conky1/src/solaris.c | 85 + conky1/src/timed_thread.c | 261 + conky1/src/timed_thread.h | 57 + conky1/src/top.c | 568 ++ conky1/src/top.h | 99 + conky1/src/x11.c | 573 ++ conky1/src/xmms2.c | 370 + 82 files changed, 31352 insertions(+) create mode 100644 conky1/AUTHORS create mode 100644 conky1/COPYING create mode 100644 conky1/ChangeLog create mode 100644 conky1/Conky.kdevelop create mode 100644 conky1/INSTALL create mode 100644 conky1/LICENSE.BSD create mode 100644 conky1/LICENSE.GPL create mode 100644 conky1/Makefile.am create mode 100644 conky1/NEWS create mode 100644 conky1/README create mode 100644 conky1/README.cvs-version create mode 100644 conky1/TODO create mode 100644 conky1/app-admin/conky/conky-1.4.0.ebuild create mode 100644 conky1/app-admin/conky/conky-1.4.1.ebuild create mode 100644 conky1/app-admin/conky/conky-1.4.2.ebuild create mode 100644 conky1/app-admin/conky/conky-1.4.3.ebuild create mode 100644 conky1/app-admin/conky/conky-1.4.4.ebuild create mode 100644 conky1/app-admin/conky/conky-1.4.5.ebuild create mode 100644 conky1/app-admin/conky/conky-1.4.6.ebuild create mode 100644 conky1/app-admin/conky/conky-1.999.ebuild create mode 100755 conky1/autogen.sh create mode 100755 conky1/buildubu.sh create mode 100644 conky1/changelog2html.py create mode 100755 conky1/config.rpath create mode 100644 conky1/configure.ac.in create mode 100644 conky1/debian/changelog create mode 100644 conky1/debian/compat create mode 100644 conky1/debian/control create mode 100644 conky1/debian/copyright create mode 100644 conky1/debian/docs create mode 100644 conky1/debian/menu create mode 100755 conky1/debian/rules create mode 100644 conky1/doc/Makefile.am create mode 100644 conky1/doc/README.docs create mode 100644 conky1/doc/command_options.xml create mode 100644 conky1/doc/config_settings.xml create mode 100644 conky1/doc/config_settings.xsl create mode 100644 conky1/doc/conky-howto.xml create mode 100644 conky1/doc/conky.1 create mode 100644 conky1/doc/conkyrc.sample create mode 100644 conky1/doc/docgen.sh create mode 100644 conky1/doc/docs.xml create mode 100644 conky1/doc/variables.xml create mode 100644 conky1/doc/variables.xsl create mode 100644 conky1/extras/nano/README create mode 100644 conky1/extras/nano/conky.nanorc create mode 100644 conky1/extras/vim/README create mode 100644 conky1/extras/vim/ftdetect/conkyrc.vim create mode 100644 conky1/extras/vim/syntax/conkyrc.vim create mode 100644 conky1/src/Makefile.am create mode 100644 conky1/src/audacious.c create mode 100644 conky1/src/audacious.h create mode 100644 conky1/src/bmpx.c create mode 100644 conky1/src/build.h.in create mode 100644 conky1/src/common.c create mode 100644 conky1/src/conky.c create mode 100644 conky1/src/conky.h create mode 100644 conky1/src/freebsd.c create mode 100644 conky1/src/fs.c create mode 100644 conky1/src/hddtemp.c create mode 100644 conky1/src/libmpdclient.c create mode 100644 conky1/src/libmpdclient.h create mode 100644 conky1/src/libtcp-portmon.c create mode 100644 conky1/src/libtcp-portmon.h create mode 100644 conky1/src/linux.c create mode 100644 conky1/src/mail.c create mode 100644 conky1/src/mboxscan.c create mode 100644 conky1/src/mboxscan.h create mode 100644 conky1/src/mixer.c create mode 100644 conky1/src/mpd.c create mode 100644 conky1/src/netbsd.c create mode 100644 conky1/src/openbsd.c create mode 100644 conky1/src/prss.c create mode 100644 conky1/src/prss.h create mode 100644 conky1/src/rss.c create mode 100644 conky1/src/solaris.c create mode 100644 conky1/src/timed_thread.c create mode 100644 conky1/src/timed_thread.h create mode 100644 conky1/src/top.c create mode 100644 conky1/src/top.h create mode 100644 conky1/src/x11.c create mode 100644 conky1/src/xmms2.c diff --git a/conky1/AUTHORS b/conky1/AUTHORS new file mode 100644 index 00000000..c8adb670 --- /dev/null +++ b/conky1/AUTHORS @@ -0,0 +1,248 @@ +# $Id$ + +Authors of conky in alphapetical order (please, send mail if I forgot +somebody or email address / name is wrong): + +adi + Outline stuff + ACPI fan & adapter + +Adi Zaimi + original top code + +Alex + Iconv patch + +affinity + X-Mozilla-Status support + +akash + battery_percent and battery_bar + +Blondak + diskio read & write patch + +Bobby Beckmann + Interface IP and Wireless Quality patch + +David Carter + CPU usage being reported incorrectly by top + +Brenden Matthews + project maintainer + +Bruce Merry + Xdbe (double buffering) + +btlee + linkstatus patch (http://forums.gentoo.org/viewtopic-p-2765647.html#2765647) + +calmar + mboxscan + +cromka + if_existing patch for string matching + +dan-h + adt746x fix + +Dan Piponi + original top code + +Dave Clark + original top code + +David McCabe + utime + +Ram Yalamanchili + tztime + +Daniel Thiele + APM support for FreeBSD + +Denis + WM_CLASS patch + statfs patch + +Dennis Frommknecht + NVCtrl, temperature monitoring for nvdia-based graphics cards + +Dennis Kaandorp + adt746x stuff + +Elisey O. Savateev + Fixed if_mounted on FreeBSD + +Egor(knick_) + Iconv patch + +Erik Scharwaechter + $if_empty patch + +Falk Feuersenger + I2C divisor from a file + +Fanat1k + Iconv patch + +flitsch + hwmon support + +fow + mpd_title max length + +Gwenhael LE MOINE + Manual setting of the position + WM_CLASS for window when drawing to own window + +Hannu Saransaari + Main code + +Jason Mitchell + developer + UTF8 fix + Source clean up + +Jason Tan + developer + debian package maintainer + +Joe Myre - + developer + +jack_mort - gentoo forums + $tab patch + +Jarmo Hekkanen + SETI stuff + +Jeremy Burch + $cached and $buffers + +JL Farinacci + pad_percents + +Johannes Winkelmann + disk I/O on linux + more consistent cpu freq handling on linux + capitalize Hertz in cpu frequeny + +jolapache + maildir format + +Joshua Gerrish + mpd password patch + +Jørgen P. Tjernø + Restores default settings before loading new config file in SIGHUP + Some cleaning and commenting apparently :) + SIGHUP config file reload + +killfire + fs_used_perc and fs_bar_free patch + +Lassi Selander + XMMS2 patch + +Lauri Hakkarainen + Some translating, web and other stuff + +Leszek Krupiñski + Battery number for ACPI battery + Load average bug fix + +Lucas Brutschy + MLDonkey patch + if constructs patch + +Michal Januszewski + hddtemp support + +Moncelier Camille + METAR patch + +Nattfodd + Fixed top_mem dupes + +nathanj439 + MPD time fix + +Pascal Eberhard + graph and bar fix for right alignment + +Peter Tarjan + IBM acpi support patch + SMP support for freq stuff + CPU voltage patch + +Petr Holub + fix autotools on FreeBSD in autogen.sh + Improved battery readout on FreeBSD + +Philip Kovacs + tcp port monitor with hashing functionality + Audacious, Xmms, BMP, Infopipe stuff + Various Xlib changes, e.g. own_window hints, etc. + +Phil + multiple batteries support + +Psychon + a bunch of code cleanups + +roiban adi + hex colour patch + +Rui Paulo + NetBSD support + +Roman Bogorodskiy + FreeBSD support + BMPx support + +Ryan Twitchell + head/tail rewrite patch + +Mikko Sysikaski + prss.c and prss.h + +Stepan Zastupov + WiFi signal level detection support on FreeBSD + +Szymon Boniecki + Reads current LC_TIME + +Thomas Cort + CPU frequency patch for alpha + +Toni + exec*/tail/head output evalution + +Toni Spets hifi + OpenBSD support + Linux wifi code + RSS code (created with Mikko Sysikaski) + +tyir + MPD features patch 1319461 + +Vivenzio Pagliari + Some useful patches for port monitoring + PowerBook battery patch + +Walt Nelson + $freq fix + +Warren Dukes + libmpdclient + +William DiPlacido + Frequency from /proc/cpuinfo + Some other SETI stuff + +zimba-tm + alignment none patch + +zotrix + FreeBSD patch for <10 procs diff --git a/conky1/COPYING b/conky1/COPYING new file mode 100644 index 00000000..35c5bf96 --- /dev/null +++ b/conky1/COPYING @@ -0,0 +1,9 @@ +Any original torsmo code is licensed under the BSD license (see LICENSE.BSD +for a copy) + +All code written since the fork of torsmo is licensed under the GPL (see +LICENSE.GPL for a copy) + +Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen +Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) +All rights reserved. diff --git a/conky1/ChangeLog b/conky1/ChangeLog new file mode 100644 index 00000000..6052ec1c --- /dev/null +++ b/conky1/ChangeLog @@ -0,0 +1,837 @@ +# $Id$ + +2007-08-12 + * Added var $platform which is similar to $i2c and accommodates the conversion + of many devices from /sys/bus/i2c/devices to /sys/bus/platform/devices. + * Removed config item post_21_kernel since it forced all i2c device lookups + to go to /sys/bus/platform/devices and some people may need a mix of both + i2c and platform devices. + +2007-08-10 + * Clarifying licensing + +2007-08-08 + * RSS support + * Wireless support for Linux + +2007-08-05 + * Conky 1.4.6 released + * Updated to libmpdclient 0.13.0 + * Added 'post_21_kernel' config param to specify kernels 2.6.22 and newer + so i2c works properly + +2007-08-04 + * Fixed potential issue on FreeBSD when nprocs < 10 (thanks zotrix) + * Added support for multiple batteries when using acpi (thanks Phil) + * a bunch of code cleanups (thanks Psychon) + * added max length paramater to mpd_title (thinks fow) + * a number of small bug fixes + +2007-07-15 + * Fix PID display, patch #1753934. thanks sohalt. + * Fix displaying 4 GB traffic after reloading network driver, + patch #1754260. thanks sohalt. + +2007-06-21 + * Right-justify top/top_mem vars (pid/cpu/mem} so they align on the decimal. + +2007-04-25 + * Added color[0-9] variable patch (thanks jieryn) + +2007-04-05 + * Added if_empty patch (thanks Erik) + * Added if_existing patch for string matching (thanks cromka) + * Added hwmon support (thanks flitsch) + * Some xmms2 updates (thanks sleipner) + * Added $battery_percent and $battery_bar (thanks akash) + +2007-02-25 + * OpenBSD support added to Conky (thanks hifi) + * Updated mboxscan stuff (thanks calmar) + +2007-02-25 + * Created branch/1.5 copy of trunk/conky1. Removing all experimental + network code from trunk/conky1. + +2007-02-14 + * Include missing mboxscan.h in conky.h. + * Fixed signedness warnings in conky.c. + +2007-02-11 + * Added buffer_text_size option to change the size of the buffer for + things like $exec, $tail, et cetera + * Added $mboxscan which lets you display the Subject and From fields + from recent email in an mbox file + * Disambiguated (is that a word?) $cpu docs + +2007-01-14 + * Fallback to gettimeofday() when clock_gettime () not available (mac os). + +2007-01-09 + * API change (timing in milliseconds) for dexter_timedsampler_new (). + +2007-01-07 + * Add config.rpath (created by gettextize -copy) to distribution + to satisfy AM_ICONV. + * Clean up some warnings; remove ftp.[ch] from src/Makefile.am. + +2006-12-29 + * Update svn ebuild to new sourceforge url scheme. + - requires deletion of existing wc: rm -rf /usr/portage/distfile/svn-src/conky/ + * Added head/tail rewrite patch (thanks Ryan Twitchell) + * Added diskio read/write sf.net patch 1542880 (thanks Blondak) + +2006-12-26 + * Clear conky vars on disconnect/failure to open files. + +2006-12-23 + * Updated to libmpdclient 0.12.0 + +2006-12-22 + * client/server infrastructure and prototype for linux only (so far): + - requires libdexter (http://sourceforge.net/projects/libdexter) + and the dxt-sysinfo plugin (svn only at the moment). + * new config items: + - dexter_client yes/no + - dexter_server yes/no + - dexter_config /path/to/libdexter/config (default: $HOME/.dexterrc) + - own_window_class (default: Conky) + - replaces wm_class_name + - own_window_title (default: - conky) + * removed config items: + - wm_class_name (use own_window_class, same function) + * configure changes: + --disable-network (default=yes) with auto-detection for libdexter. + - remove useless --enable-proc-uptime (PROC_UPTIME never referenced). + HAVE_SYSINFO and others determine if /proc/uptime is used. + - silently disable xft, double-buffer and xdamage if no x11. + - change enable/disable labels to reflect defaults accurately. + - simplified compile-based checks for sysinfo/getloadavg and by moving + them into AC_CHECK_FUNCS. + * allow decorated, own_window=yes windows to be given input focus by WM: + - do not pass button clicks through to desktop in this scenario as conky + immediately loses focus. + +2006-12-13 + * Clarify LGPL license on timed_thread modules. + * Update NEWS files. + +2006-12-12 + * Split battery variable into two: + battery, e.g. "charging 75%" and + battery_time, e.g. "3h 15m". + * Conky 1.4.5 released. + +2006-12-11 + * Close pop3/imap sockets. + * Fix outstanding battery issues. + +2006-12-10 + * Fix peek table bug with new portmon code. + +2006-12-09 + * Replaced hash module used by libtcp-portmon with GLib's GHashTable, + due to licensing issue noted by Fedora Core packagers. + * Eliminated config items: + min_port_monitors, + min_port_monitor_connections + * Added config item: + max_port_monitor_connections + +2006-11-30 + * Added $entropy_avail, $entropy_poolsize and $entropy_bar + for the crypto freaks. Idea suggested by Perttu Luukko + in feature request 1497050. + * Added max length specifier to audacious_title. Closes + feature request #1600631. + +2006-11-28 + * Rearrange retry attempts in pop3 and imap code, removing sleep() + calls which cause the whole process to sleep, not just the thread. + +2006-11-22 + * Added max_specials config item with default 512. This should + close bug #1574523 for real this time. Thanks to John Harrigan + for this one. + +2006-11-21 + * Changed autotools for subversion versioning. + * Updated svn ebuild for gentoo. + * Documentation updates for clarity, i.e. close bug #1599041. + +2006-11-20 + * fix compile error with --disable-xdamage when Xdamage.h not present. + +2006-11-18 + * fix bug where present rate var was not being read from acpi battery + state file: /proc/acpi/battery/%s/state. + +2006-11-15 + * Change linkstatus display for use_spacer. Closes bug #1577580. + +2006-11-14 + * Fix compile error with --disable-x11. + * Add new timed thread abstraction routines. + * Convert thread activity to timed threads, including + texeci, imap, pop3, audacious. + * Change memory vars from unsigned long to unsigned long long + to fix reported overflow, e.g. swapmax >= 4Gb. + +2006-11-13 + * Use pthread_cond_timedwait() instead of sleep() in audacious + thread. Will convert all worker threads to this timing method. + +2006-11-12 + * Fix freebsd build error. + * Minor changes to syntax files. + * Conky 1.4.4 released. + +2006-11-11 + * Add max_user_text to documentation. + * Fixed BadWindow bugs (#1568366, #1588384). + +2006-11-10 + * Remove on_bottom and xmms_player completely. + * Closed ibm_temps bug #1591609. + * Conky 1.4.3 released. + +2006-11-09 + * Updated vim and nano syntax coloring scripts. + * Added extras/ dir with syntax stuff to distribution tarball. + +2006-11-08 + * Added new config item 'max_user_text' with default 16384, + twice as large as previous hard-coded default of 8192 bytes. + Increase as needed to accomodate large config files with a + great deal of text. This closes SF bug #1574523. + +2006-11-07 + * Changes to configure.ac for pkg-config on x11/xext/xdamage, + with fallback to conventional checks. + * Fixed segmentation fault on SUGUSR1 bug. + * Commented out Imlib2 from configure.ac since it's only partially + implemented. + +2006-11-04 + * Removed broken mldonkey and seti support. + * Added Hellf[i]re's nano syntax coloring script to svn. + +2006-11-03 + * Removed support for Xmms, BMP and Infopipe from conky. + The Xmms and Bmp players are projects are dead and distros such + as Gentoo are slating them for removal. + * Added support for Audacious using new audacious vars. + +2006-10-18 + * Implement WiFi signal level detection on FreeBSD (patch + by Stepan Zastupov) + +2006-10-04 + * Fix buffer overflow in parsing LC_ALL, LC_CTYPE and LANG + environment variables and fix crash for users with locale + name longer than 10 chars (repored by Michael Schwendt) + +2006-09-30 + * --enable-debug added. + * prevent libtool from adding its default CFLAGS + +2006-09-28 + * Use pkg-config instead of xft-config. + * Fix last line bug which had required padding text with extra blank line + to see text on last line. + +2006-09-01 + * Fix type-punning and "differ in signedness" warnings seen with + gcc-4.1 -O2. + +2006-08-27 + * Fix compilation errors when building with --diable-x11; bug #1547164 + +2006-08-12 + * Make configure script print summary info + * Make `conky -v` show compiled-in features + +2006-08-10 + * Added Spock's patches, adding hddtemp, goto and tab variables. + +2006-07-13 + * Added tztime patch to show time in arbitrary time zones (thanks Ram + Yalamanchili) + +2006-06-07 + * Small battery fix (thanks Nexox, sf.net patch 1500014) + * Fixed order of variables/objects in docs (thanks Peter Tarjan) + +2006-05-27 + * Fixed a bug with $font + +2006-05-24 + * Xdamage support for composite and pals + +2006-05-23 + * CPU voltage support via $voltage_mv and $voltage_v (thanks to Peter + Tarjan for the patch) + +2006-05-21 + * SMP support for $freq and $freq_g (thanks to Peter Tarjan for the + patch) + +2006-05-17 + * Fixed issue with graphs not reaching all the way to the borders + (sf.net bug 1470480) + * Cleaned up units + +2006-05-15 + * Conky 1.4.2 released + +2006-05-13 + * GNU Iconv support added, new objects $iconv_start and $iconv_stop + * Added some safety to the threading code + +2006-05-09 + * Changed $font behavior so that the font persists past the next + newline. It can be set back to the default with $font with no args. + (closes bug 1478676 on sf.net) + +2006-05-08 + * Added simple POP3/IMAP mail clients + +2006-04-23 + * Added support for PowerBook batteries + * Fixed broken $if/$else stuff + +2006-04-15 + * Added patch from Peter Tarjan to add support for IBM ACPI + * Added xmms2 patch from Lassi Selander (sf.net patch 1469523) + +2006-04-11 + * Removed sa_restorer crap (may fix some compile errors for some + people) + +2006-04-07 + * Added patch for adt746x fan/cpu speed for kernel >=2.6.12 + +2006-03-30 + * Added patch to support new port monitor REMOTESERVICE peekable. + +2006-03-29 + * Scan port numbers as short. Fixes debian bug# 359974. + +2006-03-25 + * Added XMMS2 patch 1456203 from Lassi Selander + * Added FreeBSD battery patch 1456008 from Petr Holub + +2006-03-21 + * Fixed ${top(_mem)} related code on FreeBSD (with help of Petr + Holub ) + +2006-03-15 + * Removed bmp-infopipe dependency from 1.4.1 and 1.9999 ebuilds for Gentoo + (Gentoo bug# 125226). + * Fixed subversion ebuild for conky1 (1.9999) so it pulls the new trunk + path for conky1. + +2006-03-12 + * FreeBSD cpu info patch + * Conky 1.4.1 released + +2006-03-07 + * Fixed issue where some WM's don't control conky own_window windows. + * Added newly-updated vim file detection and syntax hilighting files to svn. + * Fixed issue with graphs resetting colours (sf.net bug #1420473) + +2006-03-06 + * Fixed battery problems when charged + * MPD code handles broken pipe now, instead of just killing conky + * Switch from CVS to SVN. Thanks SourceForge. + +2006-03-05 + * Added patch to make $cpu stuff work on alpha (thanks Thomas Cort) + http://bugs.gentoo.org/show_bug.cgi?id=122637#c3 + * Stop using override_redirect true -- conky back under WM control + when using 'own_window yes'. + * Fixed texeci breakage when forking to background is on + +2006-02-14 + * Drastically simplified own_window=yes window creation code. + * on_bottom and wm_class_name deprecated (they do nothing) + +2006-02-13 + * Fixed typo bug in portmon code that caused incorrect monitor data + to be displayed. + +2006-02-12 + * Conky 1.4.0 released + +2006-01-27 + * Cleaned up texeci code + +2006-01-26 + * Added freedesktop.org extended window manager hints (EWMH) + for window type NORMAL and state's STICKY/SKIP_PAGER/SKIP_TASKBAR. + Fixes stacking order issues with freedesktop-compliant wm's, + such as XFCE4+. + +2006-01-25 + * Fixed stupid graph code (it still sucks) sf.net bug 1372962 + * Fixed $if_* stuff, sf.net bug 1401338 and 1400854 + * Fixed xmms.c code to load glib 1.2 shared object lib. + +2006-01-11 + * Added xmms version 1 support. + * Added bmp through 0.9.7.1 support. + * Added config item xmms_player: none, xmms, bmp, audacious or + infopipe. + +2006-01-07 + * Added Audacious media player support. + +2006-01-06 + * Fixed infopipe bug (select() affects timer as a side effect on + Linux!) + +2006-01-05 + * Added draw_graph_borders option + * Added XMMS/BMP InfoPipe plugin support + +2006-01-01 + * Conky 1.3.5 released + +2005-12-31 + * Fixed bug with use_xft causing ignorance of font selection (sf.net + bug 1387564) + * Fixed issue with parsing of hex values for colours + +2005-12-30 + * Added BMPx (http://beep-media-player.org/) support + +2005-12-14 + * Fixed issues with execi stuff + +2005-12-10 + * Added sf.net patch 1374576 + +2005-12-05 + * Fixed sf.net bug 1367745 + +2005-11-30 + * Fixed sf.net bugs 1369607, 1367735 and gentoo bug 113921, + all variations of the same array out of bounds issue. + * "Fixed" code in fs.c and conky.c to make fs stats match those displayed by df (affects reporting against ext3 filesystems only) + +2005-11-27 + * new code in linux.c and top.c to calculate CPU % correctly on 2.6 kernels. + +2005-11-24 + * Fixed gentoo bug# 113219 + +2005-11-23 + * Added #define/#undef SIGNAL_BLOCKING in conky.c for experimenting + with synchronous signal processing. set to #undef for previous behavior. + * Use POSIX signal api's, not the ANSI signal(). + +2005-11-22 + * Fixed IP address bug (sf.net bug 1359055) + +2005-11-16 + * Conky 1.3.4 released + +2005-11-12 + * Replaced bitwise copy of tcp_connection_t with function + copy_tcp_connection(). + * Changed call interfaces for get_acpi_fan(), get_acpi_ac_adapter(), + get_freq(), get_freq_dynamic(), get_adt746x_cpu(), get_adt746x_fan(), + eliminating all mallocs. pkovacs. See bug 1355470. + +2005-11-11 + * moved hash sizing code into portmon lib, where it belongs + * More mem leaks fixed. + +2005-11-10 + * Added config items min_port_monitors / min_port_monitor_connections + +2005-11-09 + * Cleaned up top code, bug fixes + * Fixed some memory leaks + +2005-11-08 + * Fix bug# 1351686. Patch by boojit. + * Fixed 1331576 (I think) with bad cpu usage reporting + +2005-11-01 + * Documentation updates for compiling and port monitoring + * Removed cairo stuff (it's useless) + +2005-10-31 + * Added statfs sf.net patch 1344493 + +2005-10-30 + * Added tcp port monitor support (pkovacs) + +2005-10-28 + * Added WM_CLASS patch from sf.net patch 1340825 + +2005-10-21 + * acpi segfault should be fixed (sf.net bug 1330893) + * SIGUSR1 bug fixed? (sf.net bug 1330914) + +2005-10-17 + * Ugly MPD mem leak fixed + * Other mem leaks fixed + * Fixed thing where conky exits if LC_ALL and friends isn't set + * Conky 1.3.3 released + +2005-10-13 + * Conky 1.3.2 released + +2005-10-10 + * More MPD objects (sf.net patch 1319461) + +2005-10-07 + * fixed mldonkey bug? sf.net bug 1316531 + +2005-09-30 + * Linkstatus patch from btlee on f.g.o (see + http://forums.gentoo.org/viewtopic-p-2765647.html#2765647) + +2005-09-29 + * Fixed build on FreeBSD for non-i386 + * Made it so top_mem doesn't show all the forks of one process + +2005-09-27 + * Fixed small bug in config parsing (thanks robgrady, bug 1306032) + +2005-09-24 + * Fixed bug where graphs/bars don't show when maximum_width is enabled + +2005-09-15 + * Fixed right-alignment bug thanks to Pascal Eberhard + * Applied patch 1291420 from sf.net + * Fixed issue with whack graph data + * Fixed issue with Conky quitting when a file fails to load + +2005-09-11 + * Fixed bug with xft and double buffer in own window + * 1.3.1 released + +2005-09-04 + * Misc small bug fixes + +2005-09-03 + * MPD patch (sf.net patch 1281108) + * Fixed graph width bug + +2005-08-31 + * FreeBSD support was added + * 1.3.0 released + +2005-08-27 + * added threaded execi, $texeci + * feature freeze + +2005-08-26 + * Fixed slight vertical misalignment of bars/graphs (sf.net 1273994) + * Diskio fixes (sf.net 1274140) + * $alignr and $alignc now have 25% more goodness! (sf.net bug 1273905) + * Far better SMP support + * Added support for i8k kernel driver, parsing information for dell inspiron laptops found in /proc/i8k (sf.net request 1256058) + +2005-08-25 + * More own_window fixes + * applied disk io patch (sf.net patch 1271691) + * applied $freq fixes patch, adds new $freq_dyn (sf.net patch 1271633) + * removed units from $freq* output + * fix for graph config parsing + * Added $head, fixed mem leak with $tail + +2005-08-24 + * More configure and makefile updates + * Added scale arg for net graphs + * Fixed bug in own_window stuff--amazing fake transparency now works + properly + * added own_window_colour, own_window_transparent + +2005-08-23 + * Added maximum_width + +2005-08-22 + * Added $execibar and $execigraph + +2005-08-21 + * Moved source into src/, moved docs into doc/ + * Updated makefiles + +2005-08-20 + * Applied patch from zimba-tm, closes patch 1260225 + * Fixed ugly gradient bug. closes bug 1255608 + * Added $voffset + * Removed metar code. It sucked. + * Added $acpitempf for amooricans + * $tail fixes + +2005-08-12 + * Multiple unit additions and modifications + +2005-08-07 + * mpd password patch from Joshua Gerrish + * conky can run without X now, use --disable-x11 when configuring +========================================================================= +========================================================================= +2005-08-06 + * Conky 1.2 released + +2005-08-05 + * small fixes + * added CVS ebuild, huge thanks to Hopeless for this + +2005-08-04 + * special thanks to Citizen_X and his patience + * Citizen_X pwns + * keep shakin' those big 'ol titties + * Citizen_X + * Citizen_X + * Citizen_X + * Citizen_X + +2005-08-03 + * many small fixes, thanks to those who reported problems + +2005-08-02 + * dramatically improved how conky handles fonts + * fixed issues with graph args + * fixed shades and outlines + +2005-08-01 + * stabilized code + * added gradients to graphs (very pretty) + * things + * added $font, yay + * feature freeze; only bugfixes now + +2005-07-30 + * finalized graphing code, see $cpugraph, $memgraph, $execgraph, + $downspeedgraph, and $upspeedgraph + * added override_utf8_locale option + * poop + * $tab patch from jack_mort on f.g.o + +2005-07-28 + * Added new graphing code, such as $cpugraph + * small fixes all round + * stuff + * things + * added more mpd objects + +2005-07-24 + * Conky now has UTF-8 support + * Fixed $freq for those with CPU scaling + * Fixed the problem with total_run_times + * Fixed alignment of bars and lines and stuff + * Reduced conky's memory usage (yay!) + * Removed top_sort_cpu, added top_mem which sorts by mem usage instead + of cpu + +2005-07-17 + * Fixed a pile of bugs in configure script + * Added proper checking for headers in configure script + * Made METAR shit threaded so it would stop being retarded, also made + it try more then once to update + * Added $metar_tempf and ${i2c tempf} for americans + +2005-07-16 + * Added option for Conky to update N times and quit, see + total_run_times in conkyrc.sample + * Added metar code for weather info, thanks to somebody on sf.net + * Added $alignr and $alignc for right and centre alignment + * Added wireless info and IP addr patch, thanks Bobby Beckmann, + options $addr and $linkstatus (please test!), as well as fixed a mem + leak in this patch + * adt746x fix, thanks to dan-h on sf.net + * Added mldonkey support patch, thanks Lucas Brutschy on sf.net + * Added patch to allow hex colour values, thanks roiban adi on sf.net + * Added if constructs patch, thanks Lucas Brutschy on sf.net + * Fixed bug in tab code (hopefully for the last time) + * Added option to sort by cpu or memory for top, see top_sort_cpu + +2005-07-12 + * Added fix for battery charged state (thanks to Lukas Zapletal + ) + +========================================================================= +========================================================================= + +2005-07-05 + * Conky 1.1 released + +2005-07-03 + * Added $mpd_bar and $mpd_bitrate + * Some minor code cleanups prior to release + * Fixed problem with Conky not compiling when XFT disabled + * Fixed configure.in problems with Xdbe + +2005-07-01 + * Fixed memory leak in MPD code + * Added new $tail object (see conkyrc.sample) which loves to suck CPU + and memory + * Fixed more mem leaks + +2005-06-30 + * Added use_spacer to config + * Added $mpd_status + * Added small fix for i2c from Filedil on forums.gentoo.org + +2005-06-28 + * Made it possible to use tabs to right-justify (just add a bunch) + * Added ${execbar} (see conkyrc.sample) + +2005-06-26 + * Added memory % to top output + * Added initial cairo backend (it's really quite useless at this stage actually, and I'm not sure if there is even any point to it) + +2005-06-25 + * Conky now recognizes the tab character correctly + * Added simple config option to print to stdout (out_to_console + ) + +2005-06-23 + * Added top output. Check the sample config. + * Cleaned up code. + +2005-06-22 + * Finished MPD support ($mpd_title, $mpd_artist, $mpd_album, $mpd_vol) + * Removed NVCtrl code + * Added noswap and i2c patches + +========================================================================= +========================================================================= + +2005-06-21 + * Version 1.0. Conky is born from the ashes of torsmo. Main site: + http://conky.sf.net/ + * Added xwin patch + * Added new feature for sample averaging of CPU and net info + +2004-12-22 + * Version 0.18 released + +2004-12-21 + * Fixed some double buffer + Xft stuff + * Applied X-Mozilla-Status patch (thanks affinity) + * Applied NVCtrl patch and modified it a bit (temperature monitoring + for nvdia-based graphics cards) (I couldn't test this so it may or + may not work or even compile) (thanks Dennis Frommknecht) + * Applied fs_used_perc and fs_bar_free patch (thanks killfire [send me + mail, I didn't catch your name from sourceforge]) + * Applied patch that supports mailbox that is in some 'maildir' format + (thanks jolapache [send mail, I didn't catch your name from + sourceforge]) + * min -> m + * Applied pad_percents patch (thanks JL Farinacci) + * Fixed some stuff in acpi fan and acpi ac adapter + * Optional XFT even when compiled in + +2004-11-30 + * Applied utime patch (UTC time) (thanks David McCabe) + +2004-11-29 + * Applied Xdbe patch, this includes double_buffer configuration and + -b command line option (thanks Bruce Merry) + * Applied some other seti patch, not tested (thanks William DiPlacido) + +2004-08-25 + * Applied netbsd patch (thanks Rui Paulo) + * Applied cpu frequency patch (thanks William DiPlacido) + * Applied adt746x patch (thanks Dennis Kaandorp) + * Applied some other FreeBSD patch by the same guy + +2004-07-31 + * Applied FreeBSD patch (thanks Roman Bogorodskiy) + +2004-07-25 + * Xft support and xftfont configuration + * rewrote some stuff, there might be some new bugs in old places + +2004-07-24 + * I2C divisor from a file (thanks Falk Feuersenger) + +2004-07-20 + * changed battery thing to ${battery } + * SETI@Home stuff (thanks Jarski) + +2004-07-05 + * changed signal for config file reloading to SIGUSR1 + * mixer stuff, $mixer, $mixerl, $mixerr, $mixerbar, $mixerlbar, + $mixerrbar + +2004-06-03 + * maybe fixed acpi battery thing when "present rate" isn't known + +2004-06-01 + * fixed width for all bars, use like ${cpubar 4,50} + +2004-05-25 + * Version 0.17 released + +2004-05-23 + * battery number for ACPI battery (thanks Leszek Krupiñski) + * default battery is now BAT0 instead of BAT1, set ${battery 1} if + the old battery thing worked + * bug fix on load average reporting (thanks Leszek Krupiñski) + * outlines to text, draw_outline and default_outline_color + configurations and $outlinecolor (thanks adi) + * $acpifan, $acpiacadapter, $uptime_short (thanks adi) + +2004-05-19 + * fixed a bug when starting after Opera (and some other programs) + * sticky window + * minimum_size + +2004-05-18 + * added border_width configuration + +2004-05-16 + * fixed zero length bar bug + +2004-05-15 + * file system stats, $fs_bar, $fs_free, $fs_free_perc, $fs_size, + $fs_used + * leaves ACPI temperature file open (faster) + * -a option to change alignment on command line + +2004-05-14 + * fixed ACPI temperature bug + * border_margin configuration + * ${execi }, execute with specific interval + * added possibility to manually set the position (-x and -y options) + (thanks to Gwenhael LE MOINE) + * $buffers and $cached (thanks to Jeremy Burch) + * WM_CLASS when drawing to own window (thanks to Gwenhael LE MOINE) + +2004-05-14 + * Version 0.16 released + +2004-05-13 + * $pre_exec, execute a shell command one time + * preparsing of text (faster but more memory usage) + * less system calls (faster) + * APM things to $battery (untested) + +2004-05-12 + * added $new_mails changed $mails to tell total mail count + +2004-05-11 + * transparent window, own_window configuration, -o cmdline option + * $exec, execute a shell command + * $acpitemp, $battery - acpi stuff (not really tested) + +2004-05-10 + * $loadavg, load average + * $mails, unread local mails, mail_spool configuration + +2004-05-09 + * Version 0.15 released + +2004-05-06 + * SIGHUP reloads config file (thanks Jørgen P. Tjernø) + * Some other stuff diff --git a/conky1/Conky.kdevelop b/conky1/Conky.kdevelop new file mode 100644 index 00000000..f35c35e3 --- /dev/null +++ b/conky1/Conky.kdevelop @@ -0,0 +1,244 @@ + + + + Brenden Matthews + brenden@rty.ca + $VERSION$ + KDevAutoProject + C + + . + false + + + + + + conky + debug + + + conky + build + / + + false + true + + + + + + + + optimized + kdevgccoptions + kdevgppoptions + kdevpgf77options + -fomit-frame-pointer -O2 -fexceptions + + --prefix=/usr --enable-mpd --enable-xft --enable-seti --enable-double-buffer --enable-own-window --enable-metar --enable-mldonkey + + + + + + + + + + + --enable-debug=full --prefix=/usr --enable-mpd --enable-xft --enable-seti --enable-double-buffer --enable-own-window --enable-metar --enable-mldonkey --enable-x11 + debug + kdevgccoptions + kdevgppoptions + kdevpgf77options + -O2 -Wall -fexceptions -fomit-frame-pointer -fshort-enums -ggdb + + + + + + + + + + + + + --enable-debug=full --prefix=/usr --enable-mpd --enable-xft --enable-seti --enable-double-buffer --enable-own-window --enable-metar --enable-mldonkey --disable-x11 --without-x + debug-no-x + + + + kdevgccoptions + kdevgppoptions + kdevpgf77options + + + + -O2 -Wall -fexceptions -fomit-frame-pointer -fshort-enums -ggdb + + + + + + + + + + true + 1 + false + + 0 + + + + + /usr/bin/libtool + + /usr/bin/ + + + + true + false + false + + + false + true + 10 + + + + + ada + ada_bugs_gcc + bash + bash_bugs + clanlib + fortran_bugs_gcc + gnome1 + gnustep + gtk + gtk_bugs + haskell + haskell_bugs_ghc + java_bugs_gcc + java_bugs_sun + kde2book + libstdc++ + opengl + pascal_bugs_fp + php + php_bugs + perl + perl_bugs + python + python_bugs + qt-kdev3 + ruby + ruby_bugs + sdl + stl + sw + w3c-dom-level2-html + w3c-svg + w3c-uaag10 + wxwidgets_bugs + + + Guide to the Qt Translation Tools + Qt Assistant Manual + Qt Designer Manual + Qt Reference Documentation + qmake User Guide + + + KDE Libraries (Doxygen) + + + + + + + + + + + + + true + true + true + false + true + true + true + 250 + 400 + 250 + + + + set + m_,_ + theValue + true + true + + + + + false + false + + + *.o,*.lo,CVS + false + + + + + .h + .cpp + + + + + + + + + + + + + + + false + false + + Conky.kdevelop + $VERSION$ + + + + + + + + + false + false + false + 0 + false + false + false + false + + + diff --git a/conky1/INSTALL b/conky1/INSTALL new file mode 100644 index 00000000..f420f3e2 --- /dev/null +++ b/conky1/INSTALL @@ -0,0 +1,184 @@ +Basic Installation +================== + + These are generic installation instructions. + + NOTE: If you use Gentoo, see the README about using the included ebuild. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. diff --git a/conky1/LICENSE.BSD b/conky1/LICENSE.BSD new file mode 100644 index 00000000..4b3ee344 --- /dev/null +++ b/conky1/LICENSE.BSD @@ -0,0 +1,27 @@ +Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen +Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * Neither the name of the nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/conky1/LICENSE.GPL b/conky1/LICENSE.GPL new file mode 100644 index 00000000..94a9ed02 --- /dev/null +++ b/conky1/LICENSE.GPL @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/conky1/Makefile.am b/conky1/Makefile.am new file mode 100644 index 00000000..9c166124 --- /dev/null +++ b/conky1/Makefile.am @@ -0,0 +1,25 @@ +SUBDIRS = \ + src \ + doc + +AUTOMAKE_OPTIONS = \ + 1.8 \ + dist-bzip2 + +EXTRA_DIST = \ + autogen.sh \ + configure.ac.in \ + config.rpath \ + extras/nano/README \ + extras/nano/conky.nanorc \ + extras/vim/README \ + extras/vim/ftdetect/conkyrc.vim \ + extras/vim/syntax/conkyrc.vim + +DISTCLEANFILES = \ + configure.ac + +distclean-local: + /bin/rm -rf *.cache *~ + +# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: diff --git a/conky1/NEWS b/conky1/NEWS new file mode 100644 index 00000000..9b5dc4b4 --- /dev/null +++ b/conky1/NEWS @@ -0,0 +1,97 @@ +Summary of changes for Conky release 1.4.5: +------------------------------------------- +Added config items: +- max_specials +- max_port_monitor_connections + +Removed config items: +- min_port_monitors +- min_port_monitor_connections + +Added variables: +- entropy_avail +- entropy_poolsize +- entropy_bar + +Added length specifier to audacious_title. + +Split battery var into: +- battery and battery_time + +Fixed broken texeci variable. +Fixed build error with --disable-x11. +Fixed build error with --disable-xdamage. +Fixed acpi battery issues. +Fixed mem var overflows when >= 4GB. +Close pop3/imap sockets properly. +Improved internal thread handling. +Converted tcp_portmon internal hash to GLib +for GPL compatibility. + + +Summary of changes for Conky release 1.4.4: +------------------------------------------- +* fix build error for freebsd. +* fix BadWindow errors when using own_window_type override or desktop. +* minor documentation updates +* minor wifi code changes for freebsd. + + +Summary of changes for Conky release 1.4.3: +------------------------------------------- + +* Removed support for dead projects: Xmms 1, Beep Media Player (BMP) and the Infopipe plugin. + - Removed the following related configuration items: + - xmms_player + - Removed the following related variables: + - xmms_bar + - xmms_bitrate + - xmms_channels + - xmms_filename + - xmms_frequency + - xmms_length + - xmms_length_seconds + - xmms_playlist_position + - xmms_playlist_length + - xmms_position + - xmms_position_seconds + - xmms_status + - xmms_title + +* Removed configuration item: + - on_bottom: please use 'own_window_hints below' instead. + +* Added support for Audacious music player: http://audacious-media-player.org + - Added the following related variables: + - audacious_bar + - audacious_bitrate + - audacious_channels + - audacious_filename + - audacious_frequency + - audacious_length + - audacious_length_seconds + - audacious_playlist_position + - audacious_playlist_length + - audacious_position + - audacious_position_seconds + - audacious_status + - audacious_title + +* Added new configuration item: + - max_user_text [default: 16384]: specifies the maximum buffer size for user text + in the .conkyrc file. Useful for people with enormous config files who were running + up against the hard-coded default of 8192 bytes. + +* Added new variables: + - tztime: Local time for specified timezone + - hddtemp: interface to hddtemp hard disk temp monitor: http://www.guzu.net/linux/hddtemp.php + - goto and tab: additional alignment control + - voltage_mv and voltage_v: CPU voltages + +* Other changes: + - added SMP support for $freq and $freq_g + - added WiFi signal level detection on FreeBSD + - added Xdamage support for X11 + - added verbose configuration information to conky -v + - added extras directory to tarball with nano and vim syntax coloring scripts. + - fixed as many bugs as we could :] diff --git a/conky1/README b/conky1/README new file mode 100644 index 00000000..15feb9d1 --- /dev/null +++ b/conky1/README @@ -0,0 +1,1399 @@ +conky(1) conky(1) + + + +NAME + conky - A system monitor for X originally based on the torsmo code, but + more kickass. It just keeps on given'er. Yeah. + +SYNOPSIS + conky [options] + +DESCRIPTION + Conky is a system monitor for X originally based on the torsmo code. + Since it's original conception, Conky has changed a fair bit from it's + predecessor. Conky can display just about anything, either on your + root desktop or in it's own window. Conky has many built-in objects, + as well as the ability to execute programs and scripts, then display + the output from stdout. + + We are always looking for help, and anyone interested in becoming a de- + veloper is welcome. Please use the facilities at SourceForge to make + bug reports, feature requests, and submit patches. + + Thanks for your interest in Conky. + +COMPILING + For users compiling from source, make sure you have the X development + libraries installed. This should be a package along the lines of + "libx11-dev or xorg-x11-dev". + + Gentoo users -- Conky is in Gentoo's Portage... simply use "emerge app- + admin/conky" for installation. There is also usually an up-to-date + ebuild within Conky's package or in Svn. + + Debian,etc. users -- Conky will be in Debian's repositories soon (by + mid-September, hopefully), and then Ubuntu shortly thereafter. Until + then, "dpkg -i" the .deb package to install. + + Example to compile and run Conky with all optional components (note + that some configure options may differ for your system): + + sh autogen.sh # Only required if building from Svn + + ./configure --prefix=/usr --mandir=/usr/share/man --in- + fodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --local- + statedir=/var/lib --disable-own-window --enable-audacious --enable-bmpx + --disable-hddtemp --disable-mpd --enable-xmms2 --disable-portmon --dis- + able-network --enable-debug --disable-x11 --disable-double-buffer + --disable-xdamage --disable-xft + + make + + make install # Optional + + src/conky + + Conky probably doesn't compile with compilers other than gcc and icc. + It doesn't compile with C89 compiler and not even with pure C99. It + uses a few things that might not exist: strdup(), strcasecmp(), strn- + casecmp(), optarg variable with getopt() and long long (not in C89). + Crashes in file system statistics stuff when compiled with icc, I don't + know exactly why. + + You can disable 'drawing to own window' feature in case you don't need + it by passing --disable-own-window to configure -script. + + +YOU SHOULD KNOW + Conky is generally very good on resources. However, certain objects in + Conky are harder on resources then others. In particular, the $tail, + $top, $font, and $graph objects are quite costly in comparison to the + rest of Conky. + + If you do use them, please do not complain about memory or CPU usage, + unless you think something's seriously wrong (mem leak, etc.). + + An easy way to force Conky to reload your ~/.conkyrc: "killall -SIGUSR1 + conky". Saves you the trouble of having to kill and then restart. + + IMPORTANT: For previous Conky users, Conky 1.3 no longer supports the + metar stuff. mdsplib was causing way too many problems. Hopefully + there'll be a better solution in Conky 2.x... + +OPTIONS + Command line options override configurations defined in configuration + file. + + -v | -V + Prints version and exits + + + -a ALIGNMENT + Text alignment on screen, {top,bottom}_{left,right} or none + + + -b Use double buffering (eliminates "flicker") + + + -c FILE + Config file to load instead of $HOME/.conkyrc + + + -d Daemonize Conky, aka fork to background + + + -f FONT + Font to use + + + -h Prints command line help and exits + + + -o Create own window to draw + + + -t TEXT + Text to render, remember single quotes, like -t ' $uptime ' + + + -u SECONDS + Update interval + + + -w WIN_ID + Window id to draw + + + -x X_COORDINATE + X position + + + -y Y_COORDINATE + Y position + + +CONFIGURATION SETTINGS + Default configuration file is $HOME/.conkyrc (can be changed from + conky.c among other things). See conkyrc.sample. If installing from De- + bian package, this should be in /usr/share/doc/conky/examples ("gunzip + conkyrc.sample.gz" to get conkyrc.sample). + + You might want to copy it to $HOME/.conkyrc and then start modifying + it. Other configs can be found at http://conky.sf.net + + alignment + Aligned position on screen, may be top_left, top_right, bot- + tom_left, bottom_right, or none + + + background + Boolean value, if true, Conky will be forked to background when + started + + + border_margin + Border margin in pixels + + + border_width + Border width in pixels + + + color0 A color variable for use inside TEXT segments + + + color1 A color variable for use inside TEXT segments + + + color2 A color variable for use inside TEXT segments + + + color3 A color variable for use inside TEXT segments + + + color4 A color variable for use inside TEXT segments + + + color5 A color variable for use inside TEXT segments + + + color6 A color variable for use inside TEXT segments + + + color7 A color variable for use inside TEXT segments + + + color8 A color variable for use inside TEXT segments + + + color9 A color variable for use inside TEXT segments + + + cpu_avg_samples + The number of samples to average for CPU monitoring + + + default_color + Default color and border color + + + default_outline_color + Default outline color + + + default_shade_color + Default shading color and border's shading color + + + double_buffer + Use the Xdbe extension? (eliminates flicker) It is highly recom- + mended to use own window with this one so double buffer won't be + so big. + + + draw_borders + Draw borders around text? + + + draw_graph_borders + Draw borders around graphs? + + + draw_outline + Draw outlines? + + + draw_shades + Draw shades? + + + font Font name in X, xfontsel can be used to get a nice font + + + gap_x Gap, in pixels, between right or left border of screen, same as + passing -x at command line, e.g. gap_x 10 + + + gap_y Gap, in pixels, between top or bottom border of screen, same as + passing -y at command line, e.g. gap_y 10. + + + imap Default global IMAP server. Arguments are: "host user pass [-i + interval] [-f folder] [-p port] [-e command]". Default port is + 143, default folder is 'INBOX', default interval is 5 minutes. + If the password is supplied as '*', you will be prompted to en- + ter the password when Conky starts. + + + mail_spool + Mail spool for mail checking + + + max_port_monitor_connections + Allow each port monitor to track at most this many connections + (if 0 or not set, default is 256) + + + max_specials + Maximum number of special things, e.g. fonts, offsets, aligns, + etc. (default is 512) + + + max_user_text bytes + Maximum size of user text buffer, i.e. layout below TEXT line in + config file (default is 16384 bytes) + + + text_buffer_size bytes + Size of the standard text buffer (default is 1280 bytes). + + + maximum_width pixels + Maximum width of window + + + minimum_size width (height) + Minimum size of window + + + mpd_host + Host of MPD server + + + mpd_port + Port of MPD server + + + mpd_password + MPD server password + + + net_avg_samples + The number of samples to average for net data + + + no_buffers + Substract (file system) buffers from used memory? + + + override_utf8_locale + Force UTF8? requires XFT + + + own_window + Boolean, create own window to draw? + + + own_window_class + Manually set the WM_CLASS name. Defaults to "Conky". + + + own_window_colour colour + If own_window_transparent no, set a specified background colour + (defaults to black). Takes either a hex value (#ffffff) or a + valid RGB name (see /usr/lib/X11/rgb.txt) + + + own_window_hints undecorated,below,above,sticky,skip_taskbar,skip_pager + If own_window is yes, you may use these window manager hints to + affect the way Conky displays. Notes: Use own_window_type desk- + top as another way to implement many of these hints implicitly. + If you use own_window_type override, window manager hints have + no meaning and are ignored. + + + own_window_title + Manually set the window name. Defaults to " - conky". + + + own_window_transparent + Boolean, set pseudo-transparency? + + + own_window_type + if own_window is yes, you may specify type normal, desktop or + override (default: normal). Desktop windows are special windows + that have no window decorations; are always visible on your + desktop; do not appear in your pager or taskbar; and are sticky + across all workspaces. Override windows are not under the con- + trol of the window manager. Hints are ignored. This type of win- + dow can be useful for certain situations. + + + out_to_console + Print text to stdout. + + + pad_percents + Pad percentages to this many decimals (0 = no padding) + + + pop3 Default global POP3 server. Arguments are: "host user pass [-i + interval] [-p port] [-e command]". Default port is 110, default + interval is 5 minutes. If the password is supplied as '*', you + will be prompted to enter the password when Conky starts. + + + stippled_borders + Border stippling (dashing) in pixels + + + total_run_times + Total number of times for Conky to update before quitting. Zero + makes Conky run forever + + + update_interval + Update interval in seconds + + + uppercase + Boolean value, if true, text is rendered in upper case + + + use_spacer + Adds spaces after certain objects to stop them from moving other + things around. Note that this only helps if you are using a mono + font, such as Bitstream Vera Sans Mono. + + + use_xft + Use Xft (anti-aliased font and stuff) + + + xftalpha + Alpha of Xft font. Must be a value at or between 1 and 0. + + + xftfont + Xft font to use. + + + TEXT After this begins text to be formatted on screen + + +VARIABLES + Colors are parsed using XParsecolor(), there might be a list of them: + /usr/X11R6/lib/X11/rgb.txt. Also, . + Color can be also in #rrggbb format (hex). Note that when displaying + bytes, power is 1024 and not 1000 so 1M really means 1024*1024 bytes + and not 1000*1000. + + addr interface + IP address for an interface + + + acpiacadapter + ACPI ac adapter state. + + + acpifan + ACPI fan state + + + acpitemp + ACPI temperature in C. + + + acpitempf + ACPI temperature in F. + + + adt746xcpu + CPU temperature from therm_adt746x + + + adt746xfan + Fan speed from therm_adt746x + + + alignr (num) + Right-justify text, with space of N + + + alignc (num) + Align text to centre + + + apm_adapter + Display APM AC adapter status (FreeBSD only) + + + apm_battery_life + Display APM battery life in percent (FreeBSD only) + + + apm_battery_time + Display remaining APM battery life in hh:mm:ss or "unknown" if + AC adapterstatus is on-line or charging (FreeBSD only) + + + audacious_bar (height),(width) + Progress bar + + + audacious_bitrate + Bitrate of current tune + + + audacious_channels + Number of audio channels of current tune + + + audacious_filename + Full path and filename of current tune + + + audacious_frequency + Sampling frequency of current tune + + + audacious_length + Total length of current tune as MM:SS + + + audacious_length_seconds + Total length of current tune in seconds + + + audacious_playlist_position + Playlist position of current tune + + + audacious_playlist_length + Number of tunes in playlist + + + audacious_position + Position of current tune (MM:SS) + + + audacious_position_seconds + Position of current tune in seconds + + + audacious_status + Player status (Playing/Paused/Stopped/Not running) + + + audacious_title (max length) + Title of current tune with optional maximum length specifier + + + battery (num) + Battery status and remaining percentage capacity of ACPI or APM + battery. ACPI battery number can be given as argument (default + is BAT0). + + + battery_bar (height),(width) (num) + Battery percentage remaining of ACPI battery in a bar. ACPI bat- + tery number can be given as argument (default is BAT0). + + + battery_percent (num) + Battery percentage remaining for ACPI battery. ACPI battery num- + ber can be given as argument (default is BAT0). + + + battery_time (num) + Battery charge/discharge time remaining of ACPI battery. ACPI + battery number can be given as argument (default is BAT0). + + + bmpx_artist + Artist in current BMPx track + + + bmpx_album + Album in current BMPx track + + + bmpx_title + Title of the current BMPx track + + + bmpx_track + Track number of the current BMPx track + + + bmpx_bitrate + Bitrate of the current BMPx track + + + bmpx_uri + URI of the current BMPx track + + + buffers + Amount of memory buffered + + + cached Amount of memory cached + + + color (color) + Change drawing color to color + + + color0 Change drawing color to color0 configuration option + + + color1 Change drawing color to color1 configuration option + + + color2 Change drawing color to color2 configuration option + + + color3 Change drawing color to color3 configuration option + + + color4 Change drawing color to color4 configuration option + + + color5 Change drawing color to color5 configuration option + + + color6 Change drawing color to color6 configuration option + + + color7 Change drawing color to color7 configuration option + + + color8 Change drawing color to color8 configuration option + + + color9 Change drawing color to color9 configuration option + + + cpu (cpuN) + CPU usage in percents. For SMP machines, the CPU number can be + provided as an argument. ${cpu cpu0} is the total usage, and + ${cpu cpuX} (X >= 1) are individual CPUs. + + + cpubar (cpu number) (height),(width) + Bar that shows CPU usage, height is bar's height in pixels. See + $cpu for more info on SMP. + + + cpugraph (cpu number) (height),(width) (gradient colour 1) (gradient + colour 2) + CPU usage graph, with optional colours in hex, minus the #. See + $cpu for more info on SMP. + + + diskio Displays current disk IO. + + + diskiograph (height),(width) (gradient colour 1) (gradient colour 2) + (scale) + Disk IO graph, colours defined in hex, minus the #. If scale is + non-zero, it becomes the scale for the graph. + + + diskio_read + Displays current disk IO for reads. + + + diskio_readgraph (height),(width) (gradient colour 1) (gradient colour + 2) (scale) + Disk IO graph for reads, colours defined in hex, minus the #. If + scale is non-zero, it becomes the scale for the graph. + + + diskio_write + Displays current disk IO for writes. + + + diskio_writegraph (height),(width) (gradient colour 1) (gradient colour + 2) (scale) + Disk IO graph for writes, colours defined in hex, minus the #. + If scale is non-zero, it becomes the scale for the graph. + + + downspeed net + Download speed in kilobytes + + + downspeedf net + Download speed in kilobytes with one decimal + + + downspeedgraph net (height),(width) (gradient colour 1) (gradient + colour 2) (scale) + Download speed graph, colours defined in hex, minus the #. If + scale is non-zero, it becomes the scale for the graph. + + + else Text to show if any of the above are not true + + + entropy_avail + Current entropy available for crypto freaks + + + entropy_bar (height),(width) + Normalized bar of available entropy for crypto freaks + + + entropy_poolsize + Total size of system entropy pool for crypto freaks + + + exec command + Executes a shell command and displays the output in conky. warn- + ing: this takes a lot more resources than other variables. I'd + recommend coding wanted behaviour in C and posting a patch. + + + execbar command + Same as exec, except if the first value return is a value be- + tween 0-100, it will use that number for a bar. The size for the + bar is currently fixed, but that may change in the future. + + + execgraph command + Same as execbar, but graphs values. + + + execi interval command + Same as exec but with specific interval. Interval can't be less + than update_interval in configuration. See also $texeci + + + execibar interval command + Same as execbar, except with an interval + + + execigraph interval command + Same as execigraph, but takes an interval arg graphs values + + + font (font) + Specify a different font. This new font will apply to the cur- + rent line and everything following. You can use a $font with no + arguments to change back to the default font (much like with + $color) + + + freq (n) + Returns CPU #n's frequency in MHz. CPUs are counted from 1. If + omitted, the parameter defaults to 1. + + + freq_g (n) + Returns CPU #n's frequency in GHz. CPUs are counted from 1. If + omitted, the parameter defaults to 1. + + + freq_dyn + Returns CPU frequency in MHz, but is calculated by counting to + clock cycles to complete an instruction. Only available for + x86/amd64. + + + freq_dyn_g + Returns CPU frequency in GHz, but is calculated by counting to + clock cycles to complete an instruction. Only available for + x86/amd64. + + + fs_bar (height),(width) fs + Bar that shows how much space is used on a file system. height + is the height in pixels. fs is any file on that file system. + + + fs_free (fs) + Free space on a file system available for users. + + + fs_free_perc (fs) + Free percentage of space on a file system available for users. + + + fs_size (fs) + File system size + + + fs_used (fs) + File system used space + + + goto x The next element will be printed at position 'x'. + + + hddtemp dev, (host,(port)) + Displays temperature of a selected hard disk drive as reported + by the hddtemp daemon running on host:port. Default host is + 127.0.0.1, default port is 7634. + + + head logfile lines (interval) + Displays first N lines of supplied text text file. If interval + is not supplied, Conky assumes 2x Conky's interval. Max of 30 + lines can be displayed, or until the text buffer is filled. + + + hr (height) + Horizontal line, height is the height in pixels + + + hwmon N sensor number input + This has the ability to display the contents of hwmon files lo- + cated under "/sys/class/hwmon/hwmonX/device/N". For example, use + ${hwmon 0 temp 1 input} to read the temperature of the CPU (in + oC) from "/sys/class/hwmon/hwmon0/device/temp1_input". If the + sensor name equals "temp", then the value read will be divided + by 1000, otherwise the number will be used unchanged. The factor + 1000 is just for the Abit uGuru sensor. + + + iconv_start codeset_from codeset_to + Convert text from one codeset to another using GNU iconv. Needs + to be stopped with iconv_stop. + + + iconv_stop + Stop iconv codeset conversion. + + + i2c (dev) type n + I2C sensor from sysfs (Linux 2.6). dev may be omitted if you + have only one I2C device. type is either in (or vol) meaning + voltage, fan meaning fan or temp/tempf (first in C, second in F) + meaning temperature. n is number of the sensor. See + /sys/bus/i2c/devices/ on your local computer. + + + i8k_ac_status + If running the i8k kernel driver for Inspiron laptops, displays + whether ac power is on, as listed in /proc/i8k (translated to + human-readable). Beware that this is by default not enabled by + i8k itself. + + + i8k_bios + If running the i8k kernel driver for Inspiron laptops, displays + the bios version as listed in /proc/i8k. + + + i8k_buttons_status + If running the i8k kernel driver for Inspiron laptops, displays + the volume buttons status as listed in /proc/i8k. + + + i8k_cpu_temp + If running the i8k kernel driver for Inspiron laptops, displays + the cpu temperature in Celsius, as reported by /proc/i8k. + + + i8k_cpu_tempf + If running the i8k kernel driver for Inspiron laptops, displays + the cpu temperature in Fahrenheit, as reported by /proc/i8k. + + + i8k_left_fan_rpm + If running the i8k kernel driver for Inspiron laptops, displays + the left fan's rate of rotation, in revolutions per minute as + listed in /proc/i8k. Beware, some laptops i8k reports these fans + in reverse order. + + + i8k_left_fan_status + If running the i8k kernel driver for Inspiron laptops, displays + the left fan status as listed in /proc/i8k (translated to human- + readable). Beware, some laptops i8k reports these fans in re- + verse order. + + + i8k_right_fan_rpm + If running the i8k kernel driver for Inspiron laptops, displays + the right fan's rate of rotation, in revolutions per minute as + listed in /proc/i8k. Beware, some laptops i8k reports these fans + in reverse order. + + + i8k_right_fan_status + If running the i8k kernel driver for Inspiron laptops, displays + the right fan status as listed in /proc/i8k (translated to hu- + man-readable). Beware, some laptops i8k reports these fans in + reverse order. + + + i8k_serial + If running the i8k kernel driver for Inspiron laptops, displays + your laptop serial number as listed in /proc/i8k. + + + i8k_version + If running the i8k kernel driver for Inspiron laptops, displays + the version formatting of /proc/i8k. + + + ibm_fan + If running the IBM ACPI, displays the fan speed. + + + ibm_temps N + If running the IBM ACPI, displays the temperatures from the IBM + temperature sensors (N=0..7) Sensor 0 is on the CPU, 3 is on the + GPU. + + + ibm_volume + If running the IBM ACPI, displays the "master" volume, con- + trolled by the volume keys (0-14). + + + ibm_brightness + If running the IBM ACPI, displays the brigtness of the laptops's + LCD (0-7). + + + if_empty (var) + if conky variable VAR is empty, display everything between + $if_empty and the matching $endif + + + if_running (process) + if PROCESS is running, display everything $if_running and the + matching $endif + + + if_existing file (string) + if FILE exists, display everything between if_existing and the + matching $endif. The optional second paramater checks for FILE + containing the specified string and prints everything between + $if_existing and the matching $endif. + + + if_mounted (mountpoint) + if MOUNTPOINT is mounted, display everything between $if_mounted + and the matching $endif + + + imap_messages (args) + Displays the number of messages in your global IMAP inbox by de- + fault. You can define individual IMAP inboxes seperately by + passing arguments to this object. Arguments are: "host user pass + [-i interval] [-p port] [-e command]". Default port is 143, de- + fault interval is 5 minutes. If the password is supplied as '*', + you will be prompted to enter the password when Conky starts. + + + imap_unseen (args) + Displays the number of unseen messages in your global IMAP inbox + by default. You can define individual IMAP inboxes seperately by + passing arguments to this object. Arguments are: "host user pass + [-i interval] [-p port] [-e command]". Default port is 143, de- + fault interval is 5 minutes. If the password is supplied as '*', + you will be prompted to enter the password when Conky starts. + + + kernel Kernel version + + + loadavg + (1,2,3)> System load average, 1 is for past 1 minute, 2 for past + 5 minutes and 3 for past 15 minutes. + + + machine + Machine, i686 for example + + + mails Mail count in mail spool. You can use program like fetchmail to + get mails from some server using your favourite protocol. See + also new_mails. + + + mboxscan (-n number of messages to print) (-fw from width) (-sw subject + width) mbox + Print a summary of recent messages in an mbox format mailbox. + mbox parameter is the filename of the mailbox (can be encapsu- + lated using '"', ie. ${mboxscan -n 10 "/home/brenden/some box"} + + + mem Amount of memory in use + + + membar (height),(width) + Bar that shows amount of memory in use + + + memmax Total amount of memory + + + memperc + Percentage of memory in use + + + mpd_artist + Artist in current MPD song must be enabled at compile + + + mpd_album + Album in current MPD song + + + mpd_bar (height),(width) + Bar of mpd's progress + + + mpd_bitrate + Bitrate of current song + + + mpd_status + Playing, stopped, et cetera. + + + mpd_title (max length) + Title of current MPD song + + + mpd_vol + MPD's volume + + + mpd_elapsed + Song's elapsed time + + + mpd_length + Song's length + + + mpd_percent + Percent of song's progress + + + mpd_random + Random status (On/Off) + + + mpd_repeat + Repeat status (On/Off) + + + mpd_track + Prints the MPD track field + + + mpd_name + Prints the MPD name field + + + mpd_file + Prints the file name of the current MPD song + + + mpd_smart + Prints the song name in either the form "artist - title" or file + name, depending on whats available + + + new_mails + Unread mail count in mail spool. + + + nodename + Hostname + + + outlinecolor (color) + Change outline color + + + pb_battery item + If running on Apple powerbook/ibook, display information on bat- + tery status. The item parameter specifies, what information to + display. Exactly one item must be specified. Valid items are: + + status: Display if battery is fully charged, charging, discharg- + ing or absent (running on AC) + percent: Display charge of battery in percent, if charging or + discharging. Nothing will be displayed, if battery is fully + charged or absent. + time: Display the time remaining until the battery will be fully + charged or discharged at current rate. Nothing is displayed, if + battery is absent or if it's present but fully charged and not + discharging. + + + platform (dev) type n + Platform sensor from sysfs (Linux 2.6). dev may be omitted if + you have only one platform device. type is either in (or vol) + meaning voltage, fan meaning fan or temp/tempf (first in C, sec- + ond in F) meaning temperature. n is number of the sensor. See + /sys/bus/platform/devices/ on your local computer. + + + pop3_unseen (args) + Displays the number of unseen messages in your global POP3 inbox + by default. You can define individual POP3 inboxes seperately by + passing arguments to this object. Arguments are: "host user pass + [-i interval] [-p port] [-e command]". Default port is 110, de- + fault interval is 5 minutes. If the password is supplied as '*', + you will be prompted to enter the password when Conky starts. + + + pop3_used (args) + Displays the amount of space (in MiB, 2^20) used in your global + POP3 inbox by default. You can define individual POP3 inboxes + seperately by passing arguments to this object. Arguments are: + "host user pass [-i interval] [-p port] [-e command]". Default + port is 110, default interval is 5 minutes. If the password is + supplied as '*', you will be prompted to enter the password when + Conky starts. + + + pre_exec shell command + Executes a shell command one time before conky displays anything + and puts output as text. + + + processes + Total processes (sleeping and running) + + + running_processes + Running processes (not sleeping), requires Linux 2.6 + + + shadecolor (color) + Change shading color + + + stippled_hr (space) + Stippled (dashed) horizontal line + + + swapbar (height),(width) + Bar that shows amount of swap in use + + + swap Amount of swap in use + + + swapmax + Total amount of swap + + + swapperc + Percentage of swap in use + + + sysname + System name, Linux for example + + + tcp_portmon port_begin port_end item (index) (ip4 only at present) + TCP port monitor for specified local ports. Port numbers must be + in the range 1 to 65535. Valid items are: + + count - total number of connections in the range + rip - remote ip address + rhost - remote host name + rport - remote port number + rservice - remote service name from /etc/services + lip - local ip address + lhost - local host name + lport - local port number + lservice - local service name from /etc/services + + The connection index provides you with access to each connection + in the port monitor. The monitor will return information for in- + dex values from 0 to n-1 connections. Values higher than n-1 are + simply ignored. For the "count" item, the connection index must + be omitted. It is required for all other items. + + Examples: + ${tcp_portmon 6881 6999 count} - displays the number of connec- + tions in the bittorrent port range + ${tcp_portmon 22 22 rip 0} - displays the remote host ip of the + first sshd connection + ${tcp_portmon 22 22 rip 9} - displays the remote host ip of the + tenth sshd connection + ${tcp_portmon 1 1024 rhost 0} - displays the remote host name of + the first connection on a privileged port + ${tcp_portmon 1 1024 rport 4} - displays the remote host port of + the fifth connection on a privileged port + ${tcp_portmon 1 65535 lservice 14} - displays the local service + name of the fifteenth connection in the range of all ports + + Note that port monitor variables which share the same port range + actually refer to the same monitor, so many references to a sin- + gle port range for different items and different indexes all use + the same monitor internally. In other words, the program avoids + creating redundant monitors. + + texeci interval command + Runs a command at an interval inside a thread and displays the + output. Same as $execi, except the command is run inside a + thread. Use this if you have a slow script to keep Conky updat- + ing. You should make the interval slightly longer then the time + it takes your script to execute. For example, if you have a + script that take 5 seconds to execute, you should make the in- + terval at least 6 seconds. See also $execi. + + + offset (pixels) + Move text over by N pixels. See also $voffset. + + + rss url delay_in_minutes action item_num + Download and parse RSS feeds. Action may be one of the follow- + ing: feed_title, item_title (with num par), item_desc (with num + par) and item_titles. + + + tab (width, (start)) + Puts a tab of the specified width, starting from column 'start'. + + + tail logfile lines (interval) + Displays last N lines of supplied text text file. If interval is + not supplied, Conky assumes 2x Conky's interval. Max of 30 lines + can be displayed, or until the text buffer is filled. + + + time (format) + Local time, see man strftime to get more information about for- + mat + + + utime (format) + Display time in UTC (universal coordinate time). + + + tztime (timezone) (format) + Local time for specified timezone, see man strftime to get more + information about format. The timezone argument is specified in + similar fashion as TZ environment variable. For hints, look in + /usr/share/zoneinfo. e.g. US/Pacific, Europe/Zurich, etc. + + + totaldown net + Total download, overflows at 4 GB on Linux with 32-bit arch and + there doesn't seem to be a way to know how many times it has al- + ready done that before conky has started. + + + top type, num + This takes arguments in the form:top (name) (number) Basically, + processes are ranked from highest to lowest in terms of cpu us- + age, which is what (num) represents. The types are: "name", + "pid", "cpu", and "mem". There can be a max of 10 processes + listed. + + + top_mem type, num + Same as top, except sorted by mem usage instead of cpu + + + totalup net + Total upload, this one too, may overflow + + + updates Number of updates + for debugging + + + upspeed net + Upload speed in kilobytes + + + upspeedf net + Upload speed in kilobytes with one decimal + + + upspeedgraph net (height),(width) (gradient colour 1) (gradient colour + 2) (scale) + Upload speed graph, colours defined in hex, minus the #. If + scale is non-zero, it becomes the scale for the graph. + + + uptime Uptime + + + uptime_short + Uptime in a shorter format + + + voffset (pixels) + Change vertical offset by N pixels. Negative values will cause + text to overlap. See also $offset. + + + voltage_mv (n) + Returns CPU #n's voltage in mV. CPUs are counted from 1. If + omitted, the parameter defaults to 1. + + + voltage_v (n) + Returns CPU #n's voltage in V. CPUs are counted from 1. If omit- + ted, the parameter defaults to 1. + + + wireless_essid net + Wireless access point ESSID (Linux only) + + + wireless_mode net + Wireless mode (Managed/Ad-Hoc/Master) (Linux only) + + + wireless_bitrate net + Wireless bitrate (ie 11 Mb/s) (Linux only) + + + wireless_ap net + Wireless access point MAC address (Linux only) + + + wireless_link_qual net + Wireless link quality (Linux only) + + + wireless_link_qual_max net + Wireless link quality maximum value (Linux only) + + + wireless_link_qual_perc net + Wireless link quality in percents (Linux only) + + + wireless_link_bar (height), (width) net + Wireless link quality bar (Linux only) + + + xmms2_artist + Artist in current XMMS2 song + + + xmms2_album + Album in current XMMS2 song + + + xmms2_title + Title in current XMMS2 song + + + xmms2_genre + Genre in current XMMS2 song + + + xmms2_comment + Comment in current XMMS2 song + + + xmms2_decoder + Decoder plugin used + + + xmms2_transport + Transport plugin used + + + xmms2_url + Full path to current song + + + xmms2_tracknr + Track number in current XMMS2 song + + + xmms2_bitrate + Bitrate of current song + + + xmms2_id + XMMS2 id of current song + + + xmms2_duration + Duration of current song + + + xmms2_elapsed + Song's elapsed time + + + xmms2_size + Size of current song + + + xmms2_percent + Percent of song's progress + + + xmms2_status + XMMS2 status (Playing, Paused, Stopped, or Disconnected) + + + xmms2_bar (height),(width) + Bar of XMMS2's progress + + + xmms2_smart + Prints the song name in either the form "artist - title" or file + name, depending on whats available + + +EXAMPLES + conky -t '${time %D %H:%m}' -o -u 30 + Start Conky in its own window with date and clock as text and 30 + sec update interval. + + conky -a top_left -x 5 -y 500 -d + Start Conky to background at coordinates (5, 500). + +FILES + ~/.conkyrc default configuration file + +BUGS + Drawing to root or some other desktop window directly doesn't work with + all window managers. Especially doesn't work well with Gnome and it has + been reported that it doesn't work with KDE either. Nautilus can be + disabled from drawing to desktop with program gconf-editor. Uncheck + show_desktop in /apps/nautilus/preferences/. There is -w switch in + Conky to set some specific window id. You might find xwininfo -tree + useful to find the window to draw to. You can also use -o argument + which makes Conky to create its own window. + +SEE ALSO + + + + + #conky on irc.freenode.net + +AUTHORS + The Conky dev team. What's up now! + + + + 2007-08-08 conky(1) diff --git a/conky1/README.cvs-version b/conky1/README.cvs-version new file mode 100644 index 00000000..58e2f9c2 --- /dev/null +++ b/conky1/README.cvs-version @@ -0,0 +1,29 @@ +THESE INSTRUCTIONS ARE ONLY IF "sh autogen.sh" DOESN'T WORK!!! + +First, read the README. This contains instructions specific to building conky +fresh from a CVS checkout: + +* As the README says, you need to have the X development libraries installed. + This should be a package along the lines of libx11-dev or xorg-x11-dev . +* 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 + +* In the directory where you checked out conky from CVS, + 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". +* After that, it's the familiar + + ./configure + make + make install + + You might have to do the last step as root. diff --git a/conky1/TODO b/conky1/TODO new file mode 100644 index 00000000..e9865fb0 --- /dev/null +++ b/conky1/TODO @@ -0,0 +1,8 @@ +# $Id$ + +1.x - implement _XROOTPMAP_ID and ESETROOT_PMAP_ID alterative for pseudo-transperency. + +2.0.0 - schedule TBD + * rewrite core of Conky in C++ + * implement new features like a cairo backend, network transparency, and whatever else + * distributed functionality diff --git a/conky1/app-admin/conky/conky-1.4.0.ebuild b/conky1/app-admin/conky/conky-1.4.0.ebuild new file mode 100644 index 00000000..2fd34f78 --- /dev/null +++ b/conky1/app-admin/conky/conky-1.4.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit eutils + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" +SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~alpha" +IUSE="truetype X ipv6 bmpx bmp xmms infopipe audacious" + +DEPEND_COMMON=" + virtual/libc + X? ( + || ( ( x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXft + ) + virtual/x11 + ) + truetype? ( >=media-libs/freetype-2 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + bmp? ( media-sound/beep-media-player ) + audacious? ( media-sound/audacious ) + infopipe? ( || ( media-plugins/xmms-infopipe media-plugins/bmp-infopipe ) ) + xmms? ( media-sound/xmms ) + )" + +RDEPEND="${DEPEND_COMMON}" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + || ( ( x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + ) + virtual/x11 + ) + ) + sys-apps/grep + sys-apps/sed" + + +src_compile() { + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that" + ewarn "using the ipv6 USE flag with Conky disables the port" + ewarn "monitor." + ewarn + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime \ + --enable-mpd --enable-mldonkey" + econf \ + ${myconf} \ + $(use_enable truetype xft) \ + $(use_enable X x11) \ + $(use_enable bmpx) \ + $(use_enable bmp) \ + $(use_enable xmms) \ + $(use_enable audacious) \ + $(use_enable infopipe) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR=${D} install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample doc/variables.html + dodoc doc/docs.html doc/config_settings.html +} + +pkg_postinst() { + einfo 'Default configuration file is "~/.conkyrc"' + einfo "you can find a sample configuration file in" + einfo "/usr/share/doc/${PF}/conkyrc.sample.gz" + einfo + einfo "For more info on Conky's new features," + einfo "please look at the README and ChangeLog:" + einfo "/usr/share/doc/${PF}/README.gz" + einfo "/usr/share/doc/${PF}/ChangeLog.gz" + einfo "There are also pretty html docs available" + einfo "on Conky's site or in /usr/share/doc/${PF}" + einfo + einfo "Check out app-vim/conky-syntax for conkyrc" + einfo "syntax highlighting in Vim" + einfo +} diff --git a/conky1/app-admin/conky/conky-1.4.1.ebuild b/conky1/app-admin/conky/conky-1.4.1.ebuild new file mode 100644 index 00000000..7cd348dd --- /dev/null +++ b/conky1/app-admin/conky/conky-1.4.1.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit eutils + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" +SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="truetype X ipv6 bmpx bmp xmms infopipe audacious" + +DEPEND_COMMON=" + virtual/libc + X? ( + || ( ( x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXft + ) + virtual/x11 + ) + truetype? ( >=media-libs/freetype-2 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + bmp? ( media-sound/beep-media-player ) + audacious? ( media-sound/audacious ) + infopipe? ( media-plugins/xmms-infopipe ) + xmms? ( media-sound/xmms ) + )" + +RDEPEND="${DEPEND_COMMON}" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + || ( ( x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + ) + virtual/x11 + ) + ) + sys-apps/grep + sys-apps/sed" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/conky-sigaction.patch +} + + +src_compile() { + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that" + ewarn "using the ipv6 USE flag with Conky disables the port" + ewarn "monitor." + ewarn + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime \ + --enable-mpd --enable-mldonkey" + econf \ + ${myconf} \ + $(use_enable truetype xft) \ + $(use_enable X x11) \ + $(use_enable bmpx) \ + $(use_enable bmp) \ + $(use_enable xmms) \ + $(use_enable audacious) \ + $(use_enable infopipe) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR=${D} install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample doc/variables.html + dodoc doc/docs.html doc/config_settings.html +} + +pkg_postinst() { + einfo 'Default configuration file is "~/.conkyrc"' + einfo "you can find a sample configuration file in" + einfo "/usr/share/doc/${PF}/conkyrc.sample.gz" + einfo + einfo "For more info on Conky's new features," + einfo "please look at the README and ChangeLog:" + einfo "/usr/share/doc/${PF}/README.gz" + einfo "/usr/share/doc/${PF}/ChangeLog.gz" + einfo "There are also pretty html docs available" + einfo "on Conky's site or in /usr/share/doc/${PF}" + einfo + einfo "Check out app-vim/conky-syntax for conkyrc" + einfo "syntax highlighting in Vim" + einfo +} diff --git a/conky1/app-admin/conky/conky-1.4.2.ebuild b/conky1/app-admin/conky/conky-1.4.2.ebuild new file mode 100644 index 00000000..2e6b12c7 --- /dev/null +++ b/conky1/app-admin/conky/conky-1.4.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +inherit eutils + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" +SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="truetype X ipv6 bmpx bmp xmms xmms2 infopipe audacious" + +DEPEND_COMMON=" + virtual/libc + X? ( + || ( ( x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXft + ) + virtual/x11 + ) + truetype? ( >=media-libs/freetype-2 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + bmp? ( media-sound/beep-media-player ) + audacious? ( media-sound/audacious ) + infopipe? ( media-plugins/xmms-infopipe ) + xmms? ( media-sound/xmms ) + xmms2? ( media-sound/xmms2 ) + )" + +RDEPEND="${DEPEND_COMMON}" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + || ( ( x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + ) + virtual/x11 + ) + ) + sys-apps/grep + sys-apps/sed" + +src_compile() { + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that" + ewarn "using the ipv6 USE flag with Conky disables the port" + ewarn "monitor." + ewarn + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-double-buffer --enable-own-window --enable-proc-uptime \ + --enable-mpd --enable-mldonkey" + econf \ + ${myconf} \ + $(use_enable truetype xft) \ + $(use_enable X x11) \ + $(use_enable bmpx) \ + $(use_enable bmp) \ + $(use_enable xmms) \ + $(use_enable xmms2) \ + $(use_enable audacious) \ + $(use_enable infopipe) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample + dohtml doc/variables.html doc/docs.html doc/config_settings.html +} + +pkg_postinst() { + einfo 'Default configuration file is "~/.conkyrc"' + einfo "you can find a sample configuration file in" + einfo "/usr/share/doc/${PF}/conkyrc.sample.gz" + einfo + einfo "For more info on Conky's new features," + einfo "please look at the README and ChangeLog:" + einfo "/usr/share/doc/${PF}/README.gz" + einfo "/usr/share/doc/${PF}/ChangeLog.gz" + einfo "There are also pretty html docs available" + einfo "on Conky's site or in /usr/share/doc/${PF}" + einfo + einfo "Check out app-vim/conky-syntax for conkyrc" + einfo "syntax highlighting in Vim" + einfo +} diff --git a/conky1/app-admin/conky/conky-1.4.3.ebuild b/conky1/app-admin/conky/conky-1.4.3.ebuild new file mode 100644 index 00000000..02b2a9c4 --- /dev/null +++ b/conky1/app-admin/conky/conky-1.4.3.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" +SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="truetype X ipv6 audacious bmpx hddtemp mpd vim-syntax" + +DEPEND_COMMON=" + virtual/libc + X? ( + || ( ( x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXdamage + x11-libs/libXft + ) + virtual/x11 + ) + truetype? ( >=media-libs/freetype-2 ) + audacious? ( >=media-sound/audacious-0.1 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + )" + +RDEPEND="${DEPEND_COMMON} + hddtemp? ( app-admin/hddtemp ) + mpd? ( media-sound/mpd )" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + || ( ( x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + ) + virtual/x11 + ) + ) + sys-apps/grep + sys-apps/sed" + +PDEPEND="vim-syntax? ( app-vim/conky-syntax )" + +src_compile() { + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that using" + ewarn "the ipv6 USE flag with Conky disables the port monitor." + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-own-window --enable-proc-uptime" + use X && myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage" + econf \ + ${myconf} \ + $(use_enable truetype xft) \ + $(use_enable audacious) \ + $(use_enable bmpx) \ + $(use_enable hddtemp ) \ + $(use_enable mpd) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR=${D} install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample + dohtml doc/docs.html doc/config_settings.html doc/variables.html +} + +pkg_postinst() { + einfo 'Default configuration file is "~/.conkyrc"' + einfo "You can find a sample configuration file in" + einfo "/usr/share/doc/${PF}/conkyrc.sample.gz" + einfo + einfo "For more info on Conky's new features," + einfo "please look at the README and ChangeLog:" + einfo "/usr/share/doc/${PF}/README.gz" + einfo "/usr/share/doc/${PF}/ChangeLog.gz" + einfo "There are also pretty html docs available" + einfo "on Conky's site or in /usr/share/doc/${PF}" + einfo + einfo "Also see http://www.gentoo.org/doc/en/conky-howto.xml" + einfo + einfo "Check out app-vim/conky-syntax for conkyrc" + einfo "syntax highlighting in Vim" + einfo +} diff --git a/conky1/app-admin/conky/conky-1.4.4.ebuild b/conky1/app-admin/conky/conky-1.4.4.ebuild new file mode 100644 index 00000000..a2882b05 --- /dev/null +++ b/conky1/app-admin/conky/conky-1.4.4.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils +# used for epause + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" +SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="truetype X ipv6 audacious bmpx hddtemp mpd vim-syntax" + +DEPEND_COMMON=" + virtual/libc + X? ( + || ( ( x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXdamage + x11-libs/libXft + ) + virtual/x11 + ) + truetype? ( >=media-libs/freetype-2 ) + audacious? ( >=media-sound/audacious-0.1 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + )" + +RDEPEND="${DEPEND_COMMON} + hddtemp? ( app-admin/hddtemp ) + mpd? ( media-sound/mpd ) + vim-syntax? ( || ( app-editors/vim + app-editors/gvim ) )" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + || ( ( x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + ) + virtual/x11 + ) + )" + +src_compile() { + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that using" + ewarn "the ipv6 USE flag with Conky disables the port monitor." + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-own-window --enable-proc-uptime" + use X && myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage" + econf \ + ${myconf} \ + $(use_enable truetype xft) \ + $(use_enable audacious) \ + $(use_enable bmpx) \ + $(use_enable hddtemp ) \ + $(use_enable mpd) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample + dohtml doc/docs.html doc/config_settings.html doc/variables.html + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/ftdetect + doins "${S}"/extras/vim/ftdetect/conkyrc.vim + + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/extras/vim/syntax/conkyrc.vim + fi +} + +pkg_postinst() { + einfo 'Default configuration file is "~/.conkyrc"' + einfo "You can find a sample configuration file in" + einfo "/usr/share/doc/${PF}/conkyrc.sample.gz" + einfo + einfo "For more info on Conky's new features," + einfo "please look at the README and ChangeLog:" + einfo "/usr/share/doc/${PF}/README.gz" + einfo "/usr/share/doc/${PF}/ChangeLog.gz" + einfo "There are also pretty html docs available" + einfo "on Conky's site or in /usr/share/doc/${PF}" + einfo + einfo "Also see http://www.gentoo.org/doc/en/conky-howto.xml" + einfo + einfo "Vim syntax highlighting for conkyrc now enabled with" + einfo "USE=vim-syntax" + einfo +} diff --git a/conky1/app-admin/conky/conky-1.4.5.ebuild b/conky1/app-admin/conky/conky-1.4.5.ebuild new file mode 100644 index 00000000..8b80c263 --- /dev/null +++ b/conky1/app-admin/conky/conky-1.4.5.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.4.5.ebuild,v 1.11 2007/07/22 08:19:13 omp Exp $ + +inherit eutils +# used for epause + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" +SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" +IUSE="truetype X ipv6 audacious bmpx hddtemp mpd vim-syntax" + +DEPEND_COMMON=" + virtual/libc + X? ( + x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXdamage + x11-libs/libXft + truetype? ( >=media-libs/freetype-2 ) + audacious? ( >=media-sound/audacious-0.1 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + ) + !ipv6? ( >=dev-libs/glib-2.0 )" +RDEPEND="${DEPEND_COMMON} + hddtemp? ( app-admin/hddtemp ) + mpd? ( media-sound/mpd ) + vim-syntax? ( || ( app-editors/vim + app-editors/gvim ) )" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + )" + +src_compile() { + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that using" + ewarn "the ipv6 USE flag with Conky disables the port monitor." + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-proc-uptime" + if useq X; then + myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window" + myconf="${myconf} $(use_enable truetype xft)" + else + myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window" + myconf="${myconf} --disable-xft" + fi + econf \ + ${myconf} \ + $(use_enable audacious) \ + $(use_enable bmpx) \ + $(use_enable hddtemp ) \ + $(use_enable mpd) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample + dohtml doc/docs.html doc/config_settings.html doc/variables.html + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/ftdetect + doins "${S}"/extras/vim/ftdetect/conkyrc.vim + + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/extras/vim/syntax/conkyrc.vim + fi +} + +pkg_postinst() { + elog 'Default configuration file is "~/.conkyrc"' + elog "You can find a sample configuration file in" + elog "/usr/share/doc/${PF}/conkyrc.sample.gz" + elog + elog "For more info on Conky's new features," + elog "please look at the README and ChangeLog:" + elog "/usr/share/doc/${PF}/README.gz" + elog "/usr/share/doc/${PF}/ChangeLog.gz" + elog "There are also pretty html docs available" + elog "on Conky's site or in /usr/share/doc/${PF}" + elog + elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml" + elog + elog "Vim syntax highlighting for conkyrc now enabled with" + elog "USE=vim-syntax" + elog +} diff --git a/conky1/app-admin/conky/conky-1.4.6.ebuild b/conky1/app-admin/conky/conky-1.4.6.ebuild new file mode 100644 index 00000000..0d4a51f8 --- /dev/null +++ b/conky1/app-admin/conky/conky-1.4.6.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conky/conky-1.4.5.ebuild,v 1.11 2007/07/22 08:19:13 omp Exp $ + +inherit eutils +# used for epause + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" +SRC_URI="mirror://sourceforge/conky/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ppc ppc64 sparc x86" +IUSE="truetype X ipv6 audacious bmpx hddtemp mpd vim-syntax" + +DEPEND_COMMON=" + virtual/libc + X? ( + x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXdamage + x11-libs/libXft + truetype? ( >=media-libs/freetype-2 ) + audacious? ( >=media-sound/audacious-0.1 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + ) + !ipv6? ( >=dev-libs/glib-2.0 )" +RDEPEND="${DEPEND_COMMON} + hddtemp? ( app-admin/hddtemp ) + vim-syntax? ( || ( app-editors/vim + app-editors/gvim ) )" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + )" + +src_compile() { + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that using" + ewarn "the ipv6 USE flag with Conky disables the port monitor." + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-proc-uptime" + if useq X; then + myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window" + myconf="${myconf} $(use_enable truetype xft)" + else + myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window" + myconf="${myconf} --disable-xft" + fi + econf \ + ${myconf} \ + $(use_enable audacious) \ + $(use_enable bmpx) \ + $(use_enable hddtemp ) \ + $(use_enable mpd) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample + dohtml doc/docs.html doc/config_settings.html doc/variables.html + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/ftdetect + doins "${S}"/extras/vim/ftdetect/conkyrc.vim + + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/extras/vim/syntax/conkyrc.vim + fi +} + +pkg_postinst() { + elog 'Default configuration file is "~/.conkyrc"' + elog "You can find a sample configuration file in" + elog "/usr/share/doc/${PF}/conkyrc.sample.gz" + elog + elog "For more info on Conky's new features," + elog "please look at the README and ChangeLog:" + elog "/usr/share/doc/${PF}/README.gz" + elog "/usr/share/doc/${PF}/ChangeLog.gz" + elog "There are also pretty html docs available" + elog "on Conky's site or in /usr/share/doc/${PF}" + elog + elog "Also see http://www.gentoo.org/doc/en/conky-howto.xml" + elog + elog "Vim syntax highlighting for conkyrc now enabled with" + elog "USE=vim-syntax" + elog +} diff --git a/conky1/app-admin/conky/conky-1.999.ebuild b/conky1/app-admin/conky/conky-1.999.ebuild new file mode 100644 index 00000000..a2e59896 --- /dev/null +++ b/conky1/app-admin/conky/conky-1.999.ebuild @@ -0,0 +1,118 @@ +# Subversion repository ebuild for conky by drphibes +# $Header: $ + +ESVN_REPO_URI="https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1" +ESVN_PROJECT="conky1" +inherit subversion + +DESCRIPTION="Conky is an advanced, highly configurable system monitor for X" +HOMEPAGE="http://conky.sf.net" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="truetype X ipv6 audacious bmpx hddtemp mpd vim-syntax" + +DEPEND_COMMON=" + virtual/libc + X? ( + || ( ( x11-libs/libICE + x11-libs/libXext + x11-libs/libX11 + x11-libs/libSM + x11-libs/libXrender + x11-libs/libXdamage + x11-libs/libXft + ) + virtual/x11 + ) + truetype? ( >=media-libs/freetype-2 ) + audacious? ( >=media-sound/audacious-0.1 ) + bmpx? ( media-sound/bmpx + >=sys-apps/dbus-0.35 + ) + !ipv6? ( >=dev-libs/glib-2.0 ) + )" + +RDEPEND="${DEPEND_COMMON} + hddtemp? ( app-admin/hddtemp ) + mpd? ( media-sound/mpd ) + vim-syntax? ( || ( app-editors/vim + app-editors/gvim ) )" + +DEPEND=" + ${DEPEND_COMMON} + X? ( + || ( ( x11-libs/libXt + x11-proto/xextproto + x11-proto/xproto + ) + virtual/x11 + ) + )" + +S=${WORKDIR}/conky + +src_compile() { + ./autogen.sh ${ESVN_STORE_DIR}/${ESVN_PROJECT}/conky1 + + local mymake + if useq ipv6 ; then + ewarn + ewarn "You have the ipv6 USE flag enabled. Please note that using" + ewarn "the ipv6 USE flag with Conky disables the port monitor." + epause + else + mymake="MPD_NO_IPV6=noipv6" + fi + local myconf + myconf="--enable-proc-uptime" + if useq X; then + myconf="${myconf} --enable-x11 --enable-double-buffer --enable-xdamage --enable-own-window" + myconf="${myconf} $(use_enable truetype xft)" + else + myconf="${myconf} --disable-x11 --disable-double-buffer --disable-xdamage --disable-own-window" + myconf="${myconf} --disable-xft" + fi + econf \ + ${myconf} \ + $(use_enable audacious) \ + $(use_enable bmpx) \ + $(use_enable hddtemp ) \ + $(use_enable mpd) \ + $(use_enable !ipv6 portmon) || die "econf failed" + emake ${mymake} || die "compile failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog AUTHORS README doc/conkyrc.sample + dohtml doc/docs.html doc/config_settings.html doc/variables.html + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/ftdetect + doins "${S}"/extras/vim/ftdetect/conkyrc.vim + + insinto /usr/share/vim/vimfiles/syntax + doins "${S}"/extras/vim/syntax/conkyrc.vim + fi +} + +pkg_postinst() { + einfo 'Default configuration file is "~/.conkyrc"' + einfo "You can find a sample configuration file in" + einfo "/usr/share/doc/${PF}/conkyrc.sample.gz" + einfo + einfo "For more info on Conky's new features," + einfo "please look at the README and ChangeLog:" + einfo "/usr/share/doc/${PF}/README.gz" + einfo "/usr/share/doc/${PF}/ChangeLog.gz" + einfo "There are also pretty html docs available" + einfo "on Conky's site or in /usr/share/doc/${PF}" + einfo + einfo "Also see http://www.gentoo.org/doc/en/conky-howto.xml" + einfo + einfo "Vim syntax highlighting for conkyrc now enabled with" + einfo "USE=vim-syntax" + einfo +} diff --git a/conky1/autogen.sh b/conky1/autogen.sh new file mode 100755 index 00000000..caed5355 --- /dev/null +++ b/conky1/autogen.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# $Id$ + +# autogen.sh +# optional $1 = full path to svn working copy or "clean" + +AUTOCONF=${AUTOCONF:-autoconf} +AUTOMAKE=${AUTOMAKE:-automake} +ACLOCAL=${ACLOCAL:-aclocal} +AUTOHEADER=${AUTOHEADER:-autoheader} +LIBTOOLIZE=${LIBTOOLIZE:-libtoolize} + +if [ "$1" = "clean" ]; then + /bin/rm -f configure.ac + exit 0 +fi + +# substitute svn revision +revision=`LC_ALL=C svn info $1 | awk '/^Revision: / {printf "%05d\n", $2}'` +sed -e "s/@REVISION@/${revision}/g" \ + < "configure.ac.in" > "configure.ac" + +echo Running $ACLOCAL ... && $ACLOCAL +echo Running $LIBTOOLIZE --force --copy ... && $LIBTOOLIZE --force --copy +echo Running $AUTOHEADER ... && $AUTOHEADER +echo Running $AUTOMAKE --add-missing --copy --gnu ... && $AUTOMAKE --add-missing --copy --gnu +echo Running $AUTOCONF ... && $AUTOCONF diff --git a/conky1/buildubu.sh b/conky1/buildubu.sh new file mode 100755 index 00000000..02fc4b52 --- /dev/null +++ b/conky1/buildubu.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +rm -rf ../conky-1.3.4* ../conky_* +make distclean +sh autogen.sh +./configure +make dist +cp -f conky-1.3.4.tar.gz ../conky_1.3.3.orig.tar.gz +cd .. +tar xvzf conky_1.3.4.orig.tar.gz +cd conky-1.3.4 +#dh_make -s +cp -r ../conky/debian . +rm -rf debian/CVS +debuild +#dpkg-buildpackage -rfakeroot -S -k diff --git a/conky1/changelog2html.py b/conky1/changelog2html.py new file mode 100644 index 00000000..31df3361 --- /dev/null +++ b/conky1/changelog2html.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python + +import sys + +if len(sys.argv) <= 1: + print >> sys.stderr, "Usage: ./changelog2html.py [changelog file]" + sys.exit(1) + +f = sys.argv[1] + +blah = 0 + +for i in open(f).read().splitlines(): + # ignore empty lines + + if i and i[0].isspace(): + if not '*' in i: + print ' ' + i.strip() + else: + s = i.split('*', 1)[1].strip() + print '
  • ' + s.replace('<', '<').replace('>', '>') + else: + if blah: + print '' + print '

    %s

    ' % i.strip() + print '
      ' + blah = 1 + +if blah: + print '
    ' diff --git a/conky1/config.rpath b/conky1/config.rpath new file mode 100755 index 00000000..c492a93b --- /dev/null +++ b/conky1/config.rpath @@ -0,0 +1,614 @@ +#! /bin/sh +# Output a system dependent set of variables, describing how to set the +# run time search path of shared libraries in an executable. +# +# Copyright 1996-2006 Free Software Foundation, Inc. +# Taken from GNU libtool, 2001 +# Originally by Gordon Matzigkeit , 1996 +# +# This file is free software; the Free Software Foundation gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# The first argument passed to this file is the canonical host specification, +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld +# should be set by the caller. +# +# The set of defined variables is at the end of this script. + +# Known limitations: +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer +# than 256 bytes, otherwise the compiler driver will dump core. The only +# known workaround is to choose shorter directory names for the build +# directory and/or the installation directory. + +# All known linkers require a `.a' archive for static linking (except MSVC, +# which needs '.lib'). +libext=a +shrext=.so + +host="$1" +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +# Code taken from libtool.m4's _LT_CC_BASENAME. + +for cc_temp in $CC""; do + case $cc_temp in + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; + \-*) ;; + *) break;; + esac +done +cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. + +wl= +if test "$GCC" = yes; then + wl='-Wl,' +else + case "$host_os" in + aix*) + wl='-Wl,' + ;; + darwin*) + case $cc_basename in + xlc*) + wl='-Wl,' + ;; + esac + ;; + mingw* | pw32* | os2*) + ;; + hpux9* | hpux10* | hpux11*) + wl='-Wl,' + ;; + irix5* | irix6* | nonstopux*) + wl='-Wl,' + ;; + newsos6) + ;; + linux*) + case $cc_basename in + icc* | ecc*) + wl='-Wl,' + ;; + pgcc | pgf77 | pgf90) + wl='-Wl,' + ;; + ccc*) + wl='-Wl,' + ;; + como) + wl='-lopt=' + ;; + *) + case `$CC -V 2>&1 | sed 5q` in + *Sun\ C*) + wl='-Wl,' + ;; + esac + ;; + esac + ;; + osf3* | osf4* | osf5*) + wl='-Wl,' + ;; + sco3.2v5*) + ;; + solaris*) + wl='-Wl,' + ;; + sunos4*) + wl='-Qoption ld ' + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + wl='-Wl,' + ;; + sysv4*MP*) + ;; + unicos*) + wl='-Wl,' + ;; + uts4*) + ;; + esac +fi + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. + +hardcode_libdir_flag_spec= +hardcode_libdir_separator= +hardcode_direct=no +hardcode_minus_L=no + +case "$host_os" in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + interix*) + # we just hope/assume this is gcc and not c89 (= MSVC++) + with_gnu_ld=yes + ;; + openbsd*) + with_gnu_ld=no + ;; +esac + +ld_shlibs=yes +if test "$with_gnu_ld" = yes; then + # Set some defaults for GNU ld with shared library support. These + # are reset later if shared libraries are not supported. Putting them + # here allows them to be overridden if necessary. + # Unlike libtool, we use -rpath here, not --rpath, since the documented + # option of GNU ld is called -rpath, not --rpath. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + case "$host_os" in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we cannot use + # them. + ld_shlibs=no + ;; + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + cygwin* | mingw* | pw32*) + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + interix3*) + hardcode_direct=no + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + linux*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + netbsd*) + ;; + solaris*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) + case `$LD -v 2>&1` in + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) + ld_shlibs=no + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' + else + ld_shlibs=no + fi + ;; + esac + ;; + sunos4*) + hardcode_direct=yes + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + esac + if test "$ld_shlibs" = no; then + hardcode_libdir_flag_spec= + fi +else + case "$host_os" in + aix3*) + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + else + aix_use_runtimelinking=no + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + ;; + esac + fi + hardcode_direct=yes + hardcode_libdir_separator=':' + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + ;; + esac + fi + # Begin _LT_AC_SYS_LIBPATH_AIX. + echo 'int main () { return 0; }' > conftest.c + ${CC} ${LDFLAGS} conftest.c -o conftest + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + fi + if test -z "$aix_libpath"; then + aix_libpath="/usr/lib:/lib" + fi + rm -f conftest.c conftest + # End _LT_AC_SYS_LIBPATH_AIX. + if test "$aix_use_runtimelinking" = yes; then + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + else + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + fi + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + bsdi[45]*) + ;; + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + libext=lib + ;; + darwin* | rhapsody*) + hardcode_direct=no + if test "$GCC" = yes ; then + : + else + case $cc_basename in + xlc*) + ;; + *) + ld_shlibs=no + ;; + esac + fi + ;; + dgux*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + freebsd1*) + ld_shlibs=no + ;; + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) + hardcode_direct=yes + hardcode_minus_L=yes + ;; + freebsd* | kfreebsd*-gnu | dragonfly*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + hpux9*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + hpux10*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + fi + ;; + hpux11*) + if test "$with_gnu_ld" = no; then + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + case $host_cpu in + hppa*64*|ia64*) + hardcode_direct=no + ;; + *) + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + irix5* | irix6* | nonstopux*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + netbsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + newsos6) + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + openbsd*) + hardcode_direct=yes + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + else + case "$host_os" in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + osf3*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + osf4* | osf5*) + if test "$GCC" = yes; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + # Both cc and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + solaris*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + sunos4*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + ;; + sysv4) + case $host_vendor in + sni) + hardcode_direct=yes # is this really true??? + ;; + siemens) + hardcode_direct=no + ;; + motorola) + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + ;; + sysv4.3*) + ;; + sysv4*MP*) + if test -d /usr/nec; then + ld_shlibs=yes + fi + ;; + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) + ;; + sysv5* | sco3.2v5* | sco5v6*) + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' + hardcode_libdir_separator=':' + ;; + uts4*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + *) + ld_shlibs=no + ;; + esac +fi + +# Check dynamic linker characteristics +# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. +libname_spec='lib$name' +case "$host_os" in + aix3*) + ;; + aix4* | aix5*) + ;; + amigaos*) + ;; + beos*) + ;; + bsdi[45]*) + ;; + cygwin* | mingw* | pw32*) + shrext=.dll + ;; + darwin* | rhapsody*) + shrext=.dylib + ;; + dgux*) + ;; + freebsd1*) + ;; + kfreebsd*-gnu) + ;; + freebsd* | dragonfly*) + ;; + gnu*) + ;; + hpux9* | hpux10* | hpux11*) + case $host_cpu in + ia64*) + shrext=.so + ;; + hppa*64*) + shrext=.sl + ;; + *) + shrext=.sl + ;; + esac + ;; + interix3*) + ;; + irix5* | irix6* | nonstopux*) + case "$host_os" in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; + *) libsuff= shlibsuff= ;; + esac + ;; + esac + ;; + linux*oldld* | linux*aout* | linux*coff*) + ;; + linux*) + ;; + knetbsd*-gnu) + ;; + netbsd*) + ;; + newsos6) + ;; + nto-qnx*) + ;; + openbsd*) + ;; + os2*) + libname_spec='$name' + shrext=.dll + ;; + osf3* | osf4* | osf5*) + ;; + solaris*) + ;; + sunos4*) + ;; + sysv4 | sysv4.3*) + ;; + sysv4*MP*) + ;; + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) + ;; + uts4*) + ;; +esac + +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` +shlibext=`echo "$shrext" | sed -e 's,^\.,,'` +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <@]), + [dah="$enableval"], [dah=yes]) + +if test $dah != "no"; then + AC_DEFINE(OWN_WINDOW, 1, [Define if you want support for window creating]) +fi + + +dnl +dnl Audacious Media Player +dnl + +AC_ARG_ENABLE([audacious], + AC_HELP_STRING([--enable-audacious], [enable audacious player support @<:@default=no@:>@]), + [want_audacious="$enableval"], [want_audacious=no]) + +AM_CONDITIONAL(BUILD_AUDACIOUS, test x$want_audacious = xyes) +if test x$want_audacious = xyes; then + PKG_CHECK_MODULES([AUDACIOUS], [audacious >= 0.1]) + CFLAGS="$CFLAGS $AUDACIOUS_CFLAGS" + LIBS="$LIBS $AUDACIOUS_LIBS" + AC_DEFINE(AUDACIOUS, 1, [Define for Audacious support]) +fi + + +dnl +dnl BMPx +dnl + +AC_ARG_ENABLE([bmpx], + AC_HELP_STRING([--enable-bmpx], [enable if you want BMPx support @<:@default=no@:>@]), + [want_bmpx="$enableval"], [want_bmpx=no]) + +AM_CONDITIONAL(BUILD_BMPX, test x$want_bmpx = xyes) +if test x$want_bmpx = xyes; then + PKG_CHECK_MODULES([BMPX], [bmp-2.0 >= 0.14.0]) + CFLAGS="$CFLAGS $BMPX_CFLAGS" + LIBS="$LIBS $BMPX_LIBS" + AC_DEFINE(BMPX, 1, [Define if you want BMPx support]) +fi + + +dnl +dnl Hddtemp +dnl + +AC_ARG_ENABLE([hddtemp], + AC_HELP_STRING([--disable-hddtemp], + [disable if you do not want hddtemp support @<:@default=yes@:>@]), + [want_hddtemp="$enableval"], [want_hddtemp=yes]) + +AM_CONDITIONAL(BUILD_HDDTEMP, test x$want_hddtemp = xyes) +if test x$want_hddtemp = xyes; then + AC_DEFINE(HDDTEMP, 1, [Define if you want hddtemp support]) +fi + +dnl +dnl MPD +dnl + +AC_ARG_ENABLE([mpd], + AC_HELP_STRING([--disable-mpd], [disable if you do not want MPD support @<:@default=yes@:>@]), + [want_mpd="$enableval"], [want_mpd=yes]) + +AM_CONDITIONAL(BUILD_MPD, test x$want_mpd = xyes) +if test x$want_mpd = xyes; then + AC_DEFINE(MPD, 1, [Define if you want MPD support]) +fi + +dnl +dnl XMMS2 +dnl + +AC_ARG_ENABLE([xmms2], + AC_HELP_STRING([--enable-xmms2], [enable if you want XMMS2 support @<:@default=no@:>@]), + [want_xmms2="$enableval"], [want_xmms2=no]) + +AM_CONDITIONAL(BUILD_XMMS2, test x$want_xmms2 = xyes) +if test x$want_xmms2 = xyes; then + PKG_CHECK_MODULES([XMMS2], [xmms2-client]) + CFLAGS="$CFLAGS $XMMS2_CFLAGS" + LIBS="$LIBS $XMMS2_LIBS" + AC_DEFINE(XMMS2, 1, [Define if you want XMMS2 support]) +fi + +dnl +dnl RSS +dnl + +AC_ARG_ENABLE([rss], + AC_HELP_STRING([--enable-rss], [enable if you want rss support @<:@default=no@:>@]), + [want_rss="$enableval"], [want_rss=no]) +# +AM_CONDITIONAL(BUILD_RSS, test x$want_rss = xyes) +if test x$want_rss = xyes; then + WANT_GLIB=yes + PKG_CHECK_MODULES(RSS, libxml-2.0 libcurl,,exit) + CFLAGS="$CFLAGS $RSS_CFLAGS" + LIBS="$LIBS $RSS_LIBS" + AC_DEFINE(RSS, 1, [Define if you want rss support]) +fi + +dnl +dnl Wireless extensions +dnl + +AC_ARG_ENABLE([wlan], + AC_HELP_STRING([--enable-wlan], [enable if you want wireless support @<:@default=no@:>@]), + [want_wlan="$enableval"], [want_wlan=no]) +# +AM_CONDITIONAL(BUILD_WLAN, test x$want_wlan = xyes) +if test x$want_wlan = xyes; then + AC_CHECK_HEADERS([iwlib.h], [], AC_MSG_ERROR([iwlib.h header not found])) + AC_CHECK_LIB([iw], [iw_sockets_open], [LIBS="$LIBS -liw"], AC_MSG_ERROR([iw_sockets_open not found])) + AC_DEFINE(HAVE_IWLIB, 1, [Define if you want wireless support]) +fi + +dnl +dnl IMLIB2 +dnl + +dnl --commented out until brenden finishes it -- +dnl AC_ARG_ENABLE([imlib2], +dnl AC_HELP_STRING([--enable-imlib2], [enable if you want Imlib2 support [[default=no]]]), +dnl [want_imlib2="$enableval"], [want_imlib2=no]) +dnl +dnl AM_CONDITIONAL(BUILD_IMLIB2, test x$want_imlib2 = xyes) +dnl if test x$want_imlib2 = xyes; then +dnl PKG_CHECK_MODULES([Imlib2], [imlib2]) +dnl CFLAGS="$CFLAGS $Imlib2_CFLAGS" +dnl LIBS="$LIBS $Imlib2_LIBS" +dnl AC_DEFINE(IMLIB2, 1, [Define if you want Imlib2 support]) +dnl fi + + +dnl +dnl PORT_MONITORS +dnl + +AC_ARG_ENABLE([portmon], + AC_HELP_STRING([--disable-portmon], + [disable if you do not want tcp (ip4) port monitoring @<:@default=yes@:>@]), + [want_portmon="$enableval"], [want_portmon=yes]) + +if test x"$want_portmon" = xyes; then + if test x"$uname" != xLinux; then + AC_MSG_NOTICE([port monitors not supported on $uname... disabling]) + want_portmon=no + else + AC_CHECK_HEADERS([netdb.h netinet/in.h netinet/tcp.h sys/socket.h arpa/inet.h], [], + [PORT_MONITORS_MISSING=yes]) + if test x"$PORT_MONITORS_MISSING" = xyes; then + AC_MSG_ERROR([missing a needed network header for port monitoring]) + fi + WANT_GLIB=yes + AC_DEFINE(TCP_PORT_MONITOR, 1, [Define if you want tcp port monitoring support]) + fi +fi +AM_CONDITIONAL(BUILD_PORT_MONITORS, test x"$want_portmon" = xyes) + + +dnl +dnl ICONV +dnl + +AM_ICONV +if test "$am_cv_func_iconv" != yes; then + AC_MSG_WARN([Could not find libiconv]) +else + LIBS="$LIBS $LIBICONV" +fi + +dnl +dnl debug +dnl + +AC_ARG_ENABLE([debug], + AC_HELP_STRING([--enable-debug], [compile with debug symbols @<:@default=no@:>@]), + [want_debug="$enableval"], [want_debug=no]) + +if test "x$want_debug" = "xyes" -a $ac_cv_c_compiler_gnu != no; then + CFLAGS="$CFLAGS -g3" + AC_DEFINE([DEBUG], [], [Define for debugging]) +fi + +dnl +dnl X11 +dnl + +AC_ARG_ENABLE([x11], + AC_HELP_STRING([--disable-x11], [disable if you do not want X11 support @<:@default=yes@:>@]), + [want_x11="$enableval"], [want_x11=yes]) + +AM_CONDITIONAL(BUILD_X11, test x$want_x11 = xyes) +if test "x$want_x11" = "xyes"; then + if $PKG_CONFIG --exists x11; then + PKG_CHECK_MODULES([X11], [x11]) + CFLAGS="$CFLAGS $X11_CFLAGS" + LIBS="$LIBS $X11_LIBS" + else + dnl non-modular X11 installations + AC_PATH_X + AC_PATH_XTRA + CFLAGS="$CFLAGS $X_CFLAGS" + LIBS="$LIBS $X_LIBS" + LDFLAGS="$LDFLAGS $LIBS $X_PRE_LIBS" + if test "x$no_x" = "xyes"; then + AC_MSG_ERROR([Can't locate your X11 installation]) + fi + AC_CHECK_LIB([X11], [XOpenDisplay], [], AC_MSG_ERROR([Could not find XOpenDisplay in -lX11])) + fi + AC_DEFINE(X11, 1, [Define if you want to use X11]) +fi + + +dnl +dnl Xext Double-buffering Extension +dnl + +AC_ARG_ENABLE([double_buffer], + AC_HELP_STRING([--disable-double-buffer], + [disable for no Xdbe double-buffering support @<:@default=yes@:>@]), + [want_double_buffer="$enableval"], [want_double_buffer=yes]) + +if test "x$want_double_buffer" = "xyes"; then + if test "x$want_x11" != "xyes"; then + dnl silently disable if no x11 + want_double_buffer=no + else + if $PKG_CONFIG --exists xext; then + PKG_CHECK_MODULES([XEXT],[xext]) + CFLAGS="$CFLAGS $XEXT_CFLAGS" + LIBS="$LIBS $XEXT_LIBS" + else + dnl non-modular X11 installation + AC_CHECK_LIB([Xext], [XdbeQueryExtension], [LIBS="$LIBS -lXext"], + AC_MSG_ERROR([Could not find XdbeQueryExtension in -lXext])) + fi + AC_DEFINE(HAVE_XDBE, 1, [Define for X11 double-buffering]) + fi +fi + + +dnl +dnl Xdamage Extension +dnl + +AC_ARG_ENABLE([xdamage], + AC_HELP_STRING([--disable-xdamage], + [disable if you do not want Xdamage support @<:@default=yes@:>@]), + [want_xdamage="$enableval"], [want_xdamage=yes]) + +if test "x$want_xdamage" = "xyes"; then + if test "x$want_x11" != "xyes"; then + dnl silently disable if no x11 + want_xdamage=no + else + if $PKG_CONFIG --exists xdamage; then + PKG_CHECK_MODULES([XDAMAGE],[xdamage]) + CFLAGS="$CFLAGS $XDAMAGE_CFLAGS" + LIBS="$LIBS $XDAMAGE_LIBS" + else + dnl non-modular X11 installation + AC_CHECK_LIB([Xdamage], [XDamageQueryExtension], [LIBS="$LIBS -lXdamage"], + AC_MSG_ERROR([Could not find XDamageQueryExtension in -lXdamage])) + fi + AC_DEFINE(HAVE_XDAMAGE, 1, [Define for X11 Xdamage extension]) + fi +fi + + +dnl +dnl Xft +dnl + +AC_ARG_ENABLE([xft], + AC_HELP_STRING([--disable-xft], [disable if you do not want to use Xft @<:@default=yes@:>@]), + [want_xft="$enableval"], [want_xft=yes]) + +if test x$want_xft = "xyes"; then + if test "x$want_x11" != "xyes"; then + dnl silently disable if no x11 + want_xft=no + else + PKG_CHECK_MODULES(XFT, [xft]) + CFLAGS="$CFLAGS $XFT_CFLAGS" + LIBS="$LIBS $XFT_LIBS" + AC_DEFINE(XFT, 1, [Define for Xft support]) + fi +fi + +dnl +dnl GLIB +dnl + +if test x$WANT_GLIB = xyes; then + PKG_CHECK_MODULES([GLIB], [glib-2.0]) + CFLAGS="$CFLAGS $GLIB_CFLAGS" + LIBS="$LIBS $GLIB_LIBS" +fi + +dnl +dnl KVM +dnl + +if test x$WANT_KVM = xyes; then + AC_CHECK_LIB(kvm, kvm_open, + LIBS="$LIBS -lkvm", + AC_MSG_ERROR([Could not find kvm_open in -lkvm.]) + ) +fi + +dnl +dnl devstat +dnl + +if test x$WANT_DEVSTAT = xyes; then + AC_CHECK_LIB(devstat, devstat_getversion, + LIBS="$LIBS -ldevstat", + AC_MSG_ERROR([Cound not find devstat_getversion in -ldevstat.]) + ) +fi + +dnl +dnl OSSLIB for NetBSD/OpenBSD +dnl + +if test x$WANT_OSSLIB = xyes; then + AC_CHECK_LIB(ossaudio, _oss_ioctl, + LIBS="$LIBS -lossaudio", + AC_MSG_ERROR([Could not find oss_ioctl in -lossaudio.]) + ) +fi + +dnl +dnl Some headers +dnl + +AC_CHECK_HEADERS([signal.h unistd.h sys/utsname.h sys/stat.h linux/soundcard.h dirent.h mcheck.h \ + sys/statfs.h sys/param.h pthread.h assert.h errno.h time.h]) +AC_CHECK_HEADERS([sys/mount.h], [], [], + [#ifdef HAVE_SYS_PARAM_H + #include + #endif + ]) + +AC_DEFINE([_GNU_SOURCE], [], [Define for GNU source and extensions]) + +dnl +dnl Some functions +dnl + +AC_CHECK_FUNCS([calloc malloc free popen sysinfo getloadavg memrchr]) +AC_SEARCH_LIBS(clock_gettime, [rt], + [AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if you have clock_gettime()])], + [AC_CHECK_FUNCS([gettimeofday], [], [AC_MSG_ERROR([gettimeofday() not available!])])], []) + + +dnl +dnl Check for zlib +dnl + +AC_CHECK_HEADER(zlib.h, + [], + [AC_MSG_ERROR([zlib is missing; please install the headers first])]) + + +dnl +dnl Check doc stuff +dnl + +AC_CHECK_PROGS(db2x_xsltproc_cmd, db2x_xsltproc) +AC_CHECK_PROGS(db2x_manxml_cmd, db2x_manxml) +AC_CHECK_PROGS(xsltproc_cmd, xsltproc) +if test x$db2x_xsltproc_cmd = "x" -o x$xsltproc_cmd = "x"; then + AM_CONDITIONAL(HAVE_DOCSTUFF, false) +else + AM_CONDITIONAL(HAVE_DOCSTUFF, true) +fi + + +dnl +dnl kstat in Solaris +dnl + +if test x$WANT_KSTAT = xyes; then + dah=no + AC_CHECK_LIB([kstat], [kstat_open], [dah=yes], []) + + if test x$dah = xyes; then + AC_DEFINE(HAVE_KSTAT, 1, [Define if you have kstat (Solaris)]) + LDFLAGS="$LDFLAGS -lkstat" + fi +fi + +AC_DEFUN([AM_LANGINFO_CODESET], +[ + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, + [AC_TRY_LINK([#include ], + [char* cs = nl_langinfo(CODESET);], + am_cv_langinfo_codeset=yes, + am_cv_langinfo_codeset=no) + ]) + if test $am_cv_langinfo_codeset = yes; then + AC_DEFINE(HAVE_LANGINFO_CODESET, 1, + [Define if you have and nl_langinfo(CODESET).]) + fi +]) + + +dnl ************************ +dnl * Linker optimizations * +dnl ************************ +AC_MSG_CHECKING([if $LD accepts -O1]) +case `$LD -O1 -v 2>&1 Wed Feb 15 04:34:46 UTC 2006 + +conky (1.3.4-1) unstable; urgency=low + + * New upstream release + + -- Brenden Matthews Wed, 16 Nov 2005 17:13:53 -0700 + +conky (1.3.3-1) unstable; urgency=low + + * New upstream release + * Removed ml_* variables from documentation (closes: #335543) + * Removed i2c line from sample config (closes: #329396) + + -- Jason Tan Tue, 25 Oct 2005 07:34:54 -0700 + +conky (1.3.1-1) unstable; urgency=low + + * New upstream release + * Added libxt-dev to build-depends in debian/control (closes: #327306) + * Fixed the double BSD-license in debian/copyright (closes: #327135) + + -- Jason Tan Sat, 10 Sep 2005 22:45:51 -0700 + +conky (1.3.0-1) unstable; urgency=low + + * Initial Release. (closes: #320978) + + -- Jason Tan Wed, 24 Aug 2005 00:10:49 -0700 + diff --git a/conky1/debian/compat b/conky1/debian/compat new file mode 100644 index 00000000..b8626c4c --- /dev/null +++ b/conky1/debian/compat @@ -0,0 +1 @@ +4 diff --git a/conky1/debian/control b/conky1/debian/control new file mode 100644 index 00000000..0708daf5 --- /dev/null +++ b/conky1/debian/control @@ -0,0 +1,18 @@ +Source: conky +Section: utils +Priority: optional +Maintainer: Brenden Matthews +Build-Depends: cdbs, debhelper (>= 4.1.0), xlibs-dev, libxt-dev +Standards-Version: 3.6.2 + +Package: conky +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: highly configurable system monitor for X based on torsmo + Conky is a system monitor for X originally based on the torsmo code. + Since its original conception, Conky has changed a fair bit from its + predecessor. Conky can display just about anything, either on your + root desktop or in its own window. Conky has many built-in objects, + as well as the ability to execute programs and scripts, then display + the output from stdout. See http://conky.sf.net for more info. + diff --git a/conky1/debian/copyright b/conky1/debian/copyright new file mode 100644 index 00000000..49c2f652 --- /dev/null +++ b/conky1/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by Jason Tan on +Wed, 24 Aug 2005 00:10:49 -0700. + +It was downloaded from http://www.sourceforge.net/projects/conky + +Copyright: This software is copyright (c) 2004-2005 by Brenden Matthews. + +Upstream Author: Brenden Matthews + +You are free to distribute this software under the terms of the BSD License. +On Debian systems, the complete text of the BSD License can be found in the +file `/usr/share/common-licenses/BSD'. \ No newline at end of file diff --git a/conky1/debian/docs b/conky1/debian/docs new file mode 100644 index 00000000..14419c56 --- /dev/null +++ b/conky1/debian/docs @@ -0,0 +1,6 @@ +README +TODO +doc/docs.html +doc/variables.html +doc/config_settings.html +doc/conkyrc.sample diff --git a/conky1/debian/menu b/conky1/debian/menu new file mode 100644 index 00000000..cfab3f71 --- /dev/null +++ b/conky1/debian/menu @@ -0,0 +1,2 @@ +?package(conky):needs="text" section="Apps/Tools"\ + title="Conky" command="/usr/bin/conky" diff --git a/conky1/debian/rules b/conky1/debian/rules new file mode 100755 index 00000000..1a1782d4 --- /dev/null +++ b/conky1/debian/rules @@ -0,0 +1,5 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-double-buffer --enable-own-window --enable-proc-uptime --enable-mpd --enable-xft --enable-seti --enable-portmon --enable-mldonkey diff --git a/conky1/doc/Makefile.am b/conky1/doc/Makefile.am new file mode 100644 index 00000000..c45f0f81 --- /dev/null +++ b/conky1/doc/Makefile.am @@ -0,0 +1,29 @@ +if HAVE_DOCSTUFF + +DOCS = conky.1 docs.html variables.html config_settings.html + +clean-am: clean-generic mostlyclean-am + rm -f docs.mxml + rm -f conky.1 + rm -f variables.html + rm -f config_settings.html + +conky.1: command_options.xml config_settings.xml docs.xml variables.xml + ${db2x_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml + ${db2x_manxml_cmd} docs.mxml + ${xsltproc_cmd} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html + man ./conky.1 | col -b > README + mv README ${top_srcdir} + xsltproc ${srcdir}/variables.xsl ${srcdir}/variables.xml > variables.html + xsltproc ${srcdir}/config_settings.xsl ${srcdir}/config_settings.xml > config_settings.html + +else +conky.1: + +endif + +man_MANS = conky.1 + +EXTRA_DIST = $(DOCS) conkyrc.sample command_options.xml config_settings.xml docgen.sh docs.xml variables.xml variables.xsl config_settings.xsl + +# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: diff --git a/conky1/doc/README.docs b/conky1/doc/README.docs new file mode 100644 index 00000000..cc21f958 --- /dev/null +++ b/conky1/doc/README.docs @@ -0,0 +1,41 @@ +DA DOCS. YO. +============ +The main file that contains the bulk of our documentation is docs.xml . +We use the DocBook format, which is a really kickass xml-based way of +writing documentation, heavily oriented towards programming and computer +stuff. There are tags like and