[KDE/Mac] KF5: app folders in Qt5's GenericDataLocation

Marko Käning mk-lists at email.de
Sun Jul 20 08:46:23 UTC 2014


Hi guys,

this is just to show you which applications have atm put their generic data into "/Library/Application Support”:
---
$ cd ~/WC/KDECI-builds; find . -type d -wholename "./*/local-inst/opt/kde/*/Library/Application Support/*" | grep -v "/kf5/" | egrep -v "/kf5$" | egrep "Support/[^/]*$" | sed 's|^.*/kf5-qt5/\(.*\)/inst\(.*\)$|\1 - \2|'
kde/kdeedu/analitza - /Library/Application Support/libanalitza
kde/kdeedu/kalgebra - /Library/Application Support/kalgebramobile
kde/kdeedu/kalgebra - /Library/Application Support/katepart
kde/kdeedu/kalgebra - /Library/Application Support/plasma
kde/applications/kate - /Library/Application Support/kate
kde/applications/kate - /Library/Application Support/katebuild
kde/applications/kate - /Library/Application Support/katecloseexceptplugin
kde/applications/kate - /Library/Application Support/katectags
kde/applications/kate - /Library/Application Support/katefiletree
kde/applications/kate - /Library/Application Support/kategdb
kde/applications/kate - /Library/Application Support/katekonsole
kde/applications/kate - /Library/Application Support/kateopenheaderplugin
kde/applications/kate - /Library/Application Support/kateproject
kde/applications/kate - /Library/Application Support/katesearch
kde/applications/kate - /Library/Application Support/katesql
kde/applications/kate - /Library/Application Support/katexmltools
kde/applications/kde-baseapps - /Library/Application Support/dolphinpart
extragear/kdevelop/kdevelop - /Library/Application Support/cmake
extragear/kdevelop/kdevelop - /Library/Application Support/kdevappwizard
extragear/kdevelop/kdevelop - /Library/Application Support/kdevcodegen
extragear/kdevelop/kdevelop - /Library/Application Support/kdevcppsupport
extragear/kdevelop/kdevelop - /Library/Application Support/kdevcustommakemanager
extragear/kdevelop/kdevelop - /Library/Application Support/kdevelop
extragear/kdevelop/kdevelop - /Library/Application Support/kdevfiletemplates
extragear/kdevelop/kdevelop - /Library/Application Support/kdevmanpage
extragear/kdevelop/kdevelop - /Library/Application Support/plasma
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevclassbrowser
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevcontextbrowser
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevcvs
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevdebugger
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevdocumentswitcher
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevdocumentview
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevelop
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevexternalscript
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevfilemanager
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevgrepview
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevpatchreview
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevproblemreporter
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevprojectmanagerview
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevquickopen
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevsession
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevsourceformatter
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevstandardoutputview
extragear/kdevelop/kdevplatform - /Library/Application Support/kdevtestview
kde/kdeedu/kgeography - /Library/Application Support/kgeography
kde/workspace/khelpcenter - /Library/Application Support/khelpcenter
kde/workspace/kinfocenter - /Library/Application Support/kcmusb
kde/workspace/kinfocenter - /Library/Application Support/kinfocenter
kde/applications/konsole - /Library/Application Support/konsole
extragear/network/konversation - /Library/Application Support/kconf_update
extragear/network/konversation - /Library/Application Support/konversation
frameworks/ktexteditor - /Library/Application Support/katepart
frameworks/ktexteditor - /Library/Application Support/katepart5
kde/kdeedu/libkdeedu - /Library/Application Support/kvtml
kde/kdesdk/okteta - /Library/Application Support/okteta
kde/kdesdk/okteta - /Library/Application Support/oktetapart
frameworks/plasma-framework - /Library/Application Support/plasma
kde/kdeedu/step - /Library/Application Support/step
---



And here we have data put into "/Library/Application Support/kf5”:
---
$ cd ~/WC/KDECI-builds; find . -type d -wholename "./*/local-inst/opt/kde/*/Library/Application Support/*" | egrep "/kf5$” | sed 's|^.*/kf5-qt5/\(.*\)/inst\(.*\)$|\1 - \2|'
frameworks/frameworkintegration - /Library/Application Support/kf5
frameworks/kauth - /Library/Application Support/kf5
frameworks/kconfigwidgets - /Library/Application Support/kf5
kde/applications/kde-baseapps - /Library/Application Support/kf5
frameworks/kdelibs4support - /Library/Application Support/kf5
frameworks/kdesignerplugin - /Library/Application Support/kf5
frameworks/kdoctools - /Library/Application Support/kf5
frameworks/khtml - /Library/Application Support/kf5
frameworks/kjs - /Library/Application Support/kf5
frameworks/knewstuff - /Library/Application Support/kf5
frameworks/kwidgetsaddons - /Library/Application Support/kf5
frameworks/kxmlgui - /Library/Application Support/kf5
frameworks/sonnet - /Library/Application Support/kf5
---


My suggestion to move all this into stg like "/Library/Application Support/KF5” hasn’t
been accepted as a viable approach, because there might be applications around which
make use of the KF5 libraries but which do not belong to the KDE ecosystem anyway…

   So, you see, there’s a demand for FORETHOUGHT which Ian pointed out already!!!

I haven’t tested it yet, but in principle nothing should hinder us on MacPorts to
redefine the data location like this

   -DCMAKE_INSTALL_BUNDLEDIR="Applications/KF5”
   -DDATA_INSTALL_DIR="Library/Application Support/KF5"

The first line I am already using on the OSX/CI system. The 2nd one I haven’t tested
yet, but I don’t see why it shouldn’t work. This way we would clean up
"/Library/Application Support/“ somewhat!

But [1] seems to imply that there is more to it, since CMAKE_INSTALL_ variables might
interfere. And yes, there is still CMAKE_INSTALL_KXMLGUI5DIR around as well.

So, plenty of cmake configuration variables around which might or might not ease our
endeavour! ;-) It’s all down to forethought, again... :-)

Greets,
Marko



[1] http://mail.kde.org/pipermail/kde-frameworks-devel/2014-July/017388.html


More information about the kde-mac mailing list