[MacPorts] KDEProblems modified
MacPorts
noreply at macports.org
Wed Nov 30 00:38:09 CET 2016
Page "KDEProblems" was changed by RJVB
Diff URL: <https://trac.macports.org/wiki/KDEProblems?action=diff&version=108>
Revision 108
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: KDEProblems
=========================================================================
--- KDEProblems (version: 107)
+++ KDEProblems (version: 108)
@@ -46,10 +46,19 @@
The KDE4 ports all install and expect their shared resources in "XDG-compliant" directories, mostly under {{{${prefix}/share}}}, just as they would in their native ecosystem under Linux. This is handled automatically and works because Qt4 doesn't do anything to point running KDE4 applications elsewhere. With KF5, those resources are still installed to similar locations unless the build system is patched extensively, but the information where to find them (in running applications) now comes from a Qt5 class (QStandardPaths). On Mac, this class is hardwired to provide Mac-like paths like {{{/Library/Application Support}}}. In itself this is not an issue, but it's not the way things are installed in MacPorts, and it would also mean that other XDG-compliant applications not based on Qt5 will not know about services provided by KF5 applications - this includes DBus.
We have thus chosen the approach of patching QStandardPaths in port:qt5-kde.
More details are given in the qt5-kde ticket on trac, but suffice it to say that this patch has been done properly; whether or not QStandardPaths actually returns different (XDG-compliant) paths depends on a token used while building a dependent port. By default the change is dormant, and native, Mac-like paths are used.
+KF5 ports can in principle be built with the mostly stock `port:qt5`, but this is unsupported and even untested (and many things will not work properly because of the reasons outline above).
+
+The KDE developers consider KF5 a successor to and replacement of KDE4, so KF5 applications are not designed to co-exist with their KDE4 predecessors in the same prefix. Given the complications of introducing KF5 ports into MacPorts we do support concurrent installation wherever possible, but this requires changes to the KDE4 installation layout which haven't yet been committed, and also some adaptations in individual ports. A few KDE4 ports must be installed with the `+kf5compat` variant, while most KF5 ports have a `+kde4compat` variant which makes co-installation possible.
+
'''So, if you're enthusiastic about Qt5 and/or KF5 on MacPorts, please support us!
-Some relevant tickets:
+If you want to get your hands dirty and help as a beta-tester, there are 2 github repositories you can install and add (in `sources.conf`) as additional port trees. Regular "snapshots" of the development state are made to Marko's fork (github.com/mkae/macstrop), which mostly contains ports related to KF5 and/or Qt5. Development takes place in René's "macstrop" repository (github.com/RJVB/macstrop) which also contains a number of unrelated ports and is thus less suitable for the "fainter of heart".[[BR]]
+Both come with detailed installation instructions.
+
+Current KF5 ports include `kf5-kate` (KDE's advanced text editor), `kf5-kdevelop` (a full-fledged IDE), `kf5-kile` (an integrated TeX/LaTeX environment), `kf5-kdenlive` (non-linear video editor), `kf5-krita` (photo editor) and `kf5-digikam` (photo management application).
+
+Some relevant tickets on trac:
#48967 - submission: port:qt5-kde [[BR]]
#50966 - Qt5 PortGroup files; preparing for port:qt5-kde and the KF5 port family [[BR]]
@@ -70,7 +79,7 @@
This is the starting point for KF5:
#46978 - extra-cmake-modules (being the basis for creating KF5 ports) [[BR]]
- #48184 - kf5-attica (exemplarily) plus new {{{kf5}}} port group [[BR]]
+ #48184 - kf5-attica plus new {{{kf5}}} port group [[BR]]
----
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/KDEProblems>
MacPorts <https://www.macports.org/>
Ports system for macOS
This is an automated message. Someone added your email address to be
notified of changes on 'KDEProblems' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list