# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../kdebase/kdebase.conf # Copyright (C) 2007 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # # 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 pkginstalled samba; then pkgprefix -t samba for x in GCC CPP; do var_append ${x}_WRAPPER_APPEND " " "-I$( pkgprefix includedir samba )" var_append ${x}_WRAPPER_APPEND " " "-L$( pkgprefix libdir samba )" done fi # for fontconfig var_append GCC_WRAPPER_APPEND " " "-I/usr/X11/include" kde_base_pi() { register_xdm kdm "KDE display manager" "$bindir/kdm -nodaemon" register_wm kde "KDE v$ver" $bindir/startkde cp -fv $confdir/Xsession.* $datadir/config/kdm/ # Set's "Curser" as Konsole's default font, fixes the # doublespace issue cp $fv $confdir/konsolerc $datadir/config # Set's aRts as the default soundsystem, prevents the # "CPU overload" errors cp -fv $confdir/kcmartsrc $datadir/config/ } hook_add postinstall 3 "kde_base_pi"