<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Thu, 2010-07-08 at 16:34 -0700, David G wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<TT><FONT COLOR="#1a1a1a">I have walked through building individual components one by one in</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">attempt to learn what depends on what and have a much better grasp on</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">some of the dependencies than I did a couple days ago however I am</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">still lacking knowledge. What would be very helpful would be docs</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">which explain each component so I can (hopefully) choose which is</FONT></TT><BR>
<TT><FONT COLOR="#1a1a1a">needed and which isn't.</FONT></TT><BR>
<BR>
</BLOCKQUOTE>
Last week I wanted to have a minimally configured xserver for build related work. I did a brain dead job of compiling<BR>
an xserver with the minimum packages possible. No idea if it actually works.<BR>
<BR>
This is the list of packages, in build order, that will compile, including their configuration options:<BR>
<BR>
<BLOCKQUOTE>
<PRE>
util/macros
font/util
./pixman
proto/xproto
proto/kbproto
proto/xextproto
proto/inputproto
lib/libXau
xcb/proto
xcb/pthread-stubs
xcb/libxcb
lib/libxtrans
lib/libX11
proto/bigreqsproto
proto/damageproto
proto/fixesproto
proto/fontsproto
proto/inputproto
proto/kbproto
proto/randrproto
proto/renderproto
proto/videoproto
proto/xcmiscproto
proto/xextproto
proto/xproto
lib/libxkbfile
lib/libfontenc
lib/libXfont --disable-freetype
lib/libpciaccess
./xserver --disable-glx --disable-dri --disable-composite --disable-record --disable-screensaver --disable-xres --disable-xinerama
</PRE>
</BLOCKQUOTE>
This was done on Ubuntu Jaunty on AMD64. There may be non xorg dependencies that are part of the distro that I am not aware of. You may also want to disable document generation using --disable-specs --disable-docs or --disable-devel-docs.<BR>
<BR>
You can export PKG_CONFIG_LIBDIR=/dev/null to ensure you do not link to dependencies you are not aware of.<BR>
<BR>
This is the list of pkg-config files that I ended-up with at the end of the build:<BR>
<BR>
<BR>
<BLOCKQUOTE>
<PRE>
bigreqsproto.pc
damageproto.pc
fixesproto.pc
fontenc.pc
fontsproto.pc
fontutil.pc
inputproto.pc
kbproto.pc
pciaccess.pc
pixman-1.pc
pthread-stubs.pc
randrproto.pc
renderproto.pc
videoproto.pc
x11.pc
x11-xcb.pc
xau.pc
xcb-composite.pc
xcb-damage.pc
xcb-dpms.pc
xcb-dri2.pc
xcb-glx.pc
xcb.pc
xcb-proto.pc
xcb-randr.pc
xcb-record.pc
xcb-render.pc
xcb-res.pc
xcb-screensaver.pc
xcb-shape.pc
xcb-shm.pc
xcb-sync.pc
xcb-xevie.pc
xcb-xf86dri.pc
xcb-xfixes.pc
xcb-xinerama.pc
xcb-xprint.pc
xcb-xtest.pc
xcb-xvmc.pc
xcb-xv.pc
xcmiscproto.pc
xextproto.pc
xfont.pc
xkbfile.pc
xorg-server.pc
xproto.pc
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>