Changes between Version 103 and Version 104 of KDEProblems


Ignore:
Timestamp:
Oct 30, 2016, 3:15:42 PM (8 years ago)
Author:
RJVB (René Bertin)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • KDEProblems

    v103 v104  
    3838== Qt5 and KF5 ==
    3939
    40 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].
     40Qt5 eventually leads to the new [http://community.kde.org/Frameworks KDE Frameworks].
    4141
    4242This means that we can soon start adding KF5 frameworks as new ports.
    4343
    44 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!
     44An 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".
    4545
    46 '''So, if you're enthusiastic about a concurrent Qt5 and/or KF5 on MacPorts, please support us!
     46The 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.
     47We have thus chosen the approach of patching QStandardPaths in port:qt5-kde .
     48More 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.
    4749
    48 These tickets are currently dealing with Qt4/Qt5-coinstallability:
     50'''So, if you're enthusiastic about Qt5 and/or KF5 on MacPorts, please support us!
     51
     52Some relevant tickets:
    4953
    5054 #48967 - submission: port:qt5-kde [[BR]]
    5155 #50966 - Qt5 PortGroup files; preparing for port:qt5-kde and the KF5 port family [[BR]]
     56 #46240 - kde4 1.1 PortGroup file adaptation to qt4-mac +concurrent [[BR]]
     57
     58Some older tickets:
    5259 #46238 - co-installable qt4-mac and qt5-mac step1 : qt4-mac +concurrent [[BR]]
    5360 #46496 - co-installable qt4-mac and qt5-mac step2 : qt5-mac [[BR]]
    5461 #46536 - qt5-mac-devel submission: provides Qt 5.4.x [[BR]]
    5562 #47047 - qt5-mac-mysql-plugins [[BR]]
    56  #46240 - kde4 1.1 PortGroup file adaptation to qt4-mac +concurrent [[BR]]
    5763 #46239 - qca and qca-ossl adaptations to qt4-mac +concurrent [[BR]]
    5864