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.
 
 
 
 
 
 

49 lines
1.5 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../xorg-server/xorg-server.conf
# Copyright (C) 2007 - 2008 The OpenSDE Project
# 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.
# --- SDE-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
}
if atstage cross; then
# help configure
var_append configcache ' ' "ac_cv_file__${prefix//\//_}_share_sgml_X11_defs_ent=no"
fi
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"