I got it working on debian system like this:
1) installed qstat package
2) add following lines to /etc/qstat.cfg:
gametype TREMULOUS new extend Q3S
name = Tremulous
template var = TREMULOUS
game rule = gamename
end
gametype TREMULOUSM new extend Q3M
name = Tremulous Master
template var = TREMULOUSMASTER
default port = 30710
master protocol = 69
master for gametype = TREMULOUS
end
2a) at this point you might test if qstat can get list of servers from tremulous master: quakestat -tremulousm master.tremulous.net:30710
3) install development packages (autoconf, intltool, libgeoip-dev etc)
4) download xqf cvs source:
cvs -z3 -d:pserver:anonymous@xqf.cvs.sourceforge.net:/cvsroot/xqf co -P xqf
5) modify debian/rules files to compile it against gtk2, not gtk1 (miserable default) by adding '--enable-gtk2' to the ./configure line
6) run ./autogen.sh to create configure file blatantly ignoring all warnings
7) compile into debian package: dpkg-buildpackage -rfakeroot -b -us -uc
7) install new xqf package sudo dpkg -i ../xqf_0.9.4-0.1_i386.deb