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.
46 lines
1.4 KiB
46 lines
1.4 KiB
18 years ago
|
#!/bin/sh
|
||
|
# --- T2-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# T2 SDE: package/.../xorg-server/xorg-server.conf
|
||
|
# 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 ---
|
||
|
|
||
|
x_postmake() {
|
||
|
ln -sfv Xorg $root$bindir/X
|
||
|
|
||
|
rm -fv $root/etc/fonts/*.bak
|
||
|
|
||
|
echo "Copying default example configs ..."
|
||
|
cp -fv $confdir/xorg.conf.{example,template} \
|
||
|
$root/etc/X11/
|
||
|
if [ -f $root/etc/X11/xorg.conf ]; then
|
||
|
touch $root/etc/X11/xorg.conf
|
||
|
else
|
||
|
cp -v $root/etc/X11/xorg.conf{.example,}
|
||
|
fi
|
||
|
|
||
|
install -m 755 $confdir/startxdm.sh $root$bindir/startxdm
|
||
|
install -m 755 $confdir/xcfgt2.sh $root$bindir/xcfgt2
|
||
|
install -m 755 $confdir/xvfb-run.sh $root$bindir/xvfb-run
|
||
|
|
||
|
echo "Installing X Setup Script ..."
|
||
|
echo "export WINDOWMANAGER=kde" > $root/etc/profile.d/windowmanager
|
||
|
}
|
||
|
|
||
|
var_append GCC_WRAPPER_REMOVE ' ' '-I/usr/X11R6/include'
|
||
|
var_append GCC_WRAPPER_REMOVE ' ' '-L/usr/X11R6/lib'
|
||
|
|
||
|
# broken right now
|
||
|
var_append confopt " " "--disable-dmx"
|
||
|
|
||
|
hook_add postmake 5 "x_postmake"
|
||
|
|