OpenSDE Packages Database (without history before r20070)
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.

45 lines
1.4 KiB

  1. #!/bin/sh
  2. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  5. # T2 SDE: package/.../kdebase/kdebase.conf
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2004 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. if pkginstalled samba; then
  17. pkgprefix -t samba
  18. for x in GCC CPP; do
  19. var_append ${x}_WRAPPER_APPEND " " "-I$( pkgprefix includedir samba )"
  20. var_append ${x}_WRAPPER_APPEND " " "-L$( pkgprefix libdir samba )"
  21. done
  22. fi
  23. # for fontconfig
  24. var_append GCC_WRAPPER_APPEND " " "-I/usr/X11/include"
  25. kde_base_pi()
  26. {
  27. register_xdm kdm "KDE display manager" "$bindir/kdm -nodaemon"
  28. register_wm kde "KDE v$ver" $bindir/startkde
  29. cp -fv $confdir/Xsession.* $datadir/config/kdm/
  30. # Set's "Curser" as Konsole's default font, fixes the
  31. # doublespace issue
  32. cp $fv $confdir/konsolerc $datadir/config
  33. # Set's aRts as the default soundsystem, prevents the
  34. # "CPU overload" errors
  35. cp -fv $confdir/kcmartsrc $datadir/config/
  36. }
  37. hook_add postinstall 3 "kde_base_pi"