xlibs.build 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. cd $tmpdir
  2. cat > xlibs.md5 << "EOF"
  3. ce2fb8100c6647ee81451ebe388b17ad xtrans-1.4.0.tar.bz2
  4. f46572566e2cec801609d25f735285b7 libX11-1.7.0.tar.bz2
  5. f5b48bb76ba327cd2a8dc7a383532a95 libXext-1.3.4.tar.bz2
  6. 4e1196275aa743d6ebd3d3d5ec1dff9c libFS-1.0.8.tar.bz2
  7. 76d77499ee7120a56566891ca2c0dbcf libICE-1.0.10.tar.bz2
  8. 87c7fad1c1813517979184c8ccd76628 libSM-1.2.3.tar.bz2
  9. eeea9d5af3e6c143d0ea1721d27a5e49 libXScrnSaver-1.2.3.tar.bz2
  10. a9019421d3ee8b4937b6afd9025f018a libXt-1.2.0.tar.bz2
  11. ac774cff8b493f566088a255dbf91201 libXmu-1.1.3.tar.bz2
  12. c5f16288f2da9f071b29111d68797480 libXau-1.0.9.tar.bz2
  13. 6f0ecf8d103d528cfc803aa475137afa libXpm-3.5.13.tar.bz2
  14. e5e06eb14a608b58746bdd1c0bd7b8e3 libXaw-1.0.13.tar.bz2
  15. 07e01e046a0215574f36a3aacb148be0 libXfixes-5.0.3.tar.bz2
  16. 3fa0841ea89024719b20cd702a9b54e0 libXcomposite-0.4.5.tar.bz2
  17. 802179a76bded0b658f4e9ec5e1830a4 libXrender-0.9.10.tar.bz2
  18. 9b9be0e289130fb820aedf67705fc549 libXcursor-1.2.0.tar.bz2
  19. e3f554267a7a04b042dc1f6352bd6d99 libXdamage-1.1.5.tar.bz2
  20. 6447db6a689fb530c218f0f8328c3abc libfontenc-1.1.4.tar.bz2
  21. 115c5c12ecce0e749cd91d999a5fd160 libXdmcp-1.1.3.tar.bz2
  22. 16eaf156edd79b68038b6a7c44aa9e9b libXfont-1.5.4.tar.bz2
  23. 4a433c24627b4ff60a4dd403a0990796 libXft-2.3.3.tar.bz2
  24. 62c4af0839072024b4b1c8cbe84216c7 libXi-1.7.10.tar.bz2
  25. 0d5f826a197dae74da67af4a9ef35885 libXinerama-1.1.4.tar.bz2
  26. 18f3b20d522f45e4dadd34afb5bea048 libXrandr-1.5.2.tar.bz2
  27. 5d6d443d1abc8e1f6fc1c57fb27729bb libXres-1.2.0.tar.bz2
  28. ef8c2c1d16a00bd95b9fdcef63b8a2ca libXtst-1.2.3.tar.bz2
  29. 210b6ef30dda2256d54763136faa37b9 libXv-1.0.11.tar.bz2
  30. 3569ff7f3e26864d986d6a21147eaa58 libXvMC-1.0.12.tar.bz2
  31. 0ddeafc13b33086357cfa96fae41ee8e libXxf86dga-1.1.5.tar.bz2
  32. 298b8fff82df17304dfdb5fe4066fe3a libXxf86vm-1.1.4.tar.bz2
  33. d2f1f0ec68ac3932dd7f1d9aa0a7a11c libdmx-1.1.4.tar.bz2
  34. b34e2cbdd6aa8f9cc3fa613fd401a6d6 libpciaccess-0.16.tar.bz2
  35. dd7e1e946def674e78c0efbc5c7d5b3b libxkbfile-1.1.0.tar.bz2
  36. 42dda8016943dc12aff2c03a036e0937 libxshmfence-1.3.tar.bz2
  37. EOF
  38. if [ ! -d xlibs ]; then
  39. mkdir xlibs
  40. fi
  41. cd xlibs
  42. grep -v '^#' ../xlibs.md5 | awk '{print $2}' | wget -i- -c \
  43. -B $xlibmirror/ &&
  44. md5sum -c ../xlibs.md5
  45. for package in $(grep -v '^#' ../xlibs.md5 | awk '{print $2}')
  46. do
  47. packagedir=${package%.tar.bz2}
  48. tar -xf $package
  49. config_var="--prefix=$freondir --enable-shared"
  50. cd $packagedir
  51. case $packagedir in
  52. libICE* )
  53. ./configure $config_var ICE_LIBS=-lpthread
  54. make -j$corecount
  55. make install
  56. ;;
  57. libXfont2-[0-9]* )
  58. ./configure $config_var --disable-devel-docs
  59. make -j$corecount
  60. make install
  61. ;;
  62. libXt-[0-9]* )
  63. ./configure $config_var \
  64. --with-appdefaultdir=$freondir/etc/X11/app-defaults
  65. make -j$corecount
  66. make install
  67. ;;
  68. * )
  69. ./configure $config_var
  70. make -j$corecount
  71. make install
  72. ;;
  73. esac
  74. cd ..
  75. done