derle 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. unset MAKEFLAGS
  2. cat > app-7.md5 << "EOF"
  3. 3b9b79fa0f9928161f4bad94273de7ae iceauth-1.0.8.tar.bz2
  4. c4a3664e08e5a47c120ff9263ee2f20c luit-1.1.1.tar.bz2
  5. 18c429148c96c2079edda922a2b67632 mkfontdir-1.0.7.tar.bz2
  6. 215940de158b1a3d8b3f8b442c606e2f mkfontscale-1.2.1.tar.bz2
  7. e475167a892b589da23edf8edf8c942d sessreg-1.1.1.tar.bz2
  8. 2c47a1b8e268df73963c4eb2316b1a89 setxkbmap-1.3.1.tar.bz2
  9. 3a93d9f0859de5d8b65a68a125d48f6a smproxy-1.0.6.tar.bz2
  10. e96b56756990c56c24d2d02c2964456b x11perf-1.6.1.tar.bz2
  11. f3f76cb10f69b571c43893ea6a634aa4 xauth-1.0.10.tar.bz2
  12. d50cf135af04436b9456a5ab7dcf7971 xbacklight-1.2.2.tar.bz2
  13. 9956d751ea3ae4538c3ebd07f70736a0 xcmsdb-1.0.5.tar.bz2
  14. 25cc7ca1ce5dcbb61c2b471c55e686b5 xcursorgen-1.0.7.tar.bz2
  15. 8809037bd48599af55dad81c508b6b39 xdpyinfo-1.3.2.tar.bz2
  16. 480e63cd365f03eb2515a6527d5f4ca6 xdriinfo-1.0.6.tar.bz2
  17. eec82a5d4b599736f0fa637e96136746 xev-1.2.3.tar.bz2
  18. 90b4305157c2b966d5180e2ee61262be xgamma-1.0.6.tar.bz2
  19. a48c72954ae6665e0616f6653636da8c xhost-1.0.8.tar.bz2
  20. 6a889412eff2e3c1c6bb19146f6fe84c xinput-1.6.2.tar.bz2
  21. 12610df19df2af3797f2c130ee2bce97 xkbcomp-1.4.2.tar.bz2
  22. c747faf1f78f5a5962419f8bdd066501 xkbevd-1.1.4.tar.bz2
  23. 502b14843f610af977dffc6cbf2102d5 xkbutils-1.0.4.tar.bz2
  24. 938177e4472c346cf031c1aefd8934fc xkill-1.0.5.tar.bz2
  25. 61671fee12535347db24ec3a715032a7 xlsatoms-1.1.3.tar.bz2
  26. 4fa92377e0ddc137cd226a7a87b6b29a xlsclients-1.1.4.tar.bz2
  27. e50ffae17eeb3943079620cb78f5ce0b xmessage-1.0.5.tar.bz2
  28. 51f1d30a525e9903280ffeea2744b1f6 xmodmap-1.0.10.tar.bz2
  29. eaac255076ea351fd08d76025788d9f9 xpr-1.0.5.tar.bz2
  30. cc369c28383a5d7144e7197ee7d30bfa xprop-1.2.4.tar.bz2
  31. ebffac98021b8f1dc71da0c1918e9b57 xrandr-1.5.0.tar.bz2
  32. 34ae801ef994d192c70fcce2bdb2a1b2 xrdb-1.2.0.tar.bz2
  33. c56fa4adbeed1ee5173f464a4c4a61a6 xrefresh-1.0.6.tar.bz2
  34. 70ea7bc7bacf1a124b1692605883f620 xset-1.2.4.tar.bz2
  35. 5fe769c8777a6e873ed1305e4ce2c353 xsetroot-1.1.2.tar.bz2
  36. b13afec137b9b331814a9824ab03ec80 xvinfo-1.1.4.tar.bz2
  37. 11794a8eba6d295a192a8975287fd947 xwd-1.0.7.tar.bz2
  38. 9a505b91ae7160bbdec360968d060c83 xwininfo-1.1.4.tar.bz2
  39. 79972093bb0766fcd0223b2bd6d11932 xwud-1.0.5.tar.bz2
  40. EOF
  41. for paket in $(grep -v '^#' app-7.md5 |cut -d " " -f 3)
  42. do
  43. cd $DERLEME_KAYNAKDIZIN/
  44. #agdan ceker
  45. if [ ! -f $DERLEME_KAYNAKDIZIN/$paket ];then
  46. wget https://www.x.org/archive//individual/app/$paket
  47. fi
  48. grep $paket $SRC/app-7.md5 |md5sum -c -
  49. paketdizini=$(echo $paket | sed 's/.tar.bz2//')
  50. cd -
  51. tar -xf $DERLEME_KAYNAKDIZIN/$paket
  52. pushd $paketdizini
  53. case $paketdizini in
  54. luit-[0-9]* )
  55. line1="#ifdef _XOPEN_SOURCE"
  56. line2="# undef _XOPEN_SOURCE"
  57. line3="# define _XOPEN_SOURCE 600"
  58. line4="#endif"
  59. sed -i -e "s@#ifdef HAVE_CONFIG_H@$line1\n$line2\n$line3\n$line4\n\n&@" sys.c
  60. unset line1 line2 line3 line4
  61. ;;
  62. sessreg-* )
  63. sed -e 's/\$(CPP) \$(DEFS)/$(CPP) -P $(DEFS)/' -i man/Makefile.in
  64. ;;
  65. esac
  66. ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  67. make
  68. make DESTDIR=$PKG install
  69. popd
  70. done