# grabc/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. Presently, the source tarball that's used for this package is # ancient (it dates back to 1998). However, as of mid-2007, it was # the latest known official version. # 2. The 1998 source tarball doesn't appear to contain any license in- # formation. However, as of mid-2007, the official home page indicated # that the code was GPL'd. # Note: AFAIK, GPL status isn't revocable under normal circumstances # [although authors can release forks under new licenses]. Therefore, # the 1998 tarball can be treated as GPL'd even if the home page is # changed at a later date. [buildtimes] 00.00 hours (or 000.02 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.03 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.05 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none license = See the preceding technical notes revision = numeric setpath = xorg tmpsize = 1M #--------------------------------------------------------------------- [depends] xorg #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin MANDIR=$PKGDIR_PROD/man/man1 mkdir -p $BINDIR $MANDIR make cp -p grabc $BINDIR/ cp -p debian/grabc.1 $MANDIR/ #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/x11/grabc url_home = http://muquit.com/muquit/software/grabc/grabc.html url_lfs = n/a url_tarball = http://muquit.com/muquit/software/grabc/\ grabc1.1.tar.gz #--------------------------------------------------------------------- [about] "grabc" makes it possible to identify colors used by arbitrary pixels. When this program is run, it grabs the mouse pointer and changes the cursor to a cross-hair. When the mouse is clicked, this program prints two versions of the associated color code: a. It prints a standard 7-character "#hhhhhh" string to the standard-output stream ["#" followed by two-digit hex codes for the red, green, and blue components]. For example: Royal Blue = #3a5fcd b. It also prints the red, green, and blue components to the standard-error stream as three comma-separated decimal num- bers. For example: Royal Blue = 58,95,205 Note: To obtain just one of the two formats, use I/O redirection to send the unwanted format to "/dev/null". For example: grabc 2> /dev/null - Display 7-character "#hhhhhh" string grabc 1> /dev/null - Display three-part d,d,d string