KDE emerged with kdeprefix flag. Every script in /usr/kde/4.2/share/apps/knetworkconf/backends has local variable $SCRIPTSDIR initialized with empty string causing error in KDE network configuration window ("Could not parse the XML file."). The command below cures the problem: find /usr/kde/4.2/share/apps/knetworkconf/backends -name \*.pl | xargs perl -i.bak -ne 's!^\$SCRIPTSDIR = \"\"!\$SCRIPTSDIR = \"/usr/kde/4.2/share/apps/knetworkconf/backends\"!; print'
hi, if you rewrite it in bash we can add it to the ebuild ;] I am actualy too lazy to decript that ;]
The script should have something like: ----- for file in <path_to_backends>/* replace the line $SCRIPTSDIR = "" with $SCRIPTSDIR = "<path_to_backends>" ----- I'm to lazy to write it properly in bash ;]
Created attachment 183390 [details, diff] set SCRIPTSDIR in CMakeLists.txt
Patch added to kde-testing overlay
Sweet, thanks for patchie. Applied in kde-testing and in the tree :]