Headless operation ?

I started to setup another copy of the new linux beta client on one of my 3ware/gentoo boxes since its got lots of idle cycles. I realized when i went about emerging deps i dont want to emerge the whole x11 gui on this box or really anything gui related.

Is there an easy way to accomplish this other than commenting the code creating these dependencies for visualization before compiling ? I would assume the code is clean enough that i could do this with relative ease. A quick look at ps reveals (2 + nthreads) ? Nx Generate, 1x Upload/Download,1x Visualize. Seems like i could just comment the visualization portion.

25913 32524 0 07:31 pts/2 00:00:00 electricsheep --nthreads 3 --max-megabytes 0 --debug 1
8657 25913 99 22:31 pts/2 00:05:17 flam3-animate

25914 25913 0 07:31 pts/2 00:00:00 electricsheep --nthreads 3 --max-megabytes 0 --debug 1
25915 25914 19 07:31 pts/2 02:58:34 mplayer -really-quiet -fps 23 -
25917 25914 0 07:31 pts/2 00:01:23 electricsheep --nthreads 3 --max-megabytes 0 --debug 1

25916 25913 0 07:31 pts/2 00:00:01 electricsheep --nthreads 3 --max-megabytes 0 --debug 1
32241 25916 0 16:53 pts/2 00:00:00 curl --location --silent --show-error --output ....

25942 25913 0 07:33 pts/2 00:00:00 electricsheep --nthreads 3 --max-megabytes 0 --debug 1
16758 25942 99 22:34 pts/2 00:00:25 flam3-animate

26445 25913 0 07:33 pts/2 00:00:00 electricsheep --nthreads 3 --max-megabytes 0 --debug 1
9785 26445 99 22:31 pts/2 00:03:44 flam3-animate

looks like its pretty simple

in case anyone cares, i commented:

- checks for glade in the configure script
- code for make_display... and refs thereto in electricsheep.c
- all lines (compiles,links,constants) in Makefile relating to the electricsheep-preferences._ (uses GTK)

i could have commented the lines to recurse into ffmpeg i guess since it seems to be spawned and pipes used so i dont think there are any deps. im lazy though and didnt worry bout it. thats probably not an exhaustive list of the reqs since i just pulled out the stuff that killed the configure or make. not clean i know but it does what i want for the moment.

so, electricsheep installs and fires up fine. forgot to emerge curl though so its puking there right now. when i emerged i noticed im using a 2 year old profile on this machine so ive got update some core stuff till i can pull in curl. will report when ive finally got it up and running. And will probably setup a few more of my linux boxes for headless.