[KDE/Mac] KF5 Kate and QSP

Marko Käning mk-lists at email.de
Sun Dec 7 17:33:59 UTC 2014


On 07 Dec 2014, at 18:07 , Marko Käning <mk-lists at email.de> wrote:

> cannot find .rc file "kateui.rc" for component "kate"
> cannot find .rc file "kateui.rc" for component "kate"
> Icon theme "hicolor" not found.

Ooops, kate didn’t find kateui.rc!

But it is there, namely here:

$ find /opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/applications/kate/inst -name kateui.rc
/opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/applications/kate/inst/share/kxmlgui5/kate/kateui.rc

Many XDG paths are defined:
---
MVM2:scripts marko$ set | egrep 'XDG_.*_DIRS' | grep share
XDG_DATA_DIRS=/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/ktextwidgets/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kemoticons/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/plasma-framework/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kded/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kinit/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/kdesupport/phonon/phonon/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kservice/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/khtml/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/workspace/khelpcenter/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kglobalaccel/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kcmutils/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kcoreaddons/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kconfigwidgets/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kjsembed/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kactivities/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kparts/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kwallet/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/ktexteditor/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdelibs4support/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdoctools/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/knotifications/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kjobwidgets/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/general/kdesupport-svn/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/kdesupport/extra-cmake-modules/inst/share:/opt/kde/install/darwin/mavericks/clang/shared/general/cmake/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kio/inst/share:/opt/kde/install/darwin/mavericks/clang/shared/general/dogtail/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kross/inst/share:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kdesignerplugin/inst/share
---

But not the one needed by kate:
---
MVM2:scripts marko$ set | egrep 'XDG_.*_DIRS' | grep "kate/inst/share”
---




So, if I now start kate like this (extending the XDG_DATA_DIRS accordingly) kate finally finds its rc file:
---
MVM2:scripts marko$ XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/applications/kate/inst/share/ /opt/kde/install/darwin/mavericks/clang/kf5-qt5/kde/applications/kate/inst/Applications/KF5/kate.app/Contents/MacOS/kate
katepart:  mapping  "cb"  ->  "mapped-shouldntbehere"
katepart: Register  '-'  set to  "completionB"
katepart: Register  "  set to point to " '-'
katepart: Register  '0'  set to  "foo
bar
baz
"
katepart: Register  "  set to point to " '0'
katepart: Register  '^'  set to  ""
katepart: Register  'a'  set to  "baz
"
katepart: Register  'b'  set to  "bar
"
kf5.kcoreaddons.kdirwatch: fsWatcher->addPath "/Users/marko/Application Support/kate/sessions"
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kglobalaccel was not provided by any .service files")
Icon theme "hicolor" not found.
kf5.kiconthemes: "Theme tree: (Oxygen)"
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
virtual void QCocoaMenu::removeMenuItem(QPlatformMenuItem *) Item to remove does not belong to this menu
virtual void QCocoaMenu::removeMenuItem(QPlatformMenuItem *) Item to remove does not belong to this menu
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
---

AND, last but not least, the strange “No Text” menu title became “View” and also a new “Sessions” title is there.


We’re still short the icon theme though.


Well, and the app still crashes at exit.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kate_2014-12-07-182712_MVM2.crash.gz
Type: application/x-gzip
Size: 17807 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20141207/2ca4393b/attachment-0001.gz>


More information about the kde-mac mailing list