[MacPorts] KDEProblems modified

MacPorts noreply at macports.org
Sun Oct 30 16:15:42 CET 2016


Page "KDEProblems" was changed by RJVB
Diff URL: <https://trac.macports.org/wiki/KDEProblems?action=diff&version=104>
Revision 104
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: KDEProblems
=========================================================================
--- KDEProblems (version: 103)
+++ KDEProblems (version: 104)
@@ -37,23 +37,29 @@
 
 == Qt5 and KF5 ==
 
-Qt5 eventually lead to the new [http://community.kde.org/Frameworks KDE Frameworks]. As tracked in #37331 is was possible to create a portfile [https://trac.macports.org/browser/trunk/dports/aqua/qt5-mac/Portfile qt5-mac].
+Qt5 eventually leads to the new [http://community.kde.org/Frameworks KDE Frameworks].
 
 This means that we can soon start adding KF5 frameworks as new ports.
 
-An important issue is that the introduction of KF5 will take a while and thus needs to be made in such a way, that Qt4/KDE4 and Qt5/KF5 frameworks and applications can coexist with one another. The port qt5-mac, however, does not allow to install qt4-mac in parallel. This is why René has put a lot of effort into bringing a concurrent variant into qt5-mac. This is still under development and needs testing!
+An important issue is that the introduction of KF5 will take a while and thus needs to be made in such a way, that Qt4/KDE4 and Qt5/KF5 frameworks and applications can coexist with one another. The initial qt4-mac and qt5-mac ports couldn't be co-installed, however. This is why René has put a lot of effort into bringing a concurrent variant into qt4-mac and qt5-mac. This was eventually superseded by non-exclusive versions of port:qt4-mac and a new port:qt5 developed independently by their original maintainers, taking the simpler approach of installing all of Qt into dedicated sandboxes and without any of the proposed adaptations for improving the KDE experience (or even making it possible, for KF5, see below). It was thus decided to convert René's port:qt5-mac into a dedicated port:qt5-kde (see #48967), designed to act as a drop-in replacement for port:qt5, much like a more usual port:qt5-devel would act. This is stable and reliable in our testing, currently pending submission and would benefit a lot from more widespread testing "in the wild".
 
-'''So, if you're enthusiastic about a concurrent Qt5 and/or KF5 on MacPorts, please support us!
+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.
 
-These tickets are currently dealing with Qt4/Qt5-coinstallability:
+'''So, if you're enthusiastic about Qt5 and/or KF5 on MacPorts, please support us!
+
+Some relevant tickets:
 
  #48967 - submission: port:qt5-kde [[BR]]
  #50966 - Qt5 PortGroup files; preparing for port:qt5-kde and the KF5 port family [[BR]]
+ #46240 - kde4 1.1 PortGroup file adaptation to qt4-mac +concurrent [[BR]]
+
+Some older tickets:
  #46238 - co-installable qt4-mac and qt5-mac step1 : qt4-mac +concurrent [[BR]]
  #46496 - co-installable qt4-mac and qt5-mac step2 : qt5-mac [[BR]]
  #46536 - qt5-mac-devel submission: provides Qt 5.4.x [[BR]]
  #47047 - qt5-mac-mysql-plugins [[BR]]
- #46240 - kde4 1.1 PortGroup file adaptation to qt4-mac +concurrent [[BR]]
  #46239 - qca and qca-ossl adaptations to qt4-mac +concurrent [[BR]]
 
 Other stuff:
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/KDEProblems>
MacPorts <https://www.macports.org/>
Ports system for OS X

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