summaryrefslogtreecommitdiff
path: root/sysutils/wmcpuload
AgeCommit message (Collapse)AuthorFilesLines
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-2/+1
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-24Add RMD160 digests.agc1-1/+2
2004-04-18Convert to buildlink3.snj1-3/+3
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-03-09Update to 1.0.1. Changes since 0.9.0:jmmv5-114/+7
* src/cpu_freebsd.c: changed to use <sys/resource.h> instead of <sys/dkstat.h> in the case of __FreeBSD_version >= 500101. (Thanks to Philip Paeps <philip at paeps.cx) * doc/wmcpuload.1: updated * cpu_darwin.c: added (Landon Fuller <landonblue at mac.com>) * main.c: changed description for `--cpu' oprion to be more clear. * README: updated * cpu_irix.c: added for IRIX (Jonathan C. Patschke <jp at celestrion.net>) * version 1.0.0 released * code cleanup/review * dockapp.c: renamed dockapp_getcolor() to dockapp_getcolor_pixel(). * dockapp.c: added get_closest_color_pixel() to find closest color in Pseudo visual class. * src/Makefile.am: added missing @DFLAGS@ * cpu_bsdi.c: added (Nicolas Belan <belan at matranet.com>) * dockapp.c, dockapp.h: moved to libdockapp/dockapp.[ch] * libdockapp/{COPYING,AUTHORS}: added (taken from libdockapp-0.4.0) * configure.ac: removed '-L/usr/local/lib' '-I/usr/local/include' from *_search_path (Thanks to Thomas Runge <coto at core.de>) * README: added 'for GNOME users' section * cpu_cywin.c: rewrote to separate cpu_get_usage(). ( ==> cpu_get_usage_9x(), cpu_get_usage_NT()) * dockapp.c: removed background panel from windowed mode. * dockapp.c: added '-wp, --windowed-withpanel' option. * main.c: added '-t, --title' option to specify title name (Thanks to Ryan Lovett <ryan at ocf.berkeley.edu>) * wmcpuload.1: updated * cpu_netbsd.c: added 'CP_INTR' parameter * added NetBSD support (Thomas Runge <coto at core.de>) Closes PR pkg/20631 by Thomas Runge (the maintainer).
2002-08-25Merge packages from the buildlink2 branch back into the main trunk thatjlam1-5/+5
have been converted to USE_BUILDLINK2.
2002-03-24Add wmcpuload, a windowmaker dockapp for showing CPU usage, providedwiz7-0/+133
by Thomas Runge in pkg/16036, buildlinked by me.