ea97be746d
bugfixes, other quality improvements, new and improved KDE Applications
33 lines
1 KiB
CMake
33 lines
1 KiB
CMake
$NetBSD: patch-startkde.cmake,v 1.2 2013/04/03 10:51:50 markd Exp $
|
|
|
|
--- startkde.cmake.orig 2013-03-01 06:32:24.000000000 +0000
|
|
+++ startkde.cmake
|
|
@@ -32,6 +32,12 @@ if [ -n "$bindir" ]; then
|
|
esac
|
|
fi
|
|
|
|
+qtbindir=@QTDIR@/bin
|
|
+case $PATH in
|
|
+ $qtbindir|$qtbindir:*|*:$qtbindir|*:$qtbindir:*) ;;
|
|
+ *) PATH=$qtbindir:$PATH; export PATH;;
|
|
+esac
|
|
+
|
|
# Check if a KDE session already is running and whether it's possible to connect to X
|
|
kcheckrunning
|
|
kcheckrunning_result=$?
|
|
@@ -192,11 +198,11 @@ usr_fdir=$HOME/.fonts
|
|
|
|
if test -n "$KDEDIRS"; then
|
|
kdedirs_first=`echo "$KDEDIRS"|sed -e 's/:.*//'`
|
|
- sys_odir=$kdedirs_first/share/fonts/override
|
|
- sys_fdir=$kdedirs_first/share/fonts
|
|
+ sys_odir=$kdedirs_first/share/kde/fonts/override
|
|
+ sys_fdir=$kdedirs_first/share/kde/fonts
|
|
else
|
|
- sys_odir=$KDEDIR/share/fonts/override
|
|
- sys_fdir=$KDEDIR/share/fonts
|
|
+ sys_odir=$KDEDIR/share/kde/fonts/override
|
|
+ sys_fdir=$KDEDIR/share/kde/fonts
|
|
fi
|
|
|
|
# We run mkfontdir on the user's font dirs (if we have permission) to pick
|