Created
September 22, 2011 08:43
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/Xorg :1 -terminate & sleep 1 && DISPLAY=:1 xterm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd $SRC_DIR | |
git clone git://anongit.freedesktop.org/git/xorg/util/modular util/modular |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd build | |
chown root bin/Xorg | |
chmod u+s bin/Xorg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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