You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get-orig-source.sh 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/bash
  2. #curl -L -o tigervnc-1.3.0.tar.bz2 "http://downloads.sourceforge.net/project/tigervnc/tigervnc/1.3.0/tigervnc-1.3.0.tar.bz2"
  3. #tar xjf tigervnc-*.tar.bz2
  4. #rm tigervnc-*.tar.bz2
  5. curl -OL http://sourceforge.net/code-snapshots/svn/t/ti/tigervnc/code/tigervnc-code-5136-trunk.zip
  6. unzip tigervnc-code-*-trunk.zip
  7. mv tigervnc-code-*-trunk tigervnc-1.3.80
  8. rm tigervnc-code-*-trunk.zip
  9. pushd tigervnc-*
  10. curl -L -o fltk-1.3.2-source.tar.gz 'http://anonscm.debian.org/gitweb/?p=users/ucko/fltk1.3.git;a=snapshot;h=HEAD;sf=tgz'
  11. tar xzf fltk-*-source.tar.gz
  12. rm fltk-*-source.tar.gz
  13. mv fltk1.3-* fltk-1.3.2
  14. pushd fltk-*
  15. sh ../../debian/patch_fltk.sh
  16. find . -name "*.orig" -exec rm {} \;
  17. popd
  18. curl -L -o xorg-server-1.11.4-0ubuntu10.3.tar.gz 'http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=snapshot;h=cbf435a091906484112f5c4cf35b17738e779ce9;sf=tgz'
  19. tar xzf xorg-server-*.tar.gz
  20. rm xorg-server-*.tar.gz
  21. pushd xorg-server-*
  22. QUILT_PATCHES=debian/patches quilt push -a
  23. popd
  24. cp -r xorg-server-*/* unix/xserver
  25. rm -rf xorg-server-*
  26. pushd unix/xserver
  27. for all in `find . -type f -perm -001`; do
  28. chmod -x "$all"
  29. done
  30. patch -p1 -b --suffix .vnc < ../xserver111.patch
  31. popd
  32. popd
  33. if [ -e tigervnc_1.3.80.orig.tar.gz ] ; then
  34. rm tigervnc_1.3.80.orig.tar.gz
  35. fi
  36. tar czf tigervnc_1.3.80.orig.tar.gz tigervnc-1.3.80
  37. rm -rf tigervnc-1.3.80