OpenSDE Packages Database (without history before r20070)
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.

59 lines
1.6 KiB

  1. #!/bin/bash
  2. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  5. # Filename: package/.../package-modular-x-deps.sh
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- SDE-COPYRIGHT-NOTE-END ---
  15. i=400
  16. tune_prio ()
  17. {
  18. pkg=`echo $1 | tr A-Z a-z`
  19. sed -i "s/\[P\] .*/[P] X -----5---9 $2/" package/*/$pkg/$pkg.desc
  20. }
  21. for x in bigreqs composite damage dmx evie fixes fontcache fonts gl input \
  22. kb print randr record render resource scrnsaver trap video x \
  23. xcmisc xext xf86bigfont xf86dga xf86dri xf86misc xf86rush xf86vidmode \
  24. xinerama panoramix ; do
  25. case $x in
  26. evie)
  27. tune_prio ${x}ext 112.$i ;;
  28. *)
  29. tune_prio ${x}proto 112.$i ;;
  30. esac
  31. done
  32. for x in xtrans Xau Xdmcp X11 Xext dmx fontenc FS ICE lbxutil oldX SM \
  33. Xt Xmu Xpm Xp Xaw Xfixes Xcomposite Xrender Xdamage Xcursor Xevie \
  34. Xfont Xfontcache Xft Xi Xinerama xkbfile xkbui XprintUtil XprintAppUtil \
  35. Xrandr XRes XScrnSaver XTrap Xtst Xv XvMC Xxf86dga Xxf86misc Xxf86vm ; do
  36. case $x in
  37. xtrans)
  38. tune_prio $x 112.$((i++)) ;;
  39. *)
  40. tune_prio lib$x 112.$((i++)) ;;
  41. esac
  42. done
  43. tune_prio mkfontscale 112.550
  44. tune_prio xserver 112.$(( i++ ))
  45. tune_prio xorg 112.$(( i++ ))
  46. tune_prio xbitmaps 112.$(( i++ ))
  47. tune_prio font-util 112.$(( i++ ))
  48. tune_prio xorg-server 112.$(( i++ ))