wiki:Xorg7Libraries

Version 12 (modified by DJ Lucas, 13 years ago) ( diff )

--

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.2.wget)
do
  packagedir=$(echo $package | sed 's/.tar.bz2//')
  tar -xf $package
  cd $packagedir
  case "$packagedir" in
  libX11-1.1.2 )
    # Uncomment if you did not build libxcb
    CONFIGPARAMS="--without-xcb"
    patch -Np1 -i ../../libX11-1.1.2-badargs-1.patch &&
    sed -i 's/_XGet/XGet/' modules/im/ximcp/imDefLkup.c
    ;;
  libXfont-1.2.8 )
    patch -Np1 -i ../../libXfont-1.2.8-pcf_parser-1.patch &&
    sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c
    ;;
  esac &&
  ./configure $XORG_CONFIG $CONFIGPARAMS
  make
  make install
  unset CONFIGPARAMS
  ldconfig
  cd ..
  rm -rf $packagedir
done 2>&1 | tee -a ../lib-7.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

Note: See TracWiki for help on using the wiki.