FIXUPHACK 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. #if the pkg created in packages-woof has something wrong, this file is a last
  2. #resort to fix it. Current-dir is where this file FIXUPHACK is located.
  3. [ -f usr/bin/X ] && mv usr/bin/X usr/bin/X-ORIG
  4. ln -s Xorg usr/bin/X
  5. #ln -s ../../../etc/X11/xkb usr/share/X11/xkb
  6. #100416 restore...
  7. ##remove GL stuff to save space...
  8. #rm -rf usr/lib/dri
  9. #rm -f usr/lib/libEGL.so* 2>/dev/null
  10. #rm -f usr/lib/libGL*
  11. #100328 if building xorg 7.3, need a different /etc/X11/xorg.conf0...
  12. #...no, will do it in xorgwizard.
  13. #100416 ubuntu lucid has moved libGL.so* to /usr/lib/mesa (why oh why!!!???)...
  14. #note, but not libGLU.so*
  15. if [ -e usr/lib/mesa/libGL.so.1 ];then
  16. ln -s mesa/libGL.so.1 usr/lib/libGL.so.1
  17. ln -s mesa/libGL.so usr/lib/libGL.so
  18. ln -s mesa/libGL.so.1.2 usr/lib/libGL.so.1.2
  19. fi
  20. #120406 gxmessage pkg creates xmessage symlink to it (in pinstall.sh). get real xmessage out of the way...
  21. if [ -f usr/bin/xmessage ];then
  22. if [ ! -h usr/bin/xmessage ];then
  23. mkdir -p usr/X11R7/bin
  24. mv -f usr/bin/xmessage usr/X11R7/bin/
  25. fi
  26. fi