|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../xorg-server/modular-x-conf.in
|
|
|
|
# Copyright (C) 2007 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 ---
|
|
|
|
|
|
|
|
if [ $prefix_auto = 1 ] ; then
|
|
|
|
prefix="usr/X11R7"
|
|
|
|
set_confopt
|
|
|
|
fi
|
|
|
|
|
|
|
|
# apply external patches that Are defined in the .desc file
|
|
|
|
var_append patchfiles ' ' "`match_source_file -p patch`"
|
|
|
|
|
|
|
|
# in the past we suppressed generating those cache files, however then e.g.
|
|
|
|
# the virtual X server needed to build / install some packages does not work
|
|
|
|
flistdel="$flistdel|.*fonts/.*fonts\.(dir|scale|cache.*)|var/cache/fontconfig.*"
|
|
|
|
|
|
|
|
# needed due to inconsistent app-defaults dir handling
|
|
|
|
for ad in usr/X11/lib/X11/app-defaults usr/X11/lib64/X11/app-defaults \
|
|
|
|
\$prefix/lib/X11/app-defaults \$prefix/lib64/X11/app-defaults \
|
|
|
|
usr/X11/lib/app-defaults usr/X11/lib64/app-defaults; do
|
|
|
|
var_append INSTALL_WRAPPER_FILTER "|" "sed -e 's,$ad,etc/X11/app-defaults,'"
|
|
|
|
done
|
|
|
|
|