Dash:
[t2-trunk.git] / package / xorg / package-modular-x-deps.sh
blob1b36c16ef10e35fbc80d383ea5525462e8c8ffa8
1 #!/bin/bash
2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 #
5 # T2 SDE: package/.../package-modular-x-deps.sh
6 # Copyright (C) 2004 - 2005 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 # --- T2-COPYRIGHT-NOTE-END ---
16 i=400
18 tune_prio ()
20 pkg=`echo $1 | tr A-Z a-z`
21 sed -i "s/\[P\] .*/[P] X -----5---9 $2/" package/*/$pkg/$pkg.desc
24 for x in bigreqs composite damage dmx evie fixes fontcache fonts gl input \
25 kb print randr record render resource scrnsaver trap video x \
26 xcmisc xext xf86bigfont xf86dga xf86dri xf86misc xf86rush xf86vidmode \
27 xinerama panoramix ; do
28 case $x in
29 evie)
30 tune_prio ${x}ext 112.$i ;;
32 tune_prio ${x}proto 112.$i ;;
33 esac
35 done
37 for x in xtrans Xau Xdmcp X11 Xext dmx fontenc FS ICE lbxutil oldX SM \
38 Xt Xmu Xpm Xp Xaw Xfixes Xcomposite Xrender Xdamage Xcursor Xevie \
39 Xfont Xfontcache Xft Xi Xinerama xkbfile xkbui XprintUtil XprintAppUtil \
40 Xrandr XRes XScrnSaver XTrap Xtst Xv XvMC Xxf86dga Xxf86misc Xxf86vm ; do
42 case $x in
43 xtrans)
44 tune_prio $x 112.$((i++)) ;;
46 tune_prio lib$x 112.$((i++)) ;;
47 esac
48 done
50 tune_prio mkfontscale 112.550
51 tune_prio xserver 112.$(( i++ ))
52 tune_prio xorg 112.$(( i++ ))
54 tune_prio xbitmaps 112.$(( i++ ))
56 tune_prio font-util 112.$(( i++ ))
58 tune_prio xorg-server 112.$(( i++ ))