wiki:Xorg7Libraries

Xorg 7

Libraries

Installation Script

  • Start a subshell, that exits on error, so that the loop does not continue if a package fails to build.
bash -e
  • Automated build of all packages. Comment out any packages that you do not want to install.
for package in $(grep -v '^#' ../lib-7.6-2.wget)
do
  packagedir=${package%.tar.bz2}
  tar -xf $package
  cd $packagedir
  case "$packagedir" in
    libXfont-[0-9]* )
                      ./configure $XORG_CONFIG --disable-devel-docs
                    ;;
       libXt-[0-9]* )
                      ./configure $XORG_CONFIG \
                          --with-appdefaultdir=/etc/X11/app-defaults
                    ;;
                  * )
                      ./configure $XORG_CONFIG
                    ;;
  esac
  make
  make install
  ldconfig
  cd ..
  rm -rf $packagedir
done 2>&1 | tee -a ../lib-7.6-2-compile.log

libAppleWM and libWindowsWM are dependent on applewmproto and windowswmproto, respectively. Also, the other library packages are dependent on one another and have to be installed in a certain order.

Up
Top

Last modified 10 years ago Last modified on 09/15/2011 05:05:09 AM
Note: See TracWiki for help on using the wiki.