On 6/11/18 09:17, Rainer Müller wrote:
On 2018-06-11 17:03, MacPorts Wiki wrote:
Page "KDE" was changed by jjstickel
Diff URL: <https://trac.macports.org/wiki/KDE?action=diff&version=26>
Revision 26
Comment: it seems that the location of Macports-supplied lanuchagents have
changed recently
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: KDE
=========================================================================
--- KDE (version: 25)
+++ KDE (version: 26)
@@ -34,12 +34,12 @@
Dbus:: Dbus is a messaging system between applications, which is mandatory for KDE applications. It is required to ensure that dbus is running by issuing the following command after installation by MacPorts:
{{{
-launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
+launchctl load -w
/opt/local/Library/LaunchAgents/org.freedesktop.dbus-session.plist
}}}
If this command is not issued, **KDE applications will crash without
warning**.
Kbuildsycoca:: Kbuildsycoca4 is a command that refreshes the cache of the
KDE software, which is required for many applications to work properly. In
Linux and UNIX, this command is automatically run periodically, but this is not
the case on OS X. The recommended way is to use the following command to
automate its use, after installation of kdelibs4 by MacPorts:
{{{
-launchctl load -w /Library/LaunchAgents/org.macports.kdecache.plist
+launchctl load -w /opt/local/Library/LaunchAgents/org.macports.kdecache.plist
}}}
The command can also be used manually:
{{{
-------8<------8<------8<------8<------8<------8<------8<------8<--------
I thought nothing should have changed here when using
'startupitem_install yes' in macports.conf.
These paths in /Library/LaunchAgents/ are supposed to be symlinks to the
files installed at /opt/local/Library/LaunchAgents/...
Is this not working for you?
Rainer
OK. Now I see the symlink for org.macports.kdecache.plist, but the
symlink for org.freedesktop.dbus-session.plist is definitely missing on
my machine. As a consequence, dbus was not loaded in launchctl and KDE
apps would not run for me this morning (until I loaded directly from
/opt/local/Library/...). I do not have startupitem_install in my
macports.conf, and so the default 'yes' should be in effect.
Feel free to unroll my wiki edit (or I can do it). Should I open a bug
on trac for dbus?
Thanks,
Jonathan