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.
60 lines
1.6 KiB
60 lines
1.6 KiB
18 years ago
|
#!/bin/bash
|
||
|
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# T2 SDE: package/.../package-modular-x-deps.sh
|
||
|
# Copyright (C) 2004 - 2006 The T2 SDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of the GNU General Public License as published by
|
||
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
||
|
# GNU General Public License can be found in the file COPYING.
|
||
|
# --- T2-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
i=400
|
||
|
|
||
|
tune_prio ()
|
||
|
{
|
||
|
pkg=`echo $1 | tr A-Z a-z`
|
||
|
sed -i "s/\[P\] .*/[P] X -----5---9 $2/" package/*/$pkg/$pkg.desc
|
||
|
}
|
||
|
|
||
|
for x in bigreqs composite damage dmx evie fixes fontcache fonts gl input \
|
||
|
kb print randr record render resource scrnsaver trap video x \
|
||
|
xcmisc xext xf86bigfont xf86dga xf86dri xf86misc xf86rush xf86vidmode \
|
||
|
xinerama panoramix ; do
|
||
|
case $x in
|
||
|
evie)
|
||
|
tune_prio ${x}ext 112.$i ;;
|
||
|
*)
|
||
|
tune_prio ${x}proto 112.$i ;;
|
||
|
esac
|
||
|
|
||
|
done
|
||
|
|
||
|
for x in xtrans Xau Xdmcp X11 Xext dmx fontenc FS ICE lbxutil oldX SM \
|
||
|
Xt Xmu Xpm Xp Xaw Xfixes Xcomposite Xrender Xdamage Xcursor Xevie \
|
||
|
Xfont Xfontcache Xft Xi Xinerama xkbfile xkbui XprintUtil XprintAppUtil \
|
||
|
Xrandr XRes XScrnSaver XTrap Xtst Xv XvMC Xxf86dga Xxf86misc Xxf86vm ; do
|
||
|
|
||
|
case $x in
|
||
|
xtrans)
|
||
|
tune_prio $x 112.$((i++)) ;;
|
||
|
*)
|
||
|
tune_prio lib$x 112.$((i++)) ;;
|
||
|
esac
|
||
|
done
|
||
|
|
||
|
tune_prio mkfontscale 112.550
|
||
|
tune_prio xserver 112.$(( i++ ))
|
||
|
tune_prio xorg 112.$(( i++ ))
|
||
|
|
||
|
tune_prio xbitmaps 112.$(( i++ ))
|
||
|
|
||
|
tune_prio font-util 112.$(( i++ ))
|
||
|
|
||
|
tune_prio xorg-server 112.$(( i++ ))
|
||
|
|