Skip to content

Instantly share code, notes, and snippets.

@xqms
Created September 22, 2011 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xqms/1234361 to your computer and use it in GitHub Desktop.
Save xqms/1234361 to your computer and use it in GitHub Desktop.
Building X.org from source - http://xqms.github.com/blog/building_xorg.html
jhbuild -f jhbuildrc build \
xserver \ # xorg core
xf86-video-intel \ # my video driver
xf86-input-evdev \ # input via evdev
xkeyboard-config \ # for keymaps and so on
xf86-input-synaptics # touchpad
# modules will be checked out in checkoutroot/xorg
# modules will be built in checkoutroot/build
checkoutroot = '/home/max/devel/privat/pscroll'
moduleset = os.path.join(checkoutroot, 'xorg/util/modular/xorg.modules')
modules = [ 'xorg' ]
prefix = os.path.join(checkoutroot, 'build')
os.environ['ACLOCAL'] = 'aclocal -I ' + os.path.join(prefix, 'share', 'aclocal')
os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib', 'pkgconfig') \
+ ':' + os.path.join(prefix, 'share', 'pkgconfig')
bin/Xorg :1 -terminate & sleep 1 && DISPLAY=:1 xterm
cd $SRC_DIR
git clone git://anongit.freedesktop.org/git/xorg/util/modular util/modular
cd build
chown root bin/Xorg
chmod u+s bin/Xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment